browserstack-node-sdk 1.49.10 → 1.49.12

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
+ const a135_0x12553a=a135_0x48b2;function a135_0x48b2(_0x1da340,_0x3601e9){const _0x2523eb=a135_0x2523();return a135_0x48b2=function(_0x48b253,_0x467fea){_0x48b253=_0x48b253-0xc3;let _0x7584ad=_0x2523eb[_0x48b253];return _0x7584ad;},a135_0x48b2(_0x1da340,_0x3601e9);}(function(_0x452851,_0x1cd2ea){const _0x2a23dc=a135_0x48b2,_0x5b1646=_0x452851();while(!![]){try{const _0x3529ba=-parseInt(_0x2a23dc(0xe3))/0x1+parseInt(_0x2a23dc(0xee))/0x2+parseInt(_0x2a23dc(0xfd))/0x3*(-parseInt(_0x2a23dc(0xe5))/0x4)+-parseInt(_0x2a23dc(0xd0))/0x5+parseInt(_0x2a23dc(0xdc))/0x6+parseInt(_0x2a23dc(0xdd))/0x7*(-parseInt(_0x2a23dc(0x110))/0x8)+-parseInt(_0x2a23dc(0xf9))/0x9*(-parseInt(_0x2a23dc(0x107))/0xa);if(_0x3529ba===_0x1cd2ea)break;else _0x5b1646['push'](_0x5b1646['shift']());}catch(_0x247539){_0x5b1646['push'](_0x5b1646['shift']());}}}(a135_0x2523,0x6154c));const https=require(a135_0x12553a(0x10e)),{URL}=require('url'),logger=require('../logger')[a135_0x12553a(0x115)],{ORCHESTRATION_API_URL,FAILED_TESTS_ENDPOINT,SPLIT_TESTS_ENDPOINT}=require(a135_0x12553a(0xf7)),TAG=a135_0x12553a(0xe4);class RequestUtils{static async[a135_0x12553a(0xcc)](_0x698074,_0x4e92f7,_0x1e183d=null){const _0x8ce058=a135_0x12553a,_0x66b8bb={'epnaD':function(_0x504090,_0x533a61){return _0x504090(_0x533a61);},'PzvnP':_0x8ce058(0x113),'USVlM':_0x8ce058(0x10c),'vppnA':'error','AGztM':function(_0x4777c9,_0x236e95){return _0x4777c9===_0x236e95;},'YMqJa':_0x8ce058(0xd4),'NFvdI':function(_0x4f47ed,_0x1a131d){return _0x4f47ed===_0x1a131d;},'FKsBy':_0x8ce058(0xe6),'uijwf':_0x8ce058(0xdb),'HvaFQ':function(_0x3b973b,_0x149d3f){return _0x3b973b+_0x149d3f;}},_0x54b78d=process[_0x8ce058(0xcb)][_0x8ce058(0xfe)]||'',_0x4afbfb={};_0x4afbfb[_0x8ce058(0xd3)]=_0x8ce058(0xe0)+_0x54b78d,_0x4afbfb[_0x8ce058(0xc4)]=_0x66b8bb[_0x8ce058(0xfc)];const _0x1a0f1e=_0x4afbfb,{hostname:_0x5b173a,pathname:_0x255ed2,search:_0x4db405}=new URL(_0x4e92f7),_0x5c5db5={'hostname':_0x5b173a,'path':_0x66b8bb['HvaFQ'](_0x255ed2,_0x4db405),'method':_0x698074,'headers':_0x1a0f1e};return logger['debug']('['+TAG+_0x8ce058(0xe8)+_0x698074+_0x8ce058(0xfb)+_0x4e92f7+'\x20with\x20headers:\x20'+JSON[_0x8ce058(0xc5)](_0x1a0f1e)+_0x8ce058(0x101)+JSON[_0x8ce058(0xc5)](_0x1e183d)+'\x20and\x20token:\x20'+_0x54b78d),new Promise((_0x45748b,_0x462adb)=>{const _0x142d44=_0x8ce058,_0x27397c={'tTyyH':function(_0x1d9aa7,_0x477051){const _0x367401=a135_0x48b2;return _0x66b8bb[_0x367401(0x116)](_0x1d9aa7,_0x477051);}},_0x516382=https[_0x142d44(0x10d)](_0x5c5db5,_0x1bda75=>{const _0x2b505c=_0x142d44,_0xb5a771={'OeWsv':function(_0x3ebf33,_0x18bdca){return _0x66b8bb['epnaD'](_0x3ebf33,_0x18bdca);}};let _0x57358a='';_0x1bda75['on'](_0x66b8bb[_0x2b505c(0x114)],_0x2e695f=>{_0x57358a+=_0x2e695f;}),_0x1bda75['on'](_0x66b8bb[_0x2b505c(0xc3)],()=>{const _0x3ea0ab=_0x2b505c;try{const _0x84035b=_0x57358a?JSON[_0x3ea0ab(0xd6)](_0x57358a):{},_0x4c4600={};_0x4c4600[_0x3ea0ab(0xf6)]=_0x1bda75[_0x3ea0ab(0x111)],_0x4c4600[_0x3ea0ab(0xf5)]=_0x84035b,_0x4c4600[_0x3ea0ab(0xd8)]=_0x1bda75['headers'],_0xb5a771[_0x3ea0ab(0x10a)](_0x45748b,_0x4c4600);}catch(_0x2613a0){logger[_0x3ea0ab(0xf4)]('['+TAG+_0x3ea0ab(0x104)+_0x57358a+'\x20-\x20'+_0x2613a0['message']+'\x20'+_0x2613a0[_0x3ea0ab(0xf8)]),_0xb5a771[_0x3ea0ab(0x10a)](_0x462adb,new Error('Failed\x20to\x20parse\x20JSON\x20response:\x20'+_0x2613a0['message']));}});});_0x516382['on'](_0x66b8bb[_0x142d44(0xe2)],_0x449813=>{const _0x422183=_0x142d44;logger[_0x422183(0xf4)]('['+TAG+_0x422183(0xf2)+_0x698074+'\x20'+_0x4e92f7+':\x20'+_0x449813[_0x422183(0xe7)]+'\x20'+_0x449813['stack']),_0x27397c[_0x422183(0xef)](_0x462adb,_0x449813);}),_0x1e183d&&(_0x66b8bb[_0x142d44(0x108)](_0x698074,_0x66b8bb[_0x142d44(0xeb)])||_0x66b8bb[_0x142d44(0xfa)](_0x698074,_0x66b8bb[_0x142d44(0xf3)]))&&_0x516382['write'](JSON[_0x142d44(0xc5)](_0x1e183d)),_0x516382['end']();});}static async['postSplitFiles'](_0x3aea51){const _0x4d1036=a135_0x12553a,_0x1f120f={};_0x1f120f['Yadkm']=_0x4d1036(0xd4),_0x1f120f['JdLIw']=function(_0x40360a,_0x34709c){return _0x40360a===_0x34709c;};const _0x2f0958=_0x1f120f,_0x36bdbf=ORCHESTRATION_API_URL+'/'+SPLIT_TESTS_ENDPOINT;try{const _0x437d58=await this['_request'](_0x2f0958[_0x4d1036(0xc7)],_0x36bdbf,_0x3aea51);return _0x2f0958[_0x4d1036(0xda)](_0x437d58[_0x4d1036(0xf6)],0xc8)?logger[_0x4d1036(0xff)]('['+TAG+_0x4d1036(0xc8)+_0x36bdbf):logger[_0x4d1036(0xf4)]('['+TAG+_0x4d1036(0xce)+_0x36bdbf+':\x20'+JSON['stringify'](_0x437d58[_0x4d1036(0xf5)])+_0x4d1036(0x103)+_0x437d58[_0x4d1036(0xf6)]),_0x437d58;}catch(_0x287c1){logger[_0x4d1036(0xf4)]('['+TAG+_0x4d1036(0xe9)+_0x287c1[_0x4d1036(0xe7)]+'\x20'+_0x287c1['stack']);const _0x272735={};_0x272735[_0x4d1036(0xe7)]=_0x287c1['message'];const _0x4eec1e={};return _0x4eec1e[_0x4d1036(0xf6)]=0x1f4,_0x4eec1e[_0x4d1036(0xf5)]=_0x272735,_0x4eec1e;}}static async[a135_0x12553a(0xf0)](_0x2eb303){const _0x5bcfb2=a135_0x12553a,_0x4a8f82={};_0x4a8f82[_0x5bcfb2(0x10b)]=_0x5bcfb2(0xc6),_0x4a8f82[_0x5bcfb2(0x105)]=function(_0x3aa017,_0xed8643){return _0x3aa017===_0xed8643;};const _0x436173=_0x4a8f82;try{const _0x1bd0f2=await this[_0x5bcfb2(0xcc)](_0x436173[_0x5bcfb2(0x10b)],_0x2eb303);if(_0x436173[_0x5bcfb2(0x105)](_0x1bd0f2[_0x5bcfb2(0xf6)],0xc8))return _0x1bd0f2[_0x5bcfb2(0xf5)];return{};}catch(_0x21ddb7){return logger[_0x5bcfb2(0xf4)]('['+TAG+']\x20Error\x20in\x20putFailedTests:\x20'+_0x21ddb7[_0x5bcfb2(0xe7)]+'\x20'+_0x21ddb7[_0x5bcfb2(0xf8)]),{};}}static async['putFailedTests'](_0x2296d5){const _0x23f9f8=a135_0x12553a,_0x464e3e={};_0x464e3e['SleNB']=_0x23f9f8(0xe6),_0x464e3e[_0x23f9f8(0x112)]=function(_0x325f7c,_0x2f74fb){return _0x325f7c===_0x2f74fb;},_0x464e3e['naoJU']=function(_0x42c485,_0x26c647){return _0x42c485===_0x26c647;},_0x464e3e[_0x23f9f8(0xed)]=_0x23f9f8(0xec);const _0x360a50=_0x464e3e,_0x56499e=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT;try{const _0x297802=await this[_0x23f9f8(0xcc)](_0x360a50[_0x23f9f8(0xcf)],_0x56499e,_0x2296d5);if(_0x360a50['nHZRs'](_0x297802[_0x23f9f8(0xf6)],0xc8)&&_0x297802[_0x23f9f8(0xf5)]&&_0x360a50[_0x23f9f8(0xcd)](_0x297802[_0x23f9f8(0xf5)]['message'],_0x360a50['IwTwj']))return!![];return![];}catch(_0x3b6e59){logger[_0x23f9f8(0xf4)]('['+TAG+_0x23f9f8(0xe9)+_0x3b6e59[_0x23f9f8(0xe7)]+'\x20'+_0x3b6e59[_0x23f9f8(0xf8)]);const _0x207c5e={};_0x207c5e['message']=_0x3b6e59[_0x23f9f8(0xe7)];const _0x326090={};return _0x326090[_0x23f9f8(0xf6)]=0x1f4,_0x326090[_0x23f9f8(0xf5)]=_0x207c5e,_0x326090;}}static async['getFailedTestsCount'](_0x130dba){const _0x587d38=a135_0x12553a,_0x5c5bb5={'oEqLk':function(_0x34cc0d,_0xa1310c){return _0x34cc0d||_0xa1310c;},'nBmEU':_0x587d38(0xd1),'hadKH':function(_0x1303bf,_0x35f726){return _0x1303bf(_0x35f726);},'iQexR':function(_0x468bc2,_0x24d27f){return _0x468bc2(_0x24d27f);},'rjqLI':'GET','MJCdj':function(_0x30a80c,_0x53f71e){return _0x30a80c===_0x53f71e;},'EwpLX':function(_0x43d0f9,_0x19cd92){return _0x43d0f9!==_0x19cd92;},'QDXsz':_0x587d38(0xd7)},{buildName:_0xf249ca,buildRunIdentifier:_0x4aa289,projectName:_0x112d01}=_0x130dba;if(_0x5c5bb5[_0x587d38(0x10f)](!_0xf249ca,!_0x4aa289)||!_0x112d01){logger[_0x587d38(0xf4)]('['+TAG+_0x587d38(0xc9)+_0xf249ca+_0x587d38(0x106)+_0x4aa289+_0x587d38(0xd5)+_0x112d01);const _0x46aab6={};_0x46aab6[_0x587d38(0xe7)]=_0x5c5bb5['nBmEU'];const _0x577b74={};return _0x577b74['status']=0x190,_0x577b74[_0x587d38(0xf5)]=_0x46aab6,_0x577b74;}const _0x31e8d3=_0x587d38(0x102)+_0x5c5bb5[_0x587d38(0x117)](encodeURIComponent,_0xf249ca)+'&buildRunIdentifier='+_0x5c5bb5['iQexR'](encodeURIComponent,_0x4aa289)+_0x587d38(0xea)+_0x5c5bb5['hadKH'](encodeURIComponent,_0x112d01),_0x54ebfa=ORCHESTRATION_API_URL+'/'+FAILED_TESTS_ENDPOINT+_0x31e8d3;try{logger[_0x587d38(0xff)]('['+TAG+_0x587d38(0x109)+_0x54ebfa);let _0x3400c3=0x0;const _0x102954=await this[_0x587d38(0xcc)](_0x5c5bb5[_0x587d38(0xca)],_0x54ebfa);return _0x5c5bb5[_0x587d38(0xf1)](_0x102954[_0x587d38(0xf6)],0xc8)&&_0x102954[_0x587d38(0xf5)]&&_0x5c5bb5[_0x587d38(0xdf)](typeof _0x102954[_0x587d38(0xf5)][_0x587d38(0xe1)],_0x5c5bb5[_0x587d38(0x100)])&&(_0x3400c3=_0x5c5bb5[_0x587d38(0xd9)](Number,_0x102954[_0x587d38(0xf5)][_0x587d38(0xe1)])),_0x3400c3;}catch(_0x205868){logger[_0x587d38(0xf4)]('['+TAG+_0x587d38(0xde)+_0x205868[_0x587d38(0xe7)]+'\x20'+_0x205868[_0x587d38(0xf8)]);const _0x206bdc={};_0x206bdc[_0x587d38(0xe7)]=_0x205868['message'];const _0xb064a1={};return _0xb064a1[_0x587d38(0xf6)]=0x1f4,_0xb064a1[_0x587d38(0xf5)]=_0x206bdc,_0xb064a1;}}}function a135_0x2523(){const _0x105a68=['data','PzvnP','winstonLogger','epnaD','hadKH','USVlM','Content-Type','stringify','GET','Yadkm',']\x20Successfully\x20posted\x20split\x20files\x20to\x20',']\x20Missing\x20parameters\x20for\x20getFailedTestsCount:\x20buildName=','rjqLI','env','_request','naoJU',']\x20Failed\x20to\x20post\x20split\x20files\x20to\x20','SleNB','3773505liZHzw','Missing\x20required\x20parameters:\x20buildName,\x20buildRunIdentifier,\x20projectName','exports','Authorization','POST',',\x20projectName=','parse','undefined','headers','iQexR','JdLIw','application/json','50160cNOsNu','2251984MwLivb',']\x20Error\x20in\x20getFailedTestsCount:\x20','EwpLX','Bearer\x20','failedTestsCount','vppnA','216994nmBIhg','RequestUtils','1064vmJubr','PUT','message',']\x20Sending\x20',']\x20Error\x20in\x20putFailedTests:\x20','&projectName=','YMqJa','Test\x20added','IwTwj','170734PyjMEq','tTyyH','getSplitFiles','MJCdj',']\x20Request\x20failed\x20for\x20','FKsBy','error','body','status','./constants','stack','12167829DOrMBW','NFvdI','\x20request\x20to\x20','uijwf','8841CKZVEf','BROWSERSTACK_TESTHUB_JWT','debug','QDXsz','\x20and\x20data:\x20','?buildName=',',\x20status:\x20',']\x20Failed\x20to\x20parse\x20JSON\x20response:\x20','JAQOZ',',\x20buildRunIdentifier=','20ceNYsB','AGztM',']\x20Sending\x20GET\x20to\x20','OeWsv','VDKjW','end','request','https','oEqLk','16pJpKBV','statusCode','nHZRs'];a135_0x2523=function(){return _0x105a68;};return a135_0x2523();}module[a135_0x12553a(0xd2)]=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
+ const a136_0x2f8d71=a136_0x5bd1;(function(_0xcc9d0b,_0x37686a){const _0x16f89d=a136_0x5bd1,_0x3dc765=_0xcc9d0b();while(!![]){try{const _0x4e7f39=parseInt(_0x16f89d(0xfc))/0x1*(-parseInt(_0x16f89d(0x13c))/0x2)+parseInt(_0x16f89d(0xd0))/0x3*(-parseInt(_0x16f89d(0x104))/0x4)+parseInt(_0x16f89d(0x121))/0x5*(parseInt(_0x16f89d(0x120))/0x6)+-parseInt(_0x16f89d(0x10b))/0x7+-parseInt(_0x16f89d(0x102))/0x8*(-parseInt(_0x16f89d(0x109))/0x9)+-parseInt(_0x16f89d(0xf3))/0xa*(parseInt(_0x16f89d(0xf2))/0xb)+parseInt(_0x16f89d(0x10f))/0xc;if(_0x4e7f39===_0x37686a)break;else _0x3dc765['push'](_0x3dc765['shift']());}catch(_0x225925){_0x3dc765['push'](_0x3dc765['shift']());}}}(a136_0x3c6c,0x67106));const logger=require(a136_0x2f8d71(0x11d))[a136_0x2f8d71(0xec)],{isUndefined,isNotUndefined,isTrueString,sanitizedFilePath}=require(a136_0x2f8d71(0xe6)),TestOrderingServerHandler=require(a136_0x2f8d71(0xdc)),OrchestrationUtils=require('./orchestrationUtils'),path=require('path'),{spawnSync}=require(a136_0x2f8d71(0x136)),micromatch=require(a136_0x2f8d71(0xdd)),fs=require('fs');class TestOrchestrationHandler{constructor(_0x5949ba){const _0x196a69=a136_0x2f8d71,_0x25da9b={};_0x25da9b[_0x196a69(0xe4)]=_0x196a69(0x12b);const _0x28a85d=_0x25da9b,_0x200ef5=_0x28a85d[_0x196a69(0xe4)]['split']('|');let _0x4d6359=0x0;while(!![]){switch(_0x200ef5[_0x4d6359++]){case'0':this[_0x196a69(0x123)]={};continue;case'1':this[_0x196a69(0x110)]=![];continue;case'2':this['orchestrationUtils']=new OrchestrationUtils(_0x5949ba);continue;case'3':this[_0x196a69(0xe2)]=null;continue;case'4':this[_0x196a69(0x10a)]=_0x5949ba;continue;case'5':this['_initializeTestOrdering']();continue;}break;}}['isTestOrchestrationEnabled'](){const _0x48a4c2=a136_0x2f8d71,_0x37230d={'VeFwD':function(_0x39597d,_0x319e54){return _0x39597d(_0x319e54);},'dVrMV':function(_0x23c7dd,_0x1b677e){return _0x23c7dd(_0x1b677e);},'QOwhj':function(_0x3ca8c7,_0x1ce9cc){return _0x3ca8c7(_0x1ce9cc);},'FvWLy':function(_0x27e55c,_0x128e70){return _0x27e55c&&_0x128e70;}},_0x29ea83=_0x37230d[_0x48a4c2(0xfd)](isNotUndefined,this[_0x48a4c2(0x10a)])&&(_0x37230d[_0x48a4c2(0xfd)](isUndefined,this[_0x48a4c2(0x10a)][_0x48a4c2(0x119)])||_0x37230d[_0x48a4c2(0x124)](isTrueString,this[_0x48a4c2(0x10a)][_0x48a4c2(0x119)])),_0x10272b=this[_0x48a4c2(0x12f)][_0x48a4c2(0x139)](),_0x5b8200=_0x37230d[_0x48a4c2(0x124)](isNotUndefined,this[_0x48a4c2(0x10a)])&&_0x37230d[_0x48a4c2(0x124)](isNotUndefined,this[_0x48a4c2(0x10a)][_0x48a4c2(0x111)]),_0x1dd65d=_0x37230d[_0x48a4c2(0xdb)](isNotUndefined,this[_0x48a4c2(0x10a)])&&_0x37230d[_0x48a4c2(0xfd)](isNotUndefined,this[_0x48a4c2(0x10a)][_0x48a4c2(0x12d)]);return _0x37230d[_0x48a4c2(0xe8)](_0x29ea83,_0x10272b)&&_0x5b8200&&_0x1dd65d;}[a136_0x2f8d71(0x11c)](){const _0x16782f=a136_0x2f8d71,_0x26a53a={};_0x26a53a[_0x16782f(0x11a)]=_0x16782f(0xfa),_0x26a53a['jbbNi']=_0x16782f(0x133);const _0x10a26b=_0x26a53a;this[_0x16782f(0x135)]()?(this[_0x16782f(0xe2)]=new TestOrderingServerHandler(this[_0x16782f(0x10a)]),logger[_0x16782f(0xd8)](_0x10a26b['uJtzs'])):(logger[_0x16782f(0xef)](_0x10a26b[_0x16782f(0x11f)]),this['logTestOrderingChecks']());}['logTestOrderingChecks'](){const _0x278732=a136_0x2f8d71,_0x1bb3b6={'gapLW':function(_0x258d29,_0x5a5302){return _0x258d29(_0x5a5302);},'FMsHO':function(_0x352f30,_0x5987a2){return _0x352f30(_0x5987a2);},'eSUlB':'Test\x20Reordering\x20is\x20unavailable\x20because\x20buildName\x20or\x20projectName\x20is\x20null.\x20Please\x20set\x20a\x20non-null\x20value.','vRcDf':function(_0x17940e,_0x4e29cb){return _0x17940e(_0x4e29cb);},'tnnTr':function(_0x48cc3a,_0x4315b6){return _0x48cc3a(_0x4315b6);},'IpXBs':_0x278732(0xfe)};if(!this[_0x278732(0xf7)]())return;(!_0x1bb3b6[_0x278732(0x116)](isNotUndefined,this['config'])||!_0x1bb3b6['gapLW'](isNotUndefined,this[_0x278732(0x10a)]['buildName'])||!_0x1bb3b6[_0x278732(0xea)](isNotUndefined,this['config'][_0x278732(0x111)]))&&logger[_0x278732(0xd8)](_0x1bb3b6['eSUlB']),_0x1bb3b6['FMsHO'](isNotUndefined,this[_0x278732(0x10a)])&&_0x1bb3b6[_0x278732(0xff)](isNotUndefined,this[_0x278732(0x10a)][_0x278732(0x119)])&&!_0x1bb3b6[_0x278732(0xe5)](isTrueString,this[_0x278732(0x10a)][_0x278732(0x119)])&&logger[_0x278732(0xd8)](_0x1bb3b6[_0x278732(0xe0)]);}[a136_0x2f8d71(0xf7)](){const _0xba1407=a136_0x2f8d71;return!this[_0xba1407(0x135)]()&&this[_0xba1407(0x12f)][_0xba1407(0x139)]();}['isTestOrderingApplied'](){const _0x12f918=a136_0x2f8d71;return this[_0x12f918(0x110)];}['setTestOrderingApplied'](_0x41fcd6){const _0x2ff687=a136_0x2f8d71,_0x3a971c={};_0x3a971c[_0x2ff687(0xd2)]=_0x2ff687(0xde);const _0x747d70=_0x3a971c;this[_0x2ff687(0x110)]=_0x41fcd6,this[_0x2ff687(0xd7)](_0x747d70[_0x2ff687(0xd2)],_0x41fcd6);}[a136_0x2f8d71(0xd7)](_0x3d3e88,_0x4de788){const _0x1800c4=a136_0x2f8d71;this[_0x1800c4(0x123)][_0x3d3e88]=_0x4de788;}[a136_0x2f8d71(0xd6)](){const _0x1db1e9=a136_0x2f8d71;return this[_0x1db1e9(0x123)];}[a136_0x2f8d71(0x138)](){const _0x29171d=a136_0x2f8d71,_0x4d9f34={'cuQgE':function(_0x5f413e,_0x31e5e0){return _0x5f413e(_0x31e5e0);},'PLJMJ':function(_0x6be78d,_0x2c0ca7){return _0x6be78d>_0x2c0ca7;}},_0x25476b=_0x4d9f34[_0x29171d(0xe3)](parseInt,process[_0x29171d(0xcf)][_0x29171d(0xeb)]||'1'),_0x3852e9=process[_0x29171d(0xcf)][_0x29171d(0x115)];_0x3852e9&&_0x4d9f34[_0x29171d(0xf9)](_0x25476b,0x1)&&(logger['debug'](_0x29171d(0x12e)+_0x3852e9),this['config'][_0x29171d(0xf0)]=_0x3852e9);}async['reorderTestFiles'](_0x585c2f){const _0x19edf2=a136_0x2f8d71,_0x23c111={'trgnM':function(_0x17e8dd,_0x26e8c2){return _0x17e8dd===_0x26e8c2;},'UNrTH':function(_0x28e22b,_0x4db7df){return _0x28e22b===_0x4db7df;},'qYVHS':_0x19edf2(0xe9),'ZZuSG':function(_0x365653,_0x1d4891){return _0x365653===_0x1d4891;},'DVBTw':function(_0x4308c3,_0x38551a){return _0x4308c3(_0x38551a);},'NTvKw':function(_0x18e9f2,_0x1f99a1){return _0x18e9f2(_0x1f99a1);},'vuXex':'uploadedTestFilesCount','trHyC':_0x19edf2(0xe7),'wvZAL':'totalNodes','ZaDvn':'downloadedTestFilesCount','pMXpI':_0x19edf2(0x13d)};try{if(!_0x585c2f||!Array[_0x19edf2(0x130)](_0x585c2f)||_0x23c111[_0x19edf2(0xf8)](_0x585c2f[_0x19edf2(0x10e)],0x0))return null;if(_0x23c111['UNrTH'](this[_0x19edf2(0x135)](),![]))return logger['debug'](_0x23c111['qYVHS']),null;let _0xf80ee7=null;const _0x17e482=this[_0x19edf2(0x12f)][_0x19edf2(0xe1)]();if(this[_0x19edf2(0xe2)]){const _0x2ebb86=await this[_0x19edf2(0xe2)][_0x19edf2(0x125)](_0x585c2f,_0x17e482);if(!_0x2ebb86)return null;_0xf80ee7=await this[_0x19edf2(0xe2)][_0x19edf2(0x13e)](_0x2ebb86);}if(!_0xf80ee7||!Array[_0x19edf2(0x130)](_0xf80ee7)||_0x23c111['ZZuSG'](_0xf80ee7[_0x19edf2(0x10e)],0x0))return null;const _0x1389e1=_0x23c111[_0x19edf2(0x12c)](parseInt,process[_0x19edf2(0xcf)][_0x19edf2(0x107)]||'0'),_0x1fcbbc=_0x23c111['NTvKw'](parseInt,process[_0x19edf2(0xcf)]['BROWSERSTACK_TOTAL_NODE_COUNT']||'1');return this[_0x19edf2(0xd7)](_0x23c111[_0x19edf2(0x12a)],_0x585c2f[_0x19edf2(0x10e)]),this[_0x19edf2(0xd7)](_0x23c111[_0x19edf2(0x10c)],_0x1389e1),this[_0x19edf2(0xd7)](_0x23c111[_0x19edf2(0x11e)],_0x1fcbbc),this[_0x19edf2(0xd7)](_0x23c111[_0x19edf2(0x13b)],_0xf80ee7[_0x19edf2(0x10e)]),this[_0x19edf2(0xd7)](_0x23c111[_0x19edf2(0xf4)],this[_0x19edf2(0xe2)]?this[_0x19edf2(0xe2)][_0x19edf2(0x118)]():0x0),_0xf80ee7[_0x19edf2(0x131)](_0x23eca8=>sanitizedFilePath(_0x23eca8));}catch(_0x171d8a){return logger[_0x19edf2(0xef)](_0x19edf2(0x126)+(_0x171d8a[_0x19edf2(0x132)]||_0x171d8a[_0x19edf2(0xf5)]())),null;}}async['findTestFiles'](_0x8fa0af,_0xc9c9fd,_0xb36869){const _0x299b10=a136_0x2f8d71,_0x23b88c={'zbBVZ':function(_0x3ded69,_0x55a183){return _0x3ded69(_0x55a183);},'fRlaS':'jest-config','rBBJb':_0x299b10(0x134),'lAtdx':_0x299b10(0xfb),'bQhEy':'glob','pRTwQ':_0x299b10(0x113),'snAGh':_0x299b10(0x128),'ONshW':function(_0x3a3d73,_0x4840d4,_0x1d256f,_0x2bd057){return _0x3a3d73(_0x4840d4,_0x1d256f,_0x2bd057);},'Vxozh':_0x299b10(0xd1),'MGtrv':_0x299b10(0xd5),'BggsV':_0x299b10(0x117),'xGPmt':_0x299b10(0x103),'bqScN':'utf-8'};try{const {getTestPathPatterns:_0x38fd6e}=_0x23b88c[_0x299b10(0x129)](require,_0x23b88c[_0x299b10(0xed)]),{globsToMatcher:_0x2a410f}=_0x23b88c['zbBVZ'](require,_0x23b88c[_0x299b10(0xd3)]),{findRelatedTests:_0x1927b1}=_0x23b88c[_0x299b10(0x129)](require,_0x23b88c[_0x299b10(0x13a)]),_0x3c053e=_0x23b88c['zbBVZ'](require,_0x23b88c['bQhEy']),_0x51d0e3=_0x8fa0af[_0x299b10(0x114)]||[_0x23b88c[_0x299b10(0x11b)],_0x23b88c[_0x299b10(0x108)]],_0x30142e=_0x8fa0af[_0x299b10(0x101)]||[],_0x2e04a5=_0x23b88c[_0x299b10(0x106)](spawnSync,_0x23b88c[_0x299b10(0x127)],[_0x23b88c[_0x299b10(0x10d)],_0x23b88c[_0x299b10(0xda)],_0xb36869,..._0xc9c9fd,_0x23b88c[_0x299b10(0x122)]],{'encoding':_0x23b88c[_0x299b10(0xee)]});let _0x28fd25=[];!_0x2e04a5[_0x299b10(0xf1)]&&(_0x28fd25=_0x2e04a5['stdout'][_0x299b10(0x100)]('\x0a')['filter'](Boolean));logger['debug'](_0x299b10(0xdf)+JSON[_0x299b10(0xf6)](_0x28fd25)+_0x299b10(0x112));const _0x26506c={};_0x26506c[_0x299b10(0xd9)]=!![],_0x26506c[_0x299b10(0x137)]=_0x30142e;const _0x14f8b6=_0x23b88c['ONshW'](micromatch,_0x28fd25,_0x51d0e3,_0x26506c)[_0x299b10(0x131)](_0x514fc3=>path['relative'](_0x8fa0af['rootDir'],_0x514fc3));return logger['debug']('Filterted\x20to\x20test\x20files:\x20'+JSON[_0x299b10(0xf6)](_0x14f8b6)+_0x299b10(0x112)),_0x14f8b6;}catch(_0x274927){return logger[_0x299b10(0xef)](_0x299b10(0x105)+_0x274927),[];}}}function a136_0x3c6c(){const _0x4348fb=['child_process','ignore','updateBuildIdentifier','testOrderingEnabled','lAtdx','ZaDvn','2QeTupg','splitTestsAPICallCount','getOrderedTestFiles','env','3HqNuOa','npx','ElWbN','rBBJb','exports','jest','getOrderingInstrumentationData','addToOrderingInstrumentationData','info','matchBase','BggsV','QOwhj','./testOrderingServerHandler','micromatch','applied','Found\x20test\x20files:\x20','IpXBs','getTestOrderingName','testOrderingServerHandler','cuQgE','GaXya','tnnTr','../helper','nodeIndex','FvWLy','[reorderTestFiles]\x20Test\x20ordering\x20is\x20not\x20supported\x20or\x20enabled','FMsHO','BROWSERSTACK_TOTAL_NODE_COUNT','winstonLogger','fRlaS','bqScN','debug','buildIdentifier','error','797720QttSUu','110FiJUVZ','pMXpI','toString','stringify','_shouldLogTestOrderingChecks','trgnM','PLJMJ','Test\x20orchestration\x20with\x20test\x20ordering\x20enabled','jest-runner','130653cJZqek','VeFwD','Test\x20Reordering\x20is\x20unavailable\x20because\x20testReporting\x20is\x20disabled.\x20Please\x20enable\x20it\x20from\x20browserstack.yml\x20file.','vRcDf','split','testPathIgnorePatterns','112sPTeph','--listTests','56324zRdTbD','Error\x20finding\x20test\x20files:\x20','ONshW','BROWSERSTACK_NODE_INDEX','snAGh','429876OOrmzf','config','1294755Wyteko','trHyC','MGtrv','length','10146948vzEIPi','testOrderingApplied','projectName','\x20files','**/__tests__/**/*.[jt]s?(x)','testMatch','BROWSERSTACK_BUILD_RUN_IDENTIFIER','gapLW','--config','getSplitTestsAPICallCount','testObservability','uJtzs','pRTwQ','_initializeTestOrdering','../logger','wvZAL','jbbNi','84EuTQQL','12605RnOrGp','xGPmt','orderingInstrumentationData','dVrMV','splitTests','[reorderTestFiles]\x20Error\x20in\x20ordering\x20test\x20files:\x20','Vxozh','**/?(*.)+(spec|test).[jt]s?(x)','zbBVZ','vuXex','4|0|1|3|2|5','DVBTw','buildName','[orchestrate]\x20Setting\x20buildIdentifier\x20to\x20buildRunIdentifier:\x20','orchestrationUtils','isArray','map','stack','Test\x20orchestration\x20without\x20test\x20ordering','jest-util','isTestOrchestrationEnabled'];a136_0x3c6c=function(){return _0x4348fb;};return a136_0x3c6c();}function a136_0x5bd1(_0x2d3f41,_0x294357){const _0x3c6c0c=a136_0x3c6c();return a136_0x5bd1=function(_0x5bd1b0,_0xf9b152){_0x5bd1b0=_0x5bd1b0-0xcf;let _0x2832c5=_0x3c6c0c[_0x5bd1b0];return _0x2832c5;},a136_0x5bd1(_0x2d3f41,_0x294357);}module[a136_0x2f8d71(0xd4)]=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_0x11b600=a137_0x4c4f;(function(_0x18ed9c,_0x2996c4){const _0x5384e9=a137_0x4c4f,_0x4760f2=_0x18ed9c();while(!![]){try{const _0x43d3c7=parseInt(_0x5384e9(0x9f))/0x1+parseInt(_0x5384e9(0xaf))/0x2+parseInt(_0x5384e9(0x98))/0x3*(parseInt(_0x5384e9(0xbd))/0x4)+parseInt(_0x5384e9(0xa7))/0x5+parseInt(_0x5384e9(0xac))/0x6+-parseInt(_0x5384e9(0xd1))/0x7*(-parseInt(_0x5384e9(0xc4))/0x8)+-parseInt(_0x5384e9(0xde))/0x9;if(_0x43d3c7===_0x2996c4)break;else _0x4760f2['push'](_0x4760f2['shift']());}catch(_0x1f9216){_0x4760f2['push'](_0x4760f2['shift']());}}}(a137_0x4e44,0xf3c4b));function a137_0x4c4f(_0x18aa62,_0x1732bf){const _0x4e4470=a137_0x4e44();return a137_0x4c4f=function(_0x4c4f06,_0x5e3cdc){_0x4c4f06=_0x4c4f06-0x98;let _0x1c5fde=_0x4e4470[_0x4c4f06];return _0x1c5fde;},a137_0x4c4f(_0x18aa62,_0x1732bf);}const logger=require(a137_0x11b600(0xc9))[a137_0x11b600(0xdc)],RequestUtils=require(a137_0x11b600(0xb2));function a137_0x4e44(){const _0x185c2c=['filePath','hostname','cwkNW','now','4343664UcpnWv','dKPbY','totalmem','[processSplitTestsResponse]\x20timeout:\x20','defaultTimeout','../logger','ETfQE','body','gvuPX','config','RpQuf','getOrderedTestFiles','stringify','14noTSHE','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL:\x20','[getOrderedTestFiles]\x20Exception\x20in\x20fetching\x20ordered\x20test\x20files:\x20','stack','[splitTests]\x20Response\x20from\x20split\x20tests\x20API:\x20','resultUrl','timeoutInterval','length','[processSplitTestsResponse]\x20Received\x20null\x20value(s)\x20for\x20some\x20attributes\x20in\x20split\x20tests\x20API\x20response','BROWSERSTACK_NODE_INDEX','release','winstonLogger','getSplitFiles','39158892Ehkome','147993zcvbGr','pMObD',',\x20timeoutUrl:\x20','NidwQ','xpdoN','_getHostInfo','platform','294197rBCimT','processSplitTestsResponse','getSplitTestsAPICallCount','freemem','map','Xhsyf','debug','aoUEo','6530350bdsIfJ','toString','env','postSplitFiles','timeout','7388946RDNcYz','splitTestsAPICallCount','\x20seconds.','989000NumJmz','tests','[getOrderedTestFiles]\x20Response\x20from\x20result\x20URL:\x20','./requestUtils','timeoutUrl','[splitTests]\x20Exception\x20in\x20sending\x20test\x20files:\x20','projectName','BROWSERSTACK_TOTAL_NODE_COUNT','[getOrderedTestFiles]\x20Fetching\x20ordered\x20test\x20files','sycZZ','arch','exports','BROWSERSTACK_BUILD_RUN_IDENTIFIER','[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20result\x20URL\x20after\x20waiting\x20for\x20','76NSkpvW',',\x20timeoutInterval:\x20','defaultTimeoutInterval'];a137_0x4e44=function(){return _0x185c2c;};return a137_0x4e44();}class TestOrderingServerHandler{constructor(_0x278cc6){const _0x575755=a137_0x11b600;this[_0x575755(0xcd)]=_0x278cc6,this[_0x575755(0xad)]=0x0,this[_0x575755(0xc8)]=0x3c,this[_0x575755(0xbf)]=0x5;}[a137_0x11b600(0xa1)](){return this['splitTestsAPICallCount'];}[a137_0x11b600(0xa0)](_0x275ee9){const _0x230d56=a137_0x11b600,_0x2398cb={};_0x2398cb[_0x230d56(0x9b)]=_0x230d56(0xd9);const _0x42c1a8=_0x2398cb;if(!_0x275ee9)return null;const _0x5ae555={};return _0x5ae555[_0x230d56(0xab)]=_0x275ee9[_0x230d56(0xab)]||this['defaultTimeout'],_0x5ae555['timeoutInterval']=_0x275ee9['timeoutInterval']||this[_0x230d56(0xbf)],_0x5ae555[_0x230d56(0xd6)]=_0x275ee9[_0x230d56(0xd6)],_0x5ae555[_0x230d56(0xb3)]=_0x275ee9[_0x230d56(0xb3)],logger[_0x230d56(0xa5)]('[processSplitTestsResponse]\x20Processing\x20response:\x20'+JSON[_0x230d56(0xd0)](_0x275ee9)),logger['debug'](_0x230d56(0xc7)+_0x275ee9[_0x230d56(0xab)]+_0x230d56(0xbe)+_0x275ee9[_0x230d56(0xd7)]+',\x20resultUrl:\x20'+_0x275ee9[_0x230d56(0xd6)]+_0x230d56(0x9a)+_0x275ee9[_0x230d56(0xb3)]),(!_0x275ee9[_0x230d56(0xab)]||!_0x275ee9[_0x230d56(0xd7)]||!_0x275ee9[_0x230d56(0xb3)]||!_0x275ee9[_0x230d56(0xd6)])&&logger[_0x230d56(0xa5)](_0x42c1a8['NidwQ']),_0x5ae555;}async['splitTests'](_0x109b92,_0x1f259b){const _0x17498a=a137_0x11b600,_0xceb447={'cwkNW':function(_0x5ad9f,_0x27a491){return _0x5ad9f(_0x27a491);},'tiRVF':function(_0x287ac3,_0x1409fd){return _0x287ac3(_0x1409fd);}};try{const _0x593ca3=_0xceb447[_0x17498a(0xc2)](parseInt,process['env'][_0x17498a(0xda)]||'0'),_0x5aa476=_0xceb447['tiRVF'](parseInt,process[_0x17498a(0xa9)][_0x17498a(0xb6)]||'1'),_0x36fe22=process[_0x17498a(0xa9)][_0x17498a(0xbb)],_0x19e5f1={'nodeIndex':_0x593ca3,'totalNodes':_0x5aa476,'projectName':this[_0x17498a(0xcd)][_0x17498a(0xb5)],'buildName':this['config']['buildName'],'buildRunIdentifier':_0x36fe22,'orchestrationStrategy':_0x1f259b,'hostInfo':this[_0x17498a(0x9d)](),'tests':_0x109b92['map'](_0x4a65c3=>({'filePath':_0x4a65c3}))},_0x27684a=await RequestUtils[_0x17498a(0xaa)](_0x19e5f1);return logger[_0x17498a(0xa5)](_0x17498a(0xd5)+JSON['stringify'](_0x27684a)),this[_0x17498a(0xad)]+=0x1,this[_0x17498a(0xa0)](_0x27684a[_0x17498a(0xcb)]||{});}catch(_0x5f3cc1){return logger[_0x17498a(0xa5)](_0x17498a(0xb4)+(_0x5f3cc1[_0x17498a(0xd4)]||_0x5f3cc1[_0x17498a(0xa8)]())),null;}}async[a137_0x11b600(0xcf)](_0x25ec35){const _0x59cd0e=a137_0x11b600,_0x54e78f={};_0x54e78f[_0x59cd0e(0x9c)]=_0x59cd0e(0xb7),_0x54e78f[_0x59cd0e(0xce)]=function(_0x10bce3,_0x5252bd){return _0x10bce3*_0x5252bd;},_0x54e78f[_0x59cd0e(0x99)]=function(_0x151b72,_0xa9f04c){return _0x151b72&&_0xa9f04c;},_0x54e78f[_0x59cd0e(0xb8)]=function(_0x5e73d7,_0x20159f){return _0x5e73d7<_0x20159f;},_0x54e78f[_0x59cd0e(0xcc)]=function(_0x3860e0,_0x2ce125){return _0x3860e0-_0x2ce125;},_0x54e78f['ETfQE']=function(_0x58fedc,_0x524c49){return _0x58fedc&&_0x524c49;},_0x54e78f[_0x59cd0e(0xc5)]='[getOrderedTestFiles]\x20Fetching\x20ordered\x20tests\x20from\x20timeout\x20URL',_0x54e78f['Xhsyf']=function(_0x4bad0f,_0x4a0fa0){return _0x4bad0f>_0x4a0fa0;};const _0x122d9d=_0x54e78f;if(!_0x25ec35)return null;try{logger[_0x59cd0e(0xa5)](_0x122d9d[_0x59cd0e(0x9c)]);const _0x5b0d5a=_0x25ec35[_0x59cd0e(0xd7)]||this[_0x59cd0e(0xbf)],_0x22a229=_0x122d9d[_0x59cd0e(0xce)](_0x25ec35[_0x59cd0e(0xab)]||this[_0x59cd0e(0xc8)],0x3e8),_0x34fea9=_0x25ec35[_0x59cd0e(0xb3)],_0x481a1b=_0x25ec35['resultUrl'];if(_0x122d9d[_0x59cd0e(0x99)](!_0x481a1b,!_0x34fea9))return null;let _0x49417d=null;const _0x3f7858=Date[_0x59cd0e(0xc3)]();while(_0x481a1b&&_0x122d9d['sycZZ'](_0x122d9d['gvuPX'](Date[_0x59cd0e(0xc3)](),_0x3f7858),_0x22a229)){logger['debug'](_0x59cd0e(0xd2)+_0x481a1b);const _0x123d3a=await RequestUtils[_0x59cd0e(0xdd)](_0x481a1b);logger[_0x59cd0e(0xa5)](_0x59cd0e(0xb1)+JSON['stringify'](_0x123d3a)),this[_0x59cd0e(0xad)]+=0x1;if(_0x123d3a&&_0x123d3a[_0x59cd0e(0xb0)]){_0x49417d=_0x123d3a[_0x59cd0e(0xb0)];break;}await new Promise(_0x4c31a5=>setTimeout(_0x4c31a5,_0x5b0d5a*0x3e8)),logger[_0x59cd0e(0xa5)](_0x59cd0e(0xbc)+_0x5b0d5a+_0x59cd0e(0xae));}if(_0x122d9d[_0x59cd0e(0xca)](!_0x49417d,_0x34fea9)){logger[_0x59cd0e(0xa5)](_0x122d9d[_0x59cd0e(0xc5)]);const _0xa2daac=await RequestUtils[_0x59cd0e(0xdd)](_0x34fea9);_0xa2daac&&_0xa2daac[_0x59cd0e(0xb0)]&&(_0x49417d=_0xa2daac[_0x59cd0e(0xb0)]);}if(_0x49417d&&_0x122d9d[_0x59cd0e(0xa4)](_0x49417d[_0x59cd0e(0xd8)],0x0))return _0x49417d[_0x59cd0e(0xa3)](_0x229b1e=>_0x229b1e[_0x59cd0e(0xc0)]);return null;}catch(_0x29bf10){return logger['debug'](_0x59cd0e(0xd3)+(_0x29bf10[_0x59cd0e(0xd4)]||_0x29bf10['toString']())),null;}}[a137_0x11b600(0x9d)](){const _0x17e4b8=a137_0x11b600,_0x1cd880={'aoUEo':function(_0x1ec8c1,_0x43e110){return _0x1ec8c1(_0x43e110);}},_0x24581f=_0x1cd880[_0x17e4b8(0xa6)](require,'os');try{return{'hostname':_0x24581f[_0x17e4b8(0xc1)](),'platform':_0x24581f[_0x17e4b8(0x9e)](),'release':_0x24581f[_0x17e4b8(0xdb)](),'arch':_0x24581f[_0x17e4b8(0xb9)](),'totalmem':_0x24581f[_0x17e4b8(0xc6)](),'freemem':_0x24581f[_0x17e4b8(0xa2)]()};}catch(_0x31fe41){return{};}}}module[a137_0x11b600(0xba)]=TestOrderingServerHandler;
@@ -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_0x13369f=a138_0x18be;(function(_0x498b7c,_0x57d806){var _0x46a457=a138_0x18be,_0x4a340e=_0x498b7c();while(!![]){try{var _0x150991=-parseInt(_0x46a457(0x1f3))/0x1*(-parseInt(_0x46a457(0x20c))/0x2)+parseInt(_0x46a457(0x206))/0x3*(parseInt(_0x46a457(0x200))/0x4)+parseInt(_0x46a457(0x1fd))/0x5+parseInt(_0x46a457(0x20b))/0x6+parseInt(_0x46a457(0x201))/0x7+-parseInt(_0x46a457(0x1f5))/0x8+-parseInt(_0x46a457(0x1ef))/0x9;if(_0x150991===_0x57d806)break;else _0x4a340e['push'](_0x4a340e['shift']());}catch(_0x32ace6){_0x4a340e['push'](_0x4a340e['shift']());}}}(a138_0x2e80,0x81909));var a138_0x42d6a4={};a138_0x42d6a4[a138_0x13369f(0x202)]=a138_0x13369f(0x1f2),a138_0x42d6a4[a138_0x13369f(0x1ff)]=a138_0x13369f(0x207),a138_0x42d6a4[a138_0x13369f(0x20a)]=a138_0x13369f(0x1f8);var a138_0x2068c3={};function a138_0x2e80(){var _0x4503b4=['93708CiqIea','ERROR_SDK_DEPRECATED','HookRunStarted','ERROR','ACCESS_DENIED','2921808mmNoyr','16094zkjEUn','TestStarted','TestSkipped','TestRunSkipped','ENV_VAR','7838910TQDOHg','accessibility','TestRunFinished','ERROR_INVALID_CREDENTIALS','7zYjnZV','CBTSessionCreated','1843856VgiLFB','EVENT','LogCreated','ERROR_ACCESS_DENIED','ACCESSIBILITY','OBSERVABILITY','BROWSERSTACK_TESTHUB_UUID','observability','912290ckdRAF','api/v2/builds','DEPRECATED','48cgGlJD','3721074QkjMoS','INVALID_CREDENTIALS','TestRunStarted','BROWSERSTACK_TESTHUB_JWT','HookRunFinished'];a138_0x2e80=function(){return _0x4503b4;};return a138_0x2e80();}a138_0x2068c3[a138_0x13369f(0x20d)]=a138_0x13369f(0x203),a138_0x2068c3['TestFinished']=a138_0x13369f(0x1f1),a138_0x2068c3[a138_0x13369f(0x20e)]=a138_0x13369f(0x1ed),a138_0x2068c3[a138_0x13369f(0x1f7)]=a138_0x13369f(0x1f7),a138_0x2068c3['HookStarted']=a138_0x13369f(0x208),a138_0x2068c3['HookFinished']=a138_0x13369f(0x205),a138_0x2068c3[a138_0x13369f(0x1f4)]=a138_0x13369f(0x1f4);var a138_0x323feb={};function a138_0x18be(_0x441651,_0x2bfc42){var _0x2e80ec=a138_0x2e80();return a138_0x18be=function(_0x18be85,_0x22ef05){_0x18be85=_0x18be85-0x1ed;var _0x2dda5c=_0x2e80ec[_0x18be85];return _0x2dda5c;},a138_0x18be(_0x441651,_0x2bfc42);}a138_0x323feb[a138_0x13369f(0x1fb)]=a138_0x13369f(0x1fb),a138_0x323feb['BROWSERSTACK_TESTHUB_JWT']=a138_0x13369f(0x204);var a138_0xb73be5={};a138_0xb73be5['TESTHUB_BUILD_API']=a138_0x13369f(0x1fe),a138_0xb73be5[a138_0x13369f(0x1f9)]=a138_0x13369f(0x1f0),a138_0xb73be5[a138_0x13369f(0x1fa)]=a138_0x13369f(0x1fc),a138_0xb73be5[a138_0x13369f(0x209)]=a138_0x42d6a4,a138_0xb73be5[a138_0x13369f(0x1f6)]=a138_0x2068c3,a138_0xb73be5[a138_0x13369f(0x1ee)]=a138_0x323feb,module['exports']=a138_0xb73be5;
@@ -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_0x3db292=a139_0x4751;function a139_0x7f7c(){const _0x40d516=['false','success','BROWSERSTACK_CENTRAL_SCANNER_JOBID','finished_metadata','getAccessibilityValueFromYml','settings','authToken','oltAb','czyHL','allowScreenshot','allSettled','job_id','buildIdentifier','zWEkK','72123lmzlto','EXCEPTION\x20IN\x20BUILD\x20START\x20EVENT\x20:\x20Missing\x20authentication\x20token','getAccessKey','assign','stringify','cwd','true','BROWSERSTACK_BUILD_RUN_IDENTIFIER','ENV_VAR','debug','buildStopSent','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','1473208RJsriF','framework','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20','3738630uGZuAP','../test-observability/sessionHandler.js','1281665PJhHVB','GOgpt','vpBRE','BS_TESTOPS_BUILD_COMPLETED','measureWrapper','TESTHUB_BUILD_API','stop','aHTkY','GnMsG','exports','getUserName','BROWSERSTACK_TESTHUB_JWT','getCiInfo','13398064HYgMcF','getProductMapForBuildStartCall','\x20framework','getFrameworkDetails','rhtlL','lHUfQ','Testhub\x20started\x20with\x20id:\x20','/stop','buildDescription','format','./constants.js','PERCY_SUPPORTED_FRAMEWORKS','BROWSERSTACK_ACCESSIBILITY','getGitMetaData','lcnc','accessibility','processTraceZips','../logger','getTestOrchestrationBuildStartData','bviRv','config','projectName','checkAndSetupPercy','../performance/performance-tester.js','percy','ljyRQ','ZBmKZ','api/v1/builds/','toISOString','9VrZhbi','response','BROWSERSTACK_CENTRAL_SCANNER_JWT','../../bin/playwright/reporter/test-details.js','3EMASLU','winstonLogger','path','oiFhC','isAccessibilityEnabled','getAccessibilityOptions','includeEncodedExtension','statusText','BROWSERSTACK_RERUN','buildHashedId','nLjWB','Percy\x20is\x20not\x20supported\x20for\x20','GTaZf','isRunning','AMwDb','fNBqM','getProductMap','BROWSERSTACK_TEST_OBSERVABILITY','data','BROWSERSTACK_TEST_ACCESSIBILITY_SCRIPT_TIMEOUT','HJwJF','BROWSERSTACK_PRODUCT_MAP','../performance/constants','szkCO','BROWSERSTACK_LINKED_BUILD_UUID','EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20Missing\x20authentication\x20token','logBuildError','setupPercy','../helper','password','ghLXc','getCentralUser','FADAi','BROWSERSTACK_BUILD_GROUPING_IDENTIFIER','error','setAccessibilityVariables','5459874hlQSih','getTraceFilePaths','status','isBrowserstackInfra','auth','POST','ENCVD','1896202LAxURN','ElXUm','BROWSERSTACK_TESTHUB_UUID','pDcEV','PXQzg','fTKep','KqVOh','rJhIz','OBSERVABILITY','getHostInfo','All\x20trace\x20zip\x20send\x20events\x20complete','env','vfonA','ACCESSIBILITY','lLQqr','forEach','scannerProcessingTimeout','extractDataFromResponse','Token/buildID\x20is\x20undefined,\x20build\x20creation\x20might\x20have\x20failed','accessibilityOptions','central_scanner','../test-observability/requestQueueHandler.js','getConfig','jwt','uploadPending','getInstance','message','setTestObservabilityVariables','FmqhJ','../../bin/utils/constants.js','push','STOP','username','setTestHubCommonMetaInfo','XmzaI','token'];a139_0x7f7c=function(){return _0x40d516;};return a139_0x7f7c();}(function(_0x2e4dd1,_0x149507){const _0x3bba9b=a139_0x4751,_0x500bee=_0x2e4dd1();while(!![]){try{const _0x542349=parseInt(_0x3bba9b(0x172))/0x1+-parseInt(_0x3bba9b(0x140))/0x2*(parseInt(_0x3bba9b(0x115))/0x3)+-parseInt(_0x3bba9b(0x17e))/0x4+parseInt(_0x3bba9b(0x183))/0x5+parseInt(_0x3bba9b(0x181))/0x6+-parseInt(_0x3bba9b(0x139))/0x7+parseInt(_0x3bba9b(0x190))/0x8*(parseInt(_0x3bba9b(0x111))/0x9);if(_0x542349===_0x149507)break;else _0x500bee['push'](_0x500bee['shift']());}catch(_0x4e87a2){_0x500bee['push'](_0x500bee['shift']());}}}(a139_0x7f7c,0x8160e));const bsSetupHelper=require(a139_0x3db292(0x131)),path=require(a139_0x3db292(0x117)),util=require('util'),{getCustomTags,isTestObservabilitySession,getDefaultHeaders,nodeRequest}=require('../test-observability/utils'),testhubUtils=require('./utils.js'),testHubConstants=require(a139_0x3db292(0x19a)),constants=require(a139_0x3db292(0x15d)),RequestQueueHandler=require(a139_0x3db292(0x155)),logger=require(a139_0x3db292(0x1a1))[a139_0x3db292(0x116)],SessionHandler=require(a139_0x3db292(0x182)),PerformanceTester=require(a139_0x3db292(0x10b)),{TESTHUB_EVENTS:PerformanceEvents}=require(a139_0x3db292(0x12b)),TestDetails=require(a139_0x3db292(0x114)),{uploadTraceZip}=require('../../bin/playwright/reporter/pwUtils.js'),{isTurboScaleSession}=require('../helper.js'),BrowserstackCLI=require('../../bin/v2/browserstackCLI'),OngoingEvents=new Set();let processedTraceZips=![];const addEvent=_0x593074=>{OngoingEvents['add'](_0x593074);},awaitAllEvents=async()=>{const _0x3de371=a139_0x3db292;return Promise[_0x3de371(0x16e)](OngoingEvents);};function a139_0x4751(_0x122a0d,_0x25a0b3){const _0x7f7cb7=a139_0x7f7c();return a139_0x4751=function(_0x47513d,_0x10617c){_0x47513d=_0x47513d-0x108;let _0x4b9cda=_0x7f7cb7[_0x47513d];return _0x4b9cda;},a139_0x4751(_0x122a0d,_0x25a0b3);}class TestHubHandler{static [a139_0x3db292(0x17c)]=![];static async['launchBuild'](_0x4bb0f9,_0x490ee9){const _0x3c312a=a139_0x3db292,_0x8b15fd={'AMwDb':function(_0x2535d4,_0x3ef6df){return _0x2535d4||_0x3ef6df;},'czyHL':function(_0x54b75c,_0x19c418){return _0x54b75c||_0x19c418;},'ENCVD':function(_0x516387,_0x309bee){return _0x516387===_0x309bee;},'XmzaI':function(_0x3cf30b){return _0x3cf30b();},'GnMsG':_0x3c312a(0x173),'KqVOh':'false','FmqhJ':'Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','vpBRE':function(_0x384f24,_0x18388a,_0x1e8000,_0x104a91,_0x49ac1b){return _0x384f24(_0x18388a,_0x1e8000,_0x104a91,_0x49ac1b);},'pDcEV':_0x3c312a(0x13e),'lHUfQ':_0x3c312a(0x19f),'BoVYw':_0x3c312a(0x178),'oltAb':_0x3c312a(0x150)};await PerformanceTester['measureWrapper'](PerformanceEvents['START'],async()=>{const _0x45824f=_0x3c312a,_0x2e468a=Object[_0x45824f(0x175)]({},_0x490ee9[_0x45824f(0x108)],{'root_dir_path':'','framework':_0x490ee9[_0x45824f(0x17f)]}),_0x5c8762=bsSetupHelper[_0x45824f(0x18d)](_0x2e468a),_0x35251c=bsSetupHelper[_0x45824f(0x174)](_0x2e468a),_0x12c12f=_0x8b15fd[_0x45824f(0x123)](_0x5c8762,'')+':'+_0x8b15fd[_0x45824f(0x16c)](_0x35251c,'');if(_0x8b15fd['ENCVD'](_0x12c12f,':'))return _0x8b15fd[_0x45824f(0x162)](isTestObservabilitySession)&&(logger[_0x45824f(0x17b)](_0x8b15fd[_0x45824f(0x18b)]),process[_0x45824f(0x14b)][_0x45824f(0x186)]=_0x8b15fd[_0x45824f(0x146)]),testhubUtils[_0x45824f(0x119)](_0x2e468a)&&logger[_0x45824f(0x17b)](_0x8b15fd[_0x45824f(0x15c)]),[null,null];try{const _0x20653f=await this['generateBuildUpstreamData'](_0x2e468a,_0x4bb0f9),_0x206fd2=this[_0x45824f(0x156)](_0x5c8762,_0x35251c),_0x248b56=await _0x8b15fd[_0x45824f(0x185)](nodeRequest,_0x8b15fd[_0x45824f(0x143)],testHubConstants[_0x45824f(0x188)],_0x20653f,_0x206fd2),_0x19e74d=this[_0x45824f(0x151)](_0x2e468a,_0x248b56,_0x206fd2);await this[_0x45824f(0x10a)](_0x490ee9,_0x4bb0f9);const _0x33ba87=testhubUtils[_0x45824f(0x125)](_0x2e468a);process['env'][_0x45824f(0x12a)]=JSON[_0x45824f(0x176)](_0x33ba87);if(_0x8b15fd[_0x45824f(0x13f)](testhubUtils[_0x45824f(0x168)](_0x490ee9[_0x45824f(0x108)]),null)){const _0x93e047=_0x19e74d[_0x8b15fd[_0x45824f(0x195)]];_0x93e047&&_0x93e047[_0x45824f(0x16a)]&&_0x93e047[_0x45824f(0x11e)]&&(_0x490ee9[_0x45824f(0x108)][_0x45824f(0x19f)]=!![],process[_0x45824f(0x14b)][_0x45824f(0x17d)]=_0x8b15fd['BoVYw']);}return _0x19e74d&&_0x19e74d[_0x8b15fd['lHUfQ']]&&_0x19e74d[_0x8b15fd['lHUfQ']][_0x8b15fd['oltAb']]&&(process[_0x45824f(0x14b)][_0x45824f(0x128)]=_0x19e74d[_0x8b15fd[_0x45824f(0x195)]][_0x8b15fd[_0x45824f(0x16b)]]),_0x19e74d;}catch(_0x57a9be){if(_0x8b15fd['ENCVD'](_0x57a9be[_0x45824f(0x165)],![])){testhubUtils[_0x45824f(0x12f)](_0x57a9be);return;}}})();}static async[a139_0x3db292(0x1a0)](){const _0x1702c5=a139_0x3db292,_0x310696={'CIRkk':function(_0xb37477,_0x189cd0,_0xf0271d){return _0xb37477(_0x189cd0,_0xf0271d);},'ljyRQ':function(_0xac5b,_0x31b974){return _0xac5b(_0x31b974);},'aHTkY':function(_0x2b2185){return _0x2b2185();},'szkCO':_0x1702c5(0x14a)};if(processedTraceZips)return;const _0x241eab=TestDetails[_0x1702c5(0x13a)]();_0x241eab[_0x1702c5(0x14f)](({testUId:_0x131e73,filePath:_0x4d79a7})=>{const _0x283e14=_0x1702c5;var _0x194a1b=_0x310696['CIRkk'](uploadTraceZip,_0x4d79a7,_0x131e73);_0x310696[_0x283e14(0x10d)](addEvent,_0x194a1b);});try{await _0x310696[_0x1702c5(0x18a)](awaitAllEvents),logger['debug'](_0x310696[_0x1702c5(0x12c)]),processedTraceZips=!![];}catch(_0xc1dda4){logger[_0x1702c5(0x137)]('Error\x20while\x20waiting\x20for\x20events:\x20'+util[_0x1702c5(0x199)](_0xc1dda4));}}static async['checkAndSetupPercy'](_0x49267b,_0x114b6f){const _0x437cb7=a139_0x3db292;if(constants[_0x437cb7(0x19b)]['includes'](_0x114b6f)){await _0x49267b[_0x437cb7(0x130)]();return;}_0x49267b[_0x437cb7(0x108)][_0x437cb7(0x10c)]&&logger[_0x437cb7(0x17b)](_0x437cb7(0x120)+_0x114b6f+_0x437cb7(0x192));}static[a139_0x3db292(0x11a)](_0x3ad22e){const _0x17494a=a139_0x3db292,_0xacd9ba={'rhtlL':function(_0x2fd0dc,_0x2ff7b0){return _0x2fd0dc(_0x2ff7b0);},'bviRv':_0x17494a(0x178)};let _0xba985a;if(_0x3ad22e[_0x17494a(0x153)]){const _0x30eafc={};_0x30eafc['settings']=_0x3ad22e[_0x17494a(0x153)],_0xba985a=_0x30eafc;}else{const _0xdc2fd0={};_0xdc2fd0[_0x17494a(0x169)]={},_0xba985a=_0xdc2fd0;}if((!bsSetupHelper[_0x17494a(0x13c)]()||_0xacd9ba[_0x17494a(0x194)](isTurboScaleSession,_0x3ad22e))&&testhubUtils[_0x17494a(0x119)](_0x3ad22e)){const _0x358a2e={};_0x358a2e[_0x17494a(0x11b)]=_0xacd9ba[_0x17494a(0x1a3)],Object[_0x17494a(0x175)](_0xba985a[_0x17494a(0x169)],_0x358a2e);}return _0xba985a;}static[a139_0x3db292(0x156)](_0x367fb9,_0x1be49c){const _0x4981cd=a139_0x3db292,_0x48aadc={'ghLXc':function(_0x36cba4,_0x5c2253){return _0x36cba4(_0x5c2253);}},_0x13fd2b={};return _0x13fd2b[_0x4981cd(0x160)]=_0x367fb9,_0x13fd2b[_0x4981cd(0x132)]=_0x1be49c,{'auth':_0x13fd2b,'headers':_0x48aadc[_0x4981cd(0x133)](getDefaultHeaders,![])};}static async['generateBuildUpstreamData'](_0x450f82,_0x1bf15c){const _0x1c59cd=a139_0x3db292,_0x164bd1={'Uqmmq':'Generating\x20build\x20upstream\x20data\x20for\x20TestHub','zWEkK':function(_0x5bdd97,_0x51b005){return _0x5bdd97(_0x51b005);}};logger[_0x1c59cd(0x17b)](_0x164bd1['Uqmmq']);const _0xcf6edf={'project_name':_0x450f82[_0x1c59cd(0x109)]||'','name':_0x450f82['buildName']||path['basename'](path['resolve'](process[_0x1c59cd(0x177)]())),'build_identifier':_0x450f82[_0x1c59cd(0x170)],'description':_0x450f82[_0x1c59cd(0x198)]||'','started_at':new Date()[_0x1c59cd(0x110)](),'tags':_0x164bd1[_0x1c59cd(0x171)](getCustomTags,_0x450f82),'host_info':bsSetupHelper[_0x1c59cd(0x149)](),'ci_info':bsSetupHelper[_0x1c59cd(0x18f)](),'build_run_identifier':process[_0x1c59cd(0x14b)][_0x1c59cd(0x179)],'failed_tests_rerun':process[_0x1c59cd(0x14b)][_0x1c59cd(0x11d)]||![],'linked_build_uuid':process[_0x1c59cd(0x14b)][_0x1c59cd(0x12d)]||'','version_control':await bsSetupHelper[_0x1c59cd(0x19d)](),'accessibility':this[_0x1c59cd(0x11a)](_0x450f82),'framework_details':testhubUtils[_0x1c59cd(0x193)](_0x450f82,_0x1bf15c),'product_map':testhubUtils[_0x1c59cd(0x191)](_0x450f82),'browserstackAutomation':bsSetupHelper['isBrowserstackInfra'](),'grouping_identifier':process[_0x1c59cd(0x14b)][_0x1c59cd(0x136)],'test_orchestration':testhubUtils[_0x1c59cd(0x1a2)](_0x450f82)};if(bsSetupHelper[_0x1c59cd(0x134)]()[_0x1c59cd(0x154)]||bsSetupHelper['getCentralUser']()[_0x1c59cd(0x19e)]){const _0x92b29={};_0x92b29[_0x1c59cd(0x16f)]=process[_0x1c59cd(0x14b)][_0x1c59cd(0x166)],_0x92b29[_0x1c59cd(0x163)]=process[_0x1c59cd(0x14b)][_0x1c59cd(0x113)],_0xcf6edf[_0x1c59cd(0x154)]=_0x92b29;}return _0xcf6edf;}static['extractDataFromResponse'](_0x560fec,_0xf6beab,_0x13d159){const _0x5edb7d=a139_0x3db292,_0x3aa38d={'FADAi':function(_0x4729ca){return _0x4729ca();},'lLQqr':function(_0x445938,_0x55731d){return _0x445938&&_0x55731d;},'vxOXz':_0x5edb7d(0x178),'HJwJF':_0x5edb7d(0x164)},_0x4abd01={};if(_0x3aa38d[_0x5edb7d(0x135)](isTestObservabilitySession)){const [_0x1b0e17,_0x231968,_0x219b24]=testhubUtils[_0x5edb7d(0x15b)](_0xf6beab[_0x5edb7d(0x127)],_0x13d159[_0x5edb7d(0x13d)]);if(_0x3aa38d[_0x5edb7d(0x14e)](_0x1b0e17,_0x231968)){const _0x1be16d={};_0x1be16d[_0x5edb7d(0x157)]=_0x1b0e17,_0x1be16d[_0x5edb7d(0x11e)]=_0x231968,_0x1be16d[_0x5edb7d(0x16d)]=_0x219b24,_0x4abd01[testHubConstants[_0x5edb7d(0x148)]]=_0x1be16d,process[_0x5edb7d(0x14b)][_0x5edb7d(0x126)]=_0x3aa38d['vxOXz'];}else _0x4abd01[testHubConstants[_0x5edb7d(0x148)]]={},process[_0x5edb7d(0x14b)][_0x5edb7d(0x126)]=_0x3aa38d[_0x5edb7d(0x129)];}else process[_0x5edb7d(0x14b)][_0x5edb7d(0x126)]=_0x3aa38d[_0x5edb7d(0x129)];const [_0x2c2779,_0x4a3ad5,_0x578d15]=testhubUtils[_0x5edb7d(0x138)](_0xf6beab[_0x5edb7d(0x127)]);if(_0x3aa38d[_0x5edb7d(0x14e)](_0x2c2779,_0x4a3ad5)){const _0x4af5df={};_0x4af5df['authToken']=_0x2c2779,_0x4af5df[_0x5edb7d(0x11e)]=_0x4a3ad5,_0x4af5df[_0x5edb7d(0x150)]=_0x578d15,_0x4abd01[testHubConstants['ACCESSIBILITY']]=_0x4af5df,process[_0x5edb7d(0x14b)][_0x5edb7d(0x19c)]=_0x3aa38d['vxOXz'];}else _0x4abd01[testHubConstants[_0x5edb7d(0x14d)]]={},process[_0x5edb7d(0x14b)][_0x5edb7d(0x19c)]=_0x3aa38d[_0x5edb7d(0x129)];return testhubUtils[_0x5edb7d(0x161)](_0xf6beab[_0x5edb7d(0x127)]),logger['info'](_0x5edb7d(0x196)+process[_0x5edb7d(0x14b)]['BROWSERSTACK_TESTHUB_UUID']),_0x4abd01;}static async[a139_0x3db292(0x189)](_0x54affd){const _0x47237c=a139_0x3db292,_0x52e8c8={'nLjWB':function(_0x537d73,_0x85d2b9){return _0x537d73===_0x85d2b9;},'QvQxS':_0x47237c(0x164),'ElXUm':'null','ZBmKZ':_0x47237c(0x12e),'rJhIz':_0x47237c(0x137),'vfonA':_0x47237c(0x152),'ueQvH':_0x47237c(0x167),'oiFhC':'user_killed','fTKep':function(_0x1f0ac6){return _0x1f0ac6();},'GTaZf':function(_0x45a380,_0x533485,_0x1c3880,_0x3e0d3a,_0x2f7653,_0x1e9666){return _0x45a380(_0x533485,_0x1c3880,_0x3e0d3a,_0x2f7653,_0x1e9666);},'GOgpt':'PUT','PXQzg':'stopBuildUpstream\x20event\x20successful!','fNBqM':_0x47237c(0x165)};await PerformanceTester[_0x47237c(0x187)](PerformanceEvents[_0x47237c(0x15f)],async()=>{const _0x4e979f=_0x47237c;if(_0x52e8c8[_0x4e979f(0x11f)](process[_0x4e979f(0x14b)][_0x4e979f(0x186)],_0x52e8c8['QvQxS'])||TestHubHandler[_0x4e979f(0x17c)]||bsSetupHelper['isUndefined'](process[_0x4e979f(0x14b)][testHubConstants[_0x4e979f(0x17a)][_0x4e979f(0x18e)]]))return;TestHubHandler[_0x4e979f(0x17c)]=!![];if(BrowserstackCLI[_0x4e979f(0x159)]()[_0x4e979f(0x122)]())return;await this[_0x4e979f(0x1a0)](),await RequestQueueHandler['getInstance']()[_0x4e979f(0x158)](),await SessionHandler['waitForBuildStatus']();if(_0x52e8c8[_0x4e979f(0x11f)](process[_0x4e979f(0x14b)][testHubConstants[_0x4e979f(0x17a)][_0x4e979f(0x18e)]],_0x52e8c8[_0x4e979f(0x141)])||_0x52e8c8[_0x4e979f(0x11f)](process[_0x4e979f(0x14b)][testHubConstants[_0x4e979f(0x17a)]['BROWSERSTACK_TESTHUB_UUID']],_0x52e8c8[_0x4e979f(0x141)])){logger['debug'](_0x52e8c8[_0x4e979f(0x10e)]);const _0xf3b84f={};return _0xf3b84f[_0x4e979f(0x13b)]=_0x52e8c8[_0x4e979f(0x147)],_0xf3b84f['message']=_0x52e8c8[_0x4e979f(0x14c)],_0xf3b84f;}const _0x520db6={'finished_at':new Date()['toISOString'](),'finished_metadata':[]};!!_0x54affd&&_0x520db6[_0x52e8c8['ueQvH']][_0x4e979f(0x15e)]({'reason':_0x52e8c8[_0x4e979f(0x118)],'signal':_0x54affd,'failure_data':''});const _0x2268ba={'headers':_0x52e8c8[_0x4e979f(0x145)](getDefaultHeaders)};try{const _0x4e3a39=await _0x52e8c8[_0x4e979f(0x121)](nodeRequest,_0x52e8c8[_0x4e979f(0x184)],_0x4e979f(0x10f)+process['env'][testHubConstants['ENV_VAR'][_0x4e979f(0x142)]]+_0x4e979f(0x197),_0x520db6,_0x2268ba,![]);if(_0x4e3a39[_0x4e979f(0x127)]&&_0x4e3a39['data']['error']){const _0x8026b1={};_0x8026b1[_0x4e979f(0x15a)]=_0x4e3a39[_0x4e979f(0x127)][_0x4e979f(0x137)];throw _0x8026b1;}else{logger[_0x4e979f(0x17b)](_0x52e8c8[_0x4e979f(0x144)]);const _0x2637dd={};return _0x2637dd[_0x4e979f(0x13b)]=_0x52e8c8[_0x4e979f(0x124)],_0x2637dd['message']='',_0x2637dd;}}catch(_0x4701ab){_0x4701ab[_0x4e979f(0x112)]?logger[_0x4e979f(0x17b)]('EXCEPTION\x20IN\x20stopBuildUpstream\x20REQUEST\x20TO\x20TESTHUB\x20:\x20'+_0x4701ab[_0x4e979f(0x112)][_0x4e979f(0x13b)]+'\x20'+_0x4701ab['response'][_0x4e979f(0x11c)]+'\x20'+JSON[_0x4e979f(0x176)](_0x4701ab[_0x4e979f(0x112)][_0x4e979f(0x127)])):logger[_0x4e979f(0x17b)](_0x4e979f(0x180)+(_0x4701ab[_0x4e979f(0x15a)]||_0x4701ab));const _0x15074e={};return _0x15074e[_0x4e979f(0x13b)]=_0x52e8c8[_0x4e979f(0x147)],_0x15074e[_0x4e979f(0x15a)]=_0x4701ab[_0x4e979f(0x15a)]||_0x4701ab[_0x4e979f(0x112)]?_0x4701ab['response']['status']+':'+_0x4701ab['response']['statusText']:_0x4701ab,_0x15074e;}})();}}module[a139_0x3db292(0x18c)]=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_0x144842=a140_0x28ad;(function(_0x2fef36,_0x4562fb){const _0x1a4adf=a140_0x28ad,_0x17cafa=_0x2fef36();while(!![]){try{const _0x3b42c3=parseInt(_0x1a4adf(0x1ea))/0x1+parseInt(_0x1a4adf(0x1e7))/0x2+-parseInt(_0x1a4adf(0x19f))/0x3+-parseInt(_0x1a4adf(0x19d))/0x4+parseInt(_0x1a4adf(0x1b7))/0x5*(parseInt(_0x1a4adf(0x1a6))/0x6)+-parseInt(_0x1a4adf(0x179))/0x7+parseInt(_0x1a4adf(0x184))/0x8;if(_0x3b42c3===_0x4562fb)break;else _0x17cafa['push'](_0x17cafa['shift']());}catch(_0x474198){_0x17cafa['push'](_0x17cafa['shift']());}}}(a140_0x5c2a,0x212e7));const bsSetupHelper=require('../helper'),LoadTestModule=require('../../bin/v2/modules/loadTestModule'),{isTestObservabilitySession,getFrameworkVersion}=require('../test-observability/utils'),accessibilityHelper=require('../accessibility-automation/helper'),logger=require(a140_0x144842(0x1a5))['winstonLogger'],{nestedKeyValue}=require(a140_0x144842(0x1c8)),scripts=require('../accessibility-automation/scripts.js'),globals=require('../globals.js'),testHubConstants=require(a140_0x144842(0x1c3)),PWTestDetails=require(a140_0x144842(0x198)),JestTestDetails=require(a140_0x144842(0x1c0)),{FRAMEWORKS}=require(a140_0x144842(0x1bb)),{isTurboScaleSession}=require(a140_0x144842(0x1a1)),OrchestrationUtils=require(a140_0x144842(0x207)),constants=require(a140_0x144842(0x223));let testData={};exports[a140_0x144842(0x1f4)]=_0x191d33=>{const _0x548a1c=a140_0x144842,_0x581077={'jDSYc':function(_0x3a6a6d){return _0x3a6a6d();}};let _0x1b4b14=![],_0x5869f3=![];if(bsSetupHelper[_0x548a1c(0x227)]()&&_0x191d33['app'])_0x5869f3=!![];else bsSetupHelper[_0x548a1c(0x227)]()&&(_0x1b4b14=!![]);return Object[_0x548a1c(0x1d0)]({'observability':_0x581077['jDSYc'](isTestObservabilitySession),'accessibility':exports['isAccessibilityEnabled'](_0x191d33),'percy':_0x191d33[_0x548a1c(0x20e)]||![],'automate':_0x1b4b14,'app_automate':_0x5869f3,'turboscale':bsSetupHelper['isTurboScaleSession'](_0x191d33),'lts':LoadTestModule[_0x548a1c(0x1a3)](_0x191d33)},bsSetupHelper[_0x548a1c(0x208)]());},exports[a140_0x144842(0x1b2)]=(_0x1e71f7,_0x2efc21)=>{const _0x2daf94=a140_0x144842,_0xbd28be={'POrNR':function(_0x4c859,_0x50658a){return _0x4c859(_0x50658a);},'OLXlz':_0x2daf94(0x190)},_0x34f224={'frameworkName':_0x2efc21,'frameworkVersion':_0xbd28be[_0x2daf94(0x19e)](getFrameworkVersion,_0x2efc21),'sdkVersion':bsSetupHelper[_0x2daf94(0x1eb)](),'language':_0xbd28be['OLXlz'],'testFramework':bsSetupHelper[_0x2daf94(0x1ee)](_0x1e71f7,_0x2efc21)};return process[_0x2daf94(0x1d7)][_0x2daf94(0x188)]=JSON[_0x2daf94(0x1c6)](_0x34f224),_0x34f224;},exports[a140_0x144842(0x1b3)]=_0x525cdd=>{const _0x1f7231=a140_0x144842,_0x20d5b9={};_0x20d5b9['LYbsb']=_0x1f7231(0x17c),_0x20d5b9[_0x1f7231(0x214)]='true';const _0x5446bb=_0x20d5b9;process[_0x1f7231(0x1d7)][_0x1f7231(0x18c)]=_0x5446bb[_0x1f7231(0x225)],bsSetupHelper[_0x1f7231(0x1ed)](_0x525cdd['config'][_0x1f7231(0x20e)])&&(!_0x525cdd[_0x1f7231(0x20e)]||!_0x525cdd[_0x1f7231(0x20e)][_0x1f7231(0x20c)]())&&(process[_0x1f7231(0x1d7)][_0x1f7231(0x18c)]=_0x5446bb[_0x1f7231(0x214)]);},exports[a140_0x144842(0x226)]=()=>{const _0x5911d4=a140_0x144842;return bsSetupHelper[_0x5911d4(0x1ed)](process[_0x5911d4(0x1d7)]['BROWSERSTACK_PERCY']);},exports[a140_0x144842(0x189)]=(_0x24c50f={})=>{const _0x2deaab=a140_0x144842,_0x3d6c28={};_0x3d6c28[_0x2deaab(0x178)]=function(_0x4faff8,_0x527ac6){return _0x4faff8!==_0x527ac6;},_0x3d6c28['GkFfk']=function(_0xb6ea7f,_0x296421){return _0xb6ea7f===_0x296421;},_0x3d6c28[_0x2deaab(0x1d9)]=_0x2deaab(0x21f),_0x3d6c28['ieEmD']=function(_0x3f4bac,_0x1026a0){return _0x3f4bac>_0x1026a0;};const _0x5f5ae8=_0x3d6c28;if(_0x5f5ae8[_0x2deaab(0x178)](process[_0x2deaab(0x1d7)][_0x2deaab(0x1b8)],undefined))return bsSetupHelper[_0x2deaab(0x1ed)](process['env'][_0x2deaab(0x1b8)]);let _0x45a3cb=_0x5f5ae8[_0x2deaab(0x180)](process['env'][_0x2deaab(0x216)],_0x5f5ae8[_0x2deaab(0x1d9)]);return _0x5f5ae8[_0x2deaab(0x1da)](Object[_0x2deaab(0x1f1)](_0x24c50f)[_0x2deaab(0x21b)],0x0)&&(process[_0x2deaab(0x1d7)][_0x2deaab(0x1de)]=accessibilityHelper[_0x2deaab(0x1b1)](_0x24c50f)),_0x45a3cb=_0x45a3cb||_0x5f5ae8[_0x2deaab(0x180)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM'],_0x5f5ae8['OrLJK']),_0x45a3cb;},exports[a140_0x144842(0x1ac)]=(_0x6d1b44,_0x2aed9a)=>{const _0x33ccdb=a140_0x144842,_0x312b6c={'NoOSu':function(_0x1a4dc3){return _0x1a4dc3();},'gsxrC':_0x33ccdb(0x1c2),'ljbCm':_0x33ccdb(0x21f),'QvBzo':function(_0xe68ef,_0xc45af8,_0x3d0370){return _0xe68ef(_0xc45af8,_0x3d0370);},'cEMPA':'observability','FSQGD':_0x33ccdb(0x215)};if(!_0x6d1b44||!_0x6d1b44[_0x33ccdb(0x224)])return exports[_0x33ccdb(0x1b0)](),[null,null,null];if(!_0x6d1b44['observability']['success'])return exports[_0x33ccdb(0x1b0)](_0x6d1b44[_0x33ccdb(0x224)]),[null,null,null];if(_0x312b6c[_0x33ccdb(0x1ff)](isTestObservabilitySession)){const _0x34bd80=_0x312b6c[_0x33ccdb(0x18f)][_0x33ccdb(0x194)]('|');let _0x22d3a6=0x0;while(!![]){switch(_0x34bd80[_0x22d3a6++]){case'0':process[_0x33ccdb(0x1d7)][_0x33ccdb(0x229)]=_0x312b6c[_0x33ccdb(0x1dc)];continue;case'1':return[_0x6d1b44[_0x33ccdb(0x187)],_0x6d1b44[_0x33ccdb(0x1f9)],process['env'][_0x33ccdb(0x192)]];case'2':_0x312b6c[_0x33ccdb(0x191)](nestedKeyValue,_0x6d1b44,[_0x312b6c['cEMPA'],_0x312b6c[_0x33ccdb(0x186)]])&&(process[_0x33ccdb(0x1d7)]['BS_TESTOPS_ALLOW_SCREENSHOTS']=_0x6d1b44[_0x33ccdb(0x224)]['options'][_0x33ccdb(0x228)][_0x33ccdb(0x21c)]());continue;case'3':_0x6d1b44[_0x33ccdb(0x1f9)]&&(process[_0x33ccdb(0x1d7)]['BS_TESTOPS_BUILD_HASHED_ID']=_0x6d1b44['build_hashed_id']);continue;case'4':logger[_0x33ccdb(0x213)]('['+constants[_0x33ccdb(0x210)]+_0x33ccdb(0x1ad)+_0x6d1b44[_0x33ccdb(0x1f9)]);continue;case'5':if(_0x6d1b44[_0x33ccdb(0x187)]){process[_0x33ccdb(0x1d7)][_0x33ccdb(0x1b5)]=_0x6d1b44['jwt'];const _0x96c654={};_0x96c654[_0x33ccdb(0x1fe)]=_0x2aed9a[_0x33ccdb(0x1fe)],_0x96c654['password']=_0x2aed9a['password'],process[_0x33ccdb(0x1d7)][_0x33ccdb(0x202)]=JSON['stringify'](_0x96c654);}continue;}break;}}return[null,null,null];},exports[a140_0x144842(0x18e)]=_0x5d49b6=>{const _0x32a22d=a140_0x144842,_0x4e920={'QbuVY':function(_0x2efa2a,_0x597310,_0x28bb99){return _0x2efa2a(_0x597310,_0x28bb99);},'UVvnJ':'accessibility','MSpeu':'options','NkDUn':function(_0x4a3757,_0x5e27a9,_0x4a4816,_0x22014d){return _0x4a3757(_0x5e27a9,_0x4a4816,_0x22014d);},'kJgJn':'name','GwNdT':'value','cYyse':_0x32a22d(0x197),'hXWFQ':_0x32a22d(0x212),'diJYi':_0x32a22d(0x1d6),'mngTt':_0x32a22d(0x1aa)};if(!_0x5d49b6[_0x32a22d(0x1f6)])return exports['handleErrorForAccessibility'](),[null,null];if(!_0x5d49b6[_0x32a22d(0x1f6)][_0x32a22d(0x18a)])return exports[_0x32a22d(0x1af)](_0x5d49b6['accessibility']),[null,null];if(_0x4e920[_0x32a22d(0x20f)](nestedKeyValue,_0x5d49b6,[_0x4e920[_0x32a22d(0x20d)],_0x4e920[_0x32a22d(0x1a0)]])){const {accessibilityToken:_0x4786f5,scannerVersion:_0x2166c9,scannerProcessingTimeout:_0x51b4f0}=_0x4e920[_0x32a22d(0x1e8)](jsonifyAccessibilityArray,_0x5d49b6[_0x32a22d(0x1f6)][_0x32a22d(0x215)][_0x32a22d(0x21d)],_0x4e920[_0x32a22d(0x1c7)],_0x4e920[_0x32a22d(0x1ce)]),_0xde4aea={'scripts':_0x4e920[_0x32a22d(0x1e8)](jsonifyAccessibilityArray,_0x5d49b6[_0x32a22d(0x1f6)][_0x32a22d(0x215)]['scripts'],_0x4e920[_0x32a22d(0x1c7)],_0x4e920[_0x32a22d(0x1d5)])};_0xde4aea[_0x4e920['hXWFQ']]=_0x5d49b6[_0x32a22d(0x1f6)]['options'][_0x32a22d(0x181)]['commands'];const _0xa1d01=_0x4e920[_0x32a22d(0x1e8)](jsonifyAccessibilityArray,_0x5d49b6[_0x32a22d(0x1f6)][_0x32a22d(0x215)][_0x32a22d(0x21d)],_0x4e920['kJgJn'],_0x4e920[_0x32a22d(0x1ce)]);_0xde4aea[_0x4e920[_0x32a22d(0x1be)]]=_0xa1d01[_0x4e920[_0x32a22d(0x201)]],scripts[_0x32a22d(0x1a8)](_0xde4aea),scripts[_0x32a22d(0x1e2)]();let _0x4ac54c=process[_0x32a22d(0x1d7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x4ac54c=!!_0x4ac54c?JSON[_0x32a22d(0x1d8)](_0x4ac54c):{},_0x4ac54c['scannerVersion']=_0x2166c9,process[_0x32a22d(0x1d7)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x32a22d(0x1c6)](_0x4ac54c),process['env'][_0x32a22d(0x1f7)]=_0x4786f5,logger[_0x32a22d(0x213)](_0x32a22d(0x183)+_0x5d49b6[_0x32a22d(0x1f9)]),[_0x4786f5,_0x5d49b6[_0x32a22d(0x1f9)],_0x51b4f0];}return[null,null];},exports[a140_0x144842(0x1b0)]=_0x177f2f=>{const _0x1c55a2=a140_0x144842,_0x5da168={};_0x5da168['ylklh']=_0x1c55a2(0x1e3),_0x5da168[_0x1c55a2(0x1b4)]=_0x1c55a2(0x17c),_0x5da168[_0x1c55a2(0x1c1)]='null';const _0x8d5235=_0x5da168,_0xf7a267=_0x8d5235[_0x1c55a2(0x20b)][_0x1c55a2(0x194)]('|');let _0x2baa0f=0x0;while(!![]){switch(_0xf7a267[_0x2baa0f++]){case'0':process[_0x1c55a2(0x1d7)]['BS_TESTOPS_BUILD_COMPLETED']=_0x8d5235[_0x1c55a2(0x1b4)];continue;case'1':exports[_0x1c55a2(0x17a)](_0x177f2f,testHubConstants['OBSERVABILITY']);continue;case'2':process[_0x1c55a2(0x1d7)][_0x1c55a2(0x1a2)]=_0x8d5235[_0x1c55a2(0x1c1)];continue;case'3':process[_0x1c55a2(0x1d7)][_0x1c55a2(0x1b5)]=_0x8d5235[_0x1c55a2(0x1c1)];continue;case'4':process[_0x1c55a2(0x1d7)]['BROWSERSTACK_TESTHUB_JWT']=_0x8d5235[_0x1c55a2(0x1c1)];continue;case'5':process[_0x1c55a2(0x1d7)][_0x1c55a2(0x22b)]=_0x8d5235[_0x1c55a2(0x1c1)];continue;case'6':process[_0x1c55a2(0x1d7)][_0x1c55a2(0x192)]=_0x8d5235[_0x1c55a2(0x1c1)];continue;}break;}},exports['handleErrorForAccessibility']=_0x505b37=>{const _0x2fa64d=a140_0x144842,_0x1fd415={};_0x1fd415['VqmQI']='4|1|0|2|3',_0x1fd415[_0x2fa64d(0x1c5)]=_0x2fa64d(0x17c),_0x1fd415[_0x2fa64d(0x1ef)]=_0x2fa64d(0x1e0);const _0xab2465=_0x1fd415,_0x5bfbf5=_0xab2465[_0x2fa64d(0x19b)]['split']('|');let _0x15536f=0x0;while(!![]){switch(_0x5bfbf5[_0x15536f++]){case'0':process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xab2465[_0x2fa64d(0x1c5)];continue;case'1':process['env'][_0x2fa64d(0x1ca)]=_0xab2465[_0x2fa64d(0x1ef)];continue;case'2':process['env'][_0x2fa64d(0x1de)]=_0xab2465[_0x2fa64d(0x1c5)];continue;case'3':exports[_0x2fa64d(0x17a)](_0x505b37,testHubConstants['ACCESSIBILITY']);continue;case'4':process[_0x2fa64d(0x1d7)]['BROWSERSTACK_TESTHUB_UUID']=_0xab2465[_0x2fa64d(0x1ef)];continue;}break;}},exports[a140_0x144842(0x17a)]=(_0x4c7973,_0x24de59='')=>{const _0x32592f=a140_0x144842,_0x293ede={};_0x293ede[_0x32592f(0x1d2)]=function(_0x1b78dc,_0x33e652){return _0x1b78dc===_0x33e652;};const _0x3eb821=_0x293ede;if(_0x3eb821[_0x32592f(0x1d2)](_0x4c7973,undefined)){logger[_0x32592f(0x17f)](_0x24de59[_0x32592f(0x1d4)]()+_0x32592f(0x182));return;}for(const _0x1c1fed of _0x4c7973[_0x32592f(0x18d)]){const _0x3ab6d9=_0x1c1fed['key'],_0x3ce899=_0x1c1fed[_0x32592f(0x1c9)];if(_0x3ce899)switch(_0x3ab6d9){case testHubConstants['ERROR'][_0x32592f(0x1e9)]:logger[_0x32592f(0x17f)](_0x3ce899);break;case testHubConstants[_0x32592f(0x1f5)]['ACCESS_DENIED']:logger['info'](_0x3ce899);break;case testHubConstants[_0x32592f(0x1f5)][_0x32592f(0x221)]:logger[_0x32592f(0x17f)](_0x3ce899);break;default:logger[_0x32592f(0x17f)](_0x3ce899);}}};const jsonifyAccessibilityArray=(_0x1159e6,_0x2e4caa,_0x5bb3c4)=>{const _0x16f391=a140_0x144842,_0x2d17c5={};return _0x1159e6[_0x16f391(0x205)](_0x3bfea4=>{_0x2d17c5[_0x3bfea4[_0x2e4caa]]=_0x3bfea4[_0x5bb3c4];}),_0x2d17c5;};function a140_0x28ad(_0x52bd51,_0x37dd37){const _0x5c2afd=a140_0x5c2a();return a140_0x28ad=function(_0x28ad9c,_0x588d3f){_0x28ad9c=_0x28ad9c-0x178;let _0x1da4a6=_0x5c2afd[_0x28ad9c];return _0x1da4a6;},a140_0x28ad(_0x52bd51,_0x37dd37);}exports[a140_0x144842(0x1d3)]=_0x2b7a58=>{const _0x1358a2=a140_0x144842;_0x2b7a58[_0x1358a2(0x187)]&&(process[_0x1358a2(0x1d7)]['BROWSERSTACK_TESTHUB_JWT']=_0x2b7a58['jwt']);_0x2b7a58[_0x1358a2(0x1f9)]&&(process[_0x1358a2(0x1d7)][_0x1358a2(0x22b)]=_0x2b7a58[_0x1358a2(0x1f9)],logger[_0x1358a2(0x213)](_0x1358a2(0x1f8)+_0x2b7a58[_0x1358a2(0x1f9)]));;},exports[a140_0x144842(0x218)]=(_0x386262='',_0x13f67a='')=>{const _0x367857=a140_0x144842,_0x4209f3={'hlwWm':function(_0x5239b3){return _0x5239b3();},'Uomlh':function(_0x1f68d7,_0x296d43){return _0x1f68d7===_0x296d43;},'vxCls':_0x367857(0x217),'ECTKF':'LogCreated','ObZLu':_0x367857(0x200),'MPfQD':function(_0x35a992){return _0x35a992();},'twzla':_0x367857(0x1df),'lAUbb':'HookRunFinished'};if(exports[_0x367857(0x226)]()&&!exports[_0x367857(0x189)]()&&!_0x4209f3[_0x367857(0x1d1)](isTestObservabilitySession)){if(_0x4209f3[_0x367857(0x1ec)](_0x13f67a,_0x4209f3[_0x367857(0x222)]))return![];if([_0x4209f3[_0x367857(0x18b)],_0x4209f3[_0x367857(0x22a)]][_0x367857(0x19a)](_0x386262))return![];return!![];}if(exports[_0x367857(0x189)]()&&!_0x4209f3[_0x367857(0x211)](isTestObservabilitySession)){if([_0x4209f3['twzla'],_0x4209f3[_0x367857(0x1ab)],_0x4209f3['ECTKF']][_0x367857(0x19a)](_0x386262))return![];return!![];}return exports[_0x367857(0x189)]()||_0x4209f3[_0x367857(0x211)](isTestObservabilitySession)||exports[_0x367857(0x226)]();},exports[a140_0x144842(0x21e)]=(_0x3a6bf5,_0x5e2eed,_0x2c5100='',_0x24abe7)=>{const _0x287e23=a140_0x144842,_0x101d2c={};_0x101d2c['Uhcjy']='HookRunStarted',_0x101d2c[_0x287e23(0x1e6)]=_0x287e23(0x1a4),_0x101d2c[_0x287e23(0x21a)]=function(_0x5ef2b5,_0x54baad){return _0x5ef2b5===_0x54baad;},_0x101d2c[_0x287e23(0x1fd)]='bstackA11yShouldScan',_0x101d2c['vbzMK']=_0x287e23(0x1f3),_0x101d2c[_0x287e23(0x1b6)]='accessibility',_0x101d2c['lmldA']=function(_0x52d745,_0x53dfb4){return _0x52d745&&_0x53dfb4;},_0x101d2c[_0x287e23(0x1b9)]=function(_0x32f01f,_0x4fe37c){return _0x32f01f+_0x4fe37c;},_0x101d2c['HVdfM']=function(_0x45dcb4,_0x5a64b7){return _0x45dcb4&&_0x5a64b7;},_0x101d2c[_0x287e23(0x1e1)]=function(_0x569529,_0x20a3b7){return _0x569529===_0x20a3b7;},_0x101d2c['JJNkA']=_0x287e23(0x196),_0x101d2c[_0x287e23(0x195)]=function(_0x17f1a8,_0x22f138){return _0x17f1a8&&_0x22f138;},_0x101d2c[_0x287e23(0x1cd)]=function(_0x484b63,_0x129d30){return _0x484b63===_0x129d30;},_0x101d2c[_0x287e23(0x1fc)]='product_map';const _0x2bad08=_0x101d2c;if(![_0x2bad08['Uhcjy'],_0x2bad08[_0x287e23(0x1e6)]][_0x287e23(0x19a)](_0x5e2eed)&&exports[_0x287e23(0x189)]()){const _0x5e21ef={};if(_0x2bad08['VhRzp'](_0x24abe7,FRAMEWORKS['MOCHA'])){const _0x216408=globals[_0x287e23(0x1e4)](_0x2bad08[_0x287e23(0x1fd)])||accessibilityHelper[_0x287e23(0x1a7)](_0x2c5100[_0x287e23(0x1bd)](),!![]),_0x5d0d5b=globals[_0x287e23(0x1e4)](_0x2bad08[_0x287e23(0x206)]);_0x5e21ef[_0x2bad08[_0x287e23(0x1b6)]]=_0x2bad08[_0x287e23(0x1e5)](_0x5d0d5b,_0x216408);}if(_0x2bad08['VhRzp'](_0x24abe7,FRAMEWORKS[_0x287e23(0x1cb)])){const _0x165954=_0x2bad08[_0x287e23(0x1b9)](_0x2bad08['VhdGb'](_0x3a6bf5[_0x287e23(0x1fb)][_0x287e23(0x19c)]('\x20'),'\x20'),_0x2c5100[_0x287e23(0x204)]),_0x264156=globals['getGlobal'](_0x2bad08[_0x287e23(0x1fd)])||accessibilityHelper[_0x287e23(0x1a7)](_0x165954,![]),_0x57b95d=browserStackGlobals[_0x287e23(0x1f3)];_0x5e21ef[_0x2bad08[_0x287e23(0x1b6)]]=_0x2bad08[_0x287e23(0x1a9)](_0x57b95d,_0x264156);}if(_0x2bad08[_0x287e23(0x1e1)](_0x24abe7,FRAMEWORKS['PLAYWRIGHT'])){if(_0x2bad08[_0x287e23(0x21a)](_0x5e2eed,_0x2bad08[_0x287e23(0x220)]))return;_0x5e21ef[_0x2bad08['artos']]=PWTestDetails[_0x287e23(0x1c4)](_0x3a6bf5[_0x287e23(0x17d)]);}if(_0x2bad08[_0x287e23(0x21a)](_0x24abe7,FRAMEWORKS['CODECEPT'])){const _0x37af1c=accessibilityHelper[_0x287e23(0x1a7)](_0x2c5100['titlePath'](),!![]),_0x409be4=global[_0x287e23(0x1ba)];_0x5e21ef[_0x2bad08[_0x287e23(0x1b6)]]=_0x2bad08[_0x287e23(0x195)](_0x409be4,_0x37af1c);}if(_0x2bad08[_0x287e23(0x1cd)](_0x24abe7,FRAMEWORKS[_0x287e23(0x1db)])){const _0x5ce0be=accessibilityHelper[_0x287e23(0x1a7)](null,![],_0x3a6bf5[_0x287e23(0x1cc)]),_0x66c1f0=globals[_0x287e23(0x1e4)](_0x2bad08[_0x287e23(0x206)]);_0x5e21ef[_0x2bad08[_0x287e23(0x1b6)]]=_0x2bad08[_0x287e23(0x1e5)](_0x66c1f0,_0x5ce0be);}_0x3a6bf5[_0x2bad08['UpuaG']]=_0x5e21ef;}},exports[a140_0x144842(0x199)]=_0x3aeece=>{const _0x55c947=a140_0x144842,_0x10eaed={};_0x10eaed[_0x55c947(0x1f0)]=function(_0x5713b5,_0x23068a){return _0x5713b5>_0x23068a;};const _0x5d5371=_0x10eaed;let _0x4a0c46={};if(_0x5d5371[_0x55c947(0x1f0)](Object[_0x55c947(0x1f1)](testData)[_0x55c947(0x21b)],0x0))return testData;_0x4a0c46=JestTestDetails[_0x55c947(0x1ae)]();if(_0x5d5371[_0x55c947(0x1f0)](Object[_0x55c947(0x1f1)](_0x4a0c46)[_0x55c947(0x21b)],0x0))return _0x4a0c46;return _0x4a0c46;},exports['setCurrentTestData']=(_0x25b107,_0x332080={})=>{const _0x1fc22e=a140_0x144842;if(bsSetupHelper[_0x1fc22e(0x1bc)](_0x332080['test_run']))return;switch(_0x25b107){case FRAMEWORKS[_0x1fc22e(0x17e)]:testData=_0x332080['test_run'];break;case FRAMEWORKS[_0x1fc22e(0x1cb)]:JestTestDetails[_0x1fc22e(0x1f2)](_0x332080[_0x1fc22e(0x1bf)]);break;default:break;}},exports['getAccessibilityValueFromYml']=_0x1bd24b=>{const _0x2fa7b4=a140_0x144842,_0x90b9d4={};_0x90b9d4[_0x2fa7b4(0x219)]=function(_0x4394cf,_0x2ed043){return _0x4394cf!==_0x2ed043;},_0x90b9d4[_0x2fa7b4(0x17b)]=function(_0x309484,_0x139357){return _0x309484!==_0x139357;},_0x90b9d4['GbhXF']=function(_0x5e1c74,_0x13dd76){return _0x5e1c74!==_0x13dd76;};const _0x1909ff=_0x90b9d4;if(_0x1909ff['xkQrh'](_0x1bd24b[_0x2fa7b4(0x1f6)],null)&&_0x1909ff['boTSp'](_0x1bd24b[_0x2fa7b4(0x1f6)],undefined))return _0x1bd24b[_0x2fa7b4(0x1f6)];let _0xbb2f7c=![],_0x1e7548=![];if(_0x1bd24b[_0x2fa7b4(0x1dd)])for(const _0x1b7a3a of _0x1bd24b[_0x2fa7b4(0x1dd)]){_0x1909ff[_0x2fa7b4(0x1cf)](_0x1b7a3a[_0x2fa7b4(0x1f6)],null)&&_0x1909ff[_0x2fa7b4(0x17b)](_0x1b7a3a[_0x2fa7b4(0x1f6)],undefined)&&(_0xbb2f7c=_0xbb2f7c||bsSetupHelper['isTrue'](_0x1b7a3a['accessibility']),_0x1e7548=!![]);}if(_0x1e7548)return _0xbb2f7c;return null;},exports[a140_0x144842(0x193)]=_0x3b4c4d=>{const _0x205a28=a140_0x144842,_0x4b7ced=new OrchestrationUtils(_0x3b4c4d);return _0x4b7ced[_0x205a28(0x20a)]();},exports['getProductMapForBuildStartCall']=_0x3eb829=>{const _0x14541c=a140_0x144842,_0x22f6cc={'uzFlH':function(_0x7cfa35){return _0x7cfa35();}};let _0x564e2d=![],_0x3d0428=![];if(bsSetupHelper['isBrowserstackInfra']()&&_0x3eb829[_0x14541c(0x209)])_0x3d0428=!![];else bsSetupHelper[_0x14541c(0x227)]()&&(_0x564e2d=!![]);return Object[_0x14541c(0x1d0)]({'observability':_0x22f6cc[_0x14541c(0x1fa)](isTestObservabilitySession),'accessibility':exports[_0x14541c(0x185)](_0x3eb829),'percy':_0x3eb829[_0x14541c(0x20e)]||![],'automate':_0x564e2d,'app_automate':_0x3d0428,'turboscale':bsSetupHelper[_0x14541c(0x203)](_0x3eb829),'lts':LoadTestModule[_0x14541c(0x1a3)](_0x3eb829)},bsSetupHelper[_0x14541c(0x208)]());};function a140_0x5c2a(){const _0x2085a5=['BROWSERSTACK_PERCY','errors','setAccessibilityVariables','gsxrC','javascript','QvBzo','BS_TESTOPS_ALLOW_SCREENSHOTS','getTestOrchestrationBuildStartData','split','MsCIk','TestRunStarted','command','../../bin/playwright/reporter/test-details.js','getCurrentTestData','includes','VqmQI','join','990124rdShTV','POrNR','143373XPFgNP','MSpeu','../ats/helper','BS_TESTOPS_BUILD_HASHED_ID','isLTSSession','HookRunFinished','../logger','850446cPANUt','shouldScanTestForAccessibility','parseFromJson','HVdfM','goog:chromeOptions','lAUbb','setTestObservabilityVariables',']\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','getTestData','handleErrorForAccessibility','handleErrorForObservability','checkAccessibilityPlatformConfig','getFrameworkDetails','setPercyFlag','pAPIf','BS_TESTOPS_JWT','artos','5opUfdq','BROWSERSTACK_ACCESSIBILITY','VhdGb','accessibilityPlatform','../test-observability/constants.js','isUndefined','titlePath','diJYi','test_run','../../bin/jest/test-observability/test-details.js','aRMwn','0|5|3|2|4|1','./constants.js','getAccessibilityPlatformValidation','bxCYn','stringify','kJgJn','../helper.js','message','BROWSERSTACK_TESTHUB_JWT','JEST','tags','uPwDG','GwNdT','GbhXF','assign','hlwWm','KDUZJ','setTestHubCommonMetaInfo','toUpperCase','cYyse','nonBStackInfraA11yChromeOptions','env','parse','OrLJK','ieEmD','CUCUMBER','ljbCm','platforms','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','HookRunStarted','null','andxH','toJson','5|4|0|3|2|6|1','getGlobal','lmldA','TkDBE','8304SWyqLh','NkDUn','INVALID_CREDENTIALS','162630BZfxaI','getAgentVersion','Uomlh','isTrue','getTestFrameworkDetails','FIdLH','eQlHb','keys','setTestData','isAccessibilityPlatform','getProductMap','ERROR','accessibility','BS_A11Y_JWT','BROWSERSTACK_TESTHUB_UUID:\x20','build_hashed_id','uzFlH','scopes','UpuaG','rFKjv','username','NoOSu','CBTSessionCreated','mngTt','CREDENTIALS_FOR_CRASH_REPORTING','isTurboScaleSession','name','forEach','vbzMK','../test-orchestration/orchestrationUtils.js','getCentralUser','app','getBuildStartData','ylklh','isRunning','UVvnJ','percy','QbuVY','TEST_REPORTING_ANALYTICS','MPfQD','commands','debug','gUYco','options','BROWSERSTACK_TEST_ACCESSIBILITY_YML','uploadEventData','shouldProcessEventForTesthub','xkQrh','VhRzp','length','toString','capabilities','appendTesthubParams','true','JJNkA','DEPRECATED','vxCls','../../bin/utils/constants.js','observability','LYbsb','isPercyBuild','isBrowserstackInfra','allow_screenshots','BS_TESTOPS_BUILD_COMPLETED','ObZLu','BROWSERSTACK_TESTHUB_UUID','cUkqx','1593249DDXhTW','logBuildError','boTSp','false','uuid','MOCHA','error','GkFfk','commandsToWrap','\x20Build\x20creation\x20failed','[ACCESSIBILITY]\x20Build\x20Created\x20Successfully\x20with\x20hashed\x20id:\x20','2802536dMzLBJ','getAccessibilityValueFromYml','FSQGD','jwt','FRAMEWORK_DETAILS','isAccessibilityEnabled','success','ECTKF'];a140_0x5c2a=function(){return _0x2085a5;};return a140_0x5c2a();}
@@ -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_0x25dd27=a141_0x5558;(function(_0x349d56,_0x5e3186){const _0x466d8e=a141_0x5558,_0x3da7a5=_0x349d56();while(!![]){try{const _0x2b4c04=parseInt(_0x466d8e(0x1da))/0x1*(-parseInt(_0x466d8e(0x1dd))/0x2)+-parseInt(_0x466d8e(0x1db))/0x3+parseInt(_0x466d8e(0x1d5))/0x4+-parseInt(_0x466d8e(0x1d6))/0x5+parseInt(_0x466d8e(0x1d4))/0x6*(parseInt(_0x466d8e(0x1d3))/0x7)+-parseInt(_0x466d8e(0x1d9))/0x8*(-parseInt(_0x466d8e(0x1d2))/0x9)+-parseInt(_0x466d8e(0x1d1))/0xa*(-parseInt(_0x466d8e(0x1d8))/0xb);if(_0x2b4c04===_0x5e3186)break;else _0x3da7a5['push'](_0x3da7a5['shift']());}catch(_0x1be0ea){_0x3da7a5['push'](_0x3da7a5['shift']());}}}(a141_0x4ab6,0x4138c));function a141_0x4ab6(){const _0xee3037=['33HJOjYe','8hjSFDL','17955cnnzyl','1139658zRdhdH','WPtDD','22LogcPU','./utilities','EpFmR','exports','fireFunnelTestEvent','1099610UwnmlP','2927979dgNUCI','281981LnMbnx','6syPvDl','1219268UrkLTk','778875tPsWSk','cancel'];a141_0x4ab6=function(){return _0xee3037;};return a141_0x4ab6();}function a141_0x5558(_0xb52aad,_0x533388){const _0x4ab6be=a141_0x4ab6();return a141_0x5558=function(_0x55585d,_0x34affe){_0x55585d=_0x55585d-0x1ce;let _0x3c63e6=_0x4ab6be[_0x55585d];return _0x3c63e6;},a141_0x5558(_0xb52aad,_0x533388);}const utilities=require(a141_0x25dd27(0x1de));module[a141_0x25dd27(0x1cf)]=(_0x1cfc9e,_0xf4734d,_0x496f24,_0x5ce131,_0x463e47,_0x85bd2)=>{const _0x4f0ec3=a141_0x25dd27,_0x348c1a={'WPtDD':function(_0x4c497a,_0x5823d3){return _0x4c497a-_0x5823d3;},'EpFmR':function(_0x25c0a3,_0x500512){return _0x25c0a3(_0x500512);},'kUScK':function(_0x39b461,_0x36e1b0,_0x30faf4){return _0x39b461(_0x36e1b0,_0x30faf4);}};let _0x35d426,_0x884810=![];const _0x522d8b=new Promise((_0x234123,_0x4f19ee)=>{_0x35d426=_0x348c1a['kUScK'](setTimeout,()=>{const _0x1f2353=a141_0x5558;if(!_0x884810){const _0x3fe450={'status':''+_0xf4734d,'timeTaken':_0x348c1a[_0x1f2353(0x1dc)](new Date(),_0x5ce131)};utilities[_0x1f2353(0x1d0)](_0x496f24,_0x3fe450,_0x463e47,_0x85bd2),_0x348c1a[_0x1f2353(0x1ce)](_0x4f19ee,new Error(_0xf4734d));}},_0x1cfc9e);});return _0x522d8b[_0x4f0ec3(0x1d7)]=()=>{const _0x43b7b0=_0x4f0ec3;_0x884810=!![],_0x348c1a[_0x43b7b0(0x1ce)](clearTimeout,_0x35d426);},_0x522d8b;};
@@ -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
+ function a142_0x5060(){const _0x305736=['Directory\x20','isNullOrEmpty','framework','content-type','winstonLogger','browser','Error\x20in\x20getting\x20framework\x20version\x20to\x20:\x20','KbAmQ','nodejs','getTurboScaleSessionsList','null','config','globalException','getBuildLink','info','env','util','app','API\x20Event\x20','76365MeTrSo','AUTOMATE_PRODUCTS','18drOQZQ','accessSync','hostname','assign','getUserName','SDKTestSuccessful','isModifiable','ZJeHD','AUTOMATE','bZpit','user_killed','stack','40184NFnqAd','finalExecution','111000SMpkKA','./test-observability/utils','ZyElE','\x20:\x20','27650taomSj','browserStackConfig','seleniumVersion','length','[REDACTED]','selenium-webdriver','killSignal','./helper','object','NoXBX','osVersion','djsUg','getFrameworkVersion','7TvCHyD','errorMessage','codeceptjs','SkWIr','Playwright','../bin/utils/constants','BROWSERSTACK_TESTHUB_UUID','49RLlDIg','reduce','Error\x20in\x20firing\x20request\x20to\x20','2068JUQNkI','event_properties','getGlobal','LXgYF','push','PhMsY','ikIoh','TWnJd','../helpers/testhub/constants','APP_AUTOMATE_PRODUCTS','body','finishedMetadata','\x20response\x20-\x20','all','constants','oWFUX','Failed\x20to\x20set\x20directory\x20access:\x20','SDK\x20run\x20ended\x20for\x20id:\x20','stopPercy','getSessionsList','fDzDb','nodeRequest','YBnJc','undefined','kPfDS','Something\x20went\x20wrong\x20in\x20Final\x20Execution\x20step\x20:\x20','requirePWModule','browserVersion','apply','YxrOW','QhUeG','isTurboScaleSession','sendLogs','909056GZeqam','\x20has\x20now\x20read/write/execute\x20permissions.','getPackageVersion','nKBJF','notifyUpdate','YvTBz','./logger','isBrowserstackInfra','toString','values','X_OK','eZtiT','format','sdkRunId','debug','trim','594846acnrKr','591963eHJwPb','ZHyBI','error','kOCph','./performance/performance-tester','keys','./globals','version','buildIdentifier','tests','nKYyg','BGYyE','getAccessKey','stringify','replace','kjeBq','fireFunnelTestEvent','setReadWriteExecuteAccess','tsvRz','./testhub/utils','ENV_VAR','buildName','type','parse','every','join','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','PijAj','MuEFm',',\x20testhub\x20id:\x20','POST','../bin/playwright/reporter/pwUtils','gbkOV','getTestFrameworkDetails','HCttK','forEach','getStackTraceAsString','source'];a142_0x5060=function(){return _0x305736;};return a142_0x5060();}const a142_0x5b72fc=a142_0x2c3b;function a142_0x2c3b(_0x3ebc58,_0x558d77){const _0x50609d=a142_0x5060();return a142_0x2c3b=function(_0x2c3b87,_0x3cec5c){_0x2c3b87=_0x2c3b87-0x91;let _0x479974=_0x50609d[_0x2c3b87];return _0x479974;},a142_0x2c3b(_0x3ebc58,_0x558d77);}(function(_0x3c59aa,_0x3ac9e8){const _0x4444c7=a142_0x2c3b,_0xa0f396=_0x3c59aa();while(!![]){try{const _0x3729a0=parseInt(_0x4444c7(0xc6))/0x1*(parseInt(_0x4444c7(0xb3))/0x2)+-parseInt(_0x4444c7(0x102))/0x3+-parseInt(_0x4444c7(0xf1))/0x4+-parseInt(_0x4444c7(0xa5))/0x5*(-parseInt(_0x4444c7(0xa7))/0x6)+parseInt(_0x4444c7(0xcd))/0x7*(-parseInt(_0x4444c7(0xb5))/0x8)+-parseInt(_0x4444c7(0x101))/0x9+parseInt(_0x4444c7(0xb9))/0xa*(parseInt(_0x4444c7(0xd0))/0xb);if(_0x3729a0===_0x3ac9e8)break;else _0xa0f396['push'](_0xa0f396['shift']());}catch(_0x47f74d){_0xa0f396['push'](_0xa0f396['shift']());}}}(a142_0x5060,0x1cecf));const os=require('os'),util=require(a142_0x5b72fc(0xa2)),fs=require('fs'),{getProductMap}=require(a142_0x5b72fc(0x115)),logger=require(a142_0x5b72fc(0xf7))[a142_0x5b72fc(0x96)],constants=require('../bin/utils/constants'),testHubConstants=require(a142_0x5b72fc(0xd8)),{getTransformPath}=require(a142_0x5b72fc(0x121)),{FUNNEL_INSTRUMENTATION_API_URL}=require(a142_0x5b72fc(0xcb)),{generateCIArtifacts,printNudgeLocalNotSetError}=require('./helper'),PerformanceTester=require(a142_0x5b72fc(0x106)),globals=require(a142_0x5b72fc(0x108)),helper=require(a142_0x5b72fc(0xc0)),{isTestObservabilitySession}=require(a142_0x5b72fc(0xb6));let unhandledErrors='';exports[a142_0x5b72fc(0x112)]=async(_0x1e6aee,_0x15699e={},_0x3839f,_0x335f00)=>{const _0x548635=a142_0x5b72fc,_0x14e83e={'kGIKk':function(_0x481ca4,_0x35d37b){return _0x481ca4===_0x35d37b;},'tsvRz':_0x548635(0xc1),'nKBJF':function(_0x279e4f,_0x3da975){return _0x279e4f>_0x3da975;},'PijAj':_0x548635(0x10b),'SkWIr':function(_0x22cc48){return _0x22cc48();},'vuLUF':function(_0x335eea,_0x350b9f){return _0x335eea==_0x350b9f;},'nKYyg':_0x548635(0x9c),'YBnJc':function(_0x552f01,_0x253f39){return _0x552f01===_0x253f39;},'djsUg':_0x548635(0xe7),'kPfDS':function(_0x291e02,_0x2ad11e){return _0x291e02===_0x2ad11e;},'YxrOW':_0x548635(0xc8),'ZJeHD':function(_0x927620,_0x4edf0a){return _0x927620!==_0x4edf0a;},'ikIoh':_0x548635(0xca),'KbAmQ':function(_0x1bb009,_0x122172){return _0x1bb009===_0x122172;},'HCttK':'error','eNTbG':function(_0x4a2a22,_0x305266){return _0x4a2a22+_0x305266;},'ZyElE':'Error\x20while\x20parsing\x20tests\x20errors,\x20Exception:\x20','ZHyBI':'_buildHashedId','mwPda':function(_0x51c1c7,_0x502854){return _0x51c1c7(_0x502854);},'bXiTs':function(_0x23e4a9,_0x317e75){return _0x23e4a9(_0x317e75);},'fDzDb':'unknown','wzxpf':_0x548635(0x9a),'LXgYF':_0x548635(0xac),'PhMsY':function(_0x50c5e3){return _0x50c5e3();},'TWnJd':_0x548635(0xbe),'VAyUQ':'application/json','MuEFm':_0x548635(0xbd),'kjeBq':_0x548635(0x120)};let _0x5ab8ec=[];if(helper[_0x548635(0xf8)]()&&_0x14e83e['SkWIr'](isTestObservabilitySession))_0x5ab8ec=_0x3839f['app']?constants[_0x548635(0xd9)]:constants[_0x548635(0xa6)];else{if(_0x14e83e[_0x548635(0xc9)](isTestObservabilitySession))_0x5ab8ec=constants[_0x548635(0x11c)];else helper[_0x548635(0xf8)]()&&(_0x5ab8ec=_0x3839f[_0x548635(0xa3)]?constants['APP_AUTOMATE']:constants[_0x548635(0xaf)]);}let _0x41a19a=_0x3839f[_0x548635(0x10a)];if(_0x14e83e['vuLUF'](_0x41a19a,null))_0x41a19a=_0x14e83e[_0x548635(0x10c)];else _0x14e83e[_0x548635(0xe6)](_0x41a19a,undefined)&&(_0x41a19a=_0x14e83e['djsUg']);unhandledErrors&&_0x14e83e['nKBJF'](unhandledErrors[_0x548635(0xbc)],0x0)&&(_0x15699e[_0x548635(0x9e)]=unhandledErrors);global[_0x548635(0xfe)]&&(_0x15699e[_0x548635(0xfe)]=global[_0x548635(0xfe)]);try{if(_0x15699e[_0x548635(0x104)]){if(_0x14e83e[_0x548635(0xe8)](_0x335f00,_0x14e83e[_0x548635(0xed)])&&_0x14e83e[_0x548635(0xf4)](_0x15699e[_0x548635(0x104)][_0x548635(0xbc)],0x0)){const _0x58ced2={};_0x58ced2['os']='',_0x58ced2[_0x548635(0xc3)]='',_0x58ced2['browser']='',_0x58ced2['browserVersion']='';const _0x234c6d=_0x58ced2;let _0x4336d6={};const _0xa980f1=_0x15699e[_0x548635(0x104)];_0x4336d6=_0xa980f1[_0x548635(0xce)]((_0x27266d,_0xa38c2f)=>{for(const _0x741867 in _0xa38c2f){_0x27266d[_0x741867]=_0xa38c2f[_0x741867];}return _0x27266d;},{});const _0x243fb7={};_0x243fb7[_0x548635(0x10b)]=_0x4336d6,_0x15699e[_0x548635(0x104)]=[Object[_0x548635(0xaa)]({},_0x234c6d,_0x243fb7)];}else{let _0x1fd0e8=0x0;const _0x530690=_0x14e83e[_0x548635(0xae)](_0x335f00,_0x14e83e[_0x548635(0xd6)])?JSON[_0x548635(0x119)](_0x15699e[_0x548635(0x104)]):_0x15699e[_0x548635(0x104)],_0x25541e=Object[_0x548635(0xfa)](_0x530690);_0x25541e[_0x548635(0x125)](_0x227c6d=>{const _0x126fc=_0x548635;if(_0x14e83e['kGIKk'](typeof _0x227c6d,_0x14e83e[_0x126fc(0x114)])){const _0x569ec8=Object['values'](_0x227c6d);!_0x569ec8[_0x126fc(0x11a)](_0x3703a7=>_0x3703a7===null||_0x3703a7===undefined||_0x3703a7==='')&&(_0x1fd0e8+=0x1);}});if(_0x14e83e['KbAmQ'](_0x1fd0e8,0x0))delete _0x15699e[_0x14e83e[_0x548635(0x124)]];else{const _0x58f8c6=[];Object[_0x548635(0x107)](_0x530690)[_0x548635(0x125)](_0x20eaf6=>{const _0x44de90=_0x548635,[_0x282840,_0x115211,_0x2bee00,_0x6f8b35]=_0x20eaf6['split'](',\x20');let _0x359830={};if(!_0x6f8b35){const _0x3adaec={};_0x3adaec['deviceName']=_0x282840,_0x3adaec[_0x44de90(0xc3)]=_0x115211,_0x3adaec['browser']=_0x2bee00,_0x359830=_0x3adaec;}else{const _0x735333={};_0x735333['os']=_0x282840,_0x735333[_0x44de90(0xc3)]=_0x115211,_0x735333[_0x44de90(0x97)]=_0x2bee00,_0x735333[_0x44de90(0xeb)]=_0x6f8b35,_0x359830=_0x735333;}const _0x3f906f={},_0x4a9048=_0x530690[_0x20eaf6];Object[_0x44de90(0x107)](_0x4a9048)[_0x44de90(0x125)](_0x24aeb7=>{const _0x5885f2=_0x44de90;_0x14e83e[_0x5885f2(0xf4)](_0x4a9048[_0x24aeb7][_0x5885f2(0xbc)],0x0)&&(_0x3f906f[_0x24aeb7]=_0x4a9048[_0x24aeb7]);}),_0x14e83e[_0x44de90(0xf4)](Object[_0x44de90(0x107)](_0x3f906f)[_0x44de90(0xbc)],0x0)&&(_0x359830[_0x14e83e[_0x44de90(0x11d)]]=_0x3f906f,_0x58f8c6[_0x44de90(0xd4)](_0x359830));}),_0x14e83e[_0x548635(0xf4)](_0x58f8c6[_0x548635(0xbc)],0x0)?_0x15699e['error']=_0x58f8c6:delete _0x15699e[_0x14e83e[_0x548635(0x124)]];}}}}catch(_0x5ae0c3){delete _0x15699e[_0x14e83e[_0x548635(0x124)]],logger[_0x548635(0xff)](_0x14e83e['eNTbG'](_0x14e83e[_0x548635(0xb7)],_0x5ae0c3));}const _0x122292=helper[_0x548635(0x123)](_0x3839f,_0x3839f[_0x548635(0x94)]),_0x58c7fa={'userName':helper['getUserName'](_0x3839f),'accessKey':helper[_0x548635(0x10e)](_0x3839f),'event_type':_0x1e6aee,'detectedFramework':_0x335f00,'buildHashedId':globals[_0x548635(0xd2)](_0x14e83e[_0x548635(0x103)]),'optimalHubUrl':helper['getOptimalHubUrl'](),'event_properties':{'testhub_uuid':process[_0x548635(0xa1)][testHubConstants[_0x548635(0x116)][_0x548635(0xcc)]]||'','sdkRunId':global[_0x548635(0xfe)],'product_map':_0x14e83e['mwPda'](getProductMap,_0x3839f),'productMap':_0x14e83e['bXiTs'](getProductMap,_0x3839f),'language_framework':_0x3839f[_0x548635(0x91)]||_0x14e83e['fDzDb'],'referrer':helper['getNodeAgent'](_0x335f00),'framework':_0x3839f[_0x548635(0x94)],'frameworkVersion':helper[_0x548635(0xc5)](_0x335f00),'automationFramework':_0x122292['name'],'automationFrameworkVersion':_0x122292[_0x548635(0x109)],'language':_0x14e83e['wzxpf'],'languageVersion':process['version'],'product':_0x5ab8ec,'buildName':_0x3839f[_0x548635(0x117)]||_0x14e83e[_0x548635(0xc4)],'buildIdentifier':_0x41a19a,'os':os[_0x548635(0x118)]()||_0x14e83e['fDzDb'],'hostname':os[_0x548635(0xa9)]()||_0x14e83e[_0x548635(0xe4)],..._0x15699e}};try{_0x14e83e[_0x548635(0x99)](_0x1e6aee,_0x14e83e[_0x548635(0xd3)])&&(_0x58c7fa[_0x548635(0xd1)][_0x548635(0xba)]=helper['sanitizeBrowserStackConfig'](_0x3839f)),_0x14e83e[_0x548635(0x99)](_0x335f00,_0x14e83e[_0x548635(0xd6)])?_0x58c7fa[_0x548635(0xd1)]['playwrightVersion']=helper[_0x548635(0xea)][_0x548635(0xec)](null,_0x14e83e[_0x548635(0xd5)](getTransformPath),!![]):_0x58c7fa[_0x548635(0xd1)][_0x548635(0xbb)]=helper[_0x548635(0xf3)](_0x14e83e[_0x548635(0xd7)]);}catch(_0x10603f){logger[_0x548635(0xff)](_0x548635(0x98)+_0x10603f);}const _0x4eed0c={};_0x4eed0c[_0x548635(0x95)]=_0x14e83e['VAyUQ'];const _0x813309={'headers':_0x4eed0c,'body':_0x58c7fa,'auth':{'user':helper['getUserName'](_0x3839f),'pass':helper['getAccessKey'](_0x3839f)},'json':!![]};logger['debug']('Firing\x20SDK\x20event\x20for\x20funnel\x20data:\x20'+JSON[_0x548635(0x10f)](_0x813309[_0x548635(0xda)])[_0x548635(0x110)](new RegExp(helper[_0x548635(0xab)](_0x3839f),'g'),_0x14e83e['MuEFm'])[_0x548635(0x110)](new RegExp(helper[_0x548635(0x10e)](_0x3839f),'g'),_0x14e83e[_0x548635(0x11e)]));try{const _0x42b391=await helper[_0x548635(0xe5)](_0x14e83e[_0x548635(0x111)],FUNNEL_INSTRUMENTATION_API_URL,_0x813309,_0x3839f);logger[_0x548635(0xff)](_0x548635(0xa4)+_0x1e6aee+_0x548635(0xdc)+util[_0x548635(0xfd)]('%j',_0x42b391));}catch(_0x4afdf0){logger['debug'](_0x548635(0xcf)+FUNNEL_INSTRUMENTATION_API_URL+_0x548635(0xb8)+util['format'](_0x4afdf0));}},exports[a142_0x5b72fc(0xb4)]=async _0x59b55b=>{const _0x42c28e=a142_0x5b72fc,_0x41ae87={'kOCph':function(_0x5378fb){return _0x5378fb();},'QLxmL':_0x42c28e(0xdb),'NoXBX':_0x42c28e(0xb1),'oWFUX':_0x42c28e(0xac),'bZpit':function(_0x56feb6,_0x5a0d17,_0x3ced1a){return _0x56feb6(_0x5a0d17,_0x3ced1a);},'BGYyE':function(_0x38aaa1,_0x3d7be8){return _0x38aaa1+_0x3d7be8;},'gbkOV':_0x42c28e(0xe9)};try{await _0x59b55b[_0x42c28e(0xe2)](),_0x41ae87[_0x42c28e(0x105)](printNudgeLocalNotSetError);const _0x90af8b={};_0x90af8b[_0x42c28e(0x104)]=_0x59b55b['errorMessage']?_0x59b55b[_0x42c28e(0xc7)]:'{}';const _0x2eb814=_0x90af8b,_0x286b91=Object[_0x42c28e(0xaa)]({},_0x2eb814);!!_0x59b55b[_0x42c28e(0xbf)]&&(_0x286b91[_0x41ae87['QLxmL']]={'reason':_0x41ae87[_0x42c28e(0xc2)],'signal':_0x59b55b[_0x42c28e(0xbf)]});unhandledErrors=_0x59b55b['unhandledErrors'][_0x42c28e(0x11b)]('\x0a');let _0x28ad82,_0x519ccf,_0x16c580;helper[_0x42c28e(0xef)](_0x59b55b[_0x42c28e(0x9d)])?([_0x28ad82,_0x519ccf]=await helper['getTurboScaleBuildLink'](_0x59b55b[_0x42c28e(0x9d)]),[_0x16c580]=await Promise[_0x42c28e(0xdd)]([helper[_0x42c28e(0x9b)](_0x28ad82,_0x59b55b[_0x42c28e(0x9d)]),exports['fireFunnelTestEvent'](_0x41ae87[_0x42c28e(0xdf)],_0x286b91,_0x59b55b[_0x42c28e(0x9d)],_0x59b55b[_0x42c28e(0x94)])])):([_0x28ad82,_0x519ccf]=await helper[_0x42c28e(0x9f)](_0x59b55b[_0x42c28e(0x9d)]),[_0x16c580]=await Promise[_0x42c28e(0xdd)]([helper[_0x42c28e(0xe3)](_0x28ad82,_0x59b55b[_0x42c28e(0x9d)]),exports[_0x42c28e(0x112)](_0x41ae87['oWFUX'],_0x286b91,_0x59b55b[_0x42c28e(0x9d)],_0x59b55b[_0x42c28e(0x94)])])),_0x16c580&&await _0x41ae87[_0x42c28e(0xb0)](generateCIArtifacts,_0x16c580,_0x519ccf),logger[_0x42c28e(0xa0)](_0x42c28e(0xe1)+_0x59b55b[_0x42c28e(0xfe)]+_0x42c28e(0x11f)+process[_0x42c28e(0xa1)]['BROWSERSTACK_TESTHUB_UUID']),await helper[_0x42c28e(0xf0)](_0x59b55b[_0x42c28e(0x9d)]);}catch(_0x48401d){logger[_0x42c28e(0xff)](_0x41ae87[_0x42c28e(0x10d)](_0x41ae87[_0x42c28e(0x122)],_0x48401d));}helper[_0x42c28e(0xf5)]();},exports[a142_0x5b72fc(0x126)]=_0x1e1efd=>{const _0x4030b9=a142_0x5b72fc,_0x426a20={'QhUeG':function(_0x38b61a,_0xc0df41){return _0x38b61a instanceof _0xc0df41;},'YvTBz':function(_0x518580,_0xb4d2ee){return _0x518580(_0xb4d2ee);}};try{if(_0x426a20[_0x4030b9(0xee)](_0x1e1efd,Error))return _0x1e1efd[_0x4030b9(0xb2)]||_0x1e1efd[_0x4030b9(0xf9)]();return _0x426a20[_0x4030b9(0xf6)](String,_0x1e1efd);}catch(_0x5abfc9){return _0x1e1efd?_0x1e1efd[_0x4030b9(0xf9)]():'';}},exports[a142_0x5b72fc(0x93)]=_0x373ac2=>{const _0x22217f=a142_0x5b72fc,_0x14c01d={};_0x14c01d[_0x22217f(0xfc)]=function(_0x17e96c,_0x4d9d3f){return _0x17e96c===_0x4d9d3f;};const _0x5e92d1=_0x14c01d;return!_0x373ac2||_0x5e92d1[_0x22217f(0xfc)](_0x373ac2[_0x22217f(0x100)](),'');},exports[a142_0x5b72fc(0xad)]=_0x3e1579=>{const _0x758f69=a142_0x5b72fc,_0x4b7099={};_0x4b7099['NFNsO']=function(_0x12870e,_0x1af4bb){return _0x12870e|_0x1af4bb;};const _0x43da01=_0x4b7099;try{return fs[_0x758f69(0xa8)](_0x3e1579,_0x43da01['NFNsO'](fs[_0x758f69(0xde)]['W_OK'],fs[_0x758f69(0xde)][_0x758f69(0xfb)])),!![];}catch(_0x3ca134){return![];}},exports[a142_0x5b72fc(0x113)]=_0x11264b=>{const _0x5eaa12=a142_0x5b72fc;try{fs['chmodSync'](_0x11264b,0x1ff),logger['debug'](_0x5eaa12(0x92)+_0x11264b+_0x5eaa12(0xf2));}catch(_0x15351c){logger[_0x5eaa12(0x104)](_0x5eaa12(0xe0)+exports[_0x5eaa12(0x126)](_0x15351c));}};