browserstack-node-sdk 1.49.10 → 1.49.11

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 (186) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test.setup.js +1 -1
  67. package/src/bin/jest/test_before.setup.js +1 -1
  68. package/src/bin/launcher/launcher.js +1 -1
  69. package/src/bin/load/index.js +1 -1
  70. package/src/bin/load/loadUtils.js +1 -1
  71. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  72. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  73. package/src/bin/mocha/command.js +1 -1
  74. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  75. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  76. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  77. package/src/bin/mocha/test.setup.js +1 -1
  78. package/src/bin/nightwatch/command.js +1 -1
  79. package/src/bin/playwright/accessibility-helper.js +1 -1
  80. package/src/bin/playwright/command.js +1 -1
  81. package/src/bin/playwright/globalSetup.js +1 -1
  82. package/src/bin/playwright/mock-process.js +1 -1
  83. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  84. package/src/bin/playwright/patches.js +1 -1
  85. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  86. package/src/bin/playwright/reporter/reporter.js +1 -1
  87. package/src/bin/playwright/reporter/test-details.js +1 -1
  88. package/src/bin/playwright/sessionDetails.js +1 -1
  89. package/src/bin/runner.js +1 -1
  90. package/src/bin/setup.js +1 -1
  91. package/src/bin/test-runner/index.js +1 -1
  92. package/src/bin/test-runner/runTest.js +1 -1
  93. package/src/bin/test-runner/testWorker.js +1 -1
  94. package/src/bin/utils/apiUtilityMethods.js +1 -1
  95. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  96. package/src/bin/utils/constants.js +1 -1
  97. package/src/bin/utils/log4jsAppender.js +1 -1
  98. package/src/bin/utils/logPatcher.js +1 -1
  99. package/src/bin/utils/logReportingAPI.js +1 -1
  100. package/src/bin/utils/playwright-patcher.js +1 -1
  101. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  102. package/src/bin/utils/sharedUtils.js +1 -1
  103. package/src/bin/v2/TestInfo.js +1 -1
  104. package/src/bin/v2/browserstackCLI.js +1 -1
  105. package/src/bin/v2/cliUtils.js +1 -1
  106. package/src/bin/v2/customTagManager.js +1 -1
  107. package/src/bin/v2/eventDispatcher.js +1 -1
  108. package/src/bin/v2/framework/automationFramework.js +1 -1
  109. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  110. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  111. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  112. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  113. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  114. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  115. package/src/bin/v2/framework/testFramework.js +1 -1
  116. package/src/bin/v2/grpcClient.js +1 -1
  117. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  118. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  119. package/src/bin/v2/instances/trackedContext.js +1 -1
  120. package/src/bin/v2/instances/trackedInstance.js +1 -1
  121. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  122. package/src/bin/v2/modules/baseModule.js +1 -1
  123. package/src/bin/v2/modules/loadTestModule.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/v2/utils/jest-utils.js +1 -1
  133. package/src/bin/vanilla-js/command.js +1 -1
  134. package/src/browserStackSdk.js +1 -1
  135. package/src/helpers/BrowserStackSetup.js +1 -1
  136. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  137. package/src/helpers/accessibility-automation/constants.js +1 -1
  138. package/src/helpers/accessibility-automation/helper.js +1 -1
  139. package/src/helpers/accessibility-automation/scripts.js +1 -1
  140. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  141. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  142. package/src/helpers/ats/constants.js +1 -1
  143. package/src/helpers/ats/helper.js +1 -1
  144. package/src/helpers/capsMapping.js +1 -1
  145. package/src/helpers/central-scanner/constants.js +1 -1
  146. package/src/helpers/central-scanner/helpers.js +1 -1
  147. package/src/helpers/classLogger.js +1 -1
  148. package/src/helpers/globals.js +1 -1
  149. package/src/helpers/helper.js +1 -1
  150. package/src/helpers/logger.js +1 -1
  151. package/src/helpers/metadata.js +1 -1
  152. package/src/helpers/patchHelper.js +1 -1
  153. package/src/helpers/patchHelpers.js +1 -1
  154. package/src/helpers/percy/Percy.js +1 -1
  155. package/src/helpers/percy/PercyBinary.js +1 -1
  156. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  157. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  158. package/src/helpers/percy/PercySDK.js +1 -1
  159. package/src/helpers/percy/index.js +1 -1
  160. package/src/helpers/percy/utils.js +1 -1
  161. package/src/helpers/performance/constants.js +1 -1
  162. package/src/helpers/performance/performance-tester.js +1 -1
  163. package/src/helpers/playwright-helper.js +1 -1
  164. package/src/helpers/processHelper.js +1 -1
  165. package/src/helpers/request-spy.js +1 -1
  166. package/src/helpers/setKeepAlive.js +1 -1
  167. package/src/helpers/test-observability/constants.js +1 -1
  168. package/src/helpers/test-observability/error-handler.js +1 -1
  169. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  170. package/src/helpers/test-observability/sessionHandler.js +1 -1
  171. package/src/helpers/test-observability/utils.js +1 -1
  172. package/src/helpers/test-orchestration/constants.js +1 -1
  173. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  174. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  175. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  176. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  177. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  178. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  179. package/src/helpers/testhub/constants.js +1 -1
  180. package/src/helpers/testhub/testhubHandler.js +1 -1
  181. package/src/helpers/testhub/utils.js +1 -1
  182. package/src/helpers/timeoutPromise.js +1 -1
  183. package/src/helpers/utilities.js +1 -1
  184. package/src/helpers/w3cMapping.js +1 -1
  185. package/src/hubAllocationMethods.js +1 -1
  186. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a135_0x28cd(){const _0x100c6a=[']\x20Sending\x20','env','298350eyNsya',']\x20Missing\x20parameters\x20for\x20getFailedTestsCount:\x20buildName=',',\x20status:\x20','uJVlm','Bearer\x20','debug','postSplitFiles','TwxKD',']\x20Successfully\x20posted\x20split\x20files\x20to\x20','Failed\x20to\x20parse\x20JSON\x20response:\x20',',\x20buildRunIdentifier=','url','getFailedTestsCount','error','&projectName=','_request','cbEYg','440888hDIFAz','AzrST','exports','sGAIx','status','\x20and\x20token:\x20','POST','headers','gnRpW',']\x20Failed\x20to\x20parse\x20JSON\x20response:\x20','?buildName=','gHXSv','COHic','NhtTP','PUT','../logger','end','JYVrN','write','30BJRxFR','undefined','data','BaooB','getSplitFiles','88DUStYU','application/json','parse','request','stack','krHdg','htdjg','GET',',\x20projectName=','message','RequestUtils','3hjpAsK','pCnWc','8440900VqRQBE','Rzadc','GHEKV','333508QDtvkS','./constants','LJwVx',']\x20Failed\x20to\x20post\x20split\x20files\x20to\x20','stringify','790420Vsqwuz','Missing\x20required\x20parameters:\x20buildName,\x20buildRunIdentifier,\x20projectName','lVByB','NRcNu','body','Content-Type','420588aOBuSu','failedTestsCount','548565vxnjAP','winstonLogger','DFsHP','XkzUi',']\x20Error\x20in\x20putFailedTests:\x20','oiruH','Gngiz'];a135_0x28cd=function(){return _0x100c6a;};return a135_0x28cd();}const a135_0x2c920c=a135_0x335c;(function(_0x3ab957,_0x123b1d){const _0x21f65f=a135_0x335c,_0x5a3895=_0x3ab957();while(!![]){try{const _0x374fb5=parseInt(_0x21f65f(0xf3))/0x1+parseInt(_0x21f65f(0x10f))/0x2+parseInt(_0x21f65f(0xe3))/0x3*(-parseInt(_0x21f65f(0xed))/0x4)+parseInt(_0x21f65f(0xf5))/0x5*(-parseInt(_0x21f65f(0xd3))/0x6)+-parseInt(_0x21f65f(0xe8))/0x7+parseInt(_0x21f65f(0xd8))/0x8*(-parseInt(_0x21f65f(0xfe))/0x9)+parseInt(_0x21f65f(0xe5))/0xa;if(_0x374fb5===_0x123b1d)break;else _0x5a3895['push'](_0x5a3895['shift']());}catch(_0x4890bb){_0x5a3895['push'](_0x5a3895['shift']());}}}(a135_0x28cd,0x4fc02));function a135_0x335c(_0x403594,_0x2951bf){const _0x28cdc8=a135_0x28cd();return a135_0x335c=function(_0x335ccd,_0x561988){_0x335ccd=_0x335ccd-0xc9;let _0x2eeebf=_0x28cdc8[_0x335ccd];return _0x2eeebf;},a135_0x335c(_0x403594,_0x2951bf);}const https=require('https'),{URL}=require(a135_0x2c920c(0x109)),logger=require(a135_0x2c920c(0xcf))[a135_0x2c920c(0xf6)],{ORCHESTRATION_API_URL,FAILED_TESTS_ENDPOINT,SPLIT_TESTS_ENDPOINT}=require(a135_0x2c920c(0xe9)),TAG=a135_0x2c920c(0xe2);class RequestUtils{static async[a135_0x2c920c(0x10d)](_0xb21411,_0x6b654c,_0x4cc125=null){const _0x2bc49d=a135_0x2c920c,_0x244f2b={'VVAMC':function(_0x382016,_0x6392c9){return _0x382016(_0x6392c9);},'uJVlm':_0x2bc49d(0xd5),'gHXSv':_0x2bc49d(0xd0),'LJwVx':'error','eOJnA':function(_0x201e7b,_0x55ab74){return _0x201e7b===_0x55ab74;},'NRcNu':'POST','BaooB':function(_0x9d8ced,_0x5266a8){return _0x9d8ced===_0x5266a8;},'cbEYg':_0x2bc49d(0xce),'gnRpW':_0x2bc49d(0xd9),'JYVrN':function(_0x5ab6aa,_0x2b5b6f){return _0x5ab6aa+_0x2b5b6f;}},_0x42d8b3=process[_0x2bc49d(0xfd)]['BROWSERSTACK_TESTHUB_JWT']||'',_0x168a12={};_0x168a12['Authorization']=_0x2bc49d(0x102)+_0x42d8b3,_0x168a12[_0x2bc49d(0xf2)]=_0x244f2b[_0x2bc49d(0x117)];const _0x2db401=_0x168a12,{hostname:_0x521d8e,pathname:_0x470684,search:_0x5df906}=new URL(_0x6b654c),_0x575679={'hostname':_0x521d8e,'path':_0x244f2b[_0x2bc49d(0xd1)](_0x470684,_0x5df906),'method':_0xb21411,'headers':_0x2db401};return logger['debug']('['+TAG+_0x2bc49d(0xfc)+_0xb21411+'\x20request\x20to\x20'+_0x6b654c+'\x20with\x20headers:\x20'+JSON[_0x2bc49d(0xec)](_0x2db401)+'\x20and\x20data:\x20'+JSON['stringify'](_0x4cc125)+_0x2bc49d(0x114)+_0x42d8b3),new Promise((_0xe739f8,_0x22ae03)=>{const _0x120f84=_0x2bc49d,_0x570318={'AzrST':function(_0x5643aa,_0x5e5e4f){return _0x244f2b['VVAMC'](_0x5643aa,_0x5e5e4f);},'lVByB':_0x244f2b[_0x120f84(0x101)],'GHEKV':_0x244f2b[_0x120f84(0xcb)]},_0x524d71=https[_0x120f84(0xdb)](_0x575679,_0x1f39b8=>{const _0x262b81=_0x120f84,_0x578949={'sGAIx':function(_0x24eac7,_0x3c713c){return _0x570318['AzrST'](_0x24eac7,_0x3c713c);}};let _0x23e821='';_0x1f39b8['on'](_0x570318[_0x262b81(0xef)],_0x1be6d3=>{_0x23e821+=_0x1be6d3;}),_0x1f39b8['on'](_0x570318[_0x262b81(0xe7)],()=>{const _0x272fb9=_0x262b81;try{const _0x10c9b8=_0x23e821?JSON[_0x272fb9(0xda)](_0x23e821):{},_0x427bda={};_0x427bda[_0x272fb9(0x113)]=_0x1f39b8['statusCode'],_0x427bda[_0x272fb9(0xf1)]=_0x10c9b8,_0x427bda[_0x272fb9(0x116)]=_0x1f39b8[_0x272fb9(0x116)],_0x578949[_0x272fb9(0x112)](_0xe739f8,_0x427bda);}catch(_0x2b1f5f){logger[_0x272fb9(0x10b)]('['+TAG+_0x272fb9(0xc9)+_0x23e821+'\x20-\x20'+_0x2b1f5f[_0x272fb9(0xe1)]+'\x20'+_0x2b1f5f['stack']),_0x578949[_0x272fb9(0x112)](_0x22ae03,new Error(_0x272fb9(0x107)+_0x2b1f5f[_0x272fb9(0xe1)]));}});});_0x524d71['on'](_0x244f2b[_0x120f84(0xea)],_0x68cf88=>{const _0x2cd863=_0x120f84;logger[_0x2cd863(0x10b)]('['+TAG+']\x20Request\x20failed\x20for\x20'+_0xb21411+'\x20'+_0x6b654c+':\x20'+_0x68cf88[_0x2cd863(0xe1)]+'\x20'+_0x68cf88['stack']),_0x570318[_0x2cd863(0x110)](_0x22ae03,_0x68cf88);}),_0x4cc125&&(_0x244f2b['eOJnA'](_0xb21411,_0x244f2b[_0x120f84(0xf0)])||_0x244f2b[_0x120f84(0xd6)](_0xb21411,_0x244f2b[_0x120f84(0x10e)]))&&_0x524d71[_0x120f84(0xd2)](JSON[_0x120f84(0xec)](_0x4cc125)),_0x524d71[_0x120f84(0xd0)]();});}static async[a135_0x2c920c(0x104)](_0x444742){const _0x5cacaf=a135_0x2c920c,_0x18030e={};_0x18030e[_0x5cacaf(0xcc)]=_0x5cacaf(0x115),_0x18030e[_0x5cacaf(0xcd)]=function(_0x110c98,_0x11320c){return _0x110c98===_0x11320c;};const _0x2f6043=_0x18030e,_0x34dd7c=ORCHESTRATION_API_URL+'/'+SPLIT_TESTS_ENDPOINT;try{const _0x1b3016=await this['_request'](_0x2f6043[_0x5cacaf(0xcc)],_0x34dd7c,_0x444742);return _0x2f6043[_0x5cacaf(0xcd)](_0x1b3016[_0x5cacaf(0x113)],0xc8)?logger[_0x5cacaf(0x103)]('['+TAG+_0x5cacaf(0x106)+_0x34dd7c):logger[_0x5cacaf(0x10b)]('['+TAG+_0x5cacaf(0xeb)+_0x34dd7c+':\x20'+JSON[_0x5cacaf(0xec)](_0x1b3016[_0x5cacaf(0xf1)])+_0x5cacaf(0x100)+_0x1b3016[_0x5cacaf(0x113)]),_0x1b3016;}catch(_0x5ef344){logger[_0x5cacaf(0x10b)]('['+TAG+']\x20Error\x20in\x20putFailedTests:\x20'+_0x5ef344['message']+'\x20'+_0x5ef344[_0x5cacaf(0xdc)]);const _0xfd0c2b={};_0xfd0c2b[_0x5cacaf(0xe1)]=_0x5ef344[_0x5cacaf(0xe1)];const _0x4ec67d={};return _0x4ec67d[_0x5cacaf(0x113)]=0x1f4,_0x4ec67d[_0x5cacaf(0xf1)]=_0xfd0c2b,_0x4ec67d;}}static async[a135_0x2c920c(0xd7)](_0x28d1d3){const _0x56f530=a135_0x2c920c,_0x31ac6c={};_0x31ac6c['cTMUM']=_0x56f530(0xdf),_0x31ac6c[_0x56f530(0x105)]=function(_0x3364a2,_0x340720){return _0x3364a2===_0x340720;};const _0x1a1879=_0x31ac6c;try{const _0x190d74=await this[_0x56f530(0x10d)](_0x1a1879['cTMUM'],_0x28d1d3);if(_0x1a1879[_0x56f530(0x105)](_0x190d74['status'],0xc8))return _0x190d74[_0x56f530(0xf1)];return{};}catch(_0x151dcb){return logger[_0x56f530(0x10b)]('['+TAG+_0x56f530(0xf9)+_0x151dcb['message']+'\x20'+_0x151dcb[_0x56f530(0xdc)]),{};}}static async['putFailedTests'](_0xd78d65){const _0x277acb=a135_0x2c920c,_0x2dd0eb={};_0x2dd0eb[_0x277acb(0xe4)]=_0x277acb(0xce),_0x2dd0eb[_0x277acb(0xfb)]=function(_0x173079,_0x3d6068){return _0x173079===_0x3d6068;},_0x2dd0eb['vDRCO']='Test\x20added';const _0x193bcc=_0x2dd0eb,_0x4c5cb1=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT;try{const _0x167ea2=await this[_0x277acb(0x10d)](_0x193bcc[_0x277acb(0xe4)],_0x4c5cb1,_0xd78d65);if(_0x193bcc[_0x277acb(0xfb)](_0x167ea2[_0x277acb(0x113)],0xc8)&&_0x167ea2[_0x277acb(0xf1)]&&_0x193bcc[_0x277acb(0xfb)](_0x167ea2[_0x277acb(0xf1)][_0x277acb(0xe1)],_0x193bcc['vDRCO']))return!![];return![];}catch(_0x2184c3){logger[_0x277acb(0x10b)]('['+TAG+']\x20Error\x20in\x20putFailedTests:\x20'+_0x2184c3['message']+'\x20'+_0x2184c3[_0x277acb(0xdc)]);const _0x3dd6d0={};_0x3dd6d0[_0x277acb(0xe1)]=_0x2184c3[_0x277acb(0xe1)];const _0x3a2578={};return _0x3a2578['status']=0x1f4,_0x3a2578[_0x277acb(0xf1)]=_0x3dd6d0,_0x3a2578;}}static async[a135_0x2c920c(0x10a)](_0x372964){const _0x44181e=a135_0x2c920c,_0x1220b3={'htdjg':function(_0x535b45,_0xf23fdf){return _0x535b45||_0xf23fdf;},'Rzadc':_0x44181e(0xee),'oiruH':function(_0x21da4a,_0x27f243){return _0x21da4a(_0x27f243);},'DFsHP':function(_0x3d32cc,_0x1b3b97){return _0x3d32cc(_0x1b3b97);},'eQEeS':_0x44181e(0xdf),'krHdg':function(_0x5294ed,_0xfe44b2){return _0x5294ed===_0xfe44b2;},'XkzUi':function(_0x10f03b,_0x310a16){return _0x10f03b!==_0x310a16;},'XfUVO':_0x44181e(0xd4),'GmyyZ':function(_0x1ee42a,_0x252d9){return _0x1ee42a(_0x252d9);}},{buildName:_0x380a3f,buildRunIdentifier:_0x332ebe,projectName:_0x1d2087}=_0x372964;if(_0x1220b3[_0x44181e(0xde)](!_0x380a3f,!_0x332ebe)||!_0x1d2087){logger[_0x44181e(0x10b)]('['+TAG+_0x44181e(0xff)+_0x380a3f+_0x44181e(0x108)+_0x332ebe+_0x44181e(0xe0)+_0x1d2087);const _0x2eb999={};_0x2eb999['message']=_0x1220b3[_0x44181e(0xe6)];const _0x29d387={};return _0x29d387[_0x44181e(0x113)]=0x190,_0x29d387[_0x44181e(0xf1)]=_0x2eb999,_0x29d387;}const _0x1dec84=_0x44181e(0xca)+_0x1220b3[_0x44181e(0xfa)](encodeURIComponent,_0x380a3f)+'&buildRunIdentifier='+_0x1220b3[_0x44181e(0xfa)](encodeURIComponent,_0x332ebe)+_0x44181e(0x10c)+_0x1220b3[_0x44181e(0xf7)](encodeURIComponent,_0x1d2087),_0x29209f=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT+_0x1dec84;try{logger[_0x44181e(0x103)]('['+TAG+']\x20Sending\x20GET\x20to\x20'+_0x29209f);let _0x3b80d3=0x0;const _0x4cd929=await this[_0x44181e(0x10d)](_0x1220b3['eQEeS'],_0x29209f);return _0x1220b3[_0x44181e(0xdd)](_0x4cd929[_0x44181e(0x113)],0xc8)&&_0x4cd929['body']&&_0x1220b3[_0x44181e(0xf8)](typeof _0x4cd929[_0x44181e(0xf1)][_0x44181e(0xf4)],_0x1220b3['XfUVO'])&&(_0x3b80d3=_0x1220b3['GmyyZ'](Number,_0x4cd929[_0x44181e(0xf1)][_0x44181e(0xf4)])),_0x3b80d3;}catch(_0x46afa0){logger[_0x44181e(0x10b)]('['+TAG+']\x20Error\x20in\x20getFailedTestsCount:\x20'+_0x46afa0[_0x44181e(0xe1)]+'\x20'+_0x46afa0[_0x44181e(0xdc)]);const _0x1d9570={};_0x1d9570[_0x44181e(0xe1)]=_0x46afa0[_0x44181e(0xe1)];const _0x57baf4={};return _0x57baf4['status']=0x1f4,_0x57baf4[_0x44181e(0xf1)]=_0x1d9570,_0x57baf4;}}}module[a135_0x2c920c(0x111)]=RequestUtils;
1
+ function a135_0x19e0(_0x33eaf7,_0x4c2930){const _0x109755=a135_0x1097();return a135_0x19e0=function(_0x19e07f,_0x24400b){_0x19e07f=_0x19e07f-0x108;let _0xce3400=_0x109755[_0x19e07f];return _0xce3400;},a135_0x19e0(_0x33eaf7,_0x4c2930);}const a135_0x2a7d51=a135_0x19e0;(function(_0x2e3054,_0x3a5db1){const _0x5a34b6=a135_0x19e0,_0x515ee2=_0x2e3054();while(!![]){try{const _0x2468c5=-parseInt(_0x5a34b6(0x141))/0x1+parseInt(_0x5a34b6(0x13f))/0x2+parseInt(_0x5a34b6(0x114))/0x3+-parseInt(_0x5a34b6(0x134))/0x4+parseInt(_0x5a34b6(0x153))/0x5*(-parseInt(_0x5a34b6(0x127))/0x6)+parseInt(_0x5a34b6(0x139))/0x7+parseInt(_0x5a34b6(0x123))/0x8*(parseInt(_0x5a34b6(0x136))/0x9);if(_0x2468c5===_0x3a5db1)break;else _0x515ee2['push'](_0x515ee2['shift']());}catch(_0x18dfef){_0x515ee2['push'](_0x515ee2['shift']());}}}(a135_0x1097,0xb1e90));function a135_0x1097(){const _0x2c5e59=['Bearer\x20','data','sWRSL',']\x20Sending\x20GET\x20to\x20',']\x20Error\x20in\x20putFailedTests:\x20','./constants','ffmNn','rsQpB','1990752atLUGE','trOWe','sYOEl','enQnE','message','failedTestsCount','stringify','WLggE','putFailedTests','Missing\x20required\x20parameters:\x20buildName,\x20buildRunIdentifier,\x20projectName','body','rjYGb','https','YmcMN',']\x20Sending\x20','40KIRcbF','_request','write','POST','7219602pnxIgp','Content-Type','BROWSERSTACK_TESTHUB_JWT','qtyYU','parse','tLUTU','end','aLKRb','GCoYr','stack','../logger','FfntO','pkvtR','4280384iXIFsc','getSplitFiles','4040460IxETZA',']\x20Request\x20failed\x20for\x20','clqjS','1179458RpzzvP','statusCode','TOfDi','getFailedTestsCount','undefined','nzkCY','2590824EOKXKq','SyojG','1370107nanfiY','crrOl','\x20-\x20',',\x20buildRunIdentifier=','debug','PUT','nqrzW','CkybF','VqOjB','postSplitFiles','\x20with\x20headers:\x20','BqzLs','winstonLogger','doMzZ','\x20request\x20to\x20','env','GET',',\x20projectName=','5raeanh',']\x20Error\x20in\x20getFailedTestsCount:\x20','error','\x20and\x20token:\x20','&projectName=','status'];a135_0x1097=function(){return _0x2c5e59;};return a135_0x1097();}const https=require(a135_0x2a7d51(0x120)),{URL}=require('url'),logger=require(a135_0x2a7d51(0x131))[a135_0x2a7d51(0x14d)],{ORCHESTRATION_API_URL,FAILED_TESTS_ENDPOINT,SPLIT_TESTS_ENDPOINT}=require(a135_0x2a7d51(0x111)),TAG='RequestUtils';class RequestUtils{static async[a135_0x2a7d51(0x124)](_0x5058b6,_0x500d03,_0x19682c=null){const _0x1da4a2=a135_0x2a7d51,_0x24c5c9={'doMzZ':function(_0x1ea7ca,_0x3220fd){return _0x1ea7ca(_0x3220fd);},'trOWe':_0x1da4a2(0x10d),'enQnE':_0x1da4a2(0x12d),'YmcMN':'error','nqrzW':function(_0x4e830e,_0x52b71a){return _0x4e830e===_0x52b71a;},'sYOEl':_0x1da4a2(0x126),'OMall':function(_0x285b03,_0x2d5753){return _0x285b03===_0x2d5753;},'WsnHJ':'PUT','rsQpB':'application/json','VqOjB':function(_0x7dd306,_0x493a1f){return _0x7dd306+_0x493a1f;}},_0x2674f7=process[_0x1da4a2(0x150)][_0x1da4a2(0x129)]||'',_0x2e1da8={};_0x2e1da8['Authorization']=_0x1da4a2(0x10c)+_0x2674f7,_0x2e1da8[_0x1da4a2(0x128)]=_0x24c5c9[_0x1da4a2(0x113)];const _0x53c9ec=_0x2e1da8,{hostname:_0x27afae,pathname:_0x28219a,search:_0x32a1e4}=new URL(_0x500d03),_0x34d8bd={'hostname':_0x27afae,'path':_0x24c5c9[_0x1da4a2(0x149)](_0x28219a,_0x32a1e4),'method':_0x5058b6,'headers':_0x53c9ec};return logger[_0x1da4a2(0x145)]('['+TAG+_0x1da4a2(0x122)+_0x5058b6+_0x1da4a2(0x14f)+_0x500d03+_0x1da4a2(0x14b)+JSON['stringify'](_0x53c9ec)+'\x20and\x20data:\x20'+JSON['stringify'](_0x19682c)+_0x1da4a2(0x109)+_0x2674f7),new Promise((_0x2ac36a,_0x3763d7)=>{const _0x47223b=_0x1da4a2,_0x42916a={'TOfDi':function(_0xb0fe7e,_0x7b466c){const _0x5ef213=a135_0x19e0;return _0x24c5c9[_0x5ef213(0x14e)](_0xb0fe7e,_0x7b466c);},'nzkCY':_0x24c5c9[_0x47223b(0x115)],'BqzLs':_0x24c5c9[_0x47223b(0x117)]},_0x607601=https['request'](_0x34d8bd,_0x162732=>{const _0x21858f=_0x47223b;let _0x228559='';_0x162732['on'](_0x42916a[_0x21858f(0x13e)],_0xe57e87=>{_0x228559+=_0xe57e87;}),_0x162732['on'](_0x42916a[_0x21858f(0x14c)],()=>{const _0x1bd653=_0x21858f;try{const _0x107ac1=_0x228559?JSON[_0x1bd653(0x12b)](_0x228559):{},_0x1dee1c={};_0x1dee1c[_0x1bd653(0x10b)]=_0x162732[_0x1bd653(0x13a)],_0x1dee1c[_0x1bd653(0x11e)]=_0x107ac1,_0x1dee1c['headers']=_0x162732['headers'],_0x42916a[_0x1bd653(0x13b)](_0x2ac36a,_0x1dee1c);}catch(_0x1f770d){logger[_0x1bd653(0x108)]('['+TAG+']\x20Failed\x20to\x20parse\x20JSON\x20response:\x20'+_0x228559+_0x1bd653(0x143)+_0x1f770d[_0x1bd653(0x118)]+'\x20'+_0x1f770d[_0x1bd653(0x130)]),_0x42916a[_0x1bd653(0x13b)](_0x3763d7,new Error('Failed\x20to\x20parse\x20JSON\x20response:\x20'+_0x1f770d[_0x1bd653(0x118)]));}});});_0x607601['on'](_0x24c5c9[_0x47223b(0x121)],_0x1a01d8=>{const _0x11ef21=_0x47223b;logger[_0x11ef21(0x108)]('['+TAG+_0x11ef21(0x137)+_0x5058b6+'\x20'+_0x500d03+':\x20'+_0x1a01d8[_0x11ef21(0x118)]+'\x20'+_0x1a01d8[_0x11ef21(0x130)]),_0x24c5c9['doMzZ'](_0x3763d7,_0x1a01d8);}),_0x19682c&&(_0x24c5c9[_0x47223b(0x147)](_0x5058b6,_0x24c5c9[_0x47223b(0x116)])||_0x24c5c9['OMall'](_0x5058b6,_0x24c5c9['WsnHJ']))&&_0x607601[_0x47223b(0x125)](JSON[_0x47223b(0x11a)](_0x19682c)),_0x607601['end']();});}static async[a135_0x2a7d51(0x14a)](_0x540332){const _0x5e68a4=a135_0x2a7d51,_0x557caa={};_0x557caa[_0x5e68a4(0x11b)]=_0x5e68a4(0x126),_0x557caa['FfntO']=function(_0x373475,_0x5d725c){return _0x373475===_0x5d725c;};const _0x159f7a=_0x557caa,_0x24cda0=ORCHESTRATION_API_URL+'/'+SPLIT_TESTS_ENDPOINT;try{const _0xb0deae=await this[_0x5e68a4(0x124)](_0x159f7a['WLggE'],_0x24cda0,_0x540332);return _0x159f7a[_0x5e68a4(0x132)](_0xb0deae[_0x5e68a4(0x10b)],0xc8)?logger[_0x5e68a4(0x145)]('['+TAG+']\x20Successfully\x20posted\x20split\x20files\x20to\x20'+_0x24cda0):logger[_0x5e68a4(0x108)]('['+TAG+']\x20Failed\x20to\x20post\x20split\x20files\x20to\x20'+_0x24cda0+':\x20'+JSON[_0x5e68a4(0x11a)](_0xb0deae[_0x5e68a4(0x11e)])+',\x20status:\x20'+_0xb0deae[_0x5e68a4(0x10b)]),_0xb0deae;}catch(_0x521702){logger['error']('['+TAG+_0x5e68a4(0x110)+_0x521702['message']+'\x20'+_0x521702['stack']);const _0x83fd05={};_0x83fd05[_0x5e68a4(0x118)]=_0x521702['message'];const _0x3e730e={};return _0x3e730e[_0x5e68a4(0x10b)]=0x1f4,_0x3e730e['body']=_0x83fd05,_0x3e730e;}}static async[a135_0x2a7d51(0x135)](_0x100898){const _0x347683=a135_0x2a7d51,_0x1bd779={};_0x1bd779[_0x347683(0x148)]=_0x347683(0x151),_0x1bd779['czugI']=function(_0x206183,_0xe42944){return _0x206183===_0xe42944;};const _0x514618=_0x1bd779;try{const _0x1c862a=await this[_0x347683(0x124)](_0x514618[_0x347683(0x148)],_0x100898);if(_0x514618['czugI'](_0x1c862a[_0x347683(0x10b)],0xc8))return _0x1c862a[_0x347683(0x11e)];return{};}catch(_0x13da40){return logger[_0x347683(0x108)]('['+TAG+_0x347683(0x110)+_0x13da40[_0x347683(0x118)]+'\x20'+_0x13da40['stack']),{};}}static async[a135_0x2a7d51(0x11c)](_0x4de0f1){const _0x410437=a135_0x2a7d51,_0x210a43={};_0x210a43['tLUTU']=_0x410437(0x146),_0x210a43[_0x410437(0x12a)]=function(_0x5a2af2,_0x134ee1){return _0x5a2af2===_0x134ee1;},_0x210a43[_0x410437(0x138)]=function(_0x56f08c,_0x44d957){return _0x56f08c===_0x44d957;},_0x210a43[_0x410437(0x142)]='Test\x20added';const _0x271797=_0x210a43,_0x479fce=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT;try{const _0x24f553=await this[_0x410437(0x124)](_0x271797[_0x410437(0x12c)],_0x479fce,_0x4de0f1);if(_0x271797[_0x410437(0x12a)](_0x24f553[_0x410437(0x10b)],0xc8)&&_0x24f553[_0x410437(0x11e)]&&_0x271797[_0x410437(0x138)](_0x24f553['body'][_0x410437(0x118)],_0x271797[_0x410437(0x142)]))return!![];return![];}catch(_0x12fd51){logger[_0x410437(0x108)]('['+TAG+_0x410437(0x110)+_0x12fd51[_0x410437(0x118)]+'\x20'+_0x12fd51[_0x410437(0x130)]);const _0x539004={};_0x539004[_0x410437(0x118)]=_0x12fd51[_0x410437(0x118)];const _0x559262={};return _0x559262[_0x410437(0x10b)]=0x1f4,_0x559262[_0x410437(0x11e)]=_0x539004,_0x559262;}}static async[a135_0x2a7d51(0x13c)](_0x267f1c){const _0x298073=a135_0x2a7d51,_0x41783f={'tDRka':function(_0x328e59,_0x586556){return _0x328e59||_0x586556;},'GCoYr':_0x298073(0x11d),'pkvtR':function(_0x2803af,_0x3851e8){return _0x2803af(_0x3851e8);},'SyojG':function(_0x5bb4e3,_0x402f41){return _0x5bb4e3(_0x402f41);},'aLKRb':_0x298073(0x151),'rjYGb':function(_0x3f0c96,_0x30884e){return _0x3f0c96===_0x30884e;},'ffmNn':function(_0x5ead81,_0x3b148a){return _0x5ead81!==_0x3b148a;},'sWRSL':_0x298073(0x13d)},{buildName:_0x5d786b,buildRunIdentifier:_0x45f7c2,projectName:_0x34fc68}=_0x267f1c;if(_0x41783f['tDRka'](!_0x5d786b,!_0x45f7c2)||!_0x34fc68){logger[_0x298073(0x108)]('['+TAG+']\x20Missing\x20parameters\x20for\x20getFailedTestsCount:\x20buildName='+_0x5d786b+_0x298073(0x144)+_0x45f7c2+_0x298073(0x152)+_0x34fc68);const _0x137be6={};_0x137be6[_0x298073(0x118)]=_0x41783f[_0x298073(0x12f)];const _0x1ee4ac={};return _0x1ee4ac[_0x298073(0x10b)]=0x190,_0x1ee4ac[_0x298073(0x11e)]=_0x137be6,_0x1ee4ac;}const _0x4798ca='?buildName='+_0x41783f[_0x298073(0x133)](encodeURIComponent,_0x5d786b)+'&buildRunIdentifier='+_0x41783f['pkvtR'](encodeURIComponent,_0x45f7c2)+_0x298073(0x10a)+_0x41783f[_0x298073(0x140)](encodeURIComponent,_0x34fc68),_0x4bb5c8=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT+_0x4798ca;try{logger[_0x298073(0x145)]('['+TAG+_0x298073(0x10f)+_0x4bb5c8);let _0x44d41f=0x0;const _0x30fbbb=await this['_request'](_0x41783f[_0x298073(0x12e)],_0x4bb5c8);return _0x41783f[_0x298073(0x11f)](_0x30fbbb[_0x298073(0x10b)],0xc8)&&_0x30fbbb[_0x298073(0x11e)]&&_0x41783f[_0x298073(0x112)](typeof _0x30fbbb[_0x298073(0x11e)]['failedTestsCount'],_0x41783f[_0x298073(0x10e)])&&(_0x44d41f=_0x41783f[_0x298073(0x133)](Number,_0x30fbbb[_0x298073(0x11e)][_0x298073(0x119)])),_0x44d41f;}catch(_0x5bc650){logger[_0x298073(0x108)]('['+TAG+_0x298073(0x154)+_0x5bc650[_0x298073(0x118)]+'\x20'+_0x5bc650[_0x298073(0x130)]);const _0x1b556f={};_0x1b556f[_0x298073(0x118)]=_0x5bc650['message'];const _0x5526f2={};return _0x5526f2['status']=0x1f4,_0x5526f2[_0x298073(0x11e)]=_0x1b556f,_0x5526f2;}}}module['exports']=RequestUtils;
@@ -1 +1 @@
1
- const a136_0xff1406=a136_0x2362;(function(_0x1ce588,_0x295879){const _0x580bfe=a136_0x2362,_0x140f79=_0x1ce588();while(!![]){try{const _0x9e2b4a=-parseInt(_0x580bfe(0xe9))/0x1*(-parseInt(_0x580bfe(0xe1))/0x2)+parseInt(_0x580bfe(0x10d))/0x3*(parseInt(_0x580bfe(0xbc))/0x4)+parseInt(_0x580bfe(0xe6))/0x5*(parseInt(_0x580bfe(0xff))/0x6)+parseInt(_0x580bfe(0xc2))/0x7+-parseInt(_0x580bfe(0xcf))/0x8+-parseInt(_0x580bfe(0x119))/0x9+-parseInt(_0x580bfe(0xb7))/0xa;if(_0x9e2b4a===_0x295879)break;else _0x140f79['push'](_0x140f79['shift']());}catch(_0x520284){_0x140f79['push'](_0x140f79['shift']());}}}(a136_0xead2,0x5ef7b));function a136_0x2362(_0x277833,_0x4228b7){const _0xead265=a136_0xead2();return a136_0x2362=function(_0x2362af,_0x1354f4){_0x2362af=_0x2362af-0xb0;let _0x16edfb=_0xead265[_0x2362af];return _0x16edfb;},a136_0x2362(_0x277833,_0x4228b7);}const logger=require(a136_0xff1406(0xef))[a136_0xff1406(0xed)],{isUndefined,isNotUndefined,isTrueString,sanitizedFilePath}=require(a136_0xff1406(0x10f)),TestOrderingServerHandler=require(a136_0xff1406(0x100)),OrchestrationUtils=require(a136_0xff1406(0x111)),path=require(a136_0xff1406(0xc1)),{spawnSync}=require(a136_0xff1406(0xe4)),micromatch=require('micromatch'),fs=require('fs');function a136_0xead2(){const _0x4c18bb=['testOrderingServerHandler','dFoMK','FiZaf','BROWSERSTACK_NODE_INDEX','ignore','pzZWV','stack','getTestOrderingName','addToOrderingInstrumentationData','filter','3822488JWboTc','debug','FwZdW','--listTests','OaDQJ','glob','rootDir','orderingInstrumentationData','stringify','buildName','nodeIndex','kSXEW','tVQYv','Error\x20finding\x20test\x20files:\x20','buildIdentifier','projectName','Found\x20test\x20files:\x20','ibAbO','22YYYkHY','Test\x20orchestration\x20without\x20test\x20ordering','testOrderingEnabled','child_process','--config','5uYtKcI','LehLG','relative','59417iLVbYP','getOrderedTestFiles','esmSx','dAXgu','winstonLogger','uploadedTestFilesCount','../logger','wVdsa','isArray','_shouldLogTestOrderingChecks','KDGgG','isTestOrchestrationEnabled','MVjXm','matchBase','[reorderTestFiles]\x20Error\x20in\x20ordering\x20test\x20files:\x20','lekCj','info','findTestFiles','PYoqi','WcLzO','ZkNHz','jest','1929462fgNIVk','./testOrderingServerHandler','stdout','applied','testObservability','bdrld','_initializeTestOrdering','env','updateBuildIdentifier','reorderTestFiles','Filterted\x20to\x20test\x20files:\x20','jest-util','[orchestrate]\x20Setting\x20buildIdentifier\x20to\x20buildRunIdentifier:\x20','mqbZq','3lbTCOv','length','../helper','totalNodes','./orchestrationUtils','jest-runner','[reorderTestFiles]\x20Test\x20ordering\x20is\x20not\x20supported\x20or\x20enabled','split','logTestOrderingChecks','KUFFx','testMatch','BROWSERSTACK_BUILD_RUN_IDENTIFIER','106218WJVZwE','\x20files','splitTests','npx','config','downloadedTestFilesCount','BROWSERSTACK_TOTAL_NODE_COUNT','Test\x20Reordering\x20is\x20unavailable\x20because\x20testReporting\x20is\x20disabled.\x20Please\x20enable\x20it\x20from\x20browserstack.yml\x20file.','map','isTestOrderingApplied','exports','ASHCP','**/?(*.)+(spec|test).[jt]s?(x)','TAnCL','testOrderingApplied','SdbMS','splitTestsAPICallCount','2539230ysFBYr','BevqD','OInlJ','utf-8','Test\x20orchestration\x20with\x20test\x20ordering\x20enabled','74764MpkJfG','ZuCSK','orchestrationUtils','tIjfG','OnzOF','path','970676kVtZTB','NBmaR','getSplitTestsAPICallCount'];a136_0xead2=function(){return _0x4c18bb;};return a136_0xead2();}class TestOrchestrationHandler{constructor(_0x3f7f05){const _0x47f22a=a136_0xff1406,_0x306a2a={};_0x306a2a[_0x47f22a(0xc7)]='2|0|3|1|5|4';const _0x314305=_0x306a2a,_0x5dc703=_0x314305['FiZaf'][_0x47f22a(0x114)]('|');let _0x431cfc=0x0;while(!![]){switch(_0x5dc703[_0x431cfc++]){case'0':this[_0x47f22a(0xd6)]={};continue;case'1':this[_0x47f22a(0xc5)]=null;continue;case'2':this[_0x47f22a(0x11d)]=_0x3f7f05;continue;case'3':this[_0x47f22a(0xb4)]=![];continue;case'4':this[_0x47f22a(0x105)]();continue;case'5':this['orchestrationUtils']=new OrchestrationUtils(_0x3f7f05);continue;}break;}}[a136_0xff1406(0xf4)](){const _0x5a29ec=a136_0xff1406,_0x50977a={'fRZFP':function(_0x482a8b,_0x171e4f){return _0x482a8b(_0x171e4f);},'NBmaR':function(_0x266657,_0x533ef8){return _0x266657(_0x533ef8);},'SdbMS':function(_0x1e2f5a,_0x19ca34){return _0x1e2f5a(_0x19ca34);},'ZuCSK':function(_0x5f376d,_0x4b5742){return _0x5f376d(_0x4b5742);},'Cgqfi':function(_0x1a5d50,_0x522117){return _0x1a5d50&&_0x522117;}},_0x528002=_0x50977a['fRZFP'](isNotUndefined,this[_0x5a29ec(0x11d)])&&(_0x50977a[_0x5a29ec(0xc3)](isUndefined,this[_0x5a29ec(0x11d)][_0x5a29ec(0x103)])||_0x50977a['SdbMS'](isTrueString,this[_0x5a29ec(0x11d)][_0x5a29ec(0x103)])),_0x1be500=this[_0x5a29ec(0xbe)][_0x5a29ec(0xe3)](),_0x522f49=_0x50977a[_0x5a29ec(0xb5)](isNotUndefined,this[_0x5a29ec(0x11d)])&&_0x50977a['fRZFP'](isNotUndefined,this[_0x5a29ec(0x11d)][_0x5a29ec(0xde)]),_0x1765cc=_0x50977a[_0x5a29ec(0xc3)](isNotUndefined,this[_0x5a29ec(0x11d)])&&_0x50977a[_0x5a29ec(0xbd)](isNotUndefined,this['config'][_0x5a29ec(0xd8)]);return _0x50977a['Cgqfi'](_0x528002,_0x1be500)&&_0x522f49&&_0x1765cc;}['_initializeTestOrdering'](){const _0x49db68=a136_0xff1406,_0x37415a={};_0x37415a[_0x49db68(0x116)]=_0x49db68(0xbb),_0x37415a[_0x49db68(0xda)]=_0x49db68(0xe2);const _0x1118f3=_0x37415a;this[_0x49db68(0xf4)]()?(this[_0x49db68(0xc5)]=new TestOrderingServerHandler(this['config']),logger[_0x49db68(0xf9)](_0x1118f3[_0x49db68(0x116)])):(logger[_0x49db68(0xd0)](_0x1118f3[_0x49db68(0xda)]),this[_0x49db68(0x115)]());}['logTestOrderingChecks'](){const _0x18a806=a136_0xff1406,_0x1906c5={'dFoMK':function(_0x256389,_0x1d279b){return _0x256389(_0x1d279b);},'dZzwm':'Test\x20Reordering\x20is\x20unavailable\x20because\x20buildName\x20or\x20projectName\x20is\x20null.\x20Please\x20set\x20a\x20non-null\x20value.','mqbZq':function(_0x1aacce,_0x28c36a){return _0x1aacce(_0x28c36a);},'LehLG':_0x18a806(0x120)};if(!this[_0x18a806(0xf2)]())return;(!_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this[_0x18a806(0x11d)])||!_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this[_0x18a806(0x11d)]['buildName'])||!_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this[_0x18a806(0x11d)][_0x18a806(0xde)]))&&logger[_0x18a806(0xf9)](_0x1906c5['dZzwm']),_0x1906c5[_0x18a806(0xc6)](isNotUndefined,this['config'])&&_0x1906c5['dFoMK'](isNotUndefined,this['config']['testObservability'])&&!_0x1906c5[_0x18a806(0x10c)](isTrueString,this[_0x18a806(0x11d)][_0x18a806(0x103)])&&logger[_0x18a806(0xf9)](_0x1906c5[_0x18a806(0xe7)]);}[a136_0xff1406(0xf2)](){const _0xd5dfd=a136_0xff1406;return!this[_0xd5dfd(0xf4)]()&&this[_0xd5dfd(0xbe)][_0xd5dfd(0xe3)]();}[a136_0xff1406(0x122)](){const _0x2c4c9b=a136_0xff1406;return this[_0x2c4c9b(0xb4)];}['setTestOrderingApplied'](_0x532747){const _0x2289ae=a136_0xff1406,_0x447f77={};_0x447f77[_0x2289ae(0x104)]=_0x2289ae(0x102);const _0x5bafb1=_0x447f77;this[_0x2289ae(0xb4)]=_0x532747,this['addToOrderingInstrumentationData'](_0x5bafb1[_0x2289ae(0x104)],_0x532747);}[a136_0xff1406(0xcd)](_0x3018ce,_0x21829b){const _0x205884=a136_0xff1406;this[_0x205884(0xd6)][_0x3018ce]=_0x21829b;}['getOrderingInstrumentationData'](){const _0x3e5426=a136_0xff1406;return this[_0x3e5426(0xd6)];}[a136_0xff1406(0x107)](){const _0x4efc09=a136_0xff1406,_0x4cab0a={'ORBZP':function(_0x3178d4,_0x5f2368){return _0x3178d4(_0x5f2368);},'zRtvr':function(_0x2852f2,_0x26a591){return _0x2852f2>_0x26a591;}},_0x131369=_0x4cab0a['ORBZP'](parseInt,process[_0x4efc09(0x106)][_0x4efc09(0x11f)]||'1'),_0x3dc9ea=process[_0x4efc09(0x106)][_0x4efc09(0x118)];_0x3dc9ea&&_0x4cab0a['zRtvr'](_0x131369,0x1)&&(logger[_0x4efc09(0xd0)](_0x4efc09(0x10b)+_0x3dc9ea),this[_0x4efc09(0x11d)][_0x4efc09(0xdd)]=_0x3dc9ea);}async[a136_0xff1406(0x108)](_0x280d87){const _0x5c0bce=a136_0xff1406,_0x338fd2={'wVdsa':function(_0x4b1449,_0x49bff9){return _0x4b1449===_0x49bff9;},'lekCj':_0x5c0bce(0x113),'BevqD':function(_0x382b10,_0x2446a7){return _0x382b10(_0x2446a7);},'OInlJ':_0x5c0bce(0xee),'tIjfG':_0x5c0bce(0xd9),'OaDQJ':_0x5c0bce(0x110),'OnzOF':_0x5c0bce(0x11e),'KDGgG':_0x5c0bce(0xb6)};try{if(!_0x280d87||!Array[_0x5c0bce(0xf1)](_0x280d87)||_0x338fd2['wVdsa'](_0x280d87[_0x5c0bce(0x10e)],0x0))return null;if(_0x338fd2[_0x5c0bce(0xf0)](this['isTestOrchestrationEnabled'](),![]))return logger[_0x5c0bce(0xd0)](_0x338fd2[_0x5c0bce(0xf8)]),null;let _0x5ba734=null;const _0x1b767f=this[_0x5c0bce(0xbe)][_0x5c0bce(0xcc)]();if(this[_0x5c0bce(0xc5)]){const _0x1586f3=await this[_0x5c0bce(0xc5)][_0x5c0bce(0x11b)](_0x280d87,_0x1b767f);if(!_0x1586f3)return null;_0x5ba734=await this[_0x5c0bce(0xc5)][_0x5c0bce(0xea)](_0x1586f3);}if(!_0x5ba734||!Array[_0x5c0bce(0xf1)](_0x5ba734)||_0x338fd2['wVdsa'](_0x5ba734[_0x5c0bce(0x10e)],0x0))return null;const _0x52ddeb=_0x338fd2[_0x5c0bce(0xb8)](parseInt,process['env'][_0x5c0bce(0xc8)]||'0'),_0x4714fc=_0x338fd2[_0x5c0bce(0xb8)](parseInt,process['env'][_0x5c0bce(0x11f)]||'1');return this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xb9)],_0x280d87[_0x5c0bce(0x10e)]),this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xbf)],_0x52ddeb),this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xd3)],_0x4714fc),this['addToOrderingInstrumentationData'](_0x338fd2[_0x5c0bce(0xc0)],_0x5ba734[_0x5c0bce(0x10e)]),this[_0x5c0bce(0xcd)](_0x338fd2[_0x5c0bce(0xf3)],this[_0x5c0bce(0xc5)]?this[_0x5c0bce(0xc5)][_0x5c0bce(0xc4)]():0x0),_0x5ba734[_0x5c0bce(0x121)](_0x296642=>sanitizedFilePath(_0x296642));}catch(_0x14f7f8){return logger[_0x5c0bce(0xd0)](_0x5c0bce(0xf7)+(_0x14f7f8[_0x5c0bce(0xcb)]||_0x14f7f8['toString']())),null;}}async[a136_0xff1406(0xfa)](_0x30b9f3,_0x107e55,_0x1d91f1){const _0x9f307b=a136_0xff1406,_0x22aa5c={'WcLzO':function(_0x304ff5,_0x1941db){return _0x304ff5(_0x1941db);},'UGzPg':'jest-config','tVQYv':function(_0x3ac678,_0x2dbab5){return _0x3ac678(_0x2dbab5);},'MVjXm':_0x9f307b(0x10a),'ZkNHz':function(_0x519ff0,_0x4caaae){return _0x519ff0(_0x4caaae);},'RIsMI':_0x9f307b(0x112),'esmSx':function(_0x2510b9,_0x306d2f){return _0x2510b9(_0x306d2f);},'PYoqi':_0x9f307b(0xd4),'FwZdW':'**/__tests__/**/*.[jt]s?(x)','dAXgu':_0x9f307b(0xb2),'pzZWV':function(_0x3dda97,_0x353bdd,_0x3633ea,_0x4597a2){return _0x3dda97(_0x353bdd,_0x3633ea,_0x4597a2);},'fMcsd':_0x9f307b(0x11c),'ASHCP':_0x9f307b(0xfe),'ibAbO':_0x9f307b(0xe5),'TAnCL':_0x9f307b(0xd2),'gFNUS':_0x9f307b(0xba),'YfqzL':function(_0x1b2413,_0x477dff,_0x18cf76,_0x19914d){return _0x1b2413(_0x477dff,_0x18cf76,_0x19914d);}};try{const {getTestPathPatterns:_0x1bdf19}=_0x22aa5c[_0x9f307b(0xfc)](require,_0x22aa5c['UGzPg']),{globsToMatcher:_0x552d52}=_0x22aa5c[_0x9f307b(0xdb)](require,_0x22aa5c[_0x9f307b(0xf5)]),{findRelatedTests:_0x2db782}=_0x22aa5c[_0x9f307b(0xfd)](require,_0x22aa5c['RIsMI']),_0x193481=_0x22aa5c[_0x9f307b(0xeb)](require,_0x22aa5c[_0x9f307b(0xfb)]),_0x3a8ee0=_0x30b9f3[_0x9f307b(0x117)]||[_0x22aa5c[_0x9f307b(0xd1)],_0x22aa5c[_0x9f307b(0xec)]],_0x5f4691=_0x30b9f3['testPathIgnorePatterns']||[],_0x32f2e5=_0x22aa5c[_0x9f307b(0xca)](spawnSync,_0x22aa5c['fMcsd'],[_0x22aa5c[_0x9f307b(0xb1)],_0x22aa5c[_0x9f307b(0xe0)],_0x1d91f1,..._0x107e55,_0x22aa5c[_0x9f307b(0xb3)]],{'encoding':_0x22aa5c['gFNUS']});let _0x51ae23=[];!_0x32f2e5['error']&&(_0x51ae23=_0x32f2e5[_0x9f307b(0x101)][_0x9f307b(0x114)]('\x0a')[_0x9f307b(0xce)](Boolean));logger['debug'](_0x9f307b(0xdf)+JSON[_0x9f307b(0xd7)](_0x51ae23)+_0x9f307b(0x11a));const _0x196816={};_0x196816[_0x9f307b(0xf6)]=!![],_0x196816[_0x9f307b(0xc9)]=_0x5f4691;const _0x441307=_0x22aa5c['YfqzL'](micromatch,_0x51ae23,_0x3a8ee0,_0x196816)[_0x9f307b(0x121)](_0x4e1dd8=>path[_0x9f307b(0xe8)](_0x30b9f3[_0x9f307b(0xd5)],_0x4e1dd8));return logger[_0x9f307b(0xd0)](_0x9f307b(0x109)+JSON[_0x9f307b(0xd7)](_0x441307)+_0x9f307b(0x11a)),_0x441307;}catch(_0x3e5f53){return logger[_0x9f307b(0xd0)](_0x9f307b(0xdc)+_0x3e5f53),[];}}}module[a136_0xff1406(0xb0)]=TestOrchestrationHandler;
1
+ function a136_0x16f4(_0x10d201,_0x2e5201){const _0x5e8924=a136_0x5e89();return a136_0x16f4=function(_0x16f445,_0x52eb5c){_0x16f445=_0x16f445-0x11a;let _0x11de27=_0x5e8924[_0x16f445];return _0x11de27;},a136_0x16f4(_0x10d201,_0x2e5201);}const a136_0x4e72a2=a136_0x16f4;(function(_0xe10542,_0x20f547){const _0xdd0bb7=a136_0x16f4,_0x385cf6=_0xe10542();while(!![]){try{const _0x777d8=-parseInt(_0xdd0bb7(0x11d))/0x1+parseInt(_0xdd0bb7(0x11a))/0x2*(-parseInt(_0xdd0bb7(0x128))/0x3)+parseInt(_0xdd0bb7(0x16b))/0x4*(parseInt(_0xdd0bb7(0x149))/0x5)+parseInt(_0xdd0bb7(0x177))/0x6*(parseInt(_0xdd0bb7(0x179))/0x7)+parseInt(_0xdd0bb7(0x186))/0x8*(-parseInt(_0xdd0bb7(0x168))/0x9)+-parseInt(_0xdd0bb7(0x13e))/0xa+-parseInt(_0xdd0bb7(0x136))/0xb*(-parseInt(_0xdd0bb7(0x16a))/0xc);if(_0x777d8===_0x20f547)break;else _0x385cf6['push'](_0x385cf6['shift']());}catch(_0x2ee85c){_0x385cf6['push'](_0x385cf6['shift']());}}}(a136_0x5e89,0x95b74));const logger=require(a136_0x4e72a2(0x173))[a136_0x4e72a2(0x12e)],{isUndefined,isNotUndefined,isTrueString,sanitizedFilePath}=require('../helper'),TestOrderingServerHandler=require(a136_0x4e72a2(0x147)),OrchestrationUtils=require(a136_0x4e72a2(0x11c)),path=require(a136_0x4e72a2(0x142)),{spawnSync}=require(a136_0x4e72a2(0x15b)),micromatch=require(a136_0x4e72a2(0x140)),fs=require('fs');function a136_0x5e89(){const _0x573e8e=['itGQj','npx','testOrderingEnabled','Test\x20Reordering\x20is\x20unavailable\x20because\x20buildName\x20or\x20projectName\x20is\x20null.\x20Please\x20set\x20a\x20non-null\x20value.','info','../logger','ignore','Filterted\x20to\x20test\x20files:\x20','findTestFiles','6424620NFzHAN','EHoDd','7thoRgW','bdZua','ZRICy','jhUdH','BsOAx','glob','eCBRq','rootDir','BROWSERSTACK_TOTAL_NODE_COUNT','hddSP','rMiEk','isTestOrderingApplied','rfuya','9705592xSewlY','uploadedTestFilesCount','ARGbB','960650ZEetOg','CfMCx','./orchestrationUtils','649565tiznyD','stack','NtXxq','jfbWr','rnwCn','getTestOrderingName','addToOrderingInstrumentationData','NYjNR','qDyEl','Found\x20test\x20files:\x20','orchestrationUtils','3rgVuMM','UASrV','getOrderingInstrumentationData','TGTKR','jest-config','yramO','winstonLogger','BROWSERSTACK_NODE_INDEX','downloadedTestFilesCount','debug','UjBVi','kVEWT','applied','stdout','3410bteBQS','Test\x20orchestration\x20without\x20test\x20ordering','totalNodes','buildName','jest-runner','[reorderTestFiles]\x20Test\x20ordering\x20is\x20not\x20supported\x20or\x20enabled','isTestOrchestrationEnabled','fQmCf','9014080QUogWo','pHPgE','micromatch','kpKOc','path','**/__tests__/**/*.[jt]s?(x)','Test\x20Reordering\x20is\x20unavailable\x20because\x20testReporting\x20is\x20disabled.\x20Please\x20enable\x20it\x20from\x20browserstack.yml\x20file.','nodeIndex','Test\x20orchestration\x20with\x20test\x20ordering\x20enabled','./testOrderingServerHandler','tzUzn','3195tcxMdk','updateBuildIdentifier','exports','RVkXM','testObservability','utf-8','orderingInstrumentationData','YZZGZ','logTestOrderingChecks','jest-util','getSplitTestsAPICallCount','sYhbM','\x20files','2|1|5|4|3|0','_shouldLogTestOrderingChecks','--listTests','length','projectName','child_process','isArray','pPJnF','config','hZYEu','stringify','[reorderTestFiles]\x20Error\x20in\x20ordering\x20test\x20files:\x20','--config','matchBase','split','**/?(*.)+(spec|test).[jt]s?(x)','env','testOrderingApplied','9zNTehS','reorderTestFiles','77532JFIyIe','4908gnZAdn','buildIdentifier','testOrderingServerHandler'];a136_0x5e89=function(){return _0x573e8e;};return a136_0x5e89();}class TestOrchestrationHandler{constructor(_0x1cb763){const _0x4c332d=a136_0x4e72a2,_0xa725f9={};_0xa725f9[_0x4c332d(0x11b)]=_0x4c332d(0x156);const _0x3b42c0=_0xa725f9,_0x4ffe4c=_0x3b42c0[_0x4c332d(0x11b)][_0x4c332d(0x164)]('|');let _0x10169f=0x0;while(!![]){switch(_0x4ffe4c[_0x10169f++]){case'0':this['_initializeTestOrdering']();continue;case'1':this[_0x4c332d(0x14f)]={};continue;case'2':this[_0x4c332d(0x15e)]=_0x1cb763;continue;case'3':this[_0x4c332d(0x127)]=new OrchestrationUtils(_0x1cb763);continue;case'4':this['testOrderingServerHandler']=null;continue;case'5':this[_0x4c332d(0x167)]=![];continue;}break;}}[a136_0x4e72a2(0x13c)](){const _0x2380f9=a136_0x4e72a2,_0x11438d={'eCBRq':function(_0x53c1ef,_0x144cfd){return _0x53c1ef(_0x144cfd);},'ARGbB':function(_0xba8a5b,_0x1cd490){return _0xba8a5b(_0x1cd490);},'rMiEk':function(_0x51a876,_0x2e16c8){return _0x51a876(_0x2e16c8);},'NtXxq':function(_0x15bf73,_0x18644c){return _0x15bf73(_0x18644c);},'yramO':function(_0x1b7317,_0x19ee40){return _0x1b7317&&_0x19ee40;}},_0x396ec4=_0x11438d[_0x2380f9(0x17f)](isNotUndefined,this[_0x2380f9(0x15e)])&&(_0x11438d[_0x2380f9(0x188)](isUndefined,this['config'][_0x2380f9(0x14d)])||_0x11438d[_0x2380f9(0x188)](isTrueString,this[_0x2380f9(0x15e)][_0x2380f9(0x14d)])),_0x365c25=this[_0x2380f9(0x127)][_0x2380f9(0x170)](),_0x17e1da=_0x11438d['ARGbB'](isNotUndefined,this['config'])&&_0x11438d['ARGbB'](isNotUndefined,this[_0x2380f9(0x15e)][_0x2380f9(0x15a)]),_0x4e826b=_0x11438d[_0x2380f9(0x183)](isNotUndefined,this[_0x2380f9(0x15e)])&&_0x11438d[_0x2380f9(0x11f)](isNotUndefined,this[_0x2380f9(0x15e)]['buildName']);return _0x11438d[_0x2380f9(0x12d)](_0x396ec4,_0x365c25)&&_0x17e1da&&_0x4e826b;}['_initializeTestOrdering'](){const _0x573e78=a136_0x4e72a2,_0xbeffba={};_0xbeffba[_0x573e78(0x17d)]=_0x573e78(0x146),_0xbeffba[_0x573e78(0x132)]=_0x573e78(0x137);const _0x19b805=_0xbeffba;this[_0x573e78(0x13c)]()?(this[_0x573e78(0x16d)]=new TestOrderingServerHandler(this[_0x573e78(0x15e)]),logger[_0x573e78(0x172)](_0x19b805[_0x573e78(0x17d)])):(logger[_0x573e78(0x131)](_0x19b805[_0x573e78(0x132)]),this[_0x573e78(0x151)]());}[a136_0x4e72a2(0x151)](){const _0x3179fe=a136_0x4e72a2,_0x14e86e={'hddSP':function(_0x3063b,_0x458534){return _0x3063b(_0x458534);},'UASrV':_0x3179fe(0x171),'qMLad':function(_0x415da9,_0x55b33f){return _0x415da9(_0x55b33f);},'fQmCf':function(_0x593c49,_0x4f72f6){return _0x593c49(_0x4f72f6);},'tzUzn':function(_0x163432,_0x1209c5){return _0x163432(_0x1209c5);},'NYjNR':_0x3179fe(0x144)};if(!this[_0x3179fe(0x157)]())return;(!_0x14e86e[_0x3179fe(0x182)](isNotUndefined,this[_0x3179fe(0x15e)])||!_0x14e86e['hddSP'](isNotUndefined,this[_0x3179fe(0x15e)][_0x3179fe(0x139)])||!_0x14e86e['hddSP'](isNotUndefined,this['config'][_0x3179fe(0x15a)]))&&logger[_0x3179fe(0x172)](_0x14e86e[_0x3179fe(0x129)]),_0x14e86e['qMLad'](isNotUndefined,this['config'])&&_0x14e86e[_0x3179fe(0x13d)](isNotUndefined,this['config'][_0x3179fe(0x14d)])&&!_0x14e86e[_0x3179fe(0x148)](isTrueString,this[_0x3179fe(0x15e)]['testObservability'])&&logger[_0x3179fe(0x172)](_0x14e86e[_0x3179fe(0x124)]);}[a136_0x4e72a2(0x157)](){const _0x1ca3df=a136_0x4e72a2;return!this[_0x1ca3df(0x13c)]()&&this[_0x1ca3df(0x127)][_0x1ca3df(0x170)]();}[a136_0x4e72a2(0x184)](){const _0x203499=a136_0x4e72a2;return this[_0x203499(0x167)];}['setTestOrderingApplied'](_0x4c7346){const _0x26066e=a136_0x4e72a2,_0x3c17fb={};_0x3c17fb[_0x26066e(0x120)]=_0x26066e(0x134);const _0x2ed72e=_0x3c17fb;this[_0x26066e(0x167)]=_0x4c7346,this['addToOrderingInstrumentationData'](_0x2ed72e[_0x26066e(0x120)],_0x4c7346);}[a136_0x4e72a2(0x123)](_0x503c75,_0x2c5209){this['orderingInstrumentationData'][_0x503c75]=_0x2c5209;}[a136_0x4e72a2(0x12a)](){const _0x403b2a=a136_0x4e72a2;return this[_0x403b2a(0x14f)];}[a136_0x4e72a2(0x14a)](){const _0xd1b3e=a136_0x4e72a2,_0x513f39={'bdZua':function(_0x515578,_0x12a607){return _0x515578(_0x12a607);},'eCzvl':function(_0x30780a,_0x38480e){return _0x30780a>_0x38480e;}},_0x3f9727=_0x513f39[_0xd1b3e(0x17a)](parseInt,process[_0xd1b3e(0x166)][_0xd1b3e(0x181)]||'1'),_0x5d7fbc=process[_0xd1b3e(0x166)]['BROWSERSTACK_BUILD_RUN_IDENTIFIER'];_0x5d7fbc&&_0x513f39['eCzvl'](_0x3f9727,0x1)&&(logger[_0xd1b3e(0x131)]('[orchestrate]\x20Setting\x20buildIdentifier\x20to\x20buildRunIdentifier:\x20'+_0x5d7fbc),this[_0xd1b3e(0x15e)][_0xd1b3e(0x16c)]=_0x5d7fbc);}async[a136_0x4e72a2(0x169)](_0x208be9){const _0x43999f=a136_0x4e72a2,_0x976957={'RVkXM':function(_0xa14aeb,_0x283569){return _0xa14aeb===_0x283569;},'sYhbM':_0x43999f(0x13b),'rfuya':function(_0x383b65,_0x3141d5){return _0x383b65(_0x3141d5);},'kpKOc':_0x43999f(0x187),'GhuzJ':_0x43999f(0x145),'hZYEu':_0x43999f(0x138),'pPJnF':_0x43999f(0x130),'VRtiJ':'splitTestsAPICallCount'};try{if(!_0x208be9||!Array[_0x43999f(0x15c)](_0x208be9)||_0x976957['RVkXM'](_0x208be9[_0x43999f(0x159)],0x0))return null;if(_0x976957[_0x43999f(0x14c)](this[_0x43999f(0x13c)](),![]))return logger[_0x43999f(0x131)](_0x976957[_0x43999f(0x154)]),null;let _0x407315=null;const _0x195b7e=this[_0x43999f(0x127)][_0x43999f(0x122)]();if(this['testOrderingServerHandler']){const _0x30b2d8=await this[_0x43999f(0x16d)]['splitTests'](_0x208be9,_0x195b7e);if(!_0x30b2d8)return null;_0x407315=await this['testOrderingServerHandler']['getOrderedTestFiles'](_0x30b2d8);}if(!_0x407315||!Array['isArray'](_0x407315)||_0x976957['RVkXM'](_0x407315[_0x43999f(0x159)],0x0))return null;const _0x58bea7=_0x976957[_0x43999f(0x185)](parseInt,process[_0x43999f(0x166)][_0x43999f(0x12f)]||'0'),_0x4eede4=_0x976957[_0x43999f(0x185)](parseInt,process[_0x43999f(0x166)]['BROWSERSTACK_TOTAL_NODE_COUNT']||'1');return this[_0x43999f(0x123)](_0x976957[_0x43999f(0x141)],_0x208be9[_0x43999f(0x159)]),this[_0x43999f(0x123)](_0x976957['GhuzJ'],_0x58bea7),this['addToOrderingInstrumentationData'](_0x976957[_0x43999f(0x15f)],_0x4eede4),this[_0x43999f(0x123)](_0x976957[_0x43999f(0x15d)],_0x407315[_0x43999f(0x159)]),this[_0x43999f(0x123)](_0x976957['VRtiJ'],this['testOrderingServerHandler']?this[_0x43999f(0x16d)][_0x43999f(0x153)]():0x0),_0x407315['map'](_0x26d393=>sanitizedFilePath(_0x26d393));}catch(_0x4b901a){return logger[_0x43999f(0x131)](_0x43999f(0x161)+(_0x4b901a[_0x43999f(0x11e)]||_0x4b901a['toString']())),null;}}async[a136_0x4e72a2(0x176)](_0x165f66,_0x880e62,_0x2a1ae3){const _0x4bdf37=a136_0x4e72a2,_0x1a9454={'qDyEl':function(_0x23afea,_0x56ddf8){return _0x23afea(_0x56ddf8);},'iuuof':_0x4bdf37(0x12c),'ZRICy':_0x4bdf37(0x152),'itGQj':function(_0x40e4e3,_0x38d16b){return _0x40e4e3(_0x38d16b);},'jhUdH':_0x4bdf37(0x13a),'YZZGZ':function(_0x36ffab,_0xc705de){return _0x36ffab(_0xc705de);},'HJhFh':_0x4bdf37(0x17e),'bdcxJ':_0x4bdf37(0x143),'EHoDd':_0x4bdf37(0x165),'rnwCn':function(_0x520934,_0x20a2b8,_0x2b3047,_0x29e363){return _0x520934(_0x20a2b8,_0x2b3047,_0x29e363);},'kVEWT':_0x4bdf37(0x16f),'BcdRv':'jest','tPKNX':_0x4bdf37(0x162),'pHPgE':_0x4bdf37(0x158),'JvawF':_0x4bdf37(0x14e),'TGTKR':function(_0x42f5b6,_0x4b27a5,_0x14a9ac,_0x31be1c){return _0x42f5b6(_0x4b27a5,_0x14a9ac,_0x31be1c);}};try{const {getTestPathPatterns:_0x5a81d5}=_0x1a9454[_0x4bdf37(0x125)](require,_0x1a9454['iuuof']),{globsToMatcher:_0x50b5d3}=_0x1a9454[_0x4bdf37(0x125)](require,_0x1a9454[_0x4bdf37(0x17b)]),{findRelatedTests:_0x3e3ba2}=_0x1a9454[_0x4bdf37(0x16e)](require,_0x1a9454[_0x4bdf37(0x17c)]),_0x5e55cd=_0x1a9454[_0x4bdf37(0x150)](require,_0x1a9454['HJhFh']),_0x548951=_0x165f66['testMatch']||[_0x1a9454['bdcxJ'],_0x1a9454[_0x4bdf37(0x178)]],_0x3be941=_0x165f66['testPathIgnorePatterns']||[],_0x350c95=_0x1a9454[_0x4bdf37(0x121)](spawnSync,_0x1a9454[_0x4bdf37(0x133)],[_0x1a9454['BcdRv'],_0x1a9454['tPKNX'],_0x2a1ae3,..._0x880e62,_0x1a9454[_0x4bdf37(0x13f)]],{'encoding':_0x1a9454['JvawF']});let _0x2c8433=[];!_0x350c95['error']&&(_0x2c8433=_0x350c95[_0x4bdf37(0x135)]['split']('\x0a')['filter'](Boolean));logger[_0x4bdf37(0x131)](_0x4bdf37(0x126)+JSON['stringify'](_0x2c8433)+_0x4bdf37(0x155));const _0x336707={};_0x336707[_0x4bdf37(0x163)]=!![],_0x336707[_0x4bdf37(0x174)]=_0x3be941;const _0x2f78a1=_0x1a9454[_0x4bdf37(0x12b)](micromatch,_0x2c8433,_0x548951,_0x336707)['map'](_0x40e49a=>path['relative'](_0x165f66[_0x4bdf37(0x180)],_0x40e49a));return logger['debug'](_0x4bdf37(0x175)+JSON[_0x4bdf37(0x160)](_0x2f78a1)+_0x4bdf37(0x155)),_0x2f78a1;}catch(_0x336014){return logger[_0x4bdf37(0x131)]('Error\x20finding\x20test\x20files:\x20'+_0x336014),[];}}}module[a136_0x4e72a2(0x14b)]=TestOrchestrationHandler;
@@ -1 +1 @@
1
- const a137_0x5831f7=a137_0x1ac6;(function(_0x1e8372,_0xbe17a5){const _0x4203bf=a137_0x1ac6,_0x57d099=_0x1e8372();while(!![]){try{const _0x5cc50f=parseInt(_0x4203bf(0x19f))/0x1+parseInt(_0x4203bf(0x193))/0x2+parseInt(_0x4203bf(0x1b5))/0x3+-parseInt(_0x4203bf(0x1b9))/0x4*(-parseInt(_0x4203bf(0x189))/0x5)+parseInt(_0x4203bf(0x1ad))/0x6+parseInt(_0x4203bf(0x1a5))/0x7+-parseInt(_0x4203bf(0x18a))/0x8*(parseInt(_0x4203bf(0x194))/0x9);if(_0x5cc50f===_0xbe17a5)break;else _0x57d099['push'](_0x57d099['shift']());}catch(_0x4c60b1){_0x57d099['push'](_0x57d099['shift']());}}}(a137_0xce40,0xe6c6b));const logger=require('../logger')[a137_0x5831f7(0x19e)],RequestUtils=require(a137_0x5831f7(0x18c));class TestOrderingServerHandler{constructor(_0x48da44){const _0x549291=a137_0x5831f7;this['config']=_0x48da44,this[_0x549291(0x192)]=0x0,this[_0x549291(0x18d)]=0x3c,this['defaultTimeoutInterval']=0x5;}[a137_0x5831f7(0x18e)](){const _0x2d25a8=a137_0x5831f7;return this[_0x2d25a8(0x192)];}['processSplitTestsResponse'](_0x5a6cc3){const _0x3e59af=a137_0x5831f7,_0x474181={};_0x474181[_0x3e59af(0x17f)]=_0x3e59af(0x1a2);const _0x84a36c=_0x474181;if(!_0x5a6cc3)return null;const _0x1ccbd6={};return _0x1ccbd6['timeout']=_0x5a6cc3['timeout']||this[_0x3e59af(0x18d)],_0x1ccbd6['timeoutInterval']=_0x5a6cc3[_0x3e59af(0x1b0)]||this['defaultTimeoutInterval'],_0x1ccbd6[_0x3e59af(0x1a8)]=_0x5a6cc3['resultUrl'],_0x1ccbd6[_0x3e59af(0x1a7)]=_0x5a6cc3[_0x3e59af(0x1a7)],logger[_0x3e59af(0x1a3)]('[processSplitTestsResponse]\x20Processing\x20response:\x20'+JSON[_0x3e59af(0x1ab)](_0x5a6cc3)),logger[_0x3e59af(0x1a3)](_0x3e59af(0x182)+_0x5a6cc3[_0x3e59af(0x187)]+_0x3e59af(0x190)+_0x5a6cc3[_0x3e59af(0x1b0)]+',\x20resultUrl:\x20'+_0x5a6cc3[_0x3e59af(0x1a8)]+_0x3e59af(0x196)+_0x5a6cc3['timeoutUrl']),(!_0x5a6cc3[_0x3e59af(0x187)]||!_0x5a6cc3['timeoutInterval']||!_0x5a6cc3['timeoutUrl']||!_0x5a6cc3[_0x3e59af(0x1a8)])&&logger[_0x3e59af(0x1a3)](_0x84a36c['gnbtI']),_0x1ccbd6;}async['splitTests'](_0x46a966,_0x1cb115){const _0x24970c=a137_0x5831f7,_0x350e7a={'aoziS':function(_0x313afb,_0x5ed3e9){return _0x313afb(_0x5ed3e9);},'FWdKu':function(_0x235305,_0x3c3028){return _0x235305(_0x3c3028);}};try{const _0x5a4126=_0x350e7a[_0x24970c(0x17e)](parseInt,process['env'][_0x24970c(0x1a4)]||'0'),_0x16f140=_0x350e7a[_0x24970c(0x186)](parseInt,process[_0x24970c(0x181)][_0x24970c(0x1b6)]||'1'),_0x280c20=process[_0x24970c(0x181)]['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],_0x1608e6={'nodeIndex':_0x5a4126,'totalNodes':_0x16f140,'projectName':this[_0x24970c(0x18f)][_0x24970c(0x1a6)],'buildName':this[_0x24970c(0x18f)]['buildName'],'buildRunIdentifier':_0x280c20,'orchestrationStrategy':_0x1cb115,'hostInfo':this[_0x24970c(0x1b7)](),'tests':_0x46a966[_0x24970c(0x1bc)](_0x375e2d=>({'filePath':_0x375e2d}))},_0x275b10=await RequestUtils[_0x24970c(0x1af)](_0x1608e6);return logger[_0x24970c(0x1a3)](_0x24970c(0x1b1)+JSON[_0x24970c(0x1ab)](_0x275b10)),this[_0x24970c(0x192)]+=0x1,this['processSplitTestsResponse'](_0x275b10['body']||{});}catch(_0x553a08){return logger[_0x24970c(0x1a3)](_0x24970c(0x19c)+(_0x553a08[_0x24970c(0x191)]||_0x553a08['toString']())),null;}}async[a137_0x5831f7(0x184)](_0x151104){const _0x362c6c=a137_0x5831f7,_0x53f522={};_0x53f522[_0x362c6c(0x199)]=_0x362c6c(0x198),_0x53f522[_0x362c6c(0x185)]=function(_0x3c505a,_0x116ed1){return _0x3c505a*_0x116ed1;},_0x53f522[_0x362c6c(0x1ac)]=function(_0x50be0e,_0x201d64){return _0x50be0e&&_0x201d64;},_0x53f522['jdbSi']=function(_0x5b570f,_0xb03b7f){return _0x5b570f<_0xb03b7f;},_0x53f522[_0x362c6c(0x195)]=function(_0x1acac0,_0x2dbc63){return _0x1acac0-_0x2dbc63;},_0x53f522[_0x362c6c(0x197)]=function(_0xed1018,_0x427e8a){return _0xed1018&&_0x427e8a;},_0x53f522[_0x362c6c(0x1a1)]=_0x362c6c(0x188),_0x53f522[_0x362c6c(0x1a9)]=function(_0x3caab1,_0x2a5516){return _0x3caab1>_0x2a5516;};const _0x14a250=_0x53f522;if(!_0x151104)return null;try{logger[_0x362c6c(0x1a3)](_0x14a250[_0x362c6c(0x199)]);const _0x4d0fbb=_0x151104[_0x362c6c(0x1b0)]||this['defaultTimeoutInterval'],_0x4909ce=_0x14a250[_0x362c6c(0x185)](_0x151104['timeout']||this[_0x362c6c(0x18d)],0x3e8),_0x486db5=_0x151104[_0x362c6c(0x1a7)],_0x4c731a=_0x151104[_0x362c6c(0x1a8)];if(_0x14a250[_0x362c6c(0x1ac)](!_0x4c731a,!_0x486db5))return null;let _0x39a0fc=null;const _0x379034=Date['now']();while(_0x4c731a&&_0x14a250[_0x362c6c(0x180)](_0x14a250[_0x362c6c(0x195)](Date[_0x362c6c(0x1a0)](),_0x379034),_0x4909ce)){logger[_0x362c6c(0x1a3)]('[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL:\x20'+_0x4c731a);const _0x2eb9c0=await RequestUtils['getSplitFiles'](_0x4c731a);logger[_0x362c6c(0x1a3)](_0x362c6c(0x18b)+JSON[_0x362c6c(0x1ab)](_0x2eb9c0)),this['splitTestsAPICallCount']+=0x1;if(_0x2eb9c0&&_0x2eb9c0[_0x362c6c(0x1b3)]){_0x39a0fc=_0x2eb9c0[_0x362c6c(0x1b3)];break;}await new Promise(_0x16153f=>setTimeout(_0x16153f,_0x4d0fbb*0x3e8)),logger[_0x362c6c(0x1a3)](_0x362c6c(0x1bb)+_0x4d0fbb+_0x362c6c(0x1aa));}if(_0x14a250['IdVsL'](!_0x39a0fc,_0x486db5)){logger[_0x362c6c(0x1a3)](_0x14a250[_0x362c6c(0x1a1)]);const _0x4d28c6=await RequestUtils['getSplitFiles'](_0x486db5);_0x4d28c6&&_0x4d28c6[_0x362c6c(0x1b3)]&&(_0x39a0fc=_0x4d28c6[_0x362c6c(0x1b3)]);}if(_0x39a0fc&&_0x14a250[_0x362c6c(0x1a9)](_0x39a0fc[_0x362c6c(0x19a)],0x0))return _0x39a0fc['map'](_0x2b19e9=>_0x2b19e9[_0x362c6c(0x1b8)]);return null;}catch(_0x498b37){return logger['debug']('[getOrderedTestFiles]\x20Exception\x20in\x20fetching\x20ordered\x20test\x20files:\x20'+(_0x498b37[_0x362c6c(0x191)]||_0x498b37['toString']())),null;}}['_getHostInfo'](){const _0xe29b98=a137_0x5831f7,_0x2b3e30={'LFYSL':function(_0x16fc7b,_0x23f3af){return _0x16fc7b(_0x23f3af);}},_0x222b5f=_0x2b3e30['LFYSL'](require,'os');try{return{'hostname':_0x222b5f[_0xe29b98(0x19d)](),'platform':_0x222b5f[_0xe29b98(0x19b)](),'release':_0x222b5f[_0xe29b98(0x1ba)](),'arch':_0x222b5f[_0xe29b98(0x1b4)](),'totalmem':_0x222b5f[_0xe29b98(0x183)](),'freemem':_0x222b5f[_0xe29b98(0x1ae)]()};}catch(_0x494c53){return{};}}}function a137_0x1ac6(_0x3fb1e9,_0x5771c3){const _0xce4023=a137_0xce40();return a137_0x1ac6=function(_0x1ac676,_0x3d462d){_0x1ac676=_0x1ac676-0x17e;let _0x963f6=_0xce4023[_0x1ac676];return _0x963f6;},a137_0x1ac6(_0x3fb1e9,_0x5771c3);}module[a137_0x5831f7(0x1b2)]=TestOrderingServerHandler;function a137_0xce40(){const _0x2fbef2=['getSplitTestsAPICallCount','config',',\x20timeoutInterval:\x20','stack','splitTestsAPICallCount','1842454zEuYPh','68814VPvpld','raRQC',',\x20timeoutUrl:\x20','IdVsL','[getOrderedTestFiles]\x20Fetching\x20ordered\x20test\x20files','mpoYN','length','platform','[splitTests]\x20Exception\x20in\x20sending\x20test\x20files:\x20','hostname','winstonLogger','1737777ZTKTDQ','now','GjTQn','[processSplitTestsResponse]\x20Received\x20null\x20value(s)\x20for\x20some\x20attributes\x20in\x20split\x20tests\x20API\x20response','debug','BROWSERSTACK_NODE_INDEX','8404060nEmuOE','projectName','timeoutUrl','resultUrl','ejcGU','\x20seconds.','stringify','xefOF','11204220syZsAQ','freemem','postSplitFiles','timeoutInterval','[splitTests]\x20Response\x20from\x20split\x20tests\x20API:\x20','exports','tests','arch','5146146FwEPqe','BROWSERSTACK_TOTAL_NODE_COUNT','_getHostInfo','filePath','4sedNRr','release','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL\x20after\x20waiting\x20for\x20','map','aoziS','gnbtI','jdbSi','env','[processSplitTestsResponse]\x20timeout:\x20','totalmem','getOrderedTestFiles','lMerw','FWdKu','timeout','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20timeout\x20URL','6470985FQpCbr','8152uvhKfR','[getOrderedTestFiles]\x20Response\x20from\x20result\x20URL:\x20','./requestUtils','defaultTimeout'];a137_0xce40=function(){return _0x2fbef2;};return a137_0xce40();}
1
+ const a137_0x19992e=a137_0x55e2;(function(_0x5e4913,_0x29cf2f){const _0x261811=a137_0x55e2,_0xd8be69=_0x5e4913();while(!![]){try{const _0xc949b9=-parseInt(_0x261811(0xe6))/0x1*(-parseInt(_0x261811(0xbd))/0x2)+-parseInt(_0x261811(0xdc))/0x3*(-parseInt(_0x261811(0xc3))/0x4)+parseInt(_0x261811(0xd5))/0x5+parseInt(_0x261811(0xe4))/0x6*(parseInt(_0x261811(0xd7))/0x7)+-parseInt(_0x261811(0xb2))/0x8+-parseInt(_0x261811(0xe9))/0x9*(-parseInt(_0x261811(0xc6))/0xa)+-parseInt(_0x261811(0xe7))/0xb;if(_0xc949b9===_0x29cf2f)break;else _0xd8be69['push'](_0xd8be69['shift']());}catch(_0x38457e){_0xd8be69['push'](_0xd8be69['shift']());}}}(a137_0x5dc1,0x91f9c));const logger=require('../logger')['winstonLogger'],RequestUtils=require(a137_0x19992e(0xaf));function a137_0x55e2(_0x3ab6b8,_0x33c316){const _0x5dc16e=a137_0x5dc1();return a137_0x55e2=function(_0x55e2f5,_0x115b19){_0x55e2f5=_0x55e2f5-0xab;let _0x335333=_0x5dc16e[_0x55e2f5];return _0x335333;},a137_0x55e2(_0x3ab6b8,_0x33c316);}class TestOrderingServerHandler{constructor(_0x534b1d){const _0x1b6840=a137_0x19992e;this[_0x1b6840(0xd8)]=_0x534b1d,this[_0x1b6840(0xb6)]=0x0,this[_0x1b6840(0xd2)]=0x3c,this[_0x1b6840(0xde)]=0x5;}['getSplitTestsAPICallCount'](){const _0x5e8de1=a137_0x19992e;return this[_0x5e8de1(0xb6)];}[a137_0x19992e(0xe1)](_0x29e3c5){const _0x1c4efa=a137_0x19992e,_0x144392={};_0x144392[_0x1c4efa(0xd0)]=_0x1c4efa(0xd4);const _0x380b56=_0x144392;if(!_0x29e3c5)return null;const _0x4aefdd={};return _0x4aefdd[_0x1c4efa(0xec)]=_0x29e3c5[_0x1c4efa(0xec)]||this['defaultTimeout'],_0x4aefdd['timeoutInterval']=_0x29e3c5[_0x1c4efa(0xea)]||this[_0x1c4efa(0xde)],_0x4aefdd['resultUrl']=_0x29e3c5[_0x1c4efa(0xdd)],_0x4aefdd['timeoutUrl']=_0x29e3c5[_0x1c4efa(0xcb)],logger['debug']('[processSplitTestsResponse]\x20Processing\x20response:\x20'+JSON[_0x1c4efa(0xcf)](_0x29e3c5)),logger[_0x1c4efa(0xad)]('[processSplitTestsResponse]\x20timeout:\x20'+_0x29e3c5['timeout']+_0x1c4efa(0xcd)+_0x29e3c5['timeoutInterval']+_0x1c4efa(0xd1)+_0x29e3c5[_0x1c4efa(0xdd)]+_0x1c4efa(0xcc)+_0x29e3c5[_0x1c4efa(0xcb)]),(!_0x29e3c5[_0x1c4efa(0xec)]||!_0x29e3c5[_0x1c4efa(0xea)]||!_0x29e3c5[_0x1c4efa(0xcb)]||!_0x29e3c5[_0x1c4efa(0xdd)])&&logger[_0x1c4efa(0xad)](_0x380b56[_0x1c4efa(0xd0)]),_0x4aefdd;}async[a137_0x19992e(0xeb)](_0x112020,_0x54265e){const _0x35746e=a137_0x19992e,_0x1d75c8={'Nwxvu':function(_0x58bbcb,_0x5850c1){return _0x58bbcb(_0x5850c1);}};try{const _0x4e259d=_0x1d75c8[_0x35746e(0xc7)](parseInt,process[_0x35746e(0xac)][_0x35746e(0xbc)]||'0'),_0x8e5fe5=_0x1d75c8[_0x35746e(0xc7)](parseInt,process[_0x35746e(0xac)][_0x35746e(0xab)]||'1'),_0x5093fc=process['env'][_0x35746e(0xb3)],_0x1ae0ba={'nodeIndex':_0x4e259d,'totalNodes':_0x8e5fe5,'projectName':this[_0x35746e(0xd8)][_0x35746e(0xe8)],'buildName':this[_0x35746e(0xd8)][_0x35746e(0xda)],'buildRunIdentifier':_0x5093fc,'orchestrationStrategy':_0x54265e,'hostInfo':this[_0x35746e(0xdf)](),'tests':_0x112020[_0x35746e(0xca)](_0x50d65b=>({'filePath':_0x50d65b}))},_0x529956=await RequestUtils[_0x35746e(0xb0)](_0x1ae0ba);return logger[_0x35746e(0xad)]('[splitTests]\x20Response\x20from\x20split\x20tests\x20API:\x20'+JSON[_0x35746e(0xcf)](_0x529956)),this['splitTestsAPICallCount']+=0x1,this[_0x35746e(0xe1)](_0x529956[_0x35746e(0xdb)]||{});}catch(_0x412ebb){return logger[_0x35746e(0xad)](_0x35746e(0xe3)+(_0x412ebb[_0x35746e(0xb4)]||_0x412ebb[_0x35746e(0xc4)]())),null;}}async[a137_0x19992e(0xb8)](_0x592155){const _0x23d175=a137_0x19992e,_0xb096be={};_0xb096be[_0x23d175(0xd6)]='[getOrderedTestFiles]\x20Fetching\x20ordered\x20test\x20files',_0xb096be['bygSz']=function(_0x596ff2,_0x1feb7b){return _0x596ff2*_0x1feb7b;},_0xb096be[_0x23d175(0xb9)]=function(_0x5b07d9,_0x2972f8){return _0x5b07d9&&_0x2972f8;},_0xb096be[_0x23d175(0xe5)]=function(_0x1f9b8d,_0xebe832){return _0x1f9b8d<_0xebe832;},_0xb096be['mUdak']=function(_0xa7826d,_0xe2f6ba){return _0xa7826d-_0xe2f6ba;},_0xb096be[_0x23d175(0xc9)]=function(_0x45ca28,_0x186790){return _0x45ca28&&_0x186790;},_0xb096be[_0x23d175(0xce)]=_0x23d175(0xae),_0xb096be['TwqrE']=function(_0x1d9dea,_0x3c4436){return _0x1d9dea>_0x3c4436;};const _0x45c071=_0xb096be;if(!_0x592155)return null;try{logger[_0x23d175(0xad)](_0x45c071[_0x23d175(0xd6)]);const _0x24469a=_0x592155[_0x23d175(0xea)]||this['defaultTimeoutInterval'],_0x20fde9=_0x45c071[_0x23d175(0xbb)](_0x592155[_0x23d175(0xec)]||this[_0x23d175(0xd2)],0x3e8),_0x6045b9=_0x592155[_0x23d175(0xcb)],_0x246955=_0x592155['resultUrl'];if(_0x45c071[_0x23d175(0xb9)](!_0x246955,!_0x6045b9))return null;let _0x5aaa35=null;const _0x52b04f=Date[_0x23d175(0xc2)]();while(_0x246955&&_0x45c071[_0x23d175(0xe5)](_0x45c071[_0x23d175(0xbe)](Date[_0x23d175(0xc2)](),_0x52b04f),_0x20fde9)){logger[_0x23d175(0xad)]('[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL:\x20'+_0x246955);const _0x1c8192=await RequestUtils[_0x23d175(0xc5)](_0x246955);logger['debug'](_0x23d175(0xba)+JSON[_0x23d175(0xcf)](_0x1c8192)),this['splitTestsAPICallCount']+=0x1;if(_0x1c8192&&_0x1c8192['tests']){_0x5aaa35=_0x1c8192['tests'];break;}await new Promise(_0x5c131a=>setTimeout(_0x5c131a,_0x24469a*0x3e8)),logger[_0x23d175(0xad)]('[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL\x20after\x20waiting\x20for\x20'+_0x24469a+_0x23d175(0xb7));}if(_0x45c071[_0x23d175(0xc9)](!_0x5aaa35,_0x6045b9)){logger[_0x23d175(0xad)](_0x45c071[_0x23d175(0xce)]);const _0x17adff=await RequestUtils[_0x23d175(0xc5)](_0x6045b9);_0x17adff&&_0x17adff['tests']&&(_0x5aaa35=_0x17adff[_0x23d175(0xd9)]);}if(_0x5aaa35&&_0x45c071[_0x23d175(0xd3)](_0x5aaa35[_0x23d175(0xc1)],0x0))return _0x5aaa35[_0x23d175(0xca)](_0x361f09=>_0x361f09[_0x23d175(0xe0)]);return null;}catch(_0x497cad){return logger[_0x23d175(0xad)]('[getOrderedTestFiles]\x20Exception\x20in\x20fetching\x20ordered\x20test\x20files:\x20'+(_0x497cad['stack']||_0x497cad[_0x23d175(0xc4)]())),null;}}[a137_0x19992e(0xdf)](){const _0x5aac63=a137_0x19992e,_0x13a0ac={'hhMHT':function(_0x26cd9f,_0xdab300){return _0x26cd9f(_0xdab300);}},_0x46d3b0=_0x13a0ac[_0x5aac63(0xb5)](require,'os');try{return{'hostname':_0x46d3b0[_0x5aac63(0xc0)](),'platform':_0x46d3b0[_0x5aac63(0xb1)](),'release':_0x46d3b0[_0x5aac63(0xbf)](),'arch':_0x46d3b0[_0x5aac63(0xc8)](),'totalmem':_0x46d3b0[_0x5aac63(0xe2)](),'freemem':_0x46d3b0['freemem']()};}catch(_0x5ad987){return{};}}}module['exports']=TestOrderingServerHandler;function a137_0x5dc1(){const _0x3f0ee6=['44YBwMUJ','mUdak','release','hostname','length','now','8PQtQlZ','toString','getSplitFiles','4390MxTfNz','Nwxvu','arch','iJkyM','map','timeoutUrl',',\x20timeoutUrl:\x20',',\x20timeoutInterval:\x20','bhFWl','stringify','VHzCo',',\x20resultUrl:\x20','defaultTimeout','TwqrE','[processSplitTestsResponse]\x20Received\x20null\x20value(s)\x20for\x20some\x20attributes\x20in\x20split\x20tests\x20API\x20response','2789805lVlACZ','RhIhP','7bilGzi','config','tests','buildName','body','1638963DkwEno','resultUrl','defaultTimeoutInterval','_getHostInfo','filePath','processSplitTestsResponse','totalmem','[splitTests]\x20Exception\x20in\x20sending\x20test\x20files:\x20','2666022idjBKQ','AOwZs','49667rflBbU','25143470dAaXca','projectName','15939RxreJI','timeoutInterval','splitTests','timeout','BROWSERSTACK_TOTAL_NODE_COUNT','env','debug','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20timeout\x20URL','./requestUtils','postSplitFiles','platform','8651176VEhCwp','BROWSERSTACK_BUILD_RUN_IDENTIFIER','stack','hhMHT','splitTestsAPICallCount','\x20seconds.','getOrderedTestFiles','peOMa','[getOrderedTestFiles]\x20Response\x20from\x20result\x20URL:\x20','bygSz','BROWSERSTACK_NODE_INDEX'];a137_0x5dc1=function(){return _0x3f0ee6;};return a137_0x5dc1();}
@@ -1 +1 @@
1
- var a138_0x4c7361=a138_0xf626;(function(_0x4c195e,_0xa74de){var _0x272716=a138_0xf626,_0x1a7408=_0x4c195e();while(!![]){try{var _0x2860b8=parseInt(_0x272716(0x118))/0x1+-parseInt(_0x272716(0x11a))/0x2+-parseInt(_0x272716(0x125))/0x3*(parseInt(_0x272716(0x10e))/0x4)+-parseInt(_0x272716(0x116))/0x5*(-parseInt(_0x272716(0x108))/0x6)+-parseInt(_0x272716(0x120))/0x7+-parseInt(_0x272716(0x104))/0x8*(parseInt(_0x272716(0x119))/0x9)+parseInt(_0x272716(0x11f))/0xa*(parseInt(_0x272716(0x10c))/0xb);if(_0x2860b8===_0xa74de)break;else _0x1a7408['push'](_0x1a7408['shift']());}catch(_0x1048a9){_0x1a7408['push'](_0x1a7408['shift']());}}}(a138_0x3fb2,0x4d522));var a138_0x37da69={};a138_0x37da69['INVALID_CREDENTIALS']='ERROR_INVALID_CREDENTIALS',a138_0x37da69[a138_0x4c7361(0x10b)]=a138_0x4c7361(0x10d),a138_0x37da69[a138_0x4c7361(0x112)]='ERROR_ACCESS_DENIED';var a138_0x4df8e5={};a138_0x4df8e5['TestStarted']=a138_0x4c7361(0x115),a138_0x4df8e5[a138_0x4c7361(0x111)]=a138_0x4c7361(0x103),a138_0x4df8e5[a138_0x4c7361(0x124)]=a138_0x4c7361(0x109),a138_0x4df8e5[a138_0x4c7361(0x121)]=a138_0x4c7361(0x121),a138_0x4df8e5[a138_0x4c7361(0x110)]=a138_0x4c7361(0x123),a138_0x4df8e5[a138_0x4c7361(0x10a)]='HookRunFinished',a138_0x4df8e5['CBTSessionCreated']=a138_0x4c7361(0x106);var a138_0x3ca116={};a138_0x3ca116[a138_0x4c7361(0x114)]=a138_0x4c7361(0x114),a138_0x3ca116['BROWSERSTACK_TESTHUB_JWT']=a138_0x4c7361(0x10f);var a138_0x3f42e1={};function a138_0x3fb2(){var _0x4221a0=['ERROR_SDK_DEPRECATED','60hRqjUm','BROWSERSTACK_TESTHUB_JWT','HookStarted','TestFinished','ACCESS_DENIED','EVENT','BROWSERSTACK_TESTHUB_UUID','TestRunStarted','2888305avQuvv','TESTHUB_BUILD_API','257286anMexk','314946DZtbMs','1258138PjMAhK','accessibility','observability','exports','OBSERVABILITY','2790XQKOGL','3942911QLSGhp','LogCreated','ENV_VAR','HookRunStarted','TestSkipped','32556zGoUZZ','api/v2/builds','TestRunFinished','8yzQMlL','ERROR','CBTSessionCreated','ACCESSIBILITY','6IrOVRn','TestRunSkipped','HookFinished','DEPRECATED','34375SSBbst'];a138_0x3fb2=function(){return _0x4221a0;};return a138_0x3fb2();}function a138_0xf626(_0x38d826,_0x1c6041){var _0x3fb232=a138_0x3fb2();return a138_0xf626=function(_0xf626c6,_0x389761){_0xf626c6=_0xf626c6-0x103;var _0x2ee8ab=_0x3fb232[_0xf626c6];return _0x2ee8ab;},a138_0xf626(_0x38d826,_0x1c6041);}a138_0x3f42e1[a138_0x4c7361(0x117)]=a138_0x4c7361(0x126),a138_0x3f42e1[a138_0x4c7361(0x107)]=a138_0x4c7361(0x11b),a138_0x3f42e1[a138_0x4c7361(0x11e)]=a138_0x4c7361(0x11c),a138_0x3f42e1[a138_0x4c7361(0x105)]=a138_0x37da69,a138_0x3f42e1[a138_0x4c7361(0x113)]=a138_0x4df8e5,a138_0x3f42e1[a138_0x4c7361(0x122)]=a138_0x3ca116,module[a138_0x4c7361(0x11d)]=a138_0x3f42e1;
1
+ var a138_0x5c0a07=a138_0x3f92;(function(_0x585249,_0x29bed8){var _0x4ac8a3=a138_0x3f92,_0x5d4817=_0x585249();while(!![]){try{var _0x46e441=parseInt(_0x4ac8a3(0x18a))/0x1*(parseInt(_0x4ac8a3(0x196))/0x2)+parseInt(_0x4ac8a3(0x192))/0x3*(-parseInt(_0x4ac8a3(0x177))/0x4)+parseInt(_0x4ac8a3(0x17c))/0x5*(-parseInt(_0x4ac8a3(0x198))/0x6)+parseInt(_0x4ac8a3(0x194))/0x7+-parseInt(_0x4ac8a3(0x188))/0x8+-parseInt(_0x4ac8a3(0x19b))/0x9*(parseInt(_0x4ac8a3(0x17e))/0xa)+parseInt(_0x4ac8a3(0x17d))/0xb;if(_0x46e441===_0x29bed8)break;else _0x5d4817['push'](_0x5d4817['shift']());}catch(_0x366af6){_0x5d4817['push'](_0x5d4817['shift']());}}}(a138_0x34e0,0x8b0bb));var a138_0x704439={};a138_0x704439[a138_0x5c0a07(0x18c)]=a138_0x5c0a07(0x183),a138_0x704439[a138_0x5c0a07(0x184)]=a138_0x5c0a07(0x191),a138_0x704439[a138_0x5c0a07(0x17b)]='ERROR_ACCESS_DENIED';function a138_0x34e0(){var _0x55bb37=['15032YYqxYr','TESTHUB_BUILD_API','78zzgbTr','BROWSERSTACK_TESTHUB_JWT','exports','54VBVtJd','76724HzeBTt','ACCESSIBILITY','BROWSERSTACK_TESTHUB_UUID','HookRunStarted','ACCESS_DENIED','289335KeBIUf','18385191RCBhST','47930CFltBx','EVENT','TestFinished','TestRunSkipped','CBTSessionCreated','ERROR_INVALID_CREDENTIALS','DEPRECATED','HookRunFinished','OBSERVABILITY','TestRunFinished','3736904JbuEmd','LogCreated','37AXbHaT','api/v2/builds','INVALID_CREDENTIALS','observability','HookFinished','ERROR','ENV_VAR','ERROR_SDK_DEPRECATED','165Ivlnkv','TestStarted','6462085MQZLHD','TestSkipped'];a138_0x34e0=function(){return _0x55bb37;};return a138_0x34e0();}var a138_0x34c800={};a138_0x34c800[a138_0x5c0a07(0x193)]='TestRunStarted',a138_0x34c800[a138_0x5c0a07(0x180)]=a138_0x5c0a07(0x187),a138_0x34c800[a138_0x5c0a07(0x195)]=a138_0x5c0a07(0x181),a138_0x34c800[a138_0x5c0a07(0x189)]=a138_0x5c0a07(0x189),a138_0x34c800['HookStarted']=a138_0x5c0a07(0x17a),a138_0x34c800[a138_0x5c0a07(0x18e)]=a138_0x5c0a07(0x185),a138_0x34c800[a138_0x5c0a07(0x182)]=a138_0x5c0a07(0x182);function a138_0x3f92(_0x19256,_0x347ec3){var _0x34e082=a138_0x34e0();return a138_0x3f92=function(_0x3f921b,_0x2a7229){_0x3f921b=_0x3f921b-0x177;var _0x961600=_0x34e082[_0x3f921b];return _0x961600;},a138_0x3f92(_0x19256,_0x347ec3);}var a138_0x261984={};a138_0x261984['BROWSERSTACK_TESTHUB_UUID']=a138_0x5c0a07(0x179),a138_0x261984['BROWSERSTACK_TESTHUB_JWT']=a138_0x5c0a07(0x199);var a138_0x199ee4={};a138_0x199ee4[a138_0x5c0a07(0x197)]=a138_0x5c0a07(0x18b),a138_0x199ee4[a138_0x5c0a07(0x178)]='accessibility',a138_0x199ee4[a138_0x5c0a07(0x186)]=a138_0x5c0a07(0x18d),a138_0x199ee4[a138_0x5c0a07(0x18f)]=a138_0x704439,a138_0x199ee4[a138_0x5c0a07(0x17f)]=a138_0x34c800,a138_0x199ee4[a138_0x5c0a07(0x190)]=a138_0x261984,module[a138_0x5c0a07(0x19a)]=a138_0x199ee4;
@@ -1 +1 @@
1
- const a139_0x52af41=a139_0x18d0;function a139_0x1b6b(){const _0x548363=['user_killed','env','getAccessKey','DwUYP','fiVUi','Testhub\x20started\x20with\x20id:\x20','path','MkbHN','job_id','allowScreenshot','../test-observability/sessionHandler.js','getGitMetaData','accessibilityOptions','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','error','central_scanner','getTraceFilePaths','isRunning','oslEd','getConfig','YAsGi','message','null','FoBWu','qRLeR','setTestHubCommonMetaInfo','ACCESSIBILITY','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','scannerProcessingTimeout','BROWSERSTACK_TESTHUB_UUID','UwjWi','setAccessibilityVariables','DjBwt','abVpC','assign','BROWSERSTACK_CENTRAL_SCANNER_JOBID','ewuZF','uploadPending','3095764AOyuWv','getProductMapForBuildStartCall','lcnc','getProductMap','stopBuildUpstream\x20event\x20successful!','STOP','1845234aPFxsr','framework','getAccessibilityOptions','statusText','487306RzrePA','toISOString','checkAndSetupPercy','getCentralUser','winstonLogger','ENV_VAR','kcBVy','ZUjHz','includes','Percy\x20is\x20not\x20supported\x20for\x20','status','../../bin/playwright/reporter/test-details.js','FBiCS','debug','\x20framework','467775ickVGv','BROWSERSTACK_TEST_OBSERVABILITY','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','api/v1/builds/','1465374uxYnor','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isBrowserstackInfra','Error\x20while\x20waiting\x20for\x20events:\x20','PUT','BROWSERSTACK_CENTRAL_SCANNER_JWT','measureWrapper','extractDataFromResponse','/stop','../performance/constants','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','token','authToken','gAPpL','VVpvK','exports','YqRqK','processTraceZips','All\x20trace\x20zip\x20send\x20events\x20complete','buildDescription','getUserName','buildName','stringify','getInstance','BROWSERSTACK_PRODUCT_MAP','../logger','650072LvsCEi','isUndefined','RMyPH','BROWSERSTACK_RERUN','START','jwt','../../bin/playwright/reporter/pwUtils.js','fRYse','Generating\x20build\x20upstream\x20data\x20for\x20TestHub','data','sbIsu','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','resolve','percy','success','xMnne','VLCSH','bFOEZ','add','HyTju','BROWSERSTACK_TESTHUB_JWT','username','cwd','includeEncodedExtension','3250850PyMhkh','settings','hgKxe','EexUf','logBuildError','XHqQM','response','IaMJo','../performance/performance-tester.js','isAccessibilityEnabled','waitForBuildStatus','basename','./utils.js','PERCY_SUPPORTED_FRAMEWORKS','projectName','accessibility','HEGwv','TRdKK','TESTHUB_BUILD_API','config','getHostInfo','SjBKt','UoZNI','XEpxz','util','../../bin/v2/browserstackCLI','setupPercy','getCiInfo','qGuwj','buildStopSent','OBSERVABILITY','getAccessibilityValueFromYml','buildHashedId','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','auth'];a139_0x1b6b=function(){return _0x548363;};return a139_0x1b6b();}(function(_0x19acab,_0xd1f238){const _0x29b540=a139_0x18d0,_0x10c760=_0x19acab();while(!![]){try{const _0x220a4f=parseInt(_0x29b540(0xec))/0x1+parseInt(_0x29b540(0xbf))/0x2+-parseInt(_0x29b540(0xbb))/0x3+-parseInt(_0x29b540(0xb5))/0x4+parseInt(_0x29b540(0x6c))/0x5+parseInt(_0x29b540(0xd2))/0x6+parseInt(_0x29b540(0xce))/0x7;if(_0x220a4f===_0xd1f238)break;else _0x10c760['push'](_0x10c760['shift']());}catch(_0x5e0f23){_0x10c760['push'](_0x10c760['shift']());}}}(a139_0x1b6b,0x71c0a));const bsSetupHelper=require('../helper'),path=require(a139_0x52af41(0x95)),util=require(a139_0x52af41(0x84)),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require('../test-observability/utils'),testhubUtils=require(a139_0x52af41(0x78)),testHubConstants=require('./constants.js'),constants=require('../../bin/utils/constants.js'),RequestQueueHandler=require('../test-observability/requestQueueHandler.js'),logger=require(a139_0x52af41(0xeb))[a139_0x52af41(0xc3)],SessionHandler=require(a139_0x52af41(0x99)),PerformanceTester=require(a139_0x52af41(0x74)),{TESTHUB_EVENTS:PerformanceEvents}=require(a139_0x52af41(0xdb)),TestDetails=require(a139_0x52af41(0xca)),{uploadTraceZip}=require(a139_0x52af41(0xf2)),{isTurboScaleSession}=require('../helper.js'),BrowserstackCLI=require(a139_0x52af41(0x85)),OngoingEvents=new Set();function a139_0x18d0(_0x115e56,_0x3bb7e5){const _0x1b6bcd=a139_0x1b6b();return a139_0x18d0=function(_0x18d013,_0x22b117){_0x18d013=_0x18d013-0x6a;let _0xf5248d=_0x1b6bcd[_0x18d013];return _0xf5248d;},a139_0x18d0(_0x115e56,_0x3bb7e5);}let processedTraceZips=![];const addEvent=_0x4e3c7b=>{const _0x23ae8b=a139_0x52af41;OngoingEvents[_0x23ae8b(0xff)](_0x4e3c7b);},awaitAllEvents=async()=>{return Promise['allSettled'](OngoingEvents);};class TestHubHandler{static [a139_0x52af41(0x89)]=![];static async['launchBuild'](_0x290753,_0x314d90){const _0xb2b258=a139_0x52af41,_0x1cac86={'fiVUi':function(_0x1c2d96,_0xf821c6){return _0x1c2d96||_0xf821c6;},'dPETP':function(_0x1cbbd1,_0x3d4d4e){return _0x1cbbd1===_0x3d4d4e;},'fRYse':function(_0xfe8e70){return _0xfe8e70();},'TRdKK':_0xb2b258(0x8d),'kcBVy':'false','JsSNy':_0xb2b258(0xf7),'XHqQM':function(_0x45386f,_0x59830a,_0x962f7b,_0x16cd47,_0x535764){return _0x45386f(_0x59830a,_0x962f7b,_0x16cd47,_0x535764);},'DjBwt':'POST','jwMCh':function(_0x535eee,_0x54bac2){return _0x535eee===_0x54bac2;},'VLCSH':'accessibility','UwjWi':'true','HyTju':_0xb2b258(0xab),'EexUf':function(_0x1fa5ff,_0x300d17){return _0x1fa5ff===_0x300d17;}};await PerformanceTester['measureWrapper'](PerformanceEvents[_0xb2b258(0xf0)],async()=>{const _0x4ccfec=_0xb2b258,_0x4d4e07=Object[_0x4ccfec(0xb1)]({},_0x314d90[_0x4ccfec(0x7f)],{'root_dir_path':'','framework':_0x314d90[_0x4ccfec(0xbc)]}),_0x37f82d=bsSetupHelper[_0x4ccfec(0xe6)](_0x4d4e07),_0x1eac0d=bsSetupHelper[_0x4ccfec(0x91)](_0x4d4e07),_0x371bef=_0x1cac86[_0x4ccfec(0x93)](_0x37f82d,'')+':'+_0x1cac86[_0x4ccfec(0x93)](_0x1eac0d,'');if(_0x1cac86['dPETP'](_0x371bef,':'))return _0x1cac86[_0x4ccfec(0xf3)](isTestObservabilitySession)&&(logger['debug'](_0x1cac86[_0x4ccfec(0x7d)]),process[_0x4ccfec(0x90)]['BS_TESTOPS_BUILD_COMPLETED']=_0x1cac86[_0x4ccfec(0xc5)]),testhubUtils[_0x4ccfec(0x75)](_0x4d4e07)&&logger[_0x4ccfec(0xcc)](_0x1cac86['JsSNy']),[null,null];try{const _0x3cdb77=await this['generateBuildUpstreamData'](_0x4d4e07,_0x290753),_0x42caac=this['getConfig'](_0x37f82d,_0x1eac0d),_0x3c50f7=await _0x1cac86[_0x4ccfec(0x71)](nodeRequest,_0x1cac86[_0x4ccfec(0xaf)],testHubConstants[_0x4ccfec(0x7e)],_0x3cdb77,_0x42caac),_0x27b5ec=this['extractDataFromResponse'](_0x4d4e07,_0x3c50f7,_0x42caac);await this[_0x4ccfec(0xc1)](_0x314d90,_0x290753);const _0x3143f7=testhubUtils[_0x4ccfec(0xb8)](_0x4d4e07);process['env'][_0x4ccfec(0xea)]=JSON[_0x4ccfec(0xe8)](_0x3143f7);if(_0x1cac86['jwMCh'](testhubUtils[_0x4ccfec(0x8b)](_0x314d90['config']),null)){const _0x50b6c6=_0x27b5ec[_0x1cac86[_0x4ccfec(0xfd)]];_0x50b6c6&&_0x50b6c6[_0x4ccfec(0xde)]&&_0x50b6c6[_0x4ccfec(0x8c)]&&(_0x314d90[_0x4ccfec(0x7f)][_0x4ccfec(0x7b)]=!![],process[_0x4ccfec(0x90)][_0x4ccfec(0xd3)]=_0x1cac86[_0x4ccfec(0xad)]);}return _0x27b5ec&&_0x27b5ec[_0x1cac86[_0x4ccfec(0xfd)]]&&_0x27b5ec[_0x1cac86['VLCSH']][_0x1cac86[_0x4ccfec(0x100)]]&&(process['env'][_0x4ccfec(0xd0)]=_0x27b5ec[_0x1cac86[_0x4ccfec(0xfd)]][_0x1cac86[_0x4ccfec(0x100)]]),_0x27b5ec;}catch(_0x2850b2){if(_0x1cac86[_0x4ccfec(0x6f)](_0x2850b2[_0x4ccfec(0xfb)],![])){testhubUtils[_0x4ccfec(0x70)](_0x2850b2);return;}}})();}static async[a139_0x52af41(0xe3)](){const _0x3c14d6=a139_0x52af41,_0x3af320={'bFOEZ':function(_0x2c547e,_0x37be76,_0x289e29){return _0x2c547e(_0x37be76,_0x289e29);},'DwUYP':function(_0xd18e3d,_0x346f7d){return _0xd18e3d(_0x346f7d);},'IaMJo':function(_0x1d0ef9){return _0x1d0ef9();},'RMyPH':_0x3c14d6(0xe4)};if(processedTraceZips)return;const _0x59fc7b=TestDetails[_0x3c14d6(0x9f)]();_0x59fc7b['forEach'](({testUId:_0x4f70b7,filePath:_0x1c729e})=>{const _0x198d94=_0x3c14d6;var _0x5353f6=_0x3af320[_0x198d94(0xfe)](uploadTraceZip,_0x1c729e,_0x4f70b7);_0x3af320[_0x198d94(0x92)](addEvent,_0x5353f6);});try{await _0x3af320[_0x3c14d6(0x73)](awaitAllEvents),logger[_0x3c14d6(0xcc)](_0x3af320[_0x3c14d6(0xee)]),processedTraceZips=!![];}catch(_0x4f5540){logger[_0x3c14d6(0x9d)](_0x3c14d6(0xd5)+util['format'](_0x4f5540));}}static async[a139_0x52af41(0xc1)](_0x472d28,_0xfef351){const _0x216bbd=a139_0x52af41;if(constants[_0x216bbd(0x79)][_0x216bbd(0xc7)](_0xfef351)){await _0x472d28[_0x216bbd(0x86)]();return;}_0x472d28[_0x216bbd(0x7f)][_0x216bbd(0xfa)]&&logger[_0x216bbd(0xcc)](_0x216bbd(0xc8)+_0xfef351+_0x216bbd(0xcd));}static[a139_0x52af41(0xbd)](_0x49f685){const _0x2540a8=a139_0x52af41,_0x53389a={'SjBKt':function(_0x459226,_0x2a3659){return _0x459226(_0x2a3659);},'qRLeR':'true'};let _0x32a839;if(_0x49f685[_0x2540a8(0x9b)]){const _0x3d4644={};_0x3d4644[_0x2540a8(0x6d)]=_0x49f685[_0x2540a8(0x9b)],_0x32a839=_0x3d4644;}else{const _0xa2d39={};_0xa2d39[_0x2540a8(0x6d)]={},_0x32a839=_0xa2d39;}if((!bsSetupHelper[_0x2540a8(0xd4)]()||_0x53389a[_0x2540a8(0x81)](isTurboScaleSession,_0x49f685))&&testhubUtils['isAccessibilityEnabled'](_0x49f685)){const _0x47b8fd={};_0x47b8fd[_0x2540a8(0x6b)]=_0x53389a[_0x2540a8(0xa7)],Object[_0x2540a8(0xb1)](_0x32a839['settings'],_0x47b8fd);}return _0x32a839;}static[a139_0x52af41(0xa2)](_0x599153,_0x3433b7){const _0xeec6c2=a139_0x52af41,_0x102581={'zhaXU':function(_0x2d932a,_0x2d59e6){return _0x2d932a(_0x2d59e6);}},_0x170b1d={};return _0x170b1d[_0xeec6c2(0x102)]=_0x599153,_0x170b1d['password']=_0x3433b7,{'auth':_0x170b1d,'headers':_0x102581['zhaXU'](getDefaultHeaders,![])};}static async['generateBuildUpstreamData'](_0x954e02,_0x312bef){const _0x244e23=a139_0x52af41,_0x35c7f2={'ElQhR':_0x244e23(0xf4),'XEpxz':function(_0x2e01be,_0x2b8079){return _0x2e01be(_0x2b8079);}};logger[_0x244e23(0xcc)](_0x35c7f2['ElQhR']);const _0x298144={'project_name':_0x954e02[_0x244e23(0x7a)]||'','name':_0x954e02[_0x244e23(0xe7)]||path[_0x244e23(0x77)](path[_0x244e23(0xf9)](process[_0x244e23(0x6a)]())),'build_identifier':_0x954e02['buildIdentifier'],'description':_0x954e02[_0x244e23(0xe5)]||'','started_at':new Date()[_0x244e23(0xc0)](),'tags':_0x35c7f2[_0x244e23(0x83)](getCustomTags,_0x954e02),'host_info':bsSetupHelper[_0x244e23(0x80)](),'ci_info':bsSetupHelper[_0x244e23(0x87)](),'build_run_identifier':process[_0x244e23(0x90)]['BROWSERSTACK_BUILD_RUN_IDENTIFIER'],'failed_tests_rerun':process[_0x244e23(0x90)][_0x244e23(0xef)]||![],'linked_build_uuid':process[_0x244e23(0x90)]['BROWSERSTACK_LINKED_BUILD_UUID']||'','version_control':await bsSetupHelper[_0x244e23(0x9a)](),'accessibility':this['getAccessibilityOptions'](_0x954e02),'framework_details':testhubUtils['getFrameworkDetails'](_0x954e02,_0x312bef),'product_map':testhubUtils[_0x244e23(0xb6)](_0x954e02),'browserstackAutomation':bsSetupHelper[_0x244e23(0xd4)](),'grouping_identifier':process[_0x244e23(0x90)][_0x244e23(0x9c)],'test_orchestration':testhubUtils['getTestOrchestrationBuildStartData'](_0x954e02)};if(bsSetupHelper['getCentralUser']()[_0x244e23(0x9e)]||bsSetupHelper[_0x244e23(0xc2)]()[_0x244e23(0xb7)]){const _0xd30d5={};_0xd30d5[_0x244e23(0x97)]=process[_0x244e23(0x90)][_0x244e23(0xb2)],_0xd30d5[_0x244e23(0xdd)]=process[_0x244e23(0x90)][_0x244e23(0xd7)],_0x298144['central_scanner']=_0xd30d5;}return _0x298144;}static[a139_0x52af41(0xd9)](_0x19e8db,_0x5c2e16,_0x1ad34b){const _0x13e207=a139_0x52af41,_0x361692={'HEGwv':function(_0x4473e9){return _0x4473e9();},'VVpvK':function(_0xeb1875,_0x5c7574){return _0xeb1875&&_0x5c7574;},'MkbHN':'true','gAPpL':'false'},_0x2bbc1b={};if(_0x361692[_0x13e207(0x7c)](isTestObservabilitySession)){const [_0x34fc9a,_0x52e848,_0x65a6d5]=testhubUtils['setTestObservabilityVariables'](_0x5c2e16[_0x13e207(0xf5)],_0x1ad34b[_0x13e207(0x8e)]);if(_0x361692[_0x13e207(0xe0)](_0x34fc9a,_0x52e848)){const _0x33880f={};_0x33880f[_0x13e207(0xf1)]=_0x34fc9a,_0x33880f['buildHashedId']=_0x52e848,_0x33880f[_0x13e207(0x98)]=_0x65a6d5,_0x2bbc1b[testHubConstants[_0x13e207(0x8a)]]=_0x33880f,process['env'][_0x13e207(0xcf)]=_0x361692[_0x13e207(0x96)];}else _0x2bbc1b[testHubConstants['OBSERVABILITY']]={},process[_0x13e207(0x90)][_0x13e207(0xcf)]=_0x361692[_0x13e207(0xdf)];}else process[_0x13e207(0x90)][_0x13e207(0xcf)]=_0x361692['gAPpL'];const [_0x4ea662,_0x22a562,_0x97b03c]=testhubUtils[_0x13e207(0xae)](_0x5c2e16[_0x13e207(0xf5)]);if(_0x361692[_0x13e207(0xe0)](_0x4ea662,_0x22a562)){const _0x1ac6da={};_0x1ac6da[_0x13e207(0xde)]=_0x4ea662,_0x1ac6da['buildHashedId']=_0x22a562,_0x1ac6da['scannerProcessingTimeout']=_0x97b03c,_0x2bbc1b[testHubConstants['ACCESSIBILITY']]=_0x1ac6da,process[_0x13e207(0x90)]['BROWSERSTACK_ACCESSIBILITY']=_0x361692[_0x13e207(0x96)];}else _0x2bbc1b[testHubConstants[_0x13e207(0xa9)]]={},process[_0x13e207(0x90)]['BROWSERSTACK_ACCESSIBILITY']=_0x361692[_0x13e207(0xdf)];return testhubUtils[_0x13e207(0xa8)](_0x5c2e16[_0x13e207(0xf5)]),logger['info'](_0x13e207(0x94)+process['env'][_0x13e207(0xac)]),_0x2bbc1b;}static async['stop'](_0xbe0b6e){const _0x200635=a139_0x52af41,_0x3216b3={'xMnne':function(_0x5f3ef1,_0x38dff9){return _0x5f3ef1===_0x38dff9;},'oslEd':'false','abVpC':function(_0x26c567,_0x2c9e0c){return _0x26c567===_0x2c9e0c;},'YqRqK':_0x200635(0xa5),'ewuZF':_0x200635(0xdc),'YAsGi':_0x200635(0x9d),'XyTHH':_0x200635(0xaa),'UoZNI':'finished_metadata','ZUjHz':_0x200635(0x8f),'sbIsu':function(_0x5a0185){return _0x5a0185();},'hgKxe':function(_0x594aef,_0x25c9fd,_0x33c51c,_0x37a9fb,_0xb39949,_0x52bc21){return _0x594aef(_0x25c9fd,_0x33c51c,_0x37a9fb,_0xb39949,_0x52bc21);},'FoBWu':_0x200635(0xd6),'qGuwj':_0x200635(0xb9),'FBiCS':_0x200635(0xfb)};await PerformanceTester[_0x200635(0xd8)](PerformanceEvents[_0x200635(0xba)],async()=>{const _0x15625a=_0x200635;if(_0x3216b3[_0x15625a(0xfc)](process[_0x15625a(0x90)]['BS_TESTOPS_BUILD_COMPLETED'],_0x3216b3[_0x15625a(0xa1)])||TestHubHandler[_0x15625a(0x89)]||bsSetupHelper[_0x15625a(0xed)](process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0x101)]]))return;TestHubHandler[_0x15625a(0x89)]=!![];if(BrowserstackCLI[_0x15625a(0xe9)]()[_0x15625a(0xa0)]())return;await this[_0x15625a(0xe3)](),await RequestQueueHandler[_0x15625a(0xe9)]()[_0x15625a(0xb4)](),await SessionHandler[_0x15625a(0x76)]();if(_0x3216b3[_0x15625a(0xb0)](process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0x101)]],_0x3216b3['YqRqK'])||_0x3216b3[_0x15625a(0xfc)](process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0xac)]],_0x3216b3[_0x15625a(0xe2)])){logger['debug'](_0x3216b3[_0x15625a(0xb3)]);const _0x6991a0={};return _0x6991a0['status']=_0x3216b3['YAsGi'],_0x6991a0[_0x15625a(0xa4)]=_0x3216b3['XyTHH'],_0x6991a0;}const _0x186a79={'finished_at':new Date()[_0x15625a(0xc0)](),'finished_metadata':[]};!!_0xbe0b6e&&_0x186a79[_0x3216b3[_0x15625a(0x82)]]['push']({'reason':_0x3216b3[_0x15625a(0xc6)],'signal':_0xbe0b6e,'failure_data':''});const _0x4c3640={'headers':_0x3216b3[_0x15625a(0xf6)](getDefaultHeaders)};try{const _0x370fee=await _0x3216b3[_0x15625a(0x6e)](nodeRequest,_0x3216b3[_0x15625a(0xa6)],_0x15625a(0xd1)+process[_0x15625a(0x90)][testHubConstants[_0x15625a(0xc4)][_0x15625a(0xac)]]+_0x15625a(0xda),_0x186a79,_0x4c3640,![]);if(_0x370fee[_0x15625a(0xf5)]&&_0x370fee[_0x15625a(0xf5)][_0x15625a(0x9d)]){const _0x12dd22={};_0x12dd22[_0x15625a(0xa4)]=_0x370fee[_0x15625a(0xf5)][_0x15625a(0x9d)];throw _0x12dd22;}else{logger[_0x15625a(0xcc)](_0x3216b3[_0x15625a(0x88)]);const _0x4a3b02={};return _0x4a3b02[_0x15625a(0xc9)]=_0x3216b3[_0x15625a(0xcb)],_0x4a3b02['message']='',_0x4a3b02;}}catch(_0x440403){_0x440403[_0x15625a(0x72)]?logger[_0x15625a(0xcc)](_0x15625a(0xf8)+_0x440403[_0x15625a(0x72)][_0x15625a(0xc9)]+'\x20'+_0x440403[_0x15625a(0x72)]['statusText']+'\x20'+JSON[_0x15625a(0xe8)](_0x440403['response'][_0x15625a(0xf5)])):logger['debug'](_0x15625a(0xf8)+(_0x440403[_0x15625a(0xa4)]||_0x440403));const _0x4eba63={};return _0x4eba63[_0x15625a(0xc9)]=_0x3216b3[_0x15625a(0xa3)],_0x4eba63[_0x15625a(0xa4)]=_0x440403['message']||_0x440403[_0x15625a(0x72)]?_0x440403[_0x15625a(0x72)][_0x15625a(0xc9)]+':'+_0x440403[_0x15625a(0x72)][_0x15625a(0xbe)]:_0x440403,_0x4eba63;}})();}}module[a139_0x52af41(0xe1)]=TestHubHandler;
1
+ const a139_0x1c3aad=a139_0x4948;(function(_0x1bb193,_0x5b53c1){const _0x5f00e9=a139_0x4948,_0x31d7bc=_0x1bb193();while(!![]){try{const _0xd97b49=parseInt(_0x5f00e9(0x17b))/0x1*(parseInt(_0x5f00e9(0x17e))/0x2)+parseInt(_0x5f00e9(0x1d8))/0x3+-parseInt(_0x5f00e9(0x18c))/0x4*(-parseInt(_0x5f00e9(0x194))/0x5)+-parseInt(_0x5f00e9(0x1e4))/0x6+parseInt(_0x5f00e9(0x165))/0x7*(parseInt(_0x5f00e9(0x1a2))/0x8)+parseInt(_0x5f00e9(0x160))/0x9+-parseInt(_0x5f00e9(0x161))/0xa;if(_0xd97b49===_0x5b53c1)break;else _0x31d7bc['push'](_0x31d7bc['shift']());}catch(_0x12b236){_0x31d7bc['push'](_0x31d7bc['shift']());}}}(a139_0x4489,0xc087e));const bsSetupHelper=require(a139_0x1c3aad(0x1d5)),path=require(a139_0x1c3aad(0x157)),util=require('util'),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require('../test-observability/utils'),testhubUtils=require(a139_0x1c3aad(0x1d4)),testHubConstants=require(a139_0x1c3aad(0x17f)),constants=require(a139_0x1c3aad(0x1d0)),RequestQueueHandler=require(a139_0x1c3aad(0x164)),logger=require(a139_0x1c3aad(0x182))['winstonLogger'],SessionHandler=require('../test-observability/sessionHandler.js'),PerformanceTester=require(a139_0x1c3aad(0x1e2)),{TESTHUB_EVENTS:PerformanceEvents}=require('../performance/constants'),TestDetails=require(a139_0x1c3aad(0x1c1)),{uploadTraceZip}=require('../../bin/playwright/reporter/pwUtils.js'),{isTurboScaleSession}=require(a139_0x1c3aad(0x1bc)),BrowserstackCLI=require(a139_0x1c3aad(0x1ba)),OngoingEvents=new Set();function a139_0x4948(_0x505b0c,_0x58ccd7){const _0x4489bf=a139_0x4489();return a139_0x4948=function(_0x4948c9,_0x3e3529){_0x4948c9=_0x4948c9-0x156;let _0x40d630=_0x4489bf[_0x4948c9];return _0x40d630;},a139_0x4948(_0x505b0c,_0x58ccd7);}let processedTraceZips=![];const addEvent=_0x41c4e6=>{const _0x19c052=a139_0x1c3aad;OngoingEvents[_0x19c052(0x196)](_0x41c4e6);},awaitAllEvents=async()=>{return Promise['allSettled'](OngoingEvents);};function a139_0x4489(){const _0x429ab7=['wHxnT','success','Percy\x20is\x20not\x20supported\x20for\x20','lcnc','statusText','PDyUe','TTXMN','getConfig','TESTHUB_BUILD_API','getFrameworkDetails','extractDataFromResponse','fcgWN','buildStopSent','finished_metadata','wbgiw','\x20framework','username','PnVDO','getCentralUser','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','BROWSERSTACK_ACCESSIBILITY','../../bin/v2/browserstackCLI','assign','../helper.js','BS_TESTOPS_BUILD_COMPLETED','jdyUi','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','ACCESSIBILITY','../../bin/playwright/reporter/test-details.js','authToken','getHostInfo','api/v1/builds/','BROWSERSTACK_TEST_OBSERVABILITY','job_id','null','basename','accessibilityOptions','message','measureWrapper','isBrowserstackInfra','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','cXFXk','getGitMetaData','../../bin/utils/constants.js','BROWSERSTACK_PRODUCT_MAP','response','checkAndSetupPercy','./utils.js','../helper','lQEIL','framework','3825150RymeYq','true','setTestHubCommonMetaInfo','launchBuild','stop','ouswU','JfXxy','rrGSP','aHmeM','nsidV','../performance/performance-tester.js','forEach','2753238iamFHc','POST','mLBLW','false','error','BROWSERSTACK_TESTHUB_UUID','isAccessibilityEnabled','scannerProcessingTimeout','stringify','path','BROWSERSTACK_LINKED_BUILD_UUID','STOP','central_scanner','processTraceZips','generateBuildUpstreamData','getInstance','csUyO','getTraceFilePaths','7520166ogJDeE','41455140OwNGyz','token','uploadPending','../test-observability/requestQueueHandler.js','77RrZbVW','buildHashedId','OBSERVABILITY','PERCY_SUPPORTED_FRAMEWORKS','format','projectName','dmRlE','getAccessKey','ENV_VAR','includes','password','Generating\x20build\x20upstream\x20data\x20for\x20TestHub','nFWUC','BROWSERSTACK_TESTHUB_JWT','eJcpk','stopBuildUpstream\x20event\x20successful!','toISOString','setTestObservabilityVariables','getAccessibilityOptions','BROWSERSTACK_BUILD_RUN_IDENTIFIER','info','accessibility','1DXNGPY','vrslk','getProductMapForBuildStartCall','2120548ZVqrDq','./constants.js','cwd','allowScreenshot','../logger','includeEncodedExtension','buildDescription','config','exports','PUT','tnLMy','OcSDM','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','JNREK','5916444cMzjVm','percy','CDkYq','data','START','getProductMap','env','status','5SOblgM','auth','add','settings','ovWbH','debug','BROWSERSTACK_RERUN','wSapN','TblmT','setupPercy','BROWSERSTACK_CENTRAL_SCANNER_JOBID','KVIBe','IqnBf','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','540352yzSGvf','HNCMk','isRunning'];a139_0x4489=function(){return _0x429ab7;};return a139_0x4489();}class TestHubHandler{static [a139_0x1c3aad(0x1b1)]=![];static async[a139_0x1c3aad(0x1db)](_0x3ab03c,_0x352b58){const _0x21f6b3=a139_0x1c3aad,_0x332285={'nFWUC':function(_0x2c1d65,_0x2c4034){return _0x2c1d65||_0x2c4034;},'HNCMk':function(_0x364847,_0xcfaa34){return _0x364847===_0xcfaa34;},'kgvUj':function(_0x18f2fe){return _0x18f2fe();},'ugtsf':_0x21f6b3(0x1cd),'aHmeM':'false','wSapN':'Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','OcSDM':function(_0x59dc08,_0x49caf0,_0x45c1ad,_0xd84549,_0x41eadf){return _0x59dc08(_0x49caf0,_0x45c1ad,_0xd84549,_0x41eadf);},'lQEIL':_0x21f6b3(0x1e5),'JfXxy':_0x21f6b3(0x17a),'TTXMN':_0x21f6b3(0x1d9),'rrGSP':'scannerProcessingTimeout','mLBLW':function(_0x141f6f,_0x3af4c5){return _0x141f6f===_0x3af4c5;}};await PerformanceTester[_0x21f6b3(0x1cb)](PerformanceEvents[_0x21f6b3(0x190)],async()=>{const _0x453838=_0x21f6b3,_0x471b4f=Object['assign']({},_0x352b58[_0x453838(0x185)],{'root_dir_path':'','framework':_0x352b58[_0x453838(0x1d7)]}),_0x137158=bsSetupHelper['getUserName'](_0x471b4f),_0x560771=bsSetupHelper[_0x453838(0x16c)](_0x471b4f),_0x565894=_0x332285['nFWUC'](_0x137158,'')+':'+_0x332285[_0x453838(0x171)](_0x560771,'');if(_0x332285[_0x453838(0x1a3)](_0x565894,':'))return _0x332285['kgvUj'](isTestObservabilitySession)&&(logger[_0x453838(0x199)](_0x332285['ugtsf']),process[_0x453838(0x192)][_0x453838(0x1bd)]=_0x332285[_0x453838(0x1e0)]),testhubUtils[_0x453838(0x1ea)](_0x471b4f)&&logger['debug'](_0x332285[_0x453838(0x19b)]),[null,null];try{const _0x1df550=await this[_0x453838(0x15c)](_0x471b4f,_0x3ab03c),_0x2691d3=this[_0x453838(0x1ac)](_0x137158,_0x560771),_0x2a2962=await _0x332285[_0x453838(0x189)](nodeRequest,_0x332285[_0x453838(0x1d6)],testHubConstants[_0x453838(0x1ad)],_0x1df550,_0x2691d3),_0x37021a=this['extractDataFromResponse'](_0x471b4f,_0x2a2962,_0x2691d3);await this[_0x453838(0x1d3)](_0x352b58,_0x3ab03c);const _0x4150d4=testhubUtils[_0x453838(0x191)](_0x471b4f);process[_0x453838(0x192)][_0x453838(0x1d1)]=JSON['stringify'](_0x4150d4);if(_0x332285[_0x453838(0x1a3)](testhubUtils['getAccessibilityValueFromYml'](_0x352b58[_0x453838(0x185)]),null)){const _0x4ba5b4=_0x37021a[_0x332285['JfXxy']];_0x4ba5b4&&_0x4ba5b4['authToken']&&_0x4ba5b4[_0x453838(0x166)]&&(_0x352b58['config'][_0x453838(0x17a)]=!![],process['env'][_0x453838(0x1bf)]=_0x332285[_0x453838(0x1ab)]);}return _0x37021a&&_0x37021a[_0x332285[_0x453838(0x1de)]]&&_0x37021a[_0x332285[_0x453838(0x1de)]][_0x332285[_0x453838(0x1df)]]&&(process[_0x453838(0x192)][_0x453838(0x18a)]=_0x37021a[_0x332285['JfXxy']][_0x332285[_0x453838(0x1df)]]),_0x37021a;}catch(_0x33dfc2){if(_0x332285[_0x453838(0x1e6)](_0x33dfc2['success'],![])){testhubUtils['logBuildError'](_0x33dfc2);return;}}})();}static async[a139_0x1c3aad(0x15b)](){const _0x1f3bd0=a139_0x1c3aad,_0x31453f={'tgcle':function(_0x4e2a8c,_0x2f9c9d,_0xf1891e){return _0x4e2a8c(_0x2f9c9d,_0xf1891e);},'fcgWN':function(_0x461e74,_0x528689){return _0x461e74(_0x528689);},'vrslk':function(_0x294fe9){return _0x294fe9();},'wHxnT':'All\x20trace\x20zip\x20send\x20events\x20complete'};if(processedTraceZips)return;const _0x2c7f96=TestDetails[_0x1f3bd0(0x15f)]();_0x2c7f96[_0x1f3bd0(0x1e3)](({testUId:_0x25f744,filePath:_0x1a733f})=>{const _0x4e0e64=_0x1f3bd0;var _0x501d2e=_0x31453f['tgcle'](uploadTraceZip,_0x1a733f,_0x25f744);_0x31453f[_0x4e0e64(0x1b0)](addEvent,_0x501d2e);});try{await _0x31453f[_0x1f3bd0(0x17c)](awaitAllEvents),logger[_0x1f3bd0(0x199)](_0x31453f[_0x1f3bd0(0x1a5)]),processedTraceZips=!![];}catch(_0x30fc4e){logger[_0x1f3bd0(0x1e8)]('Error\x20while\x20waiting\x20for\x20events:\x20'+util[_0x1f3bd0(0x169)](_0x30fc4e));}}static async[a139_0x1c3aad(0x1d3)](_0x5458f1,_0x28ab5c){const _0x1a22e6=a139_0x1c3aad;if(constants[_0x1a22e6(0x168)][_0x1a22e6(0x16e)](_0x28ab5c)){await _0x5458f1[_0x1a22e6(0x19d)]();return;}_0x5458f1['config'][_0x1a22e6(0x18d)]&&logger['debug'](_0x1a22e6(0x1a7)+_0x28ab5c+_0x1a22e6(0x1b4));}static[a139_0x1c3aad(0x177)](_0x53d862){const _0x31c902=a139_0x1c3aad,_0x31d3e1={'PDyUe':function(_0x37da1e,_0x1ad7f6){return _0x37da1e(_0x1ad7f6);},'JNREK':_0x31c902(0x1d9)};let _0x214165;if(_0x53d862[_0x31c902(0x1c9)]){const _0x3269d4={};_0x3269d4[_0x31c902(0x197)]=_0x53d862['accessibilityOptions'],_0x214165=_0x3269d4;}else{const _0x42750f={};_0x42750f[_0x31c902(0x197)]={},_0x214165=_0x42750f;}if((!bsSetupHelper[_0x31c902(0x1cc)]()||_0x31d3e1[_0x31c902(0x1aa)](isTurboScaleSession,_0x53d862))&&testhubUtils[_0x31c902(0x1ea)](_0x53d862)){const _0x22b6e8={};_0x22b6e8[_0x31c902(0x183)]=_0x31d3e1[_0x31c902(0x18b)],Object[_0x31c902(0x1bb)](_0x214165['settings'],_0x22b6e8);}return _0x214165;}static[a139_0x1c3aad(0x1ac)](_0x3b643f,_0x524583){const _0x1717a8=a139_0x1c3aad,_0x3b17ec={'WkDdf':function(_0x54a23d,_0x10eaaa){return _0x54a23d(_0x10eaaa);}},_0xa4e1af={};return _0xa4e1af[_0x1717a8(0x1b5)]=_0x3b643f,_0xa4e1af[_0x1717a8(0x16f)]=_0x524583,{'auth':_0xa4e1af,'headers':_0x3b17ec['WkDdf'](getDefaultHeaders,![])};}static async[a139_0x1c3aad(0x15c)](_0xee94f1,_0x113273){const _0x302607=a139_0x1c3aad,_0x52a1b6={'jdyUi':_0x302607(0x170),'cXFXk':function(_0x1ae81d,_0x54b6c3){return _0x1ae81d(_0x54b6c3);}};logger['debug'](_0x52a1b6[_0x302607(0x1be)]);const _0x1274c7={'project_name':_0xee94f1[_0x302607(0x16a)]||'','name':_0xee94f1['buildName']||path[_0x302607(0x1c8)](path['resolve'](process[_0x302607(0x180)]())),'build_identifier':_0xee94f1['buildIdentifier'],'description':_0xee94f1[_0x302607(0x184)]||'','started_at':new Date()[_0x302607(0x175)](),'tags':_0x52a1b6[_0x302607(0x1ce)](getCustomTags,_0xee94f1),'host_info':bsSetupHelper[_0x302607(0x1c3)](),'ci_info':bsSetupHelper['getCiInfo'](),'build_run_identifier':process[_0x302607(0x192)][_0x302607(0x178)],'failed_tests_rerun':process[_0x302607(0x192)][_0x302607(0x19a)]||![],'linked_build_uuid':process[_0x302607(0x192)][_0x302607(0x158)]||'','version_control':await bsSetupHelper[_0x302607(0x1cf)](),'accessibility':this[_0x302607(0x177)](_0xee94f1),'framework_details':testhubUtils[_0x302607(0x1ae)](_0xee94f1,_0x113273),'product_map':testhubUtils[_0x302607(0x17d)](_0xee94f1),'browserstackAutomation':bsSetupHelper[_0x302607(0x1cc)](),'grouping_identifier':process['env']['BROWSERSTACK_BUILD_GROUPING_IDENTIFIER'],'test_orchestration':testhubUtils['getTestOrchestrationBuildStartData'](_0xee94f1)};if(bsSetupHelper['getCentralUser']()['central_scanner']||bsSetupHelper[_0x302607(0x1b7)]()[_0x302607(0x1a8)]){const _0x343af1={};_0x343af1[_0x302607(0x1c6)]=process['env'][_0x302607(0x19e)],_0x343af1[_0x302607(0x162)]=process['env']['BROWSERSTACK_CENTRAL_SCANNER_JWT'],_0x1274c7[_0x302607(0x15a)]=_0x343af1;}return _0x1274c7;}static[a139_0x1c3aad(0x1af)](_0x3cf5ce,_0x449c8f,_0x2f518b){const _0x1c8d7b=a139_0x1c3aad,_0x5a7aec={'EjJdE':function(_0xf06a17){return _0xf06a17();},'WaVqG':function(_0x4615ec,_0x82bee1){return _0x4615ec&&_0x82bee1;},'CDkYq':_0x1c8d7b(0x1d9),'ovWbH':_0x1c8d7b(0x1e7)},_0x60b484={};if(_0x5a7aec['EjJdE'](isTestObservabilitySession)){const [_0x430aaf,_0x4a53f9,_0x350c3b]=testhubUtils[_0x1c8d7b(0x176)](_0x449c8f[_0x1c8d7b(0x18f)],_0x2f518b[_0x1c8d7b(0x195)]);if(_0x5a7aec['WaVqG'](_0x430aaf,_0x4a53f9)){const _0x48dbc0={};_0x48dbc0['jwt']=_0x430aaf,_0x48dbc0['buildHashedId']=_0x4a53f9,_0x48dbc0[_0x1c8d7b(0x181)]=_0x350c3b,_0x60b484[testHubConstants[_0x1c8d7b(0x167)]]=_0x48dbc0,process[_0x1c8d7b(0x192)][_0x1c8d7b(0x1c5)]=_0x5a7aec[_0x1c8d7b(0x18e)];}else _0x60b484[testHubConstants[_0x1c8d7b(0x167)]]={},process[_0x1c8d7b(0x192)][_0x1c8d7b(0x1c5)]=_0x5a7aec[_0x1c8d7b(0x198)];}else process[_0x1c8d7b(0x192)][_0x1c8d7b(0x1c5)]=_0x5a7aec[_0x1c8d7b(0x198)];const [_0x2867f3,_0x4d5de9,_0x3edb97]=testhubUtils['setAccessibilityVariables'](_0x449c8f[_0x1c8d7b(0x18f)]);if(_0x5a7aec['WaVqG'](_0x2867f3,_0x4d5de9)){const _0x107ea7={};_0x107ea7[_0x1c8d7b(0x1c2)]=_0x2867f3,_0x107ea7[_0x1c8d7b(0x166)]=_0x4d5de9,_0x107ea7[_0x1c8d7b(0x1eb)]=_0x3edb97,_0x60b484[testHubConstants[_0x1c8d7b(0x1c0)]]=_0x107ea7,process[_0x1c8d7b(0x192)][_0x1c8d7b(0x1b9)]=_0x5a7aec['CDkYq'];}else _0x60b484[testHubConstants[_0x1c8d7b(0x1c0)]]={},process[_0x1c8d7b(0x192)]['BROWSERSTACK_ACCESSIBILITY']=_0x5a7aec[_0x1c8d7b(0x198)];return testhubUtils[_0x1c8d7b(0x1da)](_0x449c8f[_0x1c8d7b(0x18f)]),logger[_0x1c8d7b(0x179)]('Testhub\x20started\x20with\x20id:\x20'+process[_0x1c8d7b(0x192)][_0x1c8d7b(0x1e9)]),_0x60b484;}static async[a139_0x1c3aad(0x1dc)](_0x268487){const _0x1194b8=a139_0x1c3aad,_0x112f43={'MmBLK':function(_0x36248e,_0x419161){return _0x36248e===_0x419161;},'TblmT':'false','dmRlE':function(_0x541085,_0x331c8c){return _0x541085===_0x331c8c;},'tnLMy':_0x1194b8(0x1c7),'ouswU':_0x1194b8(0x1a1),'eJcpk':_0x1194b8(0x1e8),'nsidV':'Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','IqnBf':_0x1194b8(0x1b2),'YGPmx':'user_killed','csUyO':function(_0x5e1d9f){return _0x5e1d9f();},'wbgiw':function(_0x4191b6,_0x154223,_0xa3104d,_0x2ff6b1,_0x1ea48e,_0x2244cc){return _0x4191b6(_0x154223,_0xa3104d,_0x2ff6b1,_0x1ea48e,_0x2244cc);},'FPxMu':_0x1194b8(0x187),'PnVDO':_0x1194b8(0x174),'KVIBe':_0x1194b8(0x1a6)};await PerformanceTester[_0x1194b8(0x1cb)](PerformanceEvents[_0x1194b8(0x159)],async()=>{const _0xe599bc=_0x1194b8;if(_0x112f43['MmBLK'](process[_0xe599bc(0x192)][_0xe599bc(0x1bd)],_0x112f43[_0xe599bc(0x19c)])||TestHubHandler[_0xe599bc(0x1b1)]||bsSetupHelper['isUndefined'](process[_0xe599bc(0x192)][testHubConstants[_0xe599bc(0x16d)][_0xe599bc(0x172)]]))return;TestHubHandler[_0xe599bc(0x1b1)]=!![];if(BrowserstackCLI[_0xe599bc(0x15d)]()[_0xe599bc(0x1a4)]())return;await this[_0xe599bc(0x15b)](),await RequestQueueHandler[_0xe599bc(0x15d)]()[_0xe599bc(0x163)](),await SessionHandler['waitForBuildStatus']();if(_0x112f43[_0xe599bc(0x16b)](process[_0xe599bc(0x192)][testHubConstants[_0xe599bc(0x16d)][_0xe599bc(0x172)]],_0x112f43[_0xe599bc(0x188)])||_0x112f43['MmBLK'](process[_0xe599bc(0x192)][testHubConstants[_0xe599bc(0x16d)][_0xe599bc(0x1e9)]],_0x112f43[_0xe599bc(0x188)])){logger['debug'](_0x112f43[_0xe599bc(0x1dd)]);const _0x353933={};return _0x353933['status']=_0x112f43[_0xe599bc(0x173)],_0x353933[_0xe599bc(0x1ca)]=_0x112f43[_0xe599bc(0x1e1)],_0x353933;}const _0x5b6cfd={'finished_at':new Date()[_0xe599bc(0x175)](),'finished_metadata':[]};!!_0x268487&&_0x5b6cfd[_0x112f43[_0xe599bc(0x1a0)]]['push']({'reason':_0x112f43['YGPmx'],'signal':_0x268487,'failure_data':''});const _0x1dc3da={'headers':_0x112f43[_0xe599bc(0x15e)](getDefaultHeaders)};try{const _0x233b53=await _0x112f43[_0xe599bc(0x1b3)](nodeRequest,_0x112f43['FPxMu'],_0xe599bc(0x1c4)+process[_0xe599bc(0x192)][testHubConstants[_0xe599bc(0x16d)][_0xe599bc(0x1e9)]]+'/stop',_0x5b6cfd,_0x1dc3da,![]);if(_0x233b53[_0xe599bc(0x18f)]&&_0x233b53[_0xe599bc(0x18f)][_0xe599bc(0x1e8)]){const _0x49b827={};_0x49b827[_0xe599bc(0x1ca)]=_0x233b53[_0xe599bc(0x18f)][_0xe599bc(0x1e8)];throw _0x49b827;}else{logger[_0xe599bc(0x199)](_0x112f43[_0xe599bc(0x1b6)]);const _0x5544fc={};return _0x5544fc[_0xe599bc(0x193)]=_0x112f43[_0xe599bc(0x19f)],_0x5544fc[_0xe599bc(0x1ca)]='',_0x5544fc;}}catch(_0x525f13){_0x525f13[_0xe599bc(0x1d2)]?logger[_0xe599bc(0x199)]('EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20'+_0x525f13[_0xe599bc(0x1d2)][_0xe599bc(0x193)]+'\x20'+_0x525f13['response'][_0xe599bc(0x1a9)]+'\x20'+JSON[_0xe599bc(0x156)](_0x525f13['response']['data'])):logger[_0xe599bc(0x199)](_0xe599bc(0x1b8)+(_0x525f13[_0xe599bc(0x1ca)]||_0x525f13));const _0x3c337a={};return _0x3c337a[_0xe599bc(0x193)]=_0x112f43[_0xe599bc(0x173)],_0x3c337a[_0xe599bc(0x1ca)]=_0x525f13[_0xe599bc(0x1ca)]||_0x525f13[_0xe599bc(0x1d2)]?_0x525f13['response'][_0xe599bc(0x193)]+':'+_0x525f13[_0xe599bc(0x1d2)]['statusText']:_0x525f13,_0x3c337a;}})();}}module[a139_0x1c3aad(0x186)]=TestHubHandler;
@@ -1 +1 @@
1
- function a140_0x7a8a(){const _0x270a39=['HookRunStarted','MOCHA','../../bin/v2/modules/loadTestModule','93289wyJtUA','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','test_run','2|1|4|3|0','bAAhx','765253lzCzJl','BS_TESTOPS_JWT','YCsYz','2187284xVOKIO','ACCESSIBILITY','../../bin/utils/constants.js','QoJHo','isLTSSession','commands','hxXYb','message','../../bin/jest/test-observability/test-details.js','KcROk','setTestHubCommonMetaInfo','lKQGR','error','CBTSessionCreated','value','JUKaJ','isPercyBuild','90266IznyQl','pLCgH','IzEfJ','ydCgd','winstonLogger','LogCreated','138bRwuEG','5ZqgvFF','NVdQp','scannerVersion','4345122ayTbLH','lcnER','TEST_REPORTING_ANALYTICS','config','ZcPZf','scripts','setTestObservabilityVariables','WveCp','PLAYWRIGHT','jwt','OvlHX','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','keys','username','ERROR','nfeEe','BROWSERSTACK_TESTHUB_JWT','tags','stringify','BS_TESTOPS_BUILD_COMPLETED','../test-orchestration/orchestrationUtils.js','crxuv','qBbtD','setPercyFlag','BS_TESTOPS_BUILD_HASHED_ID','getProductMapForBuildStartCall','DvxpJ','TOKHE','wQaUa','isAccessibilityEnabled','yIVyT','scopes','YyqAV','1|4|2|0|6|3|5','getCentralUser','info','false','observability','product_map','uBYwS','accessibilityPlatform','../logger','appendTesthubParams','DPfnj','length','YugKe','iCKsv','../test-observability/utils','toString','getAgentVersion','QFVBW','getProductMap','FbJIt','uiCAO','build_hashed_id','8PJXTMP','Ootvk','pflZP','CUCUMBER','parseFromJson','../globals.js','VNGny','JZzSD','debug','handleErrorForObservability','getTestData','setTestData','toUpperCase','../test-observability/constants.js','BROWSERSTACK_ACCESSIBILITY','RIbtG','env','setAccessibilityVariables','getAccessibilityValueFromYml','ojRhl','BROWSERSTACK_PERCY','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','uuid','FRAMEWORK_DETAILS','getFrameworkDetails','ufPIf','checkAccessibilityPlatformConfig','DNhcf','dnUvQ','BS_TESTOPS_ALLOW_SCREENSHOTS','key','name','CREDENTIALS_FOR_CRASH_REPORTING','taHBb','null','DEPRECATED','aJGAx','accessibility','330374QbycfV','isRunning','TestRunStarted','setCurrentTestData','shouldScanTestForAccessibility','success','../helper.js','isUndefined','YMcmc','Ovddd','NEuVH','BROWSERSTACK_TESTHUB_UUID','percy','isAccessibilityPlatform','isTrue','VwHnC','platforms','errors','password','../accessibility-automation/scripts.js','11735190ddAGdg','CODECEPT','./constants.js','javascript','getAccessibilityPlatformValidation','1180vpGwSn','app','isBrowserstackInfra','assign','JEST','split','titlePath','BROWSERSTACK_TEST_ACCESSIBILITY_YML','commandsToWrap','true','AYSNq','getGlobal','forEach','bstackA11yShouldScan','options','toJson','HookRunFinished','HdsGL','cnGTe','BS_A11Y_JWT','handleErrorForAccessibility','getBuildStartData','txLaR','getTestOrchestrationBuildStartData','isTurboScaleSession','rVvKP','umbrp'];a140_0x7a8a=function(){return _0x270a39;};return a140_0x7a8a();}const a140_0xf9525d=a140_0x4242;(function(_0x184648,_0x52ba88){const _0x400436=a140_0x4242,_0x52e2c0=_0x184648();while(!![]){try{const _0x204396=-parseInt(_0x400436(0x145))/0x1+-parseInt(_0x400436(0x109))/0x2+-parseInt(_0x400436(0xac))/0x3+-parseInt(_0x400436(0x148))/0x4*(-parseInt(_0x400436(0xa9))/0x5)+-parseInt(_0x400436(0xa8))/0x6*(-parseInt(_0x400436(0x140))/0x7)+-parseInt(_0x400436(0xe3))/0x8*(-parseInt(_0x400436(0x11d))/0x9)+-parseInt(_0x400436(0x122))/0xa*(-parseInt(_0x400436(0xa2))/0xb);if(_0x204396===_0x52ba88)break;else _0x52e2c0['push'](_0x52e2c0['shift']());}catch(_0x1c2bd0){_0x52e2c0['push'](_0x52e2c0['shift']());}}}(a140_0x7a8a,0xb64fa));function a140_0x4242(_0x38d163,_0xdd20b4){const _0x7a8a2c=a140_0x7a8a();return a140_0x4242=function(_0x4242cf,_0x4afaf5){_0x4242cf=_0x4242cf-0x92;let _0x303b75=_0x7a8a2c[_0x4242cf];return _0x303b75;},a140_0x4242(_0x38d163,_0xdd20b4);}const bsSetupHelper=require('../helper'),LoadTestModule=require(a140_0xf9525d(0x13f)),{isTestObservabilitySession,getFrameworkVersion}=require(a140_0xf9525d(0xdb)),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a140_0xf9525d(0xd5))[a140_0xf9525d(0xa6)],{nestedKeyValue}=require(a140_0xf9525d(0x10f)),scripts=require(a140_0xf9525d(0x11c)),globals=require(a140_0xf9525d(0xe8)),testHubConstants=require(a140_0xf9525d(0x11f)),PWTestDetails=require('../../bin/playwright/reporter/test-details.js'),JestTestDetails=require(a140_0xf9525d(0x99)),{FRAMEWORKS}=require(a140_0xf9525d(0xf0)),{isTurboScaleSession}=require('../ats/helper'),OrchestrationUtils=require(a140_0xf9525d(0xc0)),constants=require(a140_0xf9525d(0x93));let testData={};exports[a140_0xf9525d(0xdf)]=_0x3c3874=>{const _0x42923a=a140_0xf9525d,_0x25a2ef={'AYSNq':function(_0x3b1362){return _0x3b1362();}};let _0x4304a4=![],_0x322801=![];if(bsSetupHelper[_0x42923a(0x124)]()&&_0x3c3874[_0x42923a(0x123)])_0x322801=!![];else bsSetupHelper[_0x42923a(0x124)]()&&(_0x4304a4=!![]);return Object['assign']({'observability':_0x25a2ef[_0x42923a(0x12c)](isTestObservabilitySession),'accessibility':exports[_0x42923a(0xc9)](_0x3c3874),'percy':_0x3c3874['percy']||![],'automate':_0x4304a4,'app_automate':_0x322801,'turboscale':bsSetupHelper[_0x42923a(0x13a)](_0x3c3874),'lts':LoadTestModule['isLTSSession'](_0x3c3874)},bsSetupHelper['getCentralUser']());},exports[a140_0xf9525d(0xfb)]=(_0x4d7549,_0xcf8fee)=>{const _0xd2151e=a140_0xf9525d,_0x3d49c3={'pflZP':function(_0x37ef91,_0x3a48c9){return _0x37ef91(_0x3a48c9);},'OvlHX':_0xd2151e(0x120)},_0x3c8b81={'frameworkName':_0xcf8fee,'frameworkVersion':_0x3d49c3[_0xd2151e(0xe5)](getFrameworkVersion,_0xcf8fee),'sdkVersion':bsSetupHelper[_0xd2151e(0xdd)](),'language':_0x3d49c3[_0xd2151e(0xb6)],'testFramework':bsSetupHelper['getTestFrameworkDetails'](_0x4d7549,_0xcf8fee)};return process[_0xd2151e(0xf3)][_0xd2151e(0xfa)]=JSON['stringify'](_0x3c8b81),_0x3c8b81;},exports[a140_0xf9525d(0xc3)]=_0x4fbfca=>{const _0x3d0bee=a140_0xf9525d,_0x128a93={};_0x128a93['JZzSD']='false',_0x128a93[_0x3d0bee(0x111)]='true';const _0x943ffc=_0x128a93;process[_0x3d0bee(0xf3)][_0x3d0bee(0xf7)]=_0x943ffc[_0x3d0bee(0xea)],bsSetupHelper[_0x3d0bee(0x117)](_0x4fbfca[_0x3d0bee(0xaf)]['percy'])&&(!_0x4fbfca[_0x3d0bee(0x115)]||!_0x4fbfca['percy'][_0x3d0bee(0x10a)]())&&(process[_0x3d0bee(0xf3)][_0x3d0bee(0xf7)]=_0x943ffc[_0x3d0bee(0x111)]);},exports[a140_0xf9525d(0xa1)]=()=>{const _0x62c47d=a140_0xf9525d;return bsSetupHelper['isTrue'](process[_0x62c47d(0xf3)][_0x62c47d(0xf7)]);},exports['isAccessibilityEnabled']=(_0x53f4b0={})=>{const _0x2dfa63=a140_0xf9525d,_0x2abf9c={};_0x2abf9c[_0x2dfa63(0x112)]=function(_0x184f83,_0x41ff09){return _0x184f83!==_0x41ff09;},_0x2abf9c[_0x2dfa63(0xfc)]=function(_0x29a113,_0x3c30c5){return _0x29a113===_0x3c30c5;},_0x2abf9c['KGtOa']=_0x2dfa63(0x12b),_0x2abf9c[_0x2dfa63(0x107)]=function(_0x3c1075,_0x38909e){return _0x3c1075>_0x38909e;},_0x2abf9c[_0x2dfa63(0xc2)]=function(_0x1e4d37,_0x29dea0){return _0x1e4d37===_0x29dea0;};const _0x18e014=_0x2abf9c;if(_0x18e014[_0x2dfa63(0x112)](process[_0x2dfa63(0xf3)]['BROWSERSTACK_ACCESSIBILITY'],undefined))return bsSetupHelper['isTrue'](process[_0x2dfa63(0xf3)][_0x2dfa63(0xf1)]);let _0x336c3e=_0x18e014[_0x2dfa63(0xfc)](process[_0x2dfa63(0xf3)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x18e014['KGtOa']);return _0x18e014['aJGAx'](Object[_0x2dfa63(0xb8)](_0x53f4b0)['length'],0x0)&&(process[_0x2dfa63(0xf3)][_0x2dfa63(0x141)]=accessibilityHelper[_0x2dfa63(0xfd)](_0x53f4b0)),_0x336c3e=_0x336c3e||_0x18e014[_0x2dfa63(0xc2)](process[_0x2dfa63(0xf3)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x18e014['KGtOa']),_0x336c3e;},exports[a140_0xf9525d(0xb2)]=(_0x5719a3,_0x2e929e)=>{const _0x364303=a140_0xf9525d,_0x252494={'nfeEe':function(_0x5d26f8){return _0x5d26f8();},'VwHnC':'3|0|5|4|1|2','IzEfJ':'true','DPfnj':function(_0xd6d757,_0x5165bf,_0x546c90){return _0xd6d757(_0x5165bf,_0x546c90);},'lcnER':_0x364303(0xd1),'umbrp':_0x364303(0x130)};if(!_0x5719a3||!_0x5719a3[_0x364303(0xd1)])return exports[_0x364303(0xec)](),[null,null,null];if(!_0x5719a3['observability'][_0x364303(0x10e)])return exports[_0x364303(0xec)](_0x5719a3['observability']),[null,null,null];if(_0x252494[_0x364303(0xbb)](isTestObservabilitySession)){const _0x3e6640=_0x252494[_0x364303(0x118)]['split']('|');let _0x1aee4a=0x0;while(!![]){switch(_0x3e6640[_0x1aee4a++]){case'0':if(_0x5719a3[_0x364303(0xb5)]){process[_0x364303(0xf3)][_0x364303(0x146)]=_0x5719a3['jwt'];const _0x1e2379={};_0x1e2379[_0x364303(0xb9)]=_0x2e929e['username'],_0x1e2379[_0x364303(0x11b)]=_0x2e929e[_0x364303(0x11b)],process[_0x364303(0xf3)][_0x364303(0x103)]=JSON[_0x364303(0xbe)](_0x1e2379);}continue;case'1':logger[_0x364303(0xeb)]('['+constants[_0x364303(0xae)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x5719a3[_0x364303(0xe2)]);continue;case'2':return[_0x5719a3[_0x364303(0xb5)],_0x5719a3[_0x364303(0xe2)],process[_0x364303(0xf3)][_0x364303(0x100)]];case'3':process[_0x364303(0xf3)][_0x364303(0xbf)]=_0x252494[_0x364303(0xa4)];continue;case'4':_0x252494[_0x364303(0xd7)](nestedKeyValue,_0x5719a3,[_0x252494[_0x364303(0xad)],_0x252494[_0x364303(0x13c)]])&&(process['env'][_0x364303(0x100)]=_0x5719a3[_0x364303(0xd1)]['options']['allow_screenshots'][_0x364303(0xdc)]());continue;case'5':_0x5719a3[_0x364303(0xe2)]&&(process['env']['BS_TESTOPS_BUILD_HASHED_ID']=_0x5719a3[_0x364303(0xe2)]);continue;}break;}}return[null,null,null];},exports[a140_0xf9525d(0xf4)]=_0x2642de=>{const _0x2dfc91=a140_0xf9525d,_0x5c0f01={'DNhcf':function(_0xf8339a,_0x3cc698,_0x159b12){return _0xf8339a(_0x3cc698,_0x159b12);},'ESzTa':_0x2dfc91(0x108),'jeHuW':'options','AgFHW':function(_0x58c098,_0x3c6b40,_0x236456,_0x1e980d){return _0x58c098(_0x3c6b40,_0x236456,_0x1e980d);},'QoJHo':_0x2dfc91(0x102),'QFVBW':_0x2dfc91(0x9f),'uaTOd':function(_0x1702aa,_0x1d1959,_0x1f272d,_0x34a76a){return _0x1702aa(_0x1d1959,_0x1f272d,_0x34a76a);},'TOKHE':'command','DvxpJ':_0x2dfc91(0x96),'bAAhx':function(_0x31727d,_0x2e3e1f,_0x3734f4,_0x216f83){return _0x31727d(_0x2e3e1f,_0x3734f4,_0x216f83);},'bFetW':'nonBStackInfraA11yChromeOptions','Ootvk':'goog:chromeOptions'};if(!_0x2642de[_0x2dfc91(0x108)])return exports[_0x2dfc91(0x136)](),[null,null];if(!_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x10e)])return exports[_0x2dfc91(0x136)](_0x2642de['accessibility']),[null,null];if(_0x5c0f01[_0x2dfc91(0xfe)](nestedKeyValue,_0x2642de,[_0x5c0f01['ESzTa'],_0x5c0f01['jeHuW']])){const {accessibilityToken:_0x229c19,scannerVersion:_0x498841,scannerProcessingTimeout:_0x204642}=_0x5c0f01['AgFHW'](jsonifyAccessibilityArray,_0x2642de[_0x2dfc91(0x108)]['options']['capabilities'],_0x5c0f01[_0x2dfc91(0x94)],_0x5c0f01[_0x2dfc91(0xde)]),_0x682966={'scripts':_0x5c0f01['uaTOd'](jsonifyAccessibilityArray,_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x130)][_0x2dfc91(0xb1)],_0x5c0f01[_0x2dfc91(0x94)],_0x5c0f01[_0x2dfc91(0xc7)])};_0x682966[_0x5c0f01[_0x2dfc91(0xc6)]]=_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x130)][_0x2dfc91(0x12a)][_0x2dfc91(0x96)];const _0x49b9d6=_0x5c0f01[_0x2dfc91(0x144)](jsonifyAccessibilityArray,_0x2642de[_0x2dfc91(0x108)][_0x2dfc91(0x130)]['capabilities'],_0x5c0f01['QoJHo'],_0x5c0f01[_0x2dfc91(0xde)]);_0x682966[_0x5c0f01['bFetW']]=_0x49b9d6[_0x5c0f01[_0x2dfc91(0xe4)]],scripts[_0x2dfc91(0xe7)](_0x682966),scripts[_0x2dfc91(0x131)]();let _0x782bf=process[_0x2dfc91(0xf3)][_0x2dfc91(0xb7)];return _0x782bf=!!_0x782bf?JSON['parse'](_0x782bf):{},_0x782bf[_0x2dfc91(0xab)]=_0x498841,process[_0x2dfc91(0xf3)][_0x2dfc91(0xb7)]=JSON[_0x2dfc91(0xbe)](_0x782bf),process[_0x2dfc91(0xf3)][_0x2dfc91(0x135)]=_0x229c19,logger[_0x2dfc91(0xeb)](_0x2dfc91(0xf8)+_0x2642de[_0x2dfc91(0xe2)]),[_0x229c19,_0x2642de[_0x2dfc91(0xe2)],_0x204642];}return[null,null];},exports['handleErrorForObservability']=_0x228f77=>{const _0x4f4024=a140_0xf9525d,_0x1f3f22={};_0x1f3f22[_0x4f4024(0xe1)]=_0x4f4024(0xcd),_0x1f3f22['VNGny']=_0x4f4024(0x105),_0x1f3f22[_0x4f4024(0xc1)]='false';const _0x273150=_0x1f3f22,_0x33644f=_0x273150[_0x4f4024(0xe1)]['split']('|');let _0x4025ae=0x0;while(!![]){switch(_0x33644f[_0x4025ae++]){case'0':process[_0x4f4024(0xf3)]['BS_TESTOPS_JWT']=_0x273150['VNGny'];continue;case'1':process['env'][_0x4f4024(0x114)]=_0x273150['VNGny'];continue;case'2':process[_0x4f4024(0xf3)]['BS_TESTOPS_BUILD_COMPLETED']=_0x273150[_0x4f4024(0xc1)];continue;case'3':process[_0x4f4024(0xf3)][_0x4f4024(0x100)]=_0x273150[_0x4f4024(0xe9)];continue;case'4':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x273150[_0x4f4024(0xe9)];continue;case'5':exports['logBuildError'](_0x228f77,testHubConstants['OBSERVABILITY']);continue;case'6':process[_0x4f4024(0xf3)][_0x4f4024(0xc4)]=_0x273150[_0x4f4024(0xe9)];continue;}break;}},exports['handleErrorForAccessibility']=_0x1e5ec2=>{const _0x4d02bc=a140_0xf9525d,_0x31170d={};_0x31170d[_0x4d02bc(0x138)]=_0x4d02bc(0x143),_0x31170d[_0x4d02bc(0x13b)]=_0x4d02bc(0x105),_0x31170d['kmNJE']=_0x4d02bc(0xd0);const _0x5d8629=_0x31170d,_0x541f56=_0x5d8629[_0x4d02bc(0x138)][_0x4d02bc(0x127)]('|');let _0xeaa605=0x0;while(!![]){switch(_0x541f56[_0xeaa605++]){case'0':exports['logBuildError'](_0x1e5ec2,testHubConstants[_0x4d02bc(0x92)]);continue;case'1':process[_0x4d02bc(0xf3)][_0x4d02bc(0xbc)]=_0x5d8629[_0x4d02bc(0x13b)];continue;case'2':process[_0x4d02bc(0xf3)]['BROWSERSTACK_TESTHUB_UUID']=_0x5d8629[_0x4d02bc(0x13b)];continue;case'3':process[_0x4d02bc(0xf3)][_0x4d02bc(0x141)]=_0x5d8629['kmNJE'];continue;case'4':process['env'][_0x4d02bc(0x129)]=_0x5d8629['kmNJE'];continue;}break;}},exports['logBuildError']=(_0x4b319a,_0x770738='')=>{const _0x5e0ac2=a140_0xf9525d,_0x4cab49={};_0x4cab49[_0x5e0ac2(0xf6)]=function(_0x528840,_0x541ed3){return _0x528840===_0x541ed3;};const _0x3c977a=_0x4cab49;if(_0x3c977a[_0x5e0ac2(0xf6)](_0x4b319a,undefined)){logger[_0x5e0ac2(0x9d)](_0x770738[_0x5e0ac2(0xef)]()+'\x20Build\x20creation\x20failed');return;}for(const _0x36b6f3 of _0x4b319a[_0x5e0ac2(0x11a)]){const _0x3f65a4=_0x36b6f3[_0x5e0ac2(0x101)],_0x476cf5=_0x36b6f3[_0x5e0ac2(0x98)];if(_0x476cf5)switch(_0x3f65a4){case testHubConstants[_0x5e0ac2(0xba)]['INVALID_CREDENTIALS']:logger[_0x5e0ac2(0x9d)](_0x476cf5);break;case testHubConstants[_0x5e0ac2(0xba)]['ACCESS_DENIED']:logger[_0x5e0ac2(0xcf)](_0x476cf5);break;case testHubConstants[_0x5e0ac2(0xba)][_0x5e0ac2(0x106)]:logger[_0x5e0ac2(0x9d)](_0x476cf5);break;default:logger['error'](_0x476cf5);}}};const jsonifyAccessibilityArray=(_0x1fcc33,_0x6f3725,_0x14b08b)=>{const _0x354cb3=a140_0xf9525d,_0xbfe8ba={};return _0x1fcc33[_0x354cb3(0x12e)](_0x37ed21=>{_0xbfe8ba[_0x37ed21[_0x6f3725]]=_0x37ed21[_0x14b08b];}),_0xbfe8ba;};exports[a140_0xf9525d(0x9b)]=_0x2352a6=>{const _0x52a804=a140_0xf9525d;_0x2352a6[_0x52a804(0xb5)]&&(process[_0x52a804(0xf3)][_0x52a804(0xbc)]=_0x2352a6[_0x52a804(0xb5)]);_0x2352a6[_0x52a804(0xe2)]&&(process['env'][_0x52a804(0x114)]=_0x2352a6[_0x52a804(0xe2)],logger[_0x52a804(0xeb)]('BROWSERSTACK_TESTHUB_UUID:\x20'+_0x2352a6['build_hashed_id']));;},exports['shouldProcessEventForTesthub']=(_0x3630d1='',_0x40999e='')=>{const _0x399b49=a140_0xf9525d,_0x1670c={'uBYwS':function(_0x1f1c74){return _0x1f1c74();},'wQaUa':function(_0x99da01,_0x17c80b){return _0x99da01===_0x17c80b;},'SFnfS':'uploadEventData','dnUvQ':_0x399b49(0xa7),'taHBb':_0x399b49(0x9e),'XvFnW':_0x399b49(0x13d),'FCHuK':_0x399b49(0x132)};if(exports[_0x399b49(0xa1)]()&&!exports['isAccessibilityEnabled']()&&!_0x1670c[_0x399b49(0xd3)](isTestObservabilitySession)){if(_0x1670c[_0x399b49(0xc8)](_0x40999e,_0x1670c['SFnfS']))return![];if([_0x1670c[_0x399b49(0xff)],_0x1670c[_0x399b49(0x104)]]['includes'](_0x3630d1))return![];return!![];}if(exports[_0x399b49(0xc9)]()&&!_0x1670c[_0x399b49(0xd3)](isTestObservabilitySession)){if([_0x1670c['XvFnW'],_0x1670c['FCHuK'],_0x1670c[_0x399b49(0xff)]]['includes'](_0x3630d1))return![];return!![];}return exports[_0x399b49(0xc9)]()||_0x1670c['uBYwS'](isTestObservabilitySession)||exports['isPercyBuild']();},exports[a140_0xf9525d(0xd6)]=(_0x124616,_0x36d36c,_0x5176ab='',_0x5b2683)=>{const _0x3988f1=a140_0xf9525d,_0x3dd98f={};_0x3dd98f[_0x3988f1(0x97)]=_0x3988f1(0x13d),_0x3dd98f['FbJIt']=_0x3988f1(0x132),_0x3dd98f[_0x3988f1(0xda)]=function(_0x849764,_0x4141e1){return _0x849764===_0x4141e1;},_0x3dd98f[_0x3988f1(0xb0)]=_0x3988f1(0x12f),_0x3dd98f[_0x3988f1(0x133)]=_0x3988f1(0x116),_0x3dd98f['WveCp']=_0x3988f1(0x108),_0x3dd98f['YCsYz']=function(_0x56eb74,_0x5d670b){return _0x56eb74&&_0x5d670b;},_0x3dd98f[_0x3988f1(0x113)]=function(_0x457994,_0x9ccc09){return _0x457994+_0x9ccc09;},_0x3dd98f[_0x3988f1(0xf2)]=function(_0x14704c,_0x2c6150){return _0x14704c&&_0x2c6150;},_0x3dd98f[_0x3988f1(0xa3)]=function(_0x1b680e,_0x11e93a){return _0x1b680e===_0x11e93a;},_0x3dd98f[_0x3988f1(0xcc)]=function(_0x4fe862,_0x339080){return _0x4fe862===_0x339080;},_0x3dd98f[_0x3988f1(0xa0)]=_0x3988f1(0x10b),_0x3dd98f[_0x3988f1(0x134)]=function(_0xc1b41d,_0x23af2e){return _0xc1b41d===_0x23af2e;},_0x3dd98f[_0x3988f1(0xd9)]=function(_0x4c13ad,_0x2cbf4a){return _0x4c13ad&&_0x2cbf4a;},_0x3dd98f[_0x3988f1(0xca)]=function(_0xbb6633,_0x26e3aa){return _0xbb6633&&_0x26e3aa;},_0x3dd98f[_0x3988f1(0xa5)]=_0x3988f1(0xd2);const _0x39e068=_0x3dd98f;if(![_0x39e068[_0x3988f1(0x97)],_0x39e068[_0x3988f1(0xe0)]]['includes'](_0x36d36c)&&exports[_0x3988f1(0xc9)]()){const _0x1c966f={};if(_0x39e068[_0x3988f1(0xda)](_0x5b2683,FRAMEWORKS['MOCHA'])){const _0x5f58b5=globals[_0x3988f1(0x12d)](_0x39e068[_0x3988f1(0xb0)])||accessibilityHelper[_0x3988f1(0x10d)](_0x5176ab[_0x3988f1(0x128)](),!![]),_0x77b5b5=globals[_0x3988f1(0x12d)](_0x39e068[_0x3988f1(0x133)]);_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=_0x39e068[_0x3988f1(0x147)](_0x77b5b5,_0x5f58b5);}if(_0x39e068[_0x3988f1(0xda)](_0x5b2683,FRAMEWORKS[_0x3988f1(0x126)])){const _0x44b07a=_0x39e068[_0x3988f1(0x113)](_0x39e068[_0x3988f1(0x113)](_0x124616[_0x3988f1(0xcb)]['join']('\x20'),'\x20'),_0x5176ab[_0x3988f1(0x102)]),_0x59935b=globals[_0x3988f1(0x12d)](_0x39e068['ZcPZf'])||accessibilityHelper[_0x3988f1(0x10d)](_0x44b07a,![]),_0x1e7deb=browserStackGlobals[_0x3988f1(0x116)];_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=_0x39e068[_0x3988f1(0xf2)](_0x1e7deb,_0x59935b);}if(_0x39e068[_0x3988f1(0xa3)](_0x5b2683,FRAMEWORKS[_0x3988f1(0xb4)])){if(_0x39e068[_0x3988f1(0xcc)](_0x36d36c,_0x39e068[_0x3988f1(0xa0)]))return;_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=PWTestDetails[_0x3988f1(0x121)](_0x124616[_0x3988f1(0xf9)]);}if(_0x39e068[_0x3988f1(0x134)](_0x5b2683,FRAMEWORKS[_0x3988f1(0x11e)])){const _0x54a9d5=accessibilityHelper[_0x3988f1(0x10d)](_0x5176ab['titlePath'](),!![]),_0x45e605=global[_0x3988f1(0xd4)];_0x1c966f[_0x39e068['WveCp']]=_0x39e068['YugKe'](_0x45e605,_0x54a9d5);}if(_0x39e068[_0x3988f1(0xcc)](_0x5b2683,FRAMEWORKS[_0x3988f1(0xe6)])){const _0x5cefc1=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x124616[_0x3988f1(0xbd)]),_0x488d73=globals[_0x3988f1(0x12d)](_0x39e068[_0x3988f1(0x133)]);_0x1c966f[_0x39e068[_0x3988f1(0xb3)]]=_0x39e068[_0x3988f1(0xca)](_0x488d73,_0x5cefc1);}_0x124616[_0x39e068[_0x3988f1(0xa5)]]=_0x1c966f;}},exports['getCurrentTestData']=_0x19f8fe=>{const _0x26def8=a140_0xf9525d,_0xd1e0bc={};_0xd1e0bc[_0x26def8(0x9c)]=function(_0x3e99e9,_0x537058){return _0x3e99e9>_0x537058;};const _0x466a42=_0xd1e0bc;let _0x4f74cd={};if(_0x466a42['lKQGR'](Object[_0x26def8(0xb8)](testData)['length'],0x0))return testData;_0x4f74cd=JestTestDetails[_0x26def8(0xed)]();if(_0x466a42[_0x26def8(0x9c)](Object[_0x26def8(0xb8)](_0x4f74cd)[_0x26def8(0xd8)],0x0))return _0x4f74cd;return _0x4f74cd;},exports[a140_0xf9525d(0x10c)]=(_0x520e35,_0x1c155f={})=>{const _0x544687=a140_0xf9525d;if(bsSetupHelper[_0x544687(0x110)](_0x1c155f[_0x544687(0x142)]))return;switch(_0x520e35){case FRAMEWORKS[_0x544687(0x13e)]:testData=_0x1c155f[_0x544687(0x142)];break;case FRAMEWORKS['JEST']:JestTestDetails[_0x544687(0xee)](_0x1c155f['test_run']);break;default:break;}},exports['getAccessibilityValueFromYml']=_0x386156=>{const _0x343d57=a140_0xf9525d,_0x169bf2={};_0x169bf2[_0x343d57(0x9a)]=function(_0x5c41c9,_0x427645){return _0x5c41c9!==_0x427645;};const _0x1ec176=_0x169bf2;if(_0x1ec176[_0x343d57(0x9a)](_0x386156[_0x343d57(0x108)],null)&&_0x1ec176['KcROk'](_0x386156[_0x343d57(0x108)],undefined))return _0x386156[_0x343d57(0x108)];let _0x155e47=![],_0x4c4057=![];if(_0x386156[_0x343d57(0x119)])for(const _0x4010c9 of _0x386156[_0x343d57(0x119)]){_0x1ec176[_0x343d57(0x9a)](_0x4010c9[_0x343d57(0x108)],null)&&_0x1ec176['KcROk'](_0x4010c9['accessibility'],undefined)&&(_0x155e47=_0x155e47||bsSetupHelper[_0x343d57(0x117)](_0x4010c9[_0x343d57(0x108)]),_0x4c4057=!![]);}if(_0x4c4057)return _0x155e47;return null;},exports[a140_0xf9525d(0x139)]=_0x585b99=>{const _0x360006=a140_0xf9525d,_0x34f0f4=new OrchestrationUtils(_0x585b99);return _0x34f0f4[_0x360006(0x137)]();},exports[a140_0xf9525d(0xc5)]=_0x3a756a=>{const _0x2b7580=a140_0xf9525d,_0x2fac12={'NVdQp':function(_0x5160d2){return _0x5160d2();}};let _0x794397=![],_0x2f9df5=![];if(bsSetupHelper[_0x2b7580(0x124)]()&&_0x3a756a[_0x2b7580(0x123)])_0x2f9df5=!![];else bsSetupHelper['isBrowserstackInfra']()&&(_0x794397=!![]);return Object[_0x2b7580(0x125)]({'observability':_0x2fac12[_0x2b7580(0xaa)](isTestObservabilitySession),'accessibility':exports[_0x2b7580(0xf5)](_0x3a756a),'percy':_0x3a756a[_0x2b7580(0x115)]||![],'automate':_0x794397,'app_automate':_0x2f9df5,'turboscale':bsSetupHelper[_0x2b7580(0x13a)](_0x3a756a),'lts':LoadTestModule[_0x2b7580(0x95)](_0x3a756a)},bsSetupHelper[_0x2b7580(0xce)]());};
1
+ const a140_0x26ec0f=a140_0x1570;(function(_0x10d412,_0x2f1323){const _0x406450=a140_0x1570,_0x1b826b=_0x10d412();while(!![]){try{const _0x442d4f=-parseInt(_0x406450(0x1e2))/0x1*(parseInt(_0x406450(0x201))/0x2)+-parseInt(_0x406450(0x23d))/0x3+-parseInt(_0x406450(0x1d5))/0x4*(parseInt(_0x406450(0x24e))/0x5)+-parseInt(_0x406450(0x1db))/0x6+parseInt(_0x406450(0x262))/0x7*(parseInt(_0x406450(0x1bb))/0x8)+-parseInt(_0x406450(0x1de))/0x9*(parseInt(_0x406450(0x21f))/0xa)+parseInt(_0x406450(0x1bc))/0xb*(parseInt(_0x406450(0x25c))/0xc);if(_0x442d4f===_0x2f1323)break;else _0x1b826b['push'](_0x1b826b['shift']());}catch(_0x142261){_0x1b826b['push'](_0x1b826b['shift']());}}}(a140_0x4c02,0x42b69));const bsSetupHelper=require(a140_0x26ec0f(0x1fe)),LoadTestModule=require(a140_0x26ec0f(0x1e7)),{isTestObservabilitySession,getFrameworkVersion}=require(a140_0x26ec0f(0x237)),accessibilityHelper=require(a140_0x26ec0f(0x1c1)),logger=require(a140_0x26ec0f(0x233))[a140_0x26ec0f(0x208)],{nestedKeyValue}=require(a140_0x26ec0f(0x1cf)),scripts=require(a140_0x26ec0f(0x243)),globals=require('../globals.js'),testHubConstants=require(a140_0x26ec0f(0x1d0)),PWTestDetails=require(a140_0x26ec0f(0x218)),JestTestDetails=require(a140_0x26ec0f(0x1fa)),{FRAMEWORKS}=require(a140_0x26ec0f(0x220)),{isTurboScaleSession}=require(a140_0x26ec0f(0x236)),OrchestrationUtils=require('../test-orchestration/orchestrationUtils.js'),constants=require(a140_0x26ec0f(0x21d));function a140_0x4c02(){const _0x4e011a=['javascript','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','ZDgKg','handleErrorForObservability','BROWSERSTACK_TEST_ACCESSIBILITY_YML','25536MHKjOT','build_hashed_id','isTurboScaleSession','BS_TESTOPS_BUILD_HASHED_ID','setPercyFlag','logBuildError','FRAMEWORK_DETAILS','HpQiP','ACCESSIBILITY','error','split','getAgentVersion','isAccessibilityPlatform','getCurrentTestData','ACCESS_DENIED','fGkcs','percy','isBrowserstackInfra','isLTSSession','debug','test_run','CODECEPT','1104cpSUxg','154aGddwS','keys','ysPfL','TestRunStarted','isRunning','../accessibility-automation/helper','iamJz','1|5|0|3|4|2','gUQlK','jOhVm','getAccessibilityPlatformValidation','qnXsu','null','BlBRw','toJson','goog:chromeOptions','checkAccessibilityPlatformConfig','0|4|2|3|1','jwt','../helper.js','./constants.js','isTrue','szVEd','includes','getCentralUser','235928BztEFY','MOCHA','getAccessibilityValueFromYml','isAccessibilityEnabled','true','udOKr','2972106oXgxKQ','scripts','TPNvw','1077192UliExy','toString','4|2|6|5|0|3|1','OBSERVABILITY','64nAmbYm','getProductMap','exDal','password','nonBStackInfraA11yChromeOptions','../../bin/v2/modules/loadTestModule','TEST_REPORTING_ANALYTICS','mqtRS','BS_A11Y_JWT','value','BROWSERSTACK_TESTHUB_UUID:\x20','SaWzJ','OcLwr','toUpperCase','errors','setTestHubCommonMetaInfo','JEST','FREBT','username','sEXlJ','uploadEventData','nvboP','setAccessibilityVariables','iRhOH','../../bin/jest/test-observability/test-details.js','command','commands','BROWSERSTACK_ACCESSIBILITY','../helper','GVEeR','BROWSERSTACK_TESTHUB_JWT','10498FXmxNq','platforms','setTestObservabilityVariables','BS_TESTOPS_BUILD_COMPLETED','BROWSERSTACK_PERCY','name','EsoWx','winstonLogger','yaQcD','message','assign','perlm','length','iPTOa','allow_screenshots','false','jvHvV','HookRunFinished','WyixB','bqMId','fkpXZ','DEPRECATED','HookRunStarted','../../bin/playwright/reporter/test-details.js','tFxZM','stringify','getGlobal','info','../../bin/utils/constants.js','shouldScanTestForAccessibility','20FtNIZV','../test-observability/constants.js','hEdVJ','env','lGthD','bstackA11yShouldScan','pbEid','QRTbF','MzSUF','IMyis','nSYIN','scannerVersion','IEfey','observability','CsAQJ','sRWyZ','CBTSessionCreated','ZWpWc','ndLzh','scopes','../logger','\x20Build\x20creation\x20failed','options','../ats/helper','../test-observability/utils','TDPLz','setCurrentTestData','BS_TESTOPS_ALLOW_SCREENSHOTS','vZoJJ','Zfojk','682062swhtiS','XeQOX','FBxul','CREDENTIALS_FOR_CRASH_REPORTING','zSLER','parseFromJson','../accessibility-automation/scripts.js','VYkUl','PLAYWRIGHT','ERROR','getFrameworkDetails','handleErrorForAccessibility','YgKdZ','isPercyBuild','rVXMz','capabilities','tnwEh','5gCuolm','mAXgJ','parse','accessibility','forEach','titlePath','iuexa','CUCUMBER','getTestFrameworkDetails','dsRME','tags','BROWSERSTACK_TESTHUB_UUID','app','success','965856kefvmU'];a140_0x4c02=function(){return _0x4e011a;};return a140_0x4c02();}let testData={};function a140_0x1570(_0x277663,_0x3e3360){const _0x4c026f=a140_0x4c02();return a140_0x1570=function(_0x15706c,_0x4a95a5){_0x15706c=_0x15706c-0x1a9;let _0x460832=_0x4c026f[_0x15706c];return _0x460832;},a140_0x1570(_0x277663,_0x3e3360);}exports[a140_0x26ec0f(0x1e3)]=_0x2a03c5=>{const _0x2f0830=a140_0x26ec0f,_0x16ab9b={'bqMId':function(_0x55ab76){return _0x55ab76();}};let _0x5ea618=![],_0x575751=![];if(bsSetupHelper[_0x2f0830(0x1b6)]()&&_0x2a03c5[_0x2f0830(0x25a)])_0x575751=!![];else bsSetupHelper[_0x2f0830(0x1b6)]()&&(_0x5ea618=!![]);return Object[_0x2f0830(0x20b)]({'observability':_0x16ab9b[_0x2f0830(0x214)](isTestObservabilitySession),'accessibility':exports[_0x2f0830(0x1d8)](_0x2a03c5),'percy':_0x2a03c5[_0x2f0830(0x1b5)]||![],'automate':_0x5ea618,'app_automate':_0x575751,'turboscale':bsSetupHelper[_0x2f0830(0x264)](_0x2a03c5),'lts':LoadTestModule[_0x2f0830(0x1b7)](_0x2a03c5)},bsSetupHelper[_0x2f0830(0x1d4)]());},exports[a140_0x26ec0f(0x247)]=(_0x4ea138,_0x554dfd)=>{const _0x57bccf=a140_0x26ec0f,_0x34d7ad={'CsAQJ':function(_0x4bdfb5,_0x2d00dc){return _0x4bdfb5(_0x2d00dc);},'FBxul':_0x57bccf(0x25d)},_0x46bcd9={'frameworkName':_0x554dfd,'frameworkVersion':_0x34d7ad[_0x57bccf(0x22d)](getFrameworkVersion,_0x554dfd),'sdkVersion':bsSetupHelper[_0x57bccf(0x1b0)](),'language':_0x34d7ad[_0x57bccf(0x23f)],'testFramework':bsSetupHelper[_0x57bccf(0x256)](_0x4ea138,_0x554dfd)};return process[_0x57bccf(0x222)][_0x57bccf(0x1ab)]=JSON[_0x57bccf(0x21a)](_0x46bcd9),_0x46bcd9;},exports[a140_0x26ec0f(0x1a9)]=_0x16b6f1=>{const _0x48aefb=a140_0x26ec0f,_0x3a6759={};_0x3a6759['iRhOH']='false',_0x3a6759[_0x48aefb(0x24d)]=_0x48aefb(0x1d9);const _0x4ff25f=_0x3a6759;process['env'][_0x48aefb(0x205)]=_0x4ff25f[_0x48aefb(0x1f9)],bsSetupHelper['isTrue'](_0x16b6f1['config'][_0x48aefb(0x1b5)])&&(!_0x16b6f1[_0x48aefb(0x1b5)]||!_0x16b6f1['percy'][_0x48aefb(0x1c0)]())&&(process[_0x48aefb(0x222)]['BROWSERSTACK_PERCY']=_0x4ff25f['tnwEh']);},exports[a140_0x26ec0f(0x24a)]=()=>{const _0x2a4e0a=a140_0x26ec0f;return bsSetupHelper[_0x2a4e0a(0x1d1)](process[_0x2a4e0a(0x222)][_0x2a4e0a(0x205)]);},exports[a140_0x26ec0f(0x1d8)]=(_0x1cd66f={})=>{const _0x577b57=a140_0x26ec0f,_0x4fdfae={};_0x4fdfae[_0x577b57(0x227)]=function(_0x1523c5,_0x3587ba){return _0x1523c5!==_0x3587ba;},_0x4fdfae[_0x577b57(0x1d2)]=function(_0x12c72a,_0xb349e2){return _0x12c72a===_0xb349e2;},_0x4fdfae[_0x577b57(0x241)]='true',_0x4fdfae[_0x577b57(0x23e)]=function(_0x1696ee,_0x3c6e79){return _0x1696ee>_0x3c6e79;};const _0x39d8da=_0x4fdfae;if(_0x39d8da[_0x577b57(0x227)](process['env'][_0x577b57(0x1fd)],undefined))return bsSetupHelper[_0x577b57(0x1d1)](process['env'][_0x577b57(0x1fd)]);let _0x12329a=_0x39d8da[_0x577b57(0x1d2)](process['env'][_0x577b57(0x261)],_0x39d8da[_0x577b57(0x241)]);return _0x39d8da[_0x577b57(0x23e)](Object[_0x577b57(0x1bd)](_0x1cd66f)[_0x577b57(0x20d)],0x0)&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=accessibilityHelper[_0x577b57(0x1cc)](_0x1cd66f)),_0x12329a=_0x12329a||_0x39d8da[_0x577b57(0x1d2)](process[_0x577b57(0x222)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x39d8da[_0x577b57(0x241)]),_0x12329a;},exports[a140_0x26ec0f(0x203)]=(_0x573a7f,_0x10f53e)=>{const _0x238bbe=a140_0x26ec0f,_0x58010b={'HpQiP':function(_0x2eb5aa){return _0x2eb5aa();},'mqtRS':_0x238bbe(0x1c3),'exDal':_0x238bbe(0x1d9),'WyixB':function(_0x5a56d8,_0x585a1a,_0x2746f7){return _0x5a56d8(_0x585a1a,_0x2746f7);},'yaQcD':'observability','ndLzh':_0x238bbe(0x235)};if(!_0x573a7f||!_0x573a7f['observability'])return exports['handleErrorForObservability'](),[null,null,null];if(!_0x573a7f[_0x238bbe(0x22c)][_0x238bbe(0x25b)])return exports[_0x238bbe(0x260)](_0x573a7f[_0x238bbe(0x22c)]),[null,null,null];if(_0x58010b[_0x238bbe(0x1ac)](isTestObservabilitySession)){const _0x163d6e=_0x58010b[_0x238bbe(0x1e9)][_0x238bbe(0x1af)]('|');let _0xc4df37=0x0;while(!![]){switch(_0x163d6e[_0xc4df37++]){case'0':_0x573a7f[_0x238bbe(0x263)]&&(process['env'][_0x238bbe(0x265)]=_0x573a7f[_0x238bbe(0x263)]);continue;case'1':process[_0x238bbe(0x222)][_0x238bbe(0x204)]=_0x58010b[_0x238bbe(0x1e4)];continue;case'2':return[_0x573a7f[_0x238bbe(0x1ce)],_0x573a7f[_0x238bbe(0x263)],process['env'][_0x238bbe(0x23a)]];case'3':_0x58010b[_0x238bbe(0x213)](nestedKeyValue,_0x573a7f,[_0x58010b[_0x238bbe(0x209)],_0x58010b[_0x238bbe(0x231)]])&&(process[_0x238bbe(0x222)][_0x238bbe(0x23a)]=_0x573a7f[_0x238bbe(0x22c)][_0x238bbe(0x235)][_0x238bbe(0x20f)][_0x238bbe(0x1df)]());continue;case'4':logger[_0x238bbe(0x1b8)]('['+constants[_0x238bbe(0x1e8)]+']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20'+_0x573a7f[_0x238bbe(0x263)]);continue;case'5':if(_0x573a7f[_0x238bbe(0x1ce)]){process[_0x238bbe(0x222)]['BS_TESTOPS_JWT']=_0x573a7f[_0x238bbe(0x1ce)];const _0x430282={};_0x430282[_0x238bbe(0x1f4)]=_0x10f53e[_0x238bbe(0x1f4)],_0x430282[_0x238bbe(0x1e5)]=_0x10f53e['password'],process[_0x238bbe(0x222)][_0x238bbe(0x240)]=JSON[_0x238bbe(0x21a)](_0x430282);}continue;}break;}}return[null,null,null];},exports[a140_0x26ec0f(0x1f8)]=_0x4a2cd8=>{const _0x1bb7a1=a140_0x26ec0f,_0x426a89={'VYkUl':function(_0x2ddbbc,_0x1321ac,_0x148253){return _0x2ddbbc(_0x1321ac,_0x148253);},'lGthD':_0x1bb7a1(0x251),'rVXMz':_0x1bb7a1(0x235),'ixSIE':function(_0x570025,_0x3d9830,_0xadb604,_0x2a8a5f){return _0x570025(_0x3d9830,_0xadb604,_0x2a8a5f);},'mAXgJ':_0x1bb7a1(0x206),'FREBT':_0x1bb7a1(0x1eb),'TDPLz':function(_0x28ad4a,_0x24e8a5,_0x445ad0,_0x165696){return _0x28ad4a(_0x24e8a5,_0x445ad0,_0x165696);},'jvHvV':_0x1bb7a1(0x1fb),'sEXlJ':_0x1bb7a1(0x1fc),'pdcOf':function(_0x28f147,_0x269630,_0x3b1c06,_0x2726bb){return _0x28f147(_0x269630,_0x3b1c06,_0x2726bb);},'TPNvw':_0x1bb7a1(0x1e6),'KiCil':_0x1bb7a1(0x1cb)};if(!_0x4a2cd8[_0x1bb7a1(0x251)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x4a2cd8[_0x1bb7a1(0x251)][_0x1bb7a1(0x25b)])return exports[_0x1bb7a1(0x248)](_0x4a2cd8[_0x1bb7a1(0x251)]),[null,null];if(_0x426a89[_0x1bb7a1(0x244)](nestedKeyValue,_0x4a2cd8,[_0x426a89[_0x1bb7a1(0x223)],_0x426a89[_0x1bb7a1(0x24b)]])){const {accessibilityToken:_0x5a8d60,scannerVersion:_0x31624c,scannerProcessingTimeout:_0x3fc922}=_0x426a89['ixSIE'](jsonifyAccessibilityArray,_0x4a2cd8[_0x1bb7a1(0x251)][_0x1bb7a1(0x235)][_0x1bb7a1(0x24c)],_0x426a89['mAXgJ'],_0x426a89[_0x1bb7a1(0x1f3)]),_0xa01649={'scripts':_0x426a89[_0x1bb7a1(0x238)](jsonifyAccessibilityArray,_0x4a2cd8[_0x1bb7a1(0x251)][_0x1bb7a1(0x235)][_0x1bb7a1(0x1dc)],_0x426a89['mAXgJ'],_0x426a89[_0x1bb7a1(0x211)])};_0xa01649[_0x426a89[_0x1bb7a1(0x1f5)]]=_0x4a2cd8[_0x1bb7a1(0x251)]['options']['commandsToWrap'][_0x1bb7a1(0x1fc)];const _0x453540=_0x426a89['pdcOf'](jsonifyAccessibilityArray,_0x4a2cd8['accessibility'][_0x1bb7a1(0x235)][_0x1bb7a1(0x24c)],_0x426a89[_0x1bb7a1(0x24f)],_0x426a89[_0x1bb7a1(0x1f3)]);_0xa01649[_0x426a89[_0x1bb7a1(0x1dd)]]=_0x453540[_0x426a89['KiCil']],scripts[_0x1bb7a1(0x242)](_0xa01649),scripts[_0x1bb7a1(0x1ca)]();let _0x5d1153=process[_0x1bb7a1(0x222)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x5d1153=!!_0x5d1153?JSON[_0x1bb7a1(0x250)](_0x5d1153):{},_0x5d1153[_0x1bb7a1(0x22a)]=_0x31624c,process[_0x1bb7a1(0x222)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x5d1153),process[_0x1bb7a1(0x222)][_0x1bb7a1(0x1ea)]=_0x5a8d60,logger[_0x1bb7a1(0x1b8)](_0x1bb7a1(0x25e)+_0x4a2cd8[_0x1bb7a1(0x263)]),[_0x5a8d60,_0x4a2cd8['build_hashed_id'],_0x3fc922];}return[null,null];},exports[a140_0x26ec0f(0x260)]=_0x50efe6=>{const _0x177e39=a140_0x26ec0f,_0x4b892f={};_0x4b892f[_0x177e39(0x23c)]=_0x177e39(0x1e0),_0x4b892f[_0x177e39(0x1c4)]=_0x177e39(0x1c8),_0x4b892f[_0x177e39(0x215)]='false';const _0x11141e=_0x4b892f,_0x47a0e7=_0x11141e[_0x177e39(0x23c)]['split']('|');let _0x14ef37=0x0;while(!![]){switch(_0x47a0e7[_0x14ef37++]){case'0':process[_0x177e39(0x222)][_0x177e39(0x265)]=_0x11141e['gUQlK'];continue;case'1':exports['logBuildError'](_0x50efe6,testHubConstants[_0x177e39(0x1e1)]);continue;case'2':process['env']['BROWSERSTACK_TESTHUB_JWT']=_0x11141e[_0x177e39(0x1c4)];continue;case'3':process[_0x177e39(0x222)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x11141e['gUQlK'];continue;case'4':process['env'][_0x177e39(0x259)]=_0x11141e[_0x177e39(0x1c4)];continue;case'5':process['env']['BS_TESTOPS_JWT']=_0x11141e[_0x177e39(0x1c4)];continue;case'6':process[_0x177e39(0x222)][_0x177e39(0x204)]=_0x11141e['fkpXZ'];continue;}break;}},exports[a140_0x26ec0f(0x248)]=_0x452890=>{const _0x58e206=a140_0x26ec0f,_0x356896={};_0x356896['nSYIN']=_0x58e206(0x1cd),_0x356896[_0x58e206(0x221)]='null',_0x356896[_0x58e206(0x1c7)]=_0x58e206(0x210);const _0x315e79=_0x356896,_0x16bc44=_0x315e79[_0x58e206(0x229)][_0x58e206(0x1af)]('|');let _0x36524f=0x0;while(!![]){switch(_0x16bc44[_0x36524f++]){case'0':process[_0x58e206(0x222)][_0x58e206(0x259)]=_0x315e79[_0x58e206(0x221)];continue;case'1':exports[_0x58e206(0x1aa)](_0x452890,testHubConstants[_0x58e206(0x1ad)]);continue;case'2':process[_0x58e206(0x222)][_0x58e206(0x261)]=_0x315e79[_0x58e206(0x1c7)];continue;case'3':process[_0x58e206(0x222)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x315e79['qnXsu'];continue;case'4':process[_0x58e206(0x222)]['BROWSERSTACK_TESTHUB_JWT']=_0x315e79['hEdVJ'];continue;}break;}},exports[a140_0x26ec0f(0x1aa)]=(_0x570511,_0x1e50c2='')=>{const _0x465e12=a140_0x26ec0f,_0x210eb2={};_0x210eb2[_0x465e12(0x1ff)]=function(_0x5d0fc0,_0x264834){return _0x5d0fc0===_0x264834;};const _0x17ede4=_0x210eb2;if(_0x17ede4['GVEeR'](_0x570511,undefined)){logger[_0x465e12(0x1ae)](_0x1e50c2[_0x465e12(0x1ef)]()+_0x465e12(0x234));return;}for(const _0x1a310f of _0x570511[_0x465e12(0x1f0)]){const _0x514ba2=_0x1a310f['key'],_0x2895ed=_0x1a310f[_0x465e12(0x20a)];if(_0x2895ed)switch(_0x514ba2){case testHubConstants[_0x465e12(0x246)]['INVALID_CREDENTIALS']:logger['error'](_0x2895ed);break;case testHubConstants[_0x465e12(0x246)][_0x465e12(0x1b3)]:logger[_0x465e12(0x21c)](_0x2895ed);break;case testHubConstants[_0x465e12(0x246)][_0x465e12(0x216)]:logger[_0x465e12(0x1ae)](_0x2895ed);break;default:logger[_0x465e12(0x1ae)](_0x2895ed);}}};const jsonifyAccessibilityArray=(_0x5b95b8,_0xdca744,_0x57fadc)=>{const _0x36d355=a140_0x26ec0f,_0x18a7fd={};return _0x5b95b8[_0x36d355(0x252)](_0x1b1f7a=>{_0x18a7fd[_0x1b1f7a[_0xdca744]]=_0x1b1f7a[_0x57fadc];}),_0x18a7fd;};exports[a140_0x26ec0f(0x1f1)]=_0xe32d8=>{const _0x32c87f=a140_0x26ec0f;_0xe32d8[_0x32c87f(0x1ce)]&&(process['env'][_0x32c87f(0x200)]=_0xe32d8[_0x32c87f(0x1ce)]);_0xe32d8['build_hashed_id']&&(process[_0x32c87f(0x222)][_0x32c87f(0x259)]=_0xe32d8[_0x32c87f(0x263)],logger[_0x32c87f(0x1b8)](_0x32c87f(0x1ec)+_0xe32d8[_0x32c87f(0x263)]));;},exports['shouldProcessEventForTesthub']=(_0x27ef95='',_0x19ab60='')=>{const _0x208808=a140_0x26ec0f,_0x5fceeb={'ysPfL':function(_0x291e7e){return _0x291e7e();},'iuexa':function(_0x6cd4d6,_0x4c3e92){return _0x6cd4d6===_0x4c3e92;},'SBbHv':_0x208808(0x1f6),'fGkcs':'LogCreated','YgKdZ':_0x208808(0x22f),'vZoJJ':_0x208808(0x217),'jOhVm':_0x208808(0x212),'OnMoe':function(_0x2ca4de){return _0x2ca4de();}};if(exports[_0x208808(0x24a)]()&&!exports['isAccessibilityEnabled']()&&!_0x5fceeb[_0x208808(0x1be)](isTestObservabilitySession)){if(_0x5fceeb[_0x208808(0x254)](_0x19ab60,_0x5fceeb['SBbHv']))return![];if([_0x5fceeb[_0x208808(0x1b4)],_0x5fceeb[_0x208808(0x249)]][_0x208808(0x1d3)](_0x27ef95))return![];return!![];}if(exports['isAccessibilityEnabled']()&&!_0x5fceeb[_0x208808(0x1be)](isTestObservabilitySession)){if([_0x5fceeb[_0x208808(0x23b)],_0x5fceeb[_0x208808(0x1c5)],_0x5fceeb[_0x208808(0x1b4)]]['includes'](_0x27ef95))return![];return!![];}return exports['isAccessibilityEnabled']()||_0x5fceeb['OnMoe'](isTestObservabilitySession)||exports[_0x208808(0x24a)]();},exports['appendTesthubParams']=(_0x54c8fe,_0x149a40,_0x34c452='',_0x520f8c)=>{const _0x515f64=a140_0x26ec0f,_0x4ed1a3={};_0x4ed1a3[_0x515f64(0x257)]=_0x515f64(0x217),_0x4ed1a3[_0x515f64(0x22b)]=_0x515f64(0x212),_0x4ed1a3[_0x515f64(0x22e)]=function(_0x583c1b,_0x3c8b66){return _0x583c1b===_0x3c8b66;},_0x4ed1a3['SaWzJ']=_0x515f64(0x224),_0x4ed1a3[_0x515f64(0x25f)]=_0x515f64(0x1b1),_0x4ed1a3['OcLwr']='accessibility',_0x4ed1a3[_0x515f64(0x219)]=function(_0x4a72c9,_0x51c51f){return _0x4a72c9&&_0x51c51f;},_0x4ed1a3['OGrLO']=function(_0xb85e68,_0x392d44){return _0xb85e68+_0x392d44;},_0x4ed1a3[_0x515f64(0x20e)]=function(_0x28dc07,_0x38d5c6){return _0x28dc07+_0x38d5c6;},_0x4ed1a3['udOKr']=function(_0x23eb36,_0x5f0600){return _0x23eb36===_0x5f0600;},_0x4ed1a3[_0x515f64(0x230)]=function(_0x52748d,_0x54ca7d){return _0x52748d===_0x54ca7d;},_0x4ed1a3[_0x515f64(0x225)]=_0x515f64(0x1bf),_0x4ed1a3['iamJz']=function(_0x37daef,_0x74693c){return _0x37daef===_0x74693c;},_0x4ed1a3[_0x515f64(0x20c)]=function(_0xaca51b,_0x3bfa87){return _0xaca51b&&_0x3bfa87;},_0x4ed1a3[_0x515f64(0x207)]='product_map';const _0xbedbd6=_0x4ed1a3;if(![_0xbedbd6['dsRME'],_0xbedbd6[_0x515f64(0x22b)]][_0x515f64(0x1d3)](_0x149a40)&&exports[_0x515f64(0x1d8)]()){const _0x32af55={};if(_0xbedbd6[_0x515f64(0x22e)](_0x520f8c,FRAMEWORKS[_0x515f64(0x1d6)])){const _0x2a169b=globals[_0x515f64(0x21b)](_0xbedbd6['SaWzJ'])||accessibilityHelper[_0x515f64(0x21e)](_0x34c452[_0x515f64(0x253)](),!![]),_0x203b38=globals[_0x515f64(0x21b)](_0xbedbd6[_0x515f64(0x25f)]);_0x32af55[_0xbedbd6[_0x515f64(0x1ee)]]=_0xbedbd6[_0x515f64(0x219)](_0x203b38,_0x2a169b);}if(_0xbedbd6['sRWyZ'](_0x520f8c,FRAMEWORKS['JEST'])){const _0x8958f=_0xbedbd6['OGrLO'](_0xbedbd6[_0x515f64(0x20e)](_0x54c8fe[_0x515f64(0x232)]['join']('\x20'),'\x20'),_0x34c452[_0x515f64(0x206)]),_0x5066d6=globals[_0x515f64(0x21b)](_0xbedbd6[_0x515f64(0x1ed)])||accessibilityHelper[_0x515f64(0x21e)](_0x8958f,![]),_0x3db8c2=browserStackGlobals['isAccessibilityPlatform'];_0x32af55[_0xbedbd6[_0x515f64(0x1ee)]]=_0xbedbd6[_0x515f64(0x219)](_0x3db8c2,_0x5066d6);}if(_0xbedbd6[_0x515f64(0x1da)](_0x520f8c,FRAMEWORKS[_0x515f64(0x245)])){if(_0xbedbd6[_0x515f64(0x230)](_0x149a40,_0xbedbd6['pbEid']))return;_0x32af55[_0xbedbd6[_0x515f64(0x1ee)]]=PWTestDetails[_0x515f64(0x1c6)](_0x54c8fe['uuid']);}if(_0xbedbd6[_0x515f64(0x1c2)](_0x520f8c,FRAMEWORKS[_0x515f64(0x1ba)])){const _0x4916bd=accessibilityHelper[_0x515f64(0x21e)](_0x34c452[_0x515f64(0x253)](),!![]),_0x522c4e=global['accessibilityPlatform'];_0x32af55[_0xbedbd6[_0x515f64(0x1ee)]]=_0xbedbd6[_0x515f64(0x20c)](_0x522c4e,_0x4916bd);}if(_0xbedbd6['iamJz'](_0x520f8c,FRAMEWORKS[_0x515f64(0x255)])){const _0xe106cf=accessibilityHelper['shouldScanTestForAccessibility'](null,![],_0x54c8fe[_0x515f64(0x258)]),_0xb59dac=globals[_0x515f64(0x21b)](_0xbedbd6[_0x515f64(0x25f)]);_0x32af55[_0xbedbd6[_0x515f64(0x1ee)]]=_0xbedbd6[_0x515f64(0x219)](_0xb59dac,_0xe106cf);}_0x54c8fe[_0xbedbd6['EsoWx']]=_0x32af55;}},exports[a140_0x26ec0f(0x1b2)]=_0x4c99e4=>{const _0x5bf51a=a140_0x26ec0f,_0x2b0f6c={};_0x2b0f6c['GYtTy']=function(_0x847eba,_0x59d2c9){return _0x847eba>_0x59d2c9;},_0x2b0f6c[_0x5bf51a(0x1c9)]=function(_0x4300d9,_0x1ffbb3){return _0x4300d9>_0x1ffbb3;};const _0x188a07=_0x2b0f6c;let _0x577fdf={};if(_0x188a07['GYtTy'](Object['keys'](testData)[_0x5bf51a(0x20d)],0x0))return testData;_0x577fdf=JestTestDetails['getTestData']();if(_0x188a07[_0x5bf51a(0x1c9)](Object[_0x5bf51a(0x1bd)](_0x577fdf)[_0x5bf51a(0x20d)],0x0))return _0x577fdf;return _0x577fdf;},exports[a140_0x26ec0f(0x239)]=(_0x5e363b,_0x31a28f={})=>{const _0x5771c7=a140_0x26ec0f;if(bsSetupHelper['isUndefined'](_0x31a28f['test_run']))return;switch(_0x5e363b){case FRAMEWORKS[_0x5771c7(0x1d6)]:testData=_0x31a28f[_0x5771c7(0x1b9)];break;case FRAMEWORKS[_0x5771c7(0x1f2)]:JestTestDetails['setTestData'](_0x31a28f[_0x5771c7(0x1b9)]);break;default:break;}},exports[a140_0x26ec0f(0x1d7)]=_0x16f6fd=>{const _0x582d34=a140_0x26ec0f,_0x24601d={};_0x24601d[_0x582d34(0x226)]=function(_0x12e3a1,_0x423a0b){return _0x12e3a1!==_0x423a0b;},_0x24601d[_0x582d34(0x1f7)]=function(_0x42c7cf,_0x3a1b05){return _0x42c7cf!==_0x3a1b05;};const _0x670456=_0x24601d;if(_0x670456[_0x582d34(0x226)](_0x16f6fd[_0x582d34(0x251)],null)&&_0x670456[_0x582d34(0x226)](_0x16f6fd[_0x582d34(0x251)],undefined))return _0x16f6fd[_0x582d34(0x251)];let _0x2f5e09=![],_0x281c1b=![];if(_0x16f6fd[_0x582d34(0x202)])for(const _0x3d8b1b of _0x16f6fd['platforms']){_0x670456[_0x582d34(0x1f7)](_0x3d8b1b[_0x582d34(0x251)],null)&&_0x670456['QRTbF'](_0x3d8b1b[_0x582d34(0x251)],undefined)&&(_0x2f5e09=_0x2f5e09||bsSetupHelper['isTrue'](_0x3d8b1b[_0x582d34(0x251)]),_0x281c1b=!![]);}if(_0x281c1b)return _0x2f5e09;return null;},exports['getTestOrchestrationBuildStartData']=_0x35ead8=>{const _0x15ece4=new OrchestrationUtils(_0x35ead8);return _0x15ece4['getBuildStartData']();},exports['getProductMapForBuildStartCall']=_0x281112=>{const _0xc063f1=a140_0x26ec0f,_0x500468={'IMyis':function(_0x28a8f1){return _0x28a8f1();}};let _0x5a9738=![],_0x5f57d9=![];if(bsSetupHelper[_0xc063f1(0x1b6)]()&&_0x281112[_0xc063f1(0x25a)])_0x5f57d9=!![];else bsSetupHelper[_0xc063f1(0x1b6)]()&&(_0x5a9738=!![]);return Object[_0xc063f1(0x20b)]({'observability':_0x500468[_0xc063f1(0x228)](isTestObservabilitySession),'accessibility':exports[_0xc063f1(0x1d7)](_0x281112),'percy':_0x281112['percy']||![],'automate':_0x5a9738,'app_automate':_0x5f57d9,'turboscale':bsSetupHelper[_0xc063f1(0x264)](_0x281112),'lts':LoadTestModule[_0xc063f1(0x1b7)](_0x281112)},bsSetupHelper['getCentralUser']());};
@@ -1 +1 @@
1
- const a141_0x5ec666=a141_0x4267;(function(_0x8c1b64,_0x4172ac){const _0x28acdb=a141_0x4267,_0x5c5d3e=_0x8c1b64();while(!![]){try{const _0x593b10=parseInt(_0x28acdb(0x12f))/0x1+parseInt(_0x28acdb(0x13e))/0x2*(-parseInt(_0x28acdb(0x13d))/0x3)+parseInt(_0x28acdb(0x134))/0x4+-parseInt(_0x28acdb(0x137))/0x5+parseInt(_0x28acdb(0x13a))/0x6+-parseInt(_0x28acdb(0x140))/0x7*(-parseInt(_0x28acdb(0x13f))/0x8)+parseInt(_0x28acdb(0x136))/0x9*(-parseInt(_0x28acdb(0x138))/0xa);if(_0x593b10===_0x4172ac)break;else _0x5c5d3e['push'](_0x5c5d3e['shift']());}catch(_0x2e2c77){_0x5c5d3e['push'](_0x5c5d3e['shift']());}}}(a141_0x40c1,0x948c5));function a141_0x40c1(){const _0x1b2538=['cancel','63ZXzVMM','14882tFzUrN','4248872qnsWai','7vNSFIr','400800vEwsUt','WBCHy','JPwhz','fireFunnelTestEvent','./utilities','4048572KWojUI','EvUMQ','18MpXKEI','1560635BiNgTN','7508030EEoofa','sgzZM','3806370ICRUpt','lgNGX'];a141_0x40c1=function(){return _0x1b2538;};return a141_0x40c1();}function a141_0x4267(_0xd62419,_0x3cbfbd){const _0x40c111=a141_0x40c1();return a141_0x4267=function(_0x4267eb,_0x33c634){_0x4267eb=_0x4267eb-0x12f;let _0x1722b3=_0x40c111[_0x4267eb];return _0x1722b3;},a141_0x4267(_0xd62419,_0x3cbfbd);}const utilities=require(a141_0x5ec666(0x133));module['exports']=(_0x15ca21,_0x1afcf0,_0x26fe7e,_0x3e638b,_0x4262ae,_0x576ea8)=>{const _0x2a2acb=a141_0x5ec666,_0x31681c={'JPwhz':function(_0x298abc,_0x3b135b){return _0x298abc-_0x3b135b;},'sgzZM':function(_0x4a9eb3,_0x2f2578){return _0x4a9eb3(_0x2f2578);},'EvUMQ':function(_0x5aa625,_0x8939af,_0x4c3ec1){return _0x5aa625(_0x8939af,_0x4c3ec1);}};let _0xe4700b,_0xa23257=![];const _0xbbe55c=new Promise((_0x5632c7,_0x137d3a)=>{const _0x697f03=a141_0x4267,_0x5bda56={'lgNGX':function(_0x6ada2d,_0x23663a){const _0x52709e=a141_0x4267;return _0x31681c[_0x52709e(0x131)](_0x6ada2d,_0x23663a);},'WBCHy':function(_0x2a9a0c,_0x4816e9){return _0x31681c['sgzZM'](_0x2a9a0c,_0x4816e9);}};_0xe4700b=_0x31681c[_0x697f03(0x135)](setTimeout,()=>{const _0x2e2ef2=_0x697f03;if(!_0xa23257){const _0x1913f8={'status':''+_0x1afcf0,'timeTaken':_0x5bda56[_0x2e2ef2(0x13b)](new Date(),_0x3e638b)};utilities[_0x2e2ef2(0x132)](_0x26fe7e,_0x1913f8,_0x4262ae,_0x576ea8),_0x5bda56[_0x2e2ef2(0x130)](_0x137d3a,new Error(_0x1afcf0));}},_0x15ca21);});return _0xbbe55c[_0x2a2acb(0x13c)]=()=>{const _0x4d677a=_0x2a2acb;_0xa23257=!![],_0x31681c[_0x4d677a(0x139)](clearTimeout,_0xe4700b);},_0xbbe55c;};
1
+ const a141_0x3ff76d=a141_0x334e;function a141_0x4df1(){const _0x28b74e=['1067GTXdhn','463725QqiBVm','fireFunnelTestEvent','exports','9481450vTxZmm','cancel','157320lxtYNf','1816dervvW','GQFHq','rmlrB','PutZn','487224kQsnag','364631fVFadv','8991AMGoOU','155sIRgsq','2MsfcGS','54888mDIIwc','91HNnjqU','NyHwa'];a141_0x4df1=function(){return _0x28b74e;};return a141_0x4df1();}(function(_0x4ad8bd,_0x14ed95){const _0x2a67ac=a141_0x334e,_0x58a352=_0x4ad8bd();while(!![]){try{const _0xb17131=-parseInt(_0x2a67ac(0x16c))/0x1*(-parseInt(_0x2a67ac(0x15c))/0x2)+-parseInt(_0x2a67ac(0x161))/0x3+-parseInt(_0x2a67ac(0x166))/0x4*(-parseInt(_0x2a67ac(0x15b))/0x5)+-parseInt(_0x2a67ac(0x16b))/0x6*(parseInt(_0x2a67ac(0x15e))/0x7)+parseInt(_0x2a67ac(0x167))/0x8*(-parseInt(_0x2a67ac(0x16d))/0x9)+parseInt(_0x2a67ac(0x164))/0xa+parseInt(_0x2a67ac(0x160))/0xb*(-parseInt(_0x2a67ac(0x15d))/0xc);if(_0xb17131===_0x14ed95)break;else _0x58a352['push'](_0x58a352['shift']());}catch(_0x1476ca){_0x58a352['push'](_0x58a352['shift']());}}}(a141_0x4df1,0x9f040));function a141_0x334e(_0x27ced3,_0x28ed88){const _0x4df19d=a141_0x4df1();return a141_0x334e=function(_0x334e94,_0x40850e){_0x334e94=_0x334e94-0x15b;let _0x328d96=_0x4df19d[_0x334e94];return _0x328d96;},a141_0x334e(_0x27ced3,_0x28ed88);}const utilities=require('./utilities');module[a141_0x3ff76d(0x163)]=(_0x1266f8,_0x54e9b2,_0x3ac022,_0x4b3061,_0x25da4f,_0x5b3d54)=>{const _0x46cd46=a141_0x3ff76d,_0x10d99f={'GQFHq':function(_0xe741b7,_0x3184dd){return _0xe741b7-_0x3184dd;},'rmlrB':function(_0x17a109,_0x1eee12){return _0x17a109(_0x1eee12);},'NyHwa':function(_0x15939d,_0x35c796,_0x4fd36b){return _0x15939d(_0x35c796,_0x4fd36b);}};let _0x1c0176,_0x446f02=![];const _0x116270=new Promise((_0x433f00,_0x5b93a2)=>{const _0xbc5a0f=a141_0x334e,_0x12066b={'RSFeO':function(_0x37a9f8,_0x1ad7ee){const _0x11dba8=a141_0x334e;return _0x10d99f[_0x11dba8(0x168)](_0x37a9f8,_0x1ad7ee);},'PutZn':function(_0x44a4b8,_0x4748e6){const _0x5b92a1=a141_0x334e;return _0x10d99f[_0x5b92a1(0x169)](_0x44a4b8,_0x4748e6);}};_0x1c0176=_0x10d99f[_0xbc5a0f(0x15f)](setTimeout,()=>{const _0x17bddc=_0xbc5a0f;if(!_0x446f02){const _0x57e6fe={'status':''+_0x54e9b2,'timeTaken':_0x12066b['RSFeO'](new Date(),_0x4b3061)};utilities[_0x17bddc(0x162)](_0x3ac022,_0x57e6fe,_0x25da4f,_0x5b3d54),_0x12066b[_0x17bddc(0x16a)](_0x5b93a2,new Error(_0x54e9b2));}},_0x1266f8);});return _0x116270[_0x46cd46(0x165)]=()=>{_0x446f02=!![],_0x10d99f['rmlrB'](clearTimeout,_0x1c0176);},_0x116270;};
@@ -1 +1 @@
1
- const a142_0x574bbf=a142_0x542d;(function(_0x2a168b,_0x16902f){const _0x392d7a=a142_0x542d,_0x50c93a=_0x2a168b();while(!![]){try{const _0xafb835=parseInt(_0x392d7a(0x145))/0x1*(parseInt(_0x392d7a(0x170))/0x2)+-parseInt(_0x392d7a(0x19b))/0x3*(-parseInt(_0x392d7a(0x1b2))/0x4)+parseInt(_0x392d7a(0x17d))/0x5+parseInt(_0x392d7a(0x154))/0x6*(-parseInt(_0x392d7a(0x13f))/0x7)+-parseInt(_0x392d7a(0x146))/0x8+parseInt(_0x392d7a(0x190))/0x9*(-parseInt(_0x392d7a(0x1c2))/0xa)+parseInt(_0x392d7a(0x1aa))/0xb;if(_0xafb835===_0x16902f)break;else _0x50c93a['push'](_0x50c93a['shift']());}catch(_0x5b9a1f){_0x50c93a['push'](_0x50c93a['shift']());}}}(a142_0x47a2,0x2e2c2));const os=require('os'),util=require(a142_0x574bbf(0x1b0)),fs=require('fs'),{getProductMap}=require('./testhub/utils'),logger=require(a142_0x574bbf(0x148))[a142_0x574bbf(0x1a6)],constants=require(a142_0x574bbf(0x1a5)),testHubConstants=require(a142_0x574bbf(0x13d)),{getTransformPath}=require(a142_0x574bbf(0x13e)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a142_0x574bbf(0x1a5)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a142_0x574bbf(0x16b)),PerformanceTester=require('./performance/performance-tester'),globals=require(a142_0x574bbf(0x15e)),helper=require('./helper'),{isTestObservabilitySession}=require(a142_0x574bbf(0x149));let unhandledErrors='';exports[a142_0x574bbf(0x143)]=async(_0xd60ac8,_0xc19403={},_0x2968bb,_0x3e0e01)=>{const _0x512ad0=a142_0x574bbf,_0x2959fc={'lqZfL':function(_0x4cecef,_0x1663f6){return _0x4cecef===_0x1663f6;},'PMfsc':_0x512ad0(0x185),'fPDnW':function(_0x2bb400,_0x15f6e4){return _0x2bb400>_0x15f6e4;},'HTGpM':function(_0x2d1474,_0x90b70f){return _0x2d1474>_0x90b70f;},'hoyKw':_0x512ad0(0x17c),'OzhPr':function(_0x2f8dce){return _0x2f8dce();},'fUoCr':function(_0x28d539,_0xfb42c9){return _0x28d539==_0xfb42c9;},'RSnvB':_0x512ad0(0x171),'DdoGX':function(_0xb040f1,_0x49266c){return _0xb040f1===_0x49266c;},'rTcin':_0x512ad0(0x169),'LWkEL':function(_0x5d40b4,_0x12c870){return _0x5d40b4===_0x12c870;},'XNjXc':_0x512ad0(0x1c6),'yoFDa':function(_0x31aeb2,_0x15d129){return _0x31aeb2!==_0x15d129;},'XHPzV':_0x512ad0(0x153),'hbJVj':function(_0x34a69b,_0x30c15e){return _0x34a69b===_0x30c15e;},'PuQFt':_0x512ad0(0x1bd),'WvoAN':function(_0x1c445f,_0x3c8a7b){return _0x1c445f+_0x3c8a7b;},'glpXW':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','bNPsl':_0x512ad0(0x158),'gVfoR':function(_0x490f59,_0x17901f){return _0x490f59(_0x17901f);},'FFoKC':function(_0x3df916,_0xe2c97e){return _0x3df916(_0xe2c97e);},'wLnjM':_0x512ad0(0x14b),'oNASj':_0x512ad0(0x15c),'CbMqc':function(_0x2ecc91,_0x51fd75){return _0x2ecc91===_0x51fd75;},'OPPoz':'SDKTestSuccessful','MzyQH':function(_0x2fd6dd,_0x1112b7){return _0x2fd6dd===_0x1112b7;},'VseMG':function(_0x22d5bc){return _0x22d5bc();},'OiIQl':_0x512ad0(0x168),'gVCHf':_0x512ad0(0x14c),'zshtP':'[REDACTED]','SPWai':'POST'};let _0x1070d8=[];if(helper[_0x512ad0(0x1b3)]()&&_0x2959fc['OzhPr'](isTestObservabilitySession))_0x1070d8=_0x2968bb['app']?constants[_0x512ad0(0x13b)]:constants[_0x512ad0(0x19a)];else{if(_0x2959fc[_0x512ad0(0x163)](isTestObservabilitySession))_0x1070d8=constants[_0x512ad0(0x15a)];else helper[_0x512ad0(0x1b3)]()&&(_0x1070d8=_0x2968bb['app']?constants[_0x512ad0(0x175)]:constants[_0x512ad0(0x1c7)]);}let _0x30466a=_0x2968bb[_0x512ad0(0x166)];if(_0x2959fc[_0x512ad0(0x178)](_0x30466a,null))_0x30466a=_0x2959fc[_0x512ad0(0x196)];else _0x2959fc[_0x512ad0(0x1bb)](_0x30466a,undefined)&&(_0x30466a=_0x2959fc['rTcin']);unhandledErrors&&_0x2959fc['HTGpM'](unhandledErrors[_0x512ad0(0x18c)],0x0)&&(_0xc19403[_0x512ad0(0x1b4)]=unhandledErrors);global[_0x512ad0(0x1ae)]&&(_0xc19403['sdkRunId']=global[_0x512ad0(0x1ae)]);try{if(_0xc19403['error']){if(_0x2959fc[_0x512ad0(0x17e)](_0x3e0e01,_0x2959fc[_0x512ad0(0x1b6)])&&_0x2959fc[_0x512ad0(0x198)](_0xc19403[_0x512ad0(0x1bd)][_0x512ad0(0x18c)],0x0)){const _0x2e9adc={};_0x2e9adc['os']='',_0x2e9adc[_0x512ad0(0x194)]='',_0x2e9adc[_0x512ad0(0x1c1)]='',_0x2e9adc[_0x512ad0(0x164)]='';const _0x177193=_0x2e9adc;let _0xe8e2be={};const _0x119eb5=_0xc19403[_0x512ad0(0x1bd)];_0xe8e2be=_0x119eb5[_0x512ad0(0x15b)]((_0xdb5ebc,_0x1f1643)=>{for(const _0x5767f4 in _0x1f1643){_0xdb5ebc[_0x5767f4]=_0x1f1643[_0x5767f4];}return _0xdb5ebc;},{});const _0x458670={};_0x458670['tests']=_0xe8e2be,_0xc19403[_0x512ad0(0x1bd)]=[Object[_0x512ad0(0x17a)]({},_0x177193,_0x458670)];}else{let _0x35c1ab=0x0;const _0x398452=_0x2959fc[_0x512ad0(0x141)](_0x3e0e01,_0x2959fc['XHPzV'])?JSON[_0x512ad0(0x181)](_0xc19403[_0x512ad0(0x1bd)]):_0xc19403['error'],_0x494ac9=Object[_0x512ad0(0x19d)](_0x398452);_0x494ac9[_0x512ad0(0x147)](_0x4b5232=>{const _0x2a822c=_0x512ad0;if(_0x2959fc[_0x2a822c(0x192)](typeof _0x4b5232,_0x2959fc[_0x2a822c(0x1bc)])){const _0x555f99=Object[_0x2a822c(0x19d)](_0x4b5232);!_0x555f99[_0x2a822c(0x1ab)](_0x6cb990=>_0x6cb990===null||_0x6cb990===undefined||_0x6cb990==='')&&(_0x35c1ab+=0x1);}});if(_0x2959fc[_0x512ad0(0x1b9)](_0x35c1ab,0x0))delete _0xc19403[_0x2959fc[_0x512ad0(0x19f)]];else{const _0x55c4a5=[];Object['keys'](_0x398452)['forEach'](_0x1843a5=>{const _0x4986c6=_0x512ad0,[_0x569a4a,_0x375875,_0x2b821d,_0x4fe3d7]=_0x1843a5['split'](',\x20');let _0x8a822c={};if(!_0x4fe3d7){const _0x89fad6={};_0x89fad6['deviceName']=_0x569a4a,_0x89fad6[_0x4986c6(0x194)]=_0x375875,_0x89fad6[_0x4986c6(0x1c1)]=_0x2b821d,_0x8a822c=_0x89fad6;}else{const _0x440f1e={};_0x440f1e['os']=_0x569a4a,_0x440f1e[_0x4986c6(0x194)]=_0x375875,_0x440f1e[_0x4986c6(0x1c1)]=_0x2b821d,_0x440f1e['browserVersion']=_0x4fe3d7,_0x8a822c=_0x440f1e;}const _0x15926b={},_0x2ad180=_0x398452[_0x1843a5];Object['keys'](_0x2ad180)[_0x4986c6(0x147)](_0x33dcc7=>{const _0x520053=_0x4986c6;_0x2959fc[_0x520053(0x198)](_0x2ad180[_0x33dcc7][_0x520053(0x18c)],0x0)&&(_0x15926b[_0x33dcc7]=_0x2ad180[_0x33dcc7]);}),_0x2959fc['HTGpM'](Object[_0x4986c6(0x182)](_0x15926b)[_0x4986c6(0x18c)],0x0)&&(_0x8a822c[_0x2959fc[_0x4986c6(0x155)]]=_0x15926b,_0x55c4a5[_0x4986c6(0x162)](_0x8a822c));}),_0x2959fc['HTGpM'](_0x55c4a5[_0x512ad0(0x18c)],0x0)?_0xc19403[_0x512ad0(0x1bd)]=_0x55c4a5:delete _0xc19403[_0x2959fc['PuQFt']];}}}}catch(_0x119663){delete _0xc19403[_0x2959fc['PuQFt']],logger[_0x512ad0(0x1b1)](_0x2959fc['WvoAN'](_0x2959fc[_0x512ad0(0x1c0)],_0x119663));}const _0x257704=helper[_0x512ad0(0x165)](_0x2968bb,_0x2968bb[_0x512ad0(0x1a9)]),_0x4b37cb={'userName':helper[_0x512ad0(0x16f)](_0x2968bb),'accessKey':helper['getAccessKey'](_0x2968bb),'event_type':_0xd60ac8,'detectedFramework':_0x3e0e01,'buildHashedId':globals['getGlobal'](_0x2959fc['bNPsl']),'optimalHubUrl':helper[_0x512ad0(0x19e)](),'event_properties':{'testhub_uuid':process[_0x512ad0(0x17b)][testHubConstants[_0x512ad0(0x19c)][_0x512ad0(0x184)]]||'','sdkRunId':global[_0x512ad0(0x1ae)],'product_map':_0x2959fc['gVfoR'](getProductMap,_0x2968bb),'productMap':_0x2959fc['FFoKC'](getProductMap,_0x2968bb),'language_framework':_0x2968bb['source']||_0x2959fc['wLnjM'],'referrer':helper[_0x512ad0(0x13a)](_0x3e0e01),'framework':_0x2968bb[_0x512ad0(0x1a9)],'frameworkVersion':helper[_0x512ad0(0x1ac)](_0x3e0e01),'automationFramework':_0x257704[_0x512ad0(0x1a2)],'automationFrameworkVersion':_0x257704[_0x512ad0(0x195)],'language':_0x2959fc[_0x512ad0(0x174)],'languageVersion':process['version'],'product':_0x1070d8,'buildName':_0x2968bb['buildName']||_0x2959fc[_0x512ad0(0x14f)],'buildIdentifier':_0x30466a,'os':os[_0x512ad0(0x18f)]()||_0x2959fc[_0x512ad0(0x15d)],'hostname':os[_0x512ad0(0x180)]()||_0x2959fc['wLnjM'],..._0xc19403}};try{_0x2959fc[_0x512ad0(0x197)](_0xd60ac8,_0x2959fc[_0x512ad0(0x183)])&&(_0x4b37cb[_0x512ad0(0x1a0)]['browserStackConfig']=helper['sanitizeBrowserStackConfig'](_0x2968bb)),_0x2959fc['MzyQH'](_0x3e0e01,_0x2959fc[_0x512ad0(0x156)])?_0x4b37cb[_0x512ad0(0x1a0)][_0x512ad0(0x157)]=helper[_0x512ad0(0x1c5)]['apply'](null,_0x2959fc[_0x512ad0(0x193)](getTransformPath),!![]):_0x4b37cb['event_properties'][_0x512ad0(0x144)]=helper[_0x512ad0(0x17f)](_0x2959fc[_0x512ad0(0x1a1)]);}catch(_0x478311){logger[_0x512ad0(0x1b1)](_0x512ad0(0x161)+_0x478311);}const _0x538563={};_0x538563['content-type']=_0x2959fc[_0x512ad0(0x18a)];const _0x60c934={'headers':_0x538563,'body':_0x4b37cb,'auth':{'user':helper['getUserName'](_0x2968bb),'pass':helper['getAccessKey'](_0x2968bb)},'json':!![]};logger[_0x512ad0(0x1b1)](_0x512ad0(0x14a)+JSON['stringify'](_0x60c934[_0x512ad0(0x18b)])['replace'](new RegExp(helper[_0x512ad0(0x16f)](_0x2968bb),'g'),_0x2959fc['zshtP'])['replace'](new RegExp(helper['getAccessKey'](_0x2968bb),'g'),_0x2959fc['zshtP']));try{const _0x530ee1=await helper[_0x512ad0(0x172)](_0x2959fc[_0x512ad0(0x160)],FUNNEL_INSTRUMENTATION_API_URL,_0x60c934,_0x2968bb);logger[_0x512ad0(0x1b1)]('API\x20Event\x20'+_0xd60ac8+_0x512ad0(0x1c4)+util[_0x512ad0(0x18d)]('%j',_0x530ee1));}catch(_0x3edaf3){logger['debug'](_0x512ad0(0x187)+FUNNEL_INSTRUMENTATION_API_URL+_0x512ad0(0x1bf)+util[_0x512ad0(0x18d)](_0x3edaf3));}},exports[a142_0x574bbf(0x1b8)]=async _0x2ebaae=>{const _0x584954=a142_0x574bbf,_0x38096b={'tmLGB':function(_0x5de196){return _0x5de196();},'oZziY':_0x584954(0x142),'cTotU':'user_killed','rjssQ':'SDKTestSuccessful','nuwEY':function(_0x32532b,_0x386204,_0x259056){return _0x32532b(_0x386204,_0x259056);},'JYKLx':function(_0x564c7a,_0x2e25bf){return _0x564c7a+_0x2e25bf;},'DGMER':_0x584954(0x18e)};try{await _0x2ebaae[_0x584954(0x16e)](),_0x38096b[_0x584954(0x1a3)](printNudgeLocalNotSetError);const _0x333065={};_0x333065[_0x584954(0x1bd)]=_0x2ebaae[_0x584954(0x14e)]?_0x2ebaae[_0x584954(0x14e)]:'{}';const _0x15d6b9=_0x333065,_0x79f024=Object[_0x584954(0x17a)]({},_0x15d6b9);!!_0x2ebaae[_0x584954(0x199)]&&(_0x79f024[_0x38096b[_0x584954(0x140)]]={'reason':_0x38096b[_0x584954(0x167)],'signal':_0x2ebaae[_0x584954(0x199)]});unhandledErrors=_0x2ebaae[_0x584954(0x189)][_0x584954(0x16c)]('\x0a');let _0x4733d0,_0x80a10a,_0x1beec1;helper[_0x584954(0x1ba)](_0x2ebaae['config'])?([_0x4733d0,_0x80a10a]=await helper['getTurboScaleBuildLink'](_0x2ebaae[_0x584954(0x1a8)]),[_0x1beec1]=await Promise['all']([helper['getTurboScaleSessionsList'](_0x4733d0,_0x2ebaae[_0x584954(0x1a8)]),exports['fireFunnelTestEvent'](_0x38096b[_0x584954(0x176)],_0x79f024,_0x2ebaae['config'],_0x2ebaae[_0x584954(0x1a9)])])):([_0x4733d0,_0x80a10a]=await helper[_0x584954(0x13c)](_0x2ebaae[_0x584954(0x1a8)]),[_0x1beec1]=await Promise[_0x584954(0x159)]([helper[_0x584954(0x150)](_0x4733d0,_0x2ebaae[_0x584954(0x1a8)]),exports[_0x584954(0x143)](_0x38096b[_0x584954(0x176)],_0x79f024,_0x2ebaae[_0x584954(0x1a8)],_0x2ebaae[_0x584954(0x1a9)])])),_0x1beec1&&await _0x38096b[_0x584954(0x188)](generateCIArtifacts,_0x1beec1,_0x80a10a),logger[_0x584954(0x1b7)]('SDK\x20run\x20ended\x20for\x20id:\x20'+_0x2ebaae['sdkRunId']+_0x584954(0x186)+process[_0x584954(0x17b)][_0x584954(0x184)]),await helper[_0x584954(0x1a7)](_0x2ebaae[_0x584954(0x1a8)]);}catch(_0x360c88){logger['debug'](_0x38096b['JYKLx'](_0x38096b[_0x584954(0x16d)],_0x360c88));}helper[_0x584954(0x15f)]();},exports['getStackTraceAsString']=_0x579bb0=>{const _0x129298=a142_0x574bbf,_0x4c9542={'CAGWk':function(_0x37e96d,_0x2730d3){return _0x37e96d instanceof _0x2730d3;},'nErfJ':function(_0x5eec4d,_0x50d17b){return _0x5eec4d(_0x50d17b);}};try{if(_0x4c9542[_0x129298(0x1af)](_0x579bb0,Error))return _0x579bb0[_0x129298(0x191)]||_0x579bb0[_0x129298(0x1b5)]();return _0x4c9542[_0x129298(0x1ad)](String,_0x579bb0);}catch(_0x4ecd4f){return _0x579bb0?_0x579bb0[_0x129298(0x1b5)]():'';}},exports[a142_0x574bbf(0x151)]=_0x53c5f8=>{const _0x3e4126=a142_0x574bbf,_0x5c410d={};_0x5c410d[_0x3e4126(0x1a4)]=function(_0x5861be,_0x78cbc0){return _0x5861be===_0x78cbc0;};const _0xe9478=_0x5c410d;return!_0x53c5f8||_0xe9478[_0x3e4126(0x1a4)](_0x53c5f8['trim'](),'');},exports[a142_0x574bbf(0x173)]=_0x2c9359=>{const _0x1b7e4f=a142_0x574bbf,_0x4499f6={};_0x4499f6[_0x1b7e4f(0x16a)]=function(_0x424e03,_0x3583c8){return _0x424e03|_0x3583c8;};const _0x5bb940=_0x4499f6;try{return fs['accessSync'](_0x2c9359,_0x5bb940[_0x1b7e4f(0x16a)](fs[_0x1b7e4f(0x179)][_0x1b7e4f(0x1be)],fs[_0x1b7e4f(0x179)][_0x1b7e4f(0x152)])),!![];}catch(_0x5026d9){return![];}},exports['setReadWriteExecuteAccess']=_0x2a2b49=>{const _0x20e6d2=a142_0x574bbf;try{fs['chmodSync'](_0x2a2b49,0x1ff),logger['debug'](_0x20e6d2(0x177)+_0x2a2b49+'\x20has\x20now\x20read/write/execute\x20permissions.');}catch(_0x1e1d35){logger[_0x20e6d2(0x1bd)](_0x20e6d2(0x1c3)+exports[_0x20e6d2(0x14d)](_0x1e1d35));}};function a142_0x542d(_0x4b5878,_0x1f8659){const _0x47a210=a142_0x47a2();return a142_0x542d=function(_0x542d04,_0x52ae9f){_0x542d04=_0x542d04-0x13a;let _0x1c8837=_0x47a210[_0x542d04];return _0x1c8837;},a142_0x542d(_0x4b5878,_0x1f8659);}function a142_0x47a2(){const _0x4d3dd1=['fireFunnelTestEvent','seleniumVersion','257221DJwhiL','2493080pgOPtr','forEach','./logger','./test-observability/utils','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','unknown','application/json','getStackTraceAsString','errorMessage','rTcin','getSessionsList','isNullOrEmpty','X_OK','Playwright','9174BILnUR','hoyKw','XHPzV','playwrightVersion','_buildHashedId','all','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','reduce','nodejs','wLnjM','./globals','notifyUpdate','SPWai','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','push','OzhPr','browserVersion','getTestFrameworkDetails','buildIdentifier','cTotU','selenium-webdriver','undefined','zyzjb','./helper','join','DGMER','stopPercy','getUserName','2wEwLSh','null','nodeRequest','isModifiable','oNASj','APP_AUTOMATE','rjssQ','Directory\x20','fUoCr','constants','assign','env','tests','365280YXcEFy','LWkEL','getPackageVersion','hostname','parse','keys','OPPoz','BROWSERSTACK_TESTHUB_UUID','object',',\x20testhub\x20id:\x20','Error\x20in\x20firing\x20request\x20to\x20','nuwEY','unhandledErrors','gVCHf','body','length','format','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','type','9CCaeKf','stack','lqZfL','VseMG','osVersion','version','RSnvB','CbMqc','fPDnW','killSignal','AUTOMATE_PRODUCTS','339SCdXFP','ENV_VAR','values','getOptimalHubUrl','PuQFt','event_properties','OiIQl','name','tmLGB','CSSNg','../bin/utils/constants','winstonLogger','sendLogs','config','framework','858869BRgwdy','every','getFrameworkVersion','nErfJ','sdkRunId','CAGWk','util','debug','5836olPqms','isBrowserstackInfra','globalException','toString','XNjXc','info','finalExecution','hbJVj','isTurboScaleSession','DdoGX','PMfsc','error','W_OK','\x20:\x20','glpXW','browser','617630ZBBtBz','Failed\x20to\x20set\x20directory\x20access:\x20','\x20response\x20-\x20','requirePWModule','codeceptjs','AUTOMATE','getNodeAgent','APP_AUTOMATE_PRODUCTS','getBuildLink','../helpers/testhub/constants','../bin/playwright/reporter/pwUtils','49gELekK','oZziY','yoFDa','finishedMetadata'];a142_0x47a2=function(){return _0x4d3dd1;};return a142_0x47a2();}
1
+ const a142_0x312921=a142_0x5d2d;(function(_0x451f8e,_0x57ee3f){const _0x441526=a142_0x5d2d,_0x8822f5=_0x451f8e();while(!![]){try{const _0x34f7a5=-parseInt(_0x441526(0x15e))/0x1*(-parseInt(_0x441526(0x14b))/0x2)+-parseInt(_0x441526(0x174))/0x3*(parseInt(_0x441526(0x15f))/0x4)+parseInt(_0x441526(0x1af))/0x5+-parseInt(_0x441526(0x155))/0x6+parseInt(_0x441526(0x12b))/0x7+-parseInt(_0x441526(0x16e))/0x8*(-parseInt(_0x441526(0x146))/0x9)+parseInt(_0x441526(0x13c))/0xa*(-parseInt(_0x441526(0x151))/0xb);if(_0x34f7a5===_0x57ee3f)break;else _0x8822f5['push'](_0x8822f5['shift']());}catch(_0x4f58d4){_0x8822f5['push'](_0x8822f5['shift']());}}}(a142_0x5914,0x669a4));const os=require('os'),util=require(a142_0x312921(0x1a9)),fs=require('fs'),{getProductMap}=require(a142_0x312921(0x163)),logger=require(a142_0x312921(0x187))[a142_0x312921(0x15d)],constants=require(a142_0x312921(0x180)),testHubConstants=require(a142_0x312921(0x181)),{getTransformPath}=require('../bin/playwright/reporter/pwUtils'),{FUNNEL_INSTRUMENTATION_API_URL}=require(a142_0x312921(0x180)),{generateCIArtifacts,printNudgeLocalNotSetError}=require(a142_0x312921(0x14a)),PerformanceTester=require('./performance/performance-tester'),globals=require(a142_0x312921(0x17c)),helper=require('./helper'),{isTestObservabilitySession}=require(a142_0x312921(0x196));let unhandledErrors='';function a142_0x5d2d(_0x3ff2eb,_0xa989d5){const _0x591474=a142_0x5914();return a142_0x5d2d=function(_0x5d2d84,_0x102dcd){_0x5d2d84=_0x5d2d84-0x121;let _0x1abcda=_0x591474[_0x5d2d84];return _0x1abcda;},a142_0x5d2d(_0x3ff2eb,_0xa989d5);}exports[a142_0x312921(0x16a)]=async(_0x10383d,_0x456123={},_0x505049,_0x531985)=>{const _0x1a1b28=a142_0x312921,_0x3ca41c={'mdUrP':function(_0x12afce,_0x430e46){return _0x12afce===_0x430e46;},'sxKfj':_0x1a1b28(0x13b),'HMoLf':function(_0x110b34,_0xa4466e){return _0x110b34>_0xa4466e;},'iEelN':_0x1a1b28(0x14d),'pwLua':function(_0x50f631){return _0x50f631();},'FFBMi':function(_0xfdb46f){return _0xfdb46f();},'CoCfy':function(_0x1c3494,_0x2388a4){return _0x1c3494==_0x2388a4;},'lzMUd':_0x1a1b28(0x188),'LCHzr':function(_0x2ae0f0,_0x2aae53){return _0x2ae0f0===_0x2aae53;},'drtlH':_0x1a1b28(0x148),'BpKsE':function(_0x1d53aa,_0x36592f){return _0x1d53aa>_0x36592f;},'lQtbp':function(_0x4a88dd,_0x20631d){return _0x4a88dd===_0x20631d;},'jdnuZ':_0x1a1b28(0x178),'vtIqw':function(_0x184d7c,_0x431d01){return _0x184d7c>_0x431d01;},'pPUwD':function(_0x4d7dbc,_0x15421d){return _0x4d7dbc!==_0x15421d;},'euPUD':_0x1a1b28(0x141),'hwrMW':_0x1a1b28(0x17a),'pyHGV':function(_0x205b0a,_0x56b30d){return _0x205b0a>_0x56b30d;},'VoKsM':function(_0x5eeaad,_0x31d589){return _0x5eeaad+_0x31d589;},'AzZtj':_0x1a1b28(0x143),'DzLho':_0x1a1b28(0x19b),'lCZtw':function(_0x4458d5,_0xb3ee58){return _0x4458d5(_0xb3ee58);},'ZfJzi':_0x1a1b28(0x136),'KEmGc':_0x1a1b28(0x190),'PDftU':function(_0x10da1c,_0x38ccf1){return _0x10da1c===_0x38ccf1;},'hjCSQ':_0x1a1b28(0x168),'JCgPq':function(_0x1f72c7,_0x1a198a){return _0x1f72c7===_0x1a198a;},'kMaCh':_0x1a1b28(0x129),'XzKuc':_0x1a1b28(0x1b2),'QUowN':_0x1a1b28(0x1a5),'preYA':_0x1a1b28(0x139)};let _0x182eae=[];if(helper[_0x1a1b28(0x19e)]()&&_0x3ca41c[_0x1a1b28(0x128)](isTestObservabilitySession))_0x182eae=_0x505049[_0x1a1b28(0x18e)]?constants[_0x1a1b28(0x197)]:constants['AUTOMATE_PRODUCTS'];else{if(_0x3ca41c[_0x1a1b28(0x18a)](isTestObservabilitySession))_0x182eae=constants[_0x1a1b28(0x137)];else helper[_0x1a1b28(0x19e)]()&&(_0x182eae=_0x505049[_0x1a1b28(0x18e)]?constants['APP_AUTOMATE']:constants[_0x1a1b28(0x125)]);}let _0x2dd77e=_0x505049[_0x1a1b28(0x130)];if(_0x3ca41c[_0x1a1b28(0x1a7)](_0x2dd77e,null))_0x2dd77e=_0x3ca41c['lzMUd'];else _0x3ca41c['LCHzr'](_0x2dd77e,undefined)&&(_0x2dd77e=_0x3ca41c[_0x1a1b28(0x124)]);unhandledErrors&&_0x3ca41c[_0x1a1b28(0x169)](unhandledErrors[_0x1a1b28(0x127)],0x0)&&(_0x456123[_0x1a1b28(0x185)]=unhandledErrors);global['sdkRunId']&&(_0x456123[_0x1a1b28(0x195)]=global[_0x1a1b28(0x195)]);try{if(_0x456123[_0x1a1b28(0x17a)]){if(_0x3ca41c['lQtbp'](_0x531985,_0x3ca41c[_0x1a1b28(0x176)])&&_0x3ca41c[_0x1a1b28(0x145)](_0x456123[_0x1a1b28(0x17a)]['length'],0x0)){const _0x1b1ede={};_0x1b1ede['os']='',_0x1b1ede[_0x1a1b28(0x153)]='',_0x1b1ede['browser']='',_0x1b1ede['browserVersion']='';const _0x16dfb3=_0x1b1ede;let _0x39f446={};const _0x1a6df3=_0x456123[_0x1a1b28(0x17a)];_0x39f446=_0x1a6df3[_0x1a1b28(0x140)]((_0x20ef2d,_0xb3f3c7)=>{for(const _0x5652a9 in _0xb3f3c7){_0x20ef2d[_0x5652a9]=_0xb3f3c7[_0x5652a9];}return _0x20ef2d;},{});const _0x3b7235={};_0x3b7235[_0x1a1b28(0x14d)]=_0x39f446,_0x456123[_0x1a1b28(0x17a)]=[Object[_0x1a1b28(0x165)]({},_0x16dfb3,_0x3b7235)];}else{let _0x5d0c0e=0x0;const _0x30f05b=_0x3ca41c[_0x1a1b28(0x1ab)](_0x531985,_0x3ca41c[_0x1a1b28(0x1aa)])?JSON['parse'](_0x456123['error']):_0x456123[_0x1a1b28(0x17a)],_0x3bec9d=Object[_0x1a1b28(0x16b)](_0x30f05b);_0x3bec9d[_0x1a1b28(0x19c)](_0x21756f=>{const _0x32fccd=_0x1a1b28;if(_0x3ca41c[_0x32fccd(0x154)](typeof _0x21756f,_0x3ca41c[_0x32fccd(0x182)])){const _0x5c0892=Object[_0x32fccd(0x16b)](_0x21756f);!_0x5c0892[_0x32fccd(0x121)](_0x9542b4=>_0x9542b4===null||_0x9542b4===undefined||_0x9542b4==='')&&(_0x5d0c0e+=0x1);}});if(_0x3ca41c['LCHzr'](_0x5d0c0e,0x0))delete _0x456123[_0x3ca41c['hwrMW']];else{const _0x1e05c2=[];Object[_0x1a1b28(0x192)](_0x30f05b)[_0x1a1b28(0x19c)](_0x472d46=>{const _0x463fc7=_0x1a1b28,_0x25fb59={'GVTHk':function(_0x30cfd5,_0x4ab7fd){const _0x53484d=a142_0x5d2d;return _0x3ca41c[_0x53484d(0x198)](_0x30cfd5,_0x4ab7fd);}},[_0x5985fa,_0x31e070,_0x5f46fe,_0x5b35d4]=_0x472d46[_0x463fc7(0x135)](',\x20');let _0x214eca={};if(!_0x5b35d4){const _0x457803={};_0x457803[_0x463fc7(0x172)]=_0x5985fa,_0x457803['osVersion']=_0x31e070,_0x457803[_0x463fc7(0x194)]=_0x5f46fe,_0x214eca=_0x457803;}else{const _0x40d929={};_0x40d929['os']=_0x5985fa,_0x40d929[_0x463fc7(0x153)]=_0x31e070,_0x40d929[_0x463fc7(0x194)]=_0x5f46fe,_0x40d929[_0x463fc7(0x1ae)]=_0x5b35d4,_0x214eca=_0x40d929;}const _0x5adb3b={},_0x59acca=_0x30f05b[_0x472d46];Object[_0x463fc7(0x192)](_0x59acca)[_0x463fc7(0x19c)](_0x4b7afb=>{const _0xf784d6=_0x463fc7;_0x25fb59['GVTHk'](_0x59acca[_0x4b7afb][_0xf784d6(0x127)],0x0)&&(_0x5adb3b[_0x4b7afb]=_0x59acca[_0x4b7afb]);}),_0x3ca41c[_0x463fc7(0x198)](Object[_0x463fc7(0x192)](_0x5adb3b)['length'],0x0)&&(_0x214eca[_0x3ca41c[_0x463fc7(0x17d)]]=_0x5adb3b,_0x1e05c2[_0x463fc7(0x126)](_0x214eca));}),_0x3ca41c['pyHGV'](_0x1e05c2[_0x1a1b28(0x127)],0x0)?_0x456123[_0x1a1b28(0x17a)]=_0x1e05c2:delete _0x456123[_0x3ca41c[_0x1a1b28(0x142)]];}}}}catch(_0x5e3c04){delete _0x456123[_0x3ca41c['hwrMW']],logger['debug'](_0x3ca41c[_0x1a1b28(0x175)](_0x3ca41c[_0x1a1b28(0x184)],_0x5e3c04));}const _0x3221c6=helper['getTestFrameworkDetails'](_0x505049,_0x505049[_0x1a1b28(0x14e)]),_0x107e8c={'userName':helper[_0x1a1b28(0x167)](_0x505049),'accessKey':helper[_0x1a1b28(0x132)](_0x505049),'event_type':_0x10383d,'detectedFramework':_0x531985,'buildHashedId':globals['getGlobal'](_0x3ca41c['DzLho']),'optimalHubUrl':helper[_0x1a1b28(0x13f)](),'event_properties':{'testhub_uuid':process['env'][testHubConstants[_0x1a1b28(0x19a)][_0x1a1b28(0x173)]]||'','sdkRunId':global[_0x1a1b28(0x195)],'product_map':_0x3ca41c[_0x1a1b28(0x150)](getProductMap,_0x505049),'productMap':_0x3ca41c[_0x1a1b28(0x150)](getProductMap,_0x505049),'language_framework':_0x505049[_0x1a1b28(0x1a2)]||_0x3ca41c[_0x1a1b28(0x13e)],'referrer':helper[_0x1a1b28(0x13d)](_0x531985),'framework':_0x505049[_0x1a1b28(0x14e)],'frameworkVersion':helper[_0x1a1b28(0x1a1)](_0x531985),'automationFramework':_0x3221c6[_0x1a1b28(0x162)],'automationFrameworkVersion':_0x3221c6[_0x1a1b28(0x1a0)],'language':_0x3ca41c[_0x1a1b28(0x123)],'languageVersion':process[_0x1a1b28(0x1a0)],'product':_0x182eae,'buildName':_0x505049['buildName']||_0x3ca41c[_0x1a1b28(0x124)],'buildIdentifier':_0x2dd77e,'os':os[_0x1a1b28(0x12c)]()||_0x3ca41c[_0x1a1b28(0x13e)],'hostname':os[_0x1a1b28(0x18f)]()||_0x3ca41c[_0x1a1b28(0x13e)],..._0x456123}};try{_0x3ca41c[_0x1a1b28(0x15b)](_0x10383d,_0x3ca41c['hjCSQ'])&&(_0x107e8c[_0x1a1b28(0x1b1)]['browserStackConfig']=helper[_0x1a1b28(0x191)](_0x505049)),_0x3ca41c[_0x1a1b28(0x1a4)](_0x531985,_0x3ca41c[_0x1a1b28(0x1aa)])?_0x107e8c[_0x1a1b28(0x1b1)][_0x1a1b28(0x14c)]=helper[_0x1a1b28(0x18b)][_0x1a1b28(0x17f)](null,_0x3ca41c[_0x1a1b28(0x128)](getTransformPath),!![]):_0x107e8c['event_properties'][_0x1a1b28(0x199)]=helper[_0x1a1b28(0x13a)](_0x3ca41c[_0x1a1b28(0x15c)]);}catch(_0x260014){logger['debug'](_0x1a1b28(0x1b0)+_0x260014);}const _0x5c800c={};_0x5c800c['content-type']=_0x3ca41c[_0x1a1b28(0x1ac)];const _0x5711d1={'headers':_0x5c800c,'body':_0x107e8c,'auth':{'user':helper[_0x1a1b28(0x167)](_0x505049),'pass':helper[_0x1a1b28(0x132)](_0x505049)},'json':!![]};logger[_0x1a1b28(0x18d)](_0x1a1b28(0x159)+JSON[_0x1a1b28(0x186)](_0x5711d1[_0x1a1b28(0x17b)])[_0x1a1b28(0x152)](new RegExp(helper[_0x1a1b28(0x167)](_0x505049),'g'),_0x3ca41c['QUowN'])['replace'](new RegExp(helper['getAccessKey'](_0x505049),'g'),_0x3ca41c[_0x1a1b28(0x16f)]));try{const _0x1f9542=await helper[_0x1a1b28(0x138)](_0x3ca41c[_0x1a1b28(0x166)],FUNNEL_INSTRUMENTATION_API_URL,_0x5711d1,_0x505049);logger['debug'](_0x1a1b28(0x171)+_0x10383d+_0x1a1b28(0x18c)+util[_0x1a1b28(0x131)]('%j',_0x1f9542));}catch(_0x4bb36d){logger[_0x1a1b28(0x18d)]('Error\x20in\x20firing\x20request\x20to\x20'+FUNNEL_INSTRUMENTATION_API_URL+'\x20:\x20'+util[_0x1a1b28(0x131)](_0x4bb36d));}},exports['finalExecution']=async _0x5fbfb5=>{const _0x2a3ab0=a142_0x312921,_0x41bb85={'SVNhg':function(_0x211167){return _0x211167();},'BCkAk':'finishedMetadata','DZCGB':_0x2a3ab0(0x133),'vBCoF':'SDKTestSuccessful','pDnvU':function(_0x4c5b84,_0x1df0b2,_0x1c3a1b){return _0x4c5b84(_0x1df0b2,_0x1c3a1b);},'xObNR':function(_0x252651,_0x32ba09){return _0x252651+_0x32ba09;},'GgYhn':_0x2a3ab0(0x12f)};try{await _0x5fbfb5['stopPercy'](),_0x41bb85[_0x2a3ab0(0x12e)](printNudgeLocalNotSetError);const _0x3f2bee={};_0x3f2bee[_0x2a3ab0(0x17a)]=_0x5fbfb5['errorMessage']?_0x5fbfb5[_0x2a3ab0(0x15a)]:'{}';const _0x4668de=_0x3f2bee,_0x22d61b=Object[_0x2a3ab0(0x165)]({},_0x4668de);!!_0x5fbfb5['killSignal']&&(_0x22d61b[_0x41bb85[_0x2a3ab0(0x1ad)]]={'reason':_0x41bb85['DZCGB'],'signal':_0x5fbfb5[_0x2a3ab0(0x19d)]});unhandledErrors=_0x5fbfb5['unhandledErrors']['join']('\x0a');let _0x16b778,_0x3dcf93,_0x24348f;helper['isTurboScaleSession'](_0x5fbfb5[_0x2a3ab0(0x17e)])?([_0x16b778,_0x3dcf93]=await helper[_0x2a3ab0(0x170)](_0x5fbfb5[_0x2a3ab0(0x17e)]),[_0x24348f]=await Promise[_0x2a3ab0(0x157)]([helper['getTurboScaleSessionsList'](_0x16b778,_0x5fbfb5[_0x2a3ab0(0x17e)]),exports[_0x2a3ab0(0x16a)](_0x41bb85[_0x2a3ab0(0x149)],_0x22d61b,_0x5fbfb5[_0x2a3ab0(0x17e)],_0x5fbfb5[_0x2a3ab0(0x14e)])])):([_0x16b778,_0x3dcf93]=await helper[_0x2a3ab0(0x16c)](_0x5fbfb5['config']),[_0x24348f]=await Promise['all']([helper['getSessionsList'](_0x16b778,_0x5fbfb5['config']),exports[_0x2a3ab0(0x16a)](_0x41bb85['vBCoF'],_0x22d61b,_0x5fbfb5[_0x2a3ab0(0x17e)],_0x5fbfb5[_0x2a3ab0(0x14e)])])),_0x24348f&&await _0x41bb85[_0x2a3ab0(0x158)](generateCIArtifacts,_0x24348f,_0x3dcf93),logger[_0x2a3ab0(0x12d)](_0x2a3ab0(0x156)+_0x5fbfb5[_0x2a3ab0(0x195)]+_0x2a3ab0(0x164)+process[_0x2a3ab0(0x183)][_0x2a3ab0(0x173)]),await helper['sendLogs'](_0x5fbfb5[_0x2a3ab0(0x17e)]);}catch(_0x23af3f){logger[_0x2a3ab0(0x18d)](_0x41bb85[_0x2a3ab0(0x19f)](_0x41bb85[_0x2a3ab0(0x193)],_0x23af3f));}helper['notifyUpdate']();},exports[a142_0x312921(0x189)]=_0x39144f=>{const _0xce6081=a142_0x312921,_0x3bdafb={'uMTQs':function(_0x34a90e,_0x2ac089){return _0x34a90e instanceof _0x2ac089;},'KunLo':function(_0x2c6c76,_0x261f5b){return _0x2c6c76(_0x261f5b);}};try{if(_0x3bdafb['uMTQs'](_0x39144f,Error))return _0x39144f['stack']||_0x39144f['toString']();return _0x3bdafb[_0xce6081(0x12a)](String,_0x39144f);}catch(_0x314984){return _0x39144f?_0x39144f[_0xce6081(0x134)]():'';}},exports[a142_0x312921(0x14f)]=_0x4e7da7=>{const _0x5d5548=a142_0x312921,_0x21327b={};_0x21327b[_0x5d5548(0x177)]=function(_0x19f0f8,_0xafbcd6){return _0x19f0f8===_0xafbcd6;};const _0x34124f=_0x21327b;return!_0x4e7da7||_0x34124f[_0x5d5548(0x177)](_0x4e7da7[_0x5d5548(0x161)](),'');},exports[a142_0x312921(0x147)]=_0xa7967f=>{const _0x5e79ba=a142_0x312921,_0x2a8f5b={};_0x2a8f5b[_0x5e79ba(0x179)]=function(_0x506b07,_0x181d20){return _0x506b07|_0x181d20;};const _0x54102c=_0x2a8f5b;try{return fs[_0x5e79ba(0x1a3)](_0xa7967f,_0x54102c[_0x5e79ba(0x179)](fs['constants'][_0x5e79ba(0x16d)],fs[_0x5e79ba(0x160)][_0x5e79ba(0x1a8)])),!![];}catch(_0x3533da){return![];}},exports[a142_0x312921(0x144)]=_0x561694=>{const _0x34f0b7=a142_0x312921;try{fs['chmodSync'](_0x561694,0x1ff),logger[_0x34f0b7(0x18d)](_0x34f0b7(0x122)+_0x561694+_0x34f0b7(0x1a6));}catch(_0xca4632){logger[_0x34f0b7(0x17a)]('Failed\x20to\x20set\x20directory\x20access:\x20'+exports[_0x34f0b7(0x189)](_0xca4632));}};function a142_0x5914(){const _0x59db3b=['reduce','Playwright','hwrMW','Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','setReadWriteExecuteAccess','vtIqw','1790028FkJXFj','isModifiable','undefined','vBCoF','./helper','10NIzqAB','playwrightVersion','tests','framework','isNullOrEmpty','lCZtw','4675DaUMGH','replace','osVersion','mdUrP','241788gSKzRx','SDK\x20run\x20ended\x20for\x20id:\x20','all','pDnvU','Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20','errorMessage','PDftU','kMaCh','winstonLogger','154409sJvGmk','32cMJYuF','constants','trim','name','./testhub/utils',',\x20testhub\x20id:\x20','assign','preYA','getUserName','SDKTestSuccessful','BpKsE','fireFunnelTestEvent','values','getBuildLink','W_OK','32dskTGd','QUowN','getTurboScaleBuildLink','API\x20Event\x20','deviceName','BROWSERSTACK_TESTHUB_UUID','201651OAqSnR','VoKsM','jdnuZ','NFFpN','codeceptjs','rKhEs','error','body','./globals','iEelN','config','apply','../bin/utils/constants','../helpers/testhub/constants','sxKfj','env','AzZtj','globalException','stringify','./logger','null','getStackTraceAsString','FFBMi','requirePWModule','\x20response\x20-\x20','debug','app','hostname','nodejs','sanitizeBrowserStackConfig','keys','GgYhn','browser','sdkRunId','./test-observability/utils','APP_AUTOMATE_PRODUCTS','HMoLf','seleniumVersion','ENV_VAR','_buildHashedId','forEach','killSignal','isBrowserstackInfra','xObNR','version','getFrameworkVersion','source','accessSync','JCgPq','[REDACTED]','\x20has\x20now\x20read/write/execute\x20permissions.','CoCfy','X_OK','util','euPUD','pPUwD','XzKuc','BCkAk','browserVersion','861000CDHhcf','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','event_properties','application/json','every','Directory\x20','KEmGc','drtlH','AUTOMATE','push','length','pwLua','selenium-webdriver','KunLo','1059842nspTyg','type','info','SVNhg','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','buildIdentifier','format','getAccessKey','user_killed','toString','split','unknown','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','nodeRequest','POST','getPackageVersion','object','21010XKhXUk','getNodeAgent','ZfJzi','getOptimalHubUrl'];a142_0x5914=function(){return _0x59db3b;};return a142_0x5914();}