browserstack-node-sdk 1.46.3 → 1.46.4

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 (187) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/generated/sdk-messages_pb.d.ts +108 -0
  41. package/generated/sdk-messages_pb.js +830 -0
  42. package/generated/sdk_grpc_pb.d.ts +10 -0
  43. package/generated/sdk_grpc_pb.js +66 -0
  44. package/package.json +1 -1
  45. package/src/ai-sdk-node/bundle.js +1 -1
  46. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  47. package/src/bin/codeceptjs/command.js +1 -1
  48. package/src/bin/codeceptjs/helper.js +1 -1
  49. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  50. package/src/bin/cucumber-js/command.js +1 -1
  51. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  52. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  53. package/src/bin/cucumber-js/test-observability.js +1 -1
  54. package/src/bin/cucumber-js/test.setup.js +1 -1
  55. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  56. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  57. package/src/bin/integrations/command.js +1 -1
  58. package/src/bin/integrations/constants.js +1 -1
  59. package/src/bin/jest/command.js +1 -1
  60. package/src/bin/jest/customImplements/customCircus.js +1 -1
  61. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  62. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  63. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  64. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  65. package/src/bin/jest/jest.setup.js +1 -1
  66. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  67. package/src/bin/jest/test-observability/helper.js +1 -1
  68. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  69. package/src/bin/jest/test-observability/test-details.js +1 -1
  70. package/src/bin/jest/test.setup.js +1 -1
  71. package/src/bin/jest/test_before.setup.js +1 -1
  72. package/src/bin/launcher/launcher.js +1 -1
  73. package/src/bin/load/index.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  79. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  80. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  81. package/src/bin/mocha/test.setup.js +1 -1
  82. package/src/bin/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/runner.js +1 -1
  94. package/src/bin/setup.js +1 -1
  95. package/src/bin/test-runner/index.js +1 -1
  96. package/src/bin/test-runner/runTest.js +1 -1
  97. package/src/bin/test-runner/testWorker.js +1 -1
  98. package/src/bin/utils/apiUtilityMethods.js +1 -1
  99. package/src/bin/utils/clientTroubleshootingService.js +1 -0
  100. package/src/bin/utils/constants.js +1 -1
  101. package/src/bin/utils/log4jsAppender.js +1 -1
  102. package/src/bin/utils/logPatcher.js +1 -1
  103. package/src/bin/utils/logReportingAPI.js +1 -1
  104. package/src/bin/utils/playwright-patcher.js +1 -1
  105. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  106. package/src/bin/utils/sharedUtils.js +1 -1
  107. package/src/bin/v2/TestInfo.js +1 -1
  108. package/src/bin/v2/browserstackCLI.js +1 -1
  109. package/src/bin/v2/cliUtils.js +1 -1
  110. package/src/bin/v2/customTagManager.js +1 -1
  111. package/src/bin/v2/eventDispatcher.js +1 -1
  112. package/src/bin/v2/framework/automationFramework.js +1 -1
  113. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  114. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  115. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  116. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  117. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  118. package/src/bin/v2/framework/testFramework.js +1 -1
  119. package/src/bin/v2/grpcClient.js +1 -1
  120. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  121. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  122. package/src/bin/v2/instances/trackedContext.js +1 -1
  123. package/src/bin/v2/instances/trackedInstance.js +1 -1
  124. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  125. package/src/bin/v2/modules/baseModule.js +1 -1
  126. package/src/bin/v2/modules/observabilityModule.js +1 -1
  127. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  128. package/src/bin/v2/modules/testhubModule.js +1 -1
  129. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  130. package/src/bin/v2/state/hookState.js +1 -1
  131. package/src/bin/v2/state/testFrameworkState.js +1 -1
  132. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  133. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  134. package/src/bin/vanilla-js/command.js +1 -1
  135. package/src/browserStackSdk.js +1 -1
  136. package/src/helpers/BrowserStackSetup.js +1 -1
  137. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  138. package/src/helpers/accessibility-automation/constants.js +1 -1
  139. package/src/helpers/accessibility-automation/helper.js +1 -1
  140. package/src/helpers/accessibility-automation/scripts.js +1 -1
  141. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  142. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  143. package/src/helpers/ats/constants.js +1 -1
  144. package/src/helpers/ats/helper.js +1 -1
  145. package/src/helpers/capsMapping.js +1 -1
  146. package/src/helpers/central-scanner/constants.js +1 -1
  147. package/src/helpers/central-scanner/helpers.js +1 -1
  148. package/src/helpers/classLogger.js +1 -1
  149. package/src/helpers/globals.js +1 -1
  150. package/src/helpers/helper.js +1 -1
  151. package/src/helpers/logger.js +1 -1
  152. package/src/helpers/metadata.js +1 -1
  153. package/src/helpers/patchHelper.js +1 -1
  154. package/src/helpers/patchHelpers.js +1 -1
  155. package/src/helpers/percy/Percy.js +1 -1
  156. package/src/helpers/percy/PercyBinary.js +1 -1
  157. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  158. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  159. package/src/helpers/percy/PercySDK.js +1 -1
  160. package/src/helpers/percy/index.js +1 -1
  161. package/src/helpers/percy/utils.js +1 -1
  162. package/src/helpers/performance/constants.js +1 -1
  163. package/src/helpers/performance/performance-tester.js +1 -1
  164. package/src/helpers/playwright-helper.js +1 -1
  165. package/src/helpers/processHelper.js +1 -1
  166. package/src/helpers/request-spy.js +1 -1
  167. package/src/helpers/setKeepAlive.js +1 -1
  168. package/src/helpers/test-observability/constants.js +1 -1
  169. package/src/helpers/test-observability/error-handler.js +1 -1
  170. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  171. package/src/helpers/test-observability/sessionHandler.js +1 -1
  172. package/src/helpers/test-observability/utils.js +1 -1
  173. package/src/helpers/test-orchestration/constants.js +1 -1
  174. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  175. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  176. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  177. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  178. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  179. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  180. package/src/helpers/testhub/constants.js +1 -1
  181. package/src/helpers/testhub/testhubHandler.js +1 -1
  182. package/src/helpers/testhub/utils.js +1 -1
  183. package/src/helpers/timeoutPromise.js +1 -1
  184. package/src/helpers/utilities.js +1 -1
  185. package/src/helpers/w3cMapping.js +1 -1
  186. package/src/hubAllocationMethods.js +1 -1
  187. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a105_0x431b4e=a105_0x10ed;(function(_0x2c36f9,_0x36ceb4){const _0x199499=a105_0x10ed,_0xd7c30e=_0x2c36f9();while(!![]){try{const _0x3e0246=parseInt(_0x199499(0x1c3))/0x1+parseInt(_0x199499(0x1d7))/0x2+-parseInt(_0x199499(0x1e4))/0x3*(-parseInt(_0x199499(0x1d1))/0x4)+parseInt(_0x199499(0x1f5))/0x5*(-parseInt(_0x199499(0x1dc))/0x6)+parseInt(_0x199499(0x1c8))/0x7*(-parseInt(_0x199499(0x1d2))/0x8)+parseInt(_0x199499(0x1ef))/0x9*(-parseInt(_0x199499(0x206))/0xa)+parseInt(_0x199499(0x1c6))/0xb*(parseInt(_0x199499(0x1d3))/0xc);if(_0x3e0246===_0x36ceb4)break;else _0xd7c30e['push'](_0xd7c30e['shift']());}catch(_0x23ad15){_0xd7c30e['push'](_0xd7c30e['shift']());}}}(a105_0x4513,0x6140d));const winston=require(a105_0x431b4e(0x1c0)),path=require(a105_0x431b4e(0x208)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a105_0x431b4e(0x20d)),tempLogDir=a105_0x431b4e(0x1c5),logFormat=winston[a105_0x431b4e(0x204)](_0x55920c=>{const _0xc8f7c3=a105_0x431b4e,_0x270733={};_0x270733[_0xc8f7c3(0x1d0)]=function(_0x7a8112,_0x3f1010){return _0x7a8112!==_0x3f1010;},_0x270733[_0xc8f7c3(0x1da)]=_0xc8f7c3(0x1e6),_0x270733[_0xc8f7c3(0x1cc)]=function(_0x2e5219,_0x41146d){return _0x2e5219===_0x41146d;},_0x270733[_0xc8f7c3(0x1dd)]=_0xc8f7c3(0x201);const _0x4cee60=_0x270733;return _0x4cee60[_0xc8f7c3(0x1d0)](typeof _0x55920c[_0xc8f7c3(0x1fe)],_0x4cee60[_0xc8f7c3(0x1da)])&&(_0x55920c[_0xc8f7c3(0x1fe)]=JSON['stringify'](_0x55920c[_0xc8f7c3(0x1fe)])),global['session']?.[_0xc8f7c3(0x1d4)]?.[_0xc8f7c3(0x1e2)]&&_0x4cee60[_0xc8f7c3(0x1cc)](typeof _0x55920c[_0xc8f7c3(0x1fe)],_0x4cee60[_0xc8f7c3(0x1da)])&&(_0x55920c[_0xc8f7c3(0x1fe)]=_0x55920c[_0xc8f7c3(0x1fe)]['replace'](new RegExp(global['session'][_0xc8f7c3(0x1d4)][_0xc8f7c3(0x1e2)],'g'),_0x4cee60[_0xc8f7c3(0x1dd)])),global['session']?.[_0xc8f7c3(0x1d4)]?.[_0xc8f7c3(0x1f0)]&&_0x4cee60[_0xc8f7c3(0x1cc)](typeof _0x55920c['message'],_0x4cee60[_0xc8f7c3(0x1da)])&&(_0x55920c[_0xc8f7c3(0x1fe)]=_0x55920c['message'][_0xc8f7c3(0x1cd)](new RegExp(global[_0xc8f7c3(0x1f2)][_0xc8f7c3(0x1d4)][_0xc8f7c3(0x1f0)],'g'),_0x4cee60[_0xc8f7c3(0x1dd)])),_0x55920c;}),fetchLogDir=()=>{const _0x30285e=a105_0x431b4e;if(process['env'][_0x30285e(0x20a)])return process[_0x30285e(0x1c1)][_0x30285e(0x20a)];else!fs[_0x30285e(0x1df)](tempLogDir)&&fs[_0x30285e(0x1fa)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a105_0x11ffc2={};a105_0x11ffc2[a105_0x431b4e(0x1eb)]=a105_0x431b4e(0x1f9);function a105_0x4513(){const _0x46e4a2=['oeyQS','3TFFOaS','error','string','buildLogger','warn','debugLoggerFile','YYYY-MM-DD\x20HH:mm:ss','name','code','http','zFYHw','9GtDQoT','accessKey','join','session','colorize','debug','35zLcbfe','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','automationLoggerFile','5|3|0|1|2|4','console.info','mkdirSync','\x20-\x20','EPIPE','logDir','message','true','level','[REDACTED]','automation.log','printf','format','csgrc','4397080UTjvqs','File','path','combine','BROWSERSTACK_INTERNAL_LOG_DIR','transports','winstonLogger','../bin/utils/constants','fileLogger','winston','env','timestamp','368721JLvfkz','silly','log','556215UGtdxU','Console','7NvXshc','loggerFile','Mexqu','add','dCBoQ','replace','BROWSERSTACK_AUTOMATION_LOGS','createLogger','AxngR','1812116MCFyhX','6131464NzqmgR','84AgrIKs','config','split','uncolorize','1331484WtVuUt','automationLogger','/usage.log','nZPSr','/usage-debug.log','203106lAbytH','WBKbZ','loggerConsole','existsSync','initialize','info','userName'];a105_0x4513=function(){return _0x46e4a2;};return a105_0x4513();}const transports={'loggerConsole':new winston['transports'][(a105_0x431b4e(0x1c7))](a105_0x11ffc2),'loggerFile':new winston['transports'][(a105_0x431b4e(0x207))]({'filename':path[a105_0x431b4e(0x1f1)](logDir,'/usage.log')}),'debugLoggerFile':new winston['transports']['File']({'filename':path['join'](logDir,a105_0x431b4e(0x1db)),'level':'silly'}),'debugCliLoggerFile':new winston[(a105_0x431b4e(0x20b))][(a105_0x431b4e(0x207))]({'filename':path[a105_0x431b4e(0x1f1)](logDir,'/sdk-cli-debug.log'),'level':a105_0x431b4e(0x1c4)}),'buildLinkTransport':new winston[(a105_0x431b4e(0x20b))][(a105_0x431b4e(0x207))]({'filename':path[a105_0x431b4e(0x1f1)](logDir,a105_0x431b4e(0x1d9)),'level':a105_0x431b4e(0x1c4)})},automationTransports={};function a105_0x10ed(_0x45213b,_0x15b8c4){const _0x451339=a105_0x4513();return a105_0x10ed=function(_0x10ed9e,_0x58a896){_0x10ed9e=_0x10ed9e-0x1c0;let _0x50746f=_0x451339[_0x10ed9e];return _0x50746f;},a105_0x10ed(_0x45213b,_0x15b8c4);}process[a105_0x431b4e(0x1c1)][a105_0x431b4e(0x1ce)]===a105_0x431b4e(0x1ff)&&(automationTransports[a105_0x431b4e(0x1f7)]=new winston[(a105_0x431b4e(0x20b))][(a105_0x431b4e(0x207))]({'filename':path[a105_0x431b4e(0x1f1)](logDir,a105_0x431b4e(0x202)),'level':a105_0x431b4e(0x1c4)}));transports[a105_0x431b4e(0x1de)]['on']('error',_0x5defc3=>{const _0x3df079=a105_0x431b4e,_0x2437d2={};_0x2437d2[_0x3df079(0x1e3)]=function(_0x3ef116,_0xc41c3c){return _0x3ef116===_0xc41c3c;},_0x2437d2['unuYt']=_0x3df079(0x1fc),_0x2437d2[_0x3df079(0x1ee)]=_0x3df079(0x1f6);const _0x522ce8=_0x2437d2;if(_0x522ce8['oeyQS'](_0x5defc3[_0x3df079(0x1ec)],_0x522ce8['unuYt'])){console[_0x3df079(0x1c5)](_0x522ce8[_0x3df079(0x1ee)],_0x5defc3[_0x3df079(0x1fe)]);return;}throw _0x5defc3;});const a105_0x5ca088={};a105_0x5ca088['format']=a105_0x431b4e(0x1ea);const a105_0x425d84={};a105_0x425d84['level']=!![];const winstonLoggerParams={'format':winston[a105_0x431b4e(0x204)]['combine'](winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x1c2)](a105_0x5ca088),winston[a105_0x431b4e(0x204)]['colorize'](a105_0x425d84),winston['format']['printf'](_0x52c1b7=>_0x52c1b7['timestamp']+a105_0x431b4e(0x1fb)+_0x52c1b7['level']+':\x20'+_0x52c1b7[a105_0x431b4e(0x1fe)])),'transports':[transports[a105_0x431b4e(0x1de)]]},a105_0x1862d5={};a105_0x1862d5[a105_0x431b4e(0x204)]='YYYY-MM-DD\x20HH:mm:ss';const a105_0x5c234a={};a105_0x5c234a[a105_0x431b4e(0x200)]=!![];const winstonFileLoggerParams={'format':winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x209)](winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x1c2)](a105_0x1862d5),winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x1f3)](a105_0x5c234a),winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x203)](_0x1af179=>_0x1af179[a105_0x431b4e(0x200)]+':\x20'+_0x1af179[a105_0x431b4e(0x1fe)])),'transports':[]},a105_0x202139={};a105_0x202139['format']='YYYY-MM-DD\x20HH:mm:ss';const a105_0x3b6a8e={};a105_0x3b6a8e[a105_0x431b4e(0x200)]=!![];const a105_0x3def6b={};a105_0x3def6b['level']=a105_0x431b4e(0x1c4);const BuildLoggerParams={'format':winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x209)](winston[a105_0x431b4e(0x204)]['timestamp'](a105_0x202139),winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x1f3)](a105_0x3b6a8e),winston[a105_0x431b4e(0x204)]['printf'](_0x52ac1b=>_0x52ac1b[a105_0x431b4e(0x1c2)]+a105_0x431b4e(0x1fb)+_0x52ac1b['level']+':\x20'+_0x52ac1b[a105_0x431b4e(0x1fe)])),'transports':[transports['buildLinkTransport'],new winston['transports'][(a105_0x431b4e(0x1c7))](a105_0x3def6b)]},a105_0x51d2c7={};a105_0x51d2c7[a105_0x431b4e(0x1ed)]=()=>{},a105_0x51d2c7[a105_0x431b4e(0x1e1)]=()=>{},a105_0x51d2c7[a105_0x431b4e(0x1e8)]=()=>{},a105_0x51d2c7[a105_0x431b4e(0x1e5)]=()=>{},a105_0x51d2c7[a105_0x431b4e(0x1f4)]=()=>{},a105_0x51d2c7[a105_0x431b4e(0x1c4)]=()=>{},exports[a105_0x431b4e(0x1d8)]=process[a105_0x431b4e(0x1c1)][a105_0x431b4e(0x1ce)]===a105_0x431b4e(0x1ff)?winston['createLogger']({'format':winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x209)](winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x1d6)](),winston[a105_0x431b4e(0x204)]['timestamp'](),logFormat(),winston[a105_0x431b4e(0x204)][a105_0x431b4e(0x203)](_0x266da5=>_0x266da5[a105_0x431b4e(0x200)]+':\x20'+_0x266da5[a105_0x431b4e(0x1fe)])),'transports':[automationTransports[a105_0x431b4e(0x1f7)]]}):a105_0x51d2c7;const initialize=()=>{const _0x5965ab=a105_0x431b4e,_0xa9cf13={};_0xa9cf13[_0x5965ab(0x205)]=_0x5965ab(0x1f8),_0xa9cf13[_0x5965ab(0x1ca)]=_0x5965ab(0x1c4);const _0x3d751d=_0xa9cf13,_0x4c0211=_0x3d751d[_0x5965ab(0x205)][_0x5965ab(0x1d5)]('|');let _0x226e41=0x0;while(!![]){switch(_0x4c0211[_0x226e41++]){case'0':exports[_0x5965ab(0x20c)][_0x5965ab(0x1cb)](transports['loggerFile']);continue;case'1':exports[_0x5965ab(0x20c)][_0x5965ab(0x1cb)](transports[_0x5965ab(0x1e9)]);continue;case'2':exports[_0x5965ab(0x20e)][_0x5965ab(0x1cb)](transports[_0x5965ab(0x1c9)]);continue;case'3':transports[_0x5965ab(0x1e9)]=new winston[(_0x5965ab(0x20b))][(_0x5965ab(0x207))]({'filename':path[_0x5965ab(0x1f1)](exports[_0x5965ab(0x1fd)],DEBUG_LOG_FILE_NAME),'level':_0x3d751d[_0x5965ab(0x1ca)]});continue;case'4':exports[_0x5965ab(0x20e)][_0x5965ab(0x1cb)](transports['debugLoggerFile']);continue;case'5':transports[_0x5965ab(0x1c9)]=new winston['transports'][(_0x5965ab(0x207))]({'filename':path[_0x5965ab(0x1f1)](exports[_0x5965ab(0x1fd)],LOG_FILE_NAME)});continue;}break;}};exports[a105_0x431b4e(0x20c)]=new winston[(a105_0x431b4e(0x1cf))](winstonLoggerParams),exports[a105_0x431b4e(0x20e)]=new winston[(a105_0x431b4e(0x1cf))](winstonFileLoggerParams),exports[a105_0x431b4e(0x1e7)]=new winston[(a105_0x431b4e(0x1cf))](BuildLoggerParams),exports[a105_0x431b4e(0x1fd)]=logDir,exports['getLogDir']=()=>{const _0x3513a0=a105_0x431b4e;return exports[_0x3513a0(0x1fd)];},exports[a105_0x431b4e(0x20b)]=transports,exports[a105_0x431b4e(0x1e0)]=initialize;logDir&&initialize();
1
+ const a106_0x48a1c6=a106_0x570a;(function(_0x34aca2,_0x1cac9c){const _0x699531=a106_0x570a,_0x55ce1f=_0x34aca2();while(!![]){try{const _0x48c2d0=-parseInt(_0x699531(0x1e0))/0x1*(-parseInt(_0x699531(0x1fa))/0x2)+-parseInt(_0x699531(0x1b7))/0x3+parseInt(_0x699531(0x1e2))/0x4*(-parseInt(_0x699531(0x1db))/0x5)+-parseInt(_0x699531(0x1c7))/0x6+-parseInt(_0x699531(0x1d4))/0x7*(-parseInt(_0x699531(0x1ed))/0x8)+-parseInt(_0x699531(0x1bb))/0x9+-parseInt(_0x699531(0x1cd))/0xa*(-parseInt(_0x699531(0x1f0))/0xb);if(_0x48c2d0===_0x1cac9c)break;else _0x55ce1f['push'](_0x55ce1f['shift']());}catch(_0x4f5afa){_0x55ce1f['push'](_0x55ce1f['shift']());}}}(a106_0x34d2,0xb5de9));const winston=require(a106_0x48a1c6(0x1eb)),path=require('path'),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a106_0x48a1c6(0x1b6)),tempLogDir=a106_0x48a1c6(0x1be),logFormat=winston[a106_0x48a1c6(0x1c0)](_0x43dc9b=>{const _0x50b563=a106_0x48a1c6,_0x44c11e={};_0x44c11e[_0x50b563(0x1d0)]=function(_0x1ef683,_0x8e0ec5){return _0x1ef683!==_0x8e0ec5;},_0x44c11e[_0x50b563(0x1c6)]='string',_0x44c11e[_0x50b563(0x1f5)]=function(_0x89a246,_0x29bed9){return _0x89a246===_0x29bed9;},_0x44c11e[_0x50b563(0x1b5)]=_0x50b563(0x1ce);const _0x447151=_0x44c11e;return _0x447151[_0x50b563(0x1d0)](typeof _0x43dc9b[_0x50b563(0x1f3)],_0x447151[_0x50b563(0x1c6)])&&(_0x43dc9b[_0x50b563(0x1f3)]=JSON[_0x50b563(0x1f4)](_0x43dc9b[_0x50b563(0x1f3)])),global[_0x50b563(0x1c3)]?.[_0x50b563(0x1e3)]?.['userName']&&_0x447151[_0x50b563(0x1f5)](typeof _0x43dc9b['message'],_0x447151[_0x50b563(0x1c6)])&&(_0x43dc9b[_0x50b563(0x1f3)]=_0x43dc9b[_0x50b563(0x1f3)][_0x50b563(0x1b2)](new RegExp(global[_0x50b563(0x1c3)][_0x50b563(0x1e3)][_0x50b563(0x1f8)],'g'),_0x447151[_0x50b563(0x1b5)])),global[_0x50b563(0x1c3)]?.[_0x50b563(0x1e3)]?.[_0x50b563(0x1d7)]&&_0x447151[_0x50b563(0x1f5)](typeof _0x43dc9b['message'],_0x447151[_0x50b563(0x1c6)])&&(_0x43dc9b['message']=_0x43dc9b[_0x50b563(0x1f3)][_0x50b563(0x1b2)](new RegExp(global[_0x50b563(0x1c3)][_0x50b563(0x1e3)][_0x50b563(0x1d7)],'g'),_0x447151[_0x50b563(0x1b5)])),_0x43dc9b;}),fetchLogDir=()=>{const _0xdb0a47=a106_0x48a1c6;if(process['env'][_0xdb0a47(0x1bc)])return process[_0xdb0a47(0x1cc)]['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs[_0xdb0a47(0x1f2)](tempLogDir)&&fs[_0xdb0a47(0x1e1)](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a106_0x3e9128={};a106_0x3e9128[a106_0x48a1c6(0x1e5)]=a106_0x48a1c6(0x1d1);const transports={'loggerConsole':new winston[(a106_0x48a1c6(0x1b8))]['Console'](a106_0x3e9128),'loggerFile':new winston['transports']['File']({'filename':path[a106_0x48a1c6(0x1d8)](logDir,'/usage.log')}),'debugLoggerFile':new winston[(a106_0x48a1c6(0x1b8))][(a106_0x48a1c6(0x1cf))]({'filename':path[a106_0x48a1c6(0x1d8)](logDir,'/usage-debug.log'),'level':a106_0x48a1c6(0x1df)}),'debugCliLoggerFile':new winston[(a106_0x48a1c6(0x1b8))]['File']({'filename':path[a106_0x48a1c6(0x1d8)](logDir,a106_0x48a1c6(0x1dc)),'level':a106_0x48a1c6(0x1df)}),'buildLinkTransport':new winston[(a106_0x48a1c6(0x1b8))]['File']({'filename':path['join'](logDir,'/usage.log'),'level':a106_0x48a1c6(0x1df)})},automationTransports={};process[a106_0x48a1c6(0x1cc)][a106_0x48a1c6(0x1c8)]===a106_0x48a1c6(0x1ba)&&(automationTransports[a106_0x48a1c6(0x1c5)]=new winston['transports'][(a106_0x48a1c6(0x1cf))]({'filename':path[a106_0x48a1c6(0x1d8)](logDir,'automation.log'),'level':'silly'}));transports['loggerConsole']['on']('error',_0x2e1eac=>{const _0x10b614=a106_0x48a1c6,_0x20f830={};_0x20f830[_0x10b614(0x1c2)]=function(_0x191b50,_0x41fffc){return _0x191b50===_0x41fffc;},_0x20f830['Eyill']=_0x10b614(0x1da),_0x20f830['JePZp']=_0x10b614(0x1e7);const _0x4442a4=_0x20f830;if(_0x4442a4[_0x10b614(0x1c2)](_0x2e1eac[_0x10b614(0x1d3)],_0x4442a4[_0x10b614(0x1e8)])){console['log'](_0x4442a4[_0x10b614(0x1e9)],_0x2e1eac[_0x10b614(0x1f3)]);return;}throw _0x2e1eac;});const a106_0x524663={};a106_0x524663[a106_0x48a1c6(0x1c0)]=a106_0x48a1c6(0x1e6);const a106_0x3face8={};a106_0x3face8[a106_0x48a1c6(0x1d6)]=!![];const winstonLoggerParams={'format':winston[a106_0x48a1c6(0x1c0)]['combine'](winston['format'][a106_0x48a1c6(0x1d9)](a106_0x524663),winston['format']['colorize'](a106_0x3face8),winston[a106_0x48a1c6(0x1c0)][a106_0x48a1c6(0x1f7)](_0x1d5d56=>_0x1d5d56[a106_0x48a1c6(0x1d9)]+'\x20-\x20'+_0x1d5d56[a106_0x48a1c6(0x1d6)]+':\x20'+_0x1d5d56['message'])),'transports':[transports['loggerConsole']]},a106_0x2c1862={};a106_0x2c1862[a106_0x48a1c6(0x1c0)]=a106_0x48a1c6(0x1e6);function a106_0x570a(_0x2e035f,_0x2eb4aa){const _0x34d2fe=a106_0x34d2();return a106_0x570a=function(_0x570a5e,_0x4db75b){_0x570a5e=_0x570a5e-0x1b2;let _0x105fd0=_0x34d2fe[_0x570a5e];return _0x105fd0;},a106_0x570a(_0x2e035f,_0x2eb4aa);}const a106_0x183ad2={};a106_0x183ad2[a106_0x48a1c6(0x1d6)]=!![];const winstonFileLoggerParams={'format':winston[a106_0x48a1c6(0x1c0)][a106_0x48a1c6(0x1ea)](winston[a106_0x48a1c6(0x1c0)]['timestamp'](a106_0x2c1862),winston[a106_0x48a1c6(0x1c0)][a106_0x48a1c6(0x1ef)](a106_0x183ad2),winston[a106_0x48a1c6(0x1c0)]['printf'](_0x41afcd=>_0x41afcd['level']+':\x20'+_0x41afcd[a106_0x48a1c6(0x1f3)])),'transports':[]},a106_0x32f3da={};a106_0x32f3da['format']=a106_0x48a1c6(0x1e6);const a106_0x2b9466={};a106_0x2b9466[a106_0x48a1c6(0x1d6)]=!![];const a106_0x3ad967={};function a106_0x34d2(){const _0x1e26e5=['transports','sSAxO','true','835173kaCfhm','BROWSERSTACK_INTERNAL_LOG_DIR','uncolorize','log','info','format','RKDXB','sQrbe','session','winstonLogger','automationLoggerFile','NMbKf','1101786NkqBeC','BROWSERSTACK_AUTOMATION_LOGS','split','fileLogger','debug','env','9270430udaSRa','[REDACTED]','File','LfiZz','console.info','buildLogger','code','763RRARlE','loggerFile','level','accessKey','join','timestamp','EPIPE','7695RAnGNv','/sdk-cli-debug.log','Console','initialize','silly','154aTuBfF','mkdirSync','2256yXKlEc','config','automationLogger','name','YYYY-MM-DD\x20HH:mm:ss','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','Eyill','JePZp','combine','winston','createLogger','45744THMSDw','buildLinkTransport','colorize','11iUkEYi','logDir','existsSync','message','stringify','FANOJ','debugLoggerFile','printf','userName','add','17114ZTMjqc','replace','warn','error','HttXP','../bin/utils/constants','2936166XbPyVK'];a106_0x34d2=function(){return _0x1e26e5;};return a106_0x34d2();}a106_0x3ad967['level']=a106_0x48a1c6(0x1df);const BuildLoggerParams={'format':winston['format'][a106_0x48a1c6(0x1ea)](winston[a106_0x48a1c6(0x1c0)]['timestamp'](a106_0x32f3da),winston['format'][a106_0x48a1c6(0x1ef)](a106_0x2b9466),winston[a106_0x48a1c6(0x1c0)][a106_0x48a1c6(0x1f7)](_0x130fad=>_0x130fad[a106_0x48a1c6(0x1d9)]+'\x20-\x20'+_0x130fad['level']+':\x20'+_0x130fad[a106_0x48a1c6(0x1f3)])),'transports':[transports[a106_0x48a1c6(0x1ee)],new winston[(a106_0x48a1c6(0x1b8))][(a106_0x48a1c6(0x1dd))](a106_0x3ad967)]},a106_0x4872bd={};a106_0x4872bd['http']=()=>{},a106_0x4872bd[a106_0x48a1c6(0x1bf)]=()=>{},a106_0x4872bd[a106_0x48a1c6(0x1b3)]=()=>{},a106_0x4872bd[a106_0x48a1c6(0x1b4)]=()=>{},a106_0x4872bd[a106_0x48a1c6(0x1cb)]=()=>{},a106_0x4872bd[a106_0x48a1c6(0x1df)]=()=>{},exports[a106_0x48a1c6(0x1e4)]=process['env'][a106_0x48a1c6(0x1c8)]===a106_0x48a1c6(0x1ba)?winston[a106_0x48a1c6(0x1ec)]({'format':winston[a106_0x48a1c6(0x1c0)][a106_0x48a1c6(0x1ea)](winston[a106_0x48a1c6(0x1c0)][a106_0x48a1c6(0x1bd)](),winston['format'][a106_0x48a1c6(0x1d9)](),logFormat(),winston['format'][a106_0x48a1c6(0x1f7)](_0x102732=>_0x102732[a106_0x48a1c6(0x1d6)]+':\x20'+_0x102732['message'])),'transports':[automationTransports[a106_0x48a1c6(0x1c5)]]}):a106_0x4872bd;const initialize=()=>{const _0xbd4a78=a106_0x48a1c6,_0x5e6833={};_0x5e6833[_0xbd4a78(0x1b9)]='4|0|5|2|1|3',_0x5e6833[_0xbd4a78(0x1c1)]='silly';const _0xccf50d=_0x5e6833,_0x325a64=_0xccf50d['sSAxO'][_0xbd4a78(0x1c9)]('|');let _0x5ae37c=0x0;while(!![]){switch(_0x325a64[_0x5ae37c++]){case'0':transports[_0xbd4a78(0x1f6)]=new winston[(_0xbd4a78(0x1b8))][(_0xbd4a78(0x1cf))]({'filename':path[_0xbd4a78(0x1d8)](exports[_0xbd4a78(0x1f1)],DEBUG_LOG_FILE_NAME),'level':_0xccf50d[_0xbd4a78(0x1c1)]});continue;case'1':exports[_0xbd4a78(0x1ca)][_0xbd4a78(0x1f9)](transports[_0xbd4a78(0x1d5)]);continue;case'2':exports[_0xbd4a78(0x1c4)][_0xbd4a78(0x1f9)](transports[_0xbd4a78(0x1f6)]);continue;case'3':exports[_0xbd4a78(0x1ca)][_0xbd4a78(0x1f9)](transports[_0xbd4a78(0x1f6)]);continue;case'4':transports[_0xbd4a78(0x1d5)]=new winston[(_0xbd4a78(0x1b8))][(_0xbd4a78(0x1cf))]({'filename':path[_0xbd4a78(0x1d8)](exports[_0xbd4a78(0x1f1)],LOG_FILE_NAME)});continue;case'5':exports[_0xbd4a78(0x1c4)]['add'](transports[_0xbd4a78(0x1d5)]);continue;}break;}};exports[a106_0x48a1c6(0x1c4)]=new winston['createLogger'](winstonLoggerParams),exports['fileLogger']=new winston['createLogger'](winstonFileLoggerParams),exports[a106_0x48a1c6(0x1d2)]=new winston[(a106_0x48a1c6(0x1ec))](BuildLoggerParams),exports[a106_0x48a1c6(0x1f1)]=logDir,exports['getLogDir']=()=>{const _0x191cce=a106_0x48a1c6;return exports[_0x191cce(0x1f1)];},exports['transports']=transports,exports[a106_0x48a1c6(0x1de)]=initialize;logDir&&initialize();
@@ -1 +1 @@
1
- const a106_0x44b1ff=a106_0x59ca;(function(_0x3d71be,_0x5337ef){const _0x7a76e0=a106_0x59ca,_0x30e361=_0x3d71be();while(!![]){try{const _0x495ca7=-parseInt(_0x7a76e0(0x211))/0x1*(parseInt(_0x7a76e0(0x1fa))/0x2)+parseInt(_0x7a76e0(0x204))/0x3+-parseInt(_0x7a76e0(0x203))/0x4*(parseInt(_0x7a76e0(0x20b))/0x5)+-parseInt(_0x7a76e0(0x1f8))/0x6+parseInt(_0x7a76e0(0x1f2))/0x7*(-parseInt(_0x7a76e0(0x205))/0x8)+-parseInt(_0x7a76e0(0x1f9))/0x9+parseInt(_0x7a76e0(0x1f5))/0xa;if(_0x495ca7===_0x5337ef)break;else _0x30e361['push'](_0x30e361['shift']());}catch(_0x1a7145){_0x30e361['push'](_0x30e361['shift']());}}}(a106_0x1ca3,0x724fe));function a106_0x59ca(_0x3c3ba1,_0x52aee9){const _0x1ca340=a106_0x1ca3();return a106_0x59ca=function(_0x59ca2f,_0x47a29a){_0x59ca2f=_0x59ca2f-0x1f0;let _0x256d4c=_0x1ca340[_0x59ca2f];return _0x256d4c;},a106_0x59ca(_0x3c3ba1,_0x52aee9);}const globals=require(a106_0x44b1ff(0x201)),helper=require(a106_0x44b1ff(0x20e)),logger=require(a106_0x44b1ff(0x208))['winstonLogger'];module[a106_0x44b1ff(0x200)]=class TestMetadata{static[a106_0x44b1ff(0x1f3)](_0xa17c6a={}){const _0x1d6ac9=a106_0x44b1ff,_0x5dfce1={};_0x5dfce1[_0x1d6ac9(0x209)]=_0x1d6ac9(0x1fd),_0x5dfce1[_0x1d6ac9(0x206)]=function(_0x3adb7c,_0x1c240f){return _0x3adb7c===_0x1c240f;},_0x5dfce1[_0x1d6ac9(0x1f7)]='string',_0x5dfce1[_0x1d6ac9(0x1f0)]=function(_0xa82710,_0x27f3c0){return _0xa82710<=_0x27f3c0;},_0x5dfce1[_0x1d6ac9(0x202)]='testMeta',_0x5dfce1[_0x1d6ac9(0x1ff)]=_0x1d6ac9(0x1f1);const _0x10d26b=_0x5dfce1,_0x132b33=globals[_0x1d6ac9(0x1fc)](_0x10d26b[_0x1d6ac9(0x209)]),_0x31b7eb=_0xa17c6a[_0x1d6ac9(0x210)];helper[_0x1d6ac9(0x20c)]()[_0x1d6ac9(0x1f6)]&&(_0x10d26b[_0x1d6ac9(0x206)](typeof _0x31b7eb,_0x10d26b['MVrKb'])&&_0x10d26b['xVvoJ'](_0x31b7eb[_0x1d6ac9(0x207)],0x28)?_0x132b33?globals[_0x1d6ac9(0x1fe)]('testMeta-'+_0x132b33,_0xa17c6a):globals[_0x1d6ac9(0x1fe)](_0x10d26b[_0x1d6ac9(0x202)],_0xa17c6a):logger[_0x1d6ac9(0x1fb)](_0x10d26b[_0x1d6ac9(0x1ff)]));}static[a106_0x44b1ff(0x20d)](_0x564db3){const _0x57f64f=a106_0x44b1ff,_0x378a08={};_0x378a08[_0x57f64f(0x20a)]=_0x57f64f(0x20f);const _0x2a5484=_0x378a08;if(helper[_0x57f64f(0x20c)]()[_0x57f64f(0x1f6)])return globals[_0x57f64f(0x1fc)](_0x57f64f(0x1f4)+_0x564db3)||globals['getGlobal'](_0x2a5484[_0x57f64f(0x20a)])||{};return{};}};function a106_0x1ca3(){const _0x3a0051=['warn','getGlobal','testRunUUID','setGlobal','FYprT','exports','./globals','rRbBR','3464uPhTTA','1847493SJrUfL','252248ASGrcG','GhUqS','length','./logger','EDBxl','tiYGE','5205KQbHFO','getCentralUser','get','./helper','testMeta','identifier','555827LulgaV','xVvoJ','The\x20metadata\x20object\x20is\x20not\x20valid.','28rAMEaC','set','testMeta-','17938470rYRHVw','lcnc','MVrKb','1924284cCiCbK','335565LmRGjE','2xPdXYt'];a106_0x1ca3=function(){return _0x3a0051;};return a106_0x1ca3();}
1
+ const a107_0xb09824=a107_0x1032;function a107_0xec12(){const _0x3ea70a=['1uzTKzH','string','identifier','76820oqYptj','41904aIwmKA','./logger','325158KXsRGA','1616EpZPVn','testMeta','getGlobal','setGlobal','lcnc','UDUAl','770538NQLDlK','getCentralUser','winstonLogger','cneaA','WFrsd','set','HOyeF','203sddFIq','yEFcL','length','120006oUjPoO','143CiCxYu','SGJjt','./globals','testMeta-','The\x20metadata\x20object\x20is\x20not\x20valid.','733448JAQJiD','DoclU','exports','testRunUUID','346930bQkRIY'];a107_0xec12=function(){return _0x3ea70a;};return a107_0xec12();}(function(_0x3f83b7,_0xacd15f){const _0x4073e0=a107_0x1032,_0x4076a4=_0x3f83b7();while(!![]){try{const _0x445ab9=parseInt(_0x4073e0(0x1cf))/0x1*(-parseInt(_0x4073e0(0x1dc))/0x2)+-parseInt(_0x4073e0(0x1c4))/0x3+parseInt(_0x4073e0(0x1ca))/0x4+-parseInt(_0x4073e0(0x1d2))/0x5+-parseInt(_0x4073e0(0x1d5))/0x6*(-parseInt(_0x4073e0(0x1c1))/0x7)+-parseInt(_0x4073e0(0x1d6))/0x8*(parseInt(_0x4073e0(0x1d3))/0x9)+parseInt(_0x4073e0(0x1ce))/0xa*(parseInt(_0x4073e0(0x1c5))/0xb);if(_0x445ab9===_0xacd15f)break;else _0x4076a4['push'](_0x4076a4['shift']());}catch(_0xe99ca1){_0x4076a4['push'](_0x4076a4['shift']());}}}(a107_0xec12,0xc95f5));const globals=require(a107_0xb09824(0x1c7)),helper=require('./helper'),logger=require(a107_0xb09824(0x1d4))[a107_0xb09824(0x1de)];function a107_0x1032(_0x297eaa,_0x215604){const _0xec12bf=a107_0xec12();return a107_0x1032=function(_0x1032f6,_0x1540fa){_0x1032f6=_0x1032f6-0x1bd;let _0x4c542e=_0xec12bf[_0x1032f6];return _0x4c542e;},a107_0x1032(_0x297eaa,_0x215604);}module[a107_0xb09824(0x1cc)]=class TestMetadata{static[a107_0xb09824(0x1bf)](_0x35853b={}){const _0x56e82d=a107_0xb09824,_0xd20c60={};_0xd20c60[_0x56e82d(0x1c6)]=_0x56e82d(0x1cd),_0xd20c60[_0x56e82d(0x1cb)]=function(_0x451a13,_0x1eb815){return _0x451a13===_0x1eb815;},_0xd20c60[_0x56e82d(0x1c0)]=_0x56e82d(0x1d0),_0xd20c60[_0x56e82d(0x1bd)]=function(_0x55e50d,_0x1ebd5b){return _0x55e50d<=_0x1ebd5b;},_0xd20c60[_0x56e82d(0x1db)]=_0x56e82d(0x1d7),_0xd20c60['WFrsd']=_0x56e82d(0x1c9);const _0x2b61bc=_0xd20c60,_0x100a8d=globals['getGlobal'](_0x2b61bc['SGJjt']),_0x15064d=_0x35853b[_0x56e82d(0x1d1)];helper['getCentralUser']()[_0x56e82d(0x1da)]&&(_0x2b61bc['DoclU'](typeof _0x15064d,_0x2b61bc[_0x56e82d(0x1c0)])&&_0x2b61bc['cneaA'](_0x15064d[_0x56e82d(0x1c3)],0x28)?_0x100a8d?globals[_0x56e82d(0x1d9)]('testMeta-'+_0x100a8d,_0x35853b):globals[_0x56e82d(0x1d9)](_0x2b61bc['UDUAl'],_0x35853b):logger['warn'](_0x2b61bc[_0x56e82d(0x1be)]));}static['get'](_0x2aa464){const _0x44990b=a107_0xb09824,_0x59f73f={};_0x59f73f[_0x44990b(0x1c2)]=_0x44990b(0x1d7);const _0x2e29d8=_0x59f73f;if(helper[_0x44990b(0x1dd)]()[_0x44990b(0x1da)])return globals[_0x44990b(0x1d8)](_0x44990b(0x1c8)+_0x2aa464)||globals[_0x44990b(0x1d8)](_0x2e29d8[_0x44990b(0x1c2)])||{};return{};}};
@@ -1 +1 @@
1
- function a107_0x1094(_0x1731f6,_0x444fec){const _0x45cace=a107_0x45ca();return a107_0x1094=function(_0x1094fe,_0x1478af){_0x1094fe=_0x1094fe-0x184;let _0x1aa3ad=_0x45cace[_0x1094fe];return _0x1aa3ad;},a107_0x1094(_0x1731f6,_0x444fec);}const a107_0x4d5fae=a107_0x1094;(function(_0x24f554,_0x51a39b){const _0x30e97d=a107_0x1094,_0x52ba70=_0x24f554();while(!![]){try{const _0x3fa0c3=parseInt(_0x30e97d(0x18c))/0x1+parseInt(_0x30e97d(0x19f))/0x2*(-parseInt(_0x30e97d(0x1ca))/0x3)+-parseInt(_0x30e97d(0x1bc))/0x4+parseInt(_0x30e97d(0x1f9))/0x5+parseInt(_0x30e97d(0x186))/0x6*(parseInt(_0x30e97d(0x1dc))/0x7)+-parseInt(_0x30e97d(0x1d4))/0x8+-parseInt(_0x30e97d(0x18b))/0x9*(-parseInt(_0x30e97d(0x185))/0xa);if(_0x3fa0c3===_0x51a39b)break;else _0x52ba70['push'](_0x52ba70['shift']());}catch(_0x36209b){_0x52ba70['push'](_0x52ba70['shift']());}}}(a107_0x45ca,0x44950));function a107_0x45ca(){const _0x14c006=['KNSqO','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','JyBzD','skipHealingSuccess','executeAsyncScript','jrAGu','getTcgTokenStatus','toString','cxKJZ','isSelfHealEnabled','FeyoZ','rZYeT','parameters','Gpkoh','AcfwT','MrvQD','isBrowserstackInfra','UtXNj','get','tIbsq','][\x20SDK-AUTOMATION\x20]\x20','MMuDi','./performance/performance-tester','handleSuccess','handleFailure','Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20','local','748595spgzGL','parameters_',';\x20Trying\x20to\x20heal','ALmYx','PRE_EXECUTE','setTcgTokenStatus','getNudgeLocalNotSetError','util','VqcUO','9540010KdZxMH','18jdOcny','jOCBY','script','toISOString','info','9Zbsdhx','320240uQOSgJ','fYIhD','aUiUL','findElement','SCwFb','format','patchExecute','QosXL','findElement\x20command\x20failed\x20with\x20','IFclo','name_','Successfully\x20healed\x20command\x20using\x20new\x20','setTcgToken','response','liBbG','DIBdC','sMBdx','css\x20selector','dQJgs','106WslOcq','oXOER','silly','request','../bin/utils/constants','capability','./helper','./globals','includes','DBBFK','command','kdjOD','./ai-sdk/autoHealHelper','overrideExecute','find','VnUKJ','string','getGlobal','error','wtgTh','aiHeal:setToken','POST_EXECUTE','HsULX','url','using','HWRQO','NUDGE_LOCAL_ERRORS','nestedKeyValue','initExecute','1074032JCeyBg','WWHCp','debug','aiSdk_defaultLogDataEnabled','usbnW','uJHbz','wcnwJ','JavascriptError','UPoVh','./performance/constants','./logger','measureWrapper','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','./ai-sdk/aiSdkWrapper','24777fRpbyr','getSession','aiHeal:findElementSuccess','NoSuchElementError','XrLSI','name','args','Healing\x20failed\x20for\x20command\x20using\x20','Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','execute','3498968BQEntT','WZsok','getId','ygeGZ','aiHeal_isAuthenticated','browserstack.local','dcSAT','aiHeal_isHealingEnabled','1302mnyEdT','value'];a107_0x45ca=function(){return _0x14c006;};return a107_0x45ca();}const {aiSdkWrapper}=require(a107_0x4d5fae(0x1c9)),{commandRepository}=require(a107_0x4d5fae(0x1ab)),PerformanceTester=require(a107_0x4d5fae(0x1f4)),globals=require(a107_0x4d5fae(0x1a6)),{winstonLogger:logger,automationLogger}=require(a107_0x4d5fae(0x1c6)),helper=require(a107_0x4d5fae(0x1a5)),constants=require(a107_0x4d5fae(0x1a3)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a107_0x4d5fae(0x1c5)),util=require(a107_0x4d5fae(0x200));exports[a107_0x4d5fae(0x1ac)]=(_0xfb6b94,_0x276190)=>{const _0x26a638=a107_0x4d5fae,_0x2f35af={'WWHCp':_0x26a638(0x1bf),'wtgTh':function(_0x77012f,_0x2685de){return _0x77012f===_0x2685de;},'aUiUL':_0x26a638(0x18f),'WZsok':_0x26a638(0x1d8),'Gpkoh':_0x26a638(0x1db),'oXOER':_0x26a638(0x1cc),'fYIhD':function(_0x1a8d21){return _0x1a8d21();},'liBbG':_0x26a638(0x1df),'AcfwT':_0x26a638(0x1cd),'DBBFK':function(_0x2def99,_0x13b03b){return _0x2def99===_0x13b03b;},'wcnwJ':_0x26a638(0x1c3),'ygeGZ':function(_0x3eab52,_0x49a2c2){return _0x3eab52===_0x49a2c2;},'uJHbz':_0x26a638(0x19d),'jrAGu':function(_0x308345,_0x1afbf7){return _0x308345+_0x1afbf7;},'HsULX':function(_0x3aefa5,_0x9fac0e){return _0x3aefa5+_0x9fac0e;},'VnUKJ':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','UtXNj':_0x26a638(0x1fb),'JyBzD':function(_0x59463d,_0x93480d){return _0x59463d+_0x93480d;},'sMBdx':function(_0x4356de,_0x310f1a){return _0x4356de+_0x310f1a;},'SCwFb':function(_0xef7209,_0x11e42a){return _0xef7209+_0x11e42a;},'UPoVh':_0x26a638(0x194),'ALmYx':'aiHeal:findElementFailure','lUnmj':function(_0x149ab8){return _0x149ab8();},'ZcCqR':function(_0x26fa54,_0x18100c){return _0x26fa54&&_0x18100c;},'MMuDi':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','dQJgs':function(_0x1dea5f,_0x12a6c){return _0x1dea5f+_0x12a6c;},'HWRQO':_0x26a638(0x197),'IFclo':function(_0x68e994,_0x1f13b2){return _0x68e994===_0x1f13b2;},'DIBdC':function(_0x4950d8,_0x3622a6){return _0x4950d8+_0x3622a6;},'Fdain':_0x26a638(0x1d2),'MWSaZ':function(_0x408236,_0x2b4678){return _0x408236+_0x2b4678;},'kdjOD':_0x26a638(0x1d1),'WudNG':_0x26a638(0x1f0),'wgODy':'parameters_','uWGOO':'url','QosXL':_0x26a638(0x1c8),'tIbsq':_0x26a638(0x1b3),'dcSAT':function(_0x454a37){return _0x454a37();},'cxKJZ':function(_0x528606,_0x3f262f){return _0x528606===_0x3f262f;},'FeyoZ':_0x26a638(0x1e2),'jOCBY':'executeScript','KNSqO':_0x26a638(0x1af),'XrLSI':_0x26a638(0x1a4),'usbnW':_0x26a638(0x1d9),'Vuqhw':'bstack:options','MrvQD':_0x26a638(0x1f8)},_0x37aad1=_0xfb6b94[_0x26a638(0x192)]||(helper[_0x26a638(0x1ba)](_0x276190,[_0x2f35af[_0x26a638(0x1ce)],_0x2f35af[_0x26a638(0x1c0)]])||helper[_0x26a638(0x1ba)](_0x276190,[_0x2f35af[_0x26a638(0x1ce)],_0x2f35af['Vuqhw'],_0x2f35af[_0x26a638(0x1ed)]]));if(!globals[_0x26a638(0x1b0)](_0x2f35af[_0x26a638(0x1d5)])&&!globals[_0x26a638(0x1b0)](_0x2f35af['Gpkoh'])&&_0x37aad1)return;_0xfb6b94[_0x26a638(0x192)]=!![],_0xfb6b94[_0x26a638(0x1bb)]=_0xfb6b94[_0x26a638(0x1d3)],_0xfb6b94[_0x26a638(0x1d3)]=async _0x3a1a33=>{const _0x54d645=_0x26a638,_0x39d528={'VqcUO':_0x2f35af[_0x54d645(0x1d5)],'ehhEh':_0x2f35af[_0x54d645(0x1f1)],'rZYeT':function(_0x3ab4d2){const _0xc99c3d=_0x54d645;return _0x2f35af[_0xc99c3d(0x1da)](_0x3ab4d2);}};try{const _0x1aab42={};_0x1aab42['command']=_0x3a1a33[_0x54d645(0x196)],await PerformanceTester[_0x54d645(0x1c7)](PerformanceDriverEvents[_0x54d645(0x1fd)],async()=>{const _0x4a84c9=_0x54d645;if(!commandRepository[_0x4a84c9(0x1e4)]()&&globals[_0x4a84c9(0x1b0)](_0x39d528[_0x4a84c9(0x184)])){const _0x8b1653=PerformanceTester[_0x4a84c9(0x1c7)](_0x39d528['ehhEh'],async()=>{const _0x1fedf2=_0x4a84c9;try{commandRepository[_0x1fedf2(0x1fe)](!![]),await aiSdkWrapper[_0x1fedf2(0x198)]((await _0xfb6b94[_0x1fedf2(0x1cb)]())[_0x1fedf2(0x1d6)]());const _0x33944b=globals[_0x1fedf2(0x1b0)](_0x39d528[_0x1fedf2(0x184)]);_0x33944b&&commandRepository['setAiSessionTimeStamp']((await _0xfb6b94['getSession']())[_0x1fedf2(0x1d6)]());}catch(_0x257967){logger[_0x1fedf2(0x1b1)]('Error\x20in\x20handling\x20TCG\x20Auth:\x20'+_0x257967);}});await _0x39d528[_0x4a84c9(0x1e9)](_0x8b1653);}},_0x1aab42)();const _0x45afec=await _0xfb6b94['initExecute'](_0x3a1a33);try{if(_0x2f35af[_0x54d645(0x1e6)](_0x3a1a33[_0x54d645(0x196)],_0x2f35af[_0x54d645(0x1e8)])||_0x2f35af[_0x54d645(0x1b2)](_0x3a1a33[_0x54d645(0x196)],_0x2f35af[_0x54d645(0x187)])){const _0x12936e=_0x3a1a33[_0x54d645(0x1fa)]&&_0x3a1a33['parameters_'][_0x54d645(0x188)],_0x1ee02e=_0x3a1a33[_0x54d645(0x1fa)]&&_0x3a1a33['parameters_'][_0x54d645(0x1d0)],_0x159106=_0x1ee02e&&util[_0x54d645(0x191)]('%j',_0x1ee02e);if(_0x12936e&&_0x2f35af[_0x54d645(0x1b2)](typeof _0x12936e,_0x2f35af[_0x54d645(0x1de)])){const _0x13d668=constants['AUTOMATION_LOG_COMMANDS'][_0x54d645(0x1ad)](_0x3f31e7=>_0x12936e[_0x54d645(0x1a7)](_0x3f31e7)||_0x159106&&_0x159106[_0x54d645(0x1a7)](_0x3f31e7));if(_0x13d668){const _0x1db29a={};_0x1db29a[_0x54d645(0x1a9)]=_0x13d668,_0x1db29a[_0x54d645(0x1ea)]=_0x1ee02e;const _0x55ccd8={};_0x55ccd8['body']=_0x45afec;const _0x15cc65={};_0x15cc65[_0x54d645(0x1a2)]=_0x1db29a,_0x15cc65[_0x54d645(0x199)]=_0x55ccd8,automationLogger[_0x54d645(0x1a1)]('['+new Date()[_0x54d645(0x189)]()+_0x54d645(0x1f2)+util[_0x54d645(0x191)]('%j',_0x15cc65));}}}}catch(_0x4e2742){logger[_0x54d645(0x1a1)](_0x54d645(0x1f7)+_0x4e2742['message']);}return await PerformanceTester[_0x54d645(0x1c7)](PerformanceDriverEvents[_0x54d645(0x1b4)],async()=>{const _0x4be510=_0x54d645;if(!helper[_0x4be510(0x1ee)]()&&(commandRepository[_0x4be510(0x1e7)]()||globals[_0x4be510(0x1b0)](_0x2f35af[_0x4be510(0x1bd)]))&&_0x2f35af[_0x4be510(0x1b2)](_0x3a1a33['name_'],_0x2f35af[_0x4be510(0x18e)])&&!_0x3a1a33[_0x4be510(0x1e1)]&&globals[_0x4be510(0x1b0)](_0x2f35af['WZsok'])&&globals[_0x4be510(0x1b0)](_0x2f35af[_0x4be510(0x1eb)])){const _0x1d3a04=new Date(),_0x1086c6=PerformanceTester[_0x4be510(0x1c7)](_0x2f35af[_0x4be510(0x1a0)],async()=>{const _0x288be8=_0x4be510;return await aiSdkWrapper[_0x288be8(0x1f5)](_0x276190,_0xfb6b94,_0x3a1a33);});await _0x2f35af[_0x4be510(0x18d)](_0x1086c6);}},{'command':_0x3a1a33['name_']})(),_0x45afec;}catch(_0x337e90){await PerformanceTester[_0x54d645(0x1c7)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x251a0f=_0x54d645;logger[_0x251a0f(0x1be)](_0x2f35af[_0x251a0f(0x19a)]);try{if(!helper['isBrowserstackInfra']()&&(_0x2f35af['wtgTh'](_0x337e90[_0x251a0f(0x1cf)],_0x2f35af[_0x251a0f(0x1ec)])||_0x2f35af[_0x251a0f(0x1a8)](_0x337e90[_0x251a0f(0x1cf)],_0x2f35af[_0x251a0f(0x1c2)]))&&_0x2f35af[_0x251a0f(0x1b2)](_0x3a1a33[_0x251a0f(0x196)],_0x2f35af[_0x251a0f(0x18e)])&&commandRepository[_0x251a0f(0x1e7)]()&&globals[_0x251a0f(0x1b0)](_0x2f35af[_0x251a0f(0x1d5)])&&globals['getGlobal'](_0x2f35af['Gpkoh'])){_0x2f35af[_0x251a0f(0x1d7)](_0x3a1a33[_0x251a0f(0x1fa)]['using'],_0x2f35af[_0x251a0f(0x1c1)])?logger[_0x251a0f(0x18a)](_0x2f35af[_0x251a0f(0x1e3)](_0x2f35af[_0x251a0f(0x1b5)](_0x2f35af[_0x251a0f(0x1ae)],_0x3a1a33['parameters_']['value']),_0x2f35af[_0x251a0f(0x1ef)])):logger[_0x251a0f(0x18a)](_0x2f35af[_0x251a0f(0x1e0)](_0x2f35af[_0x251a0f(0x19c)](_0x2f35af[_0x251a0f(0x1b5)](_0x2f35af['SCwFb'](_0x2f35af[_0x251a0f(0x1c4)],_0x3a1a33[_0x251a0f(0x1fa)][_0x251a0f(0x1b7)]),':\x20'),_0x3a1a33['parameters_'][_0x251a0f(0x1dd)]),_0x2f35af[_0x251a0f(0x1ef)]));const _0x5461f0=PerformanceTester[_0x251a0f(0x1c7)](_0x2f35af[_0x251a0f(0x1fc)],async()=>{const _0x281f8c=_0x251a0f;return await aiSdkWrapper[_0x281f8c(0x1f6)](_0x276190,_0xfb6b94,_0x3a1a33);}),_0x593665=new Date(),{locatorType:_0x4f312a,locatorValue:_0x414fca,commandHealed:_0x21135b}=await _0x2f35af['lUnmj'](_0x5461f0);if(_0x2f35af['ZcCqR'](_0x4f312a,_0x414fca)){_0x3a1a33[_0x251a0f(0x1fa)][_0x251a0f(0x1b7)]=_0x4f312a,_0x3a1a33[_0x251a0f(0x1fa)][_0x251a0f(0x1dd)]=_0x414fca,_0x3a1a33[_0x251a0f(0x1e1)]=!![];const _0x25432d=_0xfb6b94['execute'](_0x3a1a33);return _0x2f35af[_0x251a0f(0x1a8)](_0x4f312a,_0x2f35af['uJHbz'])?logger[_0x251a0f(0x18a)](_0x2f35af[_0x251a0f(0x1e3)](_0x2f35af[_0x251a0f(0x1f3)],_0x414fca)):logger[_0x251a0f(0x18a)](_0x2f35af[_0x251a0f(0x190)](_0x2f35af[_0x251a0f(0x19e)](_0x2f35af[_0x251a0f(0x1e3)](_0x2f35af[_0x251a0f(0x1b8)],_0x4f312a),':\x20'),_0x414fca)),_0x25432d;}else!_0x21135b&&(_0x2f35af[_0x251a0f(0x195)](_0x4f312a,_0x2f35af['uJHbz'])?logger[_0x251a0f(0x18a)](_0x2f35af[_0x251a0f(0x19b)](_0x2f35af['Fdain'],_0x3a1a33['parameters_'][_0x251a0f(0x1dd)])):logger[_0x251a0f(0x18a)](_0x2f35af[_0x251a0f(0x190)](_0x2f35af['MWSaZ'](_0x2f35af[_0x251a0f(0x19e)](_0x2f35af[_0x251a0f(0x1aa)],_0x3a1a33[_0x251a0f(0x1fa)]['using']),':\x20'),_0x3a1a33['parameters_'][_0x251a0f(0x1dd)])));}!_0x37aad1&&_0x2f35af[_0x251a0f(0x1b2)](_0x3a1a33[_0x251a0f(0x196)],_0x2f35af['WudNG'])&&helper[_0x251a0f(0x1ba)](_0x3a1a33,[_0x2f35af['wgODy'],_0x2f35af['uWGOO']])&&!!constants[_0x251a0f(0x1b9)]['find'](_0x104e9b=>{const _0xd5a512=_0x251a0f;return _0x337e90[_0xd5a512(0x1e5)]()[_0xd5a512(0x1a7)](_0x104e9b);})&&helper[_0x251a0f(0x1ff)](_0x3a1a33[_0x251a0f(0x1fa)][_0x251a0f(0x1b6)],!![]);}catch(_0x4d435c){logger[_0x251a0f(0x1be)](_0x2f35af[_0x251a0f(0x193)],_0x4d435c);}},{'success':![],'failure':_0x337e90})();throw _0x337e90;}};};
1
+ const a108_0x152633=a108_0x3ea0;function a108_0x3ea0(_0x102276,_0x3acd4a){const _0x12e49d=a108_0x12e4();return a108_0x3ea0=function(_0x3ea0b0,_0x57a87e){_0x3ea0b0=_0x3ea0b0-0x7f;let _0x507cc0=_0x12e49d[_0x3ea0b0];return _0x507cc0;},a108_0x3ea0(_0x102276,_0x3acd4a);}(function(_0x18a68c,_0x55876a){const _0x58451a=a108_0x3ea0,_0x51f460=_0x18a68c();while(!![]){try{const _0x1d7bd8=parseInt(_0x58451a(0x95))/0x1*(parseInt(_0x58451a(0x86))/0x2)+-parseInt(_0x58451a(0xca))/0x3*(-parseInt(_0x58451a(0xa8))/0x4)+parseInt(_0x58451a(0x106))/0x5*(parseInt(_0x58451a(0xa7))/0x6)+parseInt(_0x58451a(0xc4))/0x7*(parseInt(_0x58451a(0xec))/0x8)+-parseInt(_0x58451a(0x8e))/0x9*(-parseInt(_0x58451a(0xd9))/0xa)+-parseInt(_0x58451a(0xd0))/0xb+parseInt(_0x58451a(0xa0))/0xc*(-parseInt(_0x58451a(0xad))/0xd);if(_0x1d7bd8===_0x55876a)break;else _0x51f460['push'](_0x51f460['shift']());}catch(_0x125630){_0x51f460['push'](_0x51f460['shift']());}}}(a108_0x12e4,0xc91f8));const {aiSdkWrapper}=require('./ai-sdk/aiSdkWrapper'),{commandRepository}=require(a108_0x152633(0xf1)),PerformanceTester=require(a108_0x152633(0x109)),globals=require('./globals'),{winstonLogger:logger,automationLogger}=require(a108_0x152633(0xe4)),helper=require(a108_0x152633(0x8c)),constants=require(a108_0x152633(0x8b)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a108_0x152633(0xc9)),util=require(a108_0x152633(0x80));function a108_0x12e4(){const _0x2ef149=['220ETBjjx','command','WwazP','lyhOt','JavascriptError','10727314PMnlAR','THdYA','gMkmO','hgkbs','kMPYf','debug','getId','DrXcU','parameters','getGlobal','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','KolJD','string','JogEr','aMojR','aiHeal_isHealingEnabled','browserstack.local','eveJA','aMufN','kViBU','KNovE','Successfully\x20healed\x20command\x20using\x20new\x20','FptUX','63pIeAfw','UkTDL','GEOJM','patchExecute','ULGTS','./performance/constants','17436VPwPig','oSlZo','find','akLpw','aruCU','BzglD','16565494QICeSn','includes','isSelfHealEnabled','aiHeal:findElementSuccess','WAxoI','bwcPL','format','PGhAT','dQewp','5030jbgpyF','setAiSessionTimeStamp','SnRsr','handleFailure','EdHhr','cvPeQ','kRrfN','miehG','aiHeal:setToken','overrideExecute','aiSdk_defaultLogDataEnabled','./logger','url','TSkpu','lrFOP','aiHeal:findElementFailure','yfxOu','isBrowserstackInfra',';\x20Trying\x20to\x20heal','102896XwoQMJ','IDHPq','YDJSu','kKNHy','vAUdM','./ai-sdk/autoHealHelper','lkXJn','executeScript','UYWCY','CBrrM','NUDGE_LOCAL_ERRORS','findElement\x20command\x20failed\x20with\x20','nCkBL','scVmV','parameters_','AUTOMATION_LOG_COMMANDS','YcVQW','XXUiC','emWdo','ptyiO','toISOString','][\x20SDK-AUTOMATION\x20]\x20','LyvCl','local','name','measureWrapper','35riUWfq','FIUzm','aiHeal_isAuthenticated','./performance/performance-tester','findElement','sSfct','executeAsyncScript','info','aqgDB','util','lgCtS','name_','Healing\x20failed\x20for\x20command\x20using\x20','Error\x20in\x20handling\x20TCG\x20Auth:\x20','skipHealingSuccess','54XuiliN','DVixr','getSession','bHlOw','response','../bin/utils/constants','./helper','getTcgTokenStatus','24840THWbzt','capability','script','execute','aqGjJ','toString','HKDKo','50061FtSout','RIXnA','PRE_EXECUTE','nestedKeyValue','css\x20selector','NoSuchElementError','PIRvt','silly','value','POST_EXECUTE','request','36WegDbb','getNudgeLocalNotSetError','NebuK','setTcgTokenStatus','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','initExecute','using','1397094FbWQDp'];a108_0x12e4=function(){return _0x2ef149;};return a108_0x12e4();}exports[a108_0x152633(0xe2)]=(_0x50f1e4,_0x1844db)=>{const _0x16767f=a108_0x152633,_0x349922={'aMojR':_0x16767f(0x108),'scVmV':_0x16767f(0xe1),'hgkbs':function(_0x26232c){return _0x26232c();},'RjTgd':_0x16767f(0xe3),'PIRvt':function(_0x347e21,_0x5ec3a){return _0x347e21===_0x5ec3a;},'lrFOP':_0x16767f(0x10a),'aruCU':_0x16767f(0xbc),'vAUdM':_0x16767f(0xd3),'THdYA':_0x16767f(0xb7),'eveJA':_0x16767f(0x9a),'BzglD':_0x16767f(0xac),'kMPYf':_0x16767f(0x99),'UkTDL':function(_0x4e265c,_0x489743){return _0x4e265c+_0x489743;},'dQewp':function(_0x30dd99,_0x2472fd){return _0x30dd99+_0x2472fd;},'UNIpv':'findElement\x20command\x20failed\x20with\x20cssPath:\x20','WwazP':_0x16767f(0xeb),'lgCtS':function(_0x11e8d3,_0x3814a9){return _0x11e8d3+_0x3814a9;},'kRrfN':function(_0x11cbdd,_0x4c7805){return _0x11cbdd+_0x4c7805;},'ABbjM':_0x16767f(0xf7),'gMkmO':_0x16767f(0xe8),'nCkBL':function(_0x1402c7,_0x2f4b70){return _0x1402c7&&_0x2f4b70;},'CBrrM':'Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','ptyiO':function(_0x71c56b,_0xb090f1){return _0x71c56b+_0xb090f1;},'FIUzm':_0x16767f(0xc2),'LXcvR':function(_0x4c625f,_0x9a3749){return _0x4c625f===_0x9a3749;},'bFjyu':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','cvPeQ':function(_0xa568dd,_0x2159a1){return _0xa568dd+_0x2159a1;},'JogEr':_0x16767f(0x83),'NEUpL':'get','oSlZo':'parameters_','BnXwV':_0x16767f(0xe5),'zudut':_0x16767f(0xa4),'CDhsp':function(_0x4cde97,_0x2cf0c6){return _0x4cde97===_0x2cf0c6;},'tESyZ':_0x16767f(0x10c),'miehG':function(_0x291fae,_0x3a2778){return _0x291fae===_0x3a2778;},'kKNHy':_0x16767f(0xf3),'XXUiC':_0x16767f(0xb9),'yfxOu':_0x16767f(0x8f),'lkXJn':_0x16767f(0xbd),'DrXcU':'bstack:options','bwcPL':_0x16767f(0x103)},_0x110b70=_0x50f1e4['patchExecute']||(helper[_0x16767f(0x98)](_0x1844db,[_0x349922[_0x16767f(0xe9)],_0x349922[_0x16767f(0xf2)]])||helper[_0x16767f(0x98)](_0x1844db,[_0x349922[_0x16767f(0xe9)],_0x349922[_0x16767f(0xb4)],_0x349922[_0x16767f(0xd5)]]));if(!globals[_0x16767f(0xb6)](_0x349922[_0x16767f(0xbb)])&&!globals['getGlobal'](_0x349922[_0x16767f(0xce)])&&_0x110b70)return;_0x50f1e4[_0x16767f(0xc7)]=!![],_0x50f1e4[_0x16767f(0xa5)]=_0x50f1e4[_0x16767f(0x91)],_0x50f1e4['execute']=async _0x7fec4d=>{const _0x5b069c=_0x16767f,_0x1a5333={'GEOJM':_0x349922['aMojR'],'PGhAT':_0x349922[_0x5b069c(0xf9)],'bHlOw':function(_0x1b1915){const _0x5a5db7=_0x5b069c;return _0x349922[_0x5a5db7(0xb0)](_0x1b1915);},'KNovE':_0x349922['RjTgd'],'ULGTS':function(_0x218f87,_0x124d65){const _0x492896=_0x5b069c;return _0x349922[_0x492896(0x9b)](_0x218f87,_0x124d65);},'YcVQW':_0x349922[_0x5b069c(0xe7)],'lMQjY':_0x349922[_0x5b069c(0xce)],'DVixr':_0x349922[_0x5b069c(0xf0)],'aMufN':_0x349922[_0x5b069c(0xae)],'TeXtz':_0x349922[_0x5b069c(0xbe)],'YDJSu':_0x349922[_0x5b069c(0xcf)],'sSfct':function(_0x4eec6c,_0x5ce65d){const _0x31d817=_0x5b069c;return _0x349922[_0x31d817(0x9b)](_0x4eec6c,_0x5ce65d);},'BoQKm':function(_0x4e45d6,_0x2bed80){const _0x30dfe1=_0x5b069c;return _0x349922[_0x30dfe1(0x9b)](_0x4e45d6,_0x2bed80);},'WAxoI':_0x349922[_0x5b069c(0xb1)],'HKDKo':function(_0x548c72,_0x4a1788){return _0x349922['UkTDL'](_0x548c72,_0x4a1788);},'KolJD':function(_0x45a8d6,_0xa4c484){const _0x5c6e9f=_0x5b069c;return _0x349922[_0x5c6e9f(0xd8)](_0x45a8d6,_0xa4c484);},'LyvCl':_0x349922['UNIpv'],'akLpw':_0x349922[_0x5b069c(0xaa)],'IDHPq':function(_0x14fb7d,_0x3b4a41){const _0x99f844=_0x5b069c;return _0x349922[_0x99f844(0x81)](_0x14fb7d,_0x3b4a41);},'EdHhr':function(_0x436525,_0x3506f9){const _0x39e1ec=_0x5b069c;return _0x349922[_0x39e1ec(0xdf)](_0x436525,_0x3506f9);},'NebuK':_0x349922['ABbjM'],'FptUX':_0x349922[_0x5b069c(0xaf)],'TSkpu':function(_0x2518b8,_0x49a783){const _0x203f68=_0x5b069c;return _0x349922[_0x203f68(0xf8)](_0x2518b8,_0x49a783);},'RIXnA':_0x349922[_0x5b069c(0xf5)],'RwmCP':function(_0x375446,_0x10b6d6){const _0x1dee08=_0x5b069c;return _0x349922[_0x1dee08(0xff)](_0x375446,_0x10b6d6);},'aqgDB':_0x349922[_0x5b069c(0x107)],'UYWCY':function(_0x34ec0a,_0x3b9dba){return _0x349922['LXcvR'](_0x34ec0a,_0x3b9dba);},'OXqte':_0x349922['bFjyu'],'LhOxg':function(_0x3e8e8a,_0x12a2ca){const _0x119a53=_0x5b069c;return _0x349922[_0x119a53(0xc5)](_0x3e8e8a,_0x12a2ca);},'kViBU':function(_0x45f503,_0x136539){const _0x50ac85=_0x5b069c;return _0x349922[_0x50ac85(0xde)](_0x45f503,_0x136539);},'emWdo':function(_0x4d04c2,_0x3f0db3){return _0x349922['kRrfN'](_0x4d04c2,_0x3f0db3);},'AdVkq':_0x349922[_0x5b069c(0xba)],'aqGjJ':function(_0x137ed5,_0x5bfa44){return _0x349922['PIRvt'](_0x137ed5,_0x5bfa44);},'lyhOt':_0x349922['NEUpL'],'SnRsr':_0x349922[_0x5b069c(0xcb)],'btRAm':_0x349922['BnXwV'],'jBFZn':_0x349922['zudut']};try{const _0x205e2={};_0x205e2[_0x5b069c(0xa9)]=_0x7fec4d[_0x5b069c(0x82)],await PerformanceTester[_0x5b069c(0x105)](PerformanceDriverEvents[_0x5b069c(0x97)],async()=>{const _0x16afb1=_0x5b069c;if(!commandRepository[_0x16afb1(0x8d)]()&&globals[_0x16afb1(0xb6)](_0x1a5333['GEOJM'])){const _0x353e97=PerformanceTester['measureWrapper'](_0x1a5333[_0x16afb1(0xd7)],async()=>{const _0x21d5a0=_0x16afb1;try{commandRepository[_0x21d5a0(0xa3)](!![]),await aiSdkWrapper['setTcgToken']((await _0x50f1e4[_0x21d5a0(0x88)]())[_0x21d5a0(0xb3)]());const _0x3340fe=globals[_0x21d5a0(0xb6)](_0x1a5333[_0x21d5a0(0xc6)]);_0x3340fe&&commandRepository[_0x21d5a0(0xda)]((await _0x50f1e4[_0x21d5a0(0x88)]())['getId']());}catch(_0x3ede86){logger['error'](_0x21d5a0(0x84)+_0x3ede86);}});await _0x1a5333[_0x16afb1(0x89)](_0x353e97);}},_0x205e2)();const _0x4c4aff=await _0x50f1e4[_0x5b069c(0xa5)](_0x7fec4d);try{if(_0x349922['CDhsp'](_0x7fec4d[_0x5b069c(0x82)],_0x349922['tESyZ'])||_0x349922[_0x5b069c(0xe0)](_0x7fec4d[_0x5b069c(0x82)],_0x349922[_0x5b069c(0xef)])){const _0x1554ff=_0x7fec4d['parameters_']&&_0x7fec4d[_0x5b069c(0xfa)][_0x5b069c(0x90)],_0x3c3b06=_0x7fec4d[_0x5b069c(0xfa)]&&_0x7fec4d['parameters_']['args'],_0x7aa3fe=_0x3c3b06&&util[_0x5b069c(0xd6)]('%j',_0x3c3b06);if(_0x1554ff&&_0x349922[_0x5b069c(0x9b)](typeof _0x1554ff,_0x349922[_0x5b069c(0xfd)])){const _0x322ee0=constants[_0x5b069c(0xfb)][_0x5b069c(0xcc)](_0x504388=>_0x1554ff[_0x5b069c(0xd1)](_0x504388)||_0x7aa3fe&&_0x7aa3fe['includes'](_0x504388));if(_0x322ee0){const _0x336b3c={};_0x336b3c[_0x5b069c(0xa9)]=_0x322ee0,_0x336b3c[_0x5b069c(0xb5)]=_0x3c3b06;const _0x476fbc={};_0x476fbc['body']=_0x4c4aff;const _0x5f35ab={};_0x5f35ab[_0x5b069c(0x9f)]=_0x336b3c,_0x5f35ab[_0x5b069c(0x8a)]=_0x476fbc,automationLogger[_0x5b069c(0x9c)]('['+new Date()[_0x5b069c(0x100)]()+_0x5b069c(0x101)+util[_0x5b069c(0xd6)]('%j',_0x5f35ab));}}}}catch(_0x165a40){logger[_0x5b069c(0x9c)]('Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20'+_0x165a40['message']);}return await PerformanceTester[_0x5b069c(0x105)](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x618723=_0x5b069c;if(!helper[_0x618723(0xea)]()&&(commandRepository[_0x618723(0xd2)]()||globals['getGlobal'](_0x1a5333[_0x618723(0xc1)]))&&_0x1a5333[_0x618723(0xc8)](_0x7fec4d[_0x618723(0x82)],_0x1a5333[_0x618723(0xfc)])&&!_0x7fec4d['skipHealingSuccess']&&globals[_0x618723(0xb6)](_0x1a5333[_0x618723(0xc6)])&&globals[_0x618723(0xb6)](_0x1a5333['lMQjY'])){const _0x50c4c0=new Date(),_0x1b1cff=PerformanceTester[_0x618723(0x105)](_0x1a5333[_0x618723(0x87)],async()=>{return await aiSdkWrapper['handleSuccess'](_0x1844db,_0x50f1e4,_0x7fec4d);});await _0x1a5333[_0x618723(0x89)](_0x1b1cff);}},{'command':_0x7fec4d[_0x5b069c(0x82)]})(),_0x4c4aff;}catch(_0x1c127a){await PerformanceTester[_0x5b069c(0x105)](PerformanceDriverEvents[_0x5b069c(0x9e)],async()=>{const _0x306141=_0x5b069c;logger[_0x306141(0xb2)](_0x1a5333[_0x306141(0xbf)]);try{if(!helper[_0x306141(0xea)]()&&(_0x1a5333[_0x306141(0xc8)](_0x1c127a[_0x306141(0x104)],_0x1a5333['TeXtz'])||_0x1a5333[_0x306141(0xc8)](_0x1c127a[_0x306141(0x104)],_0x1a5333[_0x306141(0xee)]))&&_0x1a5333[_0x306141(0x10b)](_0x7fec4d[_0x306141(0x82)],_0x1a5333['YcVQW'])&&commandRepository[_0x306141(0xd2)]()&&globals['getGlobal'](_0x1a5333[_0x306141(0xc6)])&&globals['getGlobal'](_0x1a5333['lMQjY'])){_0x1a5333['BoQKm'](_0x7fec4d['parameters_'][_0x306141(0xa6)],_0x1a5333['WAxoI'])?logger[_0x306141(0x10d)](_0x1a5333[_0x306141(0x94)](_0x1a5333[_0x306141(0xb8)](_0x1a5333[_0x306141(0x102)],_0x7fec4d[_0x306141(0xfa)][_0x306141(0x9d)]),_0x1a5333[_0x306141(0xcd)])):logger[_0x306141(0x10d)](_0x1a5333[_0x306141(0xed)](_0x1a5333[_0x306141(0xdd)](_0x1a5333[_0x306141(0xdd)](_0x1a5333['KolJD'](_0x1a5333[_0x306141(0xa2)],_0x7fec4d[_0x306141(0xfa)]['using']),':\x20'),_0x7fec4d['parameters_']['value']),_0x1a5333[_0x306141(0xcd)]));const _0x91631b=PerformanceTester[_0x306141(0x105)](_0x1a5333[_0x306141(0xc3)],async()=>{const _0x2ed16e=_0x306141;return await aiSdkWrapper[_0x2ed16e(0xdc)](_0x1844db,_0x50f1e4,_0x7fec4d);}),_0x1151cc=new Date(),{locatorType:_0x1497c6,locatorValue:_0x56c75d,commandHealed:_0x317b99}=await _0x1a5333['bHlOw'](_0x91631b);if(_0x1a5333[_0x306141(0xe6)](_0x1497c6,_0x56c75d)){_0x7fec4d[_0x306141(0xfa)][_0x306141(0xa6)]=_0x1497c6,_0x7fec4d[_0x306141(0xfa)]['value']=_0x56c75d,_0x7fec4d[_0x306141(0x85)]=!![];const _0x2e7c4e=_0x50f1e4['execute'](_0x7fec4d);return _0x1a5333[_0x306141(0x10b)](_0x1497c6,_0x1a5333[_0x306141(0xd4)])?logger[_0x306141(0x10d)](_0x1a5333[_0x306141(0xb8)](_0x1a5333[_0x306141(0x96)],_0x56c75d)):logger[_0x306141(0x10d)](_0x1a5333[_0x306141(0xed)](_0x1a5333['EdHhr'](_0x1a5333['RwmCP'](_0x1a5333[_0x306141(0x7f)],_0x1497c6),':\x20'),_0x56c75d)),_0x2e7c4e;}else!_0x317b99&&(_0x1a5333[_0x306141(0xf4)](_0x1497c6,_0x1a5333[_0x306141(0xd4)])?logger[_0x306141(0x10d)](_0x1a5333[_0x306141(0x94)](_0x1a5333['OXqte'],_0x7fec4d['parameters_'][_0x306141(0x9d)])):logger[_0x306141(0x10d)](_0x1a5333['LhOxg'](_0x1a5333[_0x306141(0xc0)](_0x1a5333[_0x306141(0xfe)](_0x1a5333['AdVkq'],_0x7fec4d[_0x306141(0xfa)][_0x306141(0xa6)]),':\x20'),_0x7fec4d[_0x306141(0xfa)][_0x306141(0x9d)])));}!_0x110b70&&_0x1a5333[_0x306141(0x92)](_0x7fec4d[_0x306141(0x82)],_0x1a5333[_0x306141(0xab)])&&helper[_0x306141(0x98)](_0x7fec4d,[_0x1a5333[_0x306141(0xdb)],_0x1a5333['btRAm']])&&!!constants[_0x306141(0xf6)][_0x306141(0xcc)](_0xe54aba=>{const _0x474cde=_0x306141;return _0x1c127a[_0x474cde(0x93)]()[_0x474cde(0xd1)](_0xe54aba);})&&helper[_0x306141(0xa1)](_0x7fec4d[_0x306141(0xfa)][_0x306141(0xe5)],!![]);}catch(_0x2861b7){logger['debug'](_0x1a5333['jBFZn'],_0x2861b7);}},{'success':![],'failure':_0x1c127a})();throw _0x1c127a;}};};
@@ -1 +1 @@
1
- const a108_0xfa019f=a108_0x4dd3;function a108_0x4dd3(_0x2783fb,_0x17ef81){const _0x56dc84=a108_0x56dc();return a108_0x4dd3=function(_0x4dd320,_0x2dd288){_0x4dd320=_0x4dd320-0x16a;let _0x3177c8=_0x56dc84[_0x4dd320];return _0x3177c8;},a108_0x4dd3(_0x2783fb,_0x17ef81);}(function(_0x35a4f2,_0x570cb5){const _0x30feee=a108_0x4dd3,_0x37a126=_0x35a4f2();while(!![]){try{const _0x3bd9d7=-parseInt(_0x30feee(0x187))/0x1*(-parseInt(_0x30feee(0x181))/0x2)+-parseInt(_0x30feee(0x16a))/0x3+-parseInt(_0x30feee(0x16c))/0x4+parseInt(_0x30feee(0x17f))/0x5*(-parseInt(_0x30feee(0x191))/0x6)+-parseInt(_0x30feee(0x17d))/0x7*(parseInt(_0x30feee(0x17a))/0x8)+-parseInt(_0x30feee(0x175))/0x9*(parseInt(_0x30feee(0x180))/0xa)+parseInt(_0x30feee(0x178))/0xb*(parseInt(_0x30feee(0x185))/0xc);if(_0x3bd9d7===_0x570cb5)break;else _0x37a126['push'](_0x37a126['shift']());}catch(_0x3c9ae1){_0x37a126['push'](_0x37a126['shift']());}}}(a108_0x56dc,0x20bfa));function a108_0x56dc(){const _0x17f67c=['start','83505UpLQga','toISOString','647632MwYEge','FmlEA','catch','end','env','novSP','overrideQuit','bs:addLog:','quit','36fpzGoL','./performance/performance-tester','TAKE_SCREENSHOT','9915433rqVZfz','emit','2888vCxOqc','O11y_EVENTS','./performance/constants','3129AjDqxw','mYGoG','538465CBuafv','549530LUvFBP','38086SkIRPn','pqqcV','true','initQuit','12WLvstw','GeLvv','1Fxydbc','then','ylitm','patchScreenshot','initScreenshot','quitCount_','takeScreenshot','overrideTakeScreenshot','pid','AmrLl','12IrqYNX'];a108_0x56dc=function(){return _0x17f67c;};return a108_0x56dc();}const PerformanceTester=require(a108_0xfa019f(0x176)),O11yEvents=require(a108_0xfa019f(0x17c))[a108_0xfa019f(0x17b)];exports[a108_0xfa019f(0x18e)]=_0x357122=>{const _0x973d60=a108_0xfa019f,_0x28d567={'mYGoG':'TEST_SCREENSHOT','novSP':function(_0x46d505,_0x40bda3){return _0x46d505(_0x40bda3);},'ylitm':function(_0x1fe002,_0x445bca){return _0x1fe002(_0x445bca);},'PzQxU':function(_0x57dfea,_0x45ae8a){return _0x57dfea!==_0x45ae8a;},'FmlEA':_0x973d60(0x183)};if(_0x28d567['PzQxU'](process[_0x973d60(0x170)]['BS_TESTOPS_ALLOW_SCREENSHOTS'],_0x28d567[_0x973d60(0x16d)]))return;if(_0x357122['patchScreenshot'])return;_0x357122[_0x973d60(0x18a)]=!![],_0x357122[_0x973d60(0x18b)]=_0x357122[_0x973d60(0x18d)],_0x357122['takeScreenshot']=()=>{const _0x5414eb=_0x973d60,_0x560c56={'pqqcV':_0x28d567[_0x5414eb(0x17e)],'KVlon':function(_0x335670,_0x57240f){const _0x2db88a=_0x5414eb;return _0x28d567[_0x2db88a(0x171)](_0x335670,_0x57240f);},'AmrLl':function(_0x1fda3d,_0xd556d0){const _0x1482ca=_0x5414eb;return _0x28d567[_0x1482ca(0x189)](_0x1fda3d,_0xd556d0);}};return new Promise(function(_0x5f580a,_0x57ca29){const _0x2f033d=_0x5414eb;_0x357122[_0x2f033d(0x18b)]()[_0x2f033d(0x188)](_0x373281=>{const _0x4032eb=_0x2f033d;PerformanceTester[_0x4032eb(0x192)](O11yEvents[_0x4032eb(0x177)]),process[_0x4032eb(0x179)](_0x4032eb(0x173)+process[_0x4032eb(0x18f)],{'timestamp':new Date()[_0x4032eb(0x16b)](),'message':_0x373281,'kind':_0x560c56[_0x4032eb(0x182)]}),_0x560c56['KVlon'](_0x5f580a,_0x373281),PerformanceTester[_0x4032eb(0x16f)](O11yEvents[_0x4032eb(0x177)]);})[_0x2f033d(0x16e)](_0x303c61=>{const _0x54d677=_0x2f033d;PerformanceTester['end'](O11yEvents['TAKE_SCREENSHOT']),_0x560c56[_0x54d677(0x190)](_0x57ca29,_0x303c61);});});};},exports[a108_0xfa019f(0x172)]=(_0x468c56,_0x513999=null)=>{const _0x1a4abe=a108_0xfa019f,_0x140c8c={'dNjyH':function(_0x31b50a){return _0x31b50a();},'GeLvv':function(_0x440c12,_0x24ac8a){return _0x440c12>_0x24ac8a;}};if(_0x468c56['patchQuit'])return;_0x468c56['patchQuit']=!![],_0x468c56[_0x1a4abe(0x184)]=_0x468c56[_0x1a4abe(0x174)],_0x468c56[_0x1a4abe(0x174)]=()=>{const _0x5a49ed=_0x1a4abe;if(_0x513999){_0x513999[_0x5a49ed(0x18c)]+=0x1;if(_0x140c8c[_0x5a49ed(0x186)](_0x513999[_0x5a49ed(0x18c)],0x1))return _0x468c56[_0x5a49ed(0x184)]();}else{_0x468c56[_0x5a49ed(0x18c)]+=0x1;if(_0x140c8c['GeLvv'](_0x468c56[_0x5a49ed(0x18c)],0x1))return _0x468c56[_0x5a49ed(0x184)]();}return new Promise(function(_0xddbaa8){_0x140c8c['dNjyH'](_0xddbaa8);});};};
1
+ function a109_0x1dd0(){const _0x5c0961=['343641cuVXYk','takeScreenshot','quit','patchQuit','initQuit','WEnIB','BS_TESTOPS_ALLOW_SCREENSHOTS','rgIGl','hVTgj','48yooJku','bs:addLog:','TAKE_SCREENSHOT','overrideQuit','true','initScreenshot','388276lVRhUo','96iXuxOe','4817136GqUyyf','4141488dMTlqx','1011280EvWoFD','patchScreenshot','./performance/performance-tester','start','jYiXe','quitCount_','mvWno','yLkKC','end','4329108EZrALN','TEST_SCREENSHOT','pid','TtJwb','hnQpJ','xVJZZ','5664210dkGwIW','env'];a109_0x1dd0=function(){return _0x5c0961;};return a109_0x1dd0();}const a109_0x523c91=a109_0x2333;(function(_0x2e792e,_0x8146d9){const _0x517315=a109_0x2333,_0x410993=_0x2e792e();while(!![]){try{const _0x309880=parseInt(_0x517315(0x153))/0x1+parseInt(_0x517315(0x142))/0x2+-parseInt(_0x517315(0x140))/0x3+-parseInt(_0x517315(0x141))/0x4+-parseInt(_0x517315(0x151))/0x5+-parseInt(_0x517315(0x13f))/0x6*(-parseInt(_0x517315(0x13e))/0x7)+-parseInt(_0x517315(0x138))/0x8*(-parseInt(_0x517315(0x14b))/0x9);if(_0x309880===_0x8146d9)break;else _0x410993['push'](_0x410993['shift']());}catch(_0x2b194e){_0x410993['push'](_0x410993['shift']());}}}(a109_0x1dd0,0xcf413));const PerformanceTester=require(a109_0x523c91(0x144)),O11yEvents=require('./performance/constants')['O11y_EVENTS'];function a109_0x2333(_0x32b21f,_0x4644bd){const _0x1dd021=a109_0x1dd0();return a109_0x2333=function(_0x233397,_0x38b056){_0x233397=_0x233397-0x135;let _0x2b7ca5=_0x1dd021[_0x233397];return _0x2b7ca5;},a109_0x2333(_0x32b21f,_0x4644bd);}exports['overrideTakeScreenshot']=_0x271b29=>{const _0x867e86=a109_0x523c91,_0x344636={'hVTgj':_0x867e86(0x14c),'TtJwb':function(_0x82e1e3,_0x2750b5){return _0x82e1e3(_0x2750b5);},'JtnYU':function(_0x4962ec,_0x52c806){return _0x4962ec(_0x52c806);},'rgIGl':function(_0x12dd96,_0xd3cde8){return _0x12dd96!==_0xd3cde8;},'WEnIB':_0x867e86(0x13c)};if(_0x344636[_0x867e86(0x136)](process[_0x867e86(0x152)][_0x867e86(0x135)],_0x344636[_0x867e86(0x158)]))return;if(_0x271b29[_0x867e86(0x143)])return;_0x271b29[_0x867e86(0x143)]=!![],_0x271b29[_0x867e86(0x13d)]=_0x271b29[_0x867e86(0x154)],_0x271b29[_0x867e86(0x154)]=()=>{const _0x52d943=_0x867e86,_0x5c6ecc={'VrqeW':_0x344636[_0x52d943(0x137)],'yLkKC':function(_0x2281e2,_0x320a5b){const _0x44eaab=_0x52d943;return _0x344636[_0x44eaab(0x14e)](_0x2281e2,_0x320a5b);},'xVJZZ':function(_0x117119,_0x3cfdbf){return _0x344636['JtnYU'](_0x117119,_0x3cfdbf);}};return new Promise(function(_0x541ae5,_0x5cab8b){const _0x1fea59={'mvWno':function(_0x138cf7,_0x5e5eff){const _0x14aef6=a109_0x2333;return _0x5c6ecc[_0x14aef6(0x150)](_0x138cf7,_0x5e5eff);}};_0x271b29['initScreenshot']()['then'](_0x523ccb=>{const _0x44d392=a109_0x2333;PerformanceTester[_0x44d392(0x145)](O11yEvents[_0x44d392(0x13a)]),process['emit'](_0x44d392(0x139)+process[_0x44d392(0x14d)],{'timestamp':new Date()['toISOString'](),'message':_0x523ccb,'kind':_0x5c6ecc['VrqeW']}),_0x5c6ecc[_0x44d392(0x149)](_0x541ae5,_0x523ccb),PerformanceTester[_0x44d392(0x14a)](O11yEvents[_0x44d392(0x13a)]);})['catch'](_0x58f0b8=>{const _0x570095=a109_0x2333;PerformanceTester['end'](O11yEvents[_0x570095(0x13a)]),_0x1fea59[_0x570095(0x148)](_0x5cab8b,_0x58f0b8);});});};},exports[a109_0x523c91(0x13b)]=(_0x874b64,_0x30f3df=null)=>{const _0x504113=a109_0x523c91,_0xd84b25={'mhTCs':function(_0x56afa4){return _0x56afa4();},'jYiXe':function(_0x3e132c,_0x400adf){return _0x3e132c>_0x400adf;}};if(_0x874b64[_0x504113(0x156)])return;_0x874b64[_0x504113(0x156)]=!![],_0x874b64['initQuit']=_0x874b64['quit'],_0x874b64[_0x504113(0x155)]=()=>{const _0x5d3059=_0x504113,_0x1d3903={'hnQpJ':function(_0x3d0ff4){return _0xd84b25['mhTCs'](_0x3d0ff4);}};if(_0x30f3df){_0x30f3df['quitCount_']+=0x1;if(_0xd84b25[_0x5d3059(0x146)](_0x30f3df[_0x5d3059(0x147)],0x1))return _0x874b64['initQuit']();}else{_0x874b64['quitCount_']+=0x1;if(_0xd84b25[_0x5d3059(0x146)](_0x874b64[_0x5d3059(0x147)],0x1))return _0x874b64[_0x5d3059(0x157)]();}return new Promise(function(_0x4d970f){const _0x410b17=_0x5d3059;_0x1d3903[_0x410b17(0x14f)](_0x4d970f);});};};
@@ -1 +1 @@
1
- const a109_0x38f5aa=a109_0x19af;function a109_0x19af(_0x1b6f08,_0x3984ee){const _0x518ce6=a109_0x518c();return a109_0x19af=function(_0x19afaf,_0x2c1433){_0x19afaf=_0x19afaf-0xdb;let _0x4b9745=_0x518ce6[_0x19afaf];return _0x4b9745;},a109_0x19af(_0x1b6f08,_0x3984ee);}(function(_0x20916b,_0x4a5684){const _0x475623=a109_0x19af,_0xa13433=_0x20916b();while(!![]){try{const _0x31f857=-parseInt(_0x475623(0xe6))/0x1+-parseInt(_0x475623(0xf7))/0x2+-parseInt(_0x475623(0xe5))/0x3*(parseInt(_0x475623(0xe2))/0x4)+-parseInt(_0x475623(0x101))/0x5*(parseInt(_0x475623(0xf1))/0x6)+parseInt(_0x475623(0xde))/0x7+-parseInt(_0x475623(0x11b))/0x8+-parseInt(_0x475623(0x126))/0x9*(-parseInt(_0x475623(0xef))/0xa);if(_0x31f857===_0x4a5684)break;else _0xa13433['push'](_0xa13433['shift']());}catch(_0x352dee){_0xa13433['push'](_0xa13433['shift']());}}}(a109_0x518c,0xcdbda));const fs=require('fs'),path=require(a109_0x38f5aa(0x119)),os=require('os'),{spawn}=require(a109_0x38f5aa(0x116)),helper=require('../helper'),logger=require(a109_0x38f5aa(0xf0))['winstonLogger'],{getLogDir}=require(a109_0x38f5aa(0xf0)),testHubConstants=require(a109_0x38f5aa(0x100)),PerformanceTester=require(a109_0x38f5aa(0xe8)),{PERCY_EVENTS:PerformanceEvents}=require(a109_0x38f5aa(0xed)),PercyBinary=require(a109_0x38f5aa(0xe1));function a109_0x518c(){const _0x4192af=['&type=','join','isRunning','projectName','createPercyConfig','../../helpers/testhub/constants','1929725noSZuv','flags','debug','PERCY_SERVER_ADDRESS','stderr','percy.json','tmpdir','dNdtD','start','stdout','percy/healthcheck','Error\x20creating\x20percy\x20config:\x20','http://localhost:5338','close','token','knfob','UwvTA','Percy\x20healthcheck\x20successful','fRsjp','nodeRequest','WFwDZ','child_process','ENV_VAR','app','path','percyOptions','8930424GGZbzp','GET','tnPcb','FhXTS','stop','assign','DOWNLOAD','JLjZk','api/app_percy/get_project_token?name=','SsoCu','healthcheck','880362XCONKq',':start','end','AhrxW','exec','env','ZaVwR','VTpEk','ntcCG','createWriteStream','9203530xupamR','CWVkj','DCRET','./PercyBinary','332aYtMme','Percy\x20fetch\x20token\x20success','NPAlK','57837QopcSY','1343051Vtiyfx','IbfnN','../../helpers/performance/performance-tester','jgSAO','push','writeFile','isProcessRunning','../../helpers/performance/constants','getBinaryPath','490IBITnt','../logger','12cXLtUK','exports','fetchPercyToken','automate','version','app:exec','867514IUofyE','PsEqC','percy.log','pipe'];a109_0x518c=function(){return _0x4192af;};return a109_0x518c();}class Percy{#logfile=path[a109_0x38f5aa(0xfc)](getLogDir(),a109_0x38f5aa(0xf9));#address=process['env'][a109_0x38f5aa(0x104)]||a109_0x38f5aa(0x10d);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];['isProcessRunning']=![];constructor(_0x40d90a){const _0x1384e1=a109_0x38f5aa;this.#config=_0x40d90a,!!_0x40d90a[_0x1384e1(0x118)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x10f91e=a109_0x38f5aa;if(!this.#binaryPath){const _0x59374a=new PercyBinary();PerformanceTester[_0x10f91e(0x109)](PerformanceEvents[_0x10f91e(0x121)]),this.#binaryPath=await _0x59374a[_0x10f91e(0xee)](this.#config),PerformanceTester[_0x10f91e(0x128)](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x4b434f){return new Promise(_0x28aed6=>setTimeout(_0x28aed6,_0x4b434f));}async[a109_0x38f5aa(0x125)](){const _0x1483ef=a109_0x38f5aa,_0x1ec11f={};_0x1ec11f[_0x1483ef(0x122)]=_0x1483ef(0x11c),_0x1ec11f[_0x1483ef(0xdc)]=_0x1483ef(0x10b);const _0x304c93=_0x1ec11f;try{const _0x2a9414=await helper[_0x1483ef(0x114)](_0x304c93[_0x1483ef(0x122)],_0x304c93['ntcCG'],null,null,this.#address);if(_0x2a9414)return!![];}catch(_0x3be121){return![];}}async['start'](){const _0x5cc6b6=a109_0x38f5aa,_0x158aed={'knfob':_0x5cc6b6(0xf6),'LjnfQ':_0x5cc6b6(0x12a),'jgSAO':function(_0x5d8bb4,_0x8ce00b,_0x578919,_0x56406c){return _0x5d8bb4(_0x8ce00b,_0x578919,_0x56406c);},'VElBw':_0x5cc6b6(0x10e),'CWVkj':_0x5cc6b6(0x112)},_0x2e3ac6=await this.#getBinaryPath(),_0x1aa7b9={};_0x1aa7b9[_0x5cc6b6(0x102)]='a',this.#logStream=fs[_0x5cc6b6(0xdd)](this.#logfile,_0x1aa7b9);const _0xafee3d=await this[_0x5cc6b6(0xf3)](),_0x44d2e7=await this['createPercyConfig']();if(!_0xafee3d)return![];const _0x477430=[(this.#isApp?_0x158aed[_0x5cc6b6(0x110)]:_0x158aed['LjnfQ'])+_0x5cc6b6(0x127)];_0x44d2e7&&_0x477430[_0x5cc6b6(0xea)]('-c',_0x44d2e7);this.#proc=_0x158aed[_0x5cc6b6(0xe9)](spawn,_0x2e3ac6,_0x477430,{'env':Object[_0x5cc6b6(0x120)](process[_0x5cc6b6(0x12b)],{'PERCY_TOKEN':_0xafee3d,'TH_BUILD_UUID':process[_0x5cc6b6(0x12b)][testHubConstants[_0x5cc6b6(0x117)]['BROWSERSTACK_TESTHUB_UUID']]})}),this.#proc[_0x5cc6b6(0x10a)][_0x5cc6b6(0xfa)](this.#logStream),this.#proc[_0x5cc6b6(0x105)][_0x5cc6b6(0xfa)](this.#logStream),this['isProcessRunning']=!![];var _0x4ac170=this;this.#proc['on'](_0x158aed['VElBw'],function(_0x3d6b84){const _0x2600d3=_0x5cc6b6;_0x4ac170[_0x2600d3(0xec)]=![];});do{const _0x48407f=await this['healthcheck']();if(_0x48407f)return logger[_0x5cc6b6(0x103)](_0x158aed[_0x5cc6b6(0xdf)]),!![];await this.#sleep(0x3e8);}while(this[_0x5cc6b6(0xec)]);return![];}async[a109_0x38f5aa(0x11f)](){const _0x2206e3=a109_0x38f5aa,_0x11b6d1={'fRsjp':function(_0x5acd6b,_0x944e0){return _0x5acd6b(_0x944e0);},'PlmRJ':function(_0x58673d,_0x404473,_0x451e5d){return _0x58673d(_0x404473,_0x451e5d);},'SsoCu':'exec:stop','WFwDZ':_0x2206e3(0x10e)},_0xd0205d=await this.#getBinaryPath();return new Promise((_0x3c26e2,_0x53f760)=>{const _0x269300=_0x2206e3,_0x46acb1={'FhXTS':function(_0x395419,_0x470ea0){const _0x4a8dea=a109_0x19af;return _0x11b6d1[_0x4a8dea(0x113)](_0x395419,_0x470ea0);}},_0x472235=_0x11b6d1['PlmRJ'](spawn,_0xd0205d,[_0x11b6d1[_0x269300(0x124)]]);_0x472235['on'](_0x11b6d1[_0x269300(0x115)],_0x2d64fd=>{const _0x563e3b=_0x269300;this[_0x563e3b(0xec)]=![],this.#logStream&&(this.#logStream[_0x563e3b(0x128)](),this.#logStream=null),_0x46acb1[_0x563e3b(0x11e)](_0x3c26e2,_0x2d64fd);});});}[a109_0x38f5aa(0xfd)](){const _0x5f3131=a109_0x38f5aa;return this[_0x5f3131(0xec)];}async[a109_0x38f5aa(0xf3)](){const _0x26b6f1=a109_0x38f5aa,_0x5089d0={};_0x5089d0['IbfnN']=_0x26b6f1(0x118),_0x5089d0[_0x26b6f1(0x129)]=_0x26b6f1(0xf4),_0x5089d0[_0x26b6f1(0xf8)]=_0x26b6f1(0x11c),_0x5089d0[_0x26b6f1(0xe0)]=_0x26b6f1(0xe3);const _0x4b096a=_0x5089d0,_0x27b810=this.#config[_0x26b6f1(0xfe)];try{const _0x51cba0=this.#isApp?_0x4b096a[_0x26b6f1(0xe7)]:_0x4b096a[_0x26b6f1(0x129)],_0x3fd32f=await helper[_0x26b6f1(0x114)](_0x4b096a['PsEqC'],_0x26b6f1(0x123)+_0x27b810+_0x26b6f1(0xfb)+_0x51cba0,{},this.#config),_0x45aca5=_0x3fd32f['data'];return logger[_0x26b6f1(0x103)](_0x4b096a[_0x26b6f1(0xe0)]),_0x45aca5[_0x26b6f1(0x10f)];}catch(_0x1195fd){return logger['error']('Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20'+_0x1195fd),null;}}async[a109_0x38f5aa(0xff)](){const _0x3e201c=a109_0x38f5aa,_0x477bc6={'dNdtD':function(_0x24ed68,_0x214dff){return _0x24ed68(_0x214dff);},'UwvTA':function(_0x3de99d,_0x478a3e){return _0x3de99d+_0x478a3e;},'VTpEk':'Percy\x20config\x20created\x20at\x20','NPAlK':_0x3e201c(0x106)};if(!this.#config[_0x3e201c(0x11a)])return null;const _0x23decb=path[_0x3e201c(0xfc)](os[_0x3e201c(0x107)](),_0x477bc6[_0x3e201c(0xe4)]),_0x428792=this.#config['percyOptions'];return!_0x428792[_0x3e201c(0xf5)]&&(_0x428792[_0x3e201c(0xf5)]='2'),new Promise((_0x2d91e5,_0x4c9c67)=>{const _0x3fd738=_0x3e201c,_0xe712ba={'ZaVwR':function(_0x10e9f3,_0xcb16b){const _0x3038ac=a109_0x19af;return _0x477bc6[_0x3038ac(0x108)](_0x10e9f3,_0xcb16b);},'tnPcb':function(_0x452cad,_0x187ac8){const _0x442437=a109_0x19af;return _0x477bc6[_0x442437(0x111)](_0x452cad,_0x187ac8);},'vcbcH':_0x477bc6[_0x3fd738(0xdb)]};fs[_0x3fd738(0xeb)](_0x23decb,JSON['stringify'](_0x428792),_0x2986e5=>{const _0x3b367b=_0x3fd738;_0x2986e5&&(logger['error'](_0x3b367b(0x10c)+_0x2986e5),_0xe712ba['ZaVwR'](_0x2d91e5,null)),logger['debug'](_0xe712ba[_0x3b367b(0x11d)](_0xe712ba['vcbcH'],_0x23decb)),_0xe712ba[_0x3b367b(0x12c)](_0x2d91e5,_0x23decb);});});}}module[a109_0x38f5aa(0xf2)]=Percy;
1
+ const a110_0x2c5b0f=a110_0x3712;(function(_0xff8cc6,_0x493e8f){const _0x1848ca=a110_0x3712,_0x1ba84e=_0xff8cc6();while(!![]){try{const _0x54a1d3=parseInt(_0x1848ca(0x1ae))/0x1*(-parseInt(_0x1848ca(0x1a3))/0x2)+-parseInt(_0x1848ca(0x1be))/0x3+-parseInt(_0x1848ca(0x1b5))/0x4+-parseInt(_0x1848ca(0x194))/0x5+parseInt(_0x1848ca(0x192))/0x6+-parseInt(_0x1848ca(0x1b0))/0x7*(parseInt(_0x1848ca(0x1c6))/0x8)+parseInt(_0x1848ca(0x19d))/0x9*(parseInt(_0x1848ca(0x1d1))/0xa);if(_0x54a1d3===_0x493e8f)break;else _0x1ba84e['push'](_0x1ba84e['shift']());}catch(_0x52ac57){_0x1ba84e['push'](_0x1ba84e['shift']());}}}(a110_0x3dc7,0x96def));function a110_0x3712(_0x4c91b7,_0x13bd60){const _0x3dc75a=a110_0x3dc7();return a110_0x3712=function(_0x3712bc,_0x4a1fa4){_0x3712bc=_0x3712bc-0x18f;let _0x49b1cc=_0x3dc75a[_0x3712bc];return _0x49b1cc;},a110_0x3712(_0x4c91b7,_0x13bd60);}function a110_0x3dc7(){const _0x452235=['8Htuidt','jhJQJ','DOWNLOAD','IfJGR','Percy\x20healthcheck\x20successful','../logger','getBinaryPath','stringify','start','vlYtr','exec:stop','5359170szEjsN','MHDQb','fetchPercyToken','app','env','join','close','healthcheck','http://localhost:5338','FMGea','IKtqn','api/app_percy/get_project_token?name=','pdYSq','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','token','5629266zrSvhg','pipe','2606010qDhXMR','child_process','version','BauSq','push','jhQrx','Kooso','debug','flags','27HmsBBx','BROWSERSTACK_TESTHUB_UUID','data','winstonLogger','createPercyConfig','percy.log','2dHbesL','./PercyBinary','tmpdir','app:exec','stop','projectName','end','HWbCp','../helper','domJI','stderr','377471vllmwb','&type=','397642kwOlCW','percy/healthcheck','exec','lXXzJ','WXPaV','3394688xhWEqn','GET','error','../../helpers/performance/constants','Error\x20creating\x20percy\x20config:\x20','../../helpers/testhub/constants','Percy\x20config\x20created\x20at\x20','nodeRequest','isProcessRunning','371532uQoTVF','writeFile','KmThD','moQzn','Percy\x20fetch\x20token\x20success','ENV_VAR','percy.json','stdout'];a110_0x3dc7=function(){return _0x452235;};return a110_0x3dc7();}const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a110_0x2c5b0f(0x195)),helper=require(a110_0x2c5b0f(0x1ab)),logger=require(a110_0x2c5b0f(0x1cb))[a110_0x2c5b0f(0x1a0)],{getLogDir}=require(a110_0x2c5b0f(0x1cb)),testHubConstants=require(a110_0x2c5b0f(0x1ba)),PerformanceTester=require('../../helpers/performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a110_0x2c5b0f(0x1b8)),PercyBinary=require(a110_0x2c5b0f(0x1a4));class Percy{#logfile=path[a110_0x2c5b0f(0x1d6)](getLogDir(),a110_0x2c5b0f(0x1a2));#address=process[a110_0x2c5b0f(0x1d5)]['PERCY_SERVER_ADDRESS']||a110_0x2c5b0f(0x1d9);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];['isProcessRunning']=![];constructor(_0x26d714){const _0x5dc93a=a110_0x2c5b0f;this.#config=_0x26d714,!!_0x26d714[_0x5dc93a(0x1d4)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x53c4d8=a110_0x2c5b0f;if(!this.#binaryPath){const _0x271800=new PercyBinary();PerformanceTester[_0x53c4d8(0x1ce)](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0x271800[_0x53c4d8(0x1cc)](this.#config),PerformanceTester[_0x53c4d8(0x1a9)](PerformanceEvents[_0x53c4d8(0x1c8)]);}return this.#binaryPath;}async #sleep(_0x130847){return new Promise(_0x3cc4c6=>setTimeout(_0x3cc4c6,_0x130847));}async[a110_0x2c5b0f(0x1d8)](){const _0x46faea=a110_0x2c5b0f,_0xbf7119={};_0xbf7119[_0x46faea(0x1da)]='GET',_0xbf7119[_0x46faea(0x1c1)]=_0x46faea(0x1b1);const _0x3caa3f=_0xbf7119;try{const _0x45254c=await helper['nodeRequest'](_0x3caa3f['FMGea'],_0x3caa3f[_0x46faea(0x1c1)],null,null,this.#address);if(_0x45254c)return!![];}catch(_0x52380a){return![];}}async['start'](){const _0x170c11=a110_0x2c5b0f,_0xbf4c57={'tlkcm':_0x170c11(0x1a6),'KmThD':_0x170c11(0x1b2),'HzKMP':function(_0x57ec44,_0x6b00fb,_0xf0bab9,_0x36505e){return _0x57ec44(_0x6b00fb,_0xf0bab9,_0x36505e);},'BauSq':_0x170c11(0x1d7),'vlYtr':_0x170c11(0x1ca)},_0x5ec56b=await this.#getBinaryPath(),_0x14c94d={};_0x14c94d[_0x170c11(0x19c)]='a',this.#logStream=fs['createWriteStream'](this.#logfile,_0x14c94d);const _0x265536=await this[_0x170c11(0x1d3)](),_0x600b76=await this['createPercyConfig']();if(!_0x265536)return![];const _0x2d0208=[(this.#isApp?_0xbf4c57['tlkcm']:_0xbf4c57[_0x170c11(0x1c0)])+':start'];_0x600b76&&_0x2d0208[_0x170c11(0x198)]('-c',_0x600b76);this.#proc=_0xbf4c57['HzKMP'](spawn,_0x5ec56b,_0x2d0208,{'env':Object['assign'](process['env'],{'PERCY_TOKEN':_0x265536,'TH_BUILD_UUID':process[_0x170c11(0x1d5)][testHubConstants[_0x170c11(0x1c3)][_0x170c11(0x19e)]]})}),this.#proc[_0x170c11(0x1c5)][_0x170c11(0x193)](this.#logStream),this.#proc[_0x170c11(0x1ad)][_0x170c11(0x193)](this.#logStream),this[_0x170c11(0x1bd)]=!![];var _0x11fd58=this;this.#proc['on'](_0xbf4c57[_0x170c11(0x197)],function(_0x3bbfdf){const _0x25ab9b=_0x170c11;_0x11fd58[_0x25ab9b(0x1bd)]=![];});do{const _0xbf1ec1=await this[_0x170c11(0x1d8)]();if(_0xbf1ec1)return logger[_0x170c11(0x19b)](_0xbf4c57[_0x170c11(0x1cf)]),!![];await this.#sleep(0x3e8);}while(this['isProcessRunning']);return![];}async[a110_0x2c5b0f(0x1a7)](){const _0x138ffe=a110_0x2c5b0f,_0x38cc38={'Refvs':function(_0x200d27,_0x35ae92){return _0x200d27(_0x35ae92);},'IfJGR':function(_0x21e8db,_0x3d267b,_0x4f6961){return _0x21e8db(_0x3d267b,_0x4f6961);},'WQiCL':_0x138ffe(0x1d0),'HpLNJ':'close'},_0x16b123=await this.#getBinaryPath();return new Promise((_0x6a8901,_0x30f437)=>{const _0x29eba8=_0x138ffe,_0x5faa2d={'HWbCp':function(_0xf9f4b2,_0x4adf52){return _0x38cc38['Refvs'](_0xf9f4b2,_0x4adf52);}},_0x19c015=_0x38cc38[_0x29eba8(0x1c9)](spawn,_0x16b123,[_0x38cc38['WQiCL']]);_0x19c015['on'](_0x38cc38['HpLNJ'],_0x5c97fc=>{const _0x1be413=_0x29eba8;this[_0x1be413(0x1bd)]=![],this.#logStream&&(this.#logStream['end'](),this.#logStream=null),_0x5faa2d[_0x1be413(0x1aa)](_0x6a8901,_0x5c97fc);});});}['isRunning'](){const _0x157dd8=a110_0x2c5b0f;return this[_0x157dd8(0x1bd)];}async['fetchPercyToken'](){const _0x5164b0=a110_0x2c5b0f,_0x300280={};_0x300280[_0x5164b0(0x199)]=_0x5164b0(0x1d4),_0x300280[_0x5164b0(0x1d2)]='automate',_0x300280[_0x5164b0(0x1b3)]=_0x5164b0(0x1b6),_0x300280[_0x5164b0(0x18f)]=_0x5164b0(0x1c2);const _0x2da643=_0x300280,_0x3bf5e7=this.#config[_0x5164b0(0x1a8)];try{const _0x45c439=this.#isApp?_0x2da643['jhQrx']:_0x2da643['MHDQb'],_0x5d7dc7=await helper[_0x5164b0(0x1bc)](_0x2da643[_0x5164b0(0x1b3)],_0x5164b0(0x1dc)+_0x3bf5e7+_0x5164b0(0x1af)+_0x45c439,{},this.#config),_0xb3b75d=_0x5d7dc7[_0x5164b0(0x19f)];return logger[_0x5164b0(0x19b)](_0x2da643[_0x5164b0(0x18f)]),_0xb3b75d[_0x5164b0(0x191)];}catch(_0x33e420){return logger['error'](_0x5164b0(0x190)+_0x33e420),null;}}async[a110_0x2c5b0f(0x1a1)](){const _0x36ab45=a110_0x2c5b0f,_0x464980={'jhJQJ':function(_0x2894f0,_0x3346f2){return _0x2894f0(_0x3346f2);},'VVLNB':function(_0x41781a,_0x143e58){return _0x41781a+_0x143e58;},'agSgu':_0x36ab45(0x1bb),'IKtqn':_0x36ab45(0x1c4)};if(!this.#config['percyOptions'])return null;const _0x2cf445=path[_0x36ab45(0x1d6)](os[_0x36ab45(0x1a5)](),_0x464980[_0x36ab45(0x1db)]),_0x40e991=this.#config['percyOptions'];return!_0x40e991[_0x36ab45(0x196)]&&(_0x40e991[_0x36ab45(0x196)]='2'),new Promise((_0x388d43,_0x150708)=>{const _0x1b2c48=_0x36ab45,_0x232fe8={'XhBlX':function(_0x32be6d,_0x5b7f91){const _0x56fcf2=a110_0x3712;return _0x464980[_0x56fcf2(0x1c7)](_0x32be6d,_0x5b7f91);},'Kooso':function(_0x2cf39e,_0x37cafc){return _0x464980['VVLNB'](_0x2cf39e,_0x37cafc);},'WXPaV':_0x464980['agSgu'],'domJI':function(_0x4f3d73,_0x18e77a){return _0x464980['jhJQJ'](_0x4f3d73,_0x18e77a);}};fs[_0x1b2c48(0x1bf)](_0x2cf445,JSON[_0x1b2c48(0x1cd)](_0x40e991),_0x3799ea=>{const _0x48bab6=_0x1b2c48;_0x3799ea&&(logger[_0x48bab6(0x1b7)](_0x48bab6(0x1b9)+_0x3799ea),_0x232fe8['XhBlX'](_0x388d43,null)),logger[_0x48bab6(0x19b)](_0x232fe8[_0x48bab6(0x19a)](_0x232fe8[_0x48bab6(0x1b4)],_0x2cf445)),_0x232fe8[_0x48bab6(0x1ac)](_0x388d43,_0x2cf445);});});}}module['exports']=Percy;
@@ -1 +1 @@
1
- const a110_0x27548b=a110_0x32e5;(function(_0xaf944b,_0x386018){const _0x4cd97b=a110_0x32e5,_0x295fea=_0xaf944b();while(!![]){try{const _0x567f95=-parseInt(_0x4cd97b(0x16e))/0x1+parseInt(_0x4cd97b(0x10a))/0x2*(-parseInt(_0x4cd97b(0x11d))/0x3)+-parseInt(_0x4cd97b(0x16c))/0x4+parseInt(_0x4cd97b(0x101))/0x5*(parseInt(_0x4cd97b(0x16f))/0x6)+-parseInt(_0x4cd97b(0xfe))/0x7*(parseInt(_0x4cd97b(0x103))/0x8)+parseInt(_0x4cd97b(0x185))/0x9*(-parseInt(_0x4cd97b(0x136))/0xa)+parseInt(_0x4cd97b(0x129))/0xb*(parseInt(_0x4cd97b(0x12f))/0xc);if(_0x567f95===_0x386018)break;else _0x295fea['push'](_0x295fea['shift']());}catch(_0x3a4c02){_0x295fea['push'](_0x295fea['shift']());}}}(a110_0x5e6c,0x59712));function a110_0x32e5(_0x4c1c19,_0x4858c5){const _0x5e6c44=a110_0x5e6c();return a110_0x32e5=function(_0x32e558,_0x35a3a0){_0x32e558=_0x32e558-0xfe;let _0x550716=_0x5e6c44[_0x32e558];return _0x550716;},a110_0x32e5(_0x4c1c19,_0x4858c5);}function a110_0x5e6c(){const _0xe9a748=['ihsdW','warn','openReadStream','9Zcdvfi','match','W_OK','If-None-Match','jOHbl','YhQuh','wFAMb','once','uJaHr','cVmxz','whtsG','28kiQClU','qHMBE','KKTXd','45HCOimE','agent','1336696eTstGD','vjvPq','then','url','MbqSS','hfAco','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','2FBgFqz','createWriteStream','KUvxv','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','LNAME','JzUFE','JNxgX','headers','RKgqJ','accessSync','etag','statusCode','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','sGCIX','GbSFz','validateBinary','extractAndSaveBinary','JsPQS','error','1906626WzwJhE','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','utf8','gKVSS','get','exports','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','getuid','end','platform','IJfOJ','debug','11mqskJA','AeZrr','close','CeHXV','env','undefined','29776440BCmJBE','open','--version','ZungX','R_OK','binaryPath','tmezn','5318750RvEEQW','.zip','Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20','GgmGn','needsUpdate','Error\x20trying\x20to\x20download\x20percy\x20binary','win32','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','wsbpH','/percy-linux.zip','NAKjN','FNjaA','Failed\x20to\x20save\x20ETag\x20file:\x20','readEntry','darwin','X_OK','getBinaryPath','data','useCaCertificate','readFileSync','../logger','writeFileSync','mkdirSync','.browserstack','LOGNAME','aoDUq','jyHLC','host','WeDHq','test','join','fileName','GJxyv','hGZyI','cwd','USER','parse','RQtZs','USERPROFILE','HVpxo','pipe','BiMiU','path','VvlwZ','/percy-win.zip','KZeiI','yauzl','HOMEPATH','gpavr','HOMEDRIVE','proxyPort','ARuwA','function','mkhED','1955272QPSsKZ','tmpdir','101662HbRymx','207486yfYSYo','/Users/','QUSVo','https-proxy-agent','length','wVFvn','Failed\x20to\x20read\x20ETag\x20file:\x20','SVaLG','TfteN','uKHtp','stdout','download','Saved\x20new\x20ETag\x20for\x20percy\x20binary','catch','cMFqy','YFvgp','proxyHost','hTClr','/home/'];a110_0x5e6c=function(){return _0xe9a748;};return a110_0x5e6c();}const {https}=require('follow-redirects'),url=require(a110_0x27548b(0x106)),yauzl=require(a110_0x27548b(0x164)),fs=require('fs'),path=require(a110_0x27548b(0x160)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a110_0x27548b(0x172)),logger=require(a110_0x27548b(0x14a))['winstonLogger'];class PercyBinary{#hostOS=process[a110_0x27548b(0x126)];#httpPath=null;#binaryName='percy';#orderedPaths=[path[a110_0x27548b(0x154)](this.#homedir(),a110_0x27548b(0x14d)),process[a110_0x27548b(0x158)](),os[a110_0x27548b(0x16d)]()];constructor(){const _0x1a0b0f=a110_0x27548b,_0x24ce34={};_0x24ce34[_0x1a0b0f(0x169)]='https://github.com/percy/cli/releases/latest/download',_0x24ce34['YFvgp']=function(_0x418e7b,_0x202f58){return _0x418e7b+_0x202f58;},_0x24ce34['qHMBE']='/percy-osx.zip',_0x24ce34[_0x1a0b0f(0x139)]=_0x1a0b0f(0x162),_0x24ce34[_0x1a0b0f(0x161)]='percy.exe',_0x24ce34[_0x1a0b0f(0x10f)]=_0x1a0b0f(0x13f);const _0x22553c=_0x24ce34,_0x2f78e5=_0x22553c[_0x1a0b0f(0x169)];if(this.#hostOS[_0x1a0b0f(0x186)](/darwin|mac os/i))this.#httpPath=_0x22553c[_0x1a0b0f(0x17e)](_0x2f78e5,_0x22553c[_0x1a0b0f(0xff)]);else this.#hostOS[_0x1a0b0f(0x186)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x22553c['YFvgp'](_0x2f78e5,_0x22553c[_0x1a0b0f(0x139)]),this.#binaryName=_0x22553c[_0x1a0b0f(0x161)]):this.#httpPath=_0x22553c[_0x1a0b0f(0x17e)](_0x2f78e5,_0x22553c[_0x1a0b0f(0x10f)]);}#getAvailableDirs(){const _0x266ab5=a110_0x27548b,_0x5908e1={};_0x5908e1[_0x266ab5(0x177)]=function(_0x391ac2,_0x3d795f){return _0x391ac2<_0x3d795f;},_0x5908e1[_0x266ab5(0x150)]=_0x266ab5(0x13b);const _0x33deba=_0x5908e1;for(var _0x17a754=0x0;_0x33deba['TfteN'](_0x17a754,this.#orderedPaths[_0x266ab5(0x173)]);_0x17a754++){var _0x19253a=this.#orderedPaths[_0x17a754];if(this.#makePath(_0x19253a))return _0x19253a;}throw new Error(_0x33deba['jyHLC']);}#makePath(_0x3b6196){const _0xb343ca=a110_0x27548b;try{return _0x3b6196&&!this.#checkPath(_0x3b6196)&&fs[_0xb343ca(0x14c)](_0x3b6196),!![];}catch{return![];}}#checkPath(_0x5bc177,_0x41aa8b){const _0x6ebcf5=a110_0x27548b,_0x5459b4={};_0x5459b4[_0x6ebcf5(0x14f)]=function(_0x5c45b5,_0x493af1){return _0x5c45b5|_0x493af1;},_0x5459b4['YhQuh']=function(_0x5c8c6b,_0x3cb41d){return _0x5c8c6b!==_0x3cb41d;},_0x5459b4['EemDF']=_0x6ebcf5(0x12e);const _0x25013c=_0x5459b4;_0x41aa8b=_0x41aa8b||_0x25013c['aoDUq'](fs[_0x6ebcf5(0x133)],fs[_0x6ebcf5(0x187)]);try{return fs[_0x6ebcf5(0x113)](_0x5bc177,_0x41aa8b),!![];}catch(_0x107327){if(_0x25013c[_0x6ebcf5(0x18a)](typeof fs[_0x6ebcf5(0x113)],_0x25013c['EemDF']))return![];try{return fs['statSync'](_0x5bc177),!![];}catch(_0x157de4){return![];}}}#getETagPath(_0x5a85e2){const _0xc06883=a110_0x27548b;return path[_0xc06883(0x154)](_0x5a85e2,this.#binaryName+'.etag');}#loadETag(_0x54916f){const _0x226a26=a110_0x27548b,_0x2e5e10={};_0x2e5e10[_0x226a26(0x10c)]=_0x226a26(0x11f);const _0x540f69=_0x2e5e10,_0x534585=this.#getETagPath(_0x54916f);if(this.#checkPath(_0x534585))try{return fs[_0x226a26(0x149)](_0x534585,_0x540f69[_0x226a26(0x10c)])['trim']();}catch(_0x5dc3fb){logger[_0x226a26(0x183)](_0x226a26(0x175)+_0x5dc3fb);}return null;}#saveETag(_0x5c28e9,_0x2bfc01){const _0x1ffbab=a110_0x27548b,_0x5c5f6b={};_0x5c5f6b[_0x1ffbab(0x180)]=_0x1ffbab(0x17b);const _0x391600=_0x5c5f6b;if(!_0x2bfc01)return;try{const _0xedba85=this.#getETagPath(_0x5c28e9);fs[_0x1ffbab(0x14b)](_0xedba85,_0x2bfc01),logger[_0x1ffbab(0x128)](_0x391600[_0x1ffbab(0x180)]);}catch(_0x41b46c){logger[_0x1ffbab(0x183)](_0x1ffbab(0x142)+_0x41b46c);}}async #handleBinaryDownload(_0x51cb6b,_0x2ee59b,_0x3567fa){const _0x289290=a110_0x27548b,_0xd2985={};_0xd2985[_0x289290(0x12a)]=_0x289290(0x123);const _0xe732a3=_0xd2985,_0x1b785b=await this[_0x289290(0x119)](_0x51cb6b[_0x289290(0x134)]);if(!_0x1b785b){logger[_0x289290(0x11c)](_0xe732a3[_0x289290(0x12a)]);const _0x4075ac=await this['download'](_0x2ee59b,_0x3567fa);return _0x4075ac[_0x289290(0x134)];}return _0x51cb6b[_0x289290(0x134)];}async[a110_0x27548b(0x146)](_0x164ae8){const _0x36e32e=a110_0x27548b,_0x1a2789={};_0x1a2789['ZfbXU']=_0x36e32e(0x116),_0x1a2789[_0x36e32e(0x15d)]=_0x36e32e(0x109);const _0xb699fa=_0x1a2789,_0x38ccc2=this.#getAvailableDirs(),_0x30495f=path[_0x36e32e(0x154)](_0x38ccc2,this.#binaryName);if(this.#checkPath(_0x30495f,fs[_0x36e32e(0x145)])){const _0x6d014a=this.#loadETag(_0x38ccc2);if(_0x6d014a)try{const _0x383d19=await this[_0x36e32e(0x17a)](_0x164ae8,_0x38ccc2,_0x6d014a);if(!_0x383d19[_0x36e32e(0x13a)])return logger[_0x36e32e(0x128)](_0xb699fa['ZfbXU']),_0x30495f;return logger[_0x36e32e(0x128)](_0xb699fa[_0x36e32e(0x15d)]),await this.#handleBinaryDownload(_0x383d19,_0x164ae8,_0x38ccc2);}catch(_0x2e59b2){return logger[_0x36e32e(0x183)](_0x36e32e(0x11e)+_0x2e59b2),_0x30495f;}}const _0x2390df=await this[_0x36e32e(0x17a)](_0x164ae8,_0x38ccc2);return await this.#handleBinaryDownload(_0x2390df,_0x164ae8,_0x38ccc2);}[a110_0x27548b(0x17a)](_0x1073ca,_0x45bf56,_0x4ab3df=null){const _0x4a5c61=a110_0x27548b,_0x2a3215={'rTobc':function(_0x5c2d41,_0x536be8){return _0x5c2d41(_0x536be8);},'ZungX':function(_0x233c54,_0x397d71){return _0x233c54===_0x397d71;},'wsbpH':function(_0x3f3e64,_0x709542){return _0x3f3e64(_0x709542);},'hfAco':_0x4a5c61(0x11c),'GJxyv':_0x4a5c61(0x12b),'IJfOJ':function(_0x30a6a2,_0x2da9e6){return _0x30a6a2+_0x2da9e6;},'mnmfT':_0x4a5c61(0x137)};_0x45bf56&&!this.#checkPath(_0x45bf56)&&fs[_0x4a5c61(0x14c)](_0x45bf56);const _0x329f29=this.#binaryName,_0x488985=path['join'](_0x45bf56,_0x2a3215[_0x4a5c61(0x127)](_0x329f29,_0x2a3215['mnmfT'])),_0x489763=fs[_0x4a5c61(0x10b)](_0x488985),_0x393607=url[_0x4a5c61(0x15a)](this.#httpPath);if(_0x1073ca[_0x4a5c61(0x17f)]&&_0x1073ca[_0x4a5c61(0x168)]){const _0x1130ce={};_0x1130ce[_0x4a5c61(0x151)]=_0x1073ca[_0x4a5c61(0x17f)],_0x1130ce['port']=_0x1073ca[_0x4a5c61(0x168)],_0x393607[_0x4a5c61(0x102)]=new HttpsProxyAgent(_0x1130ce);}if(_0x1073ca[_0x4a5c61(0x148)])try{_0x393607['ca']=fs[_0x4a5c61(0x149)](_0x1073ca[_0x4a5c61(0x148)]);}catch(_0xc451a8){logger[_0x4a5c61(0x11c)](_0x4a5c61(0x138)+_0xc451a8);}if(_0x4ab3df){const _0x12fd2e={};_0x12fd2e[_0x4a5c61(0x188)]=_0x4ab3df,_0x12fd2e['Connection']=_0x2a3215[_0x4a5c61(0x156)],_0x393607['headers']=_0x12fd2e;}else{const _0x5896ec={};_0x5896ec['Connection']=_0x2a3215[_0x4a5c61(0x156)],_0x393607['headers']=_0x5896ec;}return new Promise((_0x29ac5f,_0x2d3e44)=>{const _0x5ef1aa=_0x4a5c61,_0x39b129={'FNjaA':function(_0x381229,_0x3ecbfe){const _0x1069e8=a110_0x32e5;return _0x2a3215[_0x1069e8(0x13e)](_0x381229,_0x3ecbfe);}};https[_0x5ef1aa(0x121)](_0x393607,_0xdd7d84=>{const _0x3b2d86=_0x5ef1aa,_0x273004={'WeDHq':function(_0x3b0b53,_0x6742ea){return _0x2a3215['rTobc'](_0x3b0b53,_0x6742ea);}};if(_0x4ab3df&&_0x2a3215[_0x3b2d86(0x132)](_0xdd7d84[_0x3b2d86(0x115)],0x130)){_0x489763['destroy']();const _0x314c0c={};_0x314c0c[_0x3b2d86(0x13a)]=![],_0x2a3215[_0x3b2d86(0x13e)](_0x29ac5f,_0x314c0c);return;}const _0x5f4e20=_0xdd7d84[_0x3b2d86(0x111)][_0x3b2d86(0x114)];_0x5f4e20&&this.#saveETag(_0x45bf56,_0x5f4e20),_0xdd7d84['pipe'](_0x489763),_0xdd7d84['on'](_0x2a3215[_0x3b2d86(0x108)],function(_0x484b59){const _0x487f82=_0x3b2d86;logger[_0x487f82(0x11c)](_0x487f82(0x10d)+_0x484b59),_0x39b129[_0x487f82(0x141)](_0x2d3e44,_0x484b59);}),_0x489763['on'](_0x2a3215[_0x3b2d86(0x108)],function(_0x1b2bd9){const _0xc804f2=_0x3b2d86;logger['error']('Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20'+_0x1b2bd9),_0x273004[_0xc804f2(0x152)](_0x2d3e44,_0x1b2bd9);}),_0x489763['on'](_0x2a3215['GJxyv'],()=>{const _0x34d8df=_0x3b2d86;this[_0x34d8df(0x11a)](_0x488985,_0x45bf56)[_0x34d8df(0x105)](_0x2afa41=>_0x29ac5f({'needsUpdate':!![],'binaryPath':_0x2afa41}))[_0x34d8df(0x17c)](_0x2d3e44);});})['on'](_0x2a3215[_0x5ef1aa(0x108)],function(_0x3999a3){const _0x5aee5c=_0x5ef1aa;logger[_0x5aee5c(0x11c)](_0x5aee5c(0x13d)+_0x3999a3),_0x2a3215['wsbpH'](_0x2d3e44,_0x3999a3);});});}[a110_0x27548b(0x11a)](_0x1439e8,_0x3c4c11){const _0x27122d=a110_0x27548b,_0x55808f={'NAKjN':function(_0x21c7f7,_0x390a35){return _0x21c7f7(_0x390a35);},'JsPQS':'0755','cpyoo':function(_0x307a9f,_0x3c1a82){return _0x307a9f(_0x3c1a82);},'kwVaa':'entry','cMFqy':'error','vjvPq':_0x27122d(0x125),'KZeiI':function(_0x13c073,_0x4d912f){return _0x13c073===_0x4d912f;}},_0x8d027b=this.#binaryName,_0x5f2bfb=path[_0x27122d(0x154)](_0x3c4c11,_0x8d027b);return new Promise((_0x1c8934,_0x5de7b7)=>{const _0x978ac5=_0x27122d,_0x290b4d={'CeHXV':function(_0x1b8a14,_0x167383){const _0x22830d=a110_0x32e5;return _0x55808f[_0x22830d(0x140)](_0x1b8a14,_0x167383);},'mkhED':_0x55808f[_0x978ac5(0x104)],'ihsdW':function(_0x249645,_0x413ddb){const _0x2df5e7=_0x978ac5;return _0x55808f[_0x2df5e7(0x163)](_0x249645,_0x413ddb);}},_0x237d40={};_0x237d40['lazyEntries']=!![],yauzl[_0x978ac5(0x130)](_0x1439e8,_0x237d40,function(_0x6b836b,_0x57679f){const _0x4e23bf=_0x978ac5,_0x4c4478={'uJaHr':function(_0x3f19d8,_0x4c0e39){const _0x2d6f3e=a110_0x32e5;return _0x55808f[_0x2d6f3e(0x140)](_0x3f19d8,_0x4c0e39);},'laNTN':_0x55808f[_0x4e23bf(0x11b)]};_0x6b836b&&_0x55808f['cpyoo'](_0x5de7b7,_0x6b836b),_0x57679f[_0x4e23bf(0x143)](),_0x57679f['on'](_0x55808f['kwVaa'],_0x28056a=>{const _0x47b09e=_0x4e23bf,_0x36cb99={'pDKsR':function(_0x4276a3,_0xe5932c){const _0x2d68eb=a110_0x32e5;return _0x290b4d[_0x2d68eb(0x12c)](_0x4276a3,_0xe5932c);},'gpavr':_0x290b4d[_0x47b09e(0x16b)]};if(/\/$/[_0x47b09e(0x153)](_0x28056a['fileName']))_0x57679f[_0x47b09e(0x143)]();else{const _0x3a4e15=fs[_0x47b09e(0x10b)](path[_0x47b09e(0x154)](_0x3c4c11,_0x28056a[_0x47b09e(0x155)]));_0x57679f[_0x47b09e(0x184)](_0x28056a,function(_0x33b68d,_0x5e8773){const _0x2883d1=_0x47b09e;_0x33b68d&&_0x36cb99['pDKsR'](_0x5de7b7,_0x6b836b),_0x5e8773['on'](_0x36cb99[_0x2883d1(0x166)],function(){const _0xe308cf=_0x2883d1;_0x3a4e15[_0xe308cf(0x12b)](),_0x57679f['readEntry']();}),_0x5e8773[_0x2883d1(0x15e)](_0x3a4e15);}),_0x290b4d[_0x47b09e(0x182)](_0x28056a[_0x47b09e(0x155)],_0x8d027b)&&_0x57679f['close']();}}),_0x57679f['on'](_0x55808f[_0x4e23bf(0x17d)],_0x26cb31=>{const _0x552364=_0x4e23bf;_0x4c4478[_0x552364(0x18d)](_0x5de7b7,_0x26cb31);}),_0x57679f[_0x4e23bf(0x18c)](_0x55808f[_0x4e23bf(0x104)],()=>{const _0x527d78=_0x4e23bf,_0x5dd280={'MbqSS':function(_0x2d4c8b,_0x49a9e9){const _0x4914c7=a110_0x32e5;return _0x4c4478[_0x4914c7(0x18d)](_0x2d4c8b,_0x49a9e9);}};fs['chmod'](_0x5f2bfb,_0x4c4478['laNTN'],function(_0x126085){const _0x39b543=a110_0x32e5;_0x126085&&_0x5dd280['MbqSS'](_0x5de7b7,_0x126085),_0x5dd280[_0x39b543(0x107)](_0x1c8934,_0x5f2bfb);}),_0x57679f[_0x527d78(0x12b)]();});});});}async['validateBinary'](_0xce2273){const _0x454fbb=a110_0x27548b,_0x363dba={'RKgqJ':function(_0x5b9b78,_0x1aa181){return _0x5b9b78(_0x1aa181);},'QUSVo':function(_0x3cb23e,_0x2c9f8b){return _0x3cb23e(_0x2c9f8b);},'uKHtp':function(_0x380502,_0x63aec0,_0xf92830,_0x5d6c69){return _0x380502(_0x63aec0,_0xf92830,_0x5d6c69);},'sGCIX':_0x454fbb(0x131),'whtsG':_0x454fbb(0x147),'wAAvQ':_0x454fbb(0x12b)},_0xe30f90=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x1dc032,_0x21ea9d)=>{const _0x3d73b7=_0x454fbb,_0x16cbf8={'BiMiU':function(_0xc9efac,_0x4a17c4){const _0x3aaeea=a110_0x32e5;return _0x363dba[_0x3aaeea(0x171)](_0xc9efac,_0x4a17c4);}},_0x1917b3={};_0x1917b3['env']=process[_0x3d73b7(0x12d)];const _0x25ae7f=_0x363dba[_0x3d73b7(0x178)](spawn,_0xce2273,[_0x363dba[_0x3d73b7(0x117)]],_0x1917b3);_0x25ae7f[_0x3d73b7(0x179)]['on'](_0x363dba[_0x3d73b7(0x18f)],_0x4555f4=>{const _0x145fcf=_0x3d73b7;_0xe30f90[_0x145fcf(0x153)](_0x4555f4)&&_0x363dba[_0x145fcf(0x112)](_0x1dc032,!![]);}),_0x25ae7f['on'](_0x363dba['wAAvQ'],()=>{const _0x1bd690=_0x3d73b7;_0x16cbf8[_0x1bd690(0x15f)](_0x1dc032,![]);});});}#homedir(){const _0x2e443c=a110_0x27548b,_0x159f72={};_0x159f72[_0x2e443c(0x176)]=function(_0x5020ef,_0x414e49){return _0x5020ef===_0x414e49;},_0x159f72[_0x2e443c(0x157)]=_0x2e443c(0x16a),_0x159f72[_0x2e443c(0x189)]=function(_0x1721f7,_0x534446){return _0x1721f7===_0x534446;},_0x159f72[_0x2e443c(0x18b)]=_0x2e443c(0x13c),_0x159f72[_0x2e443c(0x15b)]=function(_0x180cf7,_0x296580){return _0x180cf7+_0x296580;},_0x159f72[_0x2e443c(0x135)]=_0x2e443c(0x144),_0x159f72[_0x2e443c(0x100)]=_0x2e443c(0x170),_0x159f72[_0x2e443c(0x110)]=function(_0x237c2e,_0x559d96){return _0x237c2e===_0x559d96;},_0x159f72['gKVSS']='linux',_0x159f72['rTHFd']=function(_0x5e1d46,_0x293f2f){return _0x5e1d46===_0x293f2f;},_0x159f72['cVmxz']='/root',_0x159f72[_0x2e443c(0x118)]=_0x2e443c(0x181),_0x159f72[_0x2e443c(0x174)]=function(_0x35c056,_0x9548a9){return _0x35c056||_0x9548a9;};const _0x214e6d=_0x159f72;if(_0x214e6d[_0x2e443c(0x176)](typeof os['homedir'],_0x214e6d[_0x2e443c(0x157)]))return os['homedir']();const _0x16e5c0=process['env'],_0x405a11=_0x16e5c0['HOME'],_0x486e10=_0x16e5c0[_0x2e443c(0x14e)]||_0x16e5c0[_0x2e443c(0x159)]||_0x16e5c0[_0x2e443c(0x10e)]||_0x16e5c0['USERNAME'];if(_0x214e6d[_0x2e443c(0x189)](process[_0x2e443c(0x126)],_0x214e6d[_0x2e443c(0x18b)]))return _0x16e5c0[_0x2e443c(0x15c)]||_0x214e6d[_0x2e443c(0x15b)](_0x16e5c0[_0x2e443c(0x167)],_0x16e5c0[_0x2e443c(0x165)])||_0x405a11||null;if(_0x214e6d[_0x2e443c(0x176)](process[_0x2e443c(0x126)],_0x214e6d['tmezn']))return _0x405a11||(_0x486e10?_0x214e6d[_0x2e443c(0x15b)](_0x214e6d['KKTXd'],_0x486e10):null);if(_0x214e6d['JNxgX'](process[_0x2e443c(0x126)],_0x214e6d[_0x2e443c(0x120)]))return _0x405a11||(_0x214e6d['rTHFd'](process[_0x2e443c(0x124)](),0x0)?_0x214e6d[_0x2e443c(0x18e)]:_0x486e10?_0x214e6d['RQtZs'](_0x214e6d['GbSFz'],_0x486e10):null);return _0x214e6d[_0x2e443c(0x174)](_0x405a11,null);}}module[a110_0x27548b(0x122)]=PercyBinary;
1
+ const a111_0xcb89bd=a111_0x1afe;(function(_0x19f741,_0x188680){const _0x2bc0e1=a111_0x1afe,_0x379a38=_0x19f741();while(!![]){try{const _0xcb26e3=parseInt(_0x2bc0e1(0xe6))/0x1*(parseInt(_0x2bc0e1(0xf3))/0x2)+-parseInt(_0x2bc0e1(0x15d))/0x3+-parseInt(_0x2bc0e1(0x158))/0x4+parseInt(_0x2bc0e1(0x129))/0x5*(parseInt(_0x2bc0e1(0xfe))/0x6)+parseInt(_0x2bc0e1(0x156))/0x7*(parseInt(_0x2bc0e1(0x16c))/0x8)+-parseInt(_0x2bc0e1(0xf8))/0x9+parseInt(_0x2bc0e1(0x126))/0xa*(parseInt(_0x2bc0e1(0x115))/0xb);if(_0xcb26e3===_0x188680)break;else _0x379a38['push'](_0x379a38['shift']());}catch(_0x24805d){_0x379a38['push'](_0x379a38['shift']());}}}(a111_0x51c0,0x59775));function a111_0x1afe(_0x5d24b2,_0x5e53cb){const _0x51c026=a111_0x51c0();return a111_0x1afe=function(_0x1afe35,_0x238afe){_0x1afe35=_0x1afe35-0xda;let _0x47ceef=_0x51c026[_0x1afe35];return _0x47ceef;},a111_0x1afe(_0x5d24b2,_0x5e53cb);}const {https}=require(a111_0xcb89bd(0x15a)),url=require('url'),yauzl=require(a111_0xcb89bd(0x13b)),fs=require('fs'),path=require(a111_0xcb89bd(0x14f)),os=require('os'),{spawn}=require(a111_0xcb89bd(0x13f)),HttpsProxyAgent=require('https-proxy-agent'),logger=require('../logger')['winstonLogger'];function a111_0x51c0(){const _0x538f28=['OBnQJ','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','https://github.com/percy/cli/releases/latest/download','KgROE','/percy-linux.zip','EHzPo','RZWFN','homedir','QwNcZ','HOMEPATH','path','HOMEDRIVE','destroy','RLOaw','zdRYs','jfDCc','catch','7lQmSVX','GjCJU','358948AHNCMX','once','follow-redirects','getBinaryPath','host','1106586YnUTrQ','get','JVDMN','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20','platform','tdAAx','YDGja','Failed\x20to\x20read\x20ETag\x20file:\x20','readEntry','useCaCertificate','EwFQi','AZNSt','win32','gWPyy','4156280WJLmat','length','/percy-osx.zip','nBJJZ','proxyHost','W_OK','lazyEntries','writeFileSync','pciLK','entry','join','proxyPort','alTnn','--version','5402xCvKIy','debug','download','tmpdir','headers','PKhvJ','LNAME','stdout','Failed\x20to\x20save\x20ETag\x20file:\x20','vzJZT','env','extractAndSaveBinary','port','130GUqDao','IycKL','yFfgA','fileName','/home/','6131601ZTFMXp','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','match','Hffew','percy','MJcuN','1605804nJmmUu','end','then','Connection','cANpF','XoCAk','zBLJt','parse','USERNAME','readFileSync','.browserstack','pipe','binaryPath','X_OK','vTMCZ','VKrqW','trim','warn','jOmhj','test','ofQlQ','eDHGy','/percy-win.zip','4048462tYAdjJ','exports','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','cOMXH','utf8','etag','needsUpdate','error','close','wokRW','eyWAq','agent','createWriteStream','uFTrS','rgIBL','RcBEC','undefined','10sbGRWa','Mlbtb','USER','5IXzFiQ','TTGbK','aghHU','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','function','Pchit','/root','XqlBK','mkdirSync','nxdzR','jAgam','DbeSr','QQgcR','.etag','HSOYG','.zip','accessSync','BYknj','yauzl','Error\x20trying\x20to\x20download\x20percy\x20binary','data','cnTjv','child_process','/Users/','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','darwin','MrsCz','If-None-Match'];a111_0x51c0=function(){return _0x538f28;};return a111_0x51c0();}class PercyBinary{#hostOS=process[a111_0xcb89bd(0x162)];#httpPath=null;#binaryName=a111_0xcb89bd(0xfc);#orderedPaths=[path['join'](this.#homedir(),a111_0xcb89bd(0x108)),process['cwd'](),os[a111_0xcb89bd(0xe9)]()];constructor(){const _0x1d949e=a111_0xcb89bd,_0x37ec12={};_0x37ec12['Pchit']=_0x1d949e(0x147),_0x37ec12[_0x1d949e(0x13a)]=function(_0x40e95e,_0xe00811){return _0x40e95e+_0xe00811;},_0x37ec12[_0x1d949e(0x11f)]=_0x1d949e(0xda),_0x37ec12['YDGja']=_0x1d949e(0x114),_0x37ec12['jAgam']='percy.exe',_0x37ec12[_0x1d949e(0x157)]=_0x1d949e(0x149);const _0x87ceaf=_0x37ec12,_0x39faca=_0x87ceaf[_0x1d949e(0x12e)];if(this.#hostOS[_0x1d949e(0xfa)](/darwin|mac os/i))this.#httpPath=_0x87ceaf[_0x1d949e(0x13a)](_0x39faca,_0x87ceaf[_0x1d949e(0x11f)]);else this.#hostOS[_0x1d949e(0xfa)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x87ceaf[_0x1d949e(0x13a)](_0x39faca,_0x87ceaf[_0x1d949e(0x164)]),this.#binaryName=_0x87ceaf[_0x1d949e(0x133)]):this.#httpPath=_0x87ceaf[_0x1d949e(0x13a)](_0x39faca,_0x87ceaf[_0x1d949e(0x157)]);}#getAvailableDirs(){const _0x560967=a111_0xcb89bd,_0x127ecf={};_0x127ecf[_0x560967(0x132)]=function(_0x1954d8,_0x317915){return _0x1954d8<_0x317915;},_0x127ecf[_0x560967(0x104)]=_0x560967(0x13c);const _0x3a181c=_0x127ecf;for(var _0x52876d=0x0;_0x3a181c[_0x560967(0x132)](_0x52876d,this.#orderedPaths[_0x560967(0x16d)]);_0x52876d++){var _0x27dff6=this.#orderedPaths[_0x52876d];if(this.#makePath(_0x27dff6))return _0x27dff6;}throw new Error(_0x3a181c['zBLJt']);}#makePath(_0xc56f33){const _0x4dcd85=a111_0xcb89bd;try{return _0xc56f33&&!this.#checkPath(_0xc56f33)&&fs[_0x4dcd85(0x131)](_0xc56f33),!![];}catch{return![];}}#checkPath(_0x542d4c,_0x22aea1){const _0x67c86a=a111_0xcb89bd,_0x1b92a2={};_0x1b92a2['rWAIv']=function(_0x470696,_0x59fcc1){return _0x470696|_0x59fcc1;},_0x1b92a2['HSOYG']=function(_0x213836,_0x26352c){return _0x213836!==_0x26352c;},_0x1b92a2[_0x67c86a(0x118)]=_0x67c86a(0x125);const _0x250dd4=_0x1b92a2;_0x22aea1=_0x22aea1||_0x250dd4['rWAIv'](fs['R_OK'],fs[_0x67c86a(0xdd)]);try{return fs[_0x67c86a(0x139)](_0x542d4c,_0x22aea1),!![];}catch(_0x19e1fd){if(_0x250dd4[_0x67c86a(0x137)](typeof fs[_0x67c86a(0x139)],_0x250dd4[_0x67c86a(0x118)]))return![];try{return fs['statSync'](_0x542d4c),!![];}catch(_0x14792c){return![];}}}#getETagPath(_0x2465b8){const _0x3689da=a111_0xcb89bd;return path['join'](_0x2465b8,this.#binaryName+_0x3689da(0x136));}#loadETag(_0x4947c4){const _0x7baa6d=a111_0xcb89bd,_0x806b72={};_0x806b72[_0x7baa6d(0x148)]=_0x7baa6d(0x119);const _0x2c47f8=_0x806b72,_0x3e873d=this.#getETagPath(_0x4947c4);if(this.#checkPath(_0x3e873d))try{return fs['readFileSync'](_0x3e873d,_0x2c47f8[_0x7baa6d(0x148)])[_0x7baa6d(0x10e)]();}catch(_0x39779d){logger[_0x7baa6d(0x10f)](_0x7baa6d(0x165)+_0x39779d);}return null;}#saveETag(_0x3a642a,_0x21b599){const _0x15255b=a111_0xcb89bd,_0x3da3f4={};_0x3da3f4[_0x15255b(0xe0)]='Saved\x20new\x20ETag\x20for\x20percy\x20binary';const _0x3447e4=_0x3da3f4;if(!_0x21b599)return;try{const _0x403a22=this.#getETagPath(_0x3a642a);fs[_0x15255b(0xdf)](_0x403a22,_0x21b599),logger[_0x15255b(0xe7)](_0x3447e4[_0x15255b(0xe0)]);}catch(_0x3aaeb2){logger[_0x15255b(0x10f)](_0x15255b(0xee)+_0x3aaeb2);}}async #handleBinaryDownload(_0x387c95,_0x22531f,_0x31fc6d){const _0x18f6b5=a111_0xcb89bd,_0x6bda41={};_0x6bda41[_0x18f6b5(0x15f)]=_0x18f6b5(0x160);const _0x525c25=_0x6bda41,_0x450fe7=await this['validateBinary'](_0x387c95[_0x18f6b5(0x10a)]);if(!_0x450fe7){logger[_0x18f6b5(0x11c)](_0x525c25[_0x18f6b5(0x15f)]);const _0x61aa8b=await this['download'](_0x22531f,_0x31fc6d);return _0x61aa8b[_0x18f6b5(0x10a)];}return _0x387c95[_0x18f6b5(0x10a)];}async[a111_0xcb89bd(0x15b)](_0x18f0d9){const _0x5659ab=a111_0xcb89bd,_0x1cbc9f={};_0x1cbc9f[_0x5659ab(0xeb)]=_0x5659ab(0x117),_0x1cbc9f[_0x5659ab(0x103)]=_0x5659ab(0x141);const _0xfd782=_0x1cbc9f,_0x26c2ba=this.#getAvailableDirs(),_0xd4cdf5=path[_0x5659ab(0xe2)](_0x26c2ba,this.#binaryName);if(this.#checkPath(_0xd4cdf5,fs[_0x5659ab(0x10b)])){const _0x243acb=this.#loadETag(_0x26c2ba);if(_0x243acb)try{const _0xb23a25=await this[_0x5659ab(0xe8)](_0x18f0d9,_0x26c2ba,_0x243acb);if(!_0xb23a25[_0x5659ab(0x11b)])return logger['debug'](_0xfd782[_0x5659ab(0xeb)]),_0xd4cdf5;return logger[_0x5659ab(0xe7)](_0xfd782['XoCAk']),await this.#handleBinaryDownload(_0xb23a25,_0x18f0d9,_0x26c2ba);}catch(_0x2c74e9){return logger[_0x5659ab(0x10f)](_0x5659ab(0x146)+_0x2c74e9),_0xd4cdf5;}}const _0x4098c1=await this['download'](_0x18f0d9,_0x26c2ba);return await this.#handleBinaryDownload(_0x4098c1,_0x18f0d9,_0x26c2ba);}[a111_0xcb89bd(0xe8)](_0x3c8e79,_0x5f532c,_0x1df00a=null){const _0x40f45d=a111_0xcb89bd,_0x2d9f6f={'AQZtP':function(_0x18a9be,_0x554c9b){return _0x18a9be(_0x554c9b);},'jfDCc':function(_0x565b93,_0x31a556){return _0x565b93===_0x31a556;},'jOmhj':_0x40f45d(0x11c),'alTnn':_0x40f45d(0x11d),'zdRYs':function(_0x577432,_0x2c54f2){return _0x577432(_0x2c54f2);},'IycKL':function(_0x2107ed,_0x402177){return _0x2107ed+_0x402177;},'RZWFN':_0x40f45d(0x138)};_0x5f532c&&!this.#checkPath(_0x5f532c)&&fs[_0x40f45d(0x131)](_0x5f532c);const _0x2b4d56=this.#binaryName,_0x1dc063=path[_0x40f45d(0xe2)](_0x5f532c,_0x2d9f6f[_0x40f45d(0xf4)](_0x2b4d56,_0x2d9f6f[_0x40f45d(0x14b)])),_0x8814c3=fs['createWriteStream'](_0x1dc063),_0x824c31=url[_0x40f45d(0x105)](this.#httpPath);if(_0x3c8e79['proxyHost']&&_0x3c8e79[_0x40f45d(0xe3)]){const _0x443cce={};_0x443cce[_0x40f45d(0x15c)]=_0x3c8e79[_0x40f45d(0xdc)],_0x443cce[_0x40f45d(0xf2)]=_0x3c8e79['proxyPort'],_0x824c31[_0x40f45d(0x120)]=new HttpsProxyAgent(_0x443cce);}if(_0x3c8e79[_0x40f45d(0x167)])try{_0x824c31['ca']=fs[_0x40f45d(0x107)](_0x3c8e79[_0x40f45d(0x167)]);}catch(_0x3f7f48){logger[_0x40f45d(0x11c)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x3f7f48);}if(_0x1df00a){const _0x54c991={};_0x54c991[_0x40f45d(0x144)]=_0x1df00a,_0x54c991[_0x40f45d(0x101)]=_0x2d9f6f[_0x40f45d(0xe4)],_0x824c31[_0x40f45d(0xea)]=_0x54c991;}else{const _0x2d7caf={};_0x2d7caf[_0x40f45d(0x101)]=_0x2d9f6f[_0x40f45d(0xe4)],_0x824c31[_0x40f45d(0xea)]=_0x2d7caf;}return new Promise((_0x190c32,_0x4f4448)=>{const _0x59af2e=_0x40f45d,_0x3f7698={'TTGbK':function(_0x249769,_0x3726b9){return _0x2d9f6f['AQZtP'](_0x249769,_0x3726b9);},'QQgcR':function(_0x4e0418,_0xfa0866){const _0x6cd5ef=a111_0x1afe;return _0x2d9f6f[_0x6cd5ef(0x154)](_0x4e0418,_0xfa0866);},'rgIBL':function(_0x33a75a,_0x14e147){return _0x2d9f6f['AQZtP'](_0x33a75a,_0x14e147);},'AZNSt':_0x2d9f6f[_0x59af2e(0x110)],'EUypm':_0x2d9f6f['alTnn'],'QwNcZ':function(_0x4c7d0f,_0xf5cd07){const _0x235d42=_0x59af2e;return _0x2d9f6f[_0x235d42(0x153)](_0x4c7d0f,_0xf5cd07);}};https[_0x59af2e(0x15e)](_0x824c31,_0x5dad5e=>{const _0x5b069f=_0x59af2e;if(_0x1df00a&&_0x3f7698[_0x5b069f(0x135)](_0x5dad5e['statusCode'],0x130)){_0x8814c3[_0x5b069f(0x151)]();const _0x38d8aa={};_0x38d8aa[_0x5b069f(0x11b)]=![],_0x3f7698[_0x5b069f(0x123)](_0x190c32,_0x38d8aa);return;}const _0xfec406=_0x5dad5e[_0x5b069f(0xea)][_0x5b069f(0x11a)];_0xfec406&&this.#saveETag(_0x5f532c,_0xfec406),_0x5dad5e[_0x5b069f(0x109)](_0x8814c3),_0x5dad5e['on'](_0x3f7698['AZNSt'],function(_0x27fb35){const _0x381a8e=_0x5b069f;logger['error'](_0x381a8e(0x161)+_0x27fb35),_0x3f7698[_0x381a8e(0x12a)](_0x4f4448,_0x27fb35);}),_0x8814c3['on'](_0x3f7698[_0x5b069f(0x169)],function(_0x71f2ad){const _0x53cf07=_0x5b069f;logger[_0x53cf07(0x11c)](_0x53cf07(0xf9)+_0x71f2ad),_0x3f7698[_0x53cf07(0x12a)](_0x4f4448,_0x71f2ad);}),_0x8814c3['on'](_0x3f7698['EUypm'],()=>{const _0x317dcd=_0x5b069f;this['extractAndSaveBinary'](_0x1dc063,_0x5f532c)[_0x317dcd(0x100)](_0x512022=>_0x190c32({'needsUpdate':!![],'binaryPath':_0x512022}))[_0x317dcd(0x155)](_0x4f4448);});})['on'](_0x2d9f6f[_0x59af2e(0x110)],function(_0x48f2af){const _0x12b505=_0x59af2e;logger[_0x12b505(0x11c)](_0x12b505(0x12c)+_0x48f2af),_0x3f7698[_0x12b505(0x14d)](_0x4f4448,_0x48f2af);});});}[a111_0xcb89bd(0xf1)](_0x2d673c,_0x4354c6){const _0x42fa74=a111_0xcb89bd,_0x17f17f={'breIz':function(_0x3ebf8c,_0x4e2540){return _0x3ebf8c(_0x4e2540);},'DbeSr':_0x42fa74(0xe1),'mesTl':'error','WhReW':_0x42fa74(0xff),'vtzgO':function(_0x4782b0,_0x143da0){return _0x4782b0(_0x143da0);},'Mlbtb':function(_0xea2c27,_0x523d54){return _0xea2c27===_0x523d54;},'VKrqW':function(_0x3d822c,_0x5f0223){return _0x3d822c(_0x5f0223);},'EHzPo':'0755'},_0x1f8c07=this.#binaryName,_0x244840=path[_0x42fa74(0xe2)](_0x4354c6,_0x1f8c07);return new Promise((_0x5028c1,_0x318fcc)=>{const _0x12cb83=_0x42fa74,_0x1d93b9={'eDHGy':function(_0x25bc51,_0x22eead){return _0x17f17f['vtzgO'](_0x25bc51,_0x22eead);},'wokRW':_0x17f17f['WhReW'],'Hffew':function(_0x33cb2b,_0x373643){const _0x35abbf=a111_0x1afe;return _0x17f17f[_0x35abbf(0x127)](_0x33cb2b,_0x373643);},'vaZfW':function(_0x341894,_0x3f5169){const _0x510964=a111_0x1afe;return _0x17f17f[_0x510964(0x10d)](_0x341894,_0x3f5169);},'aghHU':_0x17f17f[_0x12cb83(0x14a)]},_0x4b1996={};_0x4b1996[_0x12cb83(0xde)]=!![],yauzl['open'](_0x2d673c,_0x4b1996,function(_0x115296,_0x4ce9e1){const _0x41f480=_0x12cb83;_0x115296&&_0x17f17f['breIz'](_0x318fcc,_0x115296),_0x4ce9e1['readEntry'](),_0x4ce9e1['on'](_0x17f17f[_0x41f480(0x134)],_0x3d9e5e=>{const _0x5897ff=_0x41f480,_0x12ab4e={'ofQlQ':function(_0x1de275,_0x6bbad6){return _0x1d93b9['eDHGy'](_0x1de275,_0x6bbad6);},'ndYtb':_0x1d93b9[_0x5897ff(0x11e)]};if(/\/$/[_0x5897ff(0x111)](_0x3d9e5e[_0x5897ff(0xf6)]))_0x4ce9e1[_0x5897ff(0x166)]();else{const _0x131bc2=fs[_0x5897ff(0x121)](path[_0x5897ff(0xe2)](_0x4354c6,_0x3d9e5e[_0x5897ff(0xf6)]));_0x4ce9e1['openReadStream'](_0x3d9e5e,function(_0x5e636c,_0x356c80){const _0x3f3a52=_0x5897ff;_0x5e636c&&_0x12ab4e[_0x3f3a52(0x112)](_0x318fcc,_0x115296),_0x356c80['on'](_0x12ab4e['ndYtb'],function(){const _0x3461e4=_0x3f3a52;_0x131bc2[_0x3461e4(0x11d)](),_0x4ce9e1[_0x3461e4(0x166)]();}),_0x356c80[_0x3f3a52(0x109)](_0x131bc2);}),_0x1d93b9[_0x5897ff(0xfb)](_0x3d9e5e[_0x5897ff(0xf6)],_0x1f8c07)&&_0x4ce9e1[_0x5897ff(0x11d)]();}}),_0x4ce9e1['on'](_0x17f17f['mesTl'],_0x58e4e6=>{const _0x357c89=_0x41f480;_0x1d93b9[_0x357c89(0x113)](_0x318fcc,_0x58e4e6);}),_0x4ce9e1[_0x41f480(0x159)](_0x17f17f['WhReW'],()=>{const _0x58b8b5=_0x41f480,_0x5d9b0b={'MrsCz':function(_0x10f2d9,_0x467810){return _0x1d93b9['vaZfW'](_0x10f2d9,_0x467810);}};fs['chmod'](_0x244840,_0x1d93b9[_0x58b8b5(0x12b)],function(_0x1b4b3b){const _0x5ba450=_0x58b8b5;_0x1b4b3b&&_0x5d9b0b[_0x5ba450(0x143)](_0x318fcc,_0x1b4b3b),_0x5d9b0b[_0x5ba450(0x143)](_0x5028c1,_0x244840);}),_0x4ce9e1[_0x58b8b5(0x11d)]();});});});}async['validateBinary'](_0x4fd4fb){const _0x1fed6c=a111_0xcb89bd,_0x113ffc={'nBJJZ':function(_0x2cb414,_0x1a0734){return _0x2cb414(_0x1a0734);},'OBnQJ':function(_0x23eb5a,_0x12aa82,_0x27be58,_0xf67fde){return _0x23eb5a(_0x12aa82,_0x27be58,_0xf67fde);},'cANpF':_0x1fed6c(0xe5),'qxHQD':_0x1fed6c(0x13d),'tdAAx':_0x1fed6c(0x11d)},_0x316f90=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x3c66b6,_0x48c8f1)=>{const _0x402ea4=_0x1fed6c,_0x5e4b7b={};_0x5e4b7b['env']=process['env'];const _0x4c4f6f=_0x113ffc[_0x402ea4(0x145)](spawn,_0x4fd4fb,[_0x113ffc[_0x402ea4(0x102)]],_0x5e4b7b);_0x4c4f6f[_0x402ea4(0xed)]['on'](_0x113ffc['qxHQD'],_0x23f894=>{const _0x1fcb8d=_0x402ea4;_0x316f90[_0x1fcb8d(0x111)](_0x23f894)&&_0x113ffc[_0x1fcb8d(0xdb)](_0x3c66b6,!![]);}),_0x4c4f6f['on'](_0x113ffc[_0x402ea4(0x163)],()=>{const _0x4b5647=_0x402ea4;_0x113ffc[_0x4b5647(0xdb)](_0x3c66b6,![]);});});}#homedir(){const _0x147fe6=a111_0xcb89bd,_0x29a1e8={};_0x29a1e8['RLOaw']=function(_0x5815e2,_0x25eec3){return _0x5815e2===_0x25eec3;},_0x29a1e8[_0x147fe6(0x16b)]=_0x147fe6(0x12d),_0x29a1e8[_0x147fe6(0x130)]=_0x147fe6(0x16a),_0x29a1e8[_0x147fe6(0xef)]=function(_0x1dfe46,_0x3f1e03){return _0x1dfe46+_0x3f1e03;},_0x29a1e8[_0x147fe6(0x168)]=function(_0x2d9f23,_0x2e4b49){return _0x2d9f23===_0x2e4b49;},_0x29a1e8['RcBEC']=_0x147fe6(0x142),_0x29a1e8[_0x147fe6(0x122)]=_0x147fe6(0x140),_0x29a1e8[_0x147fe6(0x13e)]='linux',_0x29a1e8['feyPR']=function(_0x29f61e,_0x52717f){return _0x29f61e===_0x52717f;},_0x29a1e8[_0x147fe6(0x10c)]=_0x147fe6(0x12f),_0x29a1e8[_0x147fe6(0xfd)]=_0x147fe6(0xf7),_0x29a1e8[_0x147fe6(0xf5)]=function(_0x5537cd,_0xd66308){return _0x5537cd||_0xd66308;};const _0xbf2633=_0x29a1e8;if(_0xbf2633[_0x147fe6(0x152)](typeof os[_0x147fe6(0x14c)],_0xbf2633[_0x147fe6(0x16b)]))return os[_0x147fe6(0x14c)]();const _0x292cdf=process[_0x147fe6(0xf0)],_0x382948=_0x292cdf['HOME'],_0x531f5c=_0x292cdf['LOGNAME']||_0x292cdf[_0x147fe6(0x128)]||_0x292cdf[_0x147fe6(0xec)]||_0x292cdf[_0x147fe6(0x106)];if(_0xbf2633['RLOaw'](process['platform'],_0xbf2633[_0x147fe6(0x130)]))return _0x292cdf['USERPROFILE']||_0xbf2633[_0x147fe6(0xef)](_0x292cdf[_0x147fe6(0x150)],_0x292cdf[_0x147fe6(0x14e)])||_0x382948||null;if(_0xbf2633[_0x147fe6(0x168)](process[_0x147fe6(0x162)],_0xbf2633[_0x147fe6(0x124)]))return _0x382948||(_0x531f5c?_0xbf2633[_0x147fe6(0xef)](_0xbf2633['uFTrS'],_0x531f5c):null);if(_0xbf2633[_0x147fe6(0x168)](process[_0x147fe6(0x162)],_0xbf2633[_0x147fe6(0x13e)]))return _0x382948||(_0xbf2633['feyPR'](process['getuid'](),0x0)?_0xbf2633[_0x147fe6(0x10c)]:_0x531f5c?_0xbf2633['vzJZT'](_0xbf2633[_0x147fe6(0xfd)],_0x531f5c):null);return _0xbf2633[_0x147fe6(0xf5)](_0x382948,null);}}module[a111_0xcb89bd(0x116)]=PercyBinary;
@@ -1 +1 @@
1
- var a111_0x3b68f9=a111_0x5d00;function a111_0x273c(){var _0x10f6d8=['2357474UvmubB','increment','364104wBiehk','354314PacaiF','8HUhqDu','36lhskiB','get','200800vbIGzD','1745658NeNrch','880892YZQJDC','290660uUrTDr'];a111_0x273c=function(){return _0x10f6d8;};return a111_0x273c();}(function(_0x4aee33,_0x43a538){var _0x40a564=a111_0x5d00,_0x3ce5d5=_0x4aee33();while(!![]){try{var _0x493731=-parseInt(_0x40a564(0x14e))/0x1+parseInt(_0x40a564(0x14a))/0x2+-parseInt(_0x40a564(0x14d))/0x3+parseInt(_0x40a564(0x149))/0x4+parseInt(_0x40a564(0x147))/0x5*(-parseInt(_0x40a564(0x150))/0x6)+parseInt(_0x40a564(0x14b))/0x7+parseInt(_0x40a564(0x14f))/0x8*(parseInt(_0x40a564(0x148))/0x9);if(_0x493731===_0x43a538)break;else _0x3ce5d5['push'](_0x3ce5d5['shift']());}catch(_0x431a84){_0x3ce5d5['push'](_0x3ce5d5['shift']());}}}(a111_0x273c,0x2bdc7));class PercyCaptureMap{#map={};[a111_0x3b68f9(0x14c)](_0x5ed541,_0x548f01){!this.#map[_0x5ed541]&&(this.#map[_0x5ed541]={}),!this.#map[_0x5ed541][_0x548f01]&&(this.#map[_0x5ed541][_0x548f01]=0x0),this.#map[_0x5ed541][_0x548f01]++;}['getName'](_0x4055a4,_0x37e732){var _0xe602e0=a111_0x3b68f9;return _0x4055a4+'-'+_0x37e732+'-'+this[_0xe602e0(0x151)](_0x4055a4,_0x37e732);}[a111_0x3b68f9(0x151)](_0x4de8df,_0x1c400f){if(!this.#map[_0x4de8df])return 0x0;if(!this.#map[_0x4de8df][_0x1c400f])return 0x0;return this.#map[_0x4de8df][_0x1c400f];}}function a111_0x5d00(_0x35ef12,_0x9e0951){var _0x273cba=a111_0x273c();return a111_0x5d00=function(_0x5d00ac,_0x389e22){_0x5d00ac=_0x5d00ac-0x147;var _0x52a65e=_0x273cba[_0x5d00ac];return _0x52a65e;},a111_0x5d00(_0x35ef12,_0x9e0951);}module['exports']=PercyCaptureMap;
1
+ function a112_0x1807(){var _0x194491=['12SwQGSV','2007hqlIzP','3429531zvBQmR','2832aBuwdM','98620ablHvl','get','196051XpGDDH','10152054OMywuY','2wDPyNp','1291384CDjThn','1649799XQNfFN','getName','20ZlgLcV'];a112_0x1807=function(){return _0x194491;};return a112_0x1807();}var a112_0x2965c1=a112_0x243e;(function(_0x1225a0,_0x27ef0c){var _0x28a35e=a112_0x243e,_0x5af449=_0x1225a0();while(!![]){try{var _0x828c49=-parseInt(_0x28a35e(0x6f))/0x1*(parseInt(_0x28a35e(0x71))/0x2)+parseInt(_0x28a35e(0x6a))/0x3*(-parseInt(_0x28a35e(0x6c))/0x4)+parseInt(_0x28a35e(0x6d))/0x5*(-parseInt(_0x28a35e(0x69))/0x6)+-parseInt(_0x28a35e(0x6b))/0x7+parseInt(_0x28a35e(0x72))/0x8+parseInt(_0x28a35e(0x73))/0x9*(parseInt(_0x28a35e(0x75))/0xa)+parseInt(_0x28a35e(0x70))/0xb;if(_0x828c49===_0x27ef0c)break;else _0x5af449['push'](_0x5af449['shift']());}catch(_0x264f70){_0x5af449['push'](_0x5af449['shift']());}}}(a112_0x1807,0x3d7e3));class PercyCaptureMap{#map={};['increment'](_0x152ce0,_0x66c92d){!this.#map[_0x152ce0]&&(this.#map[_0x152ce0]={}),!this.#map[_0x152ce0][_0x66c92d]&&(this.#map[_0x152ce0][_0x66c92d]=0x0),this.#map[_0x152ce0][_0x66c92d]++;}[a112_0x2965c1(0x74)](_0x3b69e1,_0x976646){var _0x4bab38=a112_0x2965c1;return _0x3b69e1+'-'+_0x976646+'-'+this[_0x4bab38(0x6e)](_0x3b69e1,_0x976646);}[a112_0x2965c1(0x6e)](_0x1b5602,_0x4d3ea6){if(!this.#map[_0x1b5602])return 0x0;if(!this.#map[_0x1b5602][_0x4d3ea6])return 0x0;return this.#map[_0x1b5602][_0x4d3ea6];}}function a112_0x243e(_0x287e93,_0x23c5ea){var _0x180723=a112_0x1807();return a112_0x243e=function(_0x243e40,_0x33780c){_0x243e40=_0x243e40-0x69;var _0x27d487=_0x180723[_0x243e40];return _0x27d487;},a112_0x243e(_0x287e93,_0x23c5ea);}module['exports']=PercyCaptureMap;
@@ -1 +1 @@
1
- var a112_0x27f879=a112_0x38bd;function a112_0x2ab0(){var _0x300c0e=['1898892JtXaAQ','driver','element','exports','4067129IrQPiu','manual','249926IclBZN','12TLwrLB','click','503993izyZKM','auto','takeScreenshot','180wyCehs','652jNNJxG','8csHEDi','11380iKqJsm','31919yimkON','10JUgJCU','219kdAwMc'];a112_0x2ab0=function(){return _0x300c0e;};return a112_0x2ab0();}(function(_0xaacf4d,_0x1d6d1a){var _0x1590af=a112_0x38bd,_0x13131c=_0xaacf4d();while(!![]){try{var _0x3b4cdd=-parseInt(_0x1590af(0xff))/0x1+parseInt(_0x1590af(0x108))/0x2+-parseInt(_0x1590af(0x101))/0x3*(-parseInt(_0x1590af(0x10f))/0x4)+-parseInt(_0x1590af(0xfe))/0x5*(parseInt(_0x1590af(0x10e))/0x6)+parseInt(_0x1590af(0x10b))/0x7*(-parseInt(_0x1590af(0xfd))/0x8)+parseInt(_0x1590af(0x102))/0x9*(-parseInt(_0x1590af(0x100))/0xa)+parseInt(_0x1590af(0x106))/0xb*(parseInt(_0x1590af(0x109))/0xc);if(_0x3b4cdd===_0x1d6d1a)break;else _0x13131c['push'](_0x13131c['shift']());}catch(_0x2aabe3){_0x13131c['push'](_0x13131c['shift']());}}}(a112_0x2ab0,0x1e217));var a112_0x308d40={};a112_0x308d40[a112_0x27f879(0x103)]=[a112_0x27f879(0x10d)],a112_0x308d40[a112_0x27f879(0x104)]=[a112_0x27f879(0x10a),'sendKeys'];var a112_0x44bdc3={};a112_0x44bdc3['driver']=['takeScreenshot'];var a112_0x51eb16={};a112_0x51eb16[a112_0x27f879(0x104)]=[a112_0x27f879(0x10a)];function a112_0x38bd(_0x2a8f07,_0x295284){var _0x2ab0ae=a112_0x2ab0();return a112_0x38bd=function(_0x38bd58,_0x155cb6){_0x38bd58=_0x38bd58-0xfd;var _0x41a236=_0x2ab0ae[_0x38bd58];return _0x41a236;},a112_0x38bd(_0x2a8f07,_0x295284);}var a112_0x46c8d8={};a112_0x46c8d8[a112_0x27f879(0x10c)]=a112_0x308d40,a112_0x46c8d8['screenshot']=a112_0x44bdc3,a112_0x46c8d8[a112_0x27f879(0x10a)]=a112_0x51eb16,a112_0x46c8d8['testcase']={},a112_0x46c8d8[a112_0x27f879(0x107)]={},module[a112_0x27f879(0x105)]=a112_0x46c8d8;
1
+ var a113_0x5eaa3c=a113_0x1df1;(function(_0x5e06ce,_0x47476a){var _0x7e9225=a113_0x1df1,_0x4648f4=_0x5e06ce();while(!![]){try{var _0x83a0c3=parseInt(_0x7e9225(0x70))/0x1*(parseInt(_0x7e9225(0x74))/0x2)+parseInt(_0x7e9225(0x6e))/0x3+-parseInt(_0x7e9225(0x65))/0x4+parseInt(_0x7e9225(0x68))/0x5*(parseInt(_0x7e9225(0x67))/0x6)+-parseInt(_0x7e9225(0x73))/0x7+-parseInt(_0x7e9225(0x6d))/0x8+parseInt(_0x7e9225(0x69))/0x9*(-parseInt(_0x7e9225(0x6a))/0xa);if(_0x83a0c3===_0x47476a)break;else _0x4648f4['push'](_0x4648f4['shift']());}catch(_0x47ff48){_0x4648f4['push'](_0x4648f4['shift']());}}}(a113_0x5cc3,0xecfeb));function a113_0x1df1(_0x47e582,_0x16d7f0){var _0x5cc390=a113_0x5cc3();return a113_0x1df1=function(_0x1df13d,_0x1c8ed4){_0x1df13d=_0x1df13d-0x65;var _0x4e2dd5=_0x5cc390[_0x1df13d];return _0x4e2dd5;},a113_0x1df1(_0x47e582,_0x16d7f0);}var a113_0x368e3b={};a113_0x368e3b[a113_0x5eaa3c(0x72)]=[a113_0x5eaa3c(0x78)],a113_0x368e3b[a113_0x5eaa3c(0x77)]=[a113_0x5eaa3c(0x6b),a113_0x5eaa3c(0x76)];var a113_0x7457c0={};a113_0x7457c0[a113_0x5eaa3c(0x72)]=['takeScreenshot'];var a113_0x2213c0={};a113_0x2213c0['element']=[a113_0x5eaa3c(0x6b)];function a113_0x5cc3(){var _0x39de56=['testcase','driver','10148929zZrcuo','610ywYYJB','exports','sendKeys','element','takeScreenshot','1721212WQrELG','auto','1422372qxwuUJ','20jShzpx','387GKKrxs','201730FQvrJe','click','screenshot','1820784aZIXMo','3419745RuDoKY','manual','6091zmSAgi'];a113_0x5cc3=function(){return _0x39de56;};return a113_0x5cc3();}var a113_0x596a75={};a113_0x596a75[a113_0x5eaa3c(0x66)]=a113_0x368e3b,a113_0x596a75[a113_0x5eaa3c(0x6c)]=a113_0x7457c0,a113_0x596a75[a113_0x5eaa3c(0x6b)]=a113_0x2213c0,a113_0x596a75[a113_0x5eaa3c(0x71)]={},a113_0x596a75[a113_0x5eaa3c(0x6f)]={},module[a113_0x5eaa3c(0x75)]=a113_0x596a75;
@@ -1 +1 @@
1
- function a113_0x16e3(_0xb8b8f3,_0x14eaf1){const _0x5d0abb=a113_0x5d0a();return a113_0x16e3=function(_0x16e3b0,_0x1e2b48){_0x16e3b0=_0x16e3b0-0x105;let _0x2dc3b3=_0x5d0abb[_0x16e3b0];return _0x2dc3b3;},a113_0x16e3(_0xb8b8f3,_0x14eaf1);}const a113_0x3e57a8=a113_0x16e3;(function(_0x3a7b3f,_0x1ed297){const _0x1402a8=a113_0x16e3,_0x402c79=_0x3a7b3f();while(!![]){try{const _0x290783=parseInt(_0x1402a8(0x122))/0x1+-parseInt(_0x1402a8(0x119))/0x2*(parseInt(_0x1402a8(0x123))/0x3)+parseInt(_0x1402a8(0x114))/0x4*(-parseInt(_0x1402a8(0x10d))/0x5)+parseInt(_0x1402a8(0x115))/0x6+-parseInt(_0x1402a8(0x11e))/0x7+parseInt(_0x1402a8(0x124))/0x8*(-parseInt(_0x1402a8(0x126))/0x9)+parseInt(_0x1402a8(0x10f))/0xa;if(_0x290783===_0x1ed297)break;else _0x402c79['push'](_0x402c79['shift']());}catch(_0x157e76){_0x402c79['push'](_0x402c79['shift']());}}}(a113_0x5d0a,0x587ef));function a113_0x5d0a(){const _0x455cc0=['snapshot','508190ADtEPQ','1623945dizuUP','448slKSQZ','apply','6201jTMtbf','EEydh','SCREENSHOT_APP','winstonLogger','ShZXs','@percy/appium-app','wZrYo','length','temFW','../../helpers/testhub/utils','SNAPSHOT','5tzkeRZ','browserstackPlatformIndex','5797070IjBtrw','screenshotApp','platformIndex','name','aYoYO','9652IatWIm','2896806zpAmDs','measure','uuid','Unsupported\x20driver\x20for\x20percy','2SHSoNc','testCase','thTestCaseExecutionId','aYgIZ','@percy/selenium-webdriver','4381349vlTQCM','../performance/constants','SCREENSHOT'];a113_0x5d0a=function(){return _0x455cc0;};return a113_0x5d0a();}const tryRequire=function(_0x365f6e,_0x2292b2){const _0x5687b1=a113_0x16e3,_0x5d4d9d={'EEydh':function(_0xc74b85,_0x483313){return _0xc74b85(_0x483313);}};try{return _0x5d4d9d[_0x5687b1(0x127)](require,_0x365f6e);}catch{return _0x2292b2;}},percySnapshot=tryRequire(a113_0x3e57a8(0x11d),null),{percyScreenshot}=tryRequire(a113_0x3e57a8(0x11d),{}),percyAppScreenshot=require(a113_0x3e57a8(0x107)),{getCurrentTestData}=require(a113_0x3e57a8(0x10b)),PerformanceTester=require('../performance/performance-tester'),{PERCY_EVENTS:PerformanceEvents}=require(a113_0x3e57a8(0x11f)),logger=require('../logger')[a113_0x3e57a8(0x105)];percySnapshot&&(exports[a113_0x3e57a8(0x121)]=async function(){const _0x505df4=a113_0x3e57a8,_0x2bef9e={'FvbvT':function(_0x57a7d5,_0x2a26ed){return _0x57a7d5!==_0x2a26ed;},'NgpcI':function(_0x57572a,_0x2b54df){return _0x57572a>=_0x2b54df;},'temFW':function(_0x362743){return _0x362743();}};if(global[_0x505df4(0x10e)]&&_0x2bef9e['FvbvT'](global[_0x505df4(0x10e)],global['browserstackPercyBestPlatform']))return;const _0x5cadc0=_0x2bef9e['NgpcI'](arguments['length'],0x2)?arguments[0x1]:'',_0x1a7253=_0x2bef9e[_0x505df4(0x10a)](getCurrentTestData),_0xaf2611={};return _0xaf2611[_0x505df4(0x112)]=_0x5cadc0,_0xaf2611[_0x505df4(0x11a)]=_0x1a7253[_0x505df4(0x112)]||'',_0xaf2611[_0x505df4(0x11b)]=_0x1a7253[_0x505df4(0x117)]||'',_0xaf2611['platformIndex']=global[_0x505df4(0x10e)],await PerformanceTester[_0x505df4(0x116)](PerformanceEvents[_0x505df4(0x10c)],()=>percySnapshot[_0x505df4(0x125)](null,arguments),_0xaf2611);});percyScreenshot?exports['screenshot']=async function(){const _0x4d272f=a113_0x3e57a8,_0x1ce2ec={'RMFam':function(_0x490361,_0x101654){return _0x490361>=_0x101654;},'ShZXs':function(_0x46de19){return _0x46de19();}},_0x25e2d1=_0x1ce2ec['RMFam'](arguments[_0x4d272f(0x109)],0x2)?arguments[0x1]:'',_0x4e20a5=_0x1ce2ec[_0x4d272f(0x106)](getCurrentTestData),_0x4079c9={};return _0x4079c9[_0x4d272f(0x112)]=_0x25e2d1,_0x4079c9[_0x4d272f(0x11a)]=_0x4e20a5['name']||'',_0x4079c9['thTestCaseExecutionId']=_0x4e20a5[_0x4d272f(0x117)]||'',_0x4079c9[_0x4d272f(0x111)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x4d272f(0x120)],()=>percyScreenshot[_0x4d272f(0x125)](null,arguments),_0x4079c9);}:exports['screenshot']=()=>{const _0x75cf31=a113_0x3e57a8,_0x1ef8c8={};_0x1ef8c8[_0x75cf31(0x113)]=_0x75cf31(0x118);const _0x3f5a7e=_0x1ef8c8;logger['error'](_0x3f5a7e[_0x75cf31(0x113)]);};exports[a113_0x3e57a8(0x110)]=async function(){const _0x2a2817=a113_0x3e57a8,_0xcf75a={'aYgIZ':function(_0x3c8005,_0x971485){return _0x3c8005>=_0x971485;},'wZrYo':function(_0x2d6981){return _0x2d6981();}},_0x5d4af9=_0xcf75a[_0x2a2817(0x11c)](arguments[_0x2a2817(0x109)],0x2)?arguments[0x1]:'',_0x1c6207=_0xcf75a[_0x2a2817(0x108)](getCurrentTestData),_0x3322cc={};return _0x3322cc['name']=_0x5d4af9,_0x3322cc[_0x2a2817(0x11a)]=_0x1c6207[_0x2a2817(0x112)]||'',_0x3322cc[_0x2a2817(0x11b)]=_0x1c6207[_0x2a2817(0x117)]||'',_0x3322cc[_0x2a2817(0x111)]=global[_0x2a2817(0x10e)],await PerformanceTester[_0x2a2817(0x116)](PerformanceEvents[_0x2a2817(0x128)],()=>percyAppScreenshot[_0x2a2817(0x125)](null,arguments),_0x3322cc);};
1
+ const a114_0x5135e5=a114_0x31b0;function a114_0x31b0(_0x398609,_0x464e35){const _0x54ea57=a114_0x54ea();return a114_0x31b0=function(_0x31b02d,_0x247d1e){_0x31b02d=_0x31b02d-0x7d;let _0x120499=_0x54ea57[_0x31b02d];return _0x120499;},a114_0x31b0(_0x398609,_0x464e35);}function a114_0x54ea(){const _0x2b603f=['10894443BRSOTa','name','476253UjcjgK','uuid','snapshot','apply','Unsupported\x20driver\x20for\x20percy','ZMKfZ','winstonLogger','../../helpers/testhub/utils','browserstackPlatformIndex','2617122mAcdkT','length','RvwmJ','error','../performance/performance-tester','@percy/selenium-webdriver','measure','platformIndex','@percy/appium-app','../logger','458940RokwQw','SCREENSHOT_APP','thTestCaseExecutionId','testCase','8rdGzKX','VZcPd','wJDqK','DTUAr','screenshot','1690124lrDtyb','XIhYe','kvBab','screenshotApp','../performance/constants','1801011WymVuq','855138yzTaQU'];a114_0x54ea=function(){return _0x2b603f;};return a114_0x54ea();}(function(_0x402a47,_0x16a6b2){const _0x3c9549=a114_0x31b0,_0xf3679e=_0x402a47();while(!![]){try{const _0x15ffb7=-parseInt(_0x3c9549(0x9a))/0x1+-parseInt(_0x3c9549(0x97))/0x2+parseInt(_0x3c9549(0x96))/0x3+-parseInt(_0x3c9549(0x91))/0x4+-parseInt(_0x3c9549(0x88))/0x5+-parseInt(_0x3c9549(0x7e))/0x6+-parseInt(_0x3c9549(0x98))/0x7*(-parseInt(_0x3c9549(0x8c))/0x8);if(_0x15ffb7===_0x16a6b2)break;else _0xf3679e['push'](_0xf3679e['shift']());}catch(_0x2276f1){_0xf3679e['push'](_0xf3679e['shift']());}}}(a114_0x54ea,0x49d16));const tryRequire=function(_0x2bb2af,_0x4c5cac){const _0xb89242={'nKJYh':function(_0x76c7bf,_0x204d79){return _0x76c7bf(_0x204d79);}};try{return _0xb89242['nKJYh'](require,_0x2bb2af);}catch{return _0x4c5cac;}},percySnapshot=tryRequire(a114_0x5135e5(0x83),null),{percyScreenshot}=tryRequire(a114_0x5135e5(0x83),{}),percyAppScreenshot=require(a114_0x5135e5(0x86)),{getCurrentTestData}=require(a114_0x5135e5(0xa1)),PerformanceTester=require(a114_0x5135e5(0x82)),{PERCY_EVENTS:PerformanceEvents}=require(a114_0x5135e5(0x95)),logger=require(a114_0x5135e5(0x87))[a114_0x5135e5(0xa0)];percySnapshot&&(exports[a114_0x5135e5(0x9c)]=async function(){const _0x404721=a114_0x5135e5,_0x27a918={'VZcPd':function(_0x503ce0,_0x582431){return _0x503ce0!==_0x582431;},'wJDqK':function(_0x1d167f,_0x130612){return _0x1d167f>=_0x130612;},'tDIkL':function(_0x17b936){return _0x17b936();}};if(global[_0x404721(0x7d)]&&_0x27a918[_0x404721(0x8d)](global[_0x404721(0x7d)],global['browserstackPercyBestPlatform']))return;const _0x4c6f3a=_0x27a918[_0x404721(0x8e)](arguments[_0x404721(0x7f)],0x2)?arguments[0x1]:'',_0xa44447=_0x27a918['tDIkL'](getCurrentTestData),_0x253369={};return _0x253369['name']=_0x4c6f3a,_0x253369[_0x404721(0x8b)]=_0xa44447[_0x404721(0x99)]||'',_0x253369[_0x404721(0x8a)]=_0xa44447[_0x404721(0x9b)]||'',_0x253369[_0x404721(0x85)]=global[_0x404721(0x7d)],await PerformanceTester['measure'](PerformanceEvents['SNAPSHOT'],()=>percySnapshot[_0x404721(0x9d)](null,arguments),_0x253369);});percyScreenshot?exports[a114_0x5135e5(0x90)]=async function(){const _0x2cec47=a114_0x5135e5,_0x4ed5be={'DTUAr':function(_0x3276ed,_0x34ed8d){return _0x3276ed>=_0x34ed8d;},'ZMKfZ':function(_0x3eed32){return _0x3eed32();}},_0x1fa166=_0x4ed5be[_0x2cec47(0x8f)](arguments['length'],0x2)?arguments[0x1]:'',_0x2ed36c=_0x4ed5be[_0x2cec47(0x9f)](getCurrentTestData),_0x29869a={};return _0x29869a[_0x2cec47(0x99)]=_0x1fa166,_0x29869a[_0x2cec47(0x8b)]=_0x2ed36c[_0x2cec47(0x99)]||'',_0x29869a[_0x2cec47(0x8a)]=_0x2ed36c[_0x2cec47(0x9b)]||'',_0x29869a[_0x2cec47(0x85)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents['SCREENSHOT'],()=>percyScreenshot[_0x2cec47(0x9d)](null,arguments),_0x29869a);}:exports['screenshot']=()=>{const _0x23cad0=a114_0x5135e5,_0xa69b06={};_0xa69b06[_0x23cad0(0x80)]=_0x23cad0(0x9e);const _0x399a5b=_0xa69b06;logger[_0x23cad0(0x81)](_0x399a5b[_0x23cad0(0x80)]);};exports[a114_0x5135e5(0x94)]=async function(){const _0x5d790c=a114_0x5135e5,_0x5330c7={'XIhYe':function(_0x565acd,_0x211428){return _0x565acd>=_0x211428;},'kvBab':function(_0x246b7d){return _0x246b7d();}},_0x37b242=_0x5330c7[_0x5d790c(0x92)](arguments[_0x5d790c(0x7f)],0x2)?arguments[0x1]:'',_0x151799=_0x5330c7[_0x5d790c(0x93)](getCurrentTestData),_0x19a567={};return _0x19a567[_0x5d790c(0x99)]=_0x37b242,_0x19a567[_0x5d790c(0x8b)]=_0x151799[_0x5d790c(0x99)]||'',_0x19a567[_0x5d790c(0x8a)]=_0x151799[_0x5d790c(0x9b)]||'',_0x19a567[_0x5d790c(0x85)]=global[_0x5d790c(0x7d)],await PerformanceTester[_0x5d790c(0x84)](PerformanceEvents[_0x5d790c(0x89)],()=>percyAppScreenshot[_0x5d790c(0x9d)](null,arguments),_0x19a567);};
@@ -1 +1 @@
1
- function a114_0x546e(_0x3f180b,_0x585e65){var _0x31f496=a114_0x31f4();return a114_0x546e=function(_0x546ed0,_0xd4759b){_0x546ed0=_0x546ed0-0x95;var _0x464106=_0x31f496[_0x546ed0];return _0x464106;},a114_0x546e(_0x3f180b,_0x585e65);}var a114_0x5be3b4=a114_0x546e;function a114_0x31f4(){var _0xdd0d5=['513354rSbYmo','469stLtZP','181066rjGNJI','./Percy','6660910hfOrxP','35gSUBrD','2470780dcvkwB','240630owiMJC','33NRoixX','exports','4441833suRbMn','100712mJcVrt'];a114_0x31f4=function(){return _0xdd0d5;};return a114_0x31f4();}(function(_0x1d70fc,_0x2e05ea){var _0x3e19fc=a114_0x546e,_0x28ef4f=_0x1d70fc();while(!![]){try{var _0x57cfca=-parseInt(_0x3e19fc(0x95))/0x1+-parseInt(_0x3e19fc(0x9c))/0x2*(parseInt(_0x3e19fc(0x96))/0x3)+-parseInt(_0x3e19fc(0xa0))/0x4+-parseInt(_0x3e19fc(0x9f))/0x5*(-parseInt(_0x3e19fc(0x9a))/0x6)+-parseInt(_0x3e19fc(0x9b))/0x7*(-parseInt(_0x3e19fc(0x99))/0x8)+parseInt(_0x3e19fc(0x98))/0x9+parseInt(_0x3e19fc(0x9e))/0xa;if(_0x57cfca===_0x2e05ea)break;else _0x28ef4f['push'](_0x28ef4f['shift']());}catch(_0x36f8a8){_0x28ef4f['push'](_0x28ef4f['shift']());}}}(a114_0x31f4,0xb6928),module[a114_0x5be3b4(0x97)]=require(a114_0x5be3b4(0x9d)));
1
+ function a115_0x3bc5(){var _0x2a6b8d=['1712035azFZrv','281062GwcguM','exports','54410kJFByw','52707xbgzyb','6oxtRdi','./Percy','147XuLBIU','68iNFgmX','94576GGcAWt','6355716UFTcPc','99560roIPCM','11JPNzfD','216GPUXFO'];a115_0x3bc5=function(){return _0x2a6b8d;};return a115_0x3bc5();}var a115_0x1fd2cc=a115_0x3104;function a115_0x3104(_0x568326,_0x3cd2dd){var _0x3bc542=a115_0x3bc5();return a115_0x3104=function(_0x31041e,_0x58d5c0){_0x31041e=_0x31041e-0xce;var _0x211b58=_0x3bc542[_0x31041e];return _0x211b58;},a115_0x3104(_0x568326,_0x3cd2dd);}(function(_0x27ceea,_0x494a94){var _0x526e7a=a115_0x3104,_0x1bd033=_0x27ceea();while(!![]){try{var _0x363ed5=-parseInt(_0x526e7a(0xdb))/0x1+-parseInt(_0x526e7a(0xd1))/0x2+parseInt(_0x526e7a(0xd4))/0x3*(parseInt(_0x526e7a(0xd8))/0x4)+parseInt(_0x526e7a(0xd0))/0x5*(parseInt(_0x526e7a(0xd5))/0x6)+-parseInt(_0x526e7a(0xd7))/0x7*(-parseInt(_0x526e7a(0xd9))/0x8)+-parseInt(_0x526e7a(0xcf))/0x9*(-parseInt(_0x526e7a(0xd3))/0xa)+parseInt(_0x526e7a(0xce))/0xb*(-parseInt(_0x526e7a(0xda))/0xc);if(_0x363ed5===_0x494a94)break;else _0x1bd033['push'](_0x1bd033['shift']());}catch(_0x4fb256){_0x1bd033['push'](_0x1bd033['shift']());}}}(a115_0x3bc5,0x3d150),module[a115_0x1fd2cc(0xd2)]=require(a115_0x1fd2cc(0xd6)));
@@ -1 +1 @@
1
- const a115_0x4a426b=a115_0x3243;function a115_0x3243(_0x3c701a,_0x5e1725){const _0x593ac0=a115_0x593a();return a115_0x3243=function(_0x3243df,_0x1ea99e){_0x3243df=_0x3243df-0x1ce;let _0x16225e=_0x593ac0[_0x3243df];return _0x16225e;},a115_0x3243(_0x3c701a,_0x5e1725);}(function(_0x49ce85,_0x335e72){const _0x5b54f9=a115_0x3243,_0x553822=_0x49ce85();while(!![]){try{const _0x42974a=parseInt(_0x5b54f9(0x215))/0x1+-parseInt(_0x5b54f9(0x1f1))/0x2*(-parseInt(_0x5b54f9(0x1d1))/0x3)+parseInt(_0x5b54f9(0x1df))/0x4*(parseInt(_0x5b54f9(0x1d5))/0x5)+-parseInt(_0x5b54f9(0x219))/0x6*(parseInt(_0x5b54f9(0x1ed))/0x7)+parseInt(_0x5b54f9(0x205))/0x8*(-parseInt(_0x5b54f9(0x1e4))/0x9)+parseInt(_0x5b54f9(0x20f))/0xa+-parseInt(_0x5b54f9(0x1e6))/0xb*(parseInt(_0x5b54f9(0x1db))/0xc);if(_0x42974a===_0x335e72)break;else _0x553822['push'](_0x553822['shift']());}catch(_0x5a9f9b){_0x553822['push'](_0x553822['shift']());}}}(a115_0x593a,0x2019d));function a115_0x593a(){const _0x14ac58=['Error\x20patching\x20','zLNlr','14860KBHzQG','manual','browserstackPercyMap','increment','getPercyOptions','patch','36vUqoTk','Stopping\x20percy','overrideXforPercy','nestedKeyValue','44NJdCSr','then','patchDriverPercy','WvKCh','../logger','1911897TAaScf','\x20for\x20percy\x20','525877sUjuXh','wTlRG','prototype','browser','./PercyCaptureModes','reduce','browserName','174643VwUnWz','./PercySDK','apply','getBestPlatformForPercySnapshot','126642fPbpwv','AUTO_CAPTURE','forEach','init','screenshot','Btyeg','VoMMd','bjBxc','edge','percy','browserStackPercyOptions','getDriver','Starting\x20percy','isUndefined','driver','../helper','stop','startPercy','MTksX','measureWrapper','8jfOcMx','winstonLogger','percyAutoCapture','kjqMj','sbkGD','error','DVFKp','HITZA','toLowerCase','deviceName','1990380qMszjn','element','./Percy','percyCaptureMode','../performance/performance-tester','browserstackPercyBestPlatform','90595vLqbmF','screenshotApp','START','chrome','6vRGneu','HWRPT','safari','EtYzA','9PpttwZ','browserstackSessionName'];a115_0x593a=function(){return _0x14ac58;};return a115_0x593a();}const Percy=require(a115_0x4a426b(0x211)),PercySDK=require(a115_0x4a426b(0x1ee)),PercyCaptureModes=require(a115_0x4a426b(0x1ea)),PercyCaptureMap=require('./PercyCaptureMap'),logger=require(a115_0x4a426b(0x1e3))[a115_0x4a426b(0x206)],helper=require(a115_0x4a426b(0x200)),PerformanceTester=require(a115_0x4a426b(0x213)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');exports[a115_0x4a426b(0x202)]=PerformanceTester[a115_0x4a426b(0x204)](PerformanceEvents[a115_0x4a426b(0x217)],async _0x417701=>{const _0x522231=a115_0x4a426b,_0x15e53f={};_0x15e53f[_0x522231(0x1ce)]=_0x522231(0x1fd);const _0x7f6d46=_0x15e53f;logger['debug'](_0x7f6d46[_0x522231(0x1ce)]);const _0x4f5c35=new Percy(_0x417701),_0xc121b8=await _0x4f5c35['start']();if(_0xc121b8)return _0x4f5c35;return null;}),exports['stopPercy']=PerformanceTester['measureWrapper'](PerformanceEvents['STOP'],async _0x4218e9=>{const _0x3a9ce7=a115_0x4a426b,_0x3e3ddc={};_0x3e3ddc['zLNlr']=_0x3a9ce7(0x1dc);const _0x4dcb7b=_0x3e3ddc;return logger['debug'](_0x4dcb7b[_0x3a9ce7(0x1d4)]),_0x4218e9[_0x3a9ce7(0x201)]();}),exports[a115_0x4a426b(0x1f0)]=_0x5289d5=>{const _0x28a2be=a115_0x4a426b,_0x514648={};_0x514648['DVFKp']=function(_0xcc50dd,_0x32b9e5){return _0xcc50dd<_0x32b9e5;};const _0x1f74ec=_0x514648,_0x4b9785={};_0x4b9785[_0x28a2be(0x218)]=0x0,_0x4b9785['firefox']=0x1,_0x4b9785[_0x28a2be(0x1f9)]=0x2,_0x4b9785[_0x28a2be(0x1cf)]=0x3;const _0x41af20=_0x4b9785;return _0x5289d5[_0x28a2be(0x1eb)]((_0x768a6,_0x5d7c84,_0x4d79e8)=>{const _0x5b87ae=_0x28a2be,_0x2254c0=_0x5289d5[_0x768a6];if(_0x5d7c84[_0x5b87ae(0x20e)])return _0x768a6;if(_0x2254c0['deviceName'])return _0x4d79e8;const _0x2ebb83=_0x5d7c84[_0x5b87ae(0x1e9)]?_0x5d7c84[_0x5b87ae(0x1e9)]:_0x5d7c84[_0x5b87ae(0x1ec)];if(_0x2ebb83&&_0x1f74ec[_0x5b87ae(0x20b)](_0x41af20[_0x2ebb83[_0x5b87ae(0x20d)]()],_0x41af20[_0x2ebb83[_0x5b87ae(0x20d)]()]))return _0x4d79e8;return _0x768a6;},0x0);},exports[a115_0x4a426b(0x207)]=PerformanceTester['measureWrapper'](PerformanceEvents[a115_0x4a426b(0x1f2)],async(_0x57a0bf,_0x27acfd,_0x119181)=>{const _0x1eff6f=a115_0x4a426b,_0x5ea646={};_0x5ea646[_0x1eff6f(0x203)]='Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present';const _0x4b1c32=_0x5ea646,_0x44cd83=_0x57a0bf[_0x1eff6f(0x1d7)];if(helper[_0x1eff6f(0x1fe)](_0x57a0bf['browserstackSessionName'])){logger['debug'](_0x4b1c32['MTksX']);return;}const _0x4920d8=_0x44cd83['getName'](_0x57a0bf[_0x1eff6f(0x1d2)],_0x27acfd);_0x119181['app']?await PercySDK[_0x1eff6f(0x216)](_0x57a0bf,_0x4920d8):await PercySDK[_0x1eff6f(0x1f5)](_0x57a0bf,_0x4920d8),_0x44cd83[_0x1eff6f(0x1d8)](_0x57a0bf[_0x1eff6f(0x1d2)],_0x27acfd);}),exports[a115_0x4a426b(0x1e1)]=(_0x1ebdf8,_0x283e73,_0x52a818)=>{const _0x548cce=a115_0x4a426b,_0x240de6={};_0x240de6[_0x548cce(0x1e2)]=_0x548cce(0x1fb),_0x240de6['Btyeg']=_0x548cce(0x1fa),_0x240de6[_0x548cce(0x1f8)]=function(_0x40d409,_0x58beff){return _0x40d409!==_0x58beff;},_0x240de6[_0x548cce(0x1e7)]=_0x548cce(0x1d6);const _0x8a803c=_0x240de6;if(!helper[_0x548cce(0x1de)](_0x52a818,[_0x8a803c[_0x548cce(0x1e2)],_0x8a803c[_0x548cce(0x1f6)]]))return;if(_0x52a818[_0x548cce(0x1fb)][_0x548cce(0x1fa)]&&_0x52a818['browserStackPercyOptions'][_0x548cce(0x212)]&&_0x8a803c['bjBxc'](_0x52a818['browserStackPercyOptions'][_0x548cce(0x212)],_0x8a803c[_0x548cce(0x1e7)])&&!_0x1ebdf8[_0x548cce(0x1d7)]){global[_0x548cce(0x1d2)]&&(_0x1ebdf8[_0x548cce(0x1d2)]=global[_0x548cce(0x1d2)]),_0x1ebdf8['browserstackPercyMap']=new PercyCaptureMap();const _0x5d453d=PercyCaptureModes[_0x52a818[_0x548cce(0x1fb)]['percyCaptureMode']];_0x5d453d['driver']&&_0x5d453d[_0x548cce(0x1ff)]['forEach'](_0xc7ec84=>this['overrideXforPercy'](_0x1ebdf8,_0xc7ec84,_0x52a818)),_0x5d453d[_0x548cce(0x210)]&&_0x5d453d[_0x548cce(0x210)][_0x548cce(0x1f3)](_0x4b1726=>{const _0x2e1cd1=_0x548cce;if(_0x283e73['prototype'][_0x2e1cd1(0x1da)+_0x4b1726])return;_0x283e73['prototype'][_0x2e1cd1(0x1da)+_0x4b1726]=!![];const _0xe964c4=_0x283e73[_0x2e1cd1(0x1e8)][_0x4b1726];_0x283e73[_0x2e1cd1(0x1e8)][_0x4b1726]=async function(){const _0x1f5068=_0x2e1cd1;let _0x48e848=_0xe964c4[_0x1f5068(0x1ef)](this,arguments);_0x48e848&&_0x48e848[_0x1f5068(0x1e0)]&&(_0x48e848=await _0x48e848);try{const _0x3b6013=this[_0x1f5068(0x1fc)]();await exports[_0x1f5068(0x207)](_0x3b6013,_0x4b1726,_0x52a818);}catch(_0x4bd087){logger['error'](_0x1f5068(0x1d3)+_0x4b1726+'\x20for\x20percy\x20'+_0x4bd087);}return _0x48e848;};});}},exports[a115_0x4a426b(0x1dd)]=function(_0x64bc16,_0x10fef3,_0x1336a4){const _0x4e470c=a115_0x4a426b,_0x1665f9={};_0x1665f9[_0x4e470c(0x1d0)]=function(_0x363544,_0x5ed5d5){return _0x363544+_0x5ed5d5;},_0x1665f9[_0x4e470c(0x1f7)]=_0x4e470c(0x1da),_0x1665f9[_0x4e470c(0x208)]=function(_0x2fb8f0,_0x2f0c80){return _0x2fb8f0+_0x2f0c80;},_0x1665f9[_0x4e470c(0x209)]=_0x4e470c(0x1f4);const _0x1fa84e=_0x1665f9,_0x2dc2f5=_0x1fa84e[_0x4e470c(0x1d0)](_0x1fa84e['VoMMd'],_0x10fef3),_0x2eb771=_0x1fa84e[_0x4e470c(0x208)](_0x1fa84e[_0x4e470c(0x209)],_0x10fef3),_0x12624e=this;if(_0x64bc16[_0x2dc2f5]||!_0x64bc16[_0x10fef3])return;_0x64bc16[_0x2dc2f5]=!![],_0x64bc16[_0x2eb771]=_0x64bc16[_0x10fef3],_0x64bc16[_0x10fef3]=async()=>{const _0x538dfd=_0x4e470c;try{await _0x12624e[_0x538dfd(0x207)](_0x64bc16,_0x10fef3,_0x1336a4);}catch(_0x539876){logger[_0x538dfd(0x20a)]('Error\x20patching\x20'+_0x10fef3+_0x538dfd(0x1e5)+_0x539876);}return await _0x64bc16[_0x2eb771][_0x538dfd(0x1ef)](_0x64bc16,arguments);};},exports[a115_0x4a426b(0x1d9)]=_0x1bf6d8=>{const _0x654508=a115_0x4a426b,_0x44b6b8={};_0x44b6b8[_0x654508(0x20c)]='auto';const _0x4b9fb9=_0x44b6b8,_0xfef571={};_0xfef571[_0x654508(0x1fa)]=_0x1bf6d8['percy'],_0xfef571[_0x654508(0x212)]=_0x1bf6d8[_0x654508(0x212)]||_0x4b9fb9[_0x654508(0x20c)];const _0xc649db=_0xfef571;_0x1bf6d8[_0x654508(0x1fa)]&&(_0xc649db[_0x654508(0x214)]=exports['getBestPlatformForPercySnapshot'](_0x1bf6d8['platforms']));;return _0xc649db;};
1
+ const a116_0x5a492e=a116_0x5143;(function(_0x439ac1,_0x488d06){const _0x2abe1e=a116_0x5143,_0x425043=_0x439ac1();while(!![]){try{const _0xc578a7=-parseInt(_0x2abe1e(0x146))/0x1*(-parseInt(_0x2abe1e(0x161))/0x2)+-parseInt(_0x2abe1e(0x14f))/0x3+-parseInt(_0x2abe1e(0x12e))/0x4*(-parseInt(_0x2abe1e(0x12d))/0x5)+-parseInt(_0x2abe1e(0x167))/0x6*(parseInt(_0x2abe1e(0x130))/0x7)+parseInt(_0x2abe1e(0x12a))/0x8+-parseInt(_0x2abe1e(0x148))/0x9*(parseInt(_0x2abe1e(0x13b))/0xa)+-parseInt(_0x2abe1e(0x127))/0xb*(-parseInt(_0x2abe1e(0x156))/0xc);if(_0xc578a7===_0x488d06)break;else _0x425043['push'](_0x425043['shift']());}catch(_0x387e76){_0x425043['push'](_0x425043['shift']());}}}(a116_0x4223,0xedd15));const Percy=require(a116_0x5a492e(0x13f)),PercySDK=require(a116_0x5a492e(0x14b)),PercyCaptureModes=require(a116_0x5a492e(0x134)),PercyCaptureMap=require(a116_0x5a492e(0x168)),logger=require(a116_0x5a492e(0x135))[a116_0x5a492e(0x149)],helper=require(a116_0x5a492e(0x165)),PerformanceTester=require(a116_0x5a492e(0x155)),{PERCY_EVENTS:PerformanceEvents}=require('../performance/constants');function a116_0x5143(_0x4a122d,_0x3bfbf3){const _0x422359=a116_0x4223();return a116_0x5143=function(_0x514326,_0x19d42c){_0x514326=_0x514326-0x125;let _0x558e9b=_0x422359[_0x514326];return _0x558e9b;},a116_0x5143(_0x4a122d,_0x3bfbf3);}function a116_0x4223(){const _0x360301=['yPeYw','../performance/performance-tester','36336mYNWCE','edge','firefox','AUTO_CAPTURE','tDpyj','getPercyOptions','apply','nestedKeyValue','deviceName','chrome','patchDriverPercy','24670bmqNtF','ATKkO','Error\x20patching\x20','driver','../helper','browserstackPercyMap','5540382fzoPcp','./PercyCaptureMap','forEach','prototype','\x20for\x20percy\x20','percy','init','patch','XxTHj','getName','4763lvphjJ','percyAutoCapture','nsYDG','12223552WzZqDg','start','getBestPlatformForPercySnapshot','895EnDmAR','16228OPBvus','screenshotApp','7iaCpel','app','STOP','safari','./PercyCaptureModes','../logger','debug','browserstackPercyBestPlatform','ArtCv','browserName','error','1346820jBAJUc','browserstackSessionName','element','overrideXforPercy','./Percy','HaOZd','screenshot','measureWrapper','Stopping\x20percy','browser','BozOb','113pOIwRi','cojxP','117VyLNQp','winstonLogger','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','./PercySDK','ICxai','browserStackPercyOptions','percyCaptureMode','3932286LYpOXC','toLowerCase','vtSUr','START','platforms'];a116_0x4223=function(){return _0x360301;};return a116_0x4223();}exports['startPercy']=PerformanceTester[a116_0x5a492e(0x142)](PerformanceEvents[a116_0x5a492e(0x152)],async _0x16925a=>{const _0x118b63=a116_0x5a492e,_0x1d3d7f={};_0x1d3d7f[_0x118b63(0x140)]='Starting\x20percy';const _0x4b047f=_0x1d3d7f;logger[_0x118b63(0x136)](_0x4b047f[_0x118b63(0x140)]);const _0x8405fb=new Percy(_0x16925a),_0x211c81=await _0x8405fb[_0x118b63(0x12b)]();if(_0x211c81)return _0x8405fb;return null;}),exports['stopPercy']=PerformanceTester['measureWrapper'](PerformanceEvents[a116_0x5a492e(0x132)],async _0x2363e9=>{const _0x1e67d7=a116_0x5a492e,_0xe126={};_0xe126[_0x1e67d7(0x125)]=_0x1e67d7(0x143);const _0x2235c5=_0xe126;return logger[_0x1e67d7(0x136)](_0x2235c5[_0x1e67d7(0x125)]),_0x2363e9['stop']();}),exports[a116_0x5a492e(0x12c)]=_0x502cd5=>{const _0x6dd433=a116_0x5a492e,_0x34c06d={};_0x34c06d[_0x6dd433(0x145)]=function(_0x50f83e,_0x1b9ef3){return _0x50f83e<_0x1b9ef3;};const _0x537f5f=_0x34c06d,_0x26d58c={};_0x26d58c[_0x6dd433(0x15f)]=0x0,_0x26d58c[_0x6dd433(0x158)]=0x1,_0x26d58c[_0x6dd433(0x157)]=0x2,_0x26d58c[_0x6dd433(0x133)]=0x3;const _0x4cdb22=_0x26d58c;return _0x502cd5['reduce']((_0x45be87,_0x167594,_0x3a1893)=>{const _0x31d912=_0x6dd433,_0x29b4a8=_0x502cd5[_0x45be87];if(_0x167594['deviceName'])return _0x45be87;if(_0x29b4a8[_0x31d912(0x15e)])return _0x3a1893;const _0x2463c2=_0x167594['browser']?_0x167594[_0x31d912(0x144)]:_0x167594[_0x31d912(0x139)];if(_0x2463c2&&_0x537f5f[_0x31d912(0x145)](_0x4cdb22[_0x2463c2[_0x31d912(0x150)]()],_0x4cdb22[_0x2463c2[_0x31d912(0x150)]()]))return _0x3a1893;return _0x45be87;},0x0);},exports[a116_0x5a492e(0x128)]=PerformanceTester[a116_0x5a492e(0x142)](PerformanceEvents[a116_0x5a492e(0x159)],async(_0x172c4f,_0x4ed390,_0x461e7c)=>{const _0x184bea=a116_0x5a492e,_0x1d8822={};_0x1d8822['tDpyj']=_0x184bea(0x14a);const _0x26b7bf=_0x1d8822,_0x526b5f=_0x172c4f['browserstackPercyMap'];if(helper['isUndefined'](_0x172c4f[_0x184bea(0x13c)])){logger[_0x184bea(0x136)](_0x26b7bf[_0x184bea(0x15a)]);return;}const _0x988e46=_0x526b5f[_0x184bea(0x126)](_0x172c4f[_0x184bea(0x13c)],_0x4ed390);_0x461e7c[_0x184bea(0x131)]?await PercySDK[_0x184bea(0x12f)](_0x172c4f,_0x988e46):await PercySDK[_0x184bea(0x141)](_0x172c4f,_0x988e46),_0x526b5f['increment'](_0x172c4f[_0x184bea(0x13c)],_0x4ed390);}),exports[a116_0x5a492e(0x160)]=(_0x3a45fe,_0x1b22dc,_0xb099d4)=>{const _0x3fa7d7=a116_0x5a492e,_0x1f68a1={};_0x1f68a1[_0x3fa7d7(0x151)]='browserStackPercyOptions',_0x1f68a1[_0x3fa7d7(0x129)]=_0x3fa7d7(0x16c),_0x1f68a1[_0x3fa7d7(0x162)]=function(_0xde99fc,_0x487822){return _0xde99fc!==_0x487822;},_0x1f68a1[_0x3fa7d7(0x14c)]='manual';const _0x984832=_0x1f68a1;if(!helper[_0x3fa7d7(0x15d)](_0xb099d4,[_0x984832[_0x3fa7d7(0x151)],_0x984832[_0x3fa7d7(0x129)]]))return;if(_0xb099d4['browserStackPercyOptions'][_0x3fa7d7(0x16c)]&&_0xb099d4[_0x3fa7d7(0x14d)]['percyCaptureMode']&&_0x984832[_0x3fa7d7(0x162)](_0xb099d4[_0x3fa7d7(0x14d)][_0x3fa7d7(0x14e)],_0x984832[_0x3fa7d7(0x14c)])&&!_0x3a45fe[_0x3fa7d7(0x166)]){global[_0x3fa7d7(0x13c)]&&(_0x3a45fe[_0x3fa7d7(0x13c)]=global[_0x3fa7d7(0x13c)]),_0x3a45fe[_0x3fa7d7(0x166)]=new PercyCaptureMap();const _0x2467d9=PercyCaptureModes[_0xb099d4[_0x3fa7d7(0x14d)][_0x3fa7d7(0x14e)]];_0x2467d9[_0x3fa7d7(0x164)]&&_0x2467d9[_0x3fa7d7(0x164)]['forEach'](_0x2a3ae1=>this[_0x3fa7d7(0x13e)](_0x3a45fe,_0x2a3ae1,_0xb099d4)),_0x2467d9[_0x3fa7d7(0x13d)]&&_0x2467d9[_0x3fa7d7(0x13d)][_0x3fa7d7(0x169)](_0x1fd1b7=>{const _0x21897d=_0x3fa7d7;if(_0x1b22dc[_0x21897d(0x16a)]['patch'+_0x1fd1b7])return;_0x1b22dc['prototype'][_0x21897d(0x16e)+_0x1fd1b7]=!![];const _0x41829d=_0x1b22dc[_0x21897d(0x16a)][_0x1fd1b7];_0x1b22dc[_0x21897d(0x16a)][_0x1fd1b7]=async function(){const _0x425db4=_0x21897d;let _0x99e5e8=_0x41829d[_0x425db4(0x15c)](this,arguments);_0x99e5e8&&_0x99e5e8['then']&&(_0x99e5e8=await _0x99e5e8);try{const _0x403eb5=this['getDriver']();await exports[_0x425db4(0x128)](_0x403eb5,_0x1fd1b7,_0xb099d4);}catch(_0x2ab005){logger[_0x425db4(0x13a)](_0x425db4(0x163)+_0x1fd1b7+_0x425db4(0x16b)+_0x2ab005);}return _0x99e5e8;};});}},exports['overrideXforPercy']=function(_0xccf402,_0x49787c,_0x409c84){const _0x789b9e=a116_0x5a492e,_0x40fc3b={};_0x40fc3b['eOYyc']=function(_0x129a75,_0x2d6d2a){return _0x129a75+_0x2d6d2a;},_0x40fc3b[_0x789b9e(0x138)]='patch',_0x40fc3b['YVmOP']=function(_0x15975d,_0x57e9a6){return _0x15975d+_0x57e9a6;},_0x40fc3b[_0x789b9e(0x147)]=_0x789b9e(0x16d);const _0x5c08e3=_0x40fc3b,_0x288ff8=_0x5c08e3['eOYyc'](_0x5c08e3[_0x789b9e(0x138)],_0x49787c),_0x729237=_0x5c08e3['YVmOP'](_0x5c08e3['cojxP'],_0x49787c),_0x303630=this;if(_0xccf402[_0x288ff8]||!_0xccf402[_0x49787c])return;_0xccf402[_0x288ff8]=!![],_0xccf402[_0x729237]=_0xccf402[_0x49787c],_0xccf402[_0x49787c]=async()=>{const _0x6ef235=_0x789b9e;try{await _0x303630[_0x6ef235(0x128)](_0xccf402,_0x49787c,_0x409c84);}catch(_0x3ba947){logger[_0x6ef235(0x13a)](_0x6ef235(0x163)+_0x49787c+_0x6ef235(0x16b)+_0x3ba947);}return await _0xccf402[_0x729237][_0x6ef235(0x15c)](_0xccf402,arguments);};},exports[a116_0x5a492e(0x15b)]=_0x1c755e=>{const _0x5669ae=a116_0x5a492e,_0x175e7a={};_0x175e7a[_0x5669ae(0x154)]='auto';const _0x1c423c=_0x175e7a,_0x22a033={};_0x22a033[_0x5669ae(0x16c)]=_0x1c755e[_0x5669ae(0x16c)],_0x22a033[_0x5669ae(0x14e)]=_0x1c755e[_0x5669ae(0x14e)]||_0x1c423c[_0x5669ae(0x154)];const _0x13f3f0=_0x22a033;_0x1c755e['percy']&&(_0x13f3f0[_0x5669ae(0x137)]=exports[_0x5669ae(0x12c)](_0x1c755e[_0x5669ae(0x153)]));;return _0x13f3f0;};