browserstack-node-sdk 1.54.1 → 1.55.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 (198) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +3 -3
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/newman/command.js +2 -0
  79. package/src/bin/newman/helper.js +1 -0
  80. package/src/bin/newman/reporter/index.js +1 -0
  81. package/src/bin/newman/scriptRunner.js +2 -0
  82. package/src/bin/nightwatch/command.js +1 -1
  83. package/src/bin/playwright/accessibility-helper.js +1 -1
  84. package/src/bin/playwright/command.js +1 -1
  85. package/src/bin/playwright/globalSetup.js +1 -1
  86. package/src/bin/playwright/mock-process.js +1 -1
  87. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  88. package/src/bin/playwright/patches.js +1 -1
  89. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  90. package/src/bin/playwright/reporter/reporter.js +1 -1
  91. package/src/bin/playwright/reporter/test-details.js +1 -1
  92. package/src/bin/playwright/sessionDetails.js +1 -1
  93. package/src/bin/puppeteer/patches.js +1 -1
  94. package/src/bin/puppeteer/sessionDetails.js +1 -1
  95. package/src/bin/puppeteer/test.setup.js +1 -1
  96. package/src/bin/runner.js +1 -1
  97. package/src/bin/setup.js +1 -1
  98. package/src/bin/test-runner/index.js +1 -1
  99. package/src/bin/test-runner/runTest.js +1 -1
  100. package/src/bin/test-runner/testWorker.js +1 -1
  101. package/src/bin/utils/apiUtilityMethods.js +1 -1
  102. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  103. package/src/bin/utils/constants.js +1 -1
  104. package/src/bin/utils/log4jsAppender.js +1 -1
  105. package/src/bin/utils/logPatcher.js +1 -1
  106. package/src/bin/utils/logReportingAPI.js +1 -1
  107. package/src/bin/utils/playwright-patcher.js +1 -1
  108. package/src/bin/utils/puppeteer-patcher.js +1 -1
  109. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  110. package/src/bin/utils/sharedUtils.js +1 -1
  111. package/src/bin/v2/TestInfo.js +1 -1
  112. package/src/bin/v2/browserstackCLI.js +1 -1
  113. package/src/bin/v2/cliUtils.js +1 -1
  114. package/src/bin/v2/customTagManager.js +1 -1
  115. package/src/bin/v2/eventDispatcher.js +1 -1
  116. package/src/bin/v2/framework/automationFramework.js +1 -1
  117. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  118. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  119. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  120. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  121. package/src/bin/v2/framework/newmanTestFramework.js +1 -0
  122. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  123. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  124. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  125. package/src/bin/v2/framework/testFramework.js +1 -1
  126. package/src/bin/v2/grpcClient.js +1 -1
  127. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  128. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  129. package/src/bin/v2/instances/trackedContext.js +1 -1
  130. package/src/bin/v2/instances/trackedInstance.js +1 -1
  131. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  132. package/src/bin/v2/modules/baseModule.js +1 -1
  133. package/src/bin/v2/modules/loadTestModule.js +1 -1
  134. package/src/bin/v2/modules/observabilityModule.js +1 -1
  135. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  136. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  137. package/src/bin/v2/modules/testhubModule.js +1 -1
  138. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  139. package/src/bin/v2/state/hookState.js +1 -1
  140. package/src/bin/v2/state/testFrameworkState.js +1 -1
  141. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  142. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  143. package/src/bin/v2/utils/jest-utils.js +1 -1
  144. package/src/bin/vanilla-js/command.js +1 -1
  145. package/src/browserStackSdk.js +1 -1
  146. package/src/helpers/BrowserStackSetup.js +1 -1
  147. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  148. package/src/helpers/accessibility-automation/constants.js +1 -1
  149. package/src/helpers/accessibility-automation/helper.js +1 -1
  150. package/src/helpers/accessibility-automation/scripts.js +1 -1
  151. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  152. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  153. package/src/helpers/ats/constants.js +1 -1
  154. package/src/helpers/ats/helper.js +1 -1
  155. package/src/helpers/capsMapping.js +1 -1
  156. package/src/helpers/central-scanner/constants.js +1 -1
  157. package/src/helpers/central-scanner/helpers.js +1 -1
  158. package/src/helpers/classLogger.js +1 -1
  159. package/src/helpers/globals.js +1 -1
  160. package/src/helpers/helper.js +1 -1
  161. package/src/helpers/logger.js +1 -1
  162. package/src/helpers/metadata.js +1 -1
  163. package/src/helpers/patchHelper.js +1 -1
  164. package/src/helpers/patchHelpers.js +1 -1
  165. package/src/helpers/percy/Percy.js +1 -1
  166. package/src/helpers/percy/PercyBinary.js +1 -1
  167. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  168. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  169. package/src/helpers/percy/PercySDK.js +1 -1
  170. package/src/helpers/percy/index.js +1 -1
  171. package/src/helpers/percy/utils.js +1 -1
  172. package/src/helpers/performance/constants.js +1 -1
  173. package/src/helpers/performance/performance-tester.js +1 -1
  174. package/src/helpers/playwright-helper.js +1 -1
  175. package/src/helpers/processHelper.js +1 -1
  176. package/src/helpers/puppeteer-helper.js +1 -1
  177. package/src/helpers/request-spy.js +1 -1
  178. package/src/helpers/setKeepAlive.js +1 -1
  179. package/src/helpers/test-observability/constants.js +1 -1
  180. package/src/helpers/test-observability/error-handler.js +1 -1
  181. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  182. package/src/helpers/test-observability/sessionHandler.js +1 -1
  183. package/src/helpers/test-observability/utils.js +1 -1
  184. package/src/helpers/test-orchestration/constants.js +1 -1
  185. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  186. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  187. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  188. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  189. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  190. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  191. package/src/helpers/testhub/constants.js +1 -1
  192. package/src/helpers/testhub/testhubHandler.js +1 -1
  193. package/src/helpers/testhub/utils.js +1 -1
  194. package/src/helpers/timeoutPromise.js +1 -1
  195. package/src/helpers/utilities.js +1 -1
  196. package/src/helpers/w3cMapping.js +1 -1
  197. package/src/hubAllocationMethods.js +1 -1
  198. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a115_0x1f5c90=a115_0x4cee;(function(_0x4fb8a3,_0x585a2a){const _0x5f3b90=a115_0x4cee,_0x3cac7f=_0x4fb8a3();while(!![]){try{const _0x4c105d=parseInt(_0x5f3b90(0x9e))/0x1*(-parseInt(_0x5f3b90(0xa9))/0x2)+parseInt(_0x5f3b90(0xa7))/0x3+parseInt(_0x5f3b90(0x89))/0x4*(-parseInt(_0x5f3b90(0x91))/0x5)+parseInt(_0x5f3b90(0xae))/0x6*(-parseInt(_0x5f3b90(0x8d))/0x7)+parseInt(_0x5f3b90(0xb1))/0x8+parseInt(_0x5f3b90(0xa3))/0x9+parseInt(_0x5f3b90(0x88))/0xa*(parseInt(_0x5f3b90(0xb5))/0xb);if(_0x4c105d===_0x585a2a)break;else _0x3cac7f['push'](_0x3cac7f['shift']());}catch(_0x475f65){_0x3cac7f['push'](_0x3cac7f['shift']());}}}(a115_0x5d59,0x831f5));const winston=require(a115_0x1f5c90(0xb0)),path=require(a115_0x1f5c90(0x6e)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a115_0x1f5c90(0xad)),tempLogDir=a115_0x1f5c90(0x97);let redactRegex=null,lastConfigHash='';const logFormat=winston[a115_0x1f5c90(0xa2)](_0x4988b8=>{const _0x583af9=a115_0x1f5c90,_0x34b992={};_0x34b992[_0x583af9(0x80)]=function(_0xcd6524,_0x1eb90d){return _0xcd6524!==_0x1eb90d;},_0x34b992[_0x583af9(0x73)]=_0x583af9(0xb8),_0x34b992[_0x583af9(0x84)]=function(_0x56dfa0,_0x294026){return _0x56dfa0+_0x294026;},_0x34b992[_0x583af9(0xa5)]=function(_0x343b17,_0x133fc2){return _0x343b17>_0x133fc2;},_0x34b992[_0x583af9(0xb4)]='[REDACTED]';const _0x22b2f5=_0x34b992;_0x22b2f5[_0x583af9(0x80)](typeof _0x4988b8['message'],_0x22b2f5[_0x583af9(0x73)])&&(_0x4988b8[_0x583af9(0x94)]=JSON['stringify'](_0x4988b8['message']));const _0x5a4196=global[_0x583af9(0x6d)]&&global[_0x583af9(0x6d)]['userName']||'',_0x44bd7a=global[_0x583af9(0x6d)]&&global[_0x583af9(0x6d)][_0x583af9(0xb3)]||'',_0x1bf2fd=_0x22b2f5[_0x583af9(0x84)](_0x22b2f5['ExRHW'](_0x5a4196,'|'),_0x44bd7a);if(_0x22b2f5[_0x583af9(0x80)](_0x1bf2fd,lastConfigHash)){lastConfigHash=_0x1bf2fd;const _0x2bd113=[_0x5a4196,_0x44bd7a][_0x583af9(0xba)](Boolean);if(_0x22b2f5[_0x583af9(0xa5)](_0x2bd113[_0x583af9(0x82)],0x0)){const _0x10aaf5=_0x2bd113[_0x583af9(0x9d)](_0x2e95af=>_0x2e95af[_0x583af9(0x70)](/[.*+?^${}()|[\]\\]/g,_0x583af9(0xa8)))[_0x583af9(0x9f)]('|');redactRegex=new RegExp(_0x10aaf5,'g');}else redactRegex=null;}return redactRegex&&(_0x4988b8[_0x583af9(0x94)]=_0x4988b8['message'][_0x583af9(0x70)](redactRegex,_0x22b2f5[_0x583af9(0xb4)])),_0x4988b8;}),fetchLogDir=()=>{const _0x438412=a115_0x1f5c90;if(process[_0x438412(0xaf)][_0x438412(0xa6)])return process['env'][_0x438412(0xa6)];else!fs[_0x438412(0x69)](tempLogDir)&&fs[_0x438412(0x98)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x1d6848=a115_0x1f5c90,_0x197f1b={};_0x197f1b[_0x1d6848(0xb9)]=_0x1d6848(0x93);const _0x295ff4=_0x197f1b,_0x42d21b=process[_0x1d6848(0xaf)][_0x1d6848(0x6b)],_0x4c3b47=Object[_0x1d6848(0x99)](winston[_0x1d6848(0x6d)][_0x1d6848(0x8b)]['levels']);if(_0x42d21b&&_0x4c3b47[_0x1d6848(0x8c)](_0x42d21b['toLowerCase']()))return _0x42d21b[_0x1d6848(0x7e)]();return _0x295ff4[_0x1d6848(0xb9)];},initialLogLevel=getInitialLogLevel(),a115_0x34137c={};a115_0x34137c[a115_0x1f5c90(0x75)]=a115_0x1f5c90(0xa1),a115_0x34137c[a115_0x1f5c90(0x86)]=initialLogLevel;const transports={'loggerConsole':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0x95))](a115_0x34137c),'loggerFile':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0xb7))]({'filename':path[a115_0x1f5c90(0x9f)](logDir,a115_0x1f5c90(0x85)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0xb7))]({'filename':path['join'](logDir,a115_0x1f5c90(0x7c)),'level':a115_0x1f5c90(0x7a)}),'debugCliLoggerFile':new winston[(a115_0x1f5c90(0x8e))]['File']({'filename':path['join'](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':'silly'}),'buildLinkTransport':new winston[(a115_0x1f5c90(0x8e))][(a115_0x1f5c90(0xb7))]({'filename':path[a115_0x1f5c90(0x9f)](logDir,a115_0x1f5c90(0x85)),'level':'silly'})},automationTransports={};process[a115_0x1f5c90(0xaf)][a115_0x1f5c90(0x77)]===a115_0x1f5c90(0x72)&&(automationTransports[a115_0x1f5c90(0x9c)]=new winston[(a115_0x1f5c90(0x8e))]['File']({'filename':path['join'](logDir,a115_0x1f5c90(0xbb)),'level':a115_0x1f5c90(0x7a)}));transports[a115_0x1f5c90(0x7b)]['on']('error',_0x3f8675=>{const _0x47627d=a115_0x1f5c90,_0x40776f={};_0x40776f[_0x47627d(0xb6)]=function(_0x21c7bb,_0x5401fa){return _0x21c7bb===_0x5401fa;},_0x40776f['vaYfW']=_0x47627d(0x6f),_0x40776f[_0x47627d(0x6c)]=_0x47627d(0x8a);const _0x378fd9=_0x40776f;if(_0x378fd9['tAqtq'](_0x3f8675[_0x47627d(0x9a)],_0x378fd9['vaYfW'])){console['log'](_0x378fd9[_0x47627d(0x6c)],_0x3f8675[_0x47627d(0x94)]);return;}throw _0x3f8675;});const a115_0x35b629={};a115_0x35b629[a115_0x1f5c90(0xa2)]='YYYY-MM-DD\x20HH:mm:ss';const a115_0x4adb93={};a115_0x4adb93[a115_0x1f5c90(0x86)]=!![];const winstonLoggerParams={'format':winston['format']['combine'](winston[a115_0x1f5c90(0xa2)]['timestamp'](a115_0x35b629),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x9b)](a115_0x4adb93),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x7f)](_0x2675c4=>_0x2675c4['timestamp']+a115_0x1f5c90(0x8f)+_0x2675c4[a115_0x1f5c90(0x86)]+':\x20'+_0x2675c4['message'])),'transports':[transports[a115_0x1f5c90(0x7b)]]},a115_0x4bc313={};a115_0x4bc313['format']=a115_0x1f5c90(0xac);const a115_0x3e6ee4={};a115_0x3e6ee4[a115_0x1f5c90(0x86)]=!![];function a115_0x4cee(_0x1749d6,_0x494d14){const _0x5d5995=a115_0x5d59();return a115_0x4cee=function(_0x4ceeac,_0x8d9ba1){_0x4ceeac=_0x4ceeac-0x69;let _0x361605=_0x5d5995[_0x4ceeac];return _0x361605;},a115_0x4cee(_0x1749d6,_0x494d14);}function a115_0x5d59(){const _0xbe86b5=['BnQYK','logDir','length','buildLogger','ExRHW','/usage.log','level','initialize','173230MpWgTu','12iYPQzx','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','npm','includes','721UezQMh','transports','\x20-\x20','add','1280140zWejPj','debugLoggerFile','info','message','Console','remove','log','mkdirSync','keys','code','colorize','automationLoggerFile','map','1sBrYBM','join','createLogger','console.info','format','1991088NahKxy','iBLTG','mYFYf','BROWSERSTACK_INTERNAL_LOG_DIR','1220916yFWBil','\x5c$&','1346914ybRKYZ','buildLinkTransport','fileLogger','YYYY-MM-DD\x20HH:mm:ss','../bin/utils/constants','51504laXyxL','env','winston','7482728KaswBC','http','accessKey','ffSmd','825RsDnGH','tAqtq','File','string','IKVfw','filter','automation.log','existsSync','timestamp','BROWSERSTACK_LOG_LEVEL','olXnY','config','path','EPIPE','replace','automationLogger','true','nGqQJ','combine','name','getLogDir','BROWSERSTACK_AUTOMATION_LOGS','uncolorize','winstonLogger','silly','loggerConsole','/usage-debug.log','loggerFile','toLowerCase','printf'];a115_0x5d59=function(){return _0xbe86b5;};return a115_0x5d59();}const winstonFileLoggerParams={'format':winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x74)](winston[a115_0x1f5c90(0xa2)]['timestamp'](a115_0x4bc313),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x9b)](a115_0x3e6ee4),winston[a115_0x1f5c90(0xa2)]['printf'](_0xbc0ce2=>_0xbc0ce2[a115_0x1f5c90(0x86)]+':\x20'+_0xbc0ce2[a115_0x1f5c90(0x94)])),'transports':[]},a115_0xbd0ff1={};a115_0xbd0ff1[a115_0x1f5c90(0xa2)]='YYYY-MM-DD\x20HH:mm:ss';const a115_0x7c134d={};a115_0x7c134d[a115_0x1f5c90(0x86)]=!![];const a115_0x32a051={};a115_0x32a051[a115_0x1f5c90(0x86)]=a115_0x1f5c90(0x7a);const BuildLoggerParams={'format':winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x74)](winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x6a)](a115_0xbd0ff1),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x9b)](a115_0x7c134d),winston[a115_0x1f5c90(0xa2)]['printf'](_0x23cf10=>_0x23cf10[a115_0x1f5c90(0x6a)]+a115_0x1f5c90(0x8f)+_0x23cf10['level']+':\x20'+_0x23cf10['message'])),'transports':[transports[a115_0x1f5c90(0xaa)],new winston['transports']['Console'](a115_0x32a051)]},a115_0x831aa5={};a115_0x831aa5[a115_0x1f5c90(0xb2)]=()=>{},a115_0x831aa5[a115_0x1f5c90(0x93)]=()=>{},a115_0x831aa5['warn']=()=>{},a115_0x831aa5['error']=()=>{},a115_0x831aa5['debug']=()=>{},a115_0x831aa5['silly']=()=>{},exports[a115_0x1f5c90(0x71)]=process[a115_0x1f5c90(0xaf)]['BROWSERSTACK_AUTOMATION_LOGS']===a115_0x1f5c90(0x72)?winston[a115_0x1f5c90(0xa0)]({'format':winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x74)](winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x78)](),winston[a115_0x1f5c90(0xa2)]['timestamp'](),logFormat(),winston[a115_0x1f5c90(0xa2)][a115_0x1f5c90(0x7f)](_0x229d93=>_0x229d93[a115_0x1f5c90(0x86)]+':\x20'+_0x229d93[a115_0x1f5c90(0x94)])),'transports':[automationTransports[a115_0x1f5c90(0x9c)]]}):a115_0x831aa5;const initialize=()=>{const _0x39f80c=a115_0x1f5c90,_0x1c5bf5={};_0x1c5bf5['iBLTG']=_0x39f80c(0x7a);const _0xa3da62=_0x1c5bf5,_0x409d74=transports[_0x39f80c(0x7b)]['level']||initialLogLevel;transports[_0x39f80c(0x7d)]&&(exports[_0x39f80c(0x79)][_0x39f80c(0x96)](transports[_0x39f80c(0x7d)]),exports[_0x39f80c(0xab)][_0x39f80c(0x96)](transports['loggerFile'])),transports['debugLoggerFile']&&(exports[_0x39f80c(0x79)]['remove'](transports['debugLoggerFile']),exports[_0x39f80c(0xab)]['remove'](transports[_0x39f80c(0x92)])),transports['loggerFile']=new winston[(_0x39f80c(0x8e))][(_0x39f80c(0xb7))]({'filename':path[_0x39f80c(0x9f)](exports[_0x39f80c(0x81)],LOG_FILE_NAME),'level':_0x409d74}),transports[_0x39f80c(0x92)]=new winston[(_0x39f80c(0x8e))]['File']({'filename':path[_0x39f80c(0x9f)](exports['logDir'],DEBUG_LOG_FILE_NAME),'level':_0xa3da62['iBLTG']}),transports['debugCliLoggerFile']=new winston['transports']['File']({'filename':path[_0x39f80c(0x9f)](exports['logDir'],DEBUG_CLI_LOG_FILE_NAME),'level':_0xa3da62[_0x39f80c(0xa4)]}),exports[_0x39f80c(0x79)][_0x39f80c(0x90)](transports[_0x39f80c(0x7d)]),exports[_0x39f80c(0x79)]['add'](transports[_0x39f80c(0x92)]),exports['fileLogger'][_0x39f80c(0x90)](transports[_0x39f80c(0x7d)]),exports[_0x39f80c(0xab)]['add'](transports['debugLoggerFile']);};exports[a115_0x1f5c90(0x79)]=new winston[(a115_0x1f5c90(0xa0))](winstonLoggerParams),exports[a115_0x1f5c90(0xab)]=new winston[(a115_0x1f5c90(0xa0))](winstonFileLoggerParams),exports[a115_0x1f5c90(0x83)]=new winston[(a115_0x1f5c90(0xa0))](BuildLoggerParams),exports[a115_0x1f5c90(0x81)]=logDir,exports[a115_0x1f5c90(0x76)]=()=>{const _0x3966e5=a115_0x1f5c90;return exports[_0x3966e5(0x81)];},exports['transports']=transports,exports[a115_0x1f5c90(0x87)]=initialize;logDir&&initialize();
1
+ const a120_0xf652bb=a120_0x3a90;(function(_0x4161a6,_0x3f3d9e){const _0x3dab39=a120_0x3a90,_0x2fed99=_0x4161a6();while(!![]){try{const _0x426099=-parseInt(_0x3dab39(0x157))/0x1*(parseInt(_0x3dab39(0x15d))/0x2)+parseInt(_0x3dab39(0x14d))/0x3*(parseInt(_0x3dab39(0x178))/0x4)+-parseInt(_0x3dab39(0x160))/0x5*(-parseInt(_0x3dab39(0x175))/0x6)+parseInt(_0x3dab39(0x16f))/0x7*(parseInt(_0x3dab39(0x166))/0x8)+-parseInt(_0x3dab39(0x16c))/0x9*(-parseInt(_0x3dab39(0x14c))/0xa)+-parseInt(_0x3dab39(0x188))/0xb*(parseInt(_0x3dab39(0x145))/0xc)+-parseInt(_0x3dab39(0x147))/0xd*(parseInt(_0x3dab39(0x180))/0xe);if(_0x426099===_0x3f3d9e)break;else _0x2fed99['push'](_0x2fed99['shift']());}catch(_0x310a9c){_0x2fed99['push'](_0x2fed99['shift']());}}}(a120_0x3f9f,0xa8a2a));const winston=require(a120_0xf652bb(0x162)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME,DEBUG_CLI_LOG_FILE_NAME}=require(a120_0xf652bb(0x191)),tempLogDir='log';let redactRegex=null,lastConfigHash='';const logFormat=winston['format'](_0x492908=>{const _0x158b4c=a120_0xf652bb,_0x22d4d9={};_0x22d4d9[_0x158b4c(0x154)]=function(_0x27e508,_0xcde8d3){return _0x27e508!==_0xcde8d3;},_0x22d4d9[_0x158b4c(0x144)]=_0x158b4c(0x165),_0x22d4d9[_0x158b4c(0x17c)]=function(_0x2297d1,_0x4cabab){return _0x2297d1+_0x4cabab;},_0x22d4d9[_0x158b4c(0x185)]=function(_0x180511,_0x2f3e5d){return _0x180511+_0x2f3e5d;},_0x22d4d9[_0x158b4c(0x155)]=function(_0x362531,_0x46c153){return _0x362531!==_0x46c153;},_0x22d4d9[_0x158b4c(0x164)]=function(_0x117ef1,_0x4e3c0a){return _0x117ef1>_0x4e3c0a;},_0x22d4d9[_0x158b4c(0x190)]='[REDACTED]';const _0x31756e=_0x22d4d9;_0x31756e[_0x158b4c(0x154)](typeof _0x492908[_0x158b4c(0x199)],_0x31756e[_0x158b4c(0x144)])&&(_0x492908[_0x158b4c(0x199)]=JSON[_0x158b4c(0x15b)](_0x492908[_0x158b4c(0x199)]));const _0x325be5=global['config']&&global[_0x158b4c(0x15a)][_0x158b4c(0x18b)]||'',_0x1bbeae=global['config']&&global[_0x158b4c(0x15a)][_0x158b4c(0x153)]||'',_0x359aed=_0x31756e['oAYax'](_0x31756e[_0x158b4c(0x185)](_0x325be5,'|'),_0x1bbeae);if(_0x31756e[_0x158b4c(0x155)](_0x359aed,lastConfigHash)){lastConfigHash=_0x359aed;const _0x18cb24=[_0x325be5,_0x1bbeae][_0x158b4c(0x152)](Boolean);if(_0x31756e[_0x158b4c(0x164)](_0x18cb24[_0x158b4c(0x194)],0x0)){const _0x1f00ae=_0x18cb24[_0x158b4c(0x151)](_0x4db54c=>_0x4db54c[_0x158b4c(0x182)](/[.*+?^${}()|[\]\\]/g,_0x158b4c(0x177)))[_0x158b4c(0x174)]('|');redactRegex=new RegExp(_0x1f00ae,'g');}else redactRegex=null;}return redactRegex&&(_0x492908[_0x158b4c(0x199)]=_0x492908[_0x158b4c(0x199)]['replace'](redactRegex,_0x31756e[_0x158b4c(0x190)])),_0x492908;}),fetchLogDir=()=>{const _0x14a395=a120_0xf652bb;if(process['env']['BROWSERSTACK_INTERNAL_LOG_DIR'])return process[_0x14a395(0x187)][_0x14a395(0x171)];else!fs['existsSync'](tempLogDir)&&fs[_0x14a395(0x17a)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),getInitialLogLevel=()=>{const _0x4d130a=a120_0xf652bb,_0x103ad5={};_0x103ad5[_0x4d130a(0x196)]=_0x4d130a(0x193);const _0x28b19b=_0x103ad5,_0x2a960a=process[_0x4d130a(0x187)][_0x4d130a(0x16b)],_0x3cc848=Object['keys'](winston[_0x4d130a(0x15a)]['npm']['levels']);if(_0x2a960a&&_0x3cc848[_0x4d130a(0x16d)](_0x2a960a[_0x4d130a(0x18d)]()))return _0x2a960a[_0x4d130a(0x18d)]();return _0x28b19b[_0x4d130a(0x196)];},initialLogLevel=getInitialLogLevel(),a120_0x206862={};a120_0x206862[a120_0xf652bb(0x18a)]=a120_0xf652bb(0x148),a120_0x206862[a120_0xf652bb(0x183)]=initialLogLevel;const transports={'loggerConsole':new winston[(a120_0xf652bb(0x198))]['Console'](a120_0x206862),'loggerFile':new winston[(a120_0xf652bb(0x198))][(a120_0xf652bb(0x156))]({'filename':path[a120_0xf652bb(0x174)](logDir,a120_0xf652bb(0x167)),'level':initialLogLevel}),'debugLoggerFile':new winston[(a120_0xf652bb(0x198))][(a120_0xf652bb(0x156))]({'filename':path['join'](logDir,a120_0xf652bb(0x14e)),'level':'silly'}),'debugCliLoggerFile':new winston[(a120_0xf652bb(0x198))]['File']({'filename':path[a120_0xf652bb(0x174)](logDir,DEBUG_CLI_LOG_FILE_NAME),'level':'silly'}),'buildLinkTransport':new winston[(a120_0xf652bb(0x198))][(a120_0xf652bb(0x156))]({'filename':path[a120_0xf652bb(0x174)](logDir,a120_0xf652bb(0x167)),'level':'silly'})},automationTransports={};process['env'][a120_0xf652bb(0x17e)]==='true'&&(automationTransports['automationLoggerFile']=new winston[(a120_0xf652bb(0x198))][(a120_0xf652bb(0x156))]({'filename':path[a120_0xf652bb(0x174)](logDir,a120_0xf652bb(0x169)),'level':a120_0xf652bb(0x17b)}));transports[a120_0xf652bb(0x14b)]['on']('error',_0x135740=>{const _0x4e625c=a120_0xf652bb,_0x401e95={};_0x401e95[_0x4e625c(0x161)]=function(_0x146003,_0x3aaae2){return _0x146003===_0x3aaae2;},_0x401e95[_0x4e625c(0x146)]=_0x4e625c(0x14f),_0x401e95[_0x4e625c(0x189)]=_0x4e625c(0x197);const _0x2a9a14=_0x401e95;if(_0x2a9a14[_0x4e625c(0x161)](_0x135740[_0x4e625c(0x17d)],_0x2a9a14[_0x4e625c(0x146)])){console[_0x4e625c(0x186)](_0x2a9a14[_0x4e625c(0x189)],_0x135740[_0x4e625c(0x199)]);return;}throw _0x135740;});const a120_0x53c0ff={};a120_0x53c0ff[a120_0xf652bb(0x16a)]='YYYY-MM-DD\x20HH:mm:ss';function a120_0x3f9f(){const _0xec3657=['winston','YYYY-MM-DD\x20HH:mm:ss','lxqzb','string','72KlOwJS','/usage.log','logDir','automation.log','format','BROWSERSTACK_LOG_LEVEL','813204PIprfa','includes','fileLogger','1005193qjiavV','debugLoggerFile','BROWSERSTACK_INTERNAL_LOG_DIR','add','IVTSK','join','264adQhuY','debugCliLoggerFile','\x5c$&','36932mWiTpK','combine','mkdirSync','silly','oAYax','code','BROWSERSTACK_AUTOMATION_LOGS','getLogDir','182AMUsYj','loggerFile','replace','level','warn','teJjW','log','env','765853cNiNIW','kUtRf','name','userName','createLogger','toLowerCase','buildLogger','http','DVVKH','../bin/utils/constants','initialize','info','length','error','DrUwr','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','transports','message','\x20-\x20','suMwr','156wbmliP','tiuyR','162175OBeiVZ','console.info','colorize','remove','loggerConsole','70ePJdek','15MZLiHV','/usage-debug.log','EPIPE','true','map','filter','accessKey','Dullx','WAaeZ','File','1184300ooYqSg','timestamp','winstonLogger','config','stringify','automationLogger','2SZLUpv','debug','printf','110370ULolDO','mMOuB'];a120_0x3f9f=function(){return _0xec3657;};return a120_0x3f9f();}const a120_0x7cf5db={};a120_0x7cf5db[a120_0xf652bb(0x183)]=!![];const winstonLoggerParams={'format':winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x179)](winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x158)](a120_0x53c0ff),winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x149)](a120_0x7cf5db),winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x15f)](_0x428ad0=>_0x428ad0[a120_0xf652bb(0x158)]+a120_0xf652bb(0x19a)+_0x428ad0[a120_0xf652bb(0x183)]+':\x20'+_0x428ad0[a120_0xf652bb(0x199)])),'transports':[transports[a120_0xf652bb(0x14b)]]},a120_0x122947={};function a120_0x3a90(_0x4d6c54,_0x1a0935){const _0x3f9f09=a120_0x3f9f();return a120_0x3a90=function(_0x3a9080,_0x32d379){_0x3a9080=_0x3a9080-0x144;let _0x3f8ad0=_0x3f9f09[_0x3a9080];return _0x3f8ad0;},a120_0x3a90(_0x4d6c54,_0x1a0935);}a120_0x122947[a120_0xf652bb(0x16a)]=a120_0xf652bb(0x163);const a120_0xe51b6c={};a120_0xe51b6c[a120_0xf652bb(0x183)]=!![];const winstonFileLoggerParams={'format':winston[a120_0xf652bb(0x16a)]['combine'](winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x158)](a120_0x122947),winston[a120_0xf652bb(0x16a)]['colorize'](a120_0xe51b6c),winston['format'][a120_0xf652bb(0x15f)](_0x465343=>_0x465343['level']+':\x20'+_0x465343['message'])),'transports':[]},a120_0x20cbd0={};a120_0x20cbd0['format']=a120_0xf652bb(0x163);const a120_0x30145a={};a120_0x30145a[a120_0xf652bb(0x183)]=!![];const a120_0x698215={};a120_0x698215[a120_0xf652bb(0x183)]='silly';const BuildLoggerParams={'format':winston[a120_0xf652bb(0x16a)]['combine'](winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x158)](a120_0x20cbd0),winston[a120_0xf652bb(0x16a)]['colorize'](a120_0x30145a),winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x15f)](_0x5039be=>_0x5039be[a120_0xf652bb(0x158)]+a120_0xf652bb(0x19a)+_0x5039be[a120_0xf652bb(0x183)]+':\x20'+_0x5039be[a120_0xf652bb(0x199)])),'transports':[transports['buildLinkTransport'],new winston[(a120_0xf652bb(0x198))]['Console'](a120_0x698215)]},a120_0x3f5887={};a120_0x3f5887[a120_0xf652bb(0x18f)]=()=>{},a120_0x3f5887['info']=()=>{},a120_0x3f5887[a120_0xf652bb(0x184)]=()=>{},a120_0x3f5887[a120_0xf652bb(0x195)]=()=>{},a120_0x3f5887[a120_0xf652bb(0x15e)]=()=>{},a120_0x3f5887['silly']=()=>{},exports[a120_0xf652bb(0x15c)]=process[a120_0xf652bb(0x187)][a120_0xf652bb(0x17e)]===a120_0xf652bb(0x150)?winston[a120_0xf652bb(0x18c)]({'format':winston['format'][a120_0xf652bb(0x179)](winston[a120_0xf652bb(0x16a)]['uncolorize'](),winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x158)](),logFormat(),winston[a120_0xf652bb(0x16a)][a120_0xf652bb(0x15f)](_0x6a66f2=>_0x6a66f2[a120_0xf652bb(0x183)]+':\x20'+_0x6a66f2[a120_0xf652bb(0x199)])),'transports':[automationTransports['automationLoggerFile']]}):a120_0x3f5887;const initialize=()=>{const _0x84428c=a120_0xf652bb,_0x58f964={};_0x58f964[_0x84428c(0x173)]=_0x84428c(0x17b);const _0x17b5e6=_0x58f964,_0x3afab3=transports[_0x84428c(0x14b)][_0x84428c(0x183)]||initialLogLevel;transports[_0x84428c(0x181)]&&(exports[_0x84428c(0x159)][_0x84428c(0x14a)](transports[_0x84428c(0x181)]),exports['fileLogger'][_0x84428c(0x14a)](transports[_0x84428c(0x181)])),transports['debugLoggerFile']&&(exports[_0x84428c(0x159)][_0x84428c(0x14a)](transports[_0x84428c(0x170)]),exports[_0x84428c(0x16e)]['remove'](transports[_0x84428c(0x170)])),transports['loggerFile']=new winston[(_0x84428c(0x198))]['File']({'filename':path[_0x84428c(0x174)](exports[_0x84428c(0x168)],LOG_FILE_NAME),'level':_0x3afab3}),transports[_0x84428c(0x170)]=new winston[(_0x84428c(0x198))][(_0x84428c(0x156))]({'filename':path['join'](exports[_0x84428c(0x168)],DEBUG_LOG_FILE_NAME),'level':_0x17b5e6[_0x84428c(0x173)]}),transports[_0x84428c(0x176)]=new winston[(_0x84428c(0x198))]['File']({'filename':path[_0x84428c(0x174)](exports[_0x84428c(0x168)],DEBUG_CLI_LOG_FILE_NAME),'level':_0x17b5e6['IVTSK']}),exports[_0x84428c(0x159)][_0x84428c(0x172)](transports[_0x84428c(0x181)]),exports[_0x84428c(0x159)]['add'](transports[_0x84428c(0x170)]),exports[_0x84428c(0x16e)]['add'](transports[_0x84428c(0x181)]),exports['fileLogger'][_0x84428c(0x172)](transports[_0x84428c(0x170)]);};exports['winstonLogger']=new winston[(a120_0xf652bb(0x18c))](winstonLoggerParams),exports[a120_0xf652bb(0x16e)]=new winston[(a120_0xf652bb(0x18c))](winstonFileLoggerParams),exports[a120_0xf652bb(0x18e)]=new winston[(a120_0xf652bb(0x18c))](BuildLoggerParams),exports[a120_0xf652bb(0x168)]=logDir,exports[a120_0xf652bb(0x17f)]=()=>{const _0x1bdcc1=a120_0xf652bb;return exports[_0x1bdcc1(0x168)];},exports[a120_0xf652bb(0x198)]=transports,exports[a120_0xf652bb(0x192)]=initialize;logDir&&initialize();
@@ -1 +1 @@
1
- const a116_0x597a44=a116_0x4f0f;(function(_0x1df6e2,_0xaed8e1){const _0x273ecf=a116_0x4f0f,_0x167bdb=_0x1df6e2();while(!![]){try{const _0x34939b=-parseInt(_0x273ecf(0x176))/0x1*(parseInt(_0x273ecf(0x173))/0x2)+parseInt(_0x273ecf(0x162))/0x3*(parseInt(_0x273ecf(0x16b))/0x4)+-parseInt(_0x273ecf(0x15c))/0x5*(-parseInt(_0x273ecf(0x179))/0x6)+-parseInt(_0x273ecf(0x165))/0x7+-parseInt(_0x273ecf(0x178))/0x8*(-parseInt(_0x273ecf(0x15b))/0x9)+parseInt(_0x273ecf(0x15e))/0xa*(parseInt(_0x273ecf(0x16a))/0xb)+-parseInt(_0x273ecf(0x17a))/0xc;if(_0x34939b===_0xaed8e1)break;else _0x167bdb['push'](_0x167bdb['shift']());}catch(_0x43e764){_0x167bdb['push'](_0x167bdb['shift']());}}}(a116_0x3a4d,0xb342e));function a116_0x4f0f(_0x386578,_0x4054ed){const _0x3a4deb=a116_0x3a4d();return a116_0x4f0f=function(_0x4f0fa6,_0x419276){_0x4f0fa6=_0x4f0fa6-0x15b;let _0x1861dc=_0x3a4deb[_0x4f0fa6];return _0x1861dc;},a116_0x4f0f(_0x386578,_0x4054ed);}function a116_0x3a4d(){const _0x7f9c7d=['ElSof','setGlobal','getCentralUser','lcnc','winstonLogger','2rbbTkx','warn','testMeta-','604470KAReMw','testMeta','8hBnNme','173028qtkTSC','2475300IohZmA','2440062BSYplh','5FHjlbc','identifier','533040bnPwin','./logger','uvapy','exports','150666TfiOgV','string','./helper','88753SeebBO','dCnOu','set','get','getGlobal','187XVzrpe','28aikcQN','HdvPH','The\x20metadata\x20object\x20is\x20not\x20valid.'];a116_0x3a4d=function(){return _0x7f9c7d;};return a116_0x3a4d();}const globals=require('./globals'),helper=require(a116_0x597a44(0x164)),logger=require(a116_0x597a44(0x15f))[a116_0x597a44(0x172)];module[a116_0x597a44(0x161)]=class TestMetadata{static[a116_0x597a44(0x167)](_0x3d879c={}){const _0x2dbf48=a116_0x597a44,_0x534eec={};_0x534eec['iDtsN']='testRunUUID',_0x534eec['GGEwP']=function(_0x4cc7d0,_0x5986ea){return _0x4cc7d0===_0x5986ea;},_0x534eec['JCGne']=_0x2dbf48(0x163),_0x534eec[_0x2dbf48(0x160)]=function(_0x249a90,_0x12b5ea){return _0x249a90<=_0x12b5ea;},_0x534eec['HdvPH']=_0x2dbf48(0x177),_0x534eec[_0x2dbf48(0x166)]=_0x2dbf48(0x16d);const _0x1e9f66=_0x534eec,_0x27d271=globals[_0x2dbf48(0x169)](_0x1e9f66['iDtsN']),_0xdbfb0=_0x3d879c[_0x2dbf48(0x15d)];helper[_0x2dbf48(0x170)]()[_0x2dbf48(0x171)]&&(_0x1e9f66['GGEwP'](typeof _0xdbfb0,_0x1e9f66['JCGne'])&&_0x1e9f66[_0x2dbf48(0x160)](_0xdbfb0['length'],0x28)?_0x27d271?globals[_0x2dbf48(0x16f)]('testMeta-'+_0x27d271,_0x3d879c):globals[_0x2dbf48(0x16f)](_0x1e9f66[_0x2dbf48(0x16c)],_0x3d879c):logger[_0x2dbf48(0x174)](_0x1e9f66[_0x2dbf48(0x166)]));}static[a116_0x597a44(0x168)](_0x4ae6fb){const _0x1482e9=a116_0x597a44,_0x43ccd0={};_0x43ccd0[_0x1482e9(0x16e)]=_0x1482e9(0x177);const _0x3ef4a3=_0x43ccd0;if(helper[_0x1482e9(0x170)]()['lcnc'])return globals[_0x1482e9(0x169)](_0x1482e9(0x175)+_0x4ae6fb)||globals['getGlobal'](_0x3ef4a3[_0x1482e9(0x16e)])||{};return{};}};
1
+ const a121_0x1ee4df=a121_0x1366;function a121_0x49f8(){const _0x3d65ef=['testRunUUID','lcnc','2790613EtEAYX','1145836hIvUDX','setGlobal','2765272PuGdfG','The\x20metadata\x20object\x20is\x20not\x20valid.','3492597wlKWoP','getGlobal','./globals','5thnPSA','2651kDKhqD','testMeta-','tHoqM','46730qbdaeD','testMeta','./helper','exports','mwCaQ','OmDSq','3451594lFOUcG','24583404JiFpiV','string','warn','24nNiNmQ','identifier','GNVpX','getCentralUser','18wzQAQG','LbPpW','winstonLogger','LZzvq','./logger','1JbEKtC','jsiQK'];a121_0x49f8=function(){return _0x3d65ef;};return a121_0x49f8();}function a121_0x1366(_0x162c1b,_0x2c7e2a){const _0x49f85e=a121_0x49f8();return a121_0x1366=function(_0x1366e5,_0x534e23){_0x1366e5=_0x1366e5-0xf5;let _0x139dd0=_0x49f85e[_0x1366e5];return _0x139dd0;},a121_0x1366(_0x162c1b,_0x2c7e2a);}(function(_0x5e447d,_0xdac6f1){const _0x1d26b2=a121_0x1366,_0x4fa3f8=_0x5e447d();while(!![]){try{const _0x352137=-parseInt(_0x1d26b2(0x101))/0x1*(-parseInt(_0x1d26b2(0x117))/0x2)+parseInt(_0x1d26b2(0x10a))/0x3+parseInt(_0x1d26b2(0x106))/0x4*(parseInt(_0x1d26b2(0x10d))/0x5)+-parseInt(_0x1d26b2(0xf8))/0x6*(-parseInt(_0x1d26b2(0x105))/0x7)+parseInt(_0x1d26b2(0x108))/0x8*(-parseInt(_0x1d26b2(0xfc))/0x9)+parseInt(_0x1d26b2(0x111))/0xa*(-parseInt(_0x1d26b2(0x10e))/0xb)+-parseInt(_0x1d26b2(0xf5))/0xc;if(_0x352137===_0xdac6f1)break;else _0x4fa3f8['push'](_0x4fa3f8['shift']());}catch(_0x18e100){_0x4fa3f8['push'](_0x4fa3f8['shift']());}}}(a121_0x49f8,0xdcf03));const globals=require(a121_0x1ee4df(0x10c)),helper=require(a121_0x1ee4df(0x113)),logger=require(a121_0x1ee4df(0x100))[a121_0x1ee4df(0xfe)];module[a121_0x1ee4df(0x114)]=class TestMetadata{static['set'](_0x3dd5ae={}){const _0x4e667d=a121_0x1ee4df,_0x13a0c2={};_0x13a0c2['GNVpX']=_0x4e667d(0x103),_0x13a0c2['OmDSq']=function(_0x1cb1b9,_0x3c94d9){return _0x1cb1b9===_0x3c94d9;},_0x13a0c2[_0x4e667d(0x102)]=_0x4e667d(0xf6),_0x13a0c2[_0x4e667d(0x115)]=function(_0x565470,_0x5c1370){return _0x565470<=_0x5c1370;},_0x13a0c2[_0x4e667d(0x110)]=_0x4e667d(0x112),_0x13a0c2['LZzvq']=_0x4e667d(0x109);const _0x40336b=_0x13a0c2,_0x212a6e=globals[_0x4e667d(0x10b)](_0x40336b[_0x4e667d(0xfa)]),_0x1a08ed=_0x3dd5ae[_0x4e667d(0xf9)];helper[_0x4e667d(0xfb)]()[_0x4e667d(0x104)]&&(_0x40336b[_0x4e667d(0x116)](typeof _0x1a08ed,_0x40336b['jsiQK'])&&_0x40336b[_0x4e667d(0x115)](_0x1a08ed['length'],0x28)?_0x212a6e?globals[_0x4e667d(0x107)]('testMeta-'+_0x212a6e,_0x3dd5ae):globals[_0x4e667d(0x107)](_0x40336b[_0x4e667d(0x110)],_0x3dd5ae):logger[_0x4e667d(0xf7)](_0x40336b[_0x4e667d(0xff)]));}static['get'](_0x34c1d0){const _0x1ecd07=a121_0x1ee4df,_0x42fd76={};_0x42fd76[_0x1ecd07(0xfd)]=_0x1ecd07(0x112);const _0x102597=_0x42fd76;if(helper[_0x1ecd07(0xfb)]()['lcnc'])return globals[_0x1ecd07(0x10b)](_0x1ecd07(0x10f)+_0x34c1d0)||globals[_0x1ecd07(0x10b)](_0x102597['LbPpW'])||{};return{};}};
@@ -1 +1 @@
1
- const a117_0x4cac7f=a117_0x42ca;(function(_0x1a74b8,_0x37a6b4){const _0x38e3fd=a117_0x42ca,_0x512b0f=_0x1a74b8();while(!![]){try{const _0x337149=-parseInt(_0x38e3fd(0x137))/0x1+-parseInt(_0x38e3fd(0x11a))/0x2*(-parseInt(_0x38e3fd(0x134))/0x3)+parseInt(_0x38e3fd(0x164))/0x4*(-parseInt(_0x38e3fd(0x10e))/0x5)+-parseInt(_0x38e3fd(0x12c))/0x6*(-parseInt(_0x38e3fd(0x154))/0x7)+parseInt(_0x38e3fd(0x108))/0x8+-parseInt(_0x38e3fd(0x13b))/0x9+-parseInt(_0x38e3fd(0x106))/0xa*(-parseInt(_0x38e3fd(0x10b))/0xb);if(_0x337149===_0x37a6b4)break;else _0x512b0f['push'](_0x512b0f['shift']());}catch(_0x3854e4){_0x512b0f['push'](_0x512b0f['shift']());}}}(a117_0x5e98,0xb19df));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a117_0x4cac7f(0x103)),PerformanceTester=require(a117_0x4cac7f(0xf7)),globals=require(a117_0x4cac7f(0x165)),{winstonLogger:logger,automationLogger}=require('./logger'),helper=require('./helper'),constants=require('../bin/utils/constants'),{DRIVER_EVENT:PerformanceDriverEvents}=require('./performance/constants'),util=require('util');function a117_0x42ca(_0x864087,_0x571d83){const _0x5e9869=a117_0x5e98();return a117_0x42ca=function(_0x42ca03,_0x2149b9){_0x42ca03=_0x42ca03-0xf1;let _0xf07e8c=_0x5e9869[_0x42ca03];return _0xf07e8c;},a117_0x42ca(_0x864087,_0x571d83);}exports[a117_0x4cac7f(0x120)]=(_0x267430,_0x17e8f2)=>{const _0x3de734=a117_0x4cac7f,_0x2f99fc={'ouzLk':_0x3de734(0x10a),'mjhPn':function(_0x1a8dfd,_0xa135cd){return _0x1a8dfd===_0xa135cd;},'uZjFl':_0x3de734(0xf4),'nBvIC':function(_0xa5e4fa,_0x127025){return _0xa5e4fa===_0x127025;},'PArfi':_0x3de734(0x16c),'PAMvV':function(_0x457077,_0x5ca094){return _0x457077===_0x5ca094;},'KLKnI':'findElement','xEcti':_0x3de734(0x15a),'ITOsW':_0x3de734(0xff),'PAskc':function(_0x3eedb0,_0x17a5e5){return _0x3eedb0===_0x17a5e5;},'DhlrK':_0x3de734(0x130),'mkmjN':function(_0xd1d0e4,_0x2470e6){return _0xd1d0e4+_0x2470e6;},'fQzqd':function(_0x3326b4,_0xcc8a9f){return _0x3326b4+_0xcc8a9f;},'DuJSA':_0x3de734(0x139),'YcYOK':';\x20Trying\x20to\x20heal','VswKn':function(_0x293e21,_0xe299f8){return _0x293e21+_0xe299f8;},'fRVgz':'findElement\x20command\x20failed\x20with\x20','IJqPG':_0x3de734(0x146),'eGzMa':function(_0x43e3e7){return _0x43e3e7();},'Tpwdm':function(_0x49c11c,_0x4fec6){return _0x49c11c&&_0x4fec6;},'vztFq':function(_0x58dd15,_0x466251){return _0x58dd15===_0x466251;},'kbAqG':function(_0x5159f8,_0x3ba94e){return _0x5159f8+_0x3ba94e;},'ZgqJI':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','jrMgh':function(_0x503ce8,_0x9bc5bf){return _0x503ce8+_0x9bc5bf;},'bVGmY':_0x3de734(0xf3),'qYWWE':function(_0x4c118b,_0x30bb90){return _0x4c118b===_0x30bb90;},'VzKaO':function(_0x348c3d,_0x33af25){return _0x348c3d+_0x33af25;},'Jeqad':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','fNXrh':function(_0x1f58b1,_0x4b5d02){return _0x1f58b1+_0x4b5d02;},'xnWeu':_0x3de734(0x11d),'ElmxC':function(_0x509470,_0x3dae86){return _0x509470===_0x3dae86;},'cbimM':_0x3de734(0x104),'AXQSH':_0x3de734(0x159),'XZhcZ':_0x3de734(0x166),'pxSoW':_0x3de734(0xfb),'tNnqo':'aiHeal:setToken','FzrJi':function(_0x11e8dd){return _0x11e8dd();},'eUoIY':_0x3de734(0x14f),'weEqx':function(_0x27fab9,_0x53a63b){return _0x27fab9===_0x53a63b;},'Yizut':_0x3de734(0x119),'QdxXf':function(_0x24ba23){return _0x24ba23();},'iGCAI':function(_0x277f16,_0x9b47b9){return _0x277f16===_0x9b47b9;},'NSMXN':_0x3de734(0x161),'fApxS':_0x3de734(0x168),'sCzAC':function(_0x2fbad6,_0x478dee){return _0x2fbad6===_0x478dee;},'gdudX':_0x3de734(0x11c),'cXqXN':'capability','tEQrM':_0x3de734(0x129),'xvWpm':'bstack:options','UzCnE':_0x3de734(0x13a)},_0xab6e1d=_0x267430[_0x3de734(0x125)]||(helper[_0x3de734(0x123)](_0x17e8f2,[_0x2f99fc['cXqXN'],_0x2f99fc[_0x3de734(0x13e)]])||helper[_0x3de734(0x123)](_0x17e8f2,[_0x2f99fc[_0x3de734(0x157)],_0x2f99fc[_0x3de734(0x16b)],_0x2f99fc[_0x3de734(0x15d)]]));if(!globals[_0x3de734(0x152)](_0x2f99fc[_0x3de734(0x140)])&&!globals['getGlobal'](_0x2f99fc[_0x3de734(0x15e)])&&_0xab6e1d)return;_0x267430[_0x3de734(0x125)]=!![],_0x267430[_0x3de734(0x16d)]=_0x267430['execute'],_0x267430[_0x3de734(0x13f)]=async _0x462f29=>{const _0x1018da=_0x3de734,_0x570fbe={'lYMAe':_0x2f99fc[_0x1018da(0x140)],'ADMcm':_0x2f99fc[_0x1018da(0x16e)],'jjaUt':function(_0x2dfa1e){const _0x5e21d1=_0x1018da;return _0x2f99fc[_0x5e21d1(0x136)](_0x2dfa1e);},'LAXtk':_0x2f99fc[_0x1018da(0x133)],'FoXBN':function(_0x3fbd7e,_0x1bffff){const _0x2a5b35=_0x1018da;return _0x2f99fc[_0x2a5b35(0x145)](_0x3fbd7e,_0x1bffff);},'AjWwj':_0x2f99fc[_0x1018da(0x102)],'FlmnY':_0x2f99fc[_0x1018da(0x15e)],'QWuSQ':_0x2f99fc[_0x1018da(0x141)],'dotXT':function(_0x6bf022){return _0x2f99fc['QdxXf'](_0x6bf022);}};try{const _0x3752e3={};_0x3752e3[_0x1018da(0x114)]=_0x462f29[_0x1018da(0x122)],await PerformanceTester[_0x1018da(0x14a)](PerformanceDriverEvents[_0x1018da(0x121)],async()=>{const _0x23c179=_0x1018da;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x23c179(0x152)](_0x570fbe['lYMAe'])){const _0x2f6cc3=PerformanceTester[_0x23c179(0x14a)](_0x570fbe[_0x23c179(0xf1)],async()=>{const _0x8b8eb4=_0x23c179;try{commandRepository[_0x8b8eb4(0x155)](!![]),await aiSdkWrapper[_0x8b8eb4(0x116)]((await _0x267430[_0x8b8eb4(0x167)]())[_0x8b8eb4(0x101)]());const _0x3f7d63=globals[_0x8b8eb4(0x152)](_0x570fbe[_0x8b8eb4(0x14e)]);_0x3f7d63&&commandRepository[_0x8b8eb4(0x100)]((await _0x267430[_0x8b8eb4(0x167)]())[_0x8b8eb4(0x101)]());}catch(_0x2b3c4d){logger[_0x8b8eb4(0x112)](_0x8b8eb4(0x14c)+_0x2b3c4d);}});await _0x570fbe[_0x23c179(0x12d)](_0x2f6cc3);}},_0x3752e3)();const _0x58f771=await _0x267430[_0x1018da(0x16d)](_0x462f29);try{if(_0x2f99fc[_0x1018da(0x151)](_0x462f29[_0x1018da(0x122)],_0x2f99fc[_0x1018da(0xf2)])||_0x2f99fc[_0x1018da(0x151)](_0x462f29[_0x1018da(0x122)],_0x2f99fc[_0x1018da(0x160)])){const _0x4bc6da=_0x462f29[_0x1018da(0x159)]&&_0x462f29[_0x1018da(0x159)][_0x1018da(0xf8)],_0x548333=_0x462f29[_0x1018da(0x159)]&&_0x462f29[_0x1018da(0x159)][_0x1018da(0x147)],_0x7b37c=_0x548333&&util['format']('%j',_0x548333);if(_0x4bc6da&&_0x2f99fc[_0x1018da(0x10d)](typeof _0x4bc6da,_0x2f99fc['gdudX'])){const _0x1f31b0=constants[_0x1018da(0x10f)][_0x1018da(0x143)](_0x3df44e=>_0x4bc6da[_0x1018da(0x110)](_0x3df44e)||_0x7b37c&&_0x7b37c[_0x1018da(0x110)](_0x3df44e));if(_0x1f31b0){const _0x37a833={};_0x37a833[_0x1018da(0x114)]=_0x1f31b0,_0x37a833[_0x1018da(0x15b)]=_0x548333;const _0x4d041c={};_0x4d041c[_0x1018da(0x13d)]=_0x58f771;const _0x2622d1={};_0x2622d1[_0x1018da(0x13c)]=_0x37a833,_0x2622d1[_0x1018da(0xfe)]=_0x4d041c,automationLogger['silly']('['+new Date()[_0x1018da(0x12a)]()+_0x1018da(0x153)+util[_0x1018da(0xf6)]('%j',_0x2622d1));}}}}catch(_0x311a53){logger['silly'](_0x1018da(0x10c)+_0x311a53[_0x1018da(0x126)]);}return await PerformanceTester[_0x1018da(0x14a)](PerformanceDriverEvents[_0x1018da(0x109)],async()=>{const _0x24802b=_0x1018da;if(!helper[_0x24802b(0xfa)]()&&(commandRepository['isSelfHealEnabled']()||globals['getGlobal'](_0x570fbe[_0x24802b(0x131)]))&&_0x570fbe[_0x24802b(0x149)](_0x462f29['name_'],_0x570fbe[_0x24802b(0x113)])&&!_0x462f29[_0x24802b(0x111)]&&globals[_0x24802b(0x152)](_0x570fbe[_0x24802b(0x14e)])&&globals['getGlobal'](_0x570fbe[_0x24802b(0x11f)])){const _0x5363b8=new Date(),_0x39ab7a=PerformanceTester[_0x24802b(0x14a)](_0x570fbe['QWuSQ'],async()=>{return await aiSdkWrapper['handleSuccess'](_0x17e8f2,_0x267430,_0x462f29);});await _0x570fbe[_0x24802b(0x169)](_0x39ab7a);}},{'command':_0x462f29[_0x1018da(0x122)]})(),_0x58f771;}catch(_0x4c5c49){await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x1018da(0x109)],async()=>{const _0x50f15e=_0x1018da;logger['debug'](_0x2f99fc['ouzLk']);try{if(!helper[_0x50f15e(0xfa)]()&&(_0x2f99fc[_0x50f15e(0x132)](_0x4c5c49['name'],_0x2f99fc[_0x50f15e(0x163)])||_0x2f99fc[_0x50f15e(0x12e)](_0x4c5c49['name'],_0x2f99fc[_0x50f15e(0x115)]))&&_0x2f99fc[_0x50f15e(0x12b)](_0x462f29[_0x50f15e(0x122)],_0x2f99fc[_0x50f15e(0x102)])&&commandRepository[_0x50f15e(0x148)]()&&globals['getGlobal'](_0x2f99fc[_0x50f15e(0x140)])&&globals[_0x50f15e(0x152)](_0x2f99fc[_0x50f15e(0x15e)])){_0x2f99fc[_0x50f15e(0xf5)](_0x462f29[_0x50f15e(0x159)][_0x50f15e(0x11e)],_0x2f99fc[_0x50f15e(0x14b)])?logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x117)](_0x2f99fc[_0x50f15e(0x142)](_0x2f99fc['DuJSA'],_0x462f29[_0x50f15e(0x159)][_0x50f15e(0xfc)]),_0x2f99fc[_0x50f15e(0xfd)])):logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x105)](_0x2f99fc[_0x50f15e(0x105)](_0x2f99fc['fQzqd'](_0x2f99fc['mkmjN'](_0x2f99fc['fRVgz'],_0x462f29[_0x50f15e(0x159)]['using']),':\x20'),_0x462f29[_0x50f15e(0x159)]['value']),_0x2f99fc[_0x50f15e(0xfd)]));const _0x1b8110=PerformanceTester[_0x50f15e(0x14a)](_0x2f99fc['IJqPG'],async()=>{const _0x1dc0c1=_0x50f15e;return await aiSdkWrapper[_0x1dc0c1(0x12f)](_0x17e8f2,_0x267430,_0x462f29);}),_0x366ab5=new Date(),{locatorType:_0x49e7fd,locatorValue:_0x1238f6,commandHealed:_0x3d730b}=await _0x2f99fc[_0x50f15e(0x144)](_0x1b8110);if(_0x2f99fc[_0x50f15e(0x128)](_0x49e7fd,_0x1238f6)){_0x462f29['parameters_']['using']=_0x49e7fd,_0x462f29[_0x50f15e(0x159)][_0x50f15e(0xfc)]=_0x1238f6,_0x462f29['skipHealingSuccess']=!![];const _0x4ad0c3=_0x267430[_0x50f15e(0x13f)](_0x462f29);return _0x2f99fc['vztFq'](_0x49e7fd,_0x2f99fc['DhlrK'])?logger[_0x50f15e(0x15f)](_0x2f99fc['kbAqG'](_0x2f99fc['ZgqJI'],_0x1238f6)):logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x142)](_0x2f99fc[_0x50f15e(0x138)](_0x2f99fc[_0x50f15e(0x117)](_0x2f99fc[_0x50f15e(0x14d)],_0x49e7fd),':\x20'),_0x1238f6)),_0x4ad0c3;}else!_0x3d730b&&(_0x2f99fc['qYWWE'](_0x49e7fd,_0x2f99fc[_0x50f15e(0x14b)])?logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x118)](_0x2f99fc[_0x50f15e(0x127)],_0x462f29['parameters_']['value'])):logger[_0x50f15e(0x15f)](_0x2f99fc[_0x50f15e(0x142)](_0x2f99fc[_0x50f15e(0x158)](_0x2f99fc[_0x50f15e(0x118)](_0x2f99fc[_0x50f15e(0x16a)],_0x462f29[_0x50f15e(0x159)][_0x50f15e(0x11e)]),':\x20'),_0x462f29[_0x50f15e(0x159)][_0x50f15e(0xfc)])));}!_0xab6e1d&&_0x2f99fc[_0x50f15e(0xf9)](_0x462f29[_0x50f15e(0x122)],_0x2f99fc[_0x50f15e(0x162)])&&helper[_0x50f15e(0x123)](_0x462f29,[_0x2f99fc[_0x50f15e(0x156)],_0x2f99fc[_0x50f15e(0x11b)]])&&!!constants[_0x50f15e(0x124)]['find'](_0x2792c9=>{const _0x4ab6da=_0x50f15e;return _0x4c5c49[_0x4ab6da(0x107)]()[_0x4ab6da(0x110)](_0x2792c9);})&&helper[_0x50f15e(0x150)](_0x462f29[_0x50f15e(0x159)]['url'],!![]);}catch(_0x3de2b7){logger[_0x50f15e(0x135)](_0x2f99fc[_0x50f15e(0x15c)],_0x3de2b7);}},{'success':![],'failure':_0x4c5c49})();throw _0x4c5c49;}};};function a117_0x5e98(){const _0x457242=['find','eGzMa','weEqx','aiHeal:findElementFailure','args','isSelfHealEnabled','FoXBN','measureWrapper','DhlrK','Error\x20in\x20handling\x20TCG\x20Auth:\x20','bVGmY','lYMAe','aiSdk_defaultLogDataEnabled','getNudgeLocalNotSetError','iGCAI','getGlobal','][\x20SDK-AUTOMATION\x20]\x20','301QIexBE','setTcgTokenStatus','AXQSH','cXqXN','fNXrh','parameters_','aiHeal_isAuthenticated','parameters','pxSoW','UzCnE','ITOsW','info','fApxS','executeAsyncScript','cbimM','uZjFl','4lNnBTF','./globals','url','getSession','executeScript','dotXT','xnWeu','xvWpm','JavascriptError','initExecute','tNnqo','ADMcm','NSMXN','Successfully\x20healed\x20command\x20using\x20new\x20','NoSuchElementError','PAskc','format','./performance/performance-tester','script','ElmxC','isBrowserstackInfra','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','value','YcYOK','response','aiHeal_isHealingEnabled','setAiSessionTimeStamp','getId','KLKnI','./ai-sdk/autoHealHelper','get','VswKn','1584040EMXEBJ','toString','4630008VuiFwG','POST_EXECUTE','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','66KDTmWN','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','sCzAC','5345UfaXnC','AUTOMATION_LOG_COMMANDS','includes','skipHealingSuccess','error','AjWwj','command','PArfi','setTcgToken','mkmjN','VzKaO','aiHeal:findElementSuccess','2886188ASubhO','XZhcZ','string','Healing\x20failed\x20for\x20command\x20using\x20','using','FlmnY','overrideExecute','PRE_EXECUTE','name_','nestedKeyValue','NUDGE_LOCAL_ERRORS','patchExecute','message','Jeqad','Tpwdm','browserstack.local','toISOString','PAMvV','52602sDKsRZ','jjaUt','nBvIC','handleFailure','css\x20selector','LAXtk','mjhPn','eUoIY','3RswfSf','debug','FzrJi','1375640fYgNSI','jrMgh','findElement\x20command\x20failed\x20with\x20cssPath:\x20','local','11205198hpDSpY','request','body','tEQrM','execute','xEcti','Yizut','fQzqd'];a117_0x5e98=function(){return _0x457242;};return a117_0x5e98();}
1
+ const a122_0x39528c=a122_0x48e5;(function(_0x4da912,_0x4e7a9e){const _0x44b7cc=a122_0x48e5,_0x449576=_0x4da912();while(!![]){try{const _0x55f830=-parseInt(_0x44b7cc(0x11b))/0x1*(parseInt(_0x44b7cc(0x164))/0x2)+parseInt(_0x44b7cc(0x117))/0x3+-parseInt(_0x44b7cc(0x133))/0x4+parseInt(_0x44b7cc(0x142))/0x5*(parseInt(_0x44b7cc(0x186))/0x6)+-parseInt(_0x44b7cc(0x113))/0x7*(parseInt(_0x44b7cc(0x14a))/0x8)+parseInt(_0x44b7cc(0x161))/0x9+parseInt(_0x44b7cc(0x181))/0xa;if(_0x55f830===_0x4e7a9e)break;else _0x449576['push'](_0x449576['shift']());}catch(_0x575b9a){_0x449576['push'](_0x449576['shift']());}}}(a122_0x4de9,0x9f40a));function a122_0x48e5(_0x1b9536,_0x4d53c7){const _0x4de9a8=a122_0x4de9();return a122_0x48e5=function(_0x48e541,_0x1cafd8){_0x48e541=_0x48e541-0x110;let _0x44e204=_0x4de9a8[_0x48e541];return _0x44e204;},a122_0x48e5(_0x1b9536,_0x4d53c7);}function a122_0x4de9(){const _0x20d7f0=['parameters_','./performance/constants','isBrowserstackInfra','./logger','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','includes','setTcgToken','UkNgJ','hemXP','Healing\x20failed\x20for\x20command\x20using\x20','bVPTw','nestedKeyValue','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','toISOString','browserstack.local','][\x20SDK-AUTOMATION\x20]\x20','zCGIS','iidCr','initExecute','IpMUA','SLkTG','gYIxR','using','Error\x20in\x20handling\x20TCG\x20Auth:\x20','14607670prHNUP','CLSDH','./ai-sdk/aiSdkWrapper','handleSuccess','uaPIa','6YHwlQb','response','name_','DIkwa','local','taJPp','MGidH','css\x20selector','Successfully\x20healed\x20command\x20using\x20new\x20','oCfGt','NxJar','measureWrapper','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','capability','hEKnS','NoSuchElementError','epTlv','TcUsm','YouHQ','qhbvp','getId','NPNti','VtkBo','findElement\x20command\x20failed\x20with\x20cssPath:\x20','format','119XeWTAn','ujysK','../bin/utils/constants','LXJlY','158229CZQjHe','dcjjs','RSsrD','iccFX','65173VFNnTJ','isSelfHealEnabled','nTwgl','Gxazq','iVZut','kgVRe','GESLJ','getSession','xmbyL','POST_EXECUTE','util','silly','setAiSessionTimeStamp','pRyIf','aiHeal_isHealingEnabled','njjDK','pqWEO','UjWsb','bstack:options','tqhPQ','DEcBO','hwUMg','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','DyqFx','3161812jFKAyb',';\x20Trying\x20to\x20heal','name','rtDxk','UlxuI','string','./globals','aiHeal:findElementSuccess','YfxCu','debug','SordM','FUNqQ','QydTt','aiHeal:findElementFailure','skipHealingSuccess','5587195mImCKR','aiHeal_isAuthenticated','XiXkO','value','info','overrideExecute','args','ihSwh','535368VmBxvK','BeTxo','ugNBI','execute','url','wKeiq','GDnis','findElement\x20command\x20failed\x20with\x20','sHupd','xEWhv','fxqGC','body','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','request','JavascriptError','PBByy','dBrcV','handleFailure','executeScript','patchExecute','ANxLd','Zvhqt','LQbNu','4237587iGZEXp','getGlobal','WLzrz','16HTmpNP','error','oMxzQ','rrXux','command'];a122_0x4de9=function(){return _0x20d7f0;};return a122_0x4de9();}const {aiSdkWrapper}=require(a122_0x39528c(0x183)),{commandRepository}=require('./ai-sdk/autoHealHelper'),PerformanceTester=require('./performance/performance-tester'),globals=require(a122_0x39528c(0x139)),{winstonLogger:logger,automationLogger}=require(a122_0x39528c(0x16c)),helper=require('./helper'),constants=require(a122_0x39528c(0x115)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a122_0x39528c(0x16a)),util=require(a122_0x39528c(0x125));exports[a122_0x39528c(0x147)]=(_0x2b87fd,_0x417f83)=>{const _0x3adf10=a122_0x39528c,_0x302c07={'QydTt':'aiSdk_defaultLogDataEnabled','DEcBO':function(_0xb39b93,_0x158728){return _0xb39b93===_0x158728;},'nTwgl':'findElement','RSsrD':_0x3adf10(0x143),'Gxazq':_0x3adf10(0x129),'hwUMg':_0x3adf10(0x13a),'fxqGC':function(_0x3e12ea){return _0x3e12ea();},'FUNqQ':'aiHeal:setToken','dcjjs':_0x3adf10(0x156),'VtkBo':_0x3adf10(0x195),'ugNBI':_0x3adf10(0x158),'epTlv':function(_0x491f7c,_0xaffbf8){return _0x491f7c===_0xaffbf8;},'xEWhv':function(_0x179311,_0x5d56b0){return _0x179311===_0x5d56b0;},'oCfGt':_0x3adf10(0x18d),'GDnis':function(_0x981127,_0x17d06f){return _0x981127+_0x17d06f;},'rtDxk':_0x3adf10(0x111),'ANxLd':_0x3adf10(0x134),'oMxzQ':_0x3adf10(0x151),'dBrcV':_0x3adf10(0x140),'DeeJF':function(_0x2f20f4,_0x179c22){return _0x2f20f4&&_0x179c22;},'xmbyL':_0x3adf10(0x16d),'MGidH':function(_0x562b40,_0x244151){return _0x562b40+_0x244151;},'iVZut':function(_0x4b4b10,_0x43e888){return _0x4b4b10+_0x43e888;},'pRyIf':_0x3adf10(0x18e),'BeTxo':_0x3adf10(0x131),'kgVRe':_0x3adf10(0x172),'iidCr':function(_0x470a09,_0x1b1d61){return _0x470a09===_0x1b1d61;},'VowmB':'get','ujysK':_0x3adf10(0x169),'rPYvO':_0x3adf10(0x14e),'wIrzY':_0x3adf10(0x192),'cujxh':function(_0x4d7a4a,_0x379394){return _0x4d7a4a===_0x379394;},'bdiTJ':'executeAsyncScript','UkNgJ':function(_0x4180de,_0x248911){return _0x4180de===_0x248911;},'NPNti':_0x3adf10(0x15c),'qhbvp':_0x3adf10(0x138),'Luaup':_0x3adf10(0x193),'DIkwa':_0x3adf10(0x177),'aKYeJ':_0x3adf10(0x12d),'YfxCu':_0x3adf10(0x18a)},_0x5d4092=_0x2b87fd[_0x3adf10(0x15d)]||(helper['nestedKeyValue'](_0x417f83,[_0x302c07['Luaup'],_0x302c07[_0x3adf10(0x189)]])||helper[_0x3adf10(0x174)](_0x417f83,[_0x302c07['Luaup'],_0x302c07['aKYeJ'],_0x302c07[_0x3adf10(0x13b)]]));if(!globals['getGlobal'](_0x302c07[_0x3adf10(0x119)])&&!globals[_0x3adf10(0x162)](_0x302c07[_0x3adf10(0x11e)])&&_0x5d4092)return;_0x2b87fd['patchExecute']=!![],_0x2b87fd['initExecute']=_0x2b87fd[_0x3adf10(0x14d)],_0x2b87fd['execute']=async _0x3d3633=>{const _0x575bf2=_0x3adf10,_0xe24680={'rrXux':_0x302c07[_0x575bf2(0x119)],'LXJlY':_0x302c07[_0x575bf2(0x13e)],'taJPp':function(_0x2e7446){const _0x2b795c=_0x575bf2;return _0x302c07[_0x2b795c(0x154)](_0x2e7446);},'TcUsm':_0x302c07[_0x575bf2(0x118)],'CLSDH':function(_0x32f40a,_0x107cef){const _0x4bbe7f=_0x575bf2;return _0x302c07[_0x4bbe7f(0x12f)](_0x32f40a,_0x107cef);},'NxJar':_0x302c07[_0x575bf2(0x110)],'gYIxR':_0x302c07[_0x575bf2(0x14c)],'PBByy':function(_0x3d450e,_0x60f037){const _0x5efe9d=_0x575bf2;return _0x302c07[_0x5efe9d(0x196)](_0x3d450e,_0x60f037);},'WLzrz':_0x302c07[_0x575bf2(0x11d)],'UlxuI':_0x302c07[_0x575bf2(0x11e)],'Zvhqt':function(_0x2e55d5,_0x2bd038){return _0x302c07['xEWhv'](_0x2e55d5,_0x2bd038);},'DyqFx':_0x302c07[_0x575bf2(0x18f)],'iccFX':function(_0x1f66f9,_0x528453){return _0x302c07['GDnis'](_0x1f66f9,_0x528453);},'XiXkO':_0x302c07[_0x575bf2(0x136)],'hemXP':_0x302c07[_0x575bf2(0x15e)],'ihSwh':function(_0x1c2b75,_0x524eee){return _0x302c07['GDnis'](_0x1c2b75,_0x524eee);},'wKeiq':function(_0x3395c8,_0x5bb667){return _0x302c07['GDnis'](_0x3395c8,_0x5bb667);},'sHupd':_0x302c07[_0x575bf2(0x166)],'bVPTw':_0x302c07[_0x575bf2(0x15a)],'pqWEO':function(_0xc6d1c5,_0x3d7e7f){return _0x302c07['DeeJF'](_0xc6d1c5,_0x3d7e7f);},'hEKnS':function(_0x3ed9c4,_0x463535){const _0x30cdef=_0x575bf2;return _0x302c07[_0x30cdef(0x150)](_0x3ed9c4,_0x463535);},'YouHQ':_0x302c07[_0x575bf2(0x123)],'SLkTG':function(_0x11ce8d,_0x50bd29){const _0x3c1f71=_0x575bf2;return _0x302c07[_0x3c1f71(0x18c)](_0x11ce8d,_0x50bd29);},'njjDK':function(_0x2f2343,_0x1a2fbc){return _0x302c07['iVZut'](_0x2f2343,_0x1a2fbc);},'tqhPQ':_0x302c07[_0x575bf2(0x128)],'fxtuT':function(_0x5fea36,_0x342829){const _0xb46cd1=_0x575bf2;return _0x302c07[_0xb46cd1(0x153)](_0x5fea36,_0x342829);},'LQbNu':function(_0x112b1a,_0x439f78){const _0x5b87cd=_0x575bf2;return _0x302c07[_0x5b87cd(0x11f)](_0x112b1a,_0x439f78);},'SordM':_0x302c07[_0x575bf2(0x14b)],'QliAT':function(_0x7d1135,_0x25ae02){const _0x160b8e=_0x575bf2;return _0x302c07[_0x160b8e(0x150)](_0x7d1135,_0x25ae02);},'UjWsb':_0x302c07[_0x575bf2(0x120)],'ktsLX':function(_0xc1874c,_0x5970fd){const _0x59e635=_0x575bf2;return _0x302c07[_0x59e635(0x17a)](_0xc1874c,_0x5970fd);},'GESLJ':_0x302c07['VowmB'],'uaPIa':_0x302c07[_0x575bf2(0x114)],'IpMUA':_0x302c07['rPYvO'],'zCGIS':_0x302c07['wIrzY']};try{const _0x550028={};_0x550028[_0x575bf2(0x168)]=_0x3d3633[_0x575bf2(0x188)],await PerformanceTester[_0x575bf2(0x191)](PerformanceDriverEvents['PRE_EXECUTE'],async()=>{const _0x41ee82=_0x575bf2;if(!commandRepository['getTcgTokenStatus']()&&globals[_0x41ee82(0x162)](_0xe24680[_0x41ee82(0x167)])){const _0x4d4b70=PerformanceTester[_0x41ee82(0x191)](_0xe24680[_0x41ee82(0x116)],async()=>{const _0x16a430=_0x41ee82;try{commandRepository['setTcgTokenStatus'](!![]),await aiSdkWrapper[_0x16a430(0x16f)]((await _0x2b87fd[_0x16a430(0x122)]())[_0x16a430(0x19a)]());const _0x2b3bdd=globals[_0x16a430(0x162)](_0xe24680[_0x16a430(0x167)]);_0x2b3bdd&&commandRepository[_0x16a430(0x127)]((await _0x2b87fd[_0x16a430(0x122)]())['getId']());}catch(_0x2a89ab){logger[_0x16a430(0x165)](_0x16a430(0x180)+_0x2a89ab);}});await _0xe24680[_0x41ee82(0x18b)](_0x4d4b70);}},_0x550028)();const _0xc8bfe9=await _0x2b87fd[_0x575bf2(0x17b)](_0x3d3633);try{if(_0x302c07['cujxh'](_0x3d3633[_0x575bf2(0x188)],_0x302c07['bdiTJ'])||_0x302c07[_0x575bf2(0x170)](_0x3d3633['name_'],_0x302c07[_0x575bf2(0x19b)])){const _0x5d1468=_0x3d3633[_0x575bf2(0x169)]&&_0x3d3633[_0x575bf2(0x169)]['script'],_0x20750f=_0x3d3633[_0x575bf2(0x169)]&&_0x3d3633[_0x575bf2(0x169)][_0x575bf2(0x148)],_0x4e0398=_0x20750f&&util[_0x575bf2(0x112)]('%j',_0x20750f);if(_0x5d1468&&_0x302c07[_0x575bf2(0x170)](typeof _0x5d1468,_0x302c07[_0x575bf2(0x199)])){const _0x32d1f4=constants['AUTOMATION_LOG_COMMANDS']['find'](_0xdc583e=>_0x5d1468['includes'](_0xdc583e)||_0x4e0398&&_0x4e0398['includes'](_0xdc583e));if(_0x32d1f4){const _0x564fbf={};_0x564fbf[_0x575bf2(0x168)]=_0x32d1f4,_0x564fbf['parameters']=_0x20750f;const _0x3f81d6={};_0x3f81d6[_0x575bf2(0x155)]=_0xc8bfe9;const _0x3a0ee8={};_0x3a0ee8[_0x575bf2(0x157)]=_0x564fbf,_0x3a0ee8[_0x575bf2(0x187)]=_0x3f81d6,automationLogger[_0x575bf2(0x126)]('['+new Date()[_0x575bf2(0x176)]()+_0x575bf2(0x178)+util[_0x575bf2(0x112)]('%j',_0x3a0ee8));}}}}catch(_0x2d4815){logger[_0x575bf2(0x126)](_0x575bf2(0x175)+_0x2d4815['message']);}return await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x575bf2(0x124)],async()=>{const _0x59ee61=_0x575bf2;if(!helper[_0x59ee61(0x16b)]()&&(commandRepository[_0x59ee61(0x11c)]()||globals[_0x59ee61(0x162)](_0x302c07[_0x59ee61(0x13f)]))&&_0x302c07[_0x59ee61(0x12f)](_0x3d3633[_0x59ee61(0x188)],_0x302c07[_0x59ee61(0x11d)])&&!_0x3d3633[_0x59ee61(0x141)]&&globals['getGlobal'](_0x302c07[_0x59ee61(0x119)])&&globals[_0x59ee61(0x162)](_0x302c07['Gxazq'])){const _0x3857d3=new Date(),_0x3d5289=PerformanceTester[_0x59ee61(0x191)](_0x302c07[_0x59ee61(0x130)],async()=>{const _0x2406e0=_0x59ee61;return await aiSdkWrapper[_0x2406e0(0x184)](_0x417f83,_0x2b87fd,_0x3d3633);});await _0x302c07[_0x59ee61(0x154)](_0x3d5289);}},{'command':_0x3d3633[_0x575bf2(0x188)]})(),_0xc8bfe9;}catch(_0x235fe4){await PerformanceTester[_0x575bf2(0x191)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x27578d=_0x575bf2;logger[_0x27578d(0x13c)](_0xe24680[_0x27578d(0x197)]);try{if(!helper[_0x27578d(0x16b)]()&&(_0xe24680[_0x27578d(0x182)](_0x235fe4[_0x27578d(0x135)],_0xe24680[_0x27578d(0x190)])||_0xe24680['CLSDH'](_0x235fe4[_0x27578d(0x135)],_0xe24680[_0x27578d(0x17e)]))&&_0xe24680[_0x27578d(0x159)](_0x3d3633[_0x27578d(0x188)],_0xe24680[_0x27578d(0x163)])&&commandRepository[_0x27578d(0x11c)]()&&globals['getGlobal'](_0xe24680[_0x27578d(0x167)])&&globals[_0x27578d(0x162)](_0xe24680[_0x27578d(0x137)])){_0xe24680['Zvhqt'](_0x3d3633[_0x27578d(0x169)][_0x27578d(0x17f)],_0xe24680['DyqFx'])?logger['info'](_0xe24680[_0x27578d(0x11a)](_0xe24680[_0x27578d(0x11a)](_0xe24680[_0x27578d(0x144)],_0x3d3633[_0x27578d(0x169)][_0x27578d(0x145)]),_0xe24680[_0x27578d(0x171)])):logger[_0x27578d(0x146)](_0xe24680[_0x27578d(0x149)](_0xe24680[_0x27578d(0x11a)](_0xe24680[_0x27578d(0x14f)](_0xe24680['ihSwh'](_0xe24680[_0x27578d(0x152)],_0x3d3633['parameters_'][_0x27578d(0x17f)]),':\x20'),_0x3d3633[_0x27578d(0x169)][_0x27578d(0x145)]),_0xe24680[_0x27578d(0x171)]));const _0x46f476=PerformanceTester[_0x27578d(0x191)](_0xe24680[_0x27578d(0x173)],async()=>{const _0x27cca2=_0x27578d;return await aiSdkWrapper[_0x27cca2(0x15b)](_0x417f83,_0x2b87fd,_0x3d3633);}),_0x5301a9=new Date(),{locatorType:_0xc267c4,locatorValue:_0x1727e4,commandHealed:_0x330a50}=await _0xe24680[_0x27578d(0x18b)](_0x46f476);if(_0xe24680[_0x27578d(0x12b)](_0xc267c4,_0x1727e4)){_0x3d3633['parameters_'][_0x27578d(0x17f)]=_0xc267c4,_0x3d3633[_0x27578d(0x169)][_0x27578d(0x145)]=_0x1727e4,_0x3d3633[_0x27578d(0x141)]=!![];const _0x4cb211=_0x2b87fd['execute'](_0x3d3633);return _0xe24680[_0x27578d(0x15f)](_0xc267c4,_0xe24680['DyqFx'])?logger['info'](_0xe24680[_0x27578d(0x194)](_0xe24680[_0x27578d(0x198)],_0x1727e4)):logger[_0x27578d(0x146)](_0xe24680[_0x27578d(0x17d)](_0xe24680[_0x27578d(0x12a)](_0xe24680['hEKnS'](_0xe24680[_0x27578d(0x12e)],_0xc267c4),':\x20'),_0x1727e4)),_0x4cb211;}else!_0x330a50&&(_0xe24680['fxtuT'](_0xc267c4,_0xe24680[_0x27578d(0x132)])?logger[_0x27578d(0x146)](_0xe24680[_0x27578d(0x160)](_0xe24680[_0x27578d(0x13d)],_0x3d3633[_0x27578d(0x169)][_0x27578d(0x145)])):logger[_0x27578d(0x146)](_0xe24680[_0x27578d(0x160)](_0xe24680['QliAT'](_0xe24680[_0x27578d(0x11a)](_0xe24680[_0x27578d(0x12c)],_0x3d3633[_0x27578d(0x169)]['using']),':\x20'),_0x3d3633[_0x27578d(0x169)][_0x27578d(0x145)])));}!_0x5d4092&&_0xe24680['ktsLX'](_0x3d3633['name_'],_0xe24680[_0x27578d(0x121)])&&helper['nestedKeyValue'](_0x3d3633,[_0xe24680[_0x27578d(0x185)],_0xe24680[_0x27578d(0x17c)]])&&!!constants['NUDGE_LOCAL_ERRORS']['find'](_0x39951a=>{const _0x3da6c2=_0x27578d;return _0x235fe4['toString']()[_0x3da6c2(0x16e)](_0x39951a);})&&helper['getNudgeLocalNotSetError'](_0x3d3633[_0x27578d(0x169)]['url'],!![]);}catch(_0x2ccabf){logger[_0x27578d(0x13c)](_0xe24680[_0x27578d(0x179)],_0x2ccabf);}},{'success':![],'failure':_0x235fe4})();throw _0x235fe4;}};};
@@ -1 +1 @@
1
- const a118_0x481117=a118_0x260b;(function(_0x34acfa,_0x304100){const _0xe77b70=a118_0x260b,_0x4252ce=_0x34acfa();while(!![]){try{const _0x3a71ab=-parseInt(_0xe77b70(0x13d))/0x1+-parseInt(_0xe77b70(0x146))/0x2+parseInt(_0xe77b70(0x128))/0x3*(-parseInt(_0xe77b70(0x13b))/0x4)+-parseInt(_0xe77b70(0x137))/0x5+parseInt(_0xe77b70(0x124))/0x6*(parseInt(_0xe77b70(0x129))/0x7)+-parseInt(_0xe77b70(0x12a))/0x8+parseInt(_0xe77b70(0x141))/0x9;if(_0x3a71ab===_0x304100)break;else _0x4252ce['push'](_0x4252ce['shift']());}catch(_0x3a7921){_0x4252ce['push'](_0x4252ce['shift']());}}}(a118_0x1c15,0xd3900));function a118_0x260b(_0x1755ee,_0x2de1e4){const _0x1c1536=a118_0x1c15();return a118_0x260b=function(_0x260b08,_0x11e3d8){_0x260b08=_0x260b08-0x11f;let _0x4ed0a7=_0x1c1536[_0x260b08];return _0x4ed0a7;},a118_0x260b(_0x1755ee,_0x2de1e4);}const PerformanceTester=require(a118_0x481117(0x12b)),O11yEvents=require(a118_0x481117(0x12e))['O11y_EVENTS'];exports[a118_0x481117(0x12f)]=_0x1e8ea9=>{const _0x385b43=a118_0x481117,_0x446ec8={'tBMJk':_0x385b43(0x135),'NJtxn':function(_0x44133a,_0x3c42e8){return _0x44133a(_0x3c42e8);},'MViiM':function(_0x27569b,_0x25be2c){return _0x27569b!==_0x25be2c;},'vXpZq':_0x385b43(0x140)};if(_0x446ec8[_0x385b43(0x121)](process[_0x385b43(0x136)][_0x385b43(0x138)],_0x446ec8[_0x385b43(0x126)]))return;if(_0x1e8ea9[_0x385b43(0x145)])return;_0x1e8ea9[_0x385b43(0x145)]=!![],_0x1e8ea9[_0x385b43(0x147)]=_0x1e8ea9[_0x385b43(0x127)],_0x1e8ea9[_0x385b43(0x127)]=()=>{const _0x40f605={'FbeMF':_0x446ec8['tBMJk'],'Hpgoz':function(_0x1d4b44,_0x87009d){const _0x3c3518=a118_0x260b;return _0x446ec8[_0x3c3518(0x133)](_0x1d4b44,_0x87009d);}};return new Promise(function(_0x956fcb,_0x3ce987){const _0x59cb92=a118_0x260b,_0x5da72={'ulnZI':function(_0x356dd0,_0x361a70){const _0x1bc433=a118_0x260b;return _0x40f605[_0x1bc433(0x123)](_0x356dd0,_0x361a70);}};_0x1e8ea9['initScreenshot']()[_0x59cb92(0x142)](_0x5b5373=>{const _0xc7fbf8=_0x59cb92;PerformanceTester[_0xc7fbf8(0x13c)](O11yEvents[_0xc7fbf8(0x120)]),process['emit'](_0xc7fbf8(0x132)+process[_0xc7fbf8(0x13e)],{'timestamp':new Date()['toISOString'](),'message':_0x5b5373,'kind':_0x40f605[_0xc7fbf8(0x139)]}),_0x40f605[_0xc7fbf8(0x123)](_0x956fcb,_0x5b5373),PerformanceTester[_0xc7fbf8(0x12c)](O11yEvents[_0xc7fbf8(0x120)]);})[_0x59cb92(0x11f)](_0x117a93=>{const _0x460131=_0x59cb92;PerformanceTester['end'](O11yEvents[_0x460131(0x120)]),_0x5da72[_0x460131(0x134)](_0x3ce987,_0x117a93);});});};},exports[a118_0x481117(0x131)]=(_0x15915f,_0x6614a6=null)=>{const _0x3336cb=a118_0x481117,_0x51ef74={'jntoM':function(_0x2eb6ce){return _0x2eb6ce();},'YXrAA':function(_0xce7bd,_0x2e5c15){return _0xce7bd>_0x2e5c15;},'jXMbQ':function(_0x2b8541,_0x51bc40){return _0x2b8541>_0x51bc40;}};if(_0x15915f[_0x3336cb(0x144)])return;_0x15915f[_0x3336cb(0x144)]=!![],_0x15915f['initQuit']=_0x15915f[_0x3336cb(0x130)],_0x15915f[_0x3336cb(0x130)]=()=>{const _0x48a73a=_0x3336cb,_0x787a4e={'jswoJ':function(_0x7a8cf4){const _0x97de73=a118_0x260b;return _0x51ef74[_0x97de73(0x13f)](_0x7a8cf4);}};if(_0x6614a6){_0x6614a6[_0x48a73a(0x143)]+=0x1;if(_0x51ef74[_0x48a73a(0x12d)](_0x6614a6[_0x48a73a(0x143)],0x1))return _0x15915f[_0x48a73a(0x122)]();}else{_0x15915f[_0x48a73a(0x143)]+=0x1;if(_0x51ef74[_0x48a73a(0x13a)](_0x15915f['quitCount_'],0x1))return _0x15915f['initQuit']();}return new Promise(function(_0x31791e){const _0x4b5909=_0x48a73a;_0x787a4e[_0x4b5909(0x125)](_0x31791e);});};};function a118_0x1c15(){const _0x15497b=['overrideQuit','bs:addLog:','NJtxn','ulnZI','TEST_SCREENSHOT','env','5397365nTJWXC','BS_TESTOPS_ALLOW_SCREENSHOTS','FbeMF','jXMbQ','1019684LJIbYw','start','1670489hZaxDk','pid','jntoM','true','40230450gSaXNI','then','quitCount_','patchQuit','patchScreenshot','1406102ZtqMNM','initScreenshot','catch','TAKE_SCREENSHOT','MViiM','initQuit','Hpgoz','6aynduM','jswoJ','vXpZq','takeScreenshot','3mUENqm','4477389JTgkOH','4281464RsGuhx','./performance/performance-tester','end','YXrAA','./performance/constants','overrideTakeScreenshot','quit'];a118_0x1c15=function(){return _0x15497b;};return a118_0x1c15();}
1
+ function a123_0x133d(){const _0x14c8ef=['patchScreenshot','bs:addLog:','overrideQuit','1111rbbqhI','BS_TESTOPS_ALLOW_SCREENSHOTS','JLlJy','toISOString','start','30XlSNGv','3747VROWvD','8QCkFqg','patchQuit','AEjiN','./performance/performance-tester','emit','O11y_EVENTS','./performance/constants','quit','5389452Ovwseq','initQuit','quitCount_','YXnbN','true','takeScreenshot','hNelc','overrideTakeScreenshot','45470Erzmaq','lDAYh','qTnWH','env','2644258agtQEK','TAKE_SCREENSHOT','end','catch','1YrYKCa','820LbuypH','15967953NJoDJR','pid','623190LMONKB','IYDLW','2867543cgRVgL','initScreenshot'];a123_0x133d=function(){return _0x14c8ef;};return a123_0x133d();}const a123_0x5379e0=a123_0x5659;function a123_0x5659(_0x146f77,_0x465f3f){const _0x133da0=a123_0x133d();return a123_0x5659=function(_0x565980,_0x4a5c15){_0x565980=_0x565980-0x161;let _0x5b849e=_0x133da0[_0x565980];return _0x5b849e;},a123_0x5659(_0x146f77,_0x465f3f);}(function(_0x3b8917,_0x2542ff){const _0x5072b7=a123_0x5659,_0x410366=_0x3b8917();while(!![]){try{const _0x43bb95=parseInt(_0x5072b7(0x16d))/0x1*(-parseInt(_0x5072b7(0x169))/0x2)+parseInt(_0x5072b7(0x17e))/0x3*(parseInt(_0x5072b7(0x16e))/0x4)+parseInt(_0x5072b7(0x171))/0x5*(parseInt(_0x5072b7(0x17d))/0x6)+-parseInt(_0x5072b7(0x173))/0x7+-parseInt(_0x5072b7(0x17f))/0x8*(-parseInt(_0x5072b7(0x16f))/0x9)+parseInt(_0x5072b7(0x165))/0xa*(-parseInt(_0x5072b7(0x178))/0xb)+parseInt(_0x5072b7(0x187))/0xc;if(_0x43bb95===_0x2542ff)break;else _0x410366['push'](_0x410366['shift']());}catch(_0x920292){_0x410366['push'](_0x410366['shift']());}}}(a123_0x133d,0xde8bc));const PerformanceTester=require(a123_0x5379e0(0x182)),O11yEvents=require(a123_0x5379e0(0x185))[a123_0x5379e0(0x184)];exports[a123_0x5379e0(0x164)]=_0x1edf8f=>{const _0x12c23b=a123_0x5379e0,_0x156c73={'YXnbN':'TEST_SCREENSHOT','hNelc':function(_0x39694d,_0x352768){return _0x39694d(_0x352768);},'IYDLW':function(_0x8dc53e,_0x13112b){return _0x8dc53e(_0x13112b);},'UlwCq':function(_0xe7639a,_0x12dc40){return _0xe7639a!==_0x12dc40;},'AEjiN':_0x12c23b(0x161)};if(_0x156c73['UlwCq'](process[_0x12c23b(0x168)][_0x12c23b(0x179)],_0x156c73[_0x12c23b(0x181)]))return;if(_0x1edf8f[_0x12c23b(0x175)])return;_0x1edf8f[_0x12c23b(0x175)]=!![],_0x1edf8f[_0x12c23b(0x174)]=_0x1edf8f['takeScreenshot'],_0x1edf8f[_0x12c23b(0x162)]=()=>{const _0x2e035c=_0x12c23b,_0x62873d={'NyooV':_0x156c73[_0x2e035c(0x18a)],'pfJsf':function(_0x2e66b6,_0x273c2d){const _0x31dce6=_0x2e035c;return _0x156c73[_0x31dce6(0x163)](_0x2e66b6,_0x273c2d);},'JLlJy':function(_0x45c31f,_0x3f0db8){const _0x1a3a8d=_0x2e035c;return _0x156c73[_0x1a3a8d(0x172)](_0x45c31f,_0x3f0db8);}};return new Promise(function(_0x315be9,_0x4bbd23){const _0x1e5ed6=_0x2e035c,_0x40948b={'FAtzy':function(_0x28a0db,_0x5bdd10){const _0x60cddf=a123_0x5659;return _0x62873d[_0x60cddf(0x17a)](_0x28a0db,_0x5bdd10);}};_0x1edf8f[_0x1e5ed6(0x174)]()['then'](_0x20ad6d=>{const _0x4cd53d=_0x1e5ed6;PerformanceTester[_0x4cd53d(0x17c)](O11yEvents[_0x4cd53d(0x16a)]),process[_0x4cd53d(0x183)](_0x4cd53d(0x176)+process[_0x4cd53d(0x170)],{'timestamp':new Date()[_0x4cd53d(0x17b)](),'message':_0x20ad6d,'kind':_0x62873d['NyooV']}),_0x62873d['pfJsf'](_0x315be9,_0x20ad6d),PerformanceTester[_0x4cd53d(0x16b)](O11yEvents['TAKE_SCREENSHOT']);})[_0x1e5ed6(0x16c)](_0x164946=>{const _0x18b53c=_0x1e5ed6;PerformanceTester['end'](O11yEvents[_0x18b53c(0x16a)]),_0x40948b['FAtzy'](_0x4bbd23,_0x164946);});});};},exports[a123_0x5379e0(0x177)]=(_0x11cfa7,_0x402fcf=null)=>{const _0x23bd46=a123_0x5379e0,_0x18180d={'YMeJx':function(_0x52cb66){return _0x52cb66();},'lDAYh':function(_0x1b658c,_0x3eba06){return _0x1b658c>_0x3eba06;},'qTnWH':function(_0x1fcfcd,_0x41e00e){return _0x1fcfcd>_0x41e00e;}};if(_0x11cfa7[_0x23bd46(0x180)])return;_0x11cfa7[_0x23bd46(0x180)]=!![],_0x11cfa7['initQuit']=_0x11cfa7[_0x23bd46(0x186)],_0x11cfa7[_0x23bd46(0x186)]=()=>{const _0x10cf19=_0x23bd46;if(_0x402fcf){_0x402fcf[_0x10cf19(0x189)]+=0x1;if(_0x18180d[_0x10cf19(0x166)](_0x402fcf[_0x10cf19(0x189)],0x1))return _0x11cfa7[_0x10cf19(0x188)]();}else{_0x11cfa7['quitCount_']+=0x1;if(_0x18180d[_0x10cf19(0x167)](_0x11cfa7[_0x10cf19(0x189)],0x1))return _0x11cfa7[_0x10cf19(0x188)]();}return new Promise(function(_0x29a8ac){_0x18180d['YMeJx'](_0x29a8ac);});};};
@@ -1 +1 @@
1
- const a119_0x1be597=a119_0x22ca;(function(_0x58d791,_0x169e9f){const _0x26ec75=a119_0x22ca,_0x4f85a1=_0x58d791();while(!![]){try{const _0x7d6459=parseInt(_0x26ec75(0x186))/0x1*(-parseInt(_0x26ec75(0x1a9))/0x2)+parseInt(_0x26ec75(0x1c3))/0x3*(-parseInt(_0x26ec75(0x18d))/0x4)+-parseInt(_0x26ec75(0x17f))/0x5*(parseInt(_0x26ec75(0x1ab))/0x6)+parseInt(_0x26ec75(0x190))/0x7+parseInt(_0x26ec75(0x1cb))/0x8*(-parseInt(_0x26ec75(0x1cd))/0x9)+parseInt(_0x26ec75(0x184))/0xa+parseInt(_0x26ec75(0x1ca))/0xb*(parseInt(_0x26ec75(0x1c1))/0xc);if(_0x7d6459===_0x169e9f)break;else _0x4f85a1['push'](_0x4f85a1['shift']());}catch(_0x2c5571){_0x4f85a1['push'](_0x4f85a1['shift']());}}}(a119_0x53e2,0x28905));function a119_0x22ca(_0x2ebcf9,_0x224011){const _0x53e2e2=a119_0x53e2();return a119_0x22ca=function(_0x22cae4,_0x141f3a){_0x22cae4=_0x22cae4-0x179;let _0x1ee7ef=_0x53e2e2[_0x22cae4];return _0x1ee7ef;},a119_0x22ca(_0x2ebcf9,_0x224011);}const fs=require('fs'),path=require(a119_0x1be597(0x191)),os=require('os'),{spawn}=require(a119_0x1be597(0x181)),helper=require(a119_0x1be597(0x18a)),logger=require(a119_0x1be597(0x19e))[a119_0x1be597(0x1b0)],{getLogDir}=require(a119_0x1be597(0x19e)),testHubConstants=require(a119_0x1be597(0x17d)),PerformanceTester=require(a119_0x1be597(0x1bb)),{PERCY_EVENTS:PerformanceEvents}=require(a119_0x1be597(0x182)),PercyBinary=require(a119_0x1be597(0x1ae));class Percy{#logfile=path[a119_0x1be597(0x1a2)](getLogDir(),a119_0x1be597(0x19a));#address=process[a119_0x1be597(0x1c5)]['PERCY_SERVER_ADDRESS']||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a119_0x1be597(0x1b2)]=![];constructor(_0x12f1b0){const _0x5a6bea=a119_0x1be597;this.#config=_0x12f1b0,!!_0x12f1b0[_0x5a6bea(0x1aa)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x4f5c4b=a119_0x1be597;if(!this.#binaryPath){const _0x443c94=new PercyBinary();PerformanceTester[_0x4f5c4b(0x1c6)](PerformanceEvents[_0x4f5c4b(0x1b9)]),this.#binaryPath=await _0x443c94[_0x4f5c4b(0x1a4)](this.#config),PerformanceTester[_0x4f5c4b(0x1ac)](PerformanceEvents[_0x4f5c4b(0x1b9)]);}return this.#binaryPath;}async #sleep(_0x20e963){return new Promise(_0x5e3da8=>setTimeout(_0x5e3da8,_0x20e963));}async[a119_0x1be597(0x1b7)](){const _0x4177b2=a119_0x1be597,_0x15a3e0={};_0x15a3e0[_0x4177b2(0x1c0)]='GET',_0x15a3e0['eICGF']='percy/healthcheck';const _0x5537e9=_0x15a3e0;try{const _0x8266a2=await helper[_0x4177b2(0x1a3)](_0x5537e9[_0x4177b2(0x1c0)],_0x5537e9[_0x4177b2(0x187)],null,null,this.#address);if(_0x8266a2)return!![];}catch(_0xfeca9a){return![];}}async['start'](){const _0x924bc4=a119_0x1be597,_0x466c02={'obbPm':_0x924bc4(0x1be),'wRnRJ':_0x924bc4(0x1c7),'aRwiB':function(_0x5310fe,_0xbb4541,_0x10725e,_0x59996f){return _0x5310fe(_0xbb4541,_0x10725e,_0x59996f);},'ImTAX':_0x924bc4(0x1c8),'HHIpr':_0x924bc4(0x1bd)},_0x59f51d=await this.#getBinaryPath(),_0x24342f={};_0x24342f[_0x924bc4(0x188)]='a',this.#logStream=fs[_0x924bc4(0x17b)](this.#logfile,_0x24342f);const _0xeb5523=await this['fetchPercyToken'](),_0x80700=await this[_0x924bc4(0x1b6)]();if(!_0xeb5523)return![];const _0x2ef04d=[(this.#isApp?_0x466c02[_0x924bc4(0x1ba)]:_0x466c02[_0x924bc4(0x199)])+_0x924bc4(0x17e)];_0x80700&&_0x2ef04d[_0x924bc4(0x1af)]('-c',_0x80700);this.#proc=_0x466c02[_0x924bc4(0x19d)](spawn,_0x59f51d,_0x2ef04d,{'env':Object[_0x924bc4(0x19b)](process[_0x924bc4(0x1c5)],{'PERCY_TOKEN':_0xeb5523,'TH_BUILD_UUID':process['env'][testHubConstants[_0x924bc4(0x1a5)][_0x924bc4(0x1c4)]]})}),this.#proc[_0x924bc4(0x18b)][_0x924bc4(0x1a7)](this.#logStream),this.#proc[_0x924bc4(0x192)][_0x924bc4(0x1a7)](this.#logStream),this[_0x924bc4(0x1b2)]=!![];var _0x429fec=this;this.#proc['on'](_0x466c02['ImTAX'],function(_0xfc3ae7){_0x429fec['isProcessRunning']=![];});do{const _0x59424f=await this[_0x924bc4(0x1b7)]();if(_0x59424f)return logger[_0x924bc4(0x1a0)](_0x466c02['HHIpr']),!![];await this.#sleep(0x3e8);}while(this[_0x924bc4(0x1b2)]);return![];}async[a119_0x1be597(0x1bc)](){const _0xb938f2=a119_0x1be597,_0x2d6c94={'OOsyy':function(_0x539cb3,_0xdd589c){return _0x539cb3(_0xdd589c);},'WYgHj':function(_0x5990b6,_0x36fadf,_0x5d629b){return _0x5990b6(_0x36fadf,_0x5d629b);},'vQmei':_0xb938f2(0x185),'fQkAe':_0xb938f2(0x1c8)},_0x189dd6=await this.#getBinaryPath();return new Promise((_0x1f8a86,_0x39271c)=>{const _0x41e32e=_0xb938f2,_0x38ae90={'dzWkL':function(_0x35c1dd,_0xc801af){const _0x46c1f3=a119_0x22ca;return _0x2d6c94[_0x46c1f3(0x17c)](_0x35c1dd,_0xc801af);}},_0x395d3f=_0x2d6c94[_0x41e32e(0x1bf)](spawn,_0x189dd6,[_0x2d6c94['vQmei']]);_0x395d3f['on'](_0x2d6c94[_0x41e32e(0x194)],_0x1e426d=>{const _0x1db96b=_0x41e32e;this[_0x1db96b(0x1b2)]=![],this.#logStream&&(this.#logStream[_0x1db96b(0x1ac)](),this.#logStream=null),_0x38ae90[_0x1db96b(0x18c)](_0x1f8a86,_0x1e426d);});});}[a119_0x1be597(0x193)](){const _0xbc0be9=a119_0x1be597;return this[_0xbc0be9(0x1b2)];}async[a119_0x1be597(0x17a)](){const _0x6e653e=a119_0x1be597,_0x7e01fb={};_0x7e01fb[_0x6e653e(0x1c9)]='app',_0x7e01fb[_0x6e653e(0x1b4)]='automate',_0x7e01fb[_0x6e653e(0x1ad)]=_0x6e653e(0x1a6),_0x7e01fb['ssFPx']=_0x6e653e(0x180);const _0x9f76fd=_0x7e01fb,_0x2536da=this.#config[_0x6e653e(0x1c2)];try{const _0x129e9e=this.#isApp?_0x9f76fd[_0x6e653e(0x1c9)]:_0x9f76fd[_0x6e653e(0x1b4)],_0x55ad00=await helper[_0x6e653e(0x1a3)](_0x9f76fd[_0x6e653e(0x1ad)],_0x6e653e(0x1b3)+_0x2536da+_0x6e653e(0x197)+_0x129e9e,{},this.#config),_0x2c8a8a=_0x55ad00['data'];return logger[_0x6e653e(0x1a0)](_0x9f76fd[_0x6e653e(0x1a1)]),_0x2c8a8a[_0x6e653e(0x189)];}catch(_0x1d9629){return logger[_0x6e653e(0x1a8)](_0x6e653e(0x18e)+_0x1d9629),null;}}async[a119_0x1be597(0x1b6)](){const _0x3df09f=a119_0x1be597,_0xfc3581={'fEwBo':function(_0x388c39,_0x1b51a1){return _0x388c39(_0x1b51a1);},'IzzOO':function(_0x1fe256,_0x99c6f2){return _0x1fe256+_0x99c6f2;},'kqlIs':_0x3df09f(0x19f),'WKhcU':function(_0x1ba2a7,_0x5d7122){return _0x1ba2a7(_0x5d7122);},'owuZa':_0x3df09f(0x196)};if(!this.#config[_0x3df09f(0x183)])return null;const _0x10f2ab=path[_0x3df09f(0x1a2)](os[_0x3df09f(0x198)](),_0xfc3581['owuZa']),_0x506ccc=this.#config['percyOptions'];return!_0x506ccc[_0x3df09f(0x1b1)]&&(_0x506ccc[_0x3df09f(0x1b1)]='2'),new Promise((_0x4ab6a6,_0x456540)=>{const _0xb4db7e=_0x3df09f;fs[_0xb4db7e(0x1b5)](_0x10f2ab,JSON[_0xb4db7e(0x1b8)](_0x506ccc),_0x142ef2=>{const _0x3b6f58=_0xb4db7e;_0x142ef2&&(logger[_0x3b6f58(0x1a8)](_0x3b6f58(0x19c)+_0x142ef2),_0xfc3581[_0x3b6f58(0x195)](_0x4ab6a6,null)),logger[_0x3b6f58(0x1a0)](_0xfc3581['IzzOO'](_0xfc3581[_0x3b6f58(0x18f)],_0x10f2ab)),_0xfc3581[_0x3b6f58(0x1cc)](_0x4ab6a6,_0x10f2ab);});});}}function a119_0x53e2(){const _0x15db52=['WKhcU','769779XRlEca','exports','fetchPercyToken','createWriteStream','OOsyy','../../helpers/testhub/constants',':start','31145nxuPCh','Percy\x20fetch\x20token\x20success','child_process','../../helpers/performance/constants','percyOptions','1549160xlumsZ','exec:stop','37kavnhj','eICGF','flags','token','../helper','stdout','dzWkL','64ZZhPFL','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','kqlIs','1654989foFjRO','path','stderr','isRunning','fQkAe','fEwBo','percy.json','&type=','tmpdir','wRnRJ','percy.log','assign','Error\x20creating\x20percy\x20config:\x20','aRwiB','../logger','Percy\x20config\x20created\x20at\x20','debug','ssFPx','join','nodeRequest','getBinaryPath','ENV_VAR','GET','pipe','error','2400stbcmF','app','300elFNPV','end','NsClR','./PercyBinary','push','winstonLogger','version','isProcessRunning','api/app_percy/get_project_token?name=','ttzCk','writeFile','createPercyConfig','healthcheck','stringify','DOWNLOAD','obbPm','../../helpers/performance/performance-tester','stop','Percy\x20healthcheck\x20successful','app:exec','WYgHj','IkGvv','12MVhEDC','projectName','12162qXWowW','BROWSERSTACK_TESTHUB_UUID','env','start','exec','close','kpHkh','4973243gFajzk','24tZAWRK'];a119_0x53e2=function(){return _0x15db52;};return a119_0x53e2();}module[a119_0x1be597(0x179)]=Percy;
1
+ const a124_0x275fde=a124_0xb693;function a124_0xb693(_0x24397d,_0x26cde6){const _0x3eac0d=a124_0x3eac();return a124_0xb693=function(_0xb693a4,_0x1760a4){_0xb693a4=_0xb693a4-0x130;let _0x39b97a=_0x3eac0d[_0xb693a4];return _0x39b97a;},a124_0xb693(_0x24397d,_0x26cde6);}function a124_0x3eac(){const _0x9b5cfc=['LAKDe','1079449xFyiEq','GET','1303720jBPoUO','exports','115315BPedgU','1232274pyaRFQ','tmpdir','3SgnxtA','exec:stop','hVXrC','PERCY_SERVER_ADDRESS','../helper','GZFWW','1324032yVulzj','iilMC','percyOptions','itxHe','fpDKW','../../helpers/testhub/constants',':start','healthcheck','nodeRequest','close','join','sQLKG','RarYI','../logger','error','../../helpers/performance/performance-tester','349172mdWuuO','pipe','version','eFrpb','Percy\x20fetch\x20token\x20success','stdout','percy/healthcheck','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','ccHTM','32396ADJBNU','WdsAe','gJNfn','app','winstonLogger','createPercyConfig','getBinaryPath','isProcessRunning','writeFile','debug','./PercyBinary','wXqXe','ENV_VAR','createWriteStream','env','bUwoS','36gQfyqj','percy.log','BAPaE','flags','isRunning','UKVWv','DOWNLOAD','stop','Percy\x20healthcheck\x20successful','jqpCl','nWULw','child_process','automate','jeTUn','data','start','Percy\x20config\x20created\x20at\x20','assign','fetchPercyToken'];a124_0x3eac=function(){return _0x9b5cfc;};return a124_0x3eac();}(function(_0x259e72,_0x1f5552){const _0x47b933=a124_0xb693,_0x2a6f0f=_0x259e72();while(!![]){try{const _0x5c6478=-parseInt(_0x47b933(0x156))/0x1+-parseInt(_0x47b933(0x178))/0x2+-parseInt(_0x47b933(0x159))/0x3*(parseInt(_0x47b933(0x16f))/0x4)+-parseInt(_0x47b933(0x154))/0x5+parseInt(_0x47b933(0x157))/0x6+-parseInt(_0x47b933(0x152))/0x7+-parseInt(_0x47b933(0x15f))/0x8*(-parseInt(_0x47b933(0x13e))/0x9);if(_0x5c6478===_0x1f5552)break;else _0x2a6f0f['push'](_0x2a6f0f['shift']());}catch(_0x89d5ec){_0x2a6f0f['push'](_0x2a6f0f['shift']());}}}(a124_0x3eac,0x390a6));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a124_0x275fde(0x149)),helper=require(a124_0x275fde(0x15d)),logger=require(a124_0x275fde(0x16c))[a124_0x275fde(0x132)],{getLogDir}=require(a124_0x275fde(0x16c)),testHubConstants=require(a124_0x275fde(0x164)),PerformanceTester=require(a124_0x275fde(0x16e)),{PERCY_EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),PercyBinary=require(a124_0x275fde(0x138));class Percy{#logfile=path['join'](getLogDir(),a124_0x275fde(0x13f));#address=process[a124_0x275fde(0x13c)][a124_0x275fde(0x15c)]||'http://localhost:5338';#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a124_0x275fde(0x135)]=![];constructor(_0x3843c5){this.#config=_0x3843c5,!!_0x3843c5['app']&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x5a410=a124_0x275fde;if(!this.#binaryPath){const _0x2f3c7a=new PercyBinary();PerformanceTester[_0x5a410(0x14d)](PerformanceEvents[_0x5a410(0x144)]),this.#binaryPath=await _0x2f3c7a[_0x5a410(0x134)](this.#config),PerformanceTester['end'](PerformanceEvents[_0x5a410(0x144)]);}return this.#binaryPath;}async #sleep(_0x4cc5d){return new Promise(_0x239cdf=>setTimeout(_0x239cdf,_0x4cc5d));}async[a124_0x275fde(0x166)](){const _0x192000=a124_0x275fde,_0x4c5d87={};_0x4c5d87[_0x192000(0x143)]=_0x192000(0x153),_0x4c5d87['BAPaE']=_0x192000(0x175);const _0x23d27c=_0x4c5d87;try{const _0x1287f8=await helper['nodeRequest'](_0x23d27c['UKVWv'],_0x23d27c[_0x192000(0x140)],null,null,this.#address);if(_0x1287f8)return!![];}catch(_0x37416e){return![];}}async[a124_0x275fde(0x14d)](){const _0x5ea823=a124_0x275fde,_0xd67f45={'nWULw':'app:exec','itxHe':'exec','FsuLm':function(_0x1b2f99,_0x2e8968,_0x3af696,_0xc2446c){return _0x1b2f99(_0x2e8968,_0x3af696,_0xc2446c);},'jqpCl':_0x5ea823(0x168),'RarYI':_0x5ea823(0x146)},_0x30aa8e=await this.#getBinaryPath(),_0x35dd72={};_0x35dd72[_0x5ea823(0x141)]='a',this.#logStream=fs[_0x5ea823(0x13b)](this.#logfile,_0x35dd72);const _0x32f17b=await this['fetchPercyToken'](),_0x14c8d9=await this[_0x5ea823(0x133)]();if(!_0x32f17b)return![];const _0x215107=[(this.#isApp?_0xd67f45[_0x5ea823(0x148)]:_0xd67f45[_0x5ea823(0x162)])+_0x5ea823(0x165)];_0x14c8d9&&_0x215107['push']('-c',_0x14c8d9);this.#proc=_0xd67f45['FsuLm'](spawn,_0x30aa8e,_0x215107,{'env':Object[_0x5ea823(0x14f)](process[_0x5ea823(0x13c)],{'PERCY_TOKEN':_0x32f17b,'TH_BUILD_UUID':process[_0x5ea823(0x13c)][testHubConstants[_0x5ea823(0x13a)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x5ea823(0x174)][_0x5ea823(0x170)](this.#logStream),this.#proc['stderr'][_0x5ea823(0x170)](this.#logStream),this[_0x5ea823(0x135)]=!![];var _0x5aaa70=this;this.#proc['on'](_0xd67f45[_0x5ea823(0x147)],function(_0x1d0280){_0x5aaa70['isProcessRunning']=![];});do{const _0x19d5e5=await this[_0x5ea823(0x166)]();if(_0x19d5e5)return logger[_0x5ea823(0x137)](_0xd67f45[_0x5ea823(0x16b)]),!![];await this.#sleep(0x3e8);}while(this[_0x5ea823(0x135)]);return![];}async[a124_0x275fde(0x145)](){const _0x4c08f4=a124_0x275fde,_0x10ea6b={'NIWOs':function(_0x54c33d,_0x510ca8){return _0x54c33d(_0x510ca8);},'GZFWW':function(_0x1ef140,_0x43d05c,_0x2dbe64){return _0x1ef140(_0x43d05c,_0x2dbe64);},'wXqXe':_0x4c08f4(0x15a),'YTiuh':_0x4c08f4(0x168)},_0x567397=await this.#getBinaryPath();return new Promise((_0x128f26,_0x310726)=>{const _0x4af8fc=_0x4c08f4,_0x3e7b3e=_0x10ea6b[_0x4af8fc(0x15e)](spawn,_0x567397,[_0x10ea6b[_0x4af8fc(0x139)]]);_0x3e7b3e['on'](_0x10ea6b['YTiuh'],_0x5da446=>{const _0x26ed1b=_0x4af8fc;this[_0x26ed1b(0x135)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x10ea6b['NIWOs'](_0x128f26,_0x5da446);});});}[a124_0x275fde(0x142)](){const _0xd95ac4=a124_0x275fde;return this[_0xd95ac4(0x135)];}async[a124_0x275fde(0x150)](){const _0x899bdc=a124_0x275fde,_0x49c063={};_0x49c063[_0x899bdc(0x14b)]=_0x899bdc(0x131),_0x49c063[_0x899bdc(0x177)]=_0x899bdc(0x14a),_0x49c063[_0x899bdc(0x172)]=_0x899bdc(0x153),_0x49c063[_0x899bdc(0x163)]=_0x899bdc(0x173);const _0x152fb6=_0x49c063,_0x114534=this.#config['projectName'];try{const _0x5189ac=this.#isApp?_0x152fb6[_0x899bdc(0x14b)]:_0x152fb6[_0x899bdc(0x177)],_0x29ffac=await helper[_0x899bdc(0x167)](_0x152fb6[_0x899bdc(0x172)],'api/app_percy/get_project_token?name='+_0x114534+'&type='+_0x5189ac,{},this.#config),_0x44a3e9=_0x29ffac[_0x899bdc(0x14c)];return logger[_0x899bdc(0x137)](_0x152fb6[_0x899bdc(0x163)]),_0x44a3e9['token'];}catch(_0x3a533f){return logger[_0x899bdc(0x16d)](_0x899bdc(0x176)+_0x3a533f),null;}}async[a124_0x275fde(0x133)](){const _0x1bceaf=a124_0x275fde,_0x5f5af7={'bUwoS':function(_0x1f70a9,_0x560f45){return _0x1f70a9(_0x560f45);},'iilMC':function(_0x99bbaa,_0x489a97){return _0x99bbaa+_0x489a97;},'gJNfn':_0x1bceaf(0x14e),'hVXrC':'percy.json'};if(!this.#config[_0x1bceaf(0x161)])return null;const _0x552dec=path[_0x1bceaf(0x169)](os[_0x1bceaf(0x158)](),_0x5f5af7[_0x1bceaf(0x15b)]),_0x4817db=this.#config[_0x1bceaf(0x161)];return!_0x4817db['version']&&(_0x4817db[_0x1bceaf(0x171)]='2'),new Promise((_0x56ff6f,_0x1a4624)=>{const _0x1374d7=_0x1bceaf,_0x3f5af0={'WdsAe':function(_0x3fc542,_0x3df906){const _0x5dae79=a124_0xb693;return _0x5f5af7[_0x5dae79(0x13d)](_0x3fc542,_0x3df906);},'LAKDe':function(_0x5aef08,_0x916a7c){const _0x325da9=a124_0xb693;return _0x5f5af7[_0x325da9(0x160)](_0x5aef08,_0x916a7c);},'sQLKG':_0x5f5af7[_0x1374d7(0x130)]};fs[_0x1374d7(0x136)](_0x552dec,JSON['stringify'](_0x4817db),_0x23a77e=>{const _0x29382=_0x1374d7;_0x23a77e&&(logger[_0x29382(0x16d)]('Error\x20creating\x20percy\x20config:\x20'+_0x23a77e),_0x3f5af0[_0x29382(0x179)](_0x56ff6f,null)),logger['debug'](_0x3f5af0[_0x29382(0x151)](_0x3f5af0[_0x29382(0x16a)],_0x552dec)),_0x3f5af0[_0x29382(0x179)](_0x56ff6f,_0x552dec);});});}}module[a124_0x275fde(0x155)]=Percy;
@@ -1 +1 @@
1
- const a120_0x360251=a120_0x34e4;function a120_0x34e4(_0x57ae0d,_0x5221ee){const _0x54e48a=a120_0x54e4();return a120_0x34e4=function(_0x34e45b,_0x21b5c0){_0x34e45b=_0x34e45b-0x1bb;let _0x1f3904=_0x54e48a[_0x34e45b];return _0x1f3904;},a120_0x34e4(_0x57ae0d,_0x5221ee);}(function(_0x42bba2,_0x50ae9e){const _0xbc2ecc=a120_0x34e4,_0x4a7939=_0x42bba2();while(!![]){try{const _0x83e8fe=-parseInt(_0xbc2ecc(0x1be))/0x1*(-parseInt(_0xbc2ecc(0x200))/0x2)+-parseInt(_0xbc2ecc(0x238))/0x3*(-parseInt(_0xbc2ecc(0x221))/0x4)+parseInt(_0xbc2ecc(0x236))/0x5+parseInt(_0xbc2ecc(0x1c7))/0x6*(-parseInt(_0xbc2ecc(0x1f8))/0x7)+-parseInt(_0xbc2ecc(0x1d4))/0x8*(-parseInt(_0xbc2ecc(0x24f))/0x9)+parseInt(_0xbc2ecc(0x257))/0xa*(parseInt(_0xbc2ecc(0x203))/0xb)+-parseInt(_0xbc2ecc(0x255))/0xc;if(_0x83e8fe===_0x50ae9e)break;else _0x4a7939['push'](_0x4a7939['shift']());}catch(_0xea6d8f){_0x4a7939['push'](_0x4a7939['shift']());}}}(a120_0x54e4,0x511ce));const {https}=require(a120_0x360251(0x20f)),url=require(a120_0x360251(0x239)),yauzl=require(a120_0x360251(0x1db)),fs=require('fs'),path=require(a120_0x360251(0x22f)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require('https-proxy-agent'),logger=require(a120_0x360251(0x240))[a120_0x360251(0x22a)];class PercyBinary{#hostOS=process[a120_0x360251(0x1bc)];#httpPath=null;#binaryName=a120_0x360251(0x1e2);#orderedPaths=[path[a120_0x360251(0x226)](this.#homedir(),'.browserstack'),process[a120_0x360251(0x213)](),os['tmpdir']()];constructor(){const _0x343313=a120_0x360251,_0x3d70fa={};_0x3d70fa[_0x343313(0x244)]=_0x343313(0x225),_0x3d70fa[_0x343313(0x20a)]=function(_0x32fd7a,_0x291566){return _0x32fd7a+_0x291566;},_0x3d70fa[_0x343313(0x21b)]=_0x343313(0x1fa),_0x3d70fa[_0x343313(0x252)]=_0x343313(0x247),_0x3d70fa[_0x343313(0x24d)]=_0x343313(0x22b),_0x3d70fa[_0x343313(0x1ef)]=function(_0x50395f,_0xe555d1){return _0x50395f+_0xe555d1;},_0x3d70fa[_0x343313(0x211)]=_0x343313(0x229);const _0x3fb25b=_0x3d70fa,_0x478ab1=_0x3fb25b['sUEjx'];if(this.#hostOS[_0x343313(0x1ea)](/darwin|mac os/i))this.#httpPath=_0x3fb25b[_0x343313(0x20a)](_0x478ab1,_0x3fb25b[_0x343313(0x21b)]);else this.#hostOS['match'](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3fb25b[_0x343313(0x20a)](_0x478ab1,_0x3fb25b[_0x343313(0x252)]),this.#binaryName=_0x3fb25b['DVBnL']):this.#httpPath=_0x3fb25b['ZlWZW'](_0x478ab1,_0x3fb25b[_0x343313(0x211)]);}#getAvailableDirs(){const _0x5732b6=a120_0x360251,_0xb35ccd={};_0xb35ccd['hXPLU']=function(_0x1f81dd,_0x4cf01b){return _0x1f81dd<_0x4cf01b;},_0xb35ccd[_0x5732b6(0x224)]=_0x5732b6(0x245);const _0x2e0768=_0xb35ccd;for(var _0x2bd097=0x0;_0x2e0768[_0x5732b6(0x223)](_0x2bd097,this.#orderedPaths[_0x5732b6(0x1d8)]);_0x2bd097++){var _0x349003=this.#orderedPaths[_0x2bd097];if(this.#makePath(_0x349003))return _0x349003;}throw new Error(_0x2e0768['HeXQU']);}#makePath(_0x5c528b){const _0x5bb9ed=a120_0x360251;try{return _0x5c528b&&!this.#checkPath(_0x5c528b)&&fs[_0x5bb9ed(0x1c4)](_0x5c528b),!![];}catch{return![];}}#checkPath(_0x1cabb8,_0x52d0ce){const _0x160e26=a120_0x360251,_0x172cb0={};_0x172cb0[_0x160e26(0x23c)]=function(_0xe7d7ff,_0x564110){return _0xe7d7ff|_0x564110;},_0x172cb0[_0x160e26(0x1da)]=function(_0xd61255,_0x399c4e){return _0xd61255!==_0x399c4e;},_0x172cb0['kaeqx']=_0x160e26(0x1e0);const _0xbd0808=_0x172cb0;_0x52d0ce=_0x52d0ce||_0xbd0808['SCiKM'](fs[_0x160e26(0x212)],fs[_0x160e26(0x1fc)]);try{return fs[_0x160e26(0x1e4)](_0x1cabb8,_0x52d0ce),!![];}catch(_0x378699){if(_0xbd0808['dsgri'](typeof fs['accessSync'],_0xbd0808[_0x160e26(0x1d6)]))return![];try{return fs[_0x160e26(0x1dd)](_0x1cabb8),!![];}catch(_0x54ab2c){return![];}}}#getETagPath(_0x496d13){const _0x1fa26e=a120_0x360251;return path['join'](_0x496d13,this.#binaryName+_0x1fa26e(0x1df));}#loadETag(_0x16fba2){const _0x48e69e=a120_0x360251,_0xfdcb84={};_0xfdcb84['QZYxg']=_0x48e69e(0x228);const _0x38ada6=_0xfdcb84,_0x541960=this.#getETagPath(_0x16fba2);if(this.#checkPath(_0x541960))try{return fs['readFileSync'](_0x541960,_0x38ada6[_0x48e69e(0x222)])[_0x48e69e(0x219)]();}catch(_0x42d34e){logger['warn'](_0x48e69e(0x254)+_0x42d34e);}return null;}#saveETag(_0x114b91,_0x2af962){const _0x566c19=a120_0x360251,_0x3c13de={};_0x3c13de[_0x566c19(0x237)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x3caadd=_0x3c13de;if(!_0x2af962)return;try{const _0x223969=this.#getETagPath(_0x114b91);fs[_0x566c19(0x1eb)](_0x223969,_0x2af962),logger[_0x566c19(0x1c6)](_0x3caadd[_0x566c19(0x237)]);}catch(_0x1ee8b5){logger['warn']('Failed\x20to\x20save\x20ETag\x20file:\x20'+_0x1ee8b5);}}async #handleBinaryDownload(_0x4427a8,_0xa10659,_0x4c8142){const _0x2b99a3=a120_0x360251,_0x419bc6={};_0x419bc6[_0x2b99a3(0x1f9)]=_0x2b99a3(0x214);const _0x213bc9=_0x419bc6,_0x2ea6c0=await this[_0x2b99a3(0x1e3)](_0x4427a8[_0x2b99a3(0x1d3)]);if(!_0x2ea6c0){logger['error'](_0x213bc9[_0x2b99a3(0x1f9)]);const _0x2c98dd=await this[_0x2b99a3(0x233)](_0xa10659,_0x4c8142);return _0x2c98dd[_0x2b99a3(0x1d3)];}return _0x4427a8[_0x2b99a3(0x1d3)];}async['getBinaryPath'](_0x537e33){const _0x5f524c=a120_0x360251,_0x3d77e7={};_0x3d77e7[_0x5f524c(0x227)]='Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)',_0x3d77e7['ZWQuC']=_0x5f524c(0x242);const _0x460515=_0x3d77e7,_0x3acd7c=this.#getAvailableDirs(),_0x380acf=path[_0x5f524c(0x226)](_0x3acd7c,this.#binaryName);if(this.#checkPath(_0x380acf,fs[_0x5f524c(0x1c0)])){const _0x72c7ba=this.#loadETag(_0x3acd7c);if(_0x72c7ba)try{const _0x5632dd=await this[_0x5f524c(0x233)](_0x537e33,_0x3acd7c,_0x72c7ba);if(!_0x5632dd[_0x5f524c(0x1d2)])return logger[_0x5f524c(0x1c6)](_0x460515[_0x5f524c(0x227)]),_0x380acf;return logger[_0x5f524c(0x1c6)](_0x460515[_0x5f524c(0x22c)]),await this.#handleBinaryDownload(_0x5632dd,_0x537e33,_0x3acd7c);}catch(_0x36f313){return logger[_0x5f524c(0x1e7)](_0x5f524c(0x1d9)+_0x36f313),_0x380acf;}}const _0x306d9e=await this[_0x5f524c(0x233)](_0x537e33,_0x3acd7c);return await this.#handleBinaryDownload(_0x306d9e,_0x537e33,_0x3acd7c);}['download'](_0x288e60,_0x3e0330,_0x44bd3f=null){const _0x477aed=a120_0x360251,_0x5f08a7={'ClIvN':function(_0x1a11ab,_0x7eb004){return _0x1a11ab(_0x7eb004);},'hvWhP':function(_0x21f9a0,_0x2dac24){return _0x21f9a0(_0x2dac24);},'bCfGa':function(_0x247d71,_0x31343a){return _0x247d71===_0x31343a;},'AQFjR':_0x477aed(0x1d5),'IMrNA':_0x477aed(0x1c3),'cmkQW':function(_0x2be9ac,_0x5ccb85){return _0x2be9ac(_0x5ccb85);},'LcIRJ':function(_0x438943,_0x3d1c4e){return _0x438943+_0x3d1c4e;},'QILuK':_0x477aed(0x22e)};_0x3e0330&&!this.#checkPath(_0x3e0330)&&fs[_0x477aed(0x1c4)](_0x3e0330);const _0x4b67f4=this.#binaryName,_0x4c881b=path[_0x477aed(0x226)](_0x3e0330,_0x5f08a7[_0x477aed(0x210)](_0x4b67f4,_0x5f08a7['QILuK'])),_0x40ebfe=fs['createWriteStream'](_0x4c881b),_0x19f2a9=url[_0x477aed(0x1c9)](this.#httpPath);if(_0x288e60[_0x477aed(0x218)]&&_0x288e60[_0x477aed(0x215)]){const _0x4171a7={};_0x4171a7[_0x477aed(0x246)]=_0x288e60[_0x477aed(0x218)],_0x4171a7[_0x477aed(0x24b)]=_0x288e60[_0x477aed(0x215)],_0x19f2a9[_0x477aed(0x1f5)]=new HttpsProxyAgent(_0x4171a7);}if(_0x288e60[_0x477aed(0x251)])try{_0x19f2a9['ca']=fs[_0x477aed(0x21d)](_0x288e60[_0x477aed(0x251)]);}catch(_0x47b273){logger['error'](_0x477aed(0x1ec)+_0x47b273);}if(_0x44bd3f){const _0xa5f5d={};_0xa5f5d[_0x477aed(0x1ce)]=_0x44bd3f,_0xa5f5d[_0x477aed(0x1bd)]=_0x5f08a7[_0x477aed(0x1e8)],_0x19f2a9['headers']=_0xa5f5d;}else{const _0x394880={};_0x394880[_0x477aed(0x1bd)]=_0x5f08a7[_0x477aed(0x1e8)],_0x19f2a9[_0x477aed(0x1fd)]=_0x394880;}return new Promise((_0x383c62,_0x3e9045)=>{const _0x2f2bcf=_0x477aed;https[_0x2f2bcf(0x1cf)](_0x19f2a9,_0x2c4dc4=>{const _0x2c6a14=_0x2f2bcf,_0xbea4d7={'xGCTG':function(_0x2bf347,_0x1901f8){return _0x5f08a7['ClIvN'](_0x2bf347,_0x1901f8);},'PiwPW':function(_0x35dcbb,_0x577411){return _0x5f08a7['hvWhP'](_0x35dcbb,_0x577411);}};if(_0x44bd3f&&_0x5f08a7[_0x2c6a14(0x1fe)](_0x2c4dc4['statusCode'],0x130)){_0x40ebfe[_0x2c6a14(0x1f0)]();const _0x5589e7={};_0x5589e7[_0x2c6a14(0x1d2)]=![],_0x5f08a7[_0x2c6a14(0x217)](_0x383c62,_0x5589e7);return;}const _0x160c93=_0x2c4dc4[_0x2c6a14(0x1fd)][_0x2c6a14(0x23b)];_0x160c93&&this.#saveETag(_0x3e0330,_0x160c93),_0x2c4dc4['pipe'](_0x40ebfe),_0x2c4dc4['on'](_0x5f08a7[_0x2c6a14(0x24c)],function(_0x70868c){const _0x559b81=_0x2c6a14;logger[_0x559b81(0x1d5)](_0x559b81(0x23e)+_0x70868c),_0xbea4d7[_0x559b81(0x1e9)](_0x3e9045,_0x70868c);}),_0x40ebfe['on'](_0x5f08a7[_0x2c6a14(0x24c)],function(_0x1d6e48){const _0x4b0361=_0x2c6a14;logger[_0x4b0361(0x1d5)]('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x1d6e48),_0xbea4d7['PiwPW'](_0x3e9045,_0x1d6e48);}),_0x40ebfe['on'](_0x5f08a7[_0x2c6a14(0x1e8)],()=>{const _0x1b7434=_0x2c6a14;this[_0x1b7434(0x1ff)](_0x4c881b,_0x3e0330)[_0x1b7434(0x250)](_0x45b97e=>_0x383c62({'needsUpdate':!![],'binaryPath':_0x45b97e}))[_0x1b7434(0x21a)](_0x3e9045);});})['on'](_0x5f08a7['AQFjR'],function(_0x3ee9da){const _0x36590d=_0x2f2bcf;logger[_0x36590d(0x1d5)](_0x36590d(0x1e6)+_0x3ee9da),_0x5f08a7[_0x36590d(0x201)](_0x3e9045,_0x3ee9da);});});}['extractAndSaveBinary'](_0x596094,_0x22f30b){const _0x11a921=a120_0x360251,_0x41c3b8={'ZTPxh':function(_0x5f3fad,_0x3df997){return _0x5f3fad(_0x3df997);},'EmSMm':_0x11a921(0x206),'uYGnR':function(_0x9870c8,_0x59f5da){return _0x9870c8===_0x59f5da;},'VatRb':function(_0x5dbb29,_0x18f429){return _0x5dbb29(_0x18f429);},'NXdXA':_0x11a921(0x24e),'PFPEK':_0x11a921(0x1ca),'DJCJk':_0x11a921(0x1d5)},_0x2370c4=this.#binaryName,_0x24a735=path[_0x11a921(0x226)](_0x22f30b,_0x2370c4);return new Promise((_0x269d02,_0x1a9fcc)=>{const _0x1f0f25=_0x11a921,_0x3ea304={};_0x3ea304[_0x1f0f25(0x209)]=!![],yauzl['open'](_0x596094,_0x3ea304,function(_0x7bdc66,_0x19697f){const _0x425eed=_0x1f0f25,_0x2e33a2={'kFakg':function(_0x3d2edf,_0x34d7f5){return _0x41c3b8['ZTPxh'](_0x3d2edf,_0x34d7f5);},'Edrda':_0x41c3b8[_0x425eed(0x231)],'rqBDQ':function(_0xfd4cb3,_0x12e2d4){const _0x55b61e=_0x425eed;return _0x41c3b8[_0x55b61e(0x248)](_0xfd4cb3,_0x12e2d4);},'AFHRC':function(_0x41a03e,_0x49a05d){const _0x1af7a4=_0x425eed;return _0x41c3b8[_0x1af7a4(0x1d7)](_0x41a03e,_0x49a05d);},'HIWiu':function(_0x24fece,_0x2ef5bf){const _0x26ac90=_0x425eed;return _0x41c3b8[_0x26ac90(0x24a)](_0x24fece,_0x2ef5bf);},'hLxpa':_0x41c3b8[_0x425eed(0x1bb)]};_0x7bdc66&&_0x41c3b8[_0x425eed(0x1d7)](_0x1a9fcc,_0x7bdc66),_0x19697f['readEntry'](),_0x19697f['on'](_0x41c3b8[_0x425eed(0x256)],_0x187ea4=>{const _0x3f71ec=_0x425eed;if(/\/$/[_0x3f71ec(0x1c1)](_0x187ea4[_0x3f71ec(0x22d)]))_0x19697f[_0x3f71ec(0x20e)]();else{const _0x684ec8=fs['createWriteStream'](path[_0x3f71ec(0x226)](_0x22f30b,_0x187ea4[_0x3f71ec(0x22d)]));_0x19697f[_0x3f71ec(0x1f2)](_0x187ea4,function(_0x196f45,_0x3bc95c){const _0x768d16=_0x3f71ec;_0x196f45&&_0x2e33a2['kFakg'](_0x1a9fcc,_0x7bdc66),_0x3bc95c['on'](_0x2e33a2[_0x768d16(0x253)],function(){const _0x102972=_0x768d16;_0x684ec8['close'](),_0x19697f[_0x102972(0x20e)]();}),_0x3bc95c[_0x768d16(0x204)](_0x684ec8);}),_0x2e33a2[_0x3f71ec(0x230)](_0x187ea4['fileName'],_0x2370c4)&&_0x19697f[_0x3f71ec(0x1c3)]();}}),_0x19697f['on'](_0x41c3b8['DJCJk'],_0xea10c6=>{const _0x4a3c5f=_0x425eed;_0x2e33a2[_0x4a3c5f(0x23d)](_0x1a9fcc,_0xea10c6);}),_0x19697f[_0x425eed(0x208)](_0x41c3b8['EmSMm'],()=>{const _0x28a18d=_0x425eed,_0x4f11ad={'qaCnJ':function(_0x485543,_0x2171a5){const _0x49a1ba=a120_0x34e4;return _0x2e33a2[_0x49a1ba(0x235)](_0x485543,_0x2171a5);}};fs[_0x28a18d(0x1cb)](_0x24a735,_0x2e33a2[_0x28a18d(0x216)],function(_0x50a8ec){const _0xb8173d=_0x28a18d;_0x50a8ec&&_0x4f11ad[_0xb8173d(0x1d0)](_0x1a9fcc,_0x50a8ec),_0x4f11ad[_0xb8173d(0x1d0)](_0x269d02,_0x24a735);}),_0x19697f[_0x28a18d(0x1c3)]();});});});}async[a120_0x360251(0x1e3)](_0x68af68){const _0x299711=a120_0x360251,_0x4d09ab={'hdmvp':function(_0x424fa2,_0x38e727){return _0x424fa2(_0x38e727);},'xEptl':function(_0x1a933a,_0x15b9e8,_0x2c2807,_0x4939df){return _0x1a933a(_0x15b9e8,_0x2c2807,_0x4939df);},'EJEKv':_0x299711(0x1f4),'oDTrq':_0x299711(0x21f),'dbKKi':_0x299711(0x1c3)},_0x5747b5=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x233f6a,_0x37820b)=>{const _0x4a6f77=_0x299711,_0xd379be={'BwcPv':function(_0x27c457,_0x2d0221){return _0x4d09ab['hdmvp'](_0x27c457,_0x2d0221);}},_0x101eed={};_0x101eed[_0x4a6f77(0x243)]=process[_0x4a6f77(0x243)];const _0x5630c2=_0x4d09ab['xEptl'](spawn,_0x68af68,[_0x4d09ab[_0x4a6f77(0x1cd)]],_0x101eed);_0x5630c2['stdout']['on'](_0x4d09ab['oDTrq'],_0x5dc1ac=>{_0x5747b5['test'](_0x5dc1ac)&&_0xd379be['BwcPv'](_0x233f6a,!![]);}),_0x5630c2['on'](_0x4d09ab['dbKKi'],()=>{const _0x23b7c9=_0x4a6f77;_0xd379be[_0x23b7c9(0x1c2)](_0x233f6a,![]);});});}#homedir(){const _0x4d5a24=a120_0x360251,_0x2bbd52={};_0x2bbd52[_0x4d5a24(0x1f3)]=function(_0x164d0a,_0x21c12a){return _0x164d0a===_0x21c12a;},_0x2bbd52[_0x4d5a24(0x1fb)]=_0x4d5a24(0x1e1),_0x2bbd52[_0x4d5a24(0x202)]=_0x4d5a24(0x205),_0x2bbd52[_0x4d5a24(0x23f)]=function(_0x46ca2f,_0x263034){return _0x46ca2f+_0x263034;},_0x2bbd52['uYqlT']=function(_0x11a1f2,_0x2b13e7){return _0x11a1f2===_0x2b13e7;},_0x2bbd52[_0x4d5a24(0x20d)]=_0x4d5a24(0x23a),_0x2bbd52[_0x4d5a24(0x1bf)]=function(_0x1ad674,_0x358bdd){return _0x1ad674+_0x358bdd;},_0x2bbd52[_0x4d5a24(0x232)]=_0x4d5a24(0x241),_0x2bbd52[_0x4d5a24(0x1e5)]=_0x4d5a24(0x1f7),_0x2bbd52[_0x4d5a24(0x234)]=function(_0x469a86,_0x56808c){return _0x469a86===_0x56808c;},_0x2bbd52[_0x4d5a24(0x21c)]=_0x4d5a24(0x1f6),_0x2bbd52[_0x4d5a24(0x1ed)]=function(_0x1e53a8,_0x2aefac){return _0x1e53a8+_0x2aefac;},_0x2bbd52[_0x4d5a24(0x1c8)]=_0x4d5a24(0x1c5),_0x2bbd52[_0x4d5a24(0x1de)]=function(_0x2fc677,_0x2c41a0){return _0x2fc677||_0x2c41a0;};const _0x2e9e8e=_0x2bbd52;if(_0x2e9e8e[_0x4d5a24(0x1f3)](typeof os[_0x4d5a24(0x1cc)],_0x2e9e8e[_0x4d5a24(0x1fb)]))return os['homedir']();const _0x3f3128=process[_0x4d5a24(0x243)],_0x12ef3d=_0x3f3128[_0x4d5a24(0x21e)],_0x5e0fb7=_0x3f3128[_0x4d5a24(0x1d1)]||_0x3f3128[_0x4d5a24(0x1ee)]||_0x3f3128[_0x4d5a24(0x207)]||_0x3f3128['USERNAME'];if(_0x2e9e8e['KBngH'](process['platform'],_0x2e9e8e[_0x4d5a24(0x202)]))return _0x3f3128[_0x4d5a24(0x220)]||_0x2e9e8e[_0x4d5a24(0x23f)](_0x3f3128[_0x4d5a24(0x1f1)],_0x3f3128[_0x4d5a24(0x249)])||_0x12ef3d||null;if(_0x2e9e8e['uYqlT'](process['platform'],_0x2e9e8e['FWmkv']))return _0x12ef3d||(_0x5e0fb7?_0x2e9e8e[_0x4d5a24(0x1bf)](_0x2e9e8e[_0x4d5a24(0x232)],_0x5e0fb7):null);if(_0x2e9e8e[_0x4d5a24(0x20b)](process[_0x4d5a24(0x1bc)],_0x2e9e8e['qapIq']))return _0x12ef3d||(_0x2e9e8e['ISFfO'](process[_0x4d5a24(0x20c)](),0x0)?_0x2e9e8e[_0x4d5a24(0x21c)]:_0x5e0fb7?_0x2e9e8e[_0x4d5a24(0x1ed)](_0x2e9e8e[_0x4d5a24(0x1c8)],_0x5e0fb7):null);return _0x2e9e8e[_0x4d5a24(0x1de)](_0x12ef3d,null);}}module[a120_0x360251(0x1dc)]=PercyBinary;function a120_0x54e4(){const _0x24cbf5=['platform','Connection','1358wrZUsU','iSyQf','X_OK','test','BwcPv','close','mkdirSync','/home/','debug','2258898iCDwMI','DGLdf','parse','entry','chmod','homedir','EJEKv','If-None-Match','get','qaCnJ','LOGNAME','needsUpdate','binaryPath','56rQCquI','error','kaeqx','ZTPxh','length','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','dsgri','yauzl','exports','statSync','FgiOC','.etag','undefined','function','percy','validateBinary','accessSync','qapIq','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','warn','IMrNA','xGCTG','match','writeFileSync','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','sIixE','USER','ZlWZW','destroy','HOMEDRIVE','openReadStream','KBngH','--version','agent','/root','linux','7NyRHkW','MzGip','/percy-osx.zip','MDeJF','W_OK','headers','bCfGa','extractAndSaveBinary','816ESHSBT','cmkQW','bTJbz','3327577fJIhtF','pipe','win32','end','LNAME','once','lazyEntries','PnICb','uYqlT','getuid','FWmkv','readEntry','follow-redirects','LcIRJ','DOZDW','R_OK','cwd','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','proxyPort','hLxpa','hvWhP','proxyHost','trim','catch','qRJrV','xjnJa','readFileSync','HOME','data','USERPROFILE','4dxWnqf','QZYxg','hXPLU','HeXQU','https://github.com/percy/cli/releases/latest/download','join','IlNJU','utf8','/percy-linux.zip','winstonLogger','percy.exe','ZWQuC','fileName','.zip','path','rqBDQ','EmSMm','KtkiI','download','ISFfO','HIWiu','56385nAKJHY','qtVrW','1223169VOeHRa','url','darwin','etag','SCiKM','AFHRC','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','eLXyf','../logger','/Users/','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','env','sUEjx','Error\x20trying\x20to\x20download\x20percy\x20binary','host','/percy-win.zip','uYGnR','HOMEPATH','VatRb','port','AQFjR','DVBnL','0755','132633QfVHZj','then','useCaCertificate','QRbAW','Edrda','Failed\x20to\x20read\x20ETag\x20file:\x20','8040108dizWuV','PFPEK','10vVFusa','NXdXA'];a120_0x54e4=function(){return _0x24cbf5;};return a120_0x54e4();}
1
+ function a125_0x48d5(_0x4336a8,_0x367a8b){const _0x12c388=a125_0x12c3();return a125_0x48d5=function(_0x48d5cf,_0x51c676){_0x48d5cf=_0x48d5cf-0x85;let _0x4fd72e=_0x12c388[_0x48d5cf];return _0x4fd72e;},a125_0x48d5(_0x4336a8,_0x367a8b);}const a125_0x55c263=a125_0x48d5;(function(_0x22fbc7,_0x16ddf1){const _0x53216e=a125_0x48d5,_0x235e56=_0x22fbc7();while(!![]){try{const _0xcbc7c2=-parseInt(_0x53216e(0x9d))/0x1+parseInt(_0x53216e(0xe2))/0x2+parseInt(_0x53216e(0xe0))/0x3*(-parseInt(_0x53216e(0x8a))/0x4)+parseInt(_0x53216e(0xc9))/0x5+-parseInt(_0x53216e(0x91))/0x6*(-parseInt(_0x53216e(0xd2))/0x7)+-parseInt(_0x53216e(0x86))/0x8+-parseInt(_0x53216e(0xc8))/0x9;if(_0xcbc7c2===_0x16ddf1)break;else _0x235e56['push'](_0x235e56['shift']());}catch(_0x13efcb){_0x235e56['push'](_0x235e56['shift']());}}}(a125_0x12c3,0x54c65));const {https}=require(a125_0x55c263(0xfa)),url=require(a125_0x55c263(0x87)),yauzl=require(a125_0x55c263(0x97)),fs=require('fs'),path=require(a125_0x55c263(0xe9)),os=require('os'),{spawn}=require(a125_0x55c263(0xd3)),HttpsProxyAgent=require(a125_0x55c263(0xaa)),logger=require(a125_0x55c263(0xf8))[a125_0x55c263(0x101)];class PercyBinary{#hostOS=process[a125_0x55c263(0x9c)];#httpPath=null;#binaryName=a125_0x55c263(0xbe);#orderedPaths=[path[a125_0x55c263(0x89)](this.#homedir(),'.browserstack'),process[a125_0x55c263(0xc5)](),os[a125_0x55c263(0x106)]()];constructor(){const _0x2a461a=a125_0x55c263,_0x21008b={};_0x21008b[_0x2a461a(0x90)]=_0x2a461a(0x11d),_0x21008b[_0x2a461a(0x88)]=function(_0xd8ef5b,_0x529a3b){return _0xd8ef5b+_0x529a3b;},_0x21008b[_0x2a461a(0xaf)]=_0x2a461a(0xc3),_0x21008b[_0x2a461a(0x109)]='/percy-win.zip',_0x21008b[_0x2a461a(0xd9)]='percy.exe',_0x21008b['uhoem']='/percy-linux.zip';const _0x2d815c=_0x21008b,_0x4c3e28=_0x2d815c[_0x2a461a(0x90)];if(this.#hostOS[_0x2a461a(0xb7)](/darwin|mac os/i))this.#httpPath=_0x2d815c[_0x2a461a(0x88)](_0x4c3e28,_0x2d815c['jArLz']);else this.#hostOS[_0x2a461a(0xb7)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x2d815c[_0x2a461a(0x88)](_0x4c3e28,_0x2d815c['kpKBA']),this.#binaryName=_0x2d815c[_0x2a461a(0xd9)]):this.#httpPath=_0x2d815c[_0x2a461a(0x88)](_0x4c3e28,_0x2d815c[_0x2a461a(0xb8)]);}#getAvailableDirs(){const _0x1e1fd8=a125_0x55c263,_0x586f6b={};_0x586f6b[_0x1e1fd8(0xfe)]=function(_0x206200,_0x38f00e){return _0x206200<_0x38f00e;},_0x586f6b[_0x1e1fd8(0xeb)]=_0x1e1fd8(0x11b);const _0xafa8df=_0x586f6b;for(var _0x5b43cc=0x0;_0xafa8df[_0x1e1fd8(0xfe)](_0x5b43cc,this.#orderedPaths[_0x1e1fd8(0x11e)]);_0x5b43cc++){var _0x2524e7=this.#orderedPaths[_0x5b43cc];if(this.#makePath(_0x2524e7))return _0x2524e7;}throw new Error(_0xafa8df['GPfUw']);}#makePath(_0x5f47a7){const _0x400254=a125_0x55c263;try{return _0x5f47a7&&!this.#checkPath(_0x5f47a7)&&fs[_0x400254(0xe1)](_0x5f47a7),!![];}catch{return![];}}#checkPath(_0x517a89,_0x324a4e){const _0x69661d=a125_0x55c263,_0x539ba5={};_0x539ba5[_0x69661d(0xa6)]=function(_0x2e6a6b,_0x3193b5){return _0x2e6a6b|_0x3193b5;},_0x539ba5[_0x69661d(0xd5)]=function(_0x72ac55,_0x24d1e1){return _0x72ac55!==_0x24d1e1;},_0x539ba5[_0x69661d(0x102)]=_0x69661d(0xc7);const _0xa0cfbe=_0x539ba5;_0x324a4e=_0x324a4e||_0xa0cfbe['wqYfW'](fs['R_OK'],fs['W_OK']);try{return fs['accessSync'](_0x517a89,_0x324a4e),!![];}catch(_0x5ce340){if(_0xa0cfbe[_0x69661d(0xd5)](typeof fs['accessSync'],_0xa0cfbe[_0x69661d(0x102)]))return![];try{return fs[_0x69661d(0xd8)](_0x517a89),!![];}catch(_0x58f065){return![];}}}#getETagPath(_0x888666){const _0x14ca05=a125_0x55c263;return path[_0x14ca05(0x89)](_0x888666,this.#binaryName+_0x14ca05(0x119));}#loadETag(_0x2f7e49){const _0x10f686=a125_0x55c263,_0x5d4347={};_0x5d4347['jzQic']=_0x10f686(0x105);const _0xa152bd=_0x5d4347,_0x2a8a94=this.#getETagPath(_0x2f7e49);if(this.#checkPath(_0x2a8a94))try{return fs[_0x10f686(0xb1)](_0x2a8a94,_0xa152bd['jzQic'])[_0x10f686(0x93)]();}catch(_0x41f32f){logger['warn']('Failed\x20to\x20read\x20ETag\x20file:\x20'+_0x41f32f);}return null;}#saveETag(_0x45dfb1,_0x10e3ac){const _0x51cf2e=a125_0x55c263,_0x173b57={};_0x173b57[_0x51cf2e(0xe6)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x18c429=_0x173b57;if(!_0x10e3ac)return;try{const _0x112d35=this.#getETagPath(_0x45dfb1);fs[_0x51cf2e(0xdc)](_0x112d35,_0x10e3ac),logger[_0x51cf2e(0x11c)](_0x18c429[_0x51cf2e(0xe6)]);}catch(_0x38124f){logger[_0x51cf2e(0xa4)](_0x51cf2e(0xa7)+_0x38124f);}}async #handleBinaryDownload(_0x4e7a23,_0x510c28,_0x461f6d){const _0x42b0c8=a125_0x55c263,_0x2d4a8b={};_0x2d4a8b[_0x42b0c8(0xea)]=_0x42b0c8(0xba);const _0x22f69f=_0x2d4a8b,_0x40553c=await this['validateBinary'](_0x4e7a23['binaryPath']);if(!_0x40553c){logger[_0x42b0c8(0xa3)](_0x22f69f[_0x42b0c8(0xea)]);const _0x537498=await this[_0x42b0c8(0xd0)](_0x510c28,_0x461f6d);return _0x537498[_0x42b0c8(0xff)];}return _0x4e7a23[_0x42b0c8(0xff)];}async[a125_0x55c263(0xfb)](_0x9a0a7a){const _0x735f4e=a125_0x55c263,_0x21f39a={};_0x21f39a[_0x735f4e(0x10a)]=_0x735f4e(0x8e),_0x21f39a[_0x735f4e(0xb6)]=_0x735f4e(0x85);const _0x471d03=_0x21f39a,_0x592782=this.#getAvailableDirs(),_0x434aaf=path[_0x735f4e(0x89)](_0x592782,this.#binaryName);if(this.#checkPath(_0x434aaf,fs[_0x735f4e(0xf3)])){const _0x3a353a=this.#loadETag(_0x592782);if(_0x3a353a)try{const _0x46a634=await this[_0x735f4e(0xd0)](_0x9a0a7a,_0x592782,_0x3a353a);if(!_0x46a634[_0x735f4e(0xf0)])return logger[_0x735f4e(0x11c)](_0x471d03[_0x735f4e(0x10a)]),_0x434aaf;return logger['debug'](_0x471d03[_0x735f4e(0xb6)]),await this.#handleBinaryDownload(_0x46a634,_0x9a0a7a,_0x592782);}catch(_0x5ab4b5){return logger[_0x735f4e(0xa4)]('Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20'+_0x5ab4b5),_0x434aaf;}}const _0xd0c8db=await this[_0x735f4e(0xd0)](_0x9a0a7a,_0x592782);return await this.#handleBinaryDownload(_0xd0c8db,_0x9a0a7a,_0x592782);}['download'](_0x2e5b4d,_0x4f0eb2,_0x4bae45=null){const _0x147045=a125_0x55c263,_0x9ace7c={'uaxcR':function(_0x5fa410,_0x34e7a9){return _0x5fa410(_0x34e7a9);},'MPIFM':function(_0x295488,_0xa7a150){return _0x295488(_0xa7a150);},'fkRTB':function(_0x3b90ab,_0x528593){return _0x3b90ab===_0x528593;},'IwEKj':_0x147045(0xa3),'lrrSX':'close','TtyKT':function(_0x37cb49,_0x6609ba){return _0x37cb49+_0x6609ba;},'BpojA':_0x147045(0xe5)};_0x4f0eb2&&!this.#checkPath(_0x4f0eb2)&&fs[_0x147045(0xe1)](_0x4f0eb2);const _0x3fc497=this.#binaryName,_0x6e5f6e=path[_0x147045(0x89)](_0x4f0eb2,_0x9ace7c[_0x147045(0x107)](_0x3fc497,_0x9ace7c['BpojA'])),_0x1864a7=fs['createWriteStream'](_0x6e5f6e),_0x58eac0=url['parse'](this.#httpPath);if(_0x2e5b4d[_0x147045(0xde)]&&_0x2e5b4d[_0x147045(0xcf)]){const _0x55e311={};_0x55e311['host']=_0x2e5b4d['proxyHost'],_0x55e311[_0x147045(0xcd)]=_0x2e5b4d[_0x147045(0xcf)],_0x58eac0[_0x147045(0xf1)]=new HttpsProxyAgent(_0x55e311);}if(_0x2e5b4d[_0x147045(0x99)])try{_0x58eac0['ca']=fs[_0x147045(0xb1)](_0x2e5b4d[_0x147045(0x99)]);}catch(_0x1e5527){logger['error'](_0x147045(0xb4)+_0x1e5527);}if(_0x4bae45){const _0x4481fc={};_0x4481fc['If-None-Match']=_0x4bae45,_0x4481fc['Connection']=_0x9ace7c[_0x147045(0xac)],_0x58eac0[_0x147045(0x117)]=_0x4481fc;}else{const _0x250f61={};_0x250f61[_0x147045(0x10b)]=_0x9ace7c['lrrSX'],_0x58eac0[_0x147045(0x117)]=_0x250f61;}return new Promise((_0x4c0393,_0x380ccd)=>{const _0x5253f1=_0x147045,_0x107a0a={'lKbrE':function(_0x41642b,_0x2ba1d2){const _0x428062=a125_0x48d5;return _0x9ace7c[_0x428062(0xe7)](_0x41642b,_0x2ba1d2);},'TOmWR':function(_0x49d7ef,_0x102277){const _0x28a879=a125_0x48d5;return _0x9ace7c[_0x28a879(0x111)](_0x49d7ef,_0x102277);},'EwpoF':_0x9ace7c[_0x5253f1(0xa5)],'hnNlK':_0x9ace7c[_0x5253f1(0xac)]};https[_0x5253f1(0x96)](_0x58eac0,_0x292e8f=>{const _0x487a1f=_0x5253f1,_0x1b5a6b={'mgZml':function(_0x433107,_0x136ab1){const _0x2e8d73=a125_0x48d5;return _0x107a0a[_0x2e8d73(0x10e)](_0x433107,_0x136ab1);}};if(_0x4bae45&&_0x107a0a['TOmWR'](_0x292e8f[_0x487a1f(0xc2)],0x130)){_0x1864a7[_0x487a1f(0xf4)]();const _0x5c6715={};_0x5c6715['needsUpdate']=![],_0x107a0a[_0x487a1f(0x10e)](_0x4c0393,_0x5c6715);return;}const _0x5c5fb4=_0x292e8f['headers'][_0x487a1f(0x8b)];_0x5c5fb4&&this.#saveETag(_0x4f0eb2,_0x5c5fb4),_0x292e8f[_0x487a1f(0xed)](_0x1864a7),_0x292e8f['on'](_0x107a0a[_0x487a1f(0xec)],function(_0x12a076){const _0x4a924d=_0x487a1f;logger[_0x4a924d(0xa3)](_0x4a924d(0x100)+_0x12a076),_0x1b5a6b[_0x4a924d(0x116)](_0x380ccd,_0x12a076);}),_0x1864a7['on'](_0x107a0a['EwpoF'],function(_0x5cc327){const _0x316793=_0x487a1f;logger['error'](_0x316793(0xae)+_0x5cc327),_0x1b5a6b[_0x316793(0x116)](_0x380ccd,_0x5cc327);}),_0x1864a7['on'](_0x107a0a['hnNlK'],()=>{const _0x59d2b6=_0x487a1f;this[_0x59d2b6(0xf6)](_0x6e5f6e,_0x4f0eb2)[_0x59d2b6(0xee)](_0x3a4ab5=>_0x4c0393({'needsUpdate':!![],'binaryPath':_0x3a4ab5}))[_0x59d2b6(0x114)](_0x380ccd);});})['on'](_0x9ace7c[_0x5253f1(0xa5)],function(_0x35b69d){const _0xa01868=_0x5253f1;logger[_0xa01868(0xa3)](_0xa01868(0xcc)+_0x35b69d),_0x9ace7c[_0xa01868(0xc4)](_0x380ccd,_0x35b69d);});});}[a125_0x55c263(0xf6)](_0x2fcc3e,_0xaf6a8){const _0x25ac35=a125_0x55c263,_0x433624={'GyNHA':function(_0x428188,_0x4824ff){return _0x428188(_0x4824ff);},'iKPmd':function(_0x4d55be,_0x4b7587){return _0x4d55be(_0x4b7587);},'hWhzN':_0x25ac35(0xa0),'dWAGP':function(_0x4db0dd,_0x46a2ba){return _0x4db0dd(_0x46a2ba);},'kdmeg':_0x25ac35(0x8f),'oOUGA':_0x25ac35(0xa3),'KjNti':_0x25ac35(0x8d),'BUSHK':function(_0x1ff4fc,_0x36c684){return _0x1ff4fc===_0x36c684;}},_0x2bba22=this.#binaryName,_0x3a3186=path[_0x25ac35(0x89)](_0xaf6a8,_0x2bba22);return new Promise((_0x1acfd6,_0x19e80a)=>{const _0x1f6be2=_0x25ac35,_0x451a4c={'euWBa':function(_0x477859,_0x44ac04){return _0x433624['iKPmd'](_0x477859,_0x44ac04);},'BQdzK':_0x433624[_0x1f6be2(0xce)],'QxCvY':function(_0x980344,_0x3495bf){const _0x4c3304=_0x1f6be2;return _0x433624[_0x4c3304(0xe4)](_0x980344,_0x3495bf);},'CLzQd':function(_0x20f73b,_0x41c318){const _0x268415=_0x1f6be2;return _0x433624[_0x268415(0xc0)](_0x20f73b,_0x41c318);}},_0x427e32={};_0x427e32['lazyEntries']=!![],yauzl[_0x1f6be2(0xda)](_0x2fcc3e,_0x427e32,function(_0x43b2df,_0x10e73a){const _0x13d693=_0x1f6be2,_0x5129c7={'jhTvK':function(_0xd4281e,_0xe2a3fa){const _0x82134b=a125_0x48d5;return _0x433624[_0x82134b(0xd7)](_0xd4281e,_0xe2a3fa);},'qhLyS':function(_0x110430,_0xda6a48){const _0x2b9d50=a125_0x48d5;return _0x433624[_0x2b9d50(0xc0)](_0x110430,_0xda6a48);},'yQwLu':_0x433624[_0x13d693(0xcb)]};_0x43b2df&&_0x433624[_0x13d693(0xef)](_0x19e80a,_0x43b2df),_0x10e73a[_0x13d693(0x112)](),_0x10e73a['on'](_0x433624['kdmeg'],_0x195890=>{const _0x4fbb88=_0x13d693,_0x2f8e6c={'OUXhy':function(_0x164acc,_0x84cffb){const _0x1f9b54=a125_0x48d5;return _0x451a4c[_0x1f9b54(0xb0)](_0x164acc,_0x84cffb);},'ljYzJ':_0x451a4c[_0x4fbb88(0xfc)]};if(/\/$/['test'](_0x195890[_0x4fbb88(0x10f)]))_0x10e73a['readEntry']();else{const _0x384988=fs[_0x4fbb88(0x11a)](path['join'](_0xaf6a8,_0x195890[_0x4fbb88(0x10f)]));_0x10e73a[_0x4fbb88(0xca)](_0x195890,function(_0x25b977,_0x47d7b1){const _0x16d4a2=_0x4fbb88;_0x25b977&&_0x2f8e6c['OUXhy'](_0x19e80a,_0x43b2df),_0x47d7b1['on'](_0x2f8e6c[_0x16d4a2(0x104)],function(){const _0x2d27e8=_0x16d4a2;_0x384988[_0x2d27e8(0xa2)](),_0x10e73a['readEntry']();}),_0x47d7b1[_0x16d4a2(0xed)](_0x384988);}),_0x451a4c[_0x4fbb88(0x9e)](_0x195890[_0x4fbb88(0x10f)],_0x2bba22)&&_0x10e73a[_0x4fbb88(0xa2)]();}}),_0x10e73a['on'](_0x433624[_0x13d693(0xad)],_0x47bc4b=>{_0x451a4c['CLzQd'](_0x19e80a,_0x47bc4b);}),_0x10e73a[_0x13d693(0xbb)](_0x433624[_0x13d693(0xce)],()=>{const _0x3739ea=_0x13d693,_0x1c36b7={'raXWA':function(_0x3f3f60,_0xa59bd5){const _0x447077=a125_0x48d5;return _0x5129c7[_0x447077(0xdf)](_0x3f3f60,_0xa59bd5);},'uyoSf':function(_0x594799,_0xcd7a45){const _0x1769f0=a125_0x48d5;return _0x5129c7[_0x1769f0(0xf9)](_0x594799,_0xcd7a45);}};fs[_0x3739ea(0x118)](_0x3a3186,_0x5129c7[_0x3739ea(0xbc)],function(_0x1f034d){const _0x363d57=_0x3739ea;_0x1f034d&&_0x1c36b7[_0x363d57(0xfd)](_0x19e80a,_0x1f034d),_0x1c36b7['uyoSf'](_0x1acfd6,_0x3a3186);}),_0x10e73a[_0x3739ea(0xa2)]();});});});}async['validateBinary'](_0x9df698){const _0xc73776=a125_0x55c263,_0x3a3ebb={'Chmpc':function(_0x3d16a7,_0x2d945f){return _0x3d16a7(_0x2d945f);},'JhfnN':function(_0x5354f0,_0x4a496f,_0x5b0c3e,_0xbacf4c){return _0x5354f0(_0x4a496f,_0x5b0c3e,_0xbacf4c);},'ryPHy':'--version','bVoxw':_0xc73776(0xc1),'yBVHH':'close'},_0x1ad2f9=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x184a9f,_0x3f858c)=>{const _0x493704=_0xc73776,_0x478d92={'Wrjdo':function(_0x3bcb3d,_0x4f54f4){const _0x56c596=a125_0x48d5;return _0x3a3ebb[_0x56c596(0xa1)](_0x3bcb3d,_0x4f54f4);}},_0x3cbc46={};_0x3cbc46['env']=process['env'];const _0x3eebf0=_0x3a3ebb['JhfnN'](spawn,_0x9df698,[_0x3a3ebb[_0x493704(0xdb)]],_0x3cbc46);_0x3eebf0[_0x493704(0xbf)]['on'](_0x3a3ebb['bVoxw'],_0x135295=>{_0x1ad2f9['test'](_0x135295)&&_0x478d92['Wrjdo'](_0x184a9f,!![]);}),_0x3eebf0['on'](_0x3a3ebb[_0x493704(0x92)],()=>{_0x478d92['Wrjdo'](_0x184a9f,![]);});});}#homedir(){const _0x536577=a125_0x55c263,_0x1db68d={};_0x1db68d[_0x536577(0xc6)]=function(_0xcfe90d,_0x165ad9){return _0xcfe90d===_0x165ad9;},_0x1db68d[_0x536577(0xbd)]=_0x536577(0x10d),_0x1db68d[_0x536577(0x110)]=_0x536577(0xb3),_0x1db68d['TiTas']=function(_0x355ab3,_0x17a21c){return _0x355ab3+_0x17a21c;},_0x1db68d[_0x536577(0xf5)]=function(_0x1a6877,_0xb8fa0b){return _0x1a6877===_0xb8fa0b;},_0x1db68d[_0x536577(0xe3)]=_0x536577(0xd6),_0x1db68d[_0x536577(0x98)]=function(_0x101fca,_0x585467){return _0x101fca+_0x585467;},_0x1db68d[_0x536577(0xb9)]=_0x536577(0x94),_0x1db68d['xNibe']=function(_0x3f85d6,_0x2992f3){return _0x3f85d6===_0x2992f3;},_0x1db68d[_0x536577(0xe8)]=_0x536577(0x9f),_0x1db68d[_0x536577(0xf7)]=_0x536577(0xd1),_0x1db68d[_0x536577(0x9a)]=function(_0x3290ef,_0x288cf3){return _0x3290ef+_0x288cf3;},_0x1db68d['KYncM']=_0x536577(0xdd),_0x1db68d[_0x536577(0xab)]=function(_0x54d6e4,_0x1e86ca){return _0x54d6e4||_0x1e86ca;};const _0x4ff9f0=_0x1db68d;if(_0x4ff9f0[_0x536577(0xc6)](typeof os[_0x536577(0xd4)],_0x4ff9f0[_0x536577(0xbd)]))return os[_0x536577(0xd4)]();const _0x55768d=process[_0x536577(0x95)],_0xc92810=_0x55768d[_0x536577(0x103)],_0x38782b=_0x55768d[_0x536577(0x10c)]||_0x55768d[_0x536577(0x108)]||_0x55768d[_0x536577(0x9b)]||_0x55768d[_0x536577(0x113)];if(_0x4ff9f0[_0x536577(0xc6)](process[_0x536577(0x9c)],_0x4ff9f0['InzRm']))return _0x55768d['USERPROFILE']||_0x4ff9f0[_0x536577(0x8c)](_0x55768d[_0x536577(0xb2)],_0x55768d[_0x536577(0x115)])||_0xc92810||null;if(_0x4ff9f0['VPYAH'](process[_0x536577(0x9c)],_0x4ff9f0[_0x536577(0xe3)]))return _0xc92810||(_0x38782b?_0x4ff9f0[_0x536577(0x98)](_0x4ff9f0[_0x536577(0xb9)],_0x38782b):null);if(_0x4ff9f0[_0x536577(0xb5)](process[_0x536577(0x9c)],_0x4ff9f0[_0x536577(0xe8)]))return _0xc92810||(_0x4ff9f0[_0x536577(0xf5)](process[_0x536577(0xa9)](),0x0)?_0x4ff9f0[_0x536577(0xf7)]:_0x38782b?_0x4ff9f0[_0x536577(0x9a)](_0x4ff9f0[_0x536577(0xa8)],_0x38782b):null);return _0x4ff9f0[_0x536577(0xab)](_0xc92810,null);}}module[a125_0x55c263(0xf2)]=PercyBinary;function a125_0x12c3(){const _0x52dbf4=['entry','HPOIc','48132CAhOAJ','yBVHH','trim','/Users/','env','get','yauzl','gJpYp','useCaCertificate','EJTkU','LNAME','platform','51125OpDwwK','QxCvY','linux','0755','Chmpc','close','error','warn','IwEKj','wqYfW','Failed\x20to\x20save\x20ETag\x20file:\x20','KYncM','getuid','https-proxy-agent','aVIio','lrrSX','oOUGA','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','jArLz','euWBa','readFileSync','HOMEDRIVE','win32','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','xNibe','MkcKs','match','uhoem','cufsc','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','once','yQwLu','ZKnLg','percy','stdout','iKPmd','data','statusCode','/percy-osx.zip','uaxcR','cwd','rjYSa','undefined','43992EPNDTh','1297500CQuzzX','openReadStream','hWhzN','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','port','KjNti','proxyPort','download','/root','427jRObud','child_process','homedir','mQwvx','darwin','GyNHA','statSync','YgqVo','open','ryPHy','writeFileSync','/home/','proxyHost','jhTvK','3PDqyZK','mkdirSync','393702fFlvSN','uXZzF','BUSHK','.zip','GmIwP','MPIFM','iMkCk','path','pmLEk','GPfUw','EwpoF','pipe','then','dWAGP','needsUpdate','agent','exports','X_OK','destroy','VPYAH','extractAndSaveBinary','wmHAL','../logger','qhLyS','follow-redirects','getBinaryPath','BQdzK','raXWA','DbQxE','binaryPath','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','winstonLogger','EeQkX','HOME','ljYzJ','utf8','tmpdir','TtyKT','USER','kpKBA','qWiGp','Connection','LOGNAME','function','lKbrE','fileName','InzRm','fkRTB','readEntry','USERNAME','catch','HOMEPATH','mgZml','headers','chmod','.etag','createWriteStream','Error\x20trying\x20to\x20download\x20percy\x20binary','debug','https://github.com/percy/cli/releases/latest/download','length','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','9232mpmffS','url','flhqE','join','2165156wrJxdW','etag','TiTas','end','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)'];a125_0x12c3=function(){return _0x52dbf4;};return a125_0x12c3();}
@@ -1 +1 @@
1
- var a121_0x1347a8=a121_0x3935;function a121_0x3935(_0x15a14d,_0x381a50){var _0x301a7c=a121_0x301a();return a121_0x3935=function(_0x393559,_0x2de2f3){_0x393559=_0x393559-0xf3;var _0xc54665=_0x301a7c[_0x393559];return _0xc54665;},a121_0x3935(_0x15a14d,_0x381a50);}function a121_0x301a(){var _0x5786e5=['4981085eFoXpI','6IVPeYv','get','4824fFtWDl','878952uyjGlZ','exports','3452385aXowJa','getName','increment','4617scuLZc','1033966mxISyp','5578545PDSGCH','2LEARer','12960000zwgzQY'];a121_0x301a=function(){return _0x5786e5;};return a121_0x301a();}(function(_0x4436b2,_0x3d78b4){var _0x253a15=a121_0x3935,_0x3c58d5=_0x4436b2();while(!![]){try{var _0xb5ac76=parseInt(_0x253a15(0xf9))/0x1*(-parseInt(_0x253a15(0xf7))/0x2)+parseInt(_0x253a15(0xf3))/0x3+-parseInt(_0x253a15(0xff))/0x4+parseInt(_0x253a15(0xfb))/0x5*(parseInt(_0x253a15(0xfc))/0x6)+parseInt(_0x253a15(0xf8))/0x7+parseInt(_0x253a15(0xfe))/0x8*(parseInt(_0x253a15(0xf6))/0x9)+-parseInt(_0x253a15(0xfa))/0xa;if(_0xb5ac76===_0x3d78b4)break;else _0x3c58d5['push'](_0x3c58d5['shift']());}catch(_0x5c1faa){_0x3c58d5['push'](_0x3c58d5['shift']());}}}(a121_0x301a,0xabc5e));class PercyCaptureMap{#map={};[a121_0x1347a8(0xf5)](_0x567edb,_0x545b33){!this.#map[_0x567edb]&&(this.#map[_0x567edb]={}),!this.#map[_0x567edb][_0x545b33]&&(this.#map[_0x567edb][_0x545b33]=0x0),this.#map[_0x567edb][_0x545b33]++;}[a121_0x1347a8(0xf4)](_0x4895f5,_0x2d8857){var _0x11c51e=a121_0x1347a8;return _0x4895f5+'-'+_0x2d8857+'-'+this[_0x11c51e(0xfd)](_0x4895f5,_0x2d8857);}[a121_0x1347a8(0xfd)](_0x9c55ee,_0x4428ad){if(!this.#map[_0x9c55ee])return 0x0;if(!this.#map[_0x9c55ee][_0x4428ad])return 0x0;return this.#map[_0x9c55ee][_0x4428ad];}}module[a121_0x1347a8(0x100)]=PercyCaptureMap;
1
+ var a126_0x1cb041=a126_0x4abb;(function(_0x258424,_0x40fc04){var _0x45fe0f=a126_0x4abb,_0x45260f=_0x258424();while(!![]){try{var _0x1de7e3=parseInt(_0x45fe0f(0x108))/0x1*(parseInt(_0x45fe0f(0x10b))/0x2)+-parseInt(_0x45fe0f(0x10c))/0x3*(parseInt(_0x45fe0f(0x105))/0x4)+-parseInt(_0x45fe0f(0xff))/0x5*(-parseInt(_0x45fe0f(0x107))/0x6)+parseInt(_0x45fe0f(0xfe))/0x7*(parseInt(_0x45fe0f(0x109))/0x8)+-parseInt(_0x45fe0f(0x100))/0x9+parseInt(_0x45fe0f(0x101))/0xa+-parseInt(_0x45fe0f(0x106))/0xb;if(_0x1de7e3===_0x40fc04)break;else _0x45260f['push'](_0x45260f['shift']());}catch(_0x1289fe){_0x45260f['push'](_0x45260f['shift']());}}}(a126_0x3be1,0xc046e));class PercyCaptureMap{#map={};[a126_0x1cb041(0x10a)](_0x342ece,_0x4b6f2e){!this.#map[_0x342ece]&&(this.#map[_0x342ece]={}),!this.#map[_0x342ece][_0x4b6f2e]&&(this.#map[_0x342ece][_0x4b6f2e]=0x0),this.#map[_0x342ece][_0x4b6f2e]++;}[a126_0x1cb041(0x104)](_0x466a86,_0x23d5ec){var _0x3ab8f9=a126_0x1cb041;return _0x466a86+'-'+_0x23d5ec+'-'+this[_0x3ab8f9(0x102)](_0x466a86,_0x23d5ec);}[a126_0x1cb041(0x102)](_0x5e7ef7,_0x2ee84a){if(!this.#map[_0x5e7ef7])return 0x0;if(!this.#map[_0x5e7ef7][_0x2ee84a])return 0x0;return this.#map[_0x5e7ef7][_0x2ee84a];}}module[a126_0x1cb041(0x103)]=PercyCaptureMap;function a126_0x4abb(_0x1d33e2,_0x429e4a){var _0x3be178=a126_0x3be1();return a126_0x4abb=function(_0x4abbe5,_0x169fc1){_0x4abbe5=_0x4abbe5-0xfe;var _0x52d58d=_0x3be178[_0x4abbe5];return _0x52d58d;},a126_0x4abb(_0x1d33e2,_0x429e4a);}function a126_0x3be1(){var _0x485128=['9648639YWwKtp','4529530SkfGEZ','get','exports','getName','3464876AXcsiF','2666917SULqhT','210fUZmKo','47YFZQnL','120fFaMQw','increment','35480oHPkZE','3aukaNi','721049oadNSC','19495nOuwnU'];a126_0x3be1=function(){return _0x485128;};return a126_0x3be1();}
@@ -1 +1 @@
1
- function a122_0x4106(){var _0x2a9258=['4713TzHfVF','9453789pXCjwl','exports','1211572iHBAlP','element','1822579ZcBAMp','40yCJAwq','screenshot','118xCSkBf','787770UeLfqq','7003304xFGPiV','auto','click','testcase','3609384UpGuIh','12bAprGN','7PCTmmb','driver','takeScreenshot','manual'];a122_0x4106=function(){return _0x2a9258;};return a122_0x4106();}var a122_0x500e08=a122_0x4385;(function(_0x5e2320,_0x578bd4){var _0x23c620=a122_0x4385,_0x33afd7=_0x5e2320();while(!![]){try{var _0x13eda6=-parseInt(_0x23c620(0x86))/0x1+parseInt(_0x23c620(0x8b))/0x2*(-parseInt(_0x23c620(0x83))/0x3)+-parseInt(_0x23c620(0x7e))/0x4*(-parseInt(_0x23c620(0x8c))/0x5)+parseInt(_0x23c620(0x7d))/0x6+-parseInt(_0x23c620(0x7f))/0x7*(parseInt(_0x23c620(0x8d))/0x8)+parseInt(_0x23c620(0x84))/0x9+-parseInt(_0x23c620(0x89))/0xa*(-parseInt(_0x23c620(0x88))/0xb);if(_0x13eda6===_0x578bd4)break;else _0x33afd7['push'](_0x33afd7['shift']());}catch(_0xce85d3){_0x33afd7['push'](_0x33afd7['shift']());}}}(a122_0x4106,0x945f1));var a122_0x5c6f59={};a122_0x5c6f59[a122_0x500e08(0x80)]=['takeScreenshot'],a122_0x5c6f59[a122_0x500e08(0x87)]=[a122_0x500e08(0x7b),'sendKeys'];var a122_0x2d5b78={};a122_0x2d5b78[a122_0x500e08(0x80)]=[a122_0x500e08(0x81)];var a122_0x5f0d0e={};function a122_0x4385(_0x1f5b3e,_0x5673f8){var _0x41068b=a122_0x4106();return a122_0x4385=function(_0x4385cc,_0x3a4f7b){_0x4385cc=_0x4385cc-0x7b;var _0x3f5ebc=_0x41068b[_0x4385cc];return _0x3f5ebc;},a122_0x4385(_0x1f5b3e,_0x5673f8);}a122_0x5f0d0e[a122_0x500e08(0x87)]=['click'];var a122_0x30ef17={};a122_0x30ef17[a122_0x500e08(0x8e)]=a122_0x5c6f59,a122_0x30ef17[a122_0x500e08(0x8a)]=a122_0x2d5b78,a122_0x30ef17['click']=a122_0x5f0d0e,a122_0x30ef17[a122_0x500e08(0x7c)]={},a122_0x30ef17[a122_0x500e08(0x82)]={},module[a122_0x500e08(0x85)]=a122_0x30ef17;
1
+ var a127_0x47e079=a127_0x5d93;function a127_0x3b2b(){var _0x172706=['10snhDAH','7QqQjJY','9cGRstW','exports','30608NsMvgX','214608PYVwuD','testcase','screenshot','element','driver','takeScreenshot','4228477oMmUCK','click','13230qHSnQu','2095dxPuQT','2555295QErivz','1228068uPKLny','8194823Eilmoe'];a127_0x3b2b=function(){return _0x172706;};return a127_0x3b2b();}(function(_0x58ee83,_0x27f18e){var _0x167a59=a127_0x5d93,_0x29c769=_0x58ee83();while(!![]){try{var _0x2cbb02=-parseInt(_0x167a59(0x1b3))/0x1*(parseInt(_0x167a59(0x1b6))/0x2)+parseInt(_0x167a59(0x1c1))/0x3+-parseInt(_0x167a59(0x1c2))/0x4+-parseInt(_0x167a59(0x1c0))/0x5*(-parseInt(_0x167a59(0x1bf))/0x6)+-parseInt(_0x167a59(0x1c3))/0x7+parseInt(_0x167a59(0x1b7))/0x8*(parseInt(_0x167a59(0x1b4))/0x9)+-parseInt(_0x167a59(0x1b2))/0xa*(-parseInt(_0x167a59(0x1bd))/0xb);if(_0x2cbb02===_0x27f18e)break;else _0x29c769['push'](_0x29c769['shift']());}catch(_0x534127){_0x29c769['push'](_0x29c769['shift']());}}}(a127_0x3b2b,0x92fcb));var a127_0x295759={};a127_0x295759[a127_0x47e079(0x1bb)]=[a127_0x47e079(0x1bc)],a127_0x295759[a127_0x47e079(0x1ba)]=[a127_0x47e079(0x1be),'sendKeys'];function a127_0x5d93(_0x5729bf,_0x28760c){var _0x3b2b79=a127_0x3b2b();return a127_0x5d93=function(_0x5d933c,_0x5b8a74){_0x5d933c=_0x5d933c-0x1b2;var _0x45c00e=_0x3b2b79[_0x5d933c];return _0x45c00e;},a127_0x5d93(_0x5729bf,_0x28760c);}var a127_0x41dffa={};a127_0x41dffa[a127_0x47e079(0x1bb)]=['takeScreenshot'];var a127_0x539595={};a127_0x539595[a127_0x47e079(0x1ba)]=[a127_0x47e079(0x1be)];var a127_0x468717={};a127_0x468717['auto']=a127_0x295759,a127_0x468717[a127_0x47e079(0x1b9)]=a127_0x41dffa,a127_0x468717[a127_0x47e079(0x1be)]=a127_0x539595,a127_0x468717[a127_0x47e079(0x1b8)]={},a127_0x468717['manual']={},module[a127_0x47e079(0x1b5)]=a127_0x468717;
@@ -1 +1 @@
1
- const a123_0x2e84cf=a123_0x319b;function a123_0x319b(_0x41b7d5,_0x51178c){const _0x463376=a123_0x4633();return a123_0x319b=function(_0x319bad,_0xe6066d){_0x319bad=_0x319bad-0x73;let _0x2ee03a=_0x463376[_0x319bad];return _0x2ee03a;},a123_0x319b(_0x41b7d5,_0x51178c);}(function(_0x5bb701,_0xfaa32d){const _0x23b5f1=a123_0x319b,_0x1473be=_0x5bb701();while(!![]){try{const _0x538260=-parseInt(_0x23b5f1(0x88))/0x1*(parseInt(_0x23b5f1(0x75))/0x2)+parseInt(_0x23b5f1(0x87))/0x3+-parseInt(_0x23b5f1(0x83))/0x4*(parseInt(_0x23b5f1(0x97))/0x5)+-parseInt(_0x23b5f1(0x7f))/0x6+parseInt(_0x23b5f1(0x7a))/0x7*(parseInt(_0x23b5f1(0x8b))/0x8)+parseInt(_0x23b5f1(0x77))/0x9*(-parseInt(_0x23b5f1(0x86))/0xa)+parseInt(_0x23b5f1(0x73))/0xb;if(_0x538260===_0xfaa32d)break;else _0x1473be['push'](_0x1473be['shift']());}catch(_0x5007b7){_0x1473be['push'](_0x1473be['shift']());}}}(a123_0x4633,0x4a43b));const tryRequire=function(_0x462684,_0x2b7417){const _0x13f9c1=a123_0x319b,_0x37597c={'zOJDC':function(_0x1379df,_0x1aaad9){return _0x1379df(_0x1aaad9);}};try{return _0x37597c[_0x13f9c1(0x8d)](require,_0x462684);}catch{return _0x2b7417;}},percySnapshot=tryRequire(a123_0x2e84cf(0x9b),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a123_0x2e84cf(0x90)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a123_0x2e84cf(0x84)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants'),logger=require(a123_0x2e84cf(0x81))['winstonLogger'];percySnapshot&&(exports[a123_0x2e84cf(0x96)]=async function(){const _0x589b44=a123_0x2e84cf,_0xf84e25={'jsJfn':function(_0x454f9e,_0x45e9be){return _0x454f9e!==_0x45e9be;},'tBydV':function(_0x571e46,_0x552e98){return _0x571e46>=_0x552e98;},'SloKz':function(_0x41e9d4){return _0x41e9d4();}};if(global['browserstackPlatformIndex']&&_0xf84e25[_0x589b44(0x8e)](global['browserstackPlatformIndex'],global[_0x589b44(0x95)]))return;const _0x26be1e=_0xf84e25[_0x589b44(0x76)](arguments[_0x589b44(0x8a)],0x2)?arguments[0x1]:'',_0x1ca3d8=_0xf84e25[_0x589b44(0x91)](getCurrentTestData),_0x3728f0={};return _0x3728f0[_0x589b44(0x85)]=_0x26be1e,_0x3728f0[_0x589b44(0x92)]=_0x1ca3d8[_0x589b44(0x85)]||'',_0x3728f0[_0x589b44(0x89)]=_0x1ca3d8['uuid']||'',_0x3728f0['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester[_0x589b44(0x80)](PerformanceEvents['SNAPSHOT'],()=>percySnapshot[_0x589b44(0x82)](null,arguments),_0x3728f0);});function a123_0x4633(){const _0x38a2a1=['SCREENSHOT_APP','14IGOIjL','tBydV','9CQtNrS','SCREENSHOT','wuHeW','343xAPlLE','error','screenshot','ecMSf','Unsupported\x20driver\x20for\x20percy','2288454UUluHL','measure','../logger','apply','136dapbFz','../performance/performance-tester','name','510290FxQjvV','350586XPvzUq','31891VxuVIy','thTestCaseExecutionId','length','48424lJNEoU','KzNvO','zOJDC','jsJfn','platformIndex','@percy/appium-app','SloKz','testCase','wRFWU','uuid','browserstackPercyBestPlatform','snapshot','68910pKTCXF','screenshotApp','browserstackPlatformIndex','WWAPV','@percy/selenium-webdriver','11164901WmCaru'];a123_0x4633=function(){return _0x38a2a1;};return a123_0x4633();}percyScreenshot?exports['screenshot']=async function(){const _0x5f3624=a123_0x2e84cf,_0x4cacc8={'wRFWU':function(_0xc680a1,_0x1e5e0d){return _0xc680a1>=_0x1e5e0d;},'KzNvO':function(_0x4aec3f){return _0x4aec3f();}},_0xe053d2=_0x4cacc8[_0x5f3624(0x93)](arguments[_0x5f3624(0x8a)],0x2)?arguments[0x1]:'',_0xe7fa56=_0x4cacc8[_0x5f3624(0x8c)](getCurrentTestData),_0x2e7dc0={};return _0x2e7dc0['name']=_0xe053d2,_0x2e7dc0['testCase']=_0xe7fa56[_0x5f3624(0x85)]||'',_0x2e7dc0[_0x5f3624(0x89)]=_0xe7fa56[_0x5f3624(0x94)]||'',_0x2e7dc0[_0x5f3624(0x8f)]=global[_0x5f3624(0x99)],await PerformanceTester['measure'](PerformanceEvents[_0x5f3624(0x78)],()=>percyScreenshot[_0x5f3624(0x82)](null,arguments),_0x2e7dc0);}:exports[a123_0x2e84cf(0x7c)]=()=>{const _0x59075b=a123_0x2e84cf,_0x56fe4b={};_0x56fe4b['WWAPV']=_0x59075b(0x7e);const _0x44c832=_0x56fe4b;logger[_0x59075b(0x7b)](_0x44c832[_0x59075b(0x9a)]);};exports[a123_0x2e84cf(0x98)]=async function(){const _0x554e7c=a123_0x2e84cf,_0x92ad03={'ecMSf':function(_0x4c8c96,_0x38bdaa){return _0x4c8c96>=_0x38bdaa;},'wuHeW':function(_0x54ecef){return _0x54ecef();}},_0x357007=_0x92ad03[_0x554e7c(0x7d)](arguments['length'],0x2)?arguments[0x1]:'',_0x283cc2=_0x92ad03[_0x554e7c(0x79)](getCurrentTestData),_0x4c91f={};return _0x4c91f[_0x554e7c(0x85)]=_0x357007,_0x4c91f[_0x554e7c(0x92)]=_0x283cc2[_0x554e7c(0x85)]||'',_0x4c91f['thTestCaseExecutionId']=_0x283cc2[_0x554e7c(0x94)]||'',_0x4c91f[_0x554e7c(0x8f)]=global[_0x554e7c(0x99)],await PerformanceTester['measure'](PerformanceEvents[_0x554e7c(0x74)],()=>percyAppScreenshot[_0x554e7c(0x82)](null,arguments),_0x4c91f);};
1
+ const a128_0x2b8c8d=a128_0x5abc;(function(_0x2c0002,_0x1e8495){const _0x28379d=a128_0x5abc,_0x196a70=_0x2c0002();while(!![]){try{const _0x29b3c2=parseInt(_0x28379d(0x13b))/0x1*(parseInt(_0x28379d(0x13c))/0x2)+parseInt(_0x28379d(0x149))/0x3*(-parseInt(_0x28379d(0x14e))/0x4)+-parseInt(_0x28379d(0x136))/0x5*(parseInt(_0x28379d(0x143))/0x6)+parseInt(_0x28379d(0x13f))/0x7+-parseInt(_0x28379d(0x15a))/0x8+-parseInt(_0x28379d(0x139))/0x9+parseInt(_0x28379d(0x158))/0xa;if(_0x29b3c2===_0x1e8495)break;else _0x196a70['push'](_0x196a70['shift']());}catch(_0x1a1753){_0x196a70['push'](_0x196a70['shift']());}}}(a128_0x378a,0xca5b4));const tryRequire=function(_0xa6ee88,_0x459c93){const _0x4e30d7=a128_0x5abc,_0x3f9eab={'VKQII':function(_0x251d1b,_0xe51b1d){return _0x251d1b(_0xe51b1d);}};try{return _0x3f9eab[_0x4e30d7(0x144)](require,_0xa6ee88);}catch{return _0x459c93;}},percySnapshot=tryRequire(a128_0x2b8c8d(0x137),null),{percyScreenshot}=tryRequire(a128_0x2b8c8d(0x137),{}),percyAppScreenshot=require(a128_0x2b8c8d(0x151)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a128_0x2b8c8d(0x14f)),{PERCY_EVENTS:PerformanceEvents}=require(a128_0x2b8c8d(0x150)),logger=require(a128_0x2b8c8d(0x154))[a128_0x2b8c8d(0x152)];function a128_0x5abc(_0x10bb6f,_0x3693d4){const _0x378a38=a128_0x378a();return a128_0x5abc=function(_0x5abc5a,_0x451f26){_0x5abc5a=_0x5abc5a-0x132;let _0x4a1288=_0x378a38[_0x5abc5a];return _0x4a1288;},a128_0x5abc(_0x10bb6f,_0x3693d4);}percySnapshot&&(exports[a128_0x2b8c8d(0x138)]=async function(){const _0x58477b=a128_0x2b8c8d,_0xc66417={'udRRA':function(_0x46f8f6,_0x48b862){return _0x46f8f6!==_0x48b862;},'FVYLV':function(_0x53e225,_0x179d27){return _0x53e225>=_0x179d27;},'xQXbD':function(_0x5040aa){return _0x5040aa();}};if(global[_0x58477b(0x14c)]&&_0xc66417[_0x58477b(0x157)](global[_0x58477b(0x14c)],global[_0x58477b(0x14d)]))return;const _0x1523fa=_0xc66417[_0x58477b(0x153)](arguments[_0x58477b(0x13d)],0x2)?arguments[0x1]:'',_0x37859d=_0xc66417[_0x58477b(0x133)](getCurrentTestData),_0x4729b1={};return _0x4729b1[_0x58477b(0x142)]=_0x1523fa,_0x4729b1[_0x58477b(0x13e)]=_0x37859d[_0x58477b(0x142)]||'',_0x4729b1[_0x58477b(0x145)]=_0x37859d[_0x58477b(0x155)]||'',_0x4729b1['platformIndex']=global[_0x58477b(0x14c)],await PerformanceTester[_0x58477b(0x135)](PerformanceEvents[_0x58477b(0x156)],()=>percySnapshot['apply'](null,arguments),_0x4729b1);});function a128_0x378a(){const _0x1ada98=['../logger','uuid','SNAPSHOT','udRRA','23010430bILSsX','dSTuW','992352iRmcSZ','screenshot','xQXbD','SCREENSHOT_APP','measure','35imdLPt','@percy/selenium-webdriver','snapshot','13212648osRKAa','xGgUF','3pmGRLp','999820iLNfLy','length','testCase','10950044NetMUK','pbcmS','screenshotApp','name','1314030tkWDrz','VKQII','thTestCaseExecutionId','QfSCN','eZaMu','SCREENSHOT','9TCXLmV','apply','Unsupported\x20driver\x20for\x20percy','browserstackPlatformIndex','browserstackPercyBestPlatform','1881416qzSNan','../performance/performance-tester','../performance/constants','@percy/appium-app','winstonLogger','FVYLV'];a128_0x378a=function(){return _0x1ada98;};return a128_0x378a();}percyScreenshot?exports['screenshot']=async function(){const _0xc63c74=a128_0x2b8c8d,_0x37fa3c={'eZaMu':function(_0x2816f9,_0x91db4e){return _0x2816f9>=_0x91db4e;},'xGgUF':function(_0x3d9f4a){return _0x3d9f4a();}},_0x122364=_0x37fa3c[_0xc63c74(0x147)](arguments[_0xc63c74(0x13d)],0x2)?arguments[0x1]:'',_0x34db78=_0x37fa3c[_0xc63c74(0x13a)](getCurrentTestData),_0x5b1d3d={};return _0x5b1d3d[_0xc63c74(0x142)]=_0x122364,_0x5b1d3d[_0xc63c74(0x13e)]=_0x34db78[_0xc63c74(0x142)]||'',_0x5b1d3d[_0xc63c74(0x145)]=_0x34db78[_0xc63c74(0x155)]||'',_0x5b1d3d['platformIndex']=global[_0xc63c74(0x14c)],await PerformanceTester[_0xc63c74(0x135)](PerformanceEvents[_0xc63c74(0x148)],()=>percyScreenshot[_0xc63c74(0x14a)](null,arguments),_0x5b1d3d);}:exports[a128_0x2b8c8d(0x132)]=()=>{const _0x2c8c4e=a128_0x2b8c8d,_0x3c06db={};_0x3c06db[_0x2c8c4e(0x140)]=_0x2c8c4e(0x14b);const _0x2caa6e=_0x3c06db;logger['error'](_0x2caa6e[_0x2c8c4e(0x140)]);};exports[a128_0x2b8c8d(0x141)]=async function(){const _0x76d891=a128_0x2b8c8d,_0x33c2bb={'dSTuW':function(_0xd075f2,_0x536c98){return _0xd075f2>=_0x536c98;},'QfSCN':function(_0x2dce1e){return _0x2dce1e();}},_0x1f82e8=_0x33c2bb[_0x76d891(0x159)](arguments[_0x76d891(0x13d)],0x2)?arguments[0x1]:'',_0x5aed61=_0x33c2bb[_0x76d891(0x146)](getCurrentTestData),_0x4e0bfd={};return _0x4e0bfd['name']=_0x1f82e8,_0x4e0bfd[_0x76d891(0x13e)]=_0x5aed61['name']||'',_0x4e0bfd['thTestCaseExecutionId']=_0x5aed61['uuid']||'',_0x4e0bfd['platformIndex']=global['browserstackPlatformIndex'],await PerformanceTester[_0x76d891(0x135)](PerformanceEvents[_0x76d891(0x134)],()=>percyAppScreenshot['apply'](null,arguments),_0x4e0bfd);};
@@ -1 +1 @@
1
- var a124_0x5b8836=a124_0x4298;function a124_0x4298(_0x397b43,_0x2dbdc2){var _0x5605b9=a124_0x5605();return a124_0x4298=function(_0x429800,_0x3d3e33){_0x429800=_0x429800-0x65;var _0x362487=_0x5605b9[_0x429800];return _0x362487;},a124_0x4298(_0x397b43,_0x2dbdc2);}(function(_0x2bd16d,_0x213d64){var _0xd5034b=a124_0x4298,_0x4747de=_0x2bd16d();while(!![]){try{var _0x57ebde=-parseInt(_0xd5034b(0x66))/0x1*(-parseInt(_0xd5034b(0x68))/0x2)+-parseInt(_0xd5034b(0x6a))/0x3+-parseInt(_0xd5034b(0x6d))/0x4+parseInt(_0xd5034b(0x6e))/0x5*(-parseInt(_0xd5034b(0x6f))/0x6)+-parseInt(_0xd5034b(0x69))/0x7+parseInt(_0xd5034b(0x6b))/0x8*(-parseInt(_0xd5034b(0x65))/0x9)+parseInt(_0xd5034b(0x6c))/0xa;if(_0x57ebde===_0x213d64)break;else _0x4747de['push'](_0x4747de['shift']());}catch(_0x3f8f6b){_0x4747de['push'](_0x4747de['shift']());}}}(a124_0x5605,0xf3e68),module[a124_0x5b8836(0x67)]=require('./Percy'));function a124_0x5605(){var _0x13332b=['4290CWMyxq','981EsxnNm','1432859HQipHC','exports','2OdBqXp','11484697pAwfnI','1138158TYprfn','96232MIekAW','51027760JvZyBe','7217144nlsDcT','2805EftteI'];a124_0x5605=function(){return _0x13332b;};return a124_0x5605();}
1
+ var a129_0x4e7c73=a129_0x3747;function a129_0x3747(_0xe4b615,_0x4755fb){var _0x457b8d=a129_0x457b();return a129_0x3747=function(_0x3747e4,_0x12a8bd){_0x3747e4=_0x3747e4-0x145;var _0x1cf999=_0x457b8d[_0x3747e4];return _0x1cf999;},a129_0x3747(_0xe4b615,_0x4755fb);}function a129_0x457b(){var _0xca60fc=['364314VnCWVj','1293990DstxDE','./Percy','433682KpqVuX','3wjYeHq','exports','99BqpHrb','40pXtqbx','891028urNsdM','21dnhLXa','932004pBLOgW','3746725CFauis','1926030XATgga'];a129_0x457b=function(){return _0xca60fc;};return a129_0x457b();}(function(_0x55b178,_0x2215cd){var _0x2b4b11=a129_0x3747,_0x2b07a5=_0x55b178();while(!![]){try{var _0x9ab153=parseInt(_0x2b4b11(0x151))/0x1*(parseInt(_0x2b4b11(0x150))/0x2)+-parseInt(_0x2b4b11(0x14c))/0x3+-parseInt(_0x2b4b11(0x148))/0x4+-parseInt(_0x2b4b11(0x14b))/0x5+-parseInt(_0x2b4b11(0x14d))/0x6*(parseInt(_0x2b4b11(0x149))/0x7)+parseInt(_0x2b4b11(0x147))/0x8*(parseInt(_0x2b4b11(0x14a))/0x9)+parseInt(_0x2b4b11(0x14e))/0xa*(parseInt(_0x2b4b11(0x146))/0xb);if(_0x9ab153===_0x2215cd)break;else _0x2b07a5['push'](_0x2b07a5['shift']());}catch(_0x4acd59){_0x2b07a5['push'](_0x2b07a5['shift']());}}}(a129_0x457b,0x83031),module[a129_0x4e7c73(0x145)]=require(a129_0x4e7c73(0x14f)));
@@ -1 +1 @@
1
- function a125_0x543b(){const _0x4651da=['patch','./Percy','screenshot','2928635gPgwbi','693944oegiaA','EFUNr','isUndefined','error','XPman','getDriver','\x20for\x20percy\x20','element','qlztz','189UxVKRl','platforms','qwmdt','patchDriverPercy','getName','899682wJcueQ','apply','dmxmA','YLYTg','browserstackSessionName','./PercyCaptureMap','prototype','gwNPo','deviceName','2571072Ifoaaf','init','percyAutoCapture','forEach','GiuFC','TFlFw','Starting\x20percy','winstonLogger','STOP','browserName','../performance/constants','2710708rwqqSz','manual','dhGCK','APlpM','getPercyOptions','measureWrapper','browserstackPercyMap','edge','debug','Stopping\x20percy','./PercyCaptureModes','overrideXforPercy','stop','percy','increment','AUTO_CAPTURE','Error\x20patching\x20','50272BIOQJU','../helper','204ykZmvD','toLowerCase','browserStackPercyOptions','getBestPlatformForPercySnapshot','nzbgb','auto','nestedKeyValue','../performance/performance-tester','542375nVBmor','browser','driver','browserstackPercyBestPlatform','firefox','safari','percyCaptureMode'];a125_0x543b=function(){return _0x4651da;};return a125_0x543b();}const a125_0x3d93f4=a125_0x12fd;function a125_0x12fd(_0x1b7868,_0x36b937){const _0x543b01=a125_0x543b();return a125_0x12fd=function(_0x12fda1,_0x470d96){_0x12fda1=_0x12fda1-0x1df;let _0x3680c2=_0x543b01[_0x12fda1];return _0x3680c2;},a125_0x12fd(_0x1b7868,_0x36b937);}(function(_0x29046a,_0x42dcf0){const _0x3cc86f=a125_0x12fd,_0x4c3d7d=_0x29046a();while(!![]){try{const _0x47a0eb=parseInt(_0x3cc86f(0x1f0))/0x1+-parseInt(_0x3cc86f(0x209))/0x2+-parseInt(_0x3cc86f(0x1e8))/0x3*(-parseInt(_0x3cc86f(0x1e6))/0x4)+parseInt(_0x3cc86f(0x1fa))/0x5+parseInt(_0x3cc86f(0x212))/0x6+parseInt(_0x3cc86f(0x21d))/0x7+-parseInt(_0x3cc86f(0x1fb))/0x8*(parseInt(_0x3cc86f(0x204))/0x9);if(_0x47a0eb===_0x42dcf0)break;else _0x4c3d7d['push'](_0x4c3d7d['shift']());}catch(_0x12d877){_0x4c3d7d['push'](_0x4c3d7d['shift']());}}}(a125_0x543b,0x80abe));const Percy=require(a125_0x3d93f4(0x1f8)),PercySDK=require('./PercySDK'),PercyCaptureModes=require(a125_0x3d93f4(0x1df)),PercyCaptureMap=require(a125_0x3d93f4(0x20e)),logger=require('../logger')[a125_0x3d93f4(0x219)],helper=require(a125_0x3d93f4(0x1e7)),PerformanceTester=require(a125_0x3d93f4(0x1ef)),{PERCY_EVENTS:PerformanceEvents}=require(a125_0x3d93f4(0x21c));exports['startPercy']=PerformanceTester[a125_0x3d93f4(0x222)](PerformanceEvents['START'],async _0x1ef349=>{const _0xe33a17=a125_0x3d93f4,_0x13f3ad={};_0x13f3ad[_0xe33a17(0x1ff)]=_0xe33a17(0x218);const _0x187f1d=_0x13f3ad;logger[_0xe33a17(0x225)](_0x187f1d['XPman']);const _0x132b90=new Percy(_0x1ef349),_0x2e40b7=await _0x132b90['start']();if(_0x2e40b7)return _0x132b90;return null;}),exports['stopPercy']=PerformanceTester[a125_0x3d93f4(0x222)](PerformanceEvents[a125_0x3d93f4(0x21a)],async _0x4fb612=>{const _0x1308a7=a125_0x3d93f4,_0x3e9eee={};_0x3e9eee['TFlFw']=_0x1308a7(0x226);const _0x2674bf=_0x3e9eee;return logger[_0x1308a7(0x225)](_0x2674bf[_0x1308a7(0x217)]),_0x4fb612[_0x1308a7(0x1e1)]();}),exports[a125_0x3d93f4(0x1eb)]=_0x50818d=>{const _0x5e0101=a125_0x3d93f4,_0x542573={};_0x542573[_0x5e0101(0x216)]=function(_0x8bced2,_0x4a03b3){return _0x8bced2<_0x4a03b3;};const _0x7ee3d3=_0x542573,_0x309884={};_0x309884['chrome']=0x0,_0x309884[_0x5e0101(0x1f4)]=0x1,_0x309884[_0x5e0101(0x224)]=0x2,_0x309884[_0x5e0101(0x1f5)]=0x3;const _0x453250=_0x309884;return _0x50818d['reduce']((_0x5ee03a,_0xdfb39a,_0x2f2d54)=>{const _0x52bb6e=_0x5e0101,_0x367b6e=_0x50818d[_0x5ee03a];if(_0xdfb39a[_0x52bb6e(0x211)])return _0x5ee03a;if(_0x367b6e[_0x52bb6e(0x211)])return _0x2f2d54;const _0x501203=_0xdfb39a[_0x52bb6e(0x1f1)]?_0xdfb39a[_0x52bb6e(0x1f1)]:_0xdfb39a[_0x52bb6e(0x21b)];if(_0x501203&&_0x7ee3d3[_0x52bb6e(0x216)](_0x453250[_0x501203['toLowerCase']()],_0x453250[_0x501203[_0x52bb6e(0x1e9)]()]))return _0x2f2d54;return _0x5ee03a;},0x0);},exports['percyAutoCapture']=PerformanceTester[a125_0x3d93f4(0x222)](PerformanceEvents[a125_0x3d93f4(0x1e4)],async(_0x1d1cca,_0x1332e1,_0x390112)=>{const _0x5a6b78=a125_0x3d93f4,_0x236963={};_0x236963['qwmdt']='Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present';const _0xa24719=_0x236963,_0x53d58d=_0x1d1cca[_0x5a6b78(0x223)];if(helper[_0x5a6b78(0x1fd)](_0x1d1cca[_0x5a6b78(0x20d)])){logger['debug'](_0xa24719[_0x5a6b78(0x206)]);return;}const _0x19e5d4=_0x53d58d[_0x5a6b78(0x208)](_0x1d1cca['browserstackSessionName'],_0x1332e1);_0x390112['app']?await PercySDK['screenshotApp'](_0x1d1cca,_0x19e5d4):await PercySDK[_0x5a6b78(0x1f9)](_0x1d1cca,_0x19e5d4),_0x53d58d[_0x5a6b78(0x1e3)](_0x1d1cca[_0x5a6b78(0x20d)],_0x1332e1);}),exports[a125_0x3d93f4(0x207)]=(_0x163a10,_0x5e4ba6,_0x21b907)=>{const _0x112190=a125_0x3d93f4,_0x5efe6b={};_0x5efe6b[_0x112190(0x21f)]=_0x112190(0x1ea),_0x5efe6b[_0x112190(0x220)]='percy',_0x5efe6b[_0x112190(0x1fc)]=function(_0x2a2ffc,_0xbd7660){return _0x2a2ffc!==_0xbd7660;},_0x5efe6b[_0x112190(0x203)]=_0x112190(0x21e);const _0x3a35e1=_0x5efe6b;if(!helper[_0x112190(0x1ee)](_0x21b907,[_0x3a35e1[_0x112190(0x21f)],_0x3a35e1[_0x112190(0x220)]]))return;if(_0x21b907[_0x112190(0x1ea)][_0x112190(0x1e2)]&&_0x21b907['browserStackPercyOptions'][_0x112190(0x1f6)]&&_0x3a35e1['EFUNr'](_0x21b907[_0x112190(0x1ea)][_0x112190(0x1f6)],_0x3a35e1[_0x112190(0x203)])&&!_0x163a10[_0x112190(0x223)]){global[_0x112190(0x20d)]&&(_0x163a10[_0x112190(0x20d)]=global[_0x112190(0x20d)]),_0x163a10[_0x112190(0x223)]=new PercyCaptureMap();const _0x8df1f1=PercyCaptureModes[_0x21b907['browserStackPercyOptions'][_0x112190(0x1f6)]];_0x8df1f1[_0x112190(0x1f2)]&&_0x8df1f1[_0x112190(0x1f2)][_0x112190(0x215)](_0x247741=>this[_0x112190(0x1e0)](_0x163a10,_0x247741,_0x21b907)),_0x8df1f1['element']&&_0x8df1f1[_0x112190(0x202)][_0x112190(0x215)](_0x56a5b5=>{const _0xa0c1c=_0x112190;if(_0x5e4ba6[_0xa0c1c(0x20f)][_0xa0c1c(0x1f7)+_0x56a5b5])return;_0x5e4ba6[_0xa0c1c(0x20f)][_0xa0c1c(0x1f7)+_0x56a5b5]=!![];const _0x5d64a0=_0x5e4ba6[_0xa0c1c(0x20f)][_0x56a5b5];_0x5e4ba6[_0xa0c1c(0x20f)][_0x56a5b5]=async function(){const _0x20caf0=_0xa0c1c;let _0x46dab1=_0x5d64a0[_0x20caf0(0x20a)](this,arguments);_0x46dab1&&_0x46dab1['then']&&(_0x46dab1=await _0x46dab1);try{const _0x46946d=this[_0x20caf0(0x200)]();await exports[_0x20caf0(0x214)](_0x46946d,_0x56a5b5,_0x21b907);}catch(_0x3716e5){logger[_0x20caf0(0x1fe)](_0x20caf0(0x1e5)+_0x56a5b5+'\x20for\x20percy\x20'+_0x3716e5);}return _0x46dab1;};});}},exports[a125_0x3d93f4(0x1e0)]=function(_0x5db06a,_0x24d74f,_0x35f21f){const _0x3c6e95=a125_0x3d93f4,_0x4f30a8={};_0x4f30a8['dmxmA']=function(_0x10bd03,_0x5740f4){return _0x10bd03+_0x5740f4;},_0x4f30a8[_0x3c6e95(0x210)]=_0x3c6e95(0x1f7),_0x4f30a8[_0x3c6e95(0x20c)]=_0x3c6e95(0x213);const _0x14fdab=_0x4f30a8,_0xa5fe7f=_0x14fdab[_0x3c6e95(0x20b)](_0x14fdab[_0x3c6e95(0x210)],_0x24d74f),_0x4fc22b=_0x14fdab[_0x3c6e95(0x20b)](_0x14fdab[_0x3c6e95(0x20c)],_0x24d74f),_0x23e563=this;if(_0x5db06a[_0xa5fe7f]||!_0x5db06a[_0x24d74f])return;_0x5db06a[_0xa5fe7f]=!![],_0x5db06a[_0x4fc22b]=_0x5db06a[_0x24d74f],_0x5db06a[_0x24d74f]=async()=>{const _0x48ca0b=_0x3c6e95;try{await _0x23e563[_0x48ca0b(0x214)](_0x5db06a,_0x24d74f,_0x35f21f);}catch(_0xfadff5){logger['error'](_0x48ca0b(0x1e5)+_0x24d74f+_0x48ca0b(0x201)+_0xfadff5);}return await _0x5db06a[_0x4fc22b][_0x48ca0b(0x20a)](_0x5db06a,arguments);};},exports[a125_0x3d93f4(0x221)]=_0xfdeca7=>{const _0x13d579=a125_0x3d93f4,_0x1e5bae={};_0x1e5bae[_0x13d579(0x1ec)]=_0x13d579(0x1ed);const _0x5cb7a8=_0x1e5bae,_0x4a7a40={};_0x4a7a40[_0x13d579(0x1e2)]=_0xfdeca7['percy'],_0x4a7a40[_0x13d579(0x1f6)]=_0xfdeca7['percyCaptureMode']||_0x5cb7a8[_0x13d579(0x1ec)];const _0x738aec=_0x4a7a40;_0xfdeca7[_0x13d579(0x1e2)]&&(_0x738aec[_0x13d579(0x1f3)]=exports['getBestPlatformForPercySnapshot'](_0xfdeca7[_0x13d579(0x205)]));;return _0x738aec;};
1
+ function a130_0x5be1(){const _0xc8ec61=['start','deviceName','browser','./PercyCaptureModes','getPercyOptions','12872PHIaBz','AUTO_CAPTURE','safari','browserStackPercyOptions','getBestPlatformForPercySnapshot','measureWrapper','stop','prototype','app','percyCaptureMode','overrideXforPercy','Starting\x20percy','../helper','driver','./Percy','isUndefined','../logger','browserstackPercyMap','percyAutoCapture','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','12ICAljb','LmReZ','cApKj','Error\x20patching\x20','screenshot','2033780PFXhDs','70021hxPYHr','startPercy','toLowerCase','getName','apFhs','error','patch','nestedKeyValue','1941100cnZePo','percy','BsZlM','DXKpk','1643494XScaBv','EJoTb','XyNcW','browserName','element','screenshotApp','402WmaiSf','33522060gZIMeR','dgWvs','getDriver','KsaYp','SWxFr','4vDHtZe','./PercySDK','forEach','increment','../performance/performance-tester','patchDriverPercy','browserstackSessionName','Wyxdy','NAIJU','START','init','STOP','6SbVqyZ','browserstackPercyBestPlatform','759489KnCyyv','chrome','edge','3771MKXfjs','apply','./PercyCaptureMap','debug'];a130_0x5be1=function(){return _0xc8ec61;};return a130_0x5be1();}const a130_0x31c5a2=a130_0x5eb5;(function(_0x3d5ed9,_0x157bb9){const _0x521d56=a130_0x5eb5,_0x206ee4=_0x3d5ed9();while(!![]){try{const _0x3b3d25=-parseInt(_0x521d56(0xfc))/0x1+-parseInt(_0x521d56(0xe2))/0x2*(parseInt(_0x521d56(0xfa))/0x3)+parseInt(_0x521d56(0xee))/0x4*(parseInt(_0x521d56(0x12a))/0x5)+-parseInt(_0x521d56(0xe8))/0x6*(-parseInt(_0x521d56(0x122))/0x7)+parseInt(_0x521d56(0x108))/0x8*(-parseInt(_0x521d56(0xff))/0x9)+-parseInt(_0x521d56(0x121))/0xa+parseInt(_0x521d56(0xe9))/0xb*(parseInt(_0x521d56(0x11c))/0xc);if(_0x3b3d25===_0x157bb9)break;else _0x206ee4['push'](_0x206ee4['shift']());}catch(_0x1bd4e6){_0x206ee4['push'](_0x206ee4['shift']());}}}(a130_0x5be1,0xc9805));function a130_0x5eb5(_0x26180f,_0x4dc725){const _0x5be1ef=a130_0x5be1();return a130_0x5eb5=function(_0x5eb51e,_0x6560ba){_0x5eb51e=_0x5eb51e-0xe2;let _0x15774e=_0x5be1ef[_0x5eb51e];return _0x15774e;},a130_0x5eb5(_0x26180f,_0x4dc725);}const Percy=require(a130_0x31c5a2(0x116)),PercySDK=require(a130_0x31c5a2(0xef)),PercyCaptureModes=require(a130_0x31c5a2(0x106)),PercyCaptureMap=require(a130_0x31c5a2(0x101)),logger=require(a130_0x31c5a2(0x118))['winstonLogger'],helper=require(a130_0x31c5a2(0x114)),PerformanceTester=require(a130_0x31c5a2(0xf2)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');exports[a130_0x31c5a2(0x123)]=PerformanceTester[a130_0x31c5a2(0x10d)](PerformanceEvents[a130_0x31c5a2(0xf7)],async _0x4b9ec4=>{const _0x276a69=a130_0x31c5a2,_0xec95b9={};_0xec95b9[_0x276a69(0xe4)]=_0x276a69(0x113);const _0x28cdcc=_0xec95b9;logger['debug'](_0x28cdcc['XyNcW']);const _0x505365=new Percy(_0x4b9ec4),_0x530e80=await _0x505365[_0x276a69(0x103)]();if(_0x530e80)return _0x505365;return null;}),exports['stopPercy']=PerformanceTester['measureWrapper'](PerformanceEvents[a130_0x31c5a2(0xf9)],async _0x1f03f3=>{const _0x294e09=a130_0x31c5a2,_0x39e37e={};_0x39e37e[_0x294e09(0x12d)]='Stopping\x20percy';const _0x5ecce9=_0x39e37e;return logger['debug'](_0x5ecce9[_0x294e09(0x12d)]),_0x1f03f3[_0x294e09(0x10e)]();}),exports[a130_0x31c5a2(0x10c)]=_0xfbf7b=>{const _0x4d9cc5=a130_0x31c5a2,_0x3f77e6={};_0x3f77e6[_0x4d9cc5(0xed)]=function(_0x419b56,_0x4b5c37){return _0x419b56<_0x4b5c37;};const _0x3f21aa=_0x3f77e6,_0x3855ee={};_0x3855ee[_0x4d9cc5(0xfd)]=0x0,_0x3855ee['firefox']=0x1,_0x3855ee[_0x4d9cc5(0xfe)]=0x2,_0x3855ee[_0x4d9cc5(0x10a)]=0x3;const _0x88622d=_0x3855ee;return _0xfbf7b['reduce']((_0x221102,_0x260239,_0x17bccc)=>{const _0x493d1e=_0x4d9cc5,_0x1557ff=_0xfbf7b[_0x221102];if(_0x260239[_0x493d1e(0x104)])return _0x221102;if(_0x1557ff[_0x493d1e(0x104)])return _0x17bccc;const _0x3f6f8e=_0x260239[_0x493d1e(0x105)]?_0x260239[_0x493d1e(0x105)]:_0x260239[_0x493d1e(0xe5)];if(_0x3f6f8e&&_0x3f21aa[_0x493d1e(0xed)](_0x88622d[_0x3f6f8e[_0x493d1e(0x124)]()],_0x88622d[_0x3f6f8e[_0x493d1e(0x124)]()]))return _0x17bccc;return _0x221102;},0x0);},exports[a130_0x31c5a2(0x11a)]=PerformanceTester[a130_0x31c5a2(0x10d)](PerformanceEvents[a130_0x31c5a2(0x109)],async(_0x5f2160,_0x3beab5,_0x34e0be)=>{const _0x2e1e21=a130_0x31c5a2,_0x1a4e2f={};_0x1a4e2f[_0x2e1e21(0xe3)]=_0x2e1e21(0x11b);const _0xaba7fa=_0x1a4e2f,_0x39d3b4=_0x5f2160['browserstackPercyMap'];if(helper[_0x2e1e21(0x117)](_0x5f2160[_0x2e1e21(0xf4)])){logger[_0x2e1e21(0x102)](_0xaba7fa[_0x2e1e21(0xe3)]);return;}const _0x499967=_0x39d3b4[_0x2e1e21(0x125)](_0x5f2160[_0x2e1e21(0xf4)],_0x3beab5);_0x34e0be[_0x2e1e21(0x110)]?await PercySDK[_0x2e1e21(0xe7)](_0x5f2160,_0x499967):await PercySDK[_0x2e1e21(0x120)](_0x5f2160,_0x499967),_0x39d3b4[_0x2e1e21(0xf1)](_0x5f2160[_0x2e1e21(0xf4)],_0x3beab5);}),exports[a130_0x31c5a2(0xf3)]=(_0x20a650,_0x17d391,_0x5e1909)=>{const _0x5a3311=a130_0x31c5a2,_0x5cfc04={};_0x5cfc04[_0x5a3311(0xf6)]=_0x5a3311(0x10b),_0x5cfc04[_0x5a3311(0x11d)]=_0x5a3311(0x12b),_0x5cfc04[_0x5a3311(0x12c)]=function(_0x364153,_0x21fa50){return _0x364153!==_0x21fa50;},_0x5cfc04[_0x5a3311(0xec)]='manual';const _0x44e3ca=_0x5cfc04;if(!helper[_0x5a3311(0x129)](_0x5e1909,[_0x44e3ca['NAIJU'],_0x44e3ca[_0x5a3311(0x11d)]]))return;if(_0x5e1909[_0x5a3311(0x10b)][_0x5a3311(0x12b)]&&_0x5e1909['browserStackPercyOptions'][_0x5a3311(0x111)]&&_0x44e3ca[_0x5a3311(0x12c)](_0x5e1909[_0x5a3311(0x10b)][_0x5a3311(0x111)],_0x44e3ca[_0x5a3311(0xec)])&&!_0x20a650[_0x5a3311(0x119)]){global[_0x5a3311(0xf4)]&&(_0x20a650['browserstackSessionName']=global[_0x5a3311(0xf4)]),_0x20a650[_0x5a3311(0x119)]=new PercyCaptureMap();const _0x597532=PercyCaptureModes[_0x5e1909['browserStackPercyOptions'][_0x5a3311(0x111)]];_0x597532[_0x5a3311(0x115)]&&_0x597532['driver'][_0x5a3311(0xf0)](_0x5630c1=>this[_0x5a3311(0x112)](_0x20a650,_0x5630c1,_0x5e1909)),_0x597532['element']&&_0x597532[_0x5a3311(0xe6)][_0x5a3311(0xf0)](_0x5d7011=>{const _0x41eabc=_0x5a3311;if(_0x17d391[_0x41eabc(0x10f)][_0x41eabc(0x128)+_0x5d7011])return;_0x17d391[_0x41eabc(0x10f)][_0x41eabc(0x128)+_0x5d7011]=!![];const _0x1a920b=_0x17d391[_0x41eabc(0x10f)][_0x5d7011];_0x17d391[_0x41eabc(0x10f)][_0x5d7011]=async function(){const _0x442253=_0x41eabc;let _0x2f47ff=_0x1a920b[_0x442253(0x100)](this,arguments);_0x2f47ff&&_0x2f47ff['then']&&(_0x2f47ff=await _0x2f47ff);try{const _0x583d28=this[_0x442253(0xeb)]();await exports[_0x442253(0x11a)](_0x583d28,_0x5d7011,_0x5e1909);}catch(_0x2242f7){logger[_0x442253(0x127)](_0x442253(0x11f)+_0x5d7011+'\x20for\x20percy\x20'+_0x2242f7);}return _0x2f47ff;};});}},exports[a130_0x31c5a2(0x112)]=function(_0x8c7cb3,_0x358940,_0x5569e6){const _0x2e7834=a130_0x31c5a2,_0x1ec26f={};_0x1ec26f['cApKj']=function(_0x4526b9,_0x172bc6){return _0x4526b9+_0x172bc6;},_0x1ec26f[_0x2e7834(0x126)]=_0x2e7834(0x128),_0x1ec26f[_0x2e7834(0xf5)]=_0x2e7834(0xf8);const _0x265be6=_0x1ec26f,_0x19d32e=_0x265be6['cApKj'](_0x265be6[_0x2e7834(0x126)],_0x358940),_0x1f703a=_0x265be6[_0x2e7834(0x11e)](_0x265be6['Wyxdy'],_0x358940),_0x2c90d0=this;if(_0x8c7cb3[_0x19d32e]||!_0x8c7cb3[_0x358940])return;_0x8c7cb3[_0x19d32e]=!![],_0x8c7cb3[_0x1f703a]=_0x8c7cb3[_0x358940],_0x8c7cb3[_0x358940]=async()=>{const _0x2ad453=_0x2e7834;try{await _0x2c90d0[_0x2ad453(0x11a)](_0x8c7cb3,_0x358940,_0x5569e6);}catch(_0x1b2551){logger[_0x2ad453(0x127)](_0x2ad453(0x11f)+_0x358940+'\x20for\x20percy\x20'+_0x1b2551);}return await _0x8c7cb3[_0x1f703a][_0x2ad453(0x100)](_0x8c7cb3,arguments);};},exports[a130_0x31c5a2(0x107)]=_0x15b10e=>{const _0x5494c5=a130_0x31c5a2,_0x1bfc26={};_0x1bfc26[_0x5494c5(0xea)]='auto';const _0x224d84=_0x1bfc26,_0x49e5f5={};_0x49e5f5[_0x5494c5(0x12b)]=_0x15b10e['percy'],_0x49e5f5['percyCaptureMode']=_0x15b10e['percyCaptureMode']||_0x224d84[_0x5494c5(0xea)];const _0x2599a8=_0x49e5f5;_0x15b10e['percy']&&(_0x2599a8[_0x5494c5(0xfb)]=exports[_0x5494c5(0x10c)](_0x15b10e['platforms']));;return _0x2599a8;};
@@ -1 +1 @@
1
- function a126_0x1b18(_0x2cf1da,_0x79e8e8){const _0x21fc05=a126_0x21fc();return a126_0x1b18=function(_0x1b18fc,_0x39ed62){_0x1b18fc=_0x1b18fc-0x11c;let _0x320579=_0x21fc05[_0x1b18fc];return _0x320579;},a126_0x1b18(_0x2cf1da,_0x79e8e8);}const a126_0x2cfcd2=a126_0x1b18;(function(_0x384f0d,_0x2f231a){const _0x16580e=a126_0x1b18,_0x2723c5=_0x384f0d();while(!![]){try{const _0x58fd24=-parseInt(_0x16580e(0x154))/0x1+parseInt(_0x16580e(0x165))/0x2*(parseInt(_0x16580e(0x17e))/0x3)+-parseInt(_0x16580e(0x182))/0x4*(parseInt(_0x16580e(0x143))/0x5)+parseInt(_0x16580e(0x125))/0x6+parseInt(_0x16580e(0x19c))/0x7*(parseInt(_0x16580e(0x19f))/0x8)+parseInt(_0x16580e(0x138))/0x9*(parseInt(_0x16580e(0x18d))/0xa)+parseInt(_0x16580e(0x179))/0xb;if(_0x58fd24===_0x2f231a)break;else _0x2723c5['push'](_0x2723c5['shift']());}catch(_0x20a7f2){_0x2723c5['push'](_0x2723c5['shift']());}}}(a126_0x21fc,0xe1728));const a126_0x5a3fd7={};a126_0x5a3fd7[a126_0x2cfcd2(0x13f)]=a126_0x2cfcd2(0x14f),a126_0x5a3fd7['SDK_CLEANUP']=a126_0x2cfcd2(0x14e),a126_0x5a3fd7[a126_0x2cfcd2(0x17a)]='sdk:pre-test',a126_0x5a3fd7['SDK_TEST']=a126_0x2cfcd2(0x18a),a126_0x5a3fd7[a126_0x2cfcd2(0x141)]=a126_0x2cfcd2(0x189),a126_0x5a3fd7['SDK_HOOK']=a126_0x2cfcd2(0x129),a126_0x5a3fd7[a126_0x2cfcd2(0x159)]=a126_0x2cfcd2(0x131),a126_0x5a3fd7[a126_0x2cfcd2(0x19e)]='sdk:a11y',a126_0x5a3fd7[a126_0x2cfcd2(0x14c)]=a126_0x2cfcd2(0x198),a126_0x5a3fd7[a126_0x2cfcd2(0x155)]=a126_0x2cfcd2(0x142),a126_0x5a3fd7['SDK_PROXY_SETUP']=a126_0x2cfcd2(0x16d),a126_0x5a3fd7[a126_0x2cfcd2(0x16a)]=a126_0x2cfcd2(0x170),a126_0x5a3fd7['SDK_AUTOMATE']='sdk:automate',a126_0x5a3fd7['SDK_APP_AUTOMATE']='sdk:app-automate',a126_0x5a3fd7['SDK_TURBOSCALE']=a126_0x2cfcd2(0x14d),a126_0x5a3fd7[a126_0x2cfcd2(0x14a)]=a126_0x2cfcd2(0x132),a126_0x5a3fd7[a126_0x2cfcd2(0x12f)]=a126_0x2cfcd2(0x15a),a126_0x5a3fd7[a126_0x2cfcd2(0x184)]=a126_0x2cfcd2(0x14b),a126_0x5a3fd7[a126_0x2cfcd2(0x19a)]='sdk:cli:start',a126_0x5a3fd7['SDK_CLI_DOWNLOAD']=a126_0x2cfcd2(0x176),a126_0x5a3fd7[a126_0x2cfcd2(0x137)]=a126_0x2cfcd2(0x16e),a126_0x5a3fd7[a126_0x2cfcd2(0x15f)]=a126_0x2cfcd2(0x135),a126_0x5a3fd7['SDK_CLI_ON_CONNECT']=a126_0x2cfcd2(0x191),a126_0x5a3fd7[a126_0x2cfcd2(0x164)]='sdk:cli:on-stop',a126_0x5a3fd7['SDK_START_BIN_SESSION']='sdk:startBinSession',a126_0x5a3fd7['SDK_CONNECT_BIN_SESSION']='sdk:connectBinSession',a126_0x5a3fd7[a126_0x2cfcd2(0x11f)]=a126_0x2cfcd2(0x130),a126_0x5a3fd7[a126_0x2cfcd2(0x185)]='sdk:findNearestHub',a126_0x5a3fd7[a126_0x2cfcd2(0x161)]=a126_0x2cfcd2(0x147),a126_0x5a3fd7[a126_0x2cfcd2(0x17c)]='sdk:automationFrameworkStart',a126_0x5a3fd7['SDK_ACCESSIBILITY_CONFIG']=a126_0x2cfcd2(0x192),a126_0x5a3fd7['SDK_OBSERVABILITY_CONFIG']=a126_0x2cfcd2(0x180),a126_0x5a3fd7[a126_0x2cfcd2(0x12c)]=a126_0x2cfcd2(0x127),a126_0x5a3fd7['SDK_AI_SELF_HEAL_GET_RESULT']=a126_0x2cfcd2(0x19d),a126_0x5a3fd7[a126_0x2cfcd2(0x177)]=a126_0x2cfcd2(0x17d),a126_0x5a3fd7[a126_0x2cfcd2(0x13c)]=a126_0x2cfcd2(0x175),a126_0x5a3fd7['SDK_CLI_LOG_CREATED_EVENT']='sdk:cli:logCreatedEvent',a126_0x5a3fd7['SDK_CLI_ENQUEUE_TEST_EVENT']=a126_0x2cfcd2(0x183),a126_0x5a3fd7[a126_0x2cfcd2(0x15d)]=a126_0x2cfcd2(0x188),a126_0x5a3fd7['SDK_ON_STOP']='sdk:onStop';const SDK_EVENTS=a126_0x5a3fd7,a126_0x1c0922={};a126_0x1c0922['EVENTS']=SDK_EVENTS,a126_0x1c0922[a126_0x2cfcd2(0x151)]={},a126_0x1c0922[a126_0x2cfcd2(0x136)]={},a126_0x1c0922[a126_0x2cfcd2(0x186)]={},a126_0x1c0922[a126_0x2cfcd2(0x128)]={},a126_0x1c0922[a126_0x2cfcd2(0x190)]={},a126_0x1c0922[a126_0x2cfcd2(0x166)]={},a126_0x1c0922[a126_0x2cfcd2(0x19b)]={},a126_0x1c0922[a126_0x2cfcd2(0x157)]={},a126_0x1c0922[a126_0x2cfcd2(0x196)]={},a126_0x1c0922[a126_0x2cfcd2(0x151)][a126_0x2cfcd2(0x174)]=SDK_EVENTS[a126_0x2cfcd2(0x16a)]+a126_0x2cfcd2(0x149),a126_0x1c0922[a126_0x2cfcd2(0x151)][a126_0x2cfcd2(0x148)]=SDK_EVENTS[a126_0x2cfcd2(0x16a)]+a126_0x2cfcd2(0x162),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x13a)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x11d),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x195)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x172),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x146)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x124),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x16c)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x11e),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x187)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x140),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x126)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+':session-name',a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x15e)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+':session-status',a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x12a)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x122),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x12e)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x13e),a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x167)]=SDK_EVENTS['SDK_AUTOMATE']+':ci-artifacts',a126_0x1c0922[a126_0x2cfcd2(0x136)][a126_0x2cfcd2(0x133)]=SDK_EVENTS[a126_0x2cfcd2(0x15c)]+a126_0x2cfcd2(0x181),a126_0x1c0922[a126_0x2cfcd2(0x186)]['PERFORM_SCAN']=SDK_EVENTS['SDK_A11Y']+a126_0x2cfcd2(0x17f),a126_0x1c0922[a126_0x2cfcd2(0x186)][a126_0x2cfcd2(0x150)]=SDK_EVENTS[a126_0x2cfcd2(0x19e)]+a126_0x2cfcd2(0x152),a126_0x1c0922[a126_0x2cfcd2(0x186)]['GET_RESULTS']=SDK_EVENTS[a126_0x2cfcd2(0x19e)]+a126_0x2cfcd2(0x18c),a126_0x1c0922[a126_0x2cfcd2(0x186)][a126_0x2cfcd2(0x158)]=SDK_EVENTS[a126_0x2cfcd2(0x19e)]+a126_0x2cfcd2(0x197),a126_0x1c0922[a126_0x2cfcd2(0x128)]['DOWNLOAD']=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+':download',a126_0x1c0922[a126_0x2cfcd2(0x128)]['SCREENSHOT']=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x145),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x174)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x149),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x148)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x162),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x153)]=SDK_EVENTS['SDK_PERCY']+':auto-capture',a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x156)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x18b),a126_0x1c0922[a126_0x2cfcd2(0x128)][a126_0x2cfcd2(0x16b)]=SDK_EVENTS[a126_0x2cfcd2(0x14a)]+a126_0x2cfcd2(0x171),a126_0x1c0922[a126_0x2cfcd2(0x190)][a126_0x2cfcd2(0x168)]=SDK_EVENTS[a126_0x2cfcd2(0x14c)]+a126_0x2cfcd2(0x12d),a126_0x1c0922[a126_0x2cfcd2(0x190)][a126_0x2cfcd2(0x169)]=SDK_EVENTS[a126_0x2cfcd2(0x14c)]+a126_0x2cfcd2(0x144),a126_0x1c0922[a126_0x2cfcd2(0x190)][a126_0x2cfcd2(0x133)]=SDK_EVENTS['SDK_O11Y']+a126_0x2cfcd2(0x181),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x160)]=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x173),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x11c)]=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x199),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x163)]=SDK_EVENTS['SDK_HOOK']+a126_0x2cfcd2(0x134),a126_0x1c0922[a126_0x2cfcd2(0x166)][a126_0x2cfcd2(0x194)]=SDK_EVENTS['SDK_HOOK']+a126_0x2cfcd2(0x17b),a126_0x1c0922[a126_0x2cfcd2(0x166)]['BEFORE']=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x13d),a126_0x1c0922[a126_0x2cfcd2(0x166)]['AFTER']=SDK_EVENTS[a126_0x2cfcd2(0x12b)]+a126_0x2cfcd2(0x139),a126_0x1c0922[a126_0x2cfcd2(0x19b)][a126_0x2cfcd2(0x195)]=SDK_EVENTS[a126_0x2cfcd2(0x15b)]+a126_0x2cfcd2(0x172),a126_0x1c0922[a126_0x2cfcd2(0x19b)][a126_0x2cfcd2(0x133)]=SDK_EVENTS[a126_0x2cfcd2(0x15b)]+':print-buildlink',a126_0x1c0922[a126_0x2cfcd2(0x157)][a126_0x2cfcd2(0x193)]=SDK_EVENTS[a126_0x2cfcd2(0x16f)]+':app-upload',a126_0x1c0922[a126_0x2cfcd2(0x196)][a126_0x2cfcd2(0x13b)]=SDK_EVENTS[a126_0x2cfcd2(0x159)]+a126_0x2cfcd2(0x178),a126_0x1c0922[a126_0x2cfcd2(0x196)][a126_0x2cfcd2(0x18e)]=SDK_EVENTS[a126_0x2cfcd2(0x159)]+a126_0x2cfcd2(0x120),a126_0x1c0922[a126_0x2cfcd2(0x196)][a126_0x2cfcd2(0x123)]=SDK_EVENTS[a126_0x2cfcd2(0x159)]+a126_0x2cfcd2(0x121),a126_0x1c0922[a126_0x2cfcd2(0x196)]['POST_EXECUTE']=SDK_EVENTS['SDK_DRIVER']+a126_0x2cfcd2(0x18f),module['exports']=a126_0x1c0922;function a126_0x21fc(){const _0x3f231e=['sdk:cli:on-bootstrap','AUTOMATE_EVENTS','SDK_CLI_CHECK_UPDATE','87903IBdAcL',':after','KEEP_ALIVE','QUIT','SDK_TEST_SESSION_EVENT',':before',':idle-timeout','SDK_SETUP',':driver-manage','SDK_POST_TEST','sdk:auto-capture','8413505LbeiOf',':driver-takeScreenShot',':screenshot','LOCAL_START','sdk:automationFrameworkInit','STOP',':start','SDK_PERCY','sdk:driver:post-initialization','SDK_O11Y','sdk:turboscale','sdk:cleanup','sdk:setup','SAVE_RESULTS','TESTHUB_EVENTS',':save-results','AUTO_CAPTURE','404213OOmyGy','SDK_AUTO_CAPTURE','SNAPSHOT','APP_AUOTMATE_EVENTS','GET_RESULTS_SUMMARY','SDK_DRIVER','sdk:driver:pre-initialization','SDK_TURBOSCALE','SDK_AUTOMATE','SDK_AUTOMATION_FRAMEWORK_STOP','SESSION_STATUS','SDK_CLI_ON_BOOTSTRAP','BEFORE_EACH','SDK_AUTOMATION_FRAMEWORK_INIT',':stop','AFTER_ALL','SDK_CLI_ON_STOP','404bADPAT','HOOK_EVENTS','GENERATE_CI_ARTIFACT','SYNC','TAKE_SCREENSHOT','SDK_TESTHUB','SCREENSHOT_APP','LOCAL_STOP','sdk:proxy-setup','sdk:cli:check-update','SDK_APP_AUTOMATE','sdk:testhub',':screenshot-app',':hub-management',':before-each','START','sdk:testSessionEvent','sdk:cli:download','SDK_TEST_FRAMEWORK_EVENT',':quit','609686FCFLdB','SDK_PRE_TEST',':before-all','SDK_AUTOMATION_FRAMEWORK_START','sdk:testFrameworkEvent','1764zdcxsP',':driver-performscan','sdk:observabilityConfig',':print-buildlink','4QYgAXF','sdk:cli:enqueueTestEvent','SDK_POST_INITIALIZE','SDK_FIND_NEAREST_HUB','A11Y_EVENTS','DRIVER_MANAGE','sdk:automationFrameworkStop','sdk:post-test','sdk:test',':snapshot',':get-accessibility-results','1570XZKOSn','GET',':post-execute','O11y_EVENTS','sdk:cli:on-connect','sdk:accessibilityConfig','APP_UPLOAD','BEFORE_ALL','HUB_MANAGEMENT','DRIVER_EVENT',':get-accessibility-results-summary','sdk:o11y',':after-each','SDK_CLI_START','TURBOSCALE_EVENTS','56qbqzEs','sdk:aiSelfHealGetResult','SDK_A11Y','579088LrdgvL','AFTER_EACH',':keep-alive',':local-stop','SDK_DRIVER_INIT',':get',':pre-execute',':session-annotation','PRE_EXECUTE',':local-start','4341822cuigKQ','SESSION_NAME','sdk:aiSelfHealStep','PERCY_EVENTS','sdk:hook','SESSION_ANNOTATION','SDK_HOOK','SDK_AI_SELF_HEAL_STEP',':sync','IDLE_TIMEOUT','SDK_PRE_INITIALIZE','sdk:driverInit','sdk:driver','sdk:percy','PRINT_BUILDLINK',':after-all'];a126_0x21fc=function(){return _0x3f231e;};return a126_0x21fc();}
1
+ const a131_0x274c58=a131_0x3eb8;(function(_0x14249f,_0x579fe5){const _0x110767=a131_0x3eb8,_0x38f455=_0x14249f();while(!![]){try{const _0x48d889=parseInt(_0x110767(0x14d))/0x1+parseInt(_0x110767(0x19d))/0x2*(parseInt(_0x110767(0x195))/0x3)+-parseInt(_0x110767(0x194))/0x4*(-parseInt(_0x110767(0x15b))/0x5)+-parseInt(_0x110767(0x144))/0x6*(parseInt(_0x110767(0x15a))/0x7)+parseInt(_0x110767(0x165))/0x8*(-parseInt(_0x110767(0x149))/0x9)+-parseInt(_0x110767(0x137))/0xa+parseInt(_0x110767(0x133))/0xb;if(_0x48d889===_0x579fe5)break;else _0x38f455['push'](_0x38f455['shift']());}catch(_0x461448){_0x38f455['push'](_0x38f455['shift']());}}}(a131_0x4720,0x7ffae));function a131_0x3eb8(_0x5bb4fe,_0x17fb34){const _0x4720ea=a131_0x4720();return a131_0x3eb8=function(_0x3eb805,_0x1759d0){_0x3eb805=_0x3eb805-0x125;let _0x4c460f=_0x4720ea[_0x3eb805];return _0x4c460f;},a131_0x3eb8(_0x5bb4fe,_0x17fb34);}const a131_0x2ae22c={};a131_0x2ae22c['SDK_SETUP']=a131_0x274c58(0x15e),a131_0x2ae22c[a131_0x274c58(0x168)]=a131_0x274c58(0x1aa),a131_0x2ae22c['SDK_PRE_TEST']=a131_0x274c58(0x13a),a131_0x2ae22c[a131_0x274c58(0x17a)]=a131_0x274c58(0x198),a131_0x2ae22c['SDK_POST_TEST']='sdk:post-test',a131_0x2ae22c[a131_0x274c58(0x142)]=a131_0x274c58(0x156),a131_0x2ae22c[a131_0x274c58(0x126)]=a131_0x274c58(0x192),a131_0x2ae22c['SDK_A11Y']=a131_0x274c58(0x150),a131_0x2ae22c[a131_0x274c58(0x12e)]=a131_0x274c58(0x148),a131_0x2ae22c['SDK_AUTO_CAPTURE']=a131_0x274c58(0x141),a131_0x2ae22c[a131_0x274c58(0x1a8)]=a131_0x274c58(0x175),a131_0x2ae22c[a131_0x274c58(0x193)]=a131_0x274c58(0x19c),a131_0x2ae22c[a131_0x274c58(0x12a)]=a131_0x274c58(0x12b),a131_0x2ae22c[a131_0x274c58(0x152)]='sdk:app-automate',a131_0x2ae22c[a131_0x274c58(0x159)]='sdk:turboscale',a131_0x2ae22c[a131_0x274c58(0x167)]=a131_0x274c58(0x135),a131_0x2ae22c[a131_0x274c58(0x16e)]='sdk:driver:pre-initialization',a131_0x2ae22c[a131_0x274c58(0x140)]='sdk:driver:post-initialization',a131_0x2ae22c[a131_0x274c58(0x196)]='sdk:cli:start',a131_0x2ae22c[a131_0x274c58(0x184)]=a131_0x274c58(0x18a),a131_0x2ae22c['SDK_CLI_CHECK_UPDATE']=a131_0x274c58(0x131),a131_0x2ae22c['SDK_CLI_ON_BOOTSTRAP']=a131_0x274c58(0x14e),a131_0x2ae22c[a131_0x274c58(0x18c)]=a131_0x274c58(0x1a1),a131_0x2ae22c['SDK_CLI_ON_STOP']=a131_0x274c58(0x130),a131_0x2ae22c['SDK_START_BIN_SESSION']=a131_0x274c58(0x19e),a131_0x2ae22c[a131_0x274c58(0x13d)]=a131_0x274c58(0x190),a131_0x2ae22c[a131_0x274c58(0x146)]='sdk:driverInit',a131_0x2ae22c[a131_0x274c58(0x172)]=a131_0x274c58(0x183),a131_0x2ae22c[a131_0x274c58(0x1ac)]='sdk:automationFrameworkInit',a131_0x2ae22c[a131_0x274c58(0x127)]=a131_0x274c58(0x170),a131_0x2ae22c[a131_0x274c58(0x157)]=a131_0x274c58(0x17b),a131_0x2ae22c['SDK_OBSERVABILITY_CONFIG']=a131_0x274c58(0x166),a131_0x2ae22c[a131_0x274c58(0x18e)]=a131_0x274c58(0x173),a131_0x2ae22c[a131_0x274c58(0x169)]=a131_0x274c58(0x164),a131_0x2ae22c['SDK_TEST_FRAMEWORK_EVENT']=a131_0x274c58(0x132),a131_0x2ae22c[a131_0x274c58(0x1a0)]='sdk:testSessionEvent',a131_0x2ae22c[a131_0x274c58(0x14b)]=a131_0x274c58(0x1a4),a131_0x2ae22c['SDK_CLI_ENQUEUE_TEST_EVENT']=a131_0x274c58(0x125),a131_0x2ae22c[a131_0x274c58(0x1ad)]=a131_0x274c58(0x160),a131_0x2ae22c[a131_0x274c58(0x180)]='sdk:onStop';const SDK_EVENTS=a131_0x2ae22c,a131_0x1e680d={};a131_0x1e680d[a131_0x274c58(0x161)]=SDK_EVENTS,a131_0x1e680d[a131_0x274c58(0x1a7)]={},a131_0x1e680d[a131_0x274c58(0x1a9)]={},a131_0x1e680d[a131_0x274c58(0x177)]={},a131_0x1e680d[a131_0x274c58(0x143)]={},a131_0x1e680d[a131_0x274c58(0x12c)]={},a131_0x1e680d[a131_0x274c58(0x162)]={},a131_0x1e680d[a131_0x274c58(0x13f)]={},a131_0x1e680d[a131_0x274c58(0x138)]={},a131_0x1e680d[a131_0x274c58(0x17c)]={},a131_0x1e680d[a131_0x274c58(0x1a7)]['START']=SDK_EVENTS['SDK_TESTHUB']+a131_0x274c58(0x178),a131_0x1e680d[a131_0x274c58(0x1a7)]['STOP']=SDK_EVENTS[a131_0x274c58(0x193)]+a131_0x274c58(0x14f),a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x188)]=SDK_EVENTS[a131_0x274c58(0x12a)]+a131_0x274c58(0x139),a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x187)]=SDK_EVENTS['SDK_AUTOMATE']+a131_0x274c58(0x158),a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x163)]=SDK_EVENTS['SDK_AUTOMATE']+a131_0x274c58(0x15f),a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x153)]=SDK_EVENTS[a131_0x274c58(0x12a)]+a131_0x274c58(0x16b),a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x176)]=SDK_EVENTS[a131_0x274c58(0x12a)]+a131_0x274c58(0x13e),a131_0x1e680d[a131_0x274c58(0x1a9)]['SESSION_NAME']=SDK_EVENTS[a131_0x274c58(0x12a)]+':session-name',a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x151)]=SDK_EVENTS[a131_0x274c58(0x12a)]+a131_0x274c58(0x18f),a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x13b)]=SDK_EVENTS[a131_0x274c58(0x12a)]+a131_0x274c58(0x19f),a131_0x1e680d[a131_0x274c58(0x1a9)]['IDLE_TIMEOUT']=SDK_EVENTS[a131_0x274c58(0x12a)]+a131_0x274c58(0x16c),a131_0x1e680d[a131_0x274c58(0x1a9)]['GENERATE_CI_ARTIFACT']=SDK_EVENTS['SDK_AUTOMATE']+a131_0x274c58(0x155),a131_0x1e680d[a131_0x274c58(0x1a9)][a131_0x274c58(0x15d)]=SDK_EVENTS[a131_0x274c58(0x12a)]+a131_0x274c58(0x1a5),a131_0x1e680d[a131_0x274c58(0x177)][a131_0x274c58(0x19a)]=SDK_EVENTS[a131_0x274c58(0x16f)]+':driver-performscan',a131_0x1e680d[a131_0x274c58(0x177)]['SAVE_RESULTS']=SDK_EVENTS[a131_0x274c58(0x16f)]+a131_0x274c58(0x174),a131_0x1e680d[a131_0x274c58(0x177)][a131_0x274c58(0x185)]=SDK_EVENTS[a131_0x274c58(0x16f)]+':get-accessibility-results',a131_0x1e680d[a131_0x274c58(0x177)][a131_0x274c58(0x179)]=SDK_EVENTS['SDK_A11Y']+':get-accessibility-results-summary',a131_0x1e680d[a131_0x274c58(0x143)][a131_0x274c58(0x12f)]=SDK_EVENTS[a131_0x274c58(0x167)]+a131_0x274c58(0x19b),a131_0x1e680d[a131_0x274c58(0x143)][a131_0x274c58(0x134)]=SDK_EVENTS['SDK_PERCY']+a131_0x274c58(0x145),a131_0x1e680d[a131_0x274c58(0x143)][a131_0x274c58(0x136)]=SDK_EVENTS[a131_0x274c58(0x167)]+a131_0x274c58(0x178),a131_0x1e680d[a131_0x274c58(0x143)][a131_0x274c58(0x17d)]=SDK_EVENTS[a131_0x274c58(0x167)]+':stop',a131_0x1e680d[a131_0x274c58(0x143)][a131_0x274c58(0x14c)]=SDK_EVENTS[a131_0x274c58(0x167)]+':auto-capture',a131_0x1e680d[a131_0x274c58(0x143)][a131_0x274c58(0x191)]=SDK_EVENTS['SDK_PERCY']+a131_0x274c58(0x18d),a131_0x1e680d[a131_0x274c58(0x143)][a131_0x274c58(0x16a)]=SDK_EVENTS[a131_0x274c58(0x167)]+a131_0x274c58(0x1ab),a131_0x1e680d[a131_0x274c58(0x12c)][a131_0x274c58(0x199)]=SDK_EVENTS[a131_0x274c58(0x12e)]+a131_0x274c58(0x18b),a131_0x1e680d[a131_0x274c58(0x12c)][a131_0x274c58(0x181)]=SDK_EVENTS[a131_0x274c58(0x12e)]+a131_0x274c58(0x14a),a131_0x1e680d[a131_0x274c58(0x12c)]['PRINT_BUILDLINK']=SDK_EVENTS['SDK_O11Y']+a131_0x274c58(0x1a5),a131_0x1e680d[a131_0x274c58(0x162)][a131_0x274c58(0x13c)]=SDK_EVENTS[a131_0x274c58(0x142)]+a131_0x274c58(0x154),a131_0x1e680d[a131_0x274c58(0x162)][a131_0x274c58(0x1a3)]=SDK_EVENTS['SDK_HOOK']+a131_0x274c58(0x197),a131_0x1e680d[a131_0x274c58(0x162)][a131_0x274c58(0x12d)]=SDK_EVENTS[a131_0x274c58(0x142)]+a131_0x274c58(0x129),a131_0x1e680d[a131_0x274c58(0x162)][a131_0x274c58(0x189)]=SDK_EVENTS[a131_0x274c58(0x142)]+a131_0x274c58(0x1a6),a131_0x1e680d[a131_0x274c58(0x162)]['BEFORE']=SDK_EVENTS['SDK_HOOK']+a131_0x274c58(0x128),a131_0x1e680d[a131_0x274c58(0x162)][a131_0x274c58(0x147)]=SDK_EVENTS[a131_0x274c58(0x142)]+a131_0x274c58(0x16d),a131_0x1e680d[a131_0x274c58(0x13f)][a131_0x274c58(0x187)]=SDK_EVENTS[a131_0x274c58(0x159)]+':hub-management',a131_0x1e680d[a131_0x274c58(0x13f)][a131_0x274c58(0x15d)]=SDK_EVENTS[a131_0x274c58(0x159)]+a131_0x274c58(0x1a5),a131_0x1e680d[a131_0x274c58(0x138)]['APP_UPLOAD']=SDK_EVENTS['SDK_APP_AUTOMATE']+a131_0x274c58(0x17e),a131_0x1e680d[a131_0x274c58(0x17c)][a131_0x274c58(0x186)]=SDK_EVENTS[a131_0x274c58(0x126)]+a131_0x274c58(0x171),a131_0x1e680d[a131_0x274c58(0x17c)]['GET']=SDK_EVENTS[a131_0x274c58(0x126)]+a131_0x274c58(0x1a2),a131_0x1e680d[a131_0x274c58(0x17c)][a131_0x274c58(0x15c)]=SDK_EVENTS[a131_0x274c58(0x126)]+a131_0x274c58(0x17f),a131_0x1e680d[a131_0x274c58(0x17c)]['POST_EXECUTE']=SDK_EVENTS[a131_0x274c58(0x126)]+a131_0x274c58(0x182),module['exports']=a131_0x1e680d;function a131_0x4720(){const _0x47791a=['sdk:percy','START','6413420XINcTv','APP_AUOTMATE_EVENTS',':keep-alive','sdk:pre-test','SESSION_ANNOTATION','BEFORE_EACH','SDK_CONNECT_BIN_SESSION',':driver-manage','TURBOSCALE_EVENTS','SDK_POST_INITIALIZE','sdk:auto-capture','SDK_HOOK','PERCY_EVENTS','6vUDzQR',':screenshot','SDK_DRIVER_INIT','AFTER','sdk:o11y','27gFlAnQ',':driver-takeScreenShot','SDK_CLI_LOG_CREATED_EVENT','AUTO_CAPTURE','724584jtLQEy','sdk:cli:on-bootstrap',':stop','sdk:a11y','SESSION_STATUS','SDK_APP_AUTOMATE','LOCAL_STOP',':before-each',':ci-artifacts','sdk:hook','SDK_ACCESSIBILITY_CONFIG',':hub-management','SDK_TURBOSCALE','6249915jbjhvd','30MJySlP','PRE_EXECUTE','PRINT_BUILDLINK','sdk:setup',':local-start','sdk:automationFrameworkStop','EVENTS','HOOK_EVENTS','LOCAL_START','sdk:aiSelfHealGetResult','319240vYDjOk','sdk:observabilityConfig','SDK_PERCY','SDK_CLEANUP','SDK_AI_SELF_HEAL_GET_RESULT','SCREENSHOT_APP',':local-stop',':idle-timeout',':after','SDK_PRE_INITIALIZE','SDK_A11Y','sdk:automationFrameworkStart',':quit','SDK_FIND_NEAREST_HUB','sdk:aiSelfHealStep',':save-results','sdk:proxy-setup','DRIVER_MANAGE','A11Y_EVENTS',':start','GET_RESULTS_SUMMARY','SDK_TEST','sdk:accessibilityConfig','DRIVER_EVENT','STOP',':app-upload',':pre-execute','SDK_ON_STOP','TAKE_SCREENSHOT',':post-execute','sdk:findNearestHub','SDK_CLI_DOWNLOAD','GET_RESULTS','QUIT','HUB_MANAGEMENT','KEEP_ALIVE','BEFORE_ALL','sdk:cli:download',':sync','SDK_CLI_ON_CONNECT',':snapshot','SDK_AI_SELF_HEAL_STEP',':session-status','sdk:connectBinSession','SNAPSHOT','sdk:driver','SDK_TESTHUB','504604StLOJB','159672ZknGDv','SDK_CLI_START',':after-each','sdk:test','SYNC','PERFORM_SCAN',':download','sdk:testhub','24MCdHZX','sdk:startBinSession',':session-annotation','SDK_TEST_SESSION_EVENT','sdk:cli:on-connect',':get','AFTER_EACH','sdk:cli:logCreatedEvent',':print-buildlink',':before-all','TESTHUB_EVENTS','SDK_PROXY_SETUP','AUTOMATE_EVENTS','sdk:cleanup',':screenshot-app','SDK_AUTOMATION_FRAMEWORK_INIT','SDK_AUTOMATION_FRAMEWORK_STOP','sdk:cli:enqueueTestEvent','SDK_DRIVER','SDK_AUTOMATION_FRAMEWORK_START',':before',':after-all','SDK_AUTOMATE','sdk:automate','O11y_EVENTS','AFTER_ALL','SDK_O11Y','DOWNLOAD','sdk:cli:on-stop','sdk:cli:check-update','sdk:testFrameworkEvent','637230WeRgWc','SCREENSHOT'];a131_0x4720=function(){return _0x47791a;};return a131_0x4720();}