browserstack-node-sdk 1.46.4 → 1.46.5

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 (185) 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 +8 -0
  41. package/generated/sdk-messages_pb.js +73 -1
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test.setup.js +1 -1
  69. package/src/bin/jest/test_before.setup.js +1 -1
  70. package/src/bin/launcher/launcher.js +1 -1
  71. package/src/bin/load/index.js +1 -1
  72. package/src/bin/load/loadUtils.js +1 -1
  73. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  74. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  75. package/src/bin/mocha/command.js +1 -1
  76. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  77. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  78. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  79. package/src/bin/mocha/test.setup.js +1 -1
  80. package/src/bin/nightwatch/command.js +1 -1
  81. package/src/bin/playwright/accessibility-helper.js +1 -1
  82. package/src/bin/playwright/command.js +1 -1
  83. package/src/bin/playwright/globalSetup.js +1 -1
  84. package/src/bin/playwright/mock-process.js +1 -1
  85. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  86. package/src/bin/playwright/patches.js +1 -1
  87. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  88. package/src/bin/playwright/reporter/reporter.js +1 -1
  89. package/src/bin/playwright/reporter/test-details.js +1 -1
  90. package/src/bin/playwright/sessionDetails.js +1 -1
  91. package/src/bin/runner.js +1 -1
  92. package/src/bin/setup.js +1 -1
  93. package/src/bin/test-runner/index.js +1 -1
  94. package/src/bin/test-runner/runTest.js +1 -1
  95. package/src/bin/test-runner/testWorker.js +1 -1
  96. package/src/bin/utils/apiUtilityMethods.js +1 -1
  97. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  98. package/src/bin/utils/constants.js +1 -1
  99. package/src/bin/utils/log4jsAppender.js +1 -1
  100. package/src/bin/utils/logPatcher.js +1 -1
  101. package/src/bin/utils/logReportingAPI.js +1 -1
  102. package/src/bin/utils/playwright-patcher.js +1 -1
  103. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  104. package/src/bin/utils/sharedUtils.js +1 -1
  105. package/src/bin/v2/TestInfo.js +1 -1
  106. package/src/bin/v2/browserstackCLI.js +1 -1
  107. package/src/bin/v2/cliUtils.js +1 -1
  108. package/src/bin/v2/customTagManager.js +1 -1
  109. package/src/bin/v2/eventDispatcher.js +1 -1
  110. package/src/bin/v2/framework/automationFramework.js +1 -1
  111. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  112. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  113. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  115. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  116. package/src/bin/v2/framework/testFramework.js +1 -1
  117. package/src/bin/v2/grpcClient.js +1 -1
  118. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  120. package/src/bin/v2/instances/trackedContext.js +1 -1
  121. package/src/bin/v2/instances/trackedInstance.js +1 -1
  122. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  123. package/src/bin/v2/modules/baseModule.js +1 -1
  124. package/src/bin/v2/modules/observabilityModule.js +1 -1
  125. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  126. package/src/bin/v2/modules/testhubModule.js +1 -1
  127. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  128. package/src/bin/v2/state/hookState.js +1 -1
  129. package/src/bin/v2/state/testFrameworkState.js +1 -1
  130. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  131. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  132. package/src/bin/vanilla-js/command.js +1 -1
  133. package/src/browserStackSdk.js +1 -1
  134. package/src/helpers/BrowserStackSetup.js +1 -1
  135. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  136. package/src/helpers/accessibility-automation/constants.js +1 -1
  137. package/src/helpers/accessibility-automation/helper.js +1 -1
  138. package/src/helpers/accessibility-automation/scripts.js +1 -1
  139. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  140. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  141. package/src/helpers/ats/constants.js +1 -1
  142. package/src/helpers/ats/helper.js +1 -1
  143. package/src/helpers/capsMapping.js +1 -1
  144. package/src/helpers/central-scanner/constants.js +1 -1
  145. package/src/helpers/central-scanner/helpers.js +1 -1
  146. package/src/helpers/classLogger.js +1 -1
  147. package/src/helpers/globals.js +1 -1
  148. package/src/helpers/helper.js +1 -1
  149. package/src/helpers/logger.js +1 -1
  150. package/src/helpers/metadata.js +1 -1
  151. package/src/helpers/patchHelper.js +1 -1
  152. package/src/helpers/patchHelpers.js +1 -1
  153. package/src/helpers/percy/Percy.js +1 -1
  154. package/src/helpers/percy/PercyBinary.js +1 -1
  155. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  156. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  157. package/src/helpers/percy/PercySDK.js +1 -1
  158. package/src/helpers/percy/index.js +1 -1
  159. package/src/helpers/percy/utils.js +1 -1
  160. package/src/helpers/performance/constants.js +1 -1
  161. package/src/helpers/performance/performance-tester.js +1 -1
  162. package/src/helpers/playwright-helper.js +1 -1
  163. package/src/helpers/processHelper.js +1 -1
  164. package/src/helpers/request-spy.js +1 -1
  165. package/src/helpers/setKeepAlive.js +1 -1
  166. package/src/helpers/test-observability/constants.js +1 -1
  167. package/src/helpers/test-observability/error-handler.js +1 -1
  168. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  169. package/src/helpers/test-observability/sessionHandler.js +1 -1
  170. package/src/helpers/test-observability/utils.js +1 -1
  171. package/src/helpers/test-orchestration/constants.js +1 -1
  172. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  173. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  174. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  175. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  176. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  177. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  178. package/src/helpers/testhub/constants.js +1 -1
  179. package/src/helpers/testhub/testhubHandler.js +1 -1
  180. package/src/helpers/testhub/utils.js +1 -1
  181. package/src/helpers/timeoutPromise.js +1 -1
  182. package/src/helpers/utilities.js +1 -1
  183. package/src/helpers/w3cMapping.js +1 -1
  184. package/src/hubAllocationMethods.js +1 -1
  185. package/src/index.js +1 -1
@@ -1 +1 @@
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
+ const a106_0x1808a0=a106_0x5779;function a106_0x3c48(){const _0x37d27f=['true','247566Vpdtip','path','983298ljSOZw','winstonLogger','EPIPE\x20error\x20occurred\x20in\x20loggerConsole:','winston','code','../bin/utils/constants','debugLoggerFile','log','automationLogger','CMlGW','amVPJ','3647335PyszhL','106200LEOljj','uncolorize','getLogDir','replace','console.info','warn','\x20-\x20','loggerConsole','NBwVX','QXEZW','combine','lFnNl','buildLinkTransport','File','config','timestamp','logDir','acMth','printf','split','silly','cKGGH','Console','env','http','initialize','transports','35XlLULd','BROWSERSTACK_AUTOMATION_LOGS','createLogger','YYYY-MM-DD\x20HH:mm:ss','name','164062FrqeFR','automationLoggerFile','uMDAK','join','gwFlo','17899240eHSYAV','/sdk-cli-debug.log','error','accessKey','add','fileLogger','message','automation.log','/usage.log','format','colorize','2765361wrkUJX','info','level','session','loggerFile'];a106_0x3c48=function(){return _0x37d27f;};return a106_0x3c48();}(function(_0x3ee937,_0x57c012){const _0x3bb585=a106_0x5779,_0x1737c0=_0x3ee937();while(!![]){try{const _0x5532f3=parseInt(_0x3bb585(0x18c))/0x1+parseInt(_0x3bb585(0x1ba))/0x2+parseInt(_0x3bb585(0x186))/0x3+-parseInt(_0x3bb585(0x19a))/0x4+parseInt(_0x3bb585(0x199))/0x5+-parseInt(_0x3bb585(0x18e))/0x6*(-parseInt(_0x3bb585(0x1b5))/0x7)+-parseInt(_0x3bb585(0x1bf))/0x8;if(_0x5532f3===_0x57c012)break;else _0x1737c0['push'](_0x1737c0['shift']());}catch(_0x18d077){_0x1737c0['push'](_0x1737c0['shift']());}}}(a106_0x3c48,0x82ef7));const winston=require(a106_0x1808a0(0x191)),path=require(a106_0x1808a0(0x18d)),fs=require('fs'),{LOG_FILE_NAME,DEBUG_LOG_FILE_NAME}=require(a106_0x1808a0(0x193)),tempLogDir=a106_0x1808a0(0x195),logFormat=winston[a106_0x1808a0(0x184)](_0x3f404c=>{const _0x337f9a=a106_0x1808a0,_0x1e0f7c={};_0x1e0f7c[_0x337f9a(0x1bc)]=function(_0x5ee4e0,_0x4c2c3b){return _0x5ee4e0!==_0x4c2c3b;},_0x1e0f7c['acMth']='string',_0x1e0f7c['QXEZW']=function(_0x120fc5,_0x150985){return _0x120fc5===_0x150985;},_0x1e0f7c['gwFlo']='[REDACTED]';const _0x904a55=_0x1e0f7c;return _0x904a55['uMDAK'](typeof _0x3f404c['message'],_0x904a55[_0x337f9a(0x1ab)])&&(_0x3f404c[_0x337f9a(0x1c5)]=JSON['stringify'](_0x3f404c[_0x337f9a(0x1c5)])),global[_0x337f9a(0x189)]?.['config']?.['userName']&&_0x904a55[_0x337f9a(0x1a3)](typeof _0x3f404c[_0x337f9a(0x1c5)],_0x904a55['acMth'])&&(_0x3f404c[_0x337f9a(0x1c5)]=_0x3f404c[_0x337f9a(0x1c5)]['replace'](new RegExp(global[_0x337f9a(0x189)]['config']['userName'],'g'),_0x904a55[_0x337f9a(0x1be)])),global[_0x337f9a(0x189)]?.['config']?.['accessKey']&&_0x904a55[_0x337f9a(0x1a3)](typeof _0x3f404c[_0x337f9a(0x1c5)],_0x904a55[_0x337f9a(0x1ab)])&&(_0x3f404c[_0x337f9a(0x1c5)]=_0x3f404c[_0x337f9a(0x1c5)][_0x337f9a(0x19d)](new RegExp(global[_0x337f9a(0x189)][_0x337f9a(0x1a8)][_0x337f9a(0x1c2)],'g'),_0x904a55[_0x337f9a(0x1be)])),_0x3f404c;}),fetchLogDir=()=>{const _0x2afd4d=a106_0x1808a0;if(process[_0x2afd4d(0x1b1)]['BROWSERSTACK_INTERNAL_LOG_DIR'])return process[_0x2afd4d(0x1b1)]['BROWSERSTACK_INTERNAL_LOG_DIR'];else!fs['existsSync'](tempLogDir)&&fs['mkdirSync'](tempLogDir);return tempLogDir;},logDir=fetchLogDir(),a106_0x1281a2={};a106_0x1281a2[a106_0x1808a0(0x1b9)]=a106_0x1808a0(0x19e);const transports={'loggerConsole':new winston[(a106_0x1808a0(0x1b4))]['Console'](a106_0x1281a2),'loggerFile':new winston[(a106_0x1808a0(0x1b4))][(a106_0x1808a0(0x1a7))]({'filename':path['join'](logDir,'/usage.log')}),'debugLoggerFile':new winston[(a106_0x1808a0(0x1b4))][(a106_0x1808a0(0x1a7))]({'filename':path[a106_0x1808a0(0x1bd)](logDir,'/usage-debug.log'),'level':'silly'}),'debugCliLoggerFile':new winston[(a106_0x1808a0(0x1b4))]['File']({'filename':path[a106_0x1808a0(0x1bd)](logDir,a106_0x1808a0(0x1c0)),'level':'silly'}),'buildLinkTransport':new winston[(a106_0x1808a0(0x1b4))]['File']({'filename':path[a106_0x1808a0(0x1bd)](logDir,a106_0x1808a0(0x1c7)),'level':a106_0x1808a0(0x1ae)})},automationTransports={};process['env'][a106_0x1808a0(0x1b6)]===a106_0x1808a0(0x18b)&&(automationTransports[a106_0x1808a0(0x1bb)]=new winston['transports']['File']({'filename':path['join'](logDir,a106_0x1808a0(0x1c6)),'level':'silly'}));transports[a106_0x1808a0(0x1a1)]['on']('error',_0x1664e0=>{const _0x46e5b4=a106_0x1808a0,_0x2c9d73={};_0x2c9d73[_0x46e5b4(0x1a5)]=function(_0x4963ef,_0x135f9b){return _0x4963ef===_0x135f9b;},_0x2c9d73['NBwVX']='EPIPE',_0x2c9d73[_0x46e5b4(0x198)]=_0x46e5b4(0x190);const _0x1bc18a=_0x2c9d73;if(_0x1bc18a[_0x46e5b4(0x1a5)](_0x1664e0[_0x46e5b4(0x192)],_0x1bc18a[_0x46e5b4(0x1a2)])){console[_0x46e5b4(0x195)](_0x1bc18a[_0x46e5b4(0x198)],_0x1664e0[_0x46e5b4(0x1c5)]);return;}throw _0x1664e0;});const a106_0x56888a={};a106_0x56888a['format']=a106_0x1808a0(0x1b8);const a106_0x40b439={};a106_0x40b439[a106_0x1808a0(0x188)]=!![];const winstonLoggerParams={'format':winston[a106_0x1808a0(0x184)]['combine'](winston[a106_0x1808a0(0x184)]['timestamp'](a106_0x56888a),winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x185)](a106_0x40b439),winston['format']['printf'](_0x59331a=>_0x59331a[a106_0x1808a0(0x1a9)]+a106_0x1808a0(0x1a0)+_0x59331a['level']+':\x20'+_0x59331a['message'])),'transports':[transports[a106_0x1808a0(0x1a1)]]},a106_0x39fa8b={};a106_0x39fa8b[a106_0x1808a0(0x184)]=a106_0x1808a0(0x1b8);const a106_0x3fed2b={};a106_0x3fed2b[a106_0x1808a0(0x188)]=!![];const winstonFileLoggerParams={'format':winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x1a4)](winston['format'][a106_0x1808a0(0x1a9)](a106_0x39fa8b),winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x185)](a106_0x3fed2b),winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x1ac)](_0x1ac19d=>_0x1ac19d['level']+':\x20'+_0x1ac19d[a106_0x1808a0(0x1c5)])),'transports':[]},a106_0x1e41ca={};a106_0x1e41ca[a106_0x1808a0(0x184)]=a106_0x1808a0(0x1b8);const a106_0x563301={};a106_0x563301['level']=!![];const a106_0x5d7bb6={};a106_0x5d7bb6[a106_0x1808a0(0x188)]=a106_0x1808a0(0x1ae);const BuildLoggerParams={'format':winston['format']['combine'](winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x1a9)](a106_0x1e41ca),winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x185)](a106_0x563301),winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x1ac)](_0x1b340a=>_0x1b340a[a106_0x1808a0(0x1a9)]+a106_0x1808a0(0x1a0)+_0x1b340a[a106_0x1808a0(0x188)]+':\x20'+_0x1b340a['message'])),'transports':[transports[a106_0x1808a0(0x1a6)],new winston[(a106_0x1808a0(0x1b4))][(a106_0x1808a0(0x1b0))](a106_0x5d7bb6)]},a106_0x39ad82={};function a106_0x5779(_0xce1050,_0x1da67e){const _0x3c48a1=a106_0x3c48();return a106_0x5779=function(_0x577937,_0x42bd4c){_0x577937=_0x577937-0x184;let _0xedaa8b=_0x3c48a1[_0x577937];return _0xedaa8b;},a106_0x5779(_0xce1050,_0x1da67e);}a106_0x39ad82[a106_0x1808a0(0x1b2)]=()=>{},a106_0x39ad82[a106_0x1808a0(0x187)]=()=>{},a106_0x39ad82[a106_0x1808a0(0x19f)]=()=>{},a106_0x39ad82[a106_0x1808a0(0x1c1)]=()=>{},a106_0x39ad82['debug']=()=>{},a106_0x39ad82[a106_0x1808a0(0x1ae)]=()=>{},exports[a106_0x1808a0(0x196)]=process['env'][a106_0x1808a0(0x1b6)]===a106_0x1808a0(0x18b)?winston['createLogger']({'format':winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x1a4)](winston['format'][a106_0x1808a0(0x19b)](),winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x1a9)](),logFormat(),winston[a106_0x1808a0(0x184)][a106_0x1808a0(0x1ac)](_0x1dc753=>_0x1dc753[a106_0x1808a0(0x188)]+':\x20'+_0x1dc753['message'])),'transports':[automationTransports[a106_0x1808a0(0x1bb)]]}):a106_0x39ad82;const initialize=()=>{const _0x2f3f44=a106_0x1808a0,_0x12799d={};_0x12799d[_0x2f3f44(0x1af)]='4|0|2|3|5|1',_0x12799d[_0x2f3f44(0x197)]=_0x2f3f44(0x1ae);const _0x57bc0e=_0x12799d,_0x568575=_0x57bc0e['cKGGH'][_0x2f3f44(0x1ad)]('|');let _0x2f4259=0x0;while(!![]){switch(_0x568575[_0x2f4259++]){case'0':transports[_0x2f3f44(0x194)]=new winston[(_0x2f3f44(0x1b4))][(_0x2f3f44(0x1a7))]({'filename':path['join'](exports[_0x2f3f44(0x1aa)],DEBUG_LOG_FILE_NAME),'level':_0x57bc0e['CMlGW']});continue;case'1':exports[_0x2f3f44(0x1c4)]['add'](transports[_0x2f3f44(0x194)]);continue;case'2':exports[_0x2f3f44(0x18f)][_0x2f3f44(0x1c3)](transports[_0x2f3f44(0x18a)]);continue;case'3':exports['winstonLogger'][_0x2f3f44(0x1c3)](transports[_0x2f3f44(0x194)]);continue;case'4':transports[_0x2f3f44(0x18a)]=new winston[(_0x2f3f44(0x1b4))][(_0x2f3f44(0x1a7))]({'filename':path[_0x2f3f44(0x1bd)](exports['logDir'],LOG_FILE_NAME)});continue;case'5':exports['fileLogger'][_0x2f3f44(0x1c3)](transports['loggerFile']);continue;}break;}};exports[a106_0x1808a0(0x18f)]=new winston['createLogger'](winstonLoggerParams),exports[a106_0x1808a0(0x1c4)]=new winston[(a106_0x1808a0(0x1b7))](winstonFileLoggerParams),exports['buildLogger']=new winston[(a106_0x1808a0(0x1b7))](BuildLoggerParams),exports[a106_0x1808a0(0x1aa)]=logDir,exports[a106_0x1808a0(0x19c)]=()=>{const _0x519572=a106_0x1808a0;return exports[_0x519572(0x1aa)];},exports['transports']=transports,exports[a106_0x1808a0(0x1b3)]=initialize;logDir&&initialize();
@@ -1 +1 @@
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
+ function a107_0x9aba(_0x269dcc,_0x455edd){const _0x256b04=a107_0x256b();return a107_0x9aba=function(_0x9aba7b,_0x4e7932){_0x9aba7b=_0x9aba7b-0x17a;let _0xa007aa=_0x256b04[_0x9aba7b];return _0xa007aa;},a107_0x9aba(_0x269dcc,_0x455edd);}const a107_0x583b01=a107_0x9aba;(function(_0xb44e1b,_0x3e7010){const _0x2dffae=a107_0x9aba,_0x232fb4=_0xb44e1b();while(!![]){try{const _0x37eb32=-parseInt(_0x2dffae(0x17d))/0x1+-parseInt(_0x2dffae(0x17e))/0x2*(-parseInt(_0x2dffae(0x199))/0x3)+parseInt(_0x2dffae(0x192))/0x4*(-parseInt(_0x2dffae(0x182))/0x5)+-parseInt(_0x2dffae(0x18c))/0x6*(parseInt(_0x2dffae(0x17a))/0x7)+-parseInt(_0x2dffae(0x196))/0x8+parseInt(_0x2dffae(0x18f))/0x9*(-parseInt(_0x2dffae(0x186))/0xa)+parseInt(_0x2dffae(0x191))/0xb*(parseInt(_0x2dffae(0x18e))/0xc);if(_0x37eb32===_0x3e7010)break;else _0x232fb4['push'](_0x232fb4['shift']());}catch(_0x20da67){_0x232fb4['push'](_0x232fb4['shift']());}}}(a107_0x256b,0x470f5));function a107_0x256b(){const _0x12e75a=['33564NaldOi','174897ayFmNp','getCentralUser','8657fHXGzQ','743228JlYkbM','./helper','setGlobal','htFHD','1730888AkAbnd','WfOgv','exports','3CTQszq','cydPA','testMeta-','./globals','NBvnD','21AmDgqI','testRunUUID','testMeta','478728oNnYHT','80394McijKl','zbkzJ','GJnqE','warn','15YBJbng','length','set','Hvdsl','280IZlbAw','The\x20metadata\x20object\x20is\x20not\x20valid.','getGlobal','lcnc','get','string','307482quyvDa','winstonLogger'];a107_0x256b=function(){return _0x12e75a;};return a107_0x256b();}const globals=require(a107_0x583b01(0x19c)),helper=require(a107_0x583b01(0x193)),logger=require('./logger')[a107_0x583b01(0x18d)];module[a107_0x583b01(0x198)]=class TestMetadata{static[a107_0x583b01(0x184)](_0x40e0f8={}){const _0x5c2ed5=a107_0x583b01,_0x2706cf={};_0x2706cf['GJnqE']=_0x5c2ed5(0x17b),_0x2706cf[_0x5c2ed5(0x195)]=function(_0x5c33c4,_0x1410cc){return _0x5c33c4===_0x1410cc;},_0x2706cf[_0x5c2ed5(0x17f)]=_0x5c2ed5(0x18b),_0x2706cf[_0x5c2ed5(0x185)]=function(_0x2674a2,_0x79d8ba){return _0x2674a2<=_0x79d8ba;},_0x2706cf[_0x5c2ed5(0x19a)]=_0x5c2ed5(0x17c),_0x2706cf[_0x5c2ed5(0x19d)]=_0x5c2ed5(0x187);const _0xbffb4a=_0x2706cf,_0x46ff0a=globals['getGlobal'](_0xbffb4a[_0x5c2ed5(0x180)]),_0x5b9f02=_0x40e0f8['identifier'];helper[_0x5c2ed5(0x190)]()['lcnc']&&(_0xbffb4a[_0x5c2ed5(0x195)](typeof _0x5b9f02,_0xbffb4a[_0x5c2ed5(0x17f)])&&_0xbffb4a['Hvdsl'](_0x5b9f02[_0x5c2ed5(0x183)],0x28)?_0x46ff0a?globals['setGlobal'](_0x5c2ed5(0x19b)+_0x46ff0a,_0x40e0f8):globals[_0x5c2ed5(0x194)](_0xbffb4a[_0x5c2ed5(0x19a)],_0x40e0f8):logger[_0x5c2ed5(0x181)](_0xbffb4a['NBvnD']));}static[a107_0x583b01(0x18a)](_0x2e5f07){const _0x539412=a107_0x583b01,_0x30bf9d={};_0x30bf9d[_0x539412(0x197)]=_0x539412(0x17c);const _0x211132=_0x30bf9d;if(helper['getCentralUser']()[_0x539412(0x189)])return globals['getGlobal'](_0x539412(0x19b)+_0x2e5f07)||globals[_0x539412(0x188)](_0x211132['WfOgv'])||{};return{};}};
@@ -1 +1 @@
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
+ function a108_0x2e6d(_0x527059,_0x383a97){const _0x34d10a=a108_0x34d1();return a108_0x2e6d=function(_0x2e6d23,_0x2d95c7){_0x2e6d23=_0x2e6d23-0x79;let _0x15eb99=_0x34d10a[_0x2e6d23];return _0x15eb99;},a108_0x2e6d(_0x527059,_0x383a97);}const a108_0xecaa55=a108_0x2e6d;function a108_0x34d1(){const _0x3e7c83=['luMvr','bstack:options','yplmQ','PRE_EXECUTE','Successfully\x20healed\x20command\x20using\x20new\x20cssPath:\x20','dMvks','VURxw','patchExecute','4619406kkPHbz','RvLFK','Caught\x20error\x20in\x20execute,\x20check\x20if\x20geturl\x20and\x20try\x20to\x20set\x20local\x20nudge','aiHeal_isHealingEnabled','aiHeal_isAuthenticated','findElement\x20command\x20failed\x20with\x20','using','HzQZg','eCtkZ','getId','isSelfHealEnabled','find','body','TPbUM','toString','Healing\x20failed\x20for\x20command\x20using\x20','aNKSj','./ai-sdk/autoHealHelper','command','OccZM','util','1218072xytDRA','capability','execute','./performance/performance-tester','Moaea','QydXg','JCbmx','vFDPF','453304TmEJDw','silly','setTcgToken','RQVYg','message','fLqrd','getSession','2339272LVEFJC','bTPGj','script','./performance/constants','szltg','POST_EXECUTE','kygIA','791776GdUrQf','bboup','rgxPa','parameters','7CTjfsH','includes','Successfully\x20healed\x20command\x20using\x20new\x20','ufJuD','NoSuchElementError','QsFHi','wOaTo','value','10NqOXnz','WFqEm','xGQet','isBrowserstackInfra',';\x20Trying\x20to\x20heal','../bin/utils/constants','wqmmF','string','./helper','oipVi','info','Swgxo','format','./ai-sdk/aiSdkWrapper','./globals','aiHeal:findElementFailure','1331271rHtBNL','134508fwVfnL','get','getGlobal','nestedKeyValue','url','css\x20selector','handleFailure','][\x20SDK-AUTOMATION\x20]\x20','findElement\x20command\x20failed\x20with\x20cssPath:\x20','aiHeal:setToken','QjsrJ','uLbCR','uMbkI','wgAEE','UaScy','egeri','Error\x20in\x20local\x20nudge\x20for\x20overrideExecute:\x20','getTcgTokenStatus','debug','NUDGE_LOCAL_ERRORS','AUTOMATION_LOG_COMMANDS','response','skipHealingSuccess','executeScript','executeAsyncScript','CsDWh','name_','./logger','name','handleSuccess','error','measureWrapper','POWdj','initExecute','args','parameters_','setTcgTokenStatus','browserstack.local','overrideExecute','Error\x20in\x20handling\x20TCG\x20Auth:\x20'];a108_0x34d1=function(){return _0x3e7c83;};return a108_0x34d1();}(function(_0x14b255,_0x36f501){const _0x314b60=a108_0x2e6d,_0x28205c=_0x14b255();while(!![]){try{const _0x18693b=parseInt(_0x314b60(0x82))/0x1+parseInt(_0x314b60(0x91))/0x2+-parseInt(_0x314b60(0xe5))/0x3+parseInt(_0x314b60(0x98))/0x4+parseInt(_0x314b60(0xa4))/0x5*(-parseInt(_0x314b60(0xb5))/0x6)+-parseInt(_0x314b60(0x9c))/0x7*(-parseInt(_0x314b60(0x8a))/0x8)+-parseInt(_0x314b60(0xb4))/0x9;if(_0x18693b===_0x36f501)break;else _0x28205c['push'](_0x28205c['shift']());}catch(_0x43942e){_0x28205c['push'](_0x28205c['shift']());}}}(a108_0x34d1,0xde1be));const {aiSdkWrapper}=require(a108_0xecaa55(0xb1)),{commandRepository}=require(a108_0xecaa55(0x7e)),PerformanceTester=require(a108_0xecaa55(0x85)),globals=require(a108_0xecaa55(0xb2)),{winstonLogger:logger,automationLogger}=require(a108_0xecaa55(0xd0)),helper=require(a108_0xecaa55(0xac)),constants=require(a108_0xecaa55(0xa9)),{DRIVER_EVENT:PerformanceDriverEvents}=require(a108_0xecaa55(0x94)),util=require(a108_0xecaa55(0x81));exports[a108_0xecaa55(0xdb)]=(_0x25ad04,_0x2120e6)=>{const _0x14345f=a108_0xecaa55,_0x165fcb={'luMvr':_0x14345f(0xe9),'RvLFK':_0x14345f(0xbe),'XoGoB':function(_0x383f98){return _0x383f98();},'BaKdH':_0x14345f(0xe7),'oipVi':function(_0x20365e,_0x4d9f4d){return _0x20365e===_0x4d9f4d;},'HrmvS':_0x14345f(0xa0),'YXuLK':'JavascriptError','bTPGj':'findElement','kygIA':_0x14345f(0xe8),'HzQZg':function(_0x4b2a19,_0x561b45){return _0x4b2a19===_0x561b45;},'rgxPa':_0x14345f(0xba),'szltg':function(_0x5a4737,_0xd2d0c5){return _0x5a4737+_0xd2d0c5;},'eCtkZ':function(_0x57c558,_0x47f756){return _0x57c558+_0x47f756;},'bboup':_0x14345f(0xbd),'uMbkI':_0x14345f(0xa8),'egeri':function(_0x48fd74,_0x2c4cd8){return _0x48fd74+_0x2c4cd8;},'uLbCR':_0x14345f(0xea),'POWdj':_0x14345f(0xb3),'VkWlI':function(_0x2be2bf,_0x45a326){return _0x2be2bf&&_0x45a326;},'OccZM':_0x14345f(0xe1),'DrLbX':function(_0x21bcdf,_0x3f7f92){return _0x21bcdf+_0x3f7f92;},'JCbmx':function(_0x183e8d,_0x499d88){return _0x183e8d+_0x499d88;},'RQVYg':function(_0x59867b,_0x49cf97){return _0x59867b+_0x49cf97;},'QjsrJ':_0x14345f(0x9e),'GiDnm':function(_0x4818d5,_0x5831d2){return _0x4818d5+_0x5831d2;},'wOaTo':'Healing\x20failed\x20for\x20command\x20using\x20cssPath:\x20','wqmmF':_0x14345f(0x7c),'UaScy':_0x14345f(0xb6),'fLqrd':_0x14345f(0xd8),'ufJuD':'url','QsFHi':_0x14345f(0xc5),'Xucxx':'aiSdk_defaultLogDataEnabled','CsDWh':function(_0x1369f2,_0x5157bc){return _0x1369f2===_0x5157bc;},'SIPbW':'aiHeal:findElementSuccess','vFDPF':function(_0x32947a){return _0x32947a();},'yplmQ':function(_0x637436,_0x22f217){return _0x637436===_0x22f217;},'xGQet':_0x14345f(0xcd),'WFqEm':_0x14345f(0xcc),'TPbUM':_0x14345f(0xab),'Swgxo':_0x14345f(0x83),'aNKSj':_0x14345f(0xda),'Moaea':_0x14345f(0xde),'hXmcN':'local'},_0x7131be=_0x25ad04[_0x14345f(0xe4)]||(helper[_0x14345f(0xb8)](_0x2120e6,[_0x165fcb[_0x14345f(0xaf)],_0x165fcb[_0x14345f(0x7d)]])||helper[_0x14345f(0xb8)](_0x2120e6,[_0x165fcb[_0x14345f(0xaf)],_0x165fcb[_0x14345f(0x86)],_0x165fcb['hXmcN']]));if(!globals[_0x14345f(0xb7)](_0x165fcb[_0x14345f(0xdd)])&&!globals[_0x14345f(0xb7)](_0x165fcb[_0x14345f(0x97)])&&_0x7131be)return;_0x25ad04[_0x14345f(0xe4)]=!![],_0x25ad04[_0x14345f(0xd6)]=_0x25ad04[_0x14345f(0x84)],_0x25ad04[_0x14345f(0x84)]=async _0x3ab49a=>{const _0x5bc06f=_0x14345f,_0x5d9ff4={'dMvks':_0x165fcb['luMvr'],'QydXg':_0x165fcb['Xucxx'],'VURxw':function(_0x2b5bb6,_0x53a891){const _0x59685c=a108_0x2e6d;return _0x165fcb[_0x59685c(0xce)](_0x2b5bb6,_0x53a891);},'wgAEE':_0x165fcb[_0x5bc06f(0x92)],'vjbXr':_0x165fcb[_0x5bc06f(0x97)],'xNlbw':_0x165fcb['SIPbW'],'BgINc':function(_0x31ce4b){const _0x15ecf7=_0x5bc06f;return _0x165fcb[_0x15ecf7(0x89)](_0x31ce4b);}};try{const _0x34d09f={};_0x34d09f[_0x5bc06f(0x7f)]=_0x3ab49a[_0x5bc06f(0xcf)],await PerformanceTester['measureWrapper'](PerformanceDriverEvents[_0x5bc06f(0xe0)],async()=>{const _0x4f11a9=_0x5bc06f;if(!commandRepository[_0x4f11a9(0xc6)]()&&globals[_0x4f11a9(0xb7)](_0x165fcb['luMvr'])){const _0x4b29dc=PerformanceTester['measureWrapper'](_0x165fcb[_0x4f11a9(0xe6)],async()=>{const _0x40c799=_0x4f11a9;try{commandRepository[_0x40c799(0xd9)](!![]),await aiSdkWrapper[_0x40c799(0x8c)]((await _0x25ad04[_0x40c799(0x90)]())[_0x40c799(0xee)]());const _0x53d066=globals[_0x40c799(0xb7)](_0x5d9ff4[_0x40c799(0xe2)]);_0x53d066&&commandRepository['setAiSessionTimeStamp']((await _0x25ad04['getSession']())[_0x40c799(0xee)]());}catch(_0x99864f){logger[_0x40c799(0xd3)](_0x40c799(0xdc)+_0x99864f);}});await _0x165fcb['XoGoB'](_0x4b29dc);}},_0x34d09f)();const _0x2534ab=await _0x25ad04[_0x5bc06f(0xd6)](_0x3ab49a);try{if(_0x165fcb[_0x5bc06f(0xdf)](_0x3ab49a[_0x5bc06f(0xcf)],_0x165fcb[_0x5bc06f(0xa6)])||_0x165fcb[_0x5bc06f(0xdf)](_0x3ab49a['name_'],_0x165fcb[_0x5bc06f(0xa5)])){const _0x2be4b0=_0x3ab49a[_0x5bc06f(0xd8)]&&_0x3ab49a[_0x5bc06f(0xd8)][_0x5bc06f(0x93)],_0x26e9e9=_0x3ab49a['parameters_']&&_0x3ab49a[_0x5bc06f(0xd8)][_0x5bc06f(0xd7)],_0x9a61e0=_0x26e9e9&&util[_0x5bc06f(0xb0)]('%j',_0x26e9e9);if(_0x2be4b0&&_0x165fcb['oipVi'](typeof _0x2be4b0,_0x165fcb[_0x5bc06f(0x7a)])){const _0x3a843a=constants[_0x5bc06f(0xc9)][_0x5bc06f(0xf0)](_0x4ea3b2=>_0x2be4b0['includes'](_0x4ea3b2)||_0x9a61e0&&_0x9a61e0[_0x5bc06f(0x9d)](_0x4ea3b2));if(_0x3a843a){const _0x4b2656={};_0x4b2656['command']=_0x3a843a,_0x4b2656[_0x5bc06f(0x9b)]=_0x26e9e9;const _0x3f2722={};_0x3f2722[_0x5bc06f(0x79)]=_0x2534ab;const _0x40e6a1={};_0x40e6a1['request']=_0x4b2656,_0x40e6a1[_0x5bc06f(0xca)]=_0x3f2722,automationLogger[_0x5bc06f(0x8b)]('['+new Date()['toISOString']()+_0x5bc06f(0xbc)+util['format']('%j',_0x40e6a1));}}}}catch(_0x1bf420){logger[_0x5bc06f(0x8b)]('Error\x20while\x20logging\x20accessibility\x20automation\x20logs\x20in\x20driver.execute\x20:\x20'+_0x1bf420[_0x5bc06f(0x8e)]);}return await PerformanceTester[_0x5bc06f(0xd4)](PerformanceDriverEvents[_0x5bc06f(0x96)],async()=>{const _0xff80fc=_0x5bc06f;if(!helper[_0xff80fc(0xa7)]()&&(commandRepository[_0xff80fc(0xef)]()||globals['getGlobal'](_0x5d9ff4[_0xff80fc(0x87)]))&&_0x5d9ff4[_0xff80fc(0xe3)](_0x3ab49a[_0xff80fc(0xcf)],_0x5d9ff4[_0xff80fc(0xc2)])&&!_0x3ab49a[_0xff80fc(0xcb)]&&globals[_0xff80fc(0xb7)](_0x5d9ff4[_0xff80fc(0xe2)])&&globals['getGlobal'](_0x5d9ff4['vjbXr'])){const _0x2b15d9=new Date(),_0x3340ae=PerformanceTester[_0xff80fc(0xd4)](_0x5d9ff4['xNlbw'],async()=>{const _0x443956=_0xff80fc;return await aiSdkWrapper[_0x443956(0xd2)](_0x2120e6,_0x25ad04,_0x3ab49a);});await _0x5d9ff4['BgINc'](_0x3340ae);}},{'command':_0x3ab49a['name_']})(),_0x2534ab;}catch(_0x53a9be){await PerformanceTester['measureWrapper'](PerformanceDriverEvents['POST_EXECUTE'],async()=>{const _0x3188d0=_0x5bc06f;logger[_0x3188d0(0xc7)](_0x165fcb['BaKdH']);try{if(!helper[_0x3188d0(0xa7)]()&&(_0x165fcb[_0x3188d0(0xad)](_0x53a9be[_0x3188d0(0xd1)],_0x165fcb['HrmvS'])||_0x165fcb[_0x3188d0(0xad)](_0x53a9be[_0x3188d0(0xd1)],_0x165fcb['YXuLK']))&&_0x165fcb[_0x3188d0(0xad)](_0x3ab49a[_0x3188d0(0xcf)],_0x165fcb[_0x3188d0(0x92)])&&commandRepository['isSelfHealEnabled']()&&globals[_0x3188d0(0xb7)](_0x165fcb[_0x3188d0(0xdd)])&&globals[_0x3188d0(0xb7)](_0x165fcb[_0x3188d0(0x97)])){_0x165fcb[_0x3188d0(0xec)](_0x3ab49a[_0x3188d0(0xd8)][_0x3188d0(0xeb)],_0x165fcb[_0x3188d0(0x9a)])?logger[_0x3188d0(0xae)](_0x165fcb['szltg'](_0x165fcb[_0x3188d0(0xed)](_0x165fcb[_0x3188d0(0x99)],_0x3ab49a[_0x3188d0(0xd8)][_0x3188d0(0xa3)]),_0x165fcb[_0x3188d0(0xc1)])):logger[_0x3188d0(0xae)](_0x165fcb['egeri'](_0x165fcb['szltg'](_0x165fcb[_0x3188d0(0x95)](_0x165fcb['eCtkZ'](_0x165fcb[_0x3188d0(0xc0)],_0x3ab49a['parameters_'][_0x3188d0(0xeb)]),':\x20'),_0x3ab49a[_0x3188d0(0xd8)][_0x3188d0(0xa3)]),_0x165fcb['uMbkI']));const _0x2714d6=PerformanceTester[_0x3188d0(0xd4)](_0x165fcb[_0x3188d0(0xd5)],async()=>{const _0x3d43e4=_0x3188d0;return await aiSdkWrapper[_0x3d43e4(0xbb)](_0x2120e6,_0x25ad04,_0x3ab49a);}),_0x32fbc6=new Date(),{locatorType:_0x11560d,locatorValue:_0x264c21,commandHealed:_0x4c811b}=await _0x165fcb['XoGoB'](_0x2714d6);if(_0x165fcb['VkWlI'](_0x11560d,_0x264c21)){_0x3ab49a['parameters_'][_0x3188d0(0xeb)]=_0x11560d,_0x3ab49a[_0x3188d0(0xd8)][_0x3188d0(0xa3)]=_0x264c21,_0x3ab49a['skipHealingSuccess']=!![];const _0x182e94=_0x25ad04['execute'](_0x3ab49a);return _0x165fcb[_0x3188d0(0xad)](_0x11560d,_0x165fcb[_0x3188d0(0x9a)])?logger[_0x3188d0(0xae)](_0x165fcb[_0x3188d0(0xed)](_0x165fcb[_0x3188d0(0x80)],_0x264c21)):logger['info'](_0x165fcb['DrLbX'](_0x165fcb[_0x3188d0(0x88)](_0x165fcb[_0x3188d0(0x8d)](_0x165fcb[_0x3188d0(0xbf)],_0x11560d),':\x20'),_0x264c21)),_0x182e94;}else!_0x4c811b&&(_0x165fcb[_0x3188d0(0xec)](_0x11560d,_0x165fcb[_0x3188d0(0x9a)])?logger['info'](_0x165fcb['GiDnm'](_0x165fcb[_0x3188d0(0xa2)],_0x3ab49a[_0x3188d0(0xd8)][_0x3188d0(0xa3)])):logger[_0x3188d0(0xae)](_0x165fcb[_0x3188d0(0xc4)](_0x165fcb['GiDnm'](_0x165fcb[_0x3188d0(0xed)](_0x165fcb[_0x3188d0(0xaa)],_0x3ab49a[_0x3188d0(0xd8)]['using']),':\x20'),_0x3ab49a[_0x3188d0(0xd8)][_0x3188d0(0xa3)])));}!_0x7131be&&_0x165fcb[_0x3188d0(0xad)](_0x3ab49a[_0x3188d0(0xcf)],_0x165fcb[_0x3188d0(0xc3)])&&helper['nestedKeyValue'](_0x3ab49a,[_0x165fcb[_0x3188d0(0x8f)],_0x165fcb[_0x3188d0(0x9f)]])&&!!constants[_0x3188d0(0xc8)][_0x3188d0(0xf0)](_0xd21889=>{const _0x294e37=_0x3188d0;return _0x53a9be[_0x294e37(0x7b)]()[_0x294e37(0x9d)](_0xd21889);})&&helper['getNudgeLocalNotSetError'](_0x3ab49a[_0x3188d0(0xd8)][_0x3188d0(0xb9)],!![]);}catch(_0x18173c){logger['debug'](_0x165fcb[_0x3188d0(0xa1)],_0x18173c);}},{'success':![],'failure':_0x53a9be})();throw _0x53a9be;}};};
@@ -1 +1 @@
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
+ const a109_0xec8bab=a109_0x4c2e;(function(_0x2f12fc,_0x4714c4){const _0x48e675=a109_0x4c2e,_0x53d03f=_0x2f12fc();while(!![]){try{const _0x28b680=-parseInt(_0x48e675(0x1f2))/0x1+parseInt(_0x48e675(0x203))/0x2*(parseInt(_0x48e675(0x1f1))/0x3)+parseInt(_0x48e675(0x20b))/0x4+-parseInt(_0x48e675(0x20e))/0x5*(-parseInt(_0x48e675(0x1fa))/0x6)+parseInt(_0x48e675(0x201))/0x7*(parseInt(_0x48e675(0x1f7))/0x8)+parseInt(_0x48e675(0x207))/0x9+-parseInt(_0x48e675(0x1fc))/0xa;if(_0x28b680===_0x4714c4)break;else _0x53d03f['push'](_0x53d03f['shift']());}catch(_0x22c816){_0x53d03f['push'](_0x53d03f['shift']());}}}(a109_0x4f3b,0xc6263));function a109_0x4c2e(_0x569ad3,_0x48f477){const _0x4f3bb0=a109_0x4f3b();return a109_0x4c2e=function(_0x4c2ee2,_0x5c6aa7){_0x4c2ee2=_0x4c2ee2-0x1ec;let _0x227b09=_0x4f3bb0[_0x4c2ee2];return _0x227b09;},a109_0x4c2e(_0x569ad3,_0x48f477);}function a109_0x4f3b(){const _0x497d07=['NBYyl','initScreenshot','380778IfZmxJ','patchScreenshot','34904670caSuqf','initQuit','overrideTakeScreenshot','ThEVW','emit','3726611QdtEkB','TEST_SCREENSHOT','2AsTcBc','VLBij','gxfQU','MnDbo','3860856rSYbJy','xHWef','quitCount_','bs:addLog:','5431244jlYJgI','UCFKI','then','50NiynPV','toISOString','pid','takeScreenshot','patchQuit','catch','BS_TESTOPS_ALLOW_SCREENSHOTS','./performance/constants','O11y_EVENTS','true','overrideQuit','4326897vSvaku','1158757ZSkmGA','MsDjk','quit','end','TAKE_SCREENSHOT','24yXzOWq'];a109_0x4f3b=function(){return _0x497d07;};return a109_0x4f3b();}const PerformanceTester=require('./performance/performance-tester'),O11yEvents=require(a109_0xec8bab(0x1ed))[a109_0xec8bab(0x1ee)];exports[a109_0xec8bab(0x1fe)]=_0xa238cd=>{const _0x378d3d=a109_0xec8bab,_0x424c25={'ThEVW':function(_0x525aca,_0x44aedd){return _0x525aca(_0x44aedd);},'KhtOr':_0x378d3d(0x202),'UCFKI':function(_0x58efde,_0x378ad7){return _0x58efde!==_0x378ad7;},'VLBij':_0x378d3d(0x1ef)};if(_0x424c25[_0x378d3d(0x20c)](process['env'][_0x378d3d(0x1ec)],_0x424c25[_0x378d3d(0x204)]))return;if(_0xa238cd[_0x378d3d(0x1fb)])return;_0xa238cd[_0x378d3d(0x1fb)]=!![],_0xa238cd['initScreenshot']=_0xa238cd[_0x378d3d(0x211)],_0xa238cd[_0x378d3d(0x211)]=()=>{const _0x2b645e={'NBYyl':_0x424c25['KhtOr'],'JKMFw':function(_0x45a167,_0x39c0e2){const _0x292995=a109_0x4c2e;return _0x424c25[_0x292995(0x1ff)](_0x45a167,_0x39c0e2);}};return new Promise(function(_0x4b788c,_0x5e07fc){const _0x3437d6=a109_0x4c2e,_0x3d0bba={'gxfQU':function(_0x1f39ce,_0x9f9d33){const _0x22bce8=a109_0x4c2e;return _0x424c25[_0x22bce8(0x1ff)](_0x1f39ce,_0x9f9d33);}};_0xa238cd[_0x3437d6(0x1f9)]()[_0x3437d6(0x20d)](_0x564914=>{const _0x534e4a=_0x3437d6;PerformanceTester['start'](O11yEvents['TAKE_SCREENSHOT']),process[_0x534e4a(0x200)](_0x534e4a(0x20a)+process[_0x534e4a(0x210)],{'timestamp':new Date()[_0x534e4a(0x20f)](),'message':_0x564914,'kind':_0x2b645e[_0x534e4a(0x1f8)]}),_0x2b645e['JKMFw'](_0x4b788c,_0x564914),PerformanceTester[_0x534e4a(0x1f5)](O11yEvents[_0x534e4a(0x1f6)]);})[_0x3437d6(0x213)](_0xdd77e7=>{const _0x67df6e=_0x3437d6;PerformanceTester[_0x67df6e(0x1f5)](O11yEvents[_0x67df6e(0x1f6)]),_0x3d0bba[_0x67df6e(0x205)](_0x5e07fc,_0xdd77e7);});});};},exports[a109_0xec8bab(0x1f0)]=(_0x276599,_0x25c0df=null)=>{const _0x3e93b1=a109_0xec8bab,_0x48d899={'xHWef':function(_0x51abb9){return _0x51abb9();},'MsDjk':function(_0x1fa593,_0x57cfbb){return _0x1fa593>_0x57cfbb;},'MnDbo':function(_0x197797,_0x1dadd5){return _0x197797>_0x1dadd5;}};if(_0x276599[_0x3e93b1(0x212)])return;_0x276599['patchQuit']=!![],_0x276599[_0x3e93b1(0x1fd)]=_0x276599['quit'],_0x276599[_0x3e93b1(0x1f4)]=()=>{const _0x1346e7=_0x3e93b1;if(_0x25c0df){_0x25c0df['quitCount_']+=0x1;if(_0x48d899[_0x1346e7(0x1f3)](_0x25c0df[_0x1346e7(0x209)],0x1))return _0x276599[_0x1346e7(0x1fd)]();}else{_0x276599[_0x1346e7(0x209)]+=0x1;if(_0x48d899[_0x1346e7(0x206)](_0x276599[_0x1346e7(0x209)],0x1))return _0x276599['initQuit']();}return new Promise(function(_0x1da087){const _0x28fec7=_0x1346e7;_0x48d899[_0x28fec7(0x208)](_0x1da087);});};};
@@ -1 +1 @@
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
+ function a110_0x7755(){const _0x585347=['../../helpers/performance/constants','uZzVN','Percy\x20unable\x20to\x20fetch\x20project\x20token:\x20','end','Percy\x20fetch\x20token\x20success','data','token','exports','../../helpers/performance/performance-tester','stderr','BROWSERSTACK_TESTHUB_UUID','healthcheck','3207471nIBvlr','percyOptions','JjAHn','getBinaryPath','../../helpers/testhub/constants','lsLPo','15325398EXTaDR','error','Percy\x20config\x20created\x20at\x20','1sDpiZG','JUZgY','uRKtr','bxlLI','env','assign','PERCY_SERVER_ADDRESS','app:exec','1070vmuHFM','CTSrd','exec:stop','createPercyConfig','117940ZuXYou','path','createWriteStream','EivTp','debug','KdFtf','383493LsFSrz','automate','close','writeFile','6nBBlZm','zLGEH','nodeRequest','exec','isProcessRunning','stringify','http://localhost:5338','api/app_percy/get_project_token?name=','QLwiW','LLThw','stdout','GET','7693609jQEUiz','projectName','isRunning','1453646TkPyil','292384xkMjBn','LWzHS','EcSHa','80QnyaCu','pipe','../logger','start','UQKsP','stop','app','percy/healthcheck','JWHIk',':start','Error\x20creating\x20percy\x20config:\x20','KQKBo','EckTt','UjOLd','VHous'];a110_0x7755=function(){return _0x585347;};return a110_0x7755();}function a110_0x3481(_0xe64120,_0x2ad88f){const _0x775593=a110_0x7755();return a110_0x3481=function(_0x348154,_0x32eb17){_0x348154=_0x348154-0x17e;let _0x4335f4=_0x775593[_0x348154];return _0x4335f4;},a110_0x3481(_0xe64120,_0x2ad88f);}const a110_0x51bcc8=a110_0x3481;(function(_0x1fef58,_0x5d4d18){const _0x2f70bb=a110_0x3481,_0x3ebbf0=_0x1fef58();while(!![]){try{const _0x4a6bcd=-parseInt(_0x2f70bb(0x17e))/0x1*(parseInt(_0x2f70bb(0x1a3))/0x2)+-parseInt(_0x2f70bb(0x1c2))/0x3+-parseInt(_0x2f70bb(0x1a7))/0x4*(parseInt(_0x2f70bb(0x18a))/0x5)+-parseInt(_0x2f70bb(0x194))/0x6*(-parseInt(_0x2f70bb(0x1a0))/0x7)+parseInt(_0x2f70bb(0x1a4))/0x8+-parseInt(_0x2f70bb(0x1c8))/0x9+parseInt(_0x2f70bb(0x186))/0xa*(parseInt(_0x2f70bb(0x190))/0xb);if(_0x4a6bcd===_0x5d4d18)break;else _0x3ebbf0['push'](_0x3ebbf0['shift']());}catch(_0x5dcc07){_0x3ebbf0['push'](_0x3ebbf0['shift']());}}}(a110_0x7755,0xda9b6));const fs=require('fs'),path=require(a110_0x51bcc8(0x18b)),os=require('os'),{spawn}=require('child_process'),helper=require('../helper'),logger=require(a110_0x51bcc8(0x1a9))['winstonLogger'],{getLogDir}=require('../logger'),testHubConstants=require(a110_0x51bcc8(0x1c6)),PerformanceTester=require(a110_0x51bcc8(0x1be)),{PERCY_EVENTS:PerformanceEvents}=require(a110_0x51bcc8(0x1b6)),PercyBinary=require('./PercyBinary');class Percy{#logfile=path['join'](getLogDir(),'percy.log');#address=process[a110_0x51bcc8(0x182)][a110_0x51bcc8(0x184)]||a110_0x51bcc8(0x19a);#binaryPath=null;#config=null;#proc=null;#logStream=null;#isApp=![];[a110_0x51bcc8(0x198)]=![];constructor(_0x454e90){const _0x39c9d0=a110_0x51bcc8;this.#config=_0x454e90,!!_0x454e90[_0x39c9d0(0x1ad)]&&(this.#isApp=!![]);}async #getBinaryPath(){const _0x34f496=a110_0x51bcc8;if(!this.#binaryPath){const _0x56a0a8=new PercyBinary();PerformanceTester['start'](PerformanceEvents['DOWNLOAD']),this.#binaryPath=await _0x56a0a8[_0x34f496(0x1c5)](this.#config),PerformanceTester['end'](PerformanceEvents['DOWNLOAD']);}return this.#binaryPath;}async #sleep(_0x48b562){return new Promise(_0xc579aa=>setTimeout(_0xc579aa,_0x48b562));}async[a110_0x51bcc8(0x1c1)](){const _0x5db579=a110_0x51bcc8,_0x3d0874={};_0x3d0874[_0x5db579(0x19d)]='GET',_0x3d0874['LWzHS']=_0x5db579(0x1ae);const _0x416e50=_0x3d0874;try{const _0x21d375=await helper[_0x5db579(0x196)](_0x416e50[_0x5db579(0x19d)],_0x416e50[_0x5db579(0x1a5)],null,null,this.#address);if(_0x21d375)return!![];}catch(_0x458838){return![];}}async[a110_0x51bcc8(0x1aa)](){const _0x5b0116=a110_0x51bcc8,_0x4f6e94={'VHous':_0x5b0116(0x185),'EcSHa':_0x5b0116(0x197),'JUZgY':function(_0x25a7b9,_0x50d646,_0x31f519,_0x1cd120){return _0x25a7b9(_0x50d646,_0x31f519,_0x1cd120);},'fLJtL':_0x5b0116(0x192),'uZzVN':'Percy\x20healthcheck\x20successful'},_0xe4e2ef=await this.#getBinaryPath(),_0x31967a={};_0x31967a['flags']='a',this.#logStream=fs[_0x5b0116(0x18c)](this.#logfile,_0x31967a);const _0x178946=await this['fetchPercyToken'](),_0x13340c=await this[_0x5b0116(0x189)]();if(!_0x178946)return![];const _0x3a7d67=[(this.#isApp?_0x4f6e94[_0x5b0116(0x1b5)]:_0x4f6e94[_0x5b0116(0x1a6)])+_0x5b0116(0x1b0)];_0x13340c&&_0x3a7d67['push']('-c',_0x13340c);this.#proc=_0x4f6e94[_0x5b0116(0x17f)](spawn,_0xe4e2ef,_0x3a7d67,{'env':Object[_0x5b0116(0x183)](process[_0x5b0116(0x182)],{'PERCY_TOKEN':_0x178946,'TH_BUILD_UUID':process[_0x5b0116(0x182)][testHubConstants['ENV_VAR'][_0x5b0116(0x1c0)]]})}),this.#proc[_0x5b0116(0x19e)][_0x5b0116(0x1a8)](this.#logStream),this.#proc[_0x5b0116(0x1bf)][_0x5b0116(0x1a8)](this.#logStream),this['isProcessRunning']=!![];var _0x5c1077=this;this.#proc['on'](_0x4f6e94['fLJtL'],function(_0x5b45a3){const _0x3fcb1f=_0x5b0116;_0x5c1077[_0x3fcb1f(0x198)]=![];});do{const _0x209789=await this[_0x5b0116(0x1c1)]();if(_0x209789)return logger['debug'](_0x4f6e94[_0x5b0116(0x1b7)]),!![];await this.#sleep(0x3e8);}while(this[_0x5b0116(0x198)]);return![];}async[a110_0x51bcc8(0x1ac)](){const _0x1041bf=a110_0x51bcc8,_0x2d67ae={'vXDqz':function(_0x3f422d,_0x1f943b){return _0x3f422d(_0x1f943b);},'EckTt':function(_0x395639,_0xa5c775,_0x3cb4dd){return _0x395639(_0xa5c775,_0x3cb4dd);},'KdFtf':_0x1041bf(0x188),'uRKtr':_0x1041bf(0x192)},_0xfaaa33=await this.#getBinaryPath();return new Promise((_0x40e236,_0x2a3df2)=>{const _0x22809e=_0x1041bf,_0x2fd456={'CTSrd':function(_0x4ae215,_0x5db879){return _0x2d67ae['vXDqz'](_0x4ae215,_0x5db879);}},_0x206fd9=_0x2d67ae[_0x22809e(0x1b3)](spawn,_0xfaaa33,[_0x2d67ae[_0x22809e(0x18f)]]);_0x206fd9['on'](_0x2d67ae[_0x22809e(0x180)],_0x449d7b=>{const _0x38bb30=_0x22809e;this['isProcessRunning']=![],this.#logStream&&(this.#logStream[_0x38bb30(0x1b9)](),this.#logStream=null),_0x2fd456[_0x38bb30(0x187)](_0x40e236,_0x449d7b);});});}[a110_0x51bcc8(0x1a2)](){return this['isProcessRunning'];}async['fetchPercyToken'](){const _0x280e30=a110_0x51bcc8,_0x3e693a={};_0x3e693a['JWHIk']=_0x280e30(0x1ad),_0x3e693a[_0x280e30(0x18d)]=_0x280e30(0x191),_0x3e693a['JjAHn']=_0x280e30(0x19f),_0x3e693a['lsLPo']=_0x280e30(0x1ba);const _0x2a0192=_0x3e693a,_0x145844=this.#config[_0x280e30(0x1a1)];try{const _0x1b16d5=this.#isApp?_0x2a0192[_0x280e30(0x1af)]:_0x2a0192[_0x280e30(0x18d)],_0x5edd1d=await helper['nodeRequest'](_0x2a0192[_0x280e30(0x1c4)],_0x280e30(0x19b)+_0x145844+'&type='+_0x1b16d5,{},this.#config),_0x2032c9=_0x5edd1d[_0x280e30(0x1bb)];return logger[_0x280e30(0x18e)](_0x2a0192[_0x280e30(0x1c7)]),_0x2032c9[_0x280e30(0x1bc)];}catch(_0x24523e){return logger[_0x280e30(0x1c9)](_0x280e30(0x1b8)+_0x24523e),null;}}async[a110_0x51bcc8(0x189)](){const _0x14a4ac=a110_0x51bcc8,_0x3b5f41={'KQKBo':function(_0x2e1bb2,_0x149e0b){return _0x2e1bb2(_0x149e0b);},'zLGEH':function(_0xb0b602,_0x4287b1){return _0xb0b602+_0x4287b1;},'UQKsP':_0x14a4ac(0x1ca),'QLwiW':'percy.json'};if(!this.#config[_0x14a4ac(0x1c3)])return null;const _0x4629a2=path['join'](os['tmpdir'](),_0x3b5f41[_0x14a4ac(0x19c)]),_0x1897ac=this.#config[_0x14a4ac(0x1c3)];return!_0x1897ac['version']&&(_0x1897ac['version']='2'),new Promise((_0x3a5ab2,_0x15041f)=>{const _0x4a85b6=_0x14a4ac,_0x25f617={'bxlLI':function(_0x10da20,_0x1fcd1b){const _0x539269=a110_0x3481;return _0x3b5f41[_0x539269(0x1b2)](_0x10da20,_0x1fcd1b);},'kxqZU':function(_0x19433c,_0x22ad23){const _0x5795ad=a110_0x3481;return _0x3b5f41[_0x5795ad(0x195)](_0x19433c,_0x22ad23);},'UjOLd':_0x3b5f41[_0x4a85b6(0x1ab)]};fs[_0x4a85b6(0x193)](_0x4629a2,JSON[_0x4a85b6(0x199)](_0x1897ac),_0x56ffe7=>{const _0x4fc157=_0x4a85b6;_0x56ffe7&&(logger[_0x4fc157(0x1c9)](_0x4fc157(0x1b1)+_0x56ffe7),_0x25f617['bxlLI'](_0x3a5ab2,null)),logger['debug'](_0x25f617['kxqZU'](_0x25f617[_0x4fc157(0x1b4)],_0x4629a2)),_0x25f617[_0x4fc157(0x181)](_0x3a5ab2,_0x4629a2);});});}}module[a110_0x51bcc8(0x1bd)]=Percy;
@@ -1 +1 @@
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
+ const a111_0x4533ed=a111_0x5d07;function a111_0x2ee9(){const _0x4f9c48=['hKWiU','url','BuwGo','ETDqX','Hsmdv','cMwRf','yVHlc','RgMtt','platform','kKzMI','291263gopCdV','destroy','statSync','ZCThI','readFileSync','fPQbJ','proxyPort','percy.exe','cwd','error','LOGNAME','validateBinary','USER','extractAndSaveBinary','12241314odcApP','download','env','WziHx','Percy\x20binary\x20is\x20up\x20to\x20date\x20(ETag\x20unchanged)','If-None-Match','entry','awCCx','.zip','trim','QGVVE','FObqD','/root','Got\x20Error\x20in\x20percy\x20binary\x20downloading\x20request:\x20','uyVEK','CKaKu','../logger','Failed\x20to\x20check\x20for\x20binary\x20updates,\x20using\x20existing\x20binary:\x20','1244087DNQKBX','undefined','7714311hGoaYn','Got\x20Error\x20while\x20downloading\x20percy\x20binary\x20file:\x20','agent','linux','XYNaG','Failed\x20to\x20read\x20ETag\x20file:\x20','USERPROFILE','join','USERNAME','useCaCertificate','lazyEntries','Error\x20trying\x20to\x20download\x20percy\x20binary','function','6NMMVId','8OzbMaw','path','292044EKNLbK','EYcMG','pleZN','cMbQK','tmpdir','once','EHGol','.etag','ekIUT','JBjPX','etag','Saved\x20new\x20ETag\x20for\x20percy\x20binary','72yKAfdS','get','PCwXj','https-proxy-agent','utf8','fileName','readEntry','DtjlA','427572olXLDo','dOwnj','--version','/percy-win.zip','getuid','HOME','10xTdjUY','cZWgy','writeFileSync','/percy-linux.zip','data','headers','HSMNF','createWriteStream','zBhzv','W_OK','end','UrHNt','kLjVB','lZbSj','aqAog','8mzXAri','close','getBinaryPath','chmod','open','OjbkI','YquVv','SPXub','tNYTm','PNeUO','binaryPath','.browserstack','Connection','match','then','/percy-osx.zip','Failed\x20to\x20save\x20ETag\x20file:\x20','/home/','LhHec','Vpmqc','HOMEPATH','homedir','sxcrO','16UBlaxP','Newly\x20downloaded\x20Percy\x20binary\x20is\x20corrupt,\x20retrying','port','statusCode','yxopi','Hezdt','New\x20Percy\x20binary\x20version\x20available,\x20downloading\x20update','VjMvu','test','warn','yVQLw','stdout','LNAME','UlGnn','SwRGT','host','pipe','R_OK','5806770IxJbie','accessSync','DfQyR','KVscN','needsUpdate','VnUbd','winstonLogger','proxyHost','darwin','Xedvn','bOvNO','ixEKq'];a111_0x2ee9=function(){return _0x4f9c48;};return a111_0x2ee9();}(function(_0x37b3ad,_0x2e08eb){const _0x2a0a92=a111_0x5d07,_0x4258cd=_0x37b3ad();while(!![]){try{const _0x5c28d0=-parseInt(_0x2a0a92(0x23f))/0x1*(-parseInt(_0x2a0a92(0x268))/0x2)+parseInt(_0x2a0a92(0x253))/0x3*(-parseInt(_0x2a0a92(0x27f))/0x4)+parseInt(_0x2a0a92(0x1f7))/0x5*(-parseInt(_0x2a0a92(0x23c))/0x6)+parseInt(_0x2a0a92(0x20d))/0x7*(-parseInt(_0x2a0a92(0x23d))/0x8)+parseInt(_0x2a0a92(0x21b))/0x9*(parseInt(_0x2a0a92(0x259))/0xa)+parseInt(_0x2a0a92(0x22f))/0xb+-parseInt(_0x2a0a92(0x24b))/0xc*(parseInt(_0x2a0a92(0x22d))/0xd);if(_0x5c28d0===_0x2e08eb)break;else _0x4258cd['push'](_0x4258cd['shift']());}catch(_0x59c55c){_0x4258cd['push'](_0x4258cd['shift']());}}}(a111_0x2ee9,0xd76c2));const {https}=require('follow-redirects'),url=require(a111_0x4533ed(0x204)),yauzl=require('yauzl'),fs=require('fs'),path=require(a111_0x4533ed(0x23e)),os=require('os'),{spawn}=require('child_process'),HttpsProxyAgent=require(a111_0x4533ed(0x24e)),logger=require(a111_0x4533ed(0x22b))[a111_0x4533ed(0x1fd)];class PercyBinary{#hostOS=process[a111_0x4533ed(0x20b)];#httpPath=null;#binaryName='percy';#orderedPaths=[path['join'](this.#homedir(),a111_0x4533ed(0x273)),process[a111_0x4533ed(0x215)](),os[a111_0x4533ed(0x243)]()];constructor(){const _0x2637f3=a111_0x4533ed,_0x430beb={};_0x430beb[_0x2637f3(0x267)]='https://github.com/percy/cli/releases/latest/download',_0x430beb[_0x2637f3(0x225)]=function(_0x5b403d,_0x2455dd){return _0x5b403d+_0x2455dd;},_0x430beb[_0x2637f3(0x240)]=_0x2637f3(0x277),_0x430beb[_0x2637f3(0x27b)]=_0x2637f3(0x256),_0x430beb['lZbSj']=_0x2637f3(0x214),_0x430beb['TjKoL']=_0x2637f3(0x25c);const _0x3c9217=_0x430beb,_0x3b2ecc=_0x3c9217[_0x2637f3(0x267)];if(this.#hostOS[_0x2637f3(0x275)](/darwin|mac os/i))this.#httpPath=_0x3c9217['QGVVE'](_0x3b2ecc,_0x3c9217[_0x2637f3(0x240)]);else this.#hostOS[_0x2637f3(0x275)](/mswin|msys|mingw|cygwin|bccwin|wince|emc|win32/i)?(this.#httpPath=_0x3c9217[_0x2637f3(0x225)](_0x3b2ecc,_0x3c9217[_0x2637f3(0x27b)]),this.#binaryName=_0x3c9217[_0x2637f3(0x266)]):this.#httpPath=_0x3c9217[_0x2637f3(0x225)](_0x3b2ecc,_0x3c9217['TjKoL']);}#getAvailableDirs(){const _0x10df81=a111_0x4533ed,_0x16ab0c={};_0x16ab0c['kKzMI']=function(_0x367d79,_0x4b98e6){return _0x367d79<_0x4b98e6;},_0x16ab0c[_0x10df81(0x1f3)]=_0x10df81(0x23a);const _0x1a9464=_0x16ab0c;for(var _0x4a63e4=0x0;_0x1a9464[_0x10df81(0x20c)](_0x4a63e4,this.#orderedPaths['length']);_0x4a63e4++){var _0x247649=this.#orderedPaths[_0x4a63e4];if(this.#makePath(_0x247649))return _0x247649;}throw new Error(_0x1a9464[_0x10df81(0x1f3)]);}#makePath(_0x5ba56d){try{return _0x5ba56d&&!this.#checkPath(_0x5ba56d)&&fs['mkdirSync'](_0x5ba56d),!![];}catch{return![];}}#checkPath(_0x15fdb6,_0x623fc1){const _0x36eb5d=a111_0x4533ed,_0x4f5d70={};_0x4f5d70[_0x36eb5d(0x205)]=function(_0x553ecb,_0x1825b0){return _0x553ecb|_0x1825b0;},_0x4f5d70['fPQbJ']=function(_0x126825,_0x58374e){return _0x126825!==_0x58374e;},_0x4f5d70['yVQLw']=_0x36eb5d(0x22e);const _0x41b838=_0x4f5d70;_0x623fc1=_0x623fc1||_0x41b838[_0x36eb5d(0x205)](fs[_0x36eb5d(0x1f6)],fs[_0x36eb5d(0x262)]);try{return fs[_0x36eb5d(0x1f8)](_0x15fdb6,_0x623fc1),!![];}catch(_0x284d49){if(_0x41b838[_0x36eb5d(0x212)](typeof fs[_0x36eb5d(0x1f8)],_0x41b838[_0x36eb5d(0x1ef)]))return![];try{return fs[_0x36eb5d(0x20f)](_0x15fdb6),!![];}catch(_0xc59cf6){return![];}}}#getETagPath(_0x3f0f93){const _0x314ab1=a111_0x4533ed;return path['join'](_0x3f0f93,this.#binaryName+_0x314ab1(0x246));}#loadETag(_0x3e301e){const _0x249d6c=a111_0x4533ed,_0x59d6b8={};_0x59d6b8[_0x249d6c(0x200)]=_0x249d6c(0x24f);const _0x56c8d2=_0x59d6b8,_0x444fcb=this.#getETagPath(_0x3e301e);if(this.#checkPath(_0x444fcb))try{return fs[_0x249d6c(0x211)](_0x444fcb,_0x56c8d2[_0x249d6c(0x200)])[_0x249d6c(0x224)]();}catch(_0x522d35){logger['warn'](_0x249d6c(0x234)+_0x522d35);}return null;}#saveETag(_0x17387b,_0x5ec49c){const _0x128f09=a111_0x4533ed,_0x324001={};_0x324001[_0x128f09(0x201)]=_0x128f09(0x24a);const _0x218712=_0x324001;if(!_0x5ec49c)return;try{const _0x662f5b=this.#getETagPath(_0x17387b);fs[_0x128f09(0x25b)](_0x662f5b,_0x5ec49c),logger['debug'](_0x218712[_0x128f09(0x201)]);}catch(_0x25a6db){logger[_0x128f09(0x1ee)](_0x128f09(0x278)+_0x25a6db);}}async #handleBinaryDownload(_0x1bc45a,_0x57f09c,_0x58931e){const _0x1d2735=a111_0x4533ed,_0x3fcf8a={};_0x3fcf8a['KVscN']=_0x1d2735(0x280);const _0x373982=_0x3fcf8a,_0x2ba673=await this[_0x1d2735(0x218)](_0x1bc45a['binaryPath']);if(!_0x2ba673){logger[_0x1d2735(0x216)](_0x373982[_0x1d2735(0x1fa)]);const _0x31b0b6=await this[_0x1d2735(0x21c)](_0x57f09c,_0x58931e);return _0x31b0b6[_0x1d2735(0x272)];}return _0x1bc45a[_0x1d2735(0x272)];}async[a111_0x4533ed(0x26a)](_0x3549c3){const _0x12bf45=a111_0x4533ed,_0x43546b={};_0x43546b[_0x12bf45(0x264)]=_0x12bf45(0x21f),_0x43546b[_0x12bf45(0x203)]=_0x12bf45(0x1eb);const _0x36d160=_0x43546b,_0x148a9f=this.#getAvailableDirs(),_0x2e0951=path[_0x12bf45(0x236)](_0x148a9f,this.#binaryName);if(this.#checkPath(_0x2e0951,fs['X_OK'])){const _0x2eef4c=this.#loadETag(_0x148a9f);if(_0x2eef4c)try{const _0x49da7=await this[_0x12bf45(0x21c)](_0x3549c3,_0x148a9f,_0x2eef4c);if(!_0x49da7[_0x12bf45(0x1fb)])return logger['debug'](_0x36d160[_0x12bf45(0x264)]),_0x2e0951;return logger['debug'](_0x36d160['hKWiU']),await this.#handleBinaryDownload(_0x49da7,_0x3549c3,_0x148a9f);}catch(_0x1d8d78){return logger['warn'](_0x12bf45(0x22c)+_0x1d8d78),_0x2e0951;}}const _0x22c110=await this['download'](_0x3549c3,_0x148a9f);return await this.#handleBinaryDownload(_0x22c110,_0x3549c3,_0x148a9f);}[a111_0x4533ed(0x21c)](_0x4bb05f,_0x2f90dc,_0x501fc2=null){const _0x2e79f3=a111_0x4533ed,_0x2c56c8={'VnUbd':function(_0xb3197d,_0xcfbcfe){return _0xb3197d(_0xcfbcfe);},'sxcrO':function(_0x5aa81a,_0x325258){return _0x5aa81a===_0x325258;},'Hsmdv':_0x2e79f3(0x216),'LhHec':_0x2e79f3(0x269),'yxopi':function(_0x1ff3cc,_0x252bda){return _0x1ff3cc+_0x252bda;},'DfQyR':_0x2e79f3(0x223)};_0x2f90dc&&!this.#checkPath(_0x2f90dc)&&fs['mkdirSync'](_0x2f90dc);const _0x17defe=this.#binaryName,_0x5503e9=path[_0x2e79f3(0x236)](_0x2f90dc,_0x2c56c8[_0x2e79f3(0x1e9)](_0x17defe,_0x2c56c8[_0x2e79f3(0x1f9)])),_0x3495f3=fs[_0x2e79f3(0x260)](_0x5503e9),_0x47b957=url['parse'](this.#httpPath);if(_0x4bb05f[_0x2e79f3(0x1fe)]&&_0x4bb05f[_0x2e79f3(0x213)]){const _0x4df0b5={};_0x4df0b5[_0x2e79f3(0x1f4)]=_0x4bb05f[_0x2e79f3(0x1fe)],_0x4df0b5[_0x2e79f3(0x281)]=_0x4bb05f[_0x2e79f3(0x213)],_0x47b957[_0x2e79f3(0x231)]=new HttpsProxyAgent(_0x4df0b5);}if(_0x4bb05f[_0x2e79f3(0x238)])try{_0x47b957['ca']=fs[_0x2e79f3(0x211)](_0x4bb05f[_0x2e79f3(0x238)]);}catch(_0x32fe1b){logger[_0x2e79f3(0x216)]('Percy\x20download\x20failed\x20to\x20read\x20cert\x20file:\x20'+_0x32fe1b);}if(_0x501fc2){const _0x5992f2={};_0x5992f2[_0x2e79f3(0x220)]=_0x501fc2,_0x5992f2['Connection']=_0x2c56c8[_0x2e79f3(0x27a)],_0x47b957[_0x2e79f3(0x25e)]=_0x5992f2;}else{const _0x2c250b={};_0x2c250b[_0x2e79f3(0x274)]=_0x2c56c8[_0x2e79f3(0x27a)],_0x47b957[_0x2e79f3(0x25e)]=_0x2c250b;}return new Promise((_0x29730e,_0x5ac3d1)=>{const _0x4e13e9=_0x2e79f3,_0x52e37e={'VjMvu':function(_0x1f6f76,_0x1aafcf){const _0xa22fd9=a111_0x5d07;return _0x2c56c8[_0xa22fd9(0x1fc)](_0x1f6f76,_0x1aafcf);},'wPOfI':function(_0x1ff5a9,_0x39fd0f){const _0xe0ba47=a111_0x5d07;return _0x2c56c8[_0xe0ba47(0x27e)](_0x1ff5a9,_0x39fd0f);},'EHGol':_0x2c56c8[_0x4e13e9(0x207)],'ETDqX':_0x2c56c8[_0x4e13e9(0x27a)]};https[_0x4e13e9(0x24c)](_0x47b957,_0x2f0c73=>{const _0x9d37da=_0x4e13e9,_0x41518d={'XYNaG':function(_0x36f50e,_0x3ac242){const _0x147ef8=a111_0x5d07;return _0x52e37e[_0x147ef8(0x1ec)](_0x36f50e,_0x3ac242);}};if(_0x501fc2&&_0x52e37e['wPOfI'](_0x2f0c73[_0x9d37da(0x282)],0x130)){_0x3495f3[_0x9d37da(0x20e)]();const _0x192ed4={};_0x192ed4[_0x9d37da(0x1fb)]=![],_0x52e37e['VjMvu'](_0x29730e,_0x192ed4);return;}const _0x9a5a1a=_0x2f0c73[_0x9d37da(0x25e)][_0x9d37da(0x249)];_0x9a5a1a&&this.#saveETag(_0x2f90dc,_0x9a5a1a),_0x2f0c73[_0x9d37da(0x1f5)](_0x3495f3),_0x2f0c73['on'](_0x52e37e[_0x9d37da(0x245)],function(_0x40d86c){const _0x11f9a4=_0x9d37da;logger[_0x11f9a4(0x216)]('Got\x20Error\x20in\x20percy\x20binary\x20download\x20response:\x20'+_0x40d86c),_0x52e37e[_0x11f9a4(0x1ec)](_0x5ac3d1,_0x40d86c);}),_0x3495f3['on'](_0x52e37e['EHGol'],function(_0x87370a){const _0x426d9b=_0x9d37da;logger[_0x426d9b(0x216)](_0x426d9b(0x230)+_0x87370a),_0x41518d[_0x426d9b(0x233)](_0x5ac3d1,_0x87370a);}),_0x3495f3['on'](_0x52e37e[_0x9d37da(0x206)],()=>{const _0x275df4=_0x9d37da;this['extractAndSaveBinary'](_0x5503e9,_0x2f90dc)[_0x275df4(0x276)](_0xfaf147=>_0x29730e({'needsUpdate':!![],'binaryPath':_0xfaf147}))['catch'](_0x5ac3d1);});})['on'](_0x2c56c8[_0x4e13e9(0x207)],function(_0x165027){const _0x2bfe61=_0x4e13e9;logger[_0x2bfe61(0x216)](_0x2bfe61(0x228)+_0x165027),_0x52e37e[_0x2bfe61(0x1ec)](_0x5ac3d1,_0x165027);});});}[a111_0x4533ed(0x21a)](_0x1e447e,_0xf8bd52){const _0x1bc754=a111_0x4533ed,_0xe0ffc3={'tNYTm':function(_0x18c937,_0x31f53d){return _0x18c937(_0x31f53d);},'PCwXj':'0755','OjbkI':_0x1bc754(0x221),'FObqD':_0x1bc754(0x216),'djpoy':_0x1bc754(0x263),'PNeUO':function(_0x5c0dee,_0x228bed){return _0x5c0dee===_0x228bed;}},_0x4a7ce3=this.#binaryName,_0x5dc4bb=path[_0x1bc754(0x236)](_0xf8bd52,_0x4a7ce3);return new Promise((_0x27c6d5,_0x20984b)=>{const _0x34fa60=_0x1bc754,_0xc9f846={'ixEKq':function(_0x423294,_0x11eb2f){const _0x42839d=a111_0x5d07;return _0xe0ffc3[_0x42839d(0x270)](_0x423294,_0x11eb2f);},'Hezdt':_0xe0ffc3['djpoy'],'awCCx':function(_0x19b030,_0x3c0074){const _0x5cca36=a111_0x5d07;return _0xe0ffc3[_0x5cca36(0x271)](_0x19b030,_0x3c0074);}},_0x17a739={};_0x17a739[_0x34fa60(0x239)]=!![],yauzl[_0x34fa60(0x26c)](_0x1e447e,_0x17a739,function(_0x56e8dd,_0x5347cd){const _0x5d9918=_0x34fa60,_0x447ccf={'kLjVB':function(_0x22d16b,_0x2c4b7e){return _0xe0ffc3['tNYTm'](_0x22d16b,_0x2c4b7e);},'CKaKu':_0xe0ffc3[_0x5d9918(0x24d)]};_0x56e8dd&&_0xe0ffc3[_0x5d9918(0x270)](_0x20984b,_0x56e8dd),_0x5347cd[_0x5d9918(0x251)](),_0x5347cd['on'](_0xe0ffc3[_0x5d9918(0x26d)],_0x488bc3=>{const _0x4f19a4=_0x5d9918,_0x5bdf37={'pleZN':function(_0x184d7c,_0x6ea016){const _0x39135a=a111_0x5d07;return _0xc9f846[_0x39135a(0x202)](_0x184d7c,_0x6ea016);},'cMbQK':_0xc9f846[_0x4f19a4(0x1ea)]};if(/\/$/[_0x4f19a4(0x1ed)](_0x488bc3[_0x4f19a4(0x250)]))_0x5347cd[_0x4f19a4(0x251)]();else{const _0x44b670=fs[_0x4f19a4(0x260)](path['join'](_0xf8bd52,_0x488bc3[_0x4f19a4(0x250)]));_0x5347cd['openReadStream'](_0x488bc3,function(_0x2dff5a,_0x490e52){const _0xb1a287=_0x4f19a4;_0x2dff5a&&_0x5bdf37[_0xb1a287(0x241)](_0x20984b,_0x56e8dd),_0x490e52['on'](_0x5bdf37[_0xb1a287(0x242)],function(){const _0x3afb93=_0xb1a287;_0x44b670[_0x3afb93(0x269)](),_0x5347cd[_0x3afb93(0x251)]();}),_0x490e52[_0xb1a287(0x1f5)](_0x44b670);}),_0xc9f846[_0x4f19a4(0x222)](_0x488bc3[_0x4f19a4(0x250)],_0x4a7ce3)&&_0x5347cd[_0x4f19a4(0x269)]();}}),_0x5347cd['on'](_0xe0ffc3[_0x5d9918(0x226)],_0x1438d3=>{const _0x181605=_0x5d9918;_0xc9f846[_0x181605(0x202)](_0x20984b,_0x1438d3);}),_0x5347cd[_0x5d9918(0x244)](_0xe0ffc3['djpoy'],()=>{const _0x3d4473=_0x5d9918,_0xa025e6={'UlGnn':function(_0x1827c6,_0xf8c75d){const _0x57070e=a111_0x5d07;return _0x447ccf[_0x57070e(0x265)](_0x1827c6,_0xf8c75d);}};fs[_0x3d4473(0x26b)](_0x5dc4bb,_0x447ccf[_0x3d4473(0x22a)],function(_0x2ffa58){const _0x348f7a=_0x3d4473;_0x2ffa58&&_0xa025e6['UlGnn'](_0x20984b,_0x2ffa58),_0xa025e6[_0x348f7a(0x1f2)](_0x27c6d5,_0x5dc4bb);}),_0x5347cd[_0x3d4473(0x269)]();});});});}async['validateBinary'](_0x4652a1){const _0x1cec0f=a111_0x4533ed,_0x7273e5={'MiMMA':function(_0x2ba3ef,_0x3f9496){return _0x2ba3ef(_0x3f9496);},'yVHlc':function(_0x4617b8,_0xf74f6,_0x19a7c0,_0x166eec){return _0x4617b8(_0xf74f6,_0x19a7c0,_0x166eec);},'YquVv':_0x1cec0f(0x255),'dixvu':_0x1cec0f(0x25d),'RgMtt':_0x1cec0f(0x269)},_0x2a4e16=/^.*@percy\/cli \d.\d+.\d+/;return new Promise((_0x1200df,_0x134ced)=>{const _0x211586=_0x1cec0f,_0x16017f={'fnnMm':function(_0x147a4b,_0x43c7e6){return _0x7273e5['MiMMA'](_0x147a4b,_0x43c7e6);}},_0x59ee14={};_0x59ee14['env']=process['env'];const _0x14fc11=_0x7273e5[_0x211586(0x209)](spawn,_0x4652a1,[_0x7273e5[_0x211586(0x26e)]],_0x59ee14);_0x14fc11[_0x211586(0x1f0)]['on'](_0x7273e5['dixvu'],_0xa1facd=>{_0x2a4e16['test'](_0xa1facd)&&_0x7273e5['MiMMA'](_0x1200df,!![]);}),_0x14fc11['on'](_0x7273e5[_0x211586(0x20a)],()=>{_0x16017f['fnnMm'](_0x1200df,![]);});});}#homedir(){const _0x9e2556=a111_0x4533ed,_0x15ec07={};_0x15ec07[_0x9e2556(0x25a)]=function(_0x21dbe0,_0x21ba65){return _0x21dbe0===_0x21ba65;},_0x15ec07[_0x9e2556(0x25f)]=_0x9e2556(0x23b),_0x15ec07[_0x9e2556(0x261)]=function(_0x35ff90,_0x579e32){return _0x35ff90===_0x579e32;},_0x15ec07[_0x9e2556(0x229)]='win32',_0x15ec07[_0x9e2556(0x248)]=function(_0x244111,_0x5c9109){return _0x244111+_0x5c9109;},_0x15ec07[_0x9e2556(0x208)]=_0x9e2556(0x1ff),_0x15ec07[_0x9e2556(0x21e)]='/Users/',_0x15ec07[_0x9e2556(0x254)]=function(_0x5b7f51,_0x94ff1c){return _0x5b7f51===_0x94ff1c;},_0x15ec07[_0x9e2556(0x26f)]=_0x9e2556(0x232),_0x15ec07[_0x9e2556(0x247)]=_0x9e2556(0x227),_0x15ec07[_0x9e2556(0x210)]=function(_0x299cf6,_0x5cea45){return _0x299cf6+_0x5cea45;},_0x15ec07['qiwji']=_0x9e2556(0x279),_0x15ec07[_0x9e2556(0x252)]=function(_0x3336a0,_0x2d5a7d){return _0x3336a0||_0x2d5a7d;};const _0xa7ae3f=_0x15ec07;if(_0xa7ae3f[_0x9e2556(0x25a)](typeof os[_0x9e2556(0x27d)],_0xa7ae3f[_0x9e2556(0x25f)]))return os['homedir']();const _0x57d781=process[_0x9e2556(0x21d)],_0x4e2e0c=_0x57d781[_0x9e2556(0x258)],_0x46ab71=_0x57d781[_0x9e2556(0x217)]||_0x57d781[_0x9e2556(0x219)]||_0x57d781[_0x9e2556(0x1f1)]||_0x57d781[_0x9e2556(0x237)];if(_0xa7ae3f[_0x9e2556(0x261)](process[_0x9e2556(0x20b)],_0xa7ae3f[_0x9e2556(0x229)]))return _0x57d781[_0x9e2556(0x235)]||_0xa7ae3f[_0x9e2556(0x248)](_0x57d781['HOMEDRIVE'],_0x57d781[_0x9e2556(0x27c)])||_0x4e2e0c||null;if(_0xa7ae3f['cZWgy'](process['platform'],_0xa7ae3f['cMwRf']))return _0x4e2e0c||(_0x46ab71?_0xa7ae3f[_0x9e2556(0x248)](_0xa7ae3f[_0x9e2556(0x21e)],_0x46ab71):null);if(_0xa7ae3f['dOwnj'](process[_0x9e2556(0x20b)],_0xa7ae3f[_0x9e2556(0x26f)]))return _0x4e2e0c||(_0xa7ae3f[_0x9e2556(0x254)](process[_0x9e2556(0x257)](),0x0)?_0xa7ae3f[_0x9e2556(0x247)]:_0x46ab71?_0xa7ae3f[_0x9e2556(0x210)](_0xa7ae3f['qiwji'],_0x46ab71):null);return _0xa7ae3f[_0x9e2556(0x252)](_0x4e2e0c,null);}}function a111_0x5d07(_0x1459fe,_0x4e8dc2){const _0x2ee9ef=a111_0x2ee9();return a111_0x5d07=function(_0x5d0729,_0xd6b451){_0x5d0729=_0x5d0729-0x1e9;let _0x1a564d=_0x2ee9ef[_0x5d0729];return _0x1a564d;},a111_0x5d07(_0x1459fe,_0x4e8dc2);}module['exports']=PercyBinary;
@@ -1 +1 @@
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
+ var a112_0x414eaa=a112_0x1170;function a112_0x3d48(){var _0x194dfe=['increment','8RGShwr','get','2118907eHnZAm','655HfglDR','319BoJOEx','4071591YqigNw','394012tfHmCJ','exports','751089xccrmn','412CrKkYk','6396670PVjKTe','2658QvepfJ','getName'];a112_0x3d48=function(){return _0x194dfe;};return a112_0x3d48();}(function(_0x28af83,_0x59687b){var _0x5660c0=a112_0x1170,_0x2e48cc=_0x28af83();while(!![]){try{var _0x142420=parseInt(_0x5660c0(0xf5))/0x1*(parseInt(_0x5660c0(0xec))/0x2)+parseInt(_0x5660c0(0xeb))/0x3+parseInt(_0x5660c0(0xe9))/0x4+parseInt(_0x5660c0(0xf4))/0x5*(-parseInt(_0x5660c0(0xee))/0x6)+-parseInt(_0x5660c0(0xf3))/0x7+parseInt(_0x5660c0(0xf1))/0x8*(-parseInt(_0x5660c0(0xe8))/0x9)+parseInt(_0x5660c0(0xed))/0xa;if(_0x142420===_0x59687b)break;else _0x2e48cc['push'](_0x2e48cc['shift']());}catch(_0x3df8d6){_0x2e48cc['push'](_0x2e48cc['shift']());}}}(a112_0x3d48,0x3adda));class PercyCaptureMap{#map={};[a112_0x414eaa(0xf0)](_0x328cc8,_0x1d6e06){!this.#map[_0x328cc8]&&(this.#map[_0x328cc8]={}),!this.#map[_0x328cc8][_0x1d6e06]&&(this.#map[_0x328cc8][_0x1d6e06]=0x0),this.#map[_0x328cc8][_0x1d6e06]++;}[a112_0x414eaa(0xef)](_0x3675e8,_0x47b00e){var _0x12a5ed=a112_0x414eaa;return _0x3675e8+'-'+_0x47b00e+'-'+this[_0x12a5ed(0xf2)](_0x3675e8,_0x47b00e);}['get'](_0x154828,_0xc8fbfa){if(!this.#map[_0x154828])return 0x0;if(!this.#map[_0x154828][_0xc8fbfa])return 0x0;return this.#map[_0x154828][_0xc8fbfa];}}function a112_0x1170(_0x49642c,_0x3408fd){var _0x3d48d5=a112_0x3d48();return a112_0x1170=function(_0x117089,_0x293443){_0x117089=_0x117089-0xe8;var _0x48fc03=_0x3d48d5[_0x117089];return _0x48fc03;},a112_0x1170(_0x49642c,_0x3408fd);}module[a112_0x414eaa(0xea)]=PercyCaptureMap;
@@ -1 +1 @@
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
+ var a113_0x1b4c4d=a113_0x91f8;(function(_0x1b40e1,_0x2d630a){var _0x33e323=a113_0x91f8,_0x41dddd=_0x1b40e1();while(!![]){try{var _0xbd9b0c=parseInt(_0x33e323(0x1cd))/0x1+-parseInt(_0x33e323(0x1cf))/0x2+-parseInt(_0x33e323(0x1cb))/0x3*(parseInt(_0x33e323(0x1c4))/0x4)+parseInt(_0x33e323(0x1d6))/0x5+parseInt(_0x33e323(0x1ca))/0x6*(-parseInt(_0x33e323(0x1d4))/0x7)+parseInt(_0x33e323(0x1d1))/0x8*(parseInt(_0x33e323(0x1c6))/0x9)+-parseInt(_0x33e323(0x1c5))/0xa*(-parseInt(_0x33e323(0x1c9))/0xb);if(_0xbd9b0c===_0x2d630a)break;else _0x41dddd['push'](_0x41dddd['shift']());}catch(_0xd5bf35){_0x41dddd['push'](_0x41dddd['shift']());}}}(a113_0x4523,0xee4c4));var a113_0x44f6cd={};a113_0x44f6cd[a113_0x1b4c4d(0x1ce)]=[a113_0x1b4c4d(0x1c8)],a113_0x44f6cd['element']=[a113_0x1b4c4d(0x1cc),a113_0x1b4c4d(0x1d5)];function a113_0x91f8(_0x2cca69,_0x578317){var _0x452367=a113_0x4523();return a113_0x91f8=function(_0x91f8fc,_0xf6e549){_0x91f8fc=_0x91f8fc-0x1c4;var _0x183b96=_0x452367[_0x91f8fc];return _0x183b96;},a113_0x91f8(_0x2cca69,_0x578317);}var a113_0x54ebad={};function a113_0x4523(){var _0x2751d8=['9IeaPey','testcase','takeScreenshot','27541107OriwPm','6pPmKKq','3CZGiDu','click','558762RadpUN','driver','1929236tEFjlQ','element','1977432mKBlJY','manual','auto','8767514QAqiOP','sendKeys','4316465WkPPgO','3919132MhtxRA','10vyqWiP'];a113_0x4523=function(){return _0x2751d8;};return a113_0x4523();}a113_0x54ebad['driver']=[a113_0x1b4c4d(0x1c8)];var a113_0x3b5afb={};a113_0x3b5afb[a113_0x1b4c4d(0x1d0)]=[a113_0x1b4c4d(0x1cc)];var a113_0x55fded={};a113_0x55fded[a113_0x1b4c4d(0x1d3)]=a113_0x44f6cd,a113_0x55fded['screenshot']=a113_0x54ebad,a113_0x55fded[a113_0x1b4c4d(0x1cc)]=a113_0x3b5afb,a113_0x55fded[a113_0x1b4c4d(0x1c7)]={},a113_0x55fded[a113_0x1b4c4d(0x1d2)]={},module['exports']=a113_0x55fded;
@@ -1 +1 @@
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
+ const a114_0x33372c=a114_0x5a81;(function(_0x4bf56e,_0x374224){const _0x5da06d=a114_0x5a81,_0x2f99a1=_0x4bf56e();while(!![]){try{const _0x35f814=parseInt(_0x5da06d(0xf7))/0x1*(-parseInt(_0x5da06d(0xeb))/0x2)+-parseInt(_0x5da06d(0xdd))/0x3+parseInt(_0x5da06d(0xe2))/0x4*(parseInt(_0x5da06d(0xe9))/0x5)+parseInt(_0x5da06d(0xe0))/0x6+parseInt(_0x5da06d(0xe7))/0x7+parseInt(_0x5da06d(0xf4))/0x8*(-parseInt(_0x5da06d(0xf8))/0x9)+parseInt(_0x5da06d(0xfa))/0xa;if(_0x35f814===_0x374224)break;else _0x2f99a1['push'](_0x2f99a1['shift']());}catch(_0x339b46){_0x2f99a1['push'](_0x2f99a1['shift']());}}}(a114_0xdb55,0x65e0b));const tryRequire=function(_0x3c0aa9,_0x3ccbdb){const _0x43030b=a114_0x5a81,_0x31de17={'dYLbM':function(_0x3a7932,_0x102e94){return _0x3a7932(_0x102e94);}};try{return _0x31de17[_0x43030b(0xf9)](require,_0x3c0aa9);}catch{return _0x3ccbdb;}},percySnapshot=tryRequire(a114_0x33372c(0xf3),null),{percyScreenshot}=tryRequire('@percy/selenium-webdriver',{}),percyAppScreenshot=require(a114_0x33372c(0xe8)),{getCurrentTestData}=require('../../helpers/testhub/utils'),PerformanceTester=require(a114_0x33372c(0xf6)),{PERCY_EVENTS:PerformanceEvents}=require(a114_0x33372c(0xf5)),logger=require(a114_0x33372c(0xf1))[a114_0x33372c(0xdf)];function a114_0x5a81(_0x509296,_0x5802a2){const _0xdb55e5=a114_0xdb55();return a114_0x5a81=function(_0x5a810a,_0x32356e){_0x5a810a=_0x5a810a-0xd6;let _0x4808fb=_0xdb55e5[_0x5a810a];return _0x4808fb;},a114_0x5a81(_0x509296,_0x5802a2);}percySnapshot&&(exports[a114_0x33372c(0xee)]=async function(){const _0x3e0f31=a114_0x33372c,_0x25d800={'LTeRB':function(_0x23d5f2,_0x48383a){return _0x23d5f2!==_0x48383a;},'WKevc':function(_0x3b3278,_0x2b0f6d){return _0x3b3278>=_0x2b0f6d;},'zKBPk':function(_0x1e6b31){return _0x1e6b31();}};if(global['browserstackPlatformIndex']&&_0x25d800[_0x3e0f31(0xef)](global[_0x3e0f31(0xe1)],global['browserstackPercyBestPlatform']))return;const _0x2ce681=_0x25d800['WKevc'](arguments[_0x3e0f31(0xf0)],0x2)?arguments[0x1]:'',_0x290f59=_0x25d800[_0x3e0f31(0xde)](getCurrentTestData),_0x241678={};return _0x241678[_0x3e0f31(0xdb)]=_0x2ce681,_0x241678[_0x3e0f31(0xd7)]=_0x290f59[_0x3e0f31(0xdb)]||'',_0x241678[_0x3e0f31(0xed)]=_0x290f59[_0x3e0f31(0xfb)]||'',_0x241678[_0x3e0f31(0xd8)]=global[_0x3e0f31(0xe1)],await PerformanceTester[_0x3e0f31(0xec)](PerformanceEvents[_0x3e0f31(0xfc)],()=>percySnapshot['apply'](null,arguments),_0x241678);});percyScreenshot?exports[a114_0x33372c(0xd9)]=async function(){const _0x5d5212=a114_0x33372c,_0x2c652c={'UbCOH':function(_0x596b32,_0x1b9366){return _0x596b32>=_0x1b9366;},'AkUOh':function(_0x2c29b7){return _0x2c29b7();}},_0x39c761=_0x2c652c['UbCOH'](arguments[_0x5d5212(0xf0)],0x2)?arguments[0x1]:'',_0x3d8dcf=_0x2c652c[_0x5d5212(0xda)](getCurrentTestData),_0x6134b5={};return _0x6134b5[_0x5d5212(0xdb)]=_0x39c761,_0x6134b5['testCase']=_0x3d8dcf[_0x5d5212(0xdb)]||'',_0x6134b5['thTestCaseExecutionId']=_0x3d8dcf[_0x5d5212(0xfb)]||'',_0x6134b5[_0x5d5212(0xd8)]=global['browserstackPlatformIndex'],await PerformanceTester['measure'](PerformanceEvents[_0x5d5212(0xf2)],()=>percyScreenshot['apply'](null,arguments),_0x6134b5);}:exports[a114_0x33372c(0xd9)]=()=>{const _0x1acaec=a114_0x33372c,_0x496460={};_0x496460[_0x1acaec(0xe3)]=_0x1acaec(0xe5);const _0x2413e4=_0x496460;logger[_0x1acaec(0xea)](_0x2413e4[_0x1acaec(0xe3)]);};function a114_0xdb55(){const _0x18cef2=['1670728lUQkkj','lJaiv','rWmIU','Unsupported\x20driver\x20for\x20percy','screenshotApp','382536RPPZXq','@percy/appium-app','5wbkmtg','error','1571824TIjbPP','measure','thTestCaseExecutionId','snapshot','LTeRB','length','../logger','SCREENSHOT','@percy/selenium-webdriver','195768HHkqfp','../performance/constants','../performance/performance-tester','1NMAXmV','162eIdgIQ','dYLbM','11820970LfuBtJ','uuid','SNAPSHOT','apply','testCase','platformIndex','screenshot','AkUOh','name','HScNW','2066319BNVFtL','zKBPk','winstonLogger','4068162ekjcCr','browserstackPlatformIndex'];a114_0xdb55=function(){return _0x18cef2;};return a114_0xdb55();}exports[a114_0x33372c(0xe6)]=async function(){const _0x2996db=a114_0x33372c,_0x174e42={'rWmIU':function(_0x369a19,_0x4ae6e7){return _0x369a19>=_0x4ae6e7;},'HScNW':function(_0x3f48f4){return _0x3f48f4();}},_0x5d5ad8=_0x174e42[_0x2996db(0xe4)](arguments['length'],0x2)?arguments[0x1]:'',_0x119ef8=_0x174e42[_0x2996db(0xdc)](getCurrentTestData),_0x2a3ab0={};return _0x2a3ab0[_0x2996db(0xdb)]=_0x5d5ad8,_0x2a3ab0[_0x2996db(0xd7)]=_0x119ef8[_0x2996db(0xdb)]||'',_0x2a3ab0['thTestCaseExecutionId']=_0x119ef8['uuid']||'',_0x2a3ab0[_0x2996db(0xd8)]=global[_0x2996db(0xe1)],await PerformanceTester['measure'](PerformanceEvents['SCREENSHOT_APP'],()=>percyAppScreenshot[_0x2996db(0xd6)](null,arguments),_0x2a3ab0);};
@@ -1 +1 @@
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
+ function a115_0x387a(){var _0x219d3b=['1sKQxHU','276MDhtlG','7841583VOppZD','exports','4920100xupdtw','24654JoouGY','8mSnnGI','343vNhHTs','./Percy','548plwjCK','1307174oKYndI','4193560KgvwuA','1177502zCgpAZ','12528JfYFBG'];a115_0x387a=function(){return _0x219d3b;};return a115_0x387a();}function a115_0x176e(_0x318fb5,_0x5e4c0e){var _0x387a4c=a115_0x387a();return a115_0x176e=function(_0x176e4b,_0x3c2bdc){_0x176e4b=_0x176e4b-0x147;var _0xf912b7=_0x387a4c[_0x176e4b];return _0xf912b7;},a115_0x176e(_0x318fb5,_0x5e4c0e);}var a115_0x1f01c5=a115_0x176e;(function(_0x3f624d,_0x347e2a){var _0x326fbe=a115_0x176e,_0x54a6a1=_0x3f624d();while(!![]){try{var _0x5032c3=-parseInt(_0x326fbe(0x14b))/0x1*(-parseInt(_0x326fbe(0x149))/0x2)+parseInt(_0x326fbe(0x14a))/0x3*(parseInt(_0x326fbe(0x154))/0x4)+parseInt(_0x326fbe(0x14f))/0x5+parseInt(_0x326fbe(0x150))/0x6*(-parseInt(_0x326fbe(0x152))/0x7)+-parseInt(_0x326fbe(0x151))/0x8*(-parseInt(_0x326fbe(0x14d))/0x9)+parseInt(_0x326fbe(0x148))/0xa+-parseInt(_0x326fbe(0x147))/0xb*(parseInt(_0x326fbe(0x14c))/0xc);if(_0x5032c3===_0x347e2a)break;else _0x54a6a1['push'](_0x54a6a1['shift']());}catch(_0x1230d9){_0x54a6a1['push'](_0x54a6a1['shift']());}}}(a115_0x387a,0x7a50b),module[a115_0x1f01c5(0x14e)]=require(a115_0x1f01c5(0x153)));
@@ -1 +1 @@
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;};
1
+ const a116_0x371e1b=a116_0x3b2f;(function(_0x379f94,_0x4a1097){const _0x2809b5=a116_0x3b2f,_0x37de67=_0x379f94();while(!![]){try{const _0x5a3bdd=-parseInt(_0x2809b5(0x12e))/0x1+-parseInt(_0x2809b5(0x154))/0x2*(-parseInt(_0x2809b5(0x13d))/0x3)+parseInt(_0x2809b5(0x147))/0x4+parseInt(_0x2809b5(0x128))/0x5*(parseInt(_0x2809b5(0x12c))/0x6)+-parseInt(_0x2809b5(0x166))/0x7+parseInt(_0x2809b5(0x158))/0x8+-parseInt(_0x2809b5(0x14b))/0x9;if(_0x5a3bdd===_0x4a1097)break;else _0x37de67['push'](_0x37de67['shift']());}catch(_0x11c89e){_0x37de67['push'](_0x37de67['shift']());}}}(a116_0x48e7,0x457bd));function a116_0x48e7(){const _0x290cb9=['startPercy','browserstackPercyBestPlatform','EmuLA','then','24488mTfjkW','getPercyOptions','edge','init','1996000JBGBnj','increment','qpugn','debug','firefox','error','percy','measureWrapper','screenshotApp','YnKET','browser','isUndefined','getBestPlatformForPercySnapshot','stopPercy','2208353sfeGWP','screenshot','Couldn\x27t\x20capture\x20percy\x20screenshot,\x20no\x20session\x20name\x20present','yHQoe','./PercyCaptureModes','percyAutoCapture','deviceName','aKRYB','auto','patch','STOP','AUTO_CAPTURE','5FrhrcT','./Percy','browserStackPercyOptions','toLowerCase','635238HCppyz','browserstackSessionName','4866PSNDux','fZaMo','./PercySDK','browserstackPercyMap','Stopping\x20percy','\x20for\x20percy\x20','./PercyCaptureMap','app','../performance/performance-tester','apply','browserName','chrome','reduce','MOFoD','patchDriverPercy','78iBLWay','element','percyCaptureMode','getDriver','IVEYS','START','forEach','stop','ZwsvJ','sENvH','950760UfetGU','../performance/constants','wnBaZ','Qgfru','2758113dTYIqF','driver','NWWUx','prototype','../logger'];a116_0x48e7=function(){return _0x290cb9;};return a116_0x48e7();}function a116_0x3b2f(_0xce1212,_0x141d62){const _0x48e70c=a116_0x48e7();return a116_0x3b2f=function(_0x3b2f32,_0x28455d){_0x3b2f32=_0x3b2f32-0x126;let _0x5c4e02=_0x48e70c[_0x3b2f32];return _0x5c4e02;},a116_0x3b2f(_0xce1212,_0x141d62);}const Percy=require(a116_0x371e1b(0x129)),PercySDK=require(a116_0x371e1b(0x130)),PercyCaptureModes=require(a116_0x371e1b(0x16a)),PercyCaptureMap=require(a116_0x371e1b(0x134)),logger=require(a116_0x371e1b(0x14f))['winstonLogger'],helper=require('../helper'),PerformanceTester=require(a116_0x371e1b(0x136)),{PERCY_EVENTS:PerformanceEvents}=require(a116_0x371e1b(0x148));exports[a116_0x371e1b(0x150)]=PerformanceTester[a116_0x371e1b(0x15f)](PerformanceEvents[a116_0x371e1b(0x142)],async _0x5de243=>{const _0x4fd274=a116_0x371e1b,_0x48c19e={};_0x48c19e['aKRYB']='Starting\x20percy';const _0x2999fc=_0x48c19e;logger[_0x4fd274(0x15b)](_0x2999fc[_0x4fd274(0x16d)]);const _0x2362c6=new Percy(_0x5de243),_0x2cd013=await _0x2362c6['start']();if(_0x2cd013)return _0x2362c6;return null;}),exports[a116_0x371e1b(0x165)]=PerformanceTester[a116_0x371e1b(0x15f)](PerformanceEvents[a116_0x371e1b(0x126)],async _0x40468f=>{const _0x267f08=a116_0x371e1b,_0x5c466f={};_0x5c466f[_0x267f08(0x14d)]=_0x267f08(0x132);const _0xf9d952=_0x5c466f;return logger[_0x267f08(0x15b)](_0xf9d952[_0x267f08(0x14d)]),_0x40468f[_0x267f08(0x144)]();}),exports[a116_0x371e1b(0x164)]=_0x1ccccb=>{const _0x46ebc2=a116_0x371e1b,_0x28f9aa={};_0x28f9aa['qpugn']=function(_0x1a156e,_0x44e42f){return _0x1a156e<_0x44e42f;};const _0x9e381c=_0x28f9aa,_0x559986={};_0x559986[_0x46ebc2(0x139)]=0x0,_0x559986[_0x46ebc2(0x15c)]=0x1,_0x559986[_0x46ebc2(0x156)]=0x2,_0x559986['safari']=0x3;const _0x1098ce=_0x559986;return _0x1ccccb[_0x46ebc2(0x13a)]((_0x1e7244,_0x16d8f5,_0x297ba9)=>{const _0x372417=_0x46ebc2,_0x26f685=_0x1ccccb[_0x1e7244];if(_0x16d8f5[_0x372417(0x16c)])return _0x1e7244;if(_0x26f685['deviceName'])return _0x297ba9;const _0x491f71=_0x16d8f5[_0x372417(0x162)]?_0x16d8f5['browser']:_0x16d8f5[_0x372417(0x138)];if(_0x491f71&&_0x9e381c[_0x372417(0x15a)](_0x1098ce[_0x491f71[_0x372417(0x12b)]()],_0x1098ce[_0x491f71[_0x372417(0x12b)]()]))return _0x297ba9;return _0x1e7244;},0x0);},exports['percyAutoCapture']=PerformanceTester[a116_0x371e1b(0x15f)](PerformanceEvents[a116_0x371e1b(0x127)],async(_0x1e9237,_0x12ccb9,_0x3bfdda)=>{const _0x13bd0f=a116_0x371e1b,_0x536301={};_0x536301[_0x13bd0f(0x141)]=_0x13bd0f(0x168);const _0x3a0dff=_0x536301,_0x41c3c0=_0x1e9237['browserstackPercyMap'];if(helper[_0x13bd0f(0x163)](_0x1e9237[_0x13bd0f(0x12d)])){logger[_0x13bd0f(0x15b)](_0x3a0dff['IVEYS']);return;}const _0x23a2db=_0x41c3c0['getName'](_0x1e9237[_0x13bd0f(0x12d)],_0x12ccb9);_0x3bfdda[_0x13bd0f(0x135)]?await PercySDK[_0x13bd0f(0x160)](_0x1e9237,_0x23a2db):await PercySDK[_0x13bd0f(0x167)](_0x1e9237,_0x23a2db),_0x41c3c0[_0x13bd0f(0x159)](_0x1e9237['browserstackSessionName'],_0x12ccb9);}),exports[a116_0x371e1b(0x13c)]=(_0xdb012f,_0x5666b1,_0x1154d8)=>{const _0xc3a280=a116_0x371e1b,_0x2d09f9={};_0x2d09f9[_0xc3a280(0x152)]=_0xc3a280(0x12a),_0x2d09f9[_0xc3a280(0x169)]=_0xc3a280(0x15e),_0x2d09f9[_0xc3a280(0x146)]=function(_0x3c14c2,_0x3a8175){return _0x3c14c2!==_0x3a8175;},_0x2d09f9[_0xc3a280(0x161)]='manual';const _0x1191ec=_0x2d09f9;if(!helper['nestedKeyValue'](_0x1154d8,[_0x1191ec[_0xc3a280(0x152)],_0x1191ec['yHQoe']]))return;if(_0x1154d8[_0xc3a280(0x12a)][_0xc3a280(0x15e)]&&_0x1154d8['browserStackPercyOptions']['percyCaptureMode']&&_0x1191ec['sENvH'](_0x1154d8[_0xc3a280(0x12a)][_0xc3a280(0x13f)],_0x1191ec[_0xc3a280(0x161)])&&!_0xdb012f['browserstackPercyMap']){global['browserstackSessionName']&&(_0xdb012f['browserstackSessionName']=global['browserstackSessionName']),_0xdb012f[_0xc3a280(0x131)]=new PercyCaptureMap();const _0x1ac105=PercyCaptureModes[_0x1154d8['browserStackPercyOptions'][_0xc3a280(0x13f)]];_0x1ac105[_0xc3a280(0x14c)]&&_0x1ac105[_0xc3a280(0x14c)][_0xc3a280(0x143)](_0x46a12c=>this['overrideXforPercy'](_0xdb012f,_0x46a12c,_0x1154d8)),_0x1ac105[_0xc3a280(0x13e)]&&_0x1ac105[_0xc3a280(0x13e)][_0xc3a280(0x143)](_0x3c4a08=>{const _0x5031de=_0xc3a280;if(_0x5666b1['prototype'][_0x5031de(0x16f)+_0x3c4a08])return;_0x5666b1[_0x5031de(0x14e)][_0x5031de(0x16f)+_0x3c4a08]=!![];const _0x589313=_0x5666b1[_0x5031de(0x14e)][_0x3c4a08];_0x5666b1[_0x5031de(0x14e)][_0x3c4a08]=async function(){const _0xb32a4b=_0x5031de;let _0x4be9df=_0x589313[_0xb32a4b(0x137)](this,arguments);_0x4be9df&&_0x4be9df[_0xb32a4b(0x153)]&&(_0x4be9df=await _0x4be9df);try{const _0x375d19=this[_0xb32a4b(0x140)]();await exports[_0xb32a4b(0x16b)](_0x375d19,_0x3c4a08,_0x1154d8);}catch(_0x5f416d){logger[_0xb32a4b(0x15d)]('Error\x20patching\x20'+_0x3c4a08+_0xb32a4b(0x133)+_0x5f416d);}return _0x4be9df;};});}},exports['overrideXforPercy']=function(_0x3e07a4,_0x372e0c,_0x2eb439){const _0x2373e3=a116_0x371e1b,_0x307159={};_0x307159[_0x2373e3(0x13b)]=function(_0x4a1a7c,_0x1090fe){return _0x4a1a7c+_0x1090fe;},_0x307159[_0x2373e3(0x14a)]='patch',_0x307159[_0x2373e3(0x12f)]=function(_0x549157,_0x3cfadb){return _0x549157+_0x3cfadb;},_0x307159['wnBaZ']=_0x2373e3(0x157);const _0x1662c4=_0x307159,_0x21e825=_0x1662c4[_0x2373e3(0x13b)](_0x1662c4[_0x2373e3(0x14a)],_0x372e0c),_0x5720c9=_0x1662c4[_0x2373e3(0x12f)](_0x1662c4[_0x2373e3(0x149)],_0x372e0c),_0x31bee0=this;if(_0x3e07a4[_0x21e825]||!_0x3e07a4[_0x372e0c])return;_0x3e07a4[_0x21e825]=!![],_0x3e07a4[_0x5720c9]=_0x3e07a4[_0x372e0c],_0x3e07a4[_0x372e0c]=async()=>{const _0x2a2ff6=_0x2373e3;try{await _0x31bee0[_0x2a2ff6(0x16b)](_0x3e07a4,_0x372e0c,_0x2eb439);}catch(_0x4b1d01){logger[_0x2a2ff6(0x15d)]('Error\x20patching\x20'+_0x372e0c+_0x2a2ff6(0x133)+_0x4b1d01);}return await _0x3e07a4[_0x5720c9]['apply'](_0x3e07a4,arguments);};},exports[a116_0x371e1b(0x155)]=_0x4481a5=>{const _0x16f753=a116_0x371e1b,_0x5ed734={};_0x5ed734['ZwsvJ']=_0x16f753(0x16e);const _0x512374=_0x5ed734,_0x64b57f={};_0x64b57f[_0x16f753(0x15e)]=_0x4481a5[_0x16f753(0x15e)],_0x64b57f[_0x16f753(0x13f)]=_0x4481a5[_0x16f753(0x13f)]||_0x512374[_0x16f753(0x145)];const _0x17974e=_0x64b57f;_0x4481a5[_0x16f753(0x15e)]&&(_0x17974e[_0x16f753(0x151)]=exports['getBestPlatformForPercySnapshot'](_0x4481a5['platforms']));;return _0x17974e;};