browserstack-node-sdk 1.40.6 → 1.40.7

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 (175) 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/browserstack.pw.yml.sample +1 -0
  41. package/browserstack.yml.sample +1 -0
  42. package/package.json +1 -1
  43. package/src/ai-sdk-node/bundle.js +1 -1
  44. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  45. package/src/bin/codeceptjs/command.js +1 -1
  46. package/src/bin/codeceptjs/helper.js +1 -1
  47. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  48. package/src/bin/cucumber-js/command.js +1 -1
  49. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  50. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  51. package/src/bin/cucumber-js/test-observability.js +1 -1
  52. package/src/bin/cucumber-js/test.setup.js +1 -1
  53. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  54. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  55. package/src/bin/integrations/command.js +1 -1
  56. package/src/bin/integrations/constants.js +1 -1
  57. package/src/bin/jest/command.js +1 -1
  58. package/src/bin/jest/customImplements/customCircus.js +1 -1
  59. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  60. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  61. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  62. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  63. package/src/bin/jest/jest.setup.js +1 -1
  64. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  65. package/src/bin/jest/test-observability/helper.js +1 -1
  66. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  67. package/src/bin/jest/test-observability/test-details.js +1 -1
  68. package/src/bin/jest/test_before.setup.js +1 -1
  69. package/src/bin/launcher/launcher.js +1 -1
  70. package/src/bin/load/index.js +1 -1
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/processHelper.js +1 -1
  154. package/src/helpers/request-spy.js +1 -1
  155. package/src/helpers/setKeepAlive.js +1 -1
  156. package/src/helpers/test-observability/constants.js +1 -1
  157. package/src/helpers/test-observability/error-handler.js +1 -1
  158. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  159. package/src/helpers/test-observability/sessionHandler.js +1 -1
  160. package/src/helpers/test-observability/utils.js +1 -1
  161. package/src/helpers/test-orchestration/constants.js +1 -1
  162. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  163. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  164. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  165. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  166. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  167. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  168. package/src/helpers/testhub/constants.js +1 -1
  169. package/src/helpers/testhub/testhubHandler.js +1 -1
  170. package/src/helpers/testhub/utils.js +1 -1
  171. package/src/helpers/timeoutPromise.js +1 -1
  172. package/src/helpers/utilities.js +1 -1
  173. package/src/helpers/w3cMapping.js +1 -1
  174. package/src/hubAllocationMethods.js +1 -1
  175. package/src/index.js +1 -1
@@ -1 +1 @@
1
- 'use strict';const a30_0x1015bc=a30_0x1ef0;(function(_0x48e753,_0x55c907){const _0x22125e=a30_0x1ef0,_0x38d93c=_0x48e753();while(!![]){try{const _0x3d116a=parseInt(_0x22125e(0x25f))/0x1*(-parseInt(_0x22125e(0x242))/0x2)+-parseInt(_0x22125e(0x2ac))/0x3+parseInt(_0x22125e(0x28a))/0x4+parseInt(_0x22125e(0x298))/0x5*(-parseInt(_0x22125e(0x1e4))/0x6)+-parseInt(_0x22125e(0x2ec))/0x7+parseInt(_0x22125e(0x2dd))/0x8*(parseInt(_0x22125e(0x23a))/0x9)+parseInt(_0x22125e(0x2c9))/0xa;if(_0x3d116a===_0x55c907)break;else _0x38d93c['push'](_0x38d93c['shift']());}catch(_0xc280ca){_0x38d93c['push'](_0x38d93c['shift']());}}}(a30_0x582c,0xe40a7));const util=require('util'),fs=require('fs'),path=require('path'),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js',a30_0x1015bc(0x263)),utils=requireModule(a30_0x1015bc(0x257),'mocha'),color=Base[a30_0x1015bc(0x2ef)],Mocha=requireModule('mocha'),Runnable=requireModule(a30_0x1015bc(0x2cc),'mocha'),{v4:uuidv4}=require(a30_0x1015bc(0x2c5)),bsSetupHelper=require(a30_0x1015bc(0x27b)),testhubUtils=require(a30_0x1015bc(0x239)),centralScannerUtils=require(a30_0x1015bc(0x226)),testHubConstants=require(a30_0x1015bc(0x319)),{FRAMEWORKS}=require(a30_0x1015bc(0x22b)),globals=require('../../../helpers/globals'),logger=require(a30_0x1015bc(0x29e))[a30_0x1015bc(0x314)],TestMetadata=require(a30_0x1015bc(0x252)),a30_0x201273={};a30_0x201273[a30_0x1015bc(0x309)]=a30_0x1015bc(0x254),a30_0x201273[a30_0x1015bc(0x20f)]=a30_0x1015bc(0x1ef),a30_0x201273[a30_0x1015bc(0x2d6)]=a30_0x1015bc(0x302),a30_0x201273['after\x20each']=a30_0x1015bc(0x2f8);function a30_0x1ef0(_0x5f54b8,_0x49acd5){const _0x582c6c=a30_0x582c();return a30_0x1ef0=function(_0x1ef0e0,_0x9ce2bb){_0x1ef0e0=_0x1ef0e0-0x1da;let _0x3a3976=_0x582c6c[_0x1ef0e0];return _0x3a3976;},a30_0x1ef0(_0x5f54b8,_0x49acd5);}const HOOK_TYPES_MAP=a30_0x201273,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a30_0x1015bc(0x2c3)][a30_0x1015bc(0x26e)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a30_0x1015bc(0x26e)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a30_0x1015bc(0x20e)),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a30_0x1015bc(0x2a5)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a30_0x1015bc(0x31e)),requestQueueHandler=RequestQueueHandler[a30_0x1015bc(0x25d)]();function a30_0x582c(){const _0x2e00b2=['relative','exports','originalTitle','wfbSX','failureCount','</dt>','<dl>','getRootParentFile','dirname','escape','xofLq','dlpbA','QfVHC','suiteCount','hook_type','KmxIT','reporterOptions','ctx','body','done','Runner','xaxAq','uuid','_upstreamConfig','ECTwk','\x20\x20<dt>','42435290kUXrnh','uFjNy','bs:addLog:','mocha/lib/runnable.js','ncAIy','SpbfC','findGitConfig','root','BpnjA','fullTitle','IEEzI','sLyxc','QFXYh','before\x20each','HNBed','inspect','DkwGL','\x20\x20<dd\x20class=\x22error\x22>','write','current_test','344kvappX','Zijax','uEUuN','HookRunFinished','finalResults','speed','aNZuo','spec','AssertionError','xunit','test_run','CkyFN','Aphpn','toString','TINBk','5803084JrixSO','cwd','\x20\x20<dt\x20class=\x22error\x22>','color','push','fRcTd','hook_run_uuid','results','jHRue','zdttB','%s\x20-\x20%s','doc','AFTER_EACH','pnwFr','OSAuZ','shouldProcessEventForTesthub','</dd>','retryOf','stdout','Qmvbw','bright\x20yellow','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','BEFORE_EACH','</section>','testAnalyticsId','sMnFB','backtrace','indent','\x20\x20%d)\x20%s','before\x20all','SzOew','HookStarted','TMHFX','_indents','hookAnalyticsId','HookFinished','FFaLr','MLWeH','uBOxo','scopes','winstonLogger','fFjPF','\x20%s','RSyGl','Vmjgh','../../../helpers/testhub/constants','state','hook_run','Urnej','zzReN','../../../helpers/test-observability/requestQueueHandler','DNdOX','_testEnv','ajZdq','hwPHt','plqsE','parent','mzawY','__platform__','</h1>','IUNuX','gnFHD','1734396yFnOCs','expanded','length','currentRetry','markedStatus','Obvlh','QpjWm','MLHZK','fail','iEBzb','setGlobal','AFTER_ALL','VNDZc','location_prefix','event_type','vdbTx','BYVtN','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','nixFR','now','SamGr','fqfzd','LogCreated','EVENT','Pibab','Reporter','sep','finished_at','title','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','logs','join','apply','jXybE','javascript','TkkBy','TestRunStarted','titlePath','_buildCreated','\x20(%dms)','symbols','../test-observability/mochaUtils','after\x20all','currentTest','YnaUN','toISOString','testRunUUID','Failed\x20to\x20load\x20reporter\x20','MHDof','yEoyS','.git','bind','lGzjB','forEach','clean','COMPLETED','gZQQw','EcQkr','dfOYp','integrations','checkmark','.js','Utnbf','_paths','ItaXi','../../../helpers/central-scanner/helpers','result','runner','JseXX','hyiXh','../../../helpers/test-observability/constants','bang','bsConfig','file','cMZTQ','UfTJR','maHpW','bJHPE','type','skipped','UnhandledError','dot','OHOGD','dbNxX','../../../helpers/testhub/utils','73449uloldk','tCJZE','</code></pre></dd>','current_hook','MVfpg','hJiWv','appendTestPlatform','mocha/lib/reporters/','676112KqhVyu','wXAFd','includes','\x20\x20<dd\x20class=\x22error\x22><pre><code>','gpgaH','\x20with\x20error\x20:\x20','failure_backtrace','docAppend','AwYIa','TestRunSkipped','pass','slice','once','decreaseIndent','XGyJD','test_run_uuid','../../../helpers/metadata','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','BEFORE_ALL','gyvzD','WKdVZ','mocha/lib/utils.js','kserB','slow','ahhzA','isPending','PjTSi','getInstance','docHtml','2EuZECb','appendTesthubParams','WgYoU','pqNDz','mocha','Fhlsn','QuBnf','removeAllListeners','fast','started_at','test','pid','green','GGIjO','increaseIndent','constants','analyticsResult','sQaRE','NrXRS','lcnc','Mocha','suites','gMuin','testStarted','err','redirectUrl','failCount','QGIVu','../../../helpers/helper','bVFqu','SrybR','duration','reporterOption','ZOmdb','MHADZ','pending','hooks','CBTSessionCreated','call','split','QWRVF','failure','trim','2706760DOzTgK','consoleLog','appendTestItemLog','_testResults','RdsaN','passed','sendTestRunEvent','assign','scope','nEDOC','nLNiJ','HaCkF','FBaYR','ExmCl','25GlSvLh','name','registerListeners','multiple','statSync','__indents','../../../helpers/logger','shutdown','eRdMr','setCurrentTestData','prefixTestPath','bs:addPlatformDetails:','uploadEventData','../../../helpers/test-observability/sessionHandler','MOCHA','responseCode','liGbg','iadBn','match','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','4159899DRJbJq','oqUew','rDNXP'];a30_0x582c=function(){return _0x2e00b2;};return a30_0x582c();}class MyReporter{constructor(_0x11af74,_0x12efc7){const _0x5f4e4e=a30_0x1015bc,_0x16766e={'TMHFX':function(_0x2a973d,_0x1e625f){return _0x2a973d===_0x1e625f;},'nLNiJ':_0x5f4e4e(0x2e4),'UfTJR':function(_0xf3ca22,_0x36a2ad){return _0xf3ca22+_0x36a2ad;},'XGyJD':function(_0x226a7e,_0x405488){return _0x226a7e+_0x405488;},'dlpbA':function(_0x3b9afd,_0x4b5ee1,_0x2af71d){return _0x3b9afd(_0x4b5ee1,_0x2af71d);},'BgFpO':_0x5f4e4e(0x26b),'BYVtN':'%s\x20','RSyGl':'light','dbNxX':_0x5f4e4e(0x2f6),'WgYoU':'RUNNING','Zijax':function(_0x2ca663,_0x4f3875){return _0x2ca663===_0x4f3875;},'MLWeH':_0x5f4e4e(0x2f7),'EcQkr':function(_0x4cbb6e){return _0x4cbb6e();},'hJiWv':function(_0x204a37){return _0x204a37();},'HNBed':'HookRunStarted','wfbSX':_0x5f4e4e(0x2e0),'BpnjA':function(_0x19e30d,_0x32d401){return _0x19e30d===_0x32d401;},'RdsaN':'passed','SamGr':_0x5f4e4e(0x267),'qtDfo':function(_0x4c73e1,_0x4dd98e){return _0x4c73e1+_0x4dd98e;},'OHOGD':function(_0x2f7c5e,_0x475ca9,_0x9f22f4){return _0x2f7c5e(_0x475ca9,_0x9f22f4);},'MLHZK':_0x5f4e4e(0x221),'QFXYh':function(_0x353b8b,_0x547318,_0x3916bd){return _0x353b8b(_0x547318,_0x3916bd);},'iEBzb':_0x5f4e4e(0x24c),'SrybR':_0x5f4e4e(0x316),'ZOmdb':function(_0x1d97df,_0x34340a,_0x26261b){return _0x1d97df(_0x34340a,_0x26261b);},'hyiXh':function(_0x5d9404,_0x46b967){return _0x5d9404+_0x46b967;},'Zvpih':_0x5f4e4e(0x20c),'sQaRE':_0x5f4e4e(0x1ec),'CkyFN':_0x5f4e4e(0x308),'QuBnf':function(_0x21effe,_0x33a9f9){return _0x21effe+_0x33a9f9;},'IEEzI':_0x5f4e4e(0x300),'zzReN':_0x5f4e4e(0x21c),'ahhzA':function(_0x4cae8c,_0x737ac6){return _0x4cae8c===_0x737ac6;},'aNZuo':function(_0x2595a2,_0x1ac691){return _0x2595a2===_0x1ac691;},'AwYIa':_0x5f4e4e(0x236),'oqUew':function(_0x110f59,_0x4e3776){return _0x110f59===_0x4e3776;},'vdbTx':_0x5f4e4e(0x259),'fHLbs':function(_0x3e3c0d,_0x597b8f){return _0x3e3c0d===_0x597b8f;},'SzOew':'1|0|2|4|3','nixFR':'pending','GZQRV':function(_0x1069c8,_0x3f9267){return _0x1069c8===_0x3f9267;},'Fhlsn':_0x5f4e4e(0x24b),'dfOYp':function(_0x1a6937,_0x4d32ee){return _0x1a6937===_0x4d32ee;},'QWRVF':function(_0x423c72,_0x2da6d7){return _0x423c72(_0x2da6d7);},'fRcTd':function(_0x4d9144,_0x34a0f1){return _0x4d9144(_0x34a0f1);},'QfVHC':function(_0x3fd9bd){return _0x3fd9bd();},'sLyxc':function(_0x552056){return _0x552056();},'kserB':function(_0x1e2a4f,_0x2bbf10){return _0x1e2a4f===_0x2bbf10;},'lGzjB':_0x5f4e4e(0x2e6),'SpbfC':function(_0xf79e1e,_0x29f4bc,_0x2d2114){return _0xf79e1e(_0x29f4bc,_0x2d2114);},'NrXRS':'mocha','cAQpc':function(_0x10c10c,_0x5e893f){return _0x10c10c(_0x5e893f);},'NspFo':function(_0x341801,_0x1214bb){return _0x341801===_0x1214bb;},'tCJZE':function(_0x386028,_0x3bf28b){return _0x386028!==_0x3bf28b;}};this[_0x5f4e4e(0x233)]=_0x12efc7[_0x5f4e4e(0x27f)][_0x5f4e4e(0x233)],this['testObservability']=_0x16766e[_0x5f4e4e(0x2bb)](isTestObservabilitySession),Base[_0x5f4e4e(0x285)](this,_0x11af74,_0x12efc7),this[_0x5f4e4e(0x30d)]=0x0,this[_0x5f4e4e(0x279)]=0x0,this['results']=[],this[_0x5f4e4e(0x2e1)]=[],this[_0x5f4e4e(0x2bc)]=0x0,this[_0x5f4e4e(0x20b)]=![],this[_0x5f4e4e(0x28d)]=[],this[_0x5f4e4e(0x1da)]=_0x16766e[_0x5f4e4e(0x2d4)](getTestEnv),this['_paths']=new PathHelper({'cwd':process[_0x5f4e4e(0x2ed)]()},this[_0x5f4e4e(0x1da)][_0x5f4e4e(0x1f1)]),this[_0x5f4e4e(0x2c6)]=_0x12efc7[_0x5f4e4e(0x27f)][_0x5f4e4e(0x22d)],this[_0x5f4e4e(0x29a)]();_0x16766e[_0x5f4e4e(0x258)](this[_0x5f4e4e(0x233)],_0x16766e[_0x5f4e4e(0x311)])&&(this[_0x5f4e4e(0x25e)]='',this[_0x5f4e4e(0x29d)]=0x2);_0x11af74[_0x5f4e4e(0x24e)](EVENT_RUN_BEGIN,async()=>{const _0x47a3ff=_0x5f4e4e;_0x16766e[_0x47a3ff(0x30c)](this[_0x47a3ff(0x233)],_0x16766e[_0x47a3ff(0x294)])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x5d675c=>{const _0x3cb8d1=_0x5f4e4e;if(_0x5d675c[_0x3cb8d1(0x2d0)])return;if(_0x16766e['TMHFX'](this['type'],_0x16766e['nLNiJ']))this['increaseIndent'](),Base['consoleLog'](_0x16766e[_0x3cb8d1(0x230)](_0x16766e[_0x3cb8d1(0x250)](this[_0x3cb8d1(0x307)](),_0x16766e[_0x3cb8d1(0x2ba)](color,_0x16766e['BgFpO'],_0x16766e[_0x3cb8d1(0x1f4)])),_0x16766e[_0x3cb8d1(0x2ba)](color,_0x16766e[_0x3cb8d1(0x317)],_0x16766e[_0x3cb8d1(0x238)])),_0x16766e[_0x3cb8d1(0x261)],_0x5d675c[_0x3cb8d1(0x201)],global[_0x3cb8d1(0x1e0)]);else _0x16766e[_0x3cb8d1(0x2de)](this[_0x3cb8d1(0x233)],_0x16766e[_0x3cb8d1(0x311)])&&(this[_0x3cb8d1(0x249)](this[_0x3cb8d1(0x307)]()+'<section\x20class=\x22suite\x22>'),++this[_0x3cb8d1(0x29d)],this['docAppend'](this['indent']()+'<h1>'+utils[_0x3cb8d1(0x2b8)](_0x5d675c['title']+'\x20-\x20'+global[_0x3cb8d1(0x1e0)])+_0x3cb8d1(0x1e1)),this[_0x3cb8d1(0x249)](this['indent']()+_0x3cb8d1(0x2b5)));})['on'](EVENT_HOOK_BEGIN,async _0x284db3=>{const _0x3d9470=_0x5f4e4e;if(_0x16766e[_0x3d9470(0x30c)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x3d9470(0x30b)]),!![])){if(!_0x284db3[_0x3d9470(0x30e)])_0x284db3[_0x3d9470(0x30e)]=_0x16766e['EcQkr'](uuidv4);else _0x284db3[_0x3d9470(0x1e8)]&&(_0x284db3['hookAnalyticsId']=_0x16766e[_0x3d9470(0x23f)](uuidv4),delete _0x284db3[_0x3d9470(0x1e8)]);_0x284db3['started_at']=new Date()[_0x3d9470(0x212)](),this['current_hook']=_0x284db3,await this[_0x3d9470(0x290)](_0x284db3,undefined,![],_0x16766e[_0x3d9470(0x2d7)]);}})['on'](EVENT_HOOK_END,async _0x4af6ff=>{const _0x550555=_0x5f4e4e;_0x16766e[_0x550555(0x2de)](testhubUtils[_0x550555(0x2fb)](testHubConstants[_0x550555(0x1fc)][_0x550555(0x30f)]),!![])&&(!_0x4af6ff['markedStatus']&&(_0x4af6ff[_0x550555(0x1e8)]=!![],await this[_0x550555(0x290)](_0x4af6ff,undefined,![],_0x16766e[_0x550555(0x2b2)])));})['on'](EVENT_SUITE_END,_0x14e2a0=>{const _0x357cab=_0x5f4e4e,_0x3091c7={'bVFqu':function(_0xc048bc,_0xb2e6ce){const _0x282f31=a30_0x1ef0;return _0x16766e[_0x282f31(0x2d1)](_0xc048bc,_0xb2e6ce);},'uEUuN':_0x16766e[_0x357cab(0x28e)],'jHRue':_0x16766e[_0x357cab(0x1f9)],'sMnFB':function(_0x287b96,_0x5760b9){return _0x16766e['qtDfo'](_0x287b96,_0x5760b9);},'Pibab':function(_0x3a554b,_0x4fabbe,_0x4d77e0){return _0x16766e['OHOGD'](_0x3a554b,_0x4fabbe,_0x4d77e0);},'MHDof':_0x16766e[_0x357cab(0x1eb)],'JseXX':function(_0x22bbd5,_0x23ac0e,_0x3b1ce4){const _0x1c440e=_0x357cab;return _0x16766e[_0x1c440e(0x2d5)](_0x22bbd5,_0x23ac0e,_0x3b1ce4);},'FFaLr':_0x16766e[_0x357cab(0x1ed)],'Qmvbw':_0x16766e[_0x357cab(0x27d)],'MJjnN':function(_0x477eac,_0x4bd179){const _0x32a7a7=_0x357cab;return _0x16766e[_0x32a7a7(0x230)](_0x477eac,_0x4bd179);},'DkwGL':function(_0xb0316e,_0x48de03,_0x33f0a1){const _0x2c1564=_0x357cab;return _0x16766e[_0x2c1564(0x280)](_0xb0316e,_0x48de03,_0x33f0a1);},'nEDOC':function(_0x3fe7b0,_0x50bf99){const _0x3af3cc=_0x357cab;return _0x16766e[_0x3af3cc(0x22a)](_0x3fe7b0,_0x50bf99);},'KmxIT':function(_0x84bd90,_0x2f259a,_0x4d7007){const _0x53253e=_0x357cab;return _0x16766e[_0x53253e(0x237)](_0x84bd90,_0x2f259a,_0x4d7007);},'liGbg':_0x16766e['Zvpih'],'ajZdq':_0x16766e[_0x357cab(0x270)],'oCyqm':_0x16766e[_0x357cab(0x2e8)]};if(_0x14e2a0[_0x357cab(0x2d0)])return;if(_0x16766e[_0x357cab(0x30c)](this[_0x357cab(0x233)],_0x16766e[_0x357cab(0x294)]))Base['consoleLog'](),Base[_0x357cab(0x28b)](_0x16766e[_0x357cab(0x230)](_0x16766e[_0x357cab(0x265)](this[_0x357cab(0x307)](),_0x16766e[_0x357cab(0x280)](color,_0x16766e[_0x357cab(0x2d3)],_0x16766e[_0x357cab(0x1f4)])),_0x16766e[_0x357cab(0x2ba)](color,_0x16766e[_0x357cab(0x317)],_0x16766e[_0x357cab(0x238)])),_0x16766e[_0x357cab(0x31d)],_0x14e2a0['title'],global[_0x357cab(0x1e0)]),this[_0x357cab(0x2f3)][_0x357cab(0x21a)](_0x4f8da7=>{const _0x26a343=_0x357cab;if(_0x3091c7[_0x26a343(0x27c)](_0x4f8da7[_0x26a343(0x31a)],_0x3091c7[_0x26a343(0x2df)])){var _0x556187;_0x3091c7[_0x26a343(0x27c)](_0x4f8da7[_0x26a343(0x2e2)],_0x3091c7[_0x26a343(0x2f4)])?(_0x556187=_0x3091c7[_0x26a343(0x305)](_0x3091c7['sMnFB'](this[_0x26a343(0x307)](),_0x3091c7['Pibab'](color,_0x3091c7[_0x26a343(0x215)],_0x3091c7[_0x26a343(0x305)]('\x20\x20',Base['symbols']['ok']))),_0x3091c7[_0x26a343(0x229)](color,_0x3091c7[_0x26a343(0x310)],_0x3091c7[_0x26a343(0x2ff)])),Base[_0x26a343(0x28b)](_0x556187,_0x4f8da7[_0x26a343(0x201)])):(_0x556187=_0x3091c7['sMnFB'](_0x3091c7[_0x26a343(0x305)](_0x3091c7['MJjnN'](this[_0x26a343(0x307)](),_0x3091c7[_0x26a343(0x2d9)](color,_0x3091c7[_0x26a343(0x215)],_0x3091c7[_0x26a343(0x293)]('\x20\x20',Base[_0x26a343(0x20d)]['ok']))),_0x3091c7[_0x26a343(0x1fd)](color,_0x3091c7[_0x26a343(0x310)],_0x3091c7[_0x26a343(0x2ff)])),_0x3091c7[_0x26a343(0x2be)](color,_0x4f8da7[_0x26a343(0x2e2)],_0x3091c7[_0x26a343(0x2a8)])),Base['consoleLog'](_0x556187,_0x4f8da7['title'],_0x4f8da7[_0x26a343(0x27e)]));}else Base['consoleLog'](_0x3091c7[_0x26a343(0x305)](this[_0x26a343(0x307)](),_0x3091c7[_0x26a343(0x2d9)](color,_0x3091c7[_0x26a343(0x1db)],_0x3091c7['oCyqm'])),++this[_0x26a343(0x279)],_0x4f8da7[_0x26a343(0x201)]);}),this[_0x357cab(0x24f)]();else _0x16766e['ahhzA'](this[_0x357cab(0x233)],_0x16766e[_0x357cab(0x311)])&&(this[_0x357cab(0x249)](this['indent']()+'</dl>'),--this['__indents'],this['docAppend'](this[_0x357cab(0x307)]()+_0x357cab(0x303)),--this[_0x357cab(0x29d)]);Array['prototype'][_0x357cab(0x2f0)][_0x357cab(0x205)](this[_0x357cab(0x2e1)],this['results']),this[_0x357cab(0x2f3)]=[];})['on'](EVENT_TEST_PASS,async _0x53d564=>{const _0x1eabd=_0x5f4e4e;this[_0x1eabd(0x2f3)][_0x1eabd(0x2f0)]({'speed':_0x53d564[_0x1eabd(0x2e2)],'suite':_0x53d564[_0x1eabd(0x1de)][_0x1eabd(0x201)],'title':_0x53d564['title'],'fullTitle':_0x53d564[_0x1eabd(0x2d2)](),'duration':_0x53d564[_0x1eabd(0x27e)],'state':_0x53d564[_0x1eabd(0x31a)],'err':{},'currentRetry':_0x53d564['currentRetry'](),'titlePathV':_0x53d564['titlePath'](),'isPending':_0x53d564[_0x1eabd(0x25b)]()});if(_0x16766e['aNZuo'](this[_0x1eabd(0x233)],_0x16766e[_0x1eabd(0x24a)]))_0x16766e[_0x1eabd(0x2ad)](_0x53d564['speed'],_0x16766e[_0x1eabd(0x1f3)])?process[_0x1eabd(0x2fe)]['write'](Base[_0x1eabd(0x2ef)](_0x16766e['IEEzI'],Base[_0x1eabd(0x20d)][_0x1eabd(0x236)])):process[_0x1eabd(0x2fe)][_0x1eabd(0x2db)](Base[_0x1eabd(0x2ef)](_0x53d564[_0x1eabd(0x2e2)],Base['symbols'][_0x1eabd(0x236)]));else{if(_0x16766e[_0x1eabd(0x2d1)](this[_0x1eabd(0x233)],_0x16766e[_0x1eabd(0x311)])){this[_0x1eabd(0x249)](this[_0x1eabd(0x307)]()+_0x1eabd(0x2c8)+utils[_0x1eabd(0x2b8)](_0x53d564[_0x1eabd(0x201)])+_0x1eabd(0x2b4)),this['docAppend'](this[_0x1eabd(0x307)]()+_0x1eabd(0x2c8)+utils[_0x1eabd(0x2b8)](_0x53d564[_0x1eabd(0x22e)])+_0x1eabd(0x2b4));var _0x4729fb=utils[_0x1eabd(0x2b8)](utils[_0x1eabd(0x21b)](_0x53d564['body']));this[_0x1eabd(0x249)](this[_0x1eabd(0x307)]()+'\x20\x20<dd><pre><code>'+_0x4729fb+_0x1eabd(0x23c));}}_0x16766e[_0x1eabd(0x2d1)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x53d564[_0x1eabd(0x1e8)]&&(_0x53d564[_0x1eabd(0x1e8)]=!![],await this[_0x1eabd(0x290)](_0x53d564)));})['on'](EVENT_TEST_FAIL,async(_0x2697dc,_0x541d21)=>{const _0x5d1e1a=_0x5f4e4e;this[_0x5d1e1a(0x2f3)][_0x5d1e1a(0x2f0)]({'title':_0x2697dc[_0x5d1e1a(0x201)],'suite':_0x2697dc['parent'][_0x5d1e1a(0x201)],'state':_0x2697dc[_0x5d1e1a(0x31a)],'err':{'message':util[_0x5d1e1a(0x2d8)](_0x541d21)},'fullTitle':_0x2697dc['fullTitle'](),'speed':_0x2697dc[_0x5d1e1a(0x2e2)],'currentRetry':_0x2697dc[_0x5d1e1a(0x1e7)](),'titlePathV':_0x2697dc[_0x5d1e1a(0x20a)]()});if(_0x16766e[_0x5d1e1a(0x25a)](this[_0x5d1e1a(0x233)],_0x16766e[_0x5d1e1a(0x24a)]))process[_0x5d1e1a(0x2fe)][_0x5d1e1a(0x2db)](Base[_0x5d1e1a(0x2ef)](_0x16766e[_0x5d1e1a(0x270)],Base[_0x5d1e1a(0x20d)][_0x5d1e1a(0x22c)]));else{if(_0x16766e['fHLbs'](this[_0x5d1e1a(0x233)],_0x16766e[_0x5d1e1a(0x311)])){const _0x3f25ba=_0x16766e[_0x5d1e1a(0x30a)][_0x5d1e1a(0x286)]('|');let _0x580920=0x0;while(!![]){switch(_0x3f25ba[_0x580920++]){case'0':this[_0x5d1e1a(0x249)](this['indent']()+_0x5d1e1a(0x2ee)+utils['escape'](_0x2697dc[_0x5d1e1a(0x22e)])+_0x5d1e1a(0x2b4));continue;case'1':this[_0x5d1e1a(0x249)](this[_0x5d1e1a(0x307)]()+_0x5d1e1a(0x2ee)+utils[_0x5d1e1a(0x2b8)](_0x2697dc[_0x5d1e1a(0x201)])+_0x5d1e1a(0x2b4));continue;case'2':var _0x42b313=utils[_0x5d1e1a(0x2b8)](utils[_0x5d1e1a(0x21b)](_0x2697dc[_0x5d1e1a(0x2c1)]));continue;case'3':this[_0x5d1e1a(0x249)](this['indent']()+_0x5d1e1a(0x2da)+utils[_0x5d1e1a(0x2b8)](_0x2697dc[_0x5d1e1a(0x277)])+_0x5d1e1a(0x2fc));continue;case'4':this[_0x5d1e1a(0x249)](this[_0x5d1e1a(0x307)]()+_0x5d1e1a(0x245)+_0x42b313+_0x5d1e1a(0x23c));continue;}break;}}}if(_0x16766e[_0x5d1e1a(0x2ad)](testhubUtils[_0x5d1e1a(0x2fb)](testHubConstants[_0x5d1e1a(0x1fc)][_0x5d1e1a(0x30f)]),!![])){if(!_0x2697dc[_0x5d1e1a(0x1e8)]){_0x2697dc['markedStatus']=!![];if(_0x2697dc['testAnalyticsId'])await this[_0x5d1e1a(0x290)](_0x2697dc,_0x541d21);else _0x2697dc['hookAnalyticsId']&&await this[_0x5d1e1a(0x290)](_0x2697dc,_0x541d21,![],_0x16766e[_0x5d1e1a(0x2b2)]);}}})['on'](EVENT_TEST_PENDING,async _0x580c6b=>{const _0x9f54cf=_0x5f4e4e;this[_0x9f54cf(0x2f3)][_0x9f54cf(0x2f0)]({'title':_0x580c6b['title'],'suite':_0x580c6b[_0x9f54cf(0x1de)][_0x9f54cf(0x201)],'state':_0x580c6b[_0x9f54cf(0x31a)],'err':{},'fullTitle':_0x580c6b[_0x9f54cf(0x2d2)](),'speed':_0x580c6b[_0x9f54cf(0x2e2)],'currentRetry':_0x580c6b[_0x9f54cf(0x1e7)](),'titlePathV':_0x580c6b[_0x9f54cf(0x20a)]()}),_0x16766e[_0x9f54cf(0x2e3)](this[_0x9f54cf(0x233)],_0x16766e[_0x9f54cf(0x24a)])&&process['stdout'][_0x9f54cf(0x2db)](Base['color'](_0x16766e[_0x9f54cf(0x1f7)],Base[_0x9f54cf(0x20d)]['comma'])),_0x16766e['GZQRV'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x580c6b[_0x9f54cf(0x304)]&&(_0x580c6b[_0x9f54cf(0x304)]=_0x16766e['EcQkr'](uuidv4)),!_0x580c6b[_0x9f54cf(0x1e8)]&&(_0x580c6b[_0x9f54cf(0x1e8)]=!![],await this['sendTestRunEvent'](_0x580c6b,undefined,![],_0x16766e[_0x9f54cf(0x264)])));})['on'](EVENT_TEST_BEGIN,async _0x2b8c57=>{const _0x53974c=_0x5f4e4e;_0x16766e[_0x53974c(0x21f)](testhubUtils[_0x53974c(0x2fb)](),!![])&&await this[_0x53974c(0x276)](_0x2b8c57);})['on'](EVENT_TEST_END,async _0x214c2e=>{const _0x1b1433=_0x5f4e4e;_0x16766e['aNZuo'](testhubUtils[_0x1b1433(0x2fb)](),!![])&&(!_0x214c2e[_0x1b1433(0x1e8)]&&(_0x214c2e[_0x1b1433(0x1e8)]=!![],await this[_0x1b1433(0x290)](_0x214c2e)));})[_0x5f4e4e(0x24e)](EVENT_RUN_END,async()=>{const _0x49e264=_0x5f4e4e;try{if(_0x16766e[_0x49e264(0x21f)](testhubUtils[_0x49e264(0x2fb)](),!![])){const _0x41dd99=_0x16766e[_0x49e264(0x287)](getHookSkippedTests,this[_0x49e264(0x228)]['suite']);for(const _0x1902c5 of _0x41dd99){!_0x1902c5[_0x49e264(0x304)]&&(_0x1902c5[_0x49e264(0x304)]=_0x16766e[_0x49e264(0x21e)](uuidv4)),await this[_0x49e264(0x290)](_0x1902c5,undefined,![],_0x16766e['Fhlsn']);}}}catch(_0x4307da){_0x16766e[_0x49e264(0x2f1)](debug,_0x49e264(0x1f6)+_0x4307da);}await requestQueueHandler[_0x49e264(0x29f)](),_0x16766e[_0x49e264(0x2ad)](this[_0x49e264(0x233)],_0x16766e[_0x49e264(0x311)])&&Base[_0x49e264(0x28b)](this['docHtml']);});if(this['type']&&![_0x16766e[_0x5f4e4e(0x311)],_0x16766e[_0x5f4e4e(0x219)],_0x16766e[_0x5f4e4e(0x294)],_0x16766e[_0x5f4e4e(0x24a)]]['includes'](this[_0x5f4e4e(0x233)])){const _0x4774a0=this[_0x5f4e4e(0x233)][_0x5f4e4e(0x289)]();this['Reporter']=null;try{this[_0x5f4e4e(0x1fe)]=_0x16766e[_0x5f4e4e(0x2ce)](requireModule,_0x5f4e4e(0x241)+_0x4774a0+_0x5f4e4e(0x222),_0x16766e[_0x5f4e4e(0x271)]);}catch(_0x474c08){_0x16766e['cAQpc'](debug,_0x5f4e4e(0x253)+_0x474c08);}if(_0x16766e['NspFo'](this[_0x5f4e4e(0x1fe)],null))try{this[_0x5f4e4e(0x1fe)]=_0x16766e['fRcTd'](require,_0x4774a0);}catch(_0x51155f){console['error'](_0x5f4e4e(0x214)+_0x4774a0);}if(_0x16766e[_0x5f4e4e(0x23b)](this[_0x5f4e4e(0x1fe)],null)){const _0x5574cd={};_0x5574cd[_0x5f4e4e(0x2bf)]=_0x12efc7[_0x5f4e4e(0x27f)],this[_0x5f4e4e(0x1fe)]=new this[(_0x5f4e4e(0x1fe))](_0x11af74,_0x5574cd);}}}[a30_0x1015bc(0x307)](){const _0x42f873=a30_0x1015bc,_0x1a5191={'Obvlh':function(_0x55cb17,_0x1a603e){return _0x55cb17(_0x1a603e);}};return _0x1a5191[_0x42f873(0x1e9)](Array,this[_0x42f873(0x30d)])[_0x42f873(0x204)]('\x20\x20');}[a30_0x1015bc(0x26d)](){const _0x4ae441=a30_0x1015bc;this[_0x4ae441(0x30d)]++;}['decreaseIndent'](){const _0x2e8636=a30_0x1015bc;this[_0x2e8636(0x30d)]--;}['docAppend'](_0x287582){const _0x277d4c=a30_0x1015bc;this[_0x277d4c(0x25e)]+=_0x287582;}[a30_0x1015bc(0x2c2)](_0x2f2ac6,_0x13df62){const _0x469141=a30_0x1015bc,_0x350751={'wJDak':function(_0x464e28,_0x5920dd){return _0x464e28(_0x5920dd);}},_0x3d4192={};_0x3d4192[_0x469141(0x2b3)]=_0x2f2ac6,_0x3d4192[_0x469141(0x2f3)]=this[_0x469141(0x2e1)],_0x350751['wJDak'](_0x13df62,_0x3d4192);}[a30_0x1015bc(0x29a)](){const _0x260e98=a30_0x1015bc;process[_0x260e98(0x266)](_0x260e98(0x2cb)+process[_0x260e98(0x26a)]),process['on'](_0x260e98(0x2cb)+process[_0x260e98(0x26a)],this[_0x260e98(0x28c)][_0x260e98(0x218)](this)),process['removeAllListeners'](_0x260e98(0x2a3)+process['pid']),process['on'](_0x260e98(0x2a3)+process[_0x260e98(0x26a)],this[_0x260e98(0x240)][_0x260e98(0x218)](this));}[a30_0x1015bc(0x276)]=async _0x5d24e5=>{const _0x407702=a30_0x1015bc,_0x3e4273={'maHpW':function(_0xcbb547){return _0xcbb547();},'kTWBM':_0x407702(0x213),'hwPHt':function(_0x547547,_0x3f26b6){return _0x547547>_0x3f26b6;},'gMuin':function(_0x39b879,_0x511ec3){return _0x39b879===_0x511ec3;},'MVfpg':_0x407702(0x209),'zdttB':function(_0x59f6b6,_0x324d6d){return _0x59f6b6(_0x324d6d);}};try{const _0x15380d=this['current_test'];this['current_test']=_0x5d24e5,_0x5d24e5['retryOf']=null,_0x5d24e5['testAnalyticsId']=_0x3e4273[_0x407702(0x231)](uuidv4),globals[_0x407702(0x1ee)](_0x3e4273['kTWBM'],_0x5d24e5['testAnalyticsId']),_0x5d24e5[_0x407702(0x268)]=new Date()[_0x407702(0x212)](),_0x3e4273[_0x407702(0x1dc)](_0x5d24e5['_currentRetry'],0x0)&&_0x15380d&&_0x3e4273[_0x407702(0x275)](_0x15380d[_0x407702(0x201)],_0x5d24e5[_0x407702(0x201)])?(_0x5d24e5['retryOf']=_0x15380d[_0x407702(0x304)],await this[_0x407702(0x290)](_0x5d24e5,undefined,![],_0x3e4273[_0x407702(0x23e)]),_0x15380d[_0x407702(0x31a)]=STATE_FAILED,await this[_0x407702(0x290)](_0x15380d,undefined,!![])):await this[_0x407702(0x290)](_0x5d24e5,undefined,![],_0x3e4273[_0x407702(0x23e)]);}catch(_0x33e76c){_0x3e4273[_0x407702(0x2f5)](debug,_0x407702(0x1f5)+_0x33e76c);}};[a30_0x1015bc(0x290)]=async(_0xf81975,_0x292ed2=undefined,_0x1babe1=![],_0x2dd42a='TestRunFinished')=>{const _0x2eb9ee=a30_0x1015bc,_0x5e013a={'YnaUN':function(_0x35d71e,_0x21cd61){return _0x35d71e===_0x21cd61;},'ItaXi':function(_0x385381,_0x5b789b){return _0x385381!==_0x5b789b;},'tBBJj':_0x2eb9ee(0x269),'Vmjgh':_0x2eb9ee(0x277),'xofLq':function(_0x400666,_0x3a9e28){return _0x400666!==_0x3a9e28;},'jXybE':'File\x20path\x20could\x20not\x20be\x20found','GGIjO':_0x2eb9ee(0x273),'lWftZ':_0x2eb9ee(0x207),'uFjNy':_0x2eb9ee(0x24b),'ncAIy':_0x2eb9ee(0x234),'cMZTQ':function(_0x488e9f,_0x3ccc11){return _0x488e9f-_0x3ccc11;},'fFjPF':_0x2eb9ee(0x2e5),'plqsE':_0x2eb9ee(0x235),'VNDZc':'TestRunFinished','ECTwk':_0x2eb9ee(0x209),'gZQQw':function(_0x1e5518){return _0x1e5518();},'gnFHD':function(_0x55cbb5,_0x3c1f9c){return _0x55cbb5===_0x3c1f9c;},'WKdVZ':_0x2eb9ee(0x268),'ExmCl':_0x2eb9ee(0x200),'pqNDz':function(_0x2e096f,_0x4c6c68){return _0x2e096f(_0x4c6c68);},'PBpCh':_0x2eb9ee(0x2e0),'QpjWm':function(_0x416642,_0x27e99d){return _0x416642!==_0x27e99d;},'DNdOX':'failed','FBaYR':_0x2eb9ee(0x28f),'OSAuZ':function(_0x153f2c,_0x2ab417){return _0x153f2c===_0x2ab417;},'pnwFr':_0x2eb9ee(0x2d6),'PjTSi':_0x2eb9ee(0x288),'HaCkF':_0x2eb9ee(0x248),'xaxAq':_0x2eb9ee(0x306),'TkkBy':'failure_reason_expanded','IUNuX':_0x2eb9ee(0x1e5),'yEoyS':_0x2eb9ee(0x2bd),'wXAFd':_0x2eb9ee(0x31b),'Utnbf':_0x2eb9ee(0x2e7),'QGIVu':function(_0x478967,_0x12d0be){return _0x478967(_0x12d0be);}};try{if(_0xf81975['body']&&_0xf81975[_0x2eb9ee(0x2c1)][_0x2eb9ee(0x2aa)](/browserstack internal helper hook/))return;let _0x8c8b64=[];if(_0x5e013a[_0x2eb9ee(0x211)](_0xf81975[_0x2eb9ee(0x31a)],STATE_FAILED)){if(_0x5e013a[_0x2eb9ee(0x225)](_0xf81975[_0x2eb9ee(0x277)],undefined))_0x8c8b64=_0xf81975[_0x2eb9ee(0x277)][_0x2eb9ee(0x29b)]?[_0xf81975['err']['multiple'],_0x5e013a['tBBJj']]:[_0xf81975[_0x2eb9ee(0x277)],_0x5e013a[_0x2eb9ee(0x318)]];else _0x5e013a[_0x2eb9ee(0x225)](_0x292ed2,undefined)?_0x8c8b64=[_0x292ed2,_0x5e013a['Vmjgh']]:_0x8c8b64=[];}const _0x1479fb=_0x5e013a[_0x2eb9ee(0x2b9)](_0xf81975[_0x2eb9ee(0x277)],undefined)?_0xf81975[_0x2eb9ee(0x277)]['toString']():_0x5e013a[_0x2eb9ee(0x2b9)](_0x292ed2,undefined)?_0x292ed2[_0x2eb9ee(0x2ea)]():undefined;let _0x1c8da9;try{_0x1c8da9=this['getRootParentFile'](_0xf81975);}catch(_0x5ad777){_0x1c8da9=null;}const _0x325e7f=_0x1c8da9?this['findGitConfig'](_0x1c8da9):null,_0x588058=_0x1c8da9?this[_0x2eb9ee(0x224)][_0x2eb9ee(0x2a2)](this[_0x2eb9ee(0x2b6)](_0xf81975)):_0x5e013a[_0x2eb9ee(0x206)],_0x389951={'framework':_0x5e013a[_0x2eb9ee(0x26c)],'uuid':_0xf81975[_0x2eb9ee(0x304)]||_0xf81975[_0x2eb9ee(0x30e)],'name':_0xf81975[_0x2eb9ee(0x201)],'body':{'lang':_0x5e013a['lWftZ'],'code':_0xf81975['body']},'scope':this[_0x2eb9ee(0x292)](_0xf81975),'scopes':this[_0x2eb9ee(0x313)](_0xf81975),'identifier':_0xf81975[_0x2eb9ee(0x2d2)](),'file_name':_0x588058,'vc_filepath':_0x325e7f?path[_0x2eb9ee(0x2af)](_0x325e7f,_0x1c8da9):null,'location':_0x588058,'result':_0x5e013a[_0x2eb9ee(0x211)](_0x2dd42a,_0x5e013a[_0x2eb9ee(0x2ca)])?_0x5e013a[_0x2eb9ee(0x2cd)]:this['analyticsResult'](_0xf81975[_0x2eb9ee(0x31a)]),'failure_reason':_0x1479fb,'duration_in_ms':_0xf81975[_0x2eb9ee(0x27e)]||(_0x2dd42a[_0x2eb9ee(0x2aa)](/Finished/)||_0x2dd42a['match'](/Skipped/)?_0x5e013a[_0x2eb9ee(0x22f)](Date[_0x2eb9ee(0x1f8)](),new Date(_0xf81975['started_at'])['getTime']()):null),'started_at':_0xf81975[_0x2eb9ee(0x268)],'finished_at':_0x2dd42a['match'](/Finished/)||_0x2dd42a[_0x2eb9ee(0x2aa)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x2eb9ee(0x205)](null,_0x8c8b64),'failure_type':!_0x1479fb?null:_0x1479fb[_0x2eb9ee(0x2aa)](/AssertionError/)?_0x5e013a[_0x2eb9ee(0x315)]:_0x5e013a[_0x2eb9ee(0x1dd)],'retry_of':_0xf81975[_0x2eb9ee(0x2fd)]};if([_0x5e013a[_0x2eb9ee(0x2ca)],_0x5e013a[_0x2eb9ee(0x1f0)],_0x5e013a[_0x2eb9ee(0x2c7)]][_0x2eb9ee(0x244)](_0x2dd42a)){if(_0x5e013a[_0x2eb9ee(0x21d)](getCentralUser)[_0x2eb9ee(0x272)]){const _0x185b16=TestMetadata['get'](_0xf81975[_0x2eb9ee(0x304)]);if(_0x185b16){const _0x14ed17={};_0x14ed17[_0x2eb9ee(0x272)]=_0x185b16,Object[_0x2eb9ee(0x291)](_0x389951,_0x14ed17);}}}testhubUtils[_0x2eb9ee(0x260)](_0x389951,_0x2dd42a,_0xf81975,FRAMEWORKS[_0x2eb9ee(0x2a6)]);(_0xf81975[_0x2eb9ee(0x2a7)]||_0xf81975[_0x2eb9ee(0x278)])&&centralScannerUtils['setCentralScannerData'](_0x389951,_0xf81975[_0x2eb9ee(0x2a7)],_0xf81975[_0x2eb9ee(0x278)]);_0x5e013a[_0x2eb9ee(0x1e3)](_0x2dd42a,_0x5e013a[_0x2eb9ee(0x2ca)])&&!_0x389951[_0x5e013a[_0x2eb9ee(0x256)]]&&(_0x389951[_0x5e013a['WKdVZ']]=_0x389951[_0x5e013a[_0x2eb9ee(0x297)]]);if(_0x2dd42a[_0x2eb9ee(0x2aa)](/HookRun/))[_0x389951[_0x2eb9ee(0x2bd)],_0x389951[_0x2eb9ee(0x299)]]=_0x5e013a[_0x2eb9ee(0x262)](getHookDetails,_0xf81975[_0x2eb9ee(0x2d2)]()||_0xf81975[_0x2eb9ee(0x2b1)]||_0xf81975[_0x2eb9ee(0x201)]),_0x5e013a['gnFHD'](_0x2dd42a,_0x5e013a['PBpCh'])&&(_0x5e013a[_0x2eb9ee(0x1ea)](_0x389951['result'],_0x5e013a[_0x2eb9ee(0x31f)])&&(_0x389951[_0x2eb9ee(0x227)]=_0x5e013a[_0x2eb9ee(0x296)]),_0x5e013a[_0x2eb9ee(0x2fa)](_0x389951[_0x2eb9ee(0x2bd)],_0x5e013a[_0x2eb9ee(0x2f9)])&&_0x5e013a[_0x2eb9ee(0x211)](_0x389951[_0x2eb9ee(0x227)],_0x5e013a[_0x2eb9ee(0x31f)])&&!_0xf81975['ctx'][_0x2eb9ee(0x210)][_0x2eb9ee(0x1e8)]&&(_0xf81975[_0x2eb9ee(0x2c0)][_0x2eb9ee(0x210)][_0x2eb9ee(0x1e8)]=!![],_0xf81975[_0x2eb9ee(0x2c0)][_0x2eb9ee(0x210)]['state']=STATE_FAILED,await this[_0x2eb9ee(0x290)](_0xf81975[_0x2eb9ee(0x2c0)][_0x2eb9ee(0x210)],undefined,!![])));else _0x2dd42a[_0x2eb9ee(0x2aa)](/TestRun/)&&_0x5e013a[_0x2eb9ee(0x262)](mapTestHooks,_0xf81975);const _0x186050=_0x389951[_0x5e013a[_0x2eb9ee(0x25c)]][0x0];_0x186050&&(_0x389951[_0x5e013a[_0x2eb9ee(0x295)]]=_0x186050[_0x5e013a[_0x2eb9ee(0x2c4)]],_0x389951[_0x5e013a[_0x2eb9ee(0x208)]]=_0x186050[_0x5e013a[_0x2eb9ee(0x1e2)]]);[_0x5e013a[_0x2eb9ee(0x1f0)],_0x5e013a['uFjNy']]['includes'](_0x2dd42a)&&(this[_0x2eb9ee(0x28d)]['push'](_0x389951),_0x389951[_0x2eb9ee(0x283)]=_0x5e013a[_0x2eb9ee(0x262)](getHooksForTest,_0xf81975));const _0x42ce71={'event_type':_0x5e013a[_0x2eb9ee(0x1e3)](_0x2dd42a,_0x5e013a['uFjNy'])?_0x5e013a['VNDZc']:_0x2dd42a};_0x2dd42a[_0x2eb9ee(0x2aa)](/HookRun/)?(_0x389951[_0x5e013a[_0x2eb9ee(0x216)]]=HOOK_TYPES_MAP[_0x389951[_0x5e013a[_0x2eb9ee(0x216)]]],_0x42ce71[_0x5e013a[_0x2eb9ee(0x243)]]=_0x389951):_0x42ce71[_0x5e013a[_0x2eb9ee(0x223)]]=_0x389951,testhubUtils[_0x2eb9ee(0x2a1)](FRAMEWORKS['MOCHA'],_0x42ce71),await SessionHandler['uploadEventData'](_0x42ce71);}catch(_0x59eb2e){_0x5e013a[_0x2eb9ee(0x27a)](debug,_0x2eb9ee(0x2ab)+_0x2dd42a+_0x2eb9ee(0x247)+_0x59eb2e);}};['findGitConfig'](_0x49a893){const _0x584887=a30_0x1015bc,_0x403ca5={};_0x403ca5['fqfzd']=function(_0x3a386f,_0x6aba87){return _0x3a386f===_0x6aba87;},_0x403ca5[_0x584887(0x255)]=_0x584887(0x217),_0x403ca5[_0x584887(0x2a0)]='config';const _0x3d7558=_0x403ca5,_0x2525ec=path[_0x584887(0x1ff)];if(_0x3d7558[_0x584887(0x1fa)](_0x49a893,null)||_0x3d7558[_0x584887(0x1fa)](_0x49a893,'')||_0x3d7558[_0x584887(0x1fa)](_0x49a893,_0x2525ec)||_0x3d7558[_0x584887(0x1fa)](_0x49a893,path[_0x584887(0x2b7)](_0x49a893)))return null;try{return fs[_0x584887(0x29c)](path[_0x584887(0x204)](_0x49a893,_0x3d7558[_0x584887(0x255)],_0x3d7558[_0x584887(0x2a0)])),_0x49a893;}catch(_0xdd32bd){const _0x4f4cf1=path['dirname'](_0x49a893);return this[_0x584887(0x2cf)](_0x4f4cf1);}}[a30_0x1015bc(0x28c)]=async _0x16cf16=>{const _0x2692ba=a30_0x1015bc,_0x22040f={'XyKcu':_0x2692ba(0x1fb),'uBOxo':function(_0x1bec58,_0x5772ad){return _0x1bec58(_0x5772ad);}};try{this[_0x2692ba(0x23d)]&&!this[_0x2692ba(0x23d)]['markedStatus']&&(_0x16cf16[_0x2692ba(0x2f2)]=this[_0x2692ba(0x23d)][_0x2692ba(0x30e)]);!_0x16cf16[_0x2692ba(0x2f2)]&&this[_0x2692ba(0x2dc)]&&!this[_0x2692ba(0x2dc)][_0x2692ba(0x1e8)]&&(_0x16cf16['test_run_uuid']=this[_0x2692ba(0x2dc)][_0x2692ba(0x304)]);if(_0x16cf16[_0x2692ba(0x2f2)]||_0x16cf16[_0x2692ba(0x251)]){const _0x305c2f={};_0x305c2f[_0x2692ba(0x1f2)]=_0x22040f['XyKcu'],_0x305c2f[_0x2692ba(0x203)]=[_0x16cf16],await SessionHandler[_0x2692ba(0x2a4)](_0x305c2f);}}catch(_0x29fdc7){_0x22040f[_0x2692ba(0x312)](debug,_0x2692ba(0x301)+_0x29fdc7);}};[a30_0x1015bc(0x240)]=async _0x5b6e25=>{const _0x4a8052=a30_0x1015bc,_0x55040e={'MHADZ':'http_response','rDNXP':_0x4a8052(0x284),'TINBk':function(_0x5da325,_0x4e4e33){return _0x5da325(_0x4e4e33);}};try{const _0x85b3c={};_0x85b3c[_0x4a8052(0x2c5)]=_0x5b6e25[_0x4a8052(0x2c5)]||this['current_test'][_0x4a8052(0x304)],_0x85b3c[_0x4a8052(0x220)]=_0x5b6e25[_0x55040e[_0x4a8052(0x281)]];const _0x503924=_0x85b3c,_0x5a5ab9={};_0x5a5ab9[_0x4a8052(0x1f2)]=_0x55040e[_0x4a8052(0x2ae)],_0x5a5ab9['test_run']=_0x503924,await SessionHandler[_0x4a8052(0x2a4)](_0x5a5ab9);}catch(_0x21306f){_0x55040e[_0x4a8052(0x2eb)](debug,_0x4a8052(0x202)+_0x21306f);}};[a30_0x1015bc(0x26f)](_0x56621a){const _0x5ae9cc=a30_0x1015bc,_0x277489={};_0x277489[_0x5ae9cc(0x31c)]=_0x5ae9cc(0x28f),_0x277489[_0x5ae9cc(0x232)]=_0x5ae9cc(0x282),_0x277489[_0x5ae9cc(0x246)]='failed';const _0x3c449b=_0x277489,_0x35197e={};return _0x35197e[STATE_PASSED]=_0x3c449b[_0x5ae9cc(0x31c)],_0x35197e[STATE_PENDING]=_0x3c449b[_0x5ae9cc(0x232)],_0x35197e[STATE_FAILED]=_0x3c449b['gpgaH'],_0x35197e[_0x56621a];}[a30_0x1015bc(0x292)](_0x412d0e){const _0x415a1f=a30_0x1015bc,_0x35395a={};_0x35395a[_0x415a1f(0x1df)]=function(_0x94f8e,_0x4aa7bc){return _0x94f8e-_0x4aa7bc;};const _0x4a3de0=_0x35395a,_0x181959=_0x412d0e[_0x415a1f(0x20a)]();return _0x181959[_0x415a1f(0x24d)](0x0,_0x4a3de0[_0x415a1f(0x1df)](_0x181959[_0x415a1f(0x1e6)],0x1))[_0x415a1f(0x204)]('\x20');}[a30_0x1015bc(0x313)](_0x1842de){const _0x1af0b4=a30_0x1015bc,_0x2b348c={};_0x2b348c[_0x1af0b4(0x2a9)]=function(_0x82830a,_0x3c2331){return _0x82830a-_0x3c2331;};const _0x24ae13=_0x2b348c,_0x4a6411=_0x1842de[_0x1af0b4(0x20a)]();return _0x4a6411['slice'](0x0,_0x24ae13['iadBn'](_0x4a6411[_0x1af0b4(0x1e6)],0x1));}[a30_0x1015bc(0x2b6)](_0xe67ea8){const _0x30f8b6=a30_0x1015bc,_0x1138cf={};_0x1138cf[_0x30f8b6(0x2e9)]=function(_0x1364b3,_0x15db47){return _0x1364b3>_0x15db47;};const _0x52db9b=_0x1138cf;if(_0xe67ea8['file'])return _0xe67ea8[_0x30f8b6(0x22e)];if(_0xe67ea8[_0x30f8b6(0x2c0)]){const _0x1d2e8c=_0xe67ea8[_0x30f8b6(0x2c0)][_0x30f8b6(0x210)]?this[_0x30f8b6(0x2b6)](_0xe67ea8['ctx'][_0x30f8b6(0x210)]):null;if(_0x1d2e8c)return _0x1d2e8c;}if(_0xe67ea8[_0x30f8b6(0x1de)]){const _0x19a540=this['getRootParentFile'](_0xe67ea8[_0x30f8b6(0x1de)])||(_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x2c0)]&&_0xe67ea8['parent'][_0x30f8b6(0x2c0)]['currentTest']?this[_0x30f8b6(0x2b6)](_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x2c0)]['currentTest']):null);if(_0x19a540)return _0x19a540;_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x274)]&&_0x52db9b[_0x30f8b6(0x2e9)](_0xe67ea8[_0x30f8b6(0x1de)][_0x30f8b6(0x274)]['length'],0x0)&&_0xe67ea8['parent'][_0x30f8b6(0x274)][_0x30f8b6(0x21a)](_0x4e5030=>{const _0xda9f86=_0x30f8b6,_0x239d9c=_0x4e5030[_0xda9f86(0x2c0)]?this[_0xda9f86(0x2b6)](_0x4e5030['ctx']):null;if(_0x239d9c)return _0x239d9c;});}return null;}}module[a30_0x1015bc(0x2b0)]=MyReporter;
1
+ 'use strict';function a30_0x1ec9(){const _0x2a29d0=['inspect','\x20\x20<dt\x20class=\x22error\x22>','oEMoJ','uSZZQ','failed','kPnkT','bang','gPnGG','stdout','BEFORE_ALL','started_at','QQOxN','slVim','escape','QuKAQ','__indents','sep','xQJTN','duration','pending','wsxKa','before\x20all','redirectUrl','registerListeners','YFNKL','match','EVENT','testObservability','mrKdN','LCiZG','sBNVk','cwd','currentRetry','toString','lZOlT','../../../helpers/logger','test_run','doc','once','wkWdK','bLZYh','../../../helpers/test-observability/sessionHandler','jwOVk','hook_run_uuid','name','Ztddk','</dd>','docAppend','RVfTI','GAgha','mocha/lib/runnable.js','passed','length','ntWjD','removeAllListeners','testStarted','err','mocha','../../../helpers/testhub/constants','currentTest','uuid','getRootParentFile','\x20\x20<dd\x20class=\x22error\x22><pre><code>','ZisUl','\x20(%dms)','symbols','yGsoP','bsIUo','type','call','setGlobal','clean','test_run_uuid','FFThe','_paths','trim','appendTestItemLog','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','RsHtm','mfHqz','lTsxR','sendTestRunEvent','after\x20each','testRunUUID','checkmark','title','AFTER_ALL','expanded','forEach','retryOf','fhGQf','slice','HookRunFinished','ctx','UTgJd','\x20\x20%d)\x20%s','MbHjy','../../../helpers/test-observability/requestQueueHandler','1355821IpwcaA','\x20%s','DomQp','appendTestPlatform','cRMJd','decreaseIndent','.js','uploadEventData','mxOHx','4|3|0|2|1','titlePath','glWAl','pid','2661420rHLogE','HookRunStarted','ntemG','WNhpr','toISOString','hook_type','suiteCount','RUNNING','Reporter','hook_run','EbOOS','Tophz','push','indent','YJTET','shutdown','result','pass','failure','__platform__','../../../helpers/helper','jxjgn','CssjI','NEwOz','File\x20path\x20could\x20not\x20be\x20found','usANb','color','body','lcnc','236EYiCBy','jQKkq','TestRunStarted','wKXLZ','current_hook','DTeBL','7396130YZSTXP','CRtdz','YBZGW','state','7tHZzWh','PROJE','root','cxKMi','XCHHp','fail','hookAnalyticsId','qOyym','TuLKv','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','Exception\x20in\x20browserstack\x20custome\x20reporter\x20with\x20error:\x20','<dl>','.git','docHtml','AvNwQ','test','VSbeY','HookStarted','\x20-\x20','ROMyp','markedStatus','tzZNr','72mOsNCb','sFqmn','Jajgj','failure_reason_expanded','xunit','setCurrentTestData','_indents','WoiXc','OagSm','failureCount','Failed\x20to\x20load\x20reporter\x20','scope','fhAox','winstonLogger','mocha/lib/reporters/base.js','failCount','multiple','current_test','green','13677VcRAkb','backtrace','1003446TEfoiQ','file','now','dirname','getInstance','runner','KKpsE','UbYzr','LogCreated','avUIQ','4692498tjicJw','VhGKk','vztiR','ORNIG','zQZig','iFMyo','COMPLETED','suite','</h1>','MOCHA','IMrvA','KjgkR','QsJkv','statSync','appendTesthubParams','speed','Nkimk','YfsQq','AmWVF','write','done','yECFg','GGURs','bvTgI','mocha/lib/reporters/','ptIyB','logs','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bind','mocha/lib/utils.js','835911ZNUnyz','finalResults','../../../helpers/testhub/utils','analyticsResult','TestRunFinished','scopes','shouldProcessEventForTesthub','ifbcD','_upstreamConfig','setCentralScannerData','getTime','_testEnv','</dt>','split','iXkKU','DCjrP','findGitConfig','light','before\x20each','bsConfig','_testResults','fast','suites','prefixTestPath','results','zqaZp','CBTSessionCreated','AtZSI','isPending','fullTitle','increaseIndent','dot','QMOqg','jNXYO','after\x20all','TestRunSkipped','constants','</code></pre></dd>','QaQjl','VrLEg','../../../helpers/metadata','parent','\x20\x20<dd\x20class=\x22error\x22>','BEFORE_EACH','../../../helpers/central-scanner/helpers','_buildCreated','reporterOption','\x20\x20<dt>','includes','join','gaGqn','hooks','consoleLog','wzEXR','event_type','bs:addPlatformDetails:','IGvfa','mXSzY','skipped','bnXqa','assign','YOKLW','get','ibBtV','HookFinished','apply','ZEzhK','khhVP','responseCode','CHlbn','testAnalyticsId','nNtKP'];a30_0x1ec9=function(){return _0x2a29d0;};return a30_0x1ec9();}const a30_0x30305f=a30_0x4c37;function a30_0x4c37(_0x4ec952,_0x3196ee){const _0x1ec9e8=a30_0x1ec9();return a30_0x4c37=function(_0x4c3723,_0x5ceb6b){_0x4c3723=_0x4c3723-0x16b;let _0x319004=_0x1ec9e8[_0x4c3723];return _0x319004;},a30_0x4c37(_0x4ec952,_0x3196ee);}(function(_0x396855,_0x8c5a66){const _0x49a1ce=a30_0x4c37,_0x490ca4=_0x396855();while(!![]){try{const _0x82f4a=parseInt(_0x49a1ce(0x179))/0x1+parseInt(_0x49a1ce(0x1d8))/0x2+parseInt(_0x49a1ce(0x1d6))/0x3*(parseInt(_0x49a1ce(0x1a3))/0x4)+-parseInt(_0x49a1ce(0x186))/0x5+-parseInt(_0x49a1ce(0x1e2))/0x6*(parseInt(_0x49a1ce(0x1ad))/0x7)+-parseInt(_0x49a1ce(0x1c3))/0x8*(parseInt(_0x49a1ce(0x200))/0x9)+parseInt(_0x49a1ce(0x1a9))/0xa;if(_0x82f4a===_0x8c5a66)break;else _0x490ca4['push'](_0x490ca4['shift']());}catch(_0xf79a42){_0x490ca4['push'](_0x490ca4['shift']());}}}(a30_0x1ec9,0xaec54));const util=require('util'),fs=require('fs'),path=require('path'),{requireModule,getCentralUser}=require('../../../helpers/helper'),Base=requireModule(a30_0x30305f(0x1d1),a30_0x30305f(0x281)),utils=requireModule(a30_0x30305f(0x1ff),a30_0x30305f(0x281)),color=Base[a30_0x30305f(0x1a0)],Mocha=requireModule(a30_0x30305f(0x281)),Runnable=requireModule(a30_0x30305f(0x27a),a30_0x30305f(0x281)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require(a30_0x30305f(0x19a)),testhubUtils=require(a30_0x30305f(0x202)),centralScannerUtils=require(a30_0x30305f(0x22c)),testHubConstants=require(a30_0x30305f(0x282)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),globals=require('../../../helpers/globals'),logger=require(a30_0x30305f(0x26b))[a30_0x30305f(0x1d0)],TestMetadata=require(a30_0x30305f(0x228)),a30_0x1c8b10={};a30_0x1c8b10[a30_0x30305f(0x25d)]=a30_0x30305f(0x251),a30_0x1c8b10[a30_0x30305f(0x222)]=a30_0x30305f(0x16d),a30_0x1c8b10[a30_0x30305f(0x212)]=a30_0x30305f(0x22b),a30_0x1c8b10[a30_0x30305f(0x29a)]='AFTER_EACH';const HOOK_TYPES_MAP=a30_0x1c8b10,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a30_0x30305f(0x224)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a30_0x30305f(0x224)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a30_0x30305f(0x271)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a30_0x30305f(0x178)),requestQueueHandler=RequestQueueHandler[a30_0x30305f(0x1dc)]();class MyReporter{constructor(_0x348a70,_0x341929){const _0x1aceb6=a30_0x30305f,_0x5c1d1a={'wzEXR':function(_0x20c082,_0x2bef96){return _0x20c082===_0x2bef96;},'Nkimk':'spec','FFThe':function(_0x154688,_0x3bd46a){return _0x154688+_0x3bd46a;},'tuuZE':function(_0xf28991,_0x1a48df,_0x32ac0a){return _0xf28991(_0x1a48df,_0x32ac0a);},'VhGKk':_0x1aceb6(0x1d5),'oEMoJ':'%s\x20','VSbeY':function(_0x5a7ed5,_0x271e41,_0x1087cf){return _0x5a7ed5(_0x271e41,_0x1087cf);},'GAgha':_0x1aceb6(0x211),'KKpsE':'%s\x20-\x20%s','CRtdz':_0x1aceb6(0x18d),'XCHHp':function(_0x4b6249,_0x2d32fa){return _0x4b6249===_0x2d32fa;},'QQOxN':_0x1aceb6(0x26d),'khhVP':function(_0x1dad53){return _0x1dad53();},'uSZZQ':function(_0x308839){return _0x308839();},'zuyRf':_0x1aceb6(0x187),'PROJE':function(_0xfa90c1,_0x18a11e){return _0xfa90c1===_0x18a11e;},'QsJkv':_0x1aceb6(0x173),'WNhpr':function(_0x380eca,_0x941524){return _0x380eca===_0x941524;},'ORNIG':_0x1aceb6(0x27b),'YOKLW':_0x1aceb6(0x215),'GGURs':function(_0x147f7f,_0x1f6f06,_0x314672){return _0x147f7f(_0x1f6f06,_0x314672);},'Tophz':_0x1aceb6(0x16b),'DTeBL':function(_0x43585f,_0x4c1b1f){return _0x43585f+_0x4c1b1f;},'xQJTN':_0x1aceb6(0x197),'mXSzY':_0x1aceb6(0x17a),'nNtKP':function(_0x35e20e,_0x4ed426){return _0x35e20e+_0x4ed426;},'IdlgB':function(_0x3f6b80,_0x2bdc6a){return _0x3f6b80+_0x2bdc6a;},'aEQrN':function(_0x310614,_0x57c30d){return _0x310614+_0x57c30d;},'ROMyp':function(_0xd7e43a,_0x5a6b93,_0x566b3a){return _0xd7e43a(_0x5a6b93,_0x566b3a);},'QuKAQ':_0x1aceb6(0x288),'kPnkT':function(_0x203102,_0x48d277){return _0x203102+_0x48d277;},'YJTET':function(_0x273daf,_0x4fac81,_0xd638fb){return _0x273daf(_0x4fac81,_0xd638fb);},'QaQjl':_0x1aceb6(0x1b2),'YfsQq':_0x1aceb6(0x176),'bvTgI':function(_0x267e33,_0x230de9){return _0x267e33===_0x230de9;},'qgQFG':function(_0xf56412,_0x4f303b){return _0xf56412+_0x4f303b;},'ifbcD':function(_0x28991c,_0x526acf,_0x3a1ce7){return _0x28991c(_0x526acf,_0x3a1ce7);},'EbOOS':'bright\x20yellow','YEoVN':_0x1aceb6(0x1e8),'LCiZG':function(_0x33b4ba,_0xe08f48){return _0x33b4ba===_0xe08f48;},'KjgkR':function(_0x46f0ca,_0x3526ae){return _0x46f0ca===_0x3526ae;},'MbHjy':'dot','ePoiL':'slow','OagSm':function(_0x478391,_0x30a924){return _0x478391===_0x30a924;},'Ztddk':function(_0x3e6f69,_0x205b60){return _0x3e6f69===_0x205b60;},'wKXLZ':function(_0x470202,_0x5e64f2){return _0x470202===_0x5e64f2;},'CHlbn':_0x1aceb6(0x182),'AvNwQ':function(_0x775742,_0x34c71e){return _0x775742===_0x34c71e;},'zQZig':_0x1aceb6(0x25b),'PrMnn':function(_0x3977fc){return _0x3977fc();},'cRMJd':_0x1aceb6(0x223),'RVfTI':function(_0x853568,_0x1acfb6){return _0x853568===_0x1acfb6;},'iFMyo':function(_0x4d11c9,_0x2de04c){return _0x4d11c9===_0x2de04c;},'qOyym':function(_0x3c942a,_0x1df4b3){return _0x3c942a(_0x1df4b3);},'PjqyD':function(_0x37828b){return _0x37828b();},'yECFg':function(_0x1c4ccc,_0x5247d3){return _0x1c4ccc(_0x5247d3);},'UbYzr':function(_0x6d616b){return _0x6d616b();},'cvVmm':_0x1aceb6(0x1c7),'duIjg':function(_0x8ce624,_0x4c621e,_0x2f6709){return _0x8ce624(_0x4c621e,_0x2f6709);},'sFqmn':_0x1aceb6(0x281),'WoiXc':function(_0x598647,_0x257956){return _0x598647(_0x257956);},'wsxKa':function(_0x14a4d4,_0x47ff4b){return _0x14a4d4===_0x47ff4b;},'mxOHx':function(_0x2e1b37,_0x211425){return _0x2e1b37!==_0x211425;}};this['type']=_0x341929['reporterOption']['type'],this[_0x1aceb6(0x263)]=_0x5c1d1a[_0x1aceb6(0x1df)](isTestObservabilitySession),Base[_0x1aceb6(0x28d)](this,_0x348a70,_0x341929),this[_0x1aceb6(0x1c9)]=0x0,this[_0x1aceb6(0x1d2)]=0x0,this[_0x1aceb6(0x218)]=[],this['finalResults']=[],this[_0x1aceb6(0x18c)]=0x0,this[_0x1aceb6(0x22d)]=![],this[_0x1aceb6(0x214)]=[],this[_0x1aceb6(0x20b)]=_0x5c1d1a[_0x1aceb6(0x24b)](getTestEnv),this[_0x1aceb6(0x292)]=new PathHelper({'cwd':process[_0x1aceb6(0x267)]()},this['_testEnv']['location_prefix']),this[_0x1aceb6(0x208)]=_0x341929[_0x1aceb6(0x22e)][_0x1aceb6(0x213)],this[_0x1aceb6(0x25f)]();_0x5c1d1a['PROJE'](this[_0x1aceb6(0x28c)],_0x5c1d1a[_0x1aceb6(0x253)])&&(this[_0x1aceb6(0x1ba)]='',this[_0x1aceb6(0x257)]=0x2);_0x348a70[_0x1aceb6(0x26e)](EVENT_RUN_BEGIN,async()=>{const _0x374d3e=_0x1aceb6;_0x5c1d1a['wzEXR'](this[_0x374d3e(0x28c)],_0x5c1d1a[_0x374d3e(0x1f2)])&&Base[_0x374d3e(0x234)]();})['on'](EVENT_SUITE_BEGIN,_0xbaafef=>{const _0x49e60d=_0x1aceb6;if(_0xbaafef[_0x49e60d(0x1af)])return;if(_0x5c1d1a[_0x49e60d(0x235)](this[_0x49e60d(0x28c)],_0x5c1d1a['Nkimk']))this[_0x49e60d(0x21e)](),Base[_0x49e60d(0x234)](_0x5c1d1a[_0x49e60d(0x291)](_0x5c1d1a[_0x49e60d(0x291)](this[_0x49e60d(0x193)](),_0x5c1d1a['tuuZE'](color,_0x5c1d1a[_0x49e60d(0x1e3)],_0x5c1d1a[_0x49e60d(0x24a)])),_0x5c1d1a[_0x49e60d(0x1bd)](color,_0x5c1d1a['GAgha'],_0x5c1d1a[_0x49e60d(0x1de)])),_0x5c1d1a[_0x49e60d(0x1aa)],_0xbaafef[_0x49e60d(0x16c)],global[_0x49e60d(0x199)]);else _0x5c1d1a[_0x49e60d(0x1b1)](this[_0x49e60d(0x28c)],_0x5c1d1a[_0x49e60d(0x253)])&&(this[_0x49e60d(0x277)](this[_0x49e60d(0x193)]()+'<section\x20class=\x22suite\x22>'),++this[_0x49e60d(0x257)],this['docAppend'](this['indent']()+'<h1>'+utils[_0x49e60d(0x255)](_0xbaafef[_0x49e60d(0x16c)]+_0x49e60d(0x1bf)+global[_0x49e60d(0x199)])+_0x49e60d(0x1ea)),this[_0x49e60d(0x277)](this[_0x49e60d(0x193)]()+_0x49e60d(0x1b8)));})['on'](EVENT_HOOK_BEGIN,async _0x2e3ead=>{const _0x5cf791=_0x1aceb6;if(_0x5c1d1a[_0x5cf791(0x1b1)](testhubUtils[_0x5cf791(0x206)](testHubConstants[_0x5cf791(0x262)][_0x5cf791(0x1be)]),!![])){if(!_0x2e3ead[_0x5cf791(0x1b3)])_0x2e3ead[_0x5cf791(0x1b3)]=_0x5c1d1a[_0x5cf791(0x243)](uuidv4);else _0x2e3ead[_0x5cf791(0x1c1)]&&(_0x2e3ead[_0x5cf791(0x1b3)]=_0x5c1d1a[_0x5cf791(0x24b)](uuidv4),delete _0x2e3ead[_0x5cf791(0x1c1)]);_0x2e3ead[_0x5cf791(0x252)]=new Date()[_0x5cf791(0x18a)](),this[_0x5cf791(0x1a7)]=_0x2e3ead,await this[_0x5cf791(0x299)](_0x2e3ead,undefined,![],_0x5c1d1a['zuyRf']);}})['on'](EVENT_HOOK_END,async _0x548bb6=>{const _0x555f85=_0x1aceb6;_0x5c1d1a[_0x555f85(0x1ae)](testhubUtils[_0x555f85(0x206)](testHubConstants[_0x555f85(0x262)][_0x555f85(0x240)]),!![])&&(!_0x548bb6[_0x555f85(0x1c1)]&&(_0x548bb6[_0x555f85(0x1c1)]=!![],await this[_0x555f85(0x299)](_0x548bb6,undefined,![],_0x5c1d1a[_0x555f85(0x1ee)])));})['on'](EVENT_SUITE_END,_0x2967bf=>{const _0x269eec=_0x1aceb6;if(_0x2967bf['root'])return;if(_0x5c1d1a[_0x269eec(0x1f9)](this[_0x269eec(0x28c)],_0x5c1d1a[_0x269eec(0x1f2)]))Base[_0x269eec(0x234)](),Base[_0x269eec(0x234)](_0x5c1d1a[_0x269eec(0x247)](_0x5c1d1a['qgQFG'](this[_0x269eec(0x193)](),_0x5c1d1a[_0x269eec(0x207)](color,_0x5c1d1a[_0x269eec(0x190)],_0x5c1d1a[_0x269eec(0x24a)])),_0x5c1d1a[_0x269eec(0x1bd)](color,_0x5c1d1a[_0x269eec(0x279)],_0x5c1d1a[_0x269eec(0x1de)])),_0x5c1d1a['YEoVN'],_0x2967bf[_0x269eec(0x16c)],global[_0x269eec(0x199)]),this[_0x269eec(0x218)][_0x269eec(0x16f)](_0x475c1d=>{const _0x36a59a=_0x269eec;if(_0x5c1d1a[_0x36a59a(0x189)](_0x475c1d[_0x36a59a(0x1ac)],_0x5c1d1a[_0x36a59a(0x1e5)])){var _0x2ab6c1;_0x5c1d1a[_0x36a59a(0x1ae)](_0x475c1d[_0x36a59a(0x1f1)],_0x5c1d1a[_0x36a59a(0x23d)])?(_0x2ab6c1=_0x5c1d1a[_0x36a59a(0x291)](_0x5c1d1a['FFThe'](this['indent'](),_0x5c1d1a[_0x36a59a(0x1f8)](color,_0x5c1d1a[_0x36a59a(0x191)],_0x5c1d1a['DTeBL']('\x20\x20',Base['symbols']['ok']))),_0x5c1d1a[_0x36a59a(0x1bd)](color,_0x5c1d1a[_0x36a59a(0x259)],_0x5c1d1a['mXSzY'])),Base['consoleLog'](_0x2ab6c1,_0x475c1d['title'])):(_0x2ab6c1=_0x5c1d1a[_0x36a59a(0x247)](_0x5c1d1a['IdlgB'](_0x5c1d1a[_0x36a59a(0x1a8)](this[_0x36a59a(0x193)](),_0x5c1d1a[_0x36a59a(0x1bd)](color,_0x5c1d1a[_0x36a59a(0x191)],_0x5c1d1a['aEQrN']('\x20\x20',Base[_0x36a59a(0x289)]['ok']))),_0x5c1d1a['ROMyp'](color,_0x5c1d1a[_0x36a59a(0x259)],_0x5c1d1a[_0x36a59a(0x239)])),_0x5c1d1a[_0x36a59a(0x1c0)](color,_0x475c1d['speed'],_0x5c1d1a[_0x36a59a(0x256)])),Base[_0x36a59a(0x234)](_0x2ab6c1,_0x475c1d[_0x36a59a(0x16c)],_0x475c1d[_0x36a59a(0x25a)]));}else Base[_0x36a59a(0x234)](_0x5c1d1a[_0x36a59a(0x24d)](this[_0x36a59a(0x193)](),_0x5c1d1a[_0x36a59a(0x194)](color,_0x5c1d1a[_0x36a59a(0x226)],_0x5c1d1a[_0x36a59a(0x1f3)])),++this[_0x36a59a(0x1d2)],_0x475c1d[_0x36a59a(0x16c)]);}),this[_0x269eec(0x17e)]();else _0x5c1d1a[_0x269eec(0x265)](this[_0x269eec(0x28c)],_0x5c1d1a[_0x269eec(0x253)])&&(this[_0x269eec(0x277)](this[_0x269eec(0x193)]()+'</dl>'),--this[_0x269eec(0x257)],this['docAppend'](this[_0x269eec(0x193)]()+'</section>'),--this['__indents']);Array['prototype']['push']['apply'](this[_0x269eec(0x201)],this[_0x269eec(0x218)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x42f40a=>{const _0x579b34=_0x1aceb6;this[_0x579b34(0x218)][_0x579b34(0x192)]({'speed':_0x42f40a['speed'],'suite':_0x42f40a['parent'][_0x579b34(0x16c)],'title':_0x42f40a[_0x579b34(0x16c)],'fullTitle':_0x42f40a[_0x579b34(0x21d)](),'duration':_0x42f40a[_0x579b34(0x25a)],'state':_0x42f40a[_0x579b34(0x1ac)],'err':{},'currentRetry':_0x42f40a[_0x579b34(0x268)](),'titlePathV':_0x42f40a[_0x579b34(0x183)](),'isPending':_0x42f40a[_0x579b34(0x21c)]()});if(_0x5c1d1a[_0x579b34(0x1ed)](this[_0x579b34(0x28c)],_0x5c1d1a['MbHjy']))_0x5c1d1a[_0x579b34(0x1ae)](_0x42f40a[_0x579b34(0x1f1)],_0x5c1d1a['ePoiL'])?process['stdout']['write'](Base[_0x579b34(0x1a0)](_0x5c1d1a['EbOOS'],Base[_0x579b34(0x289)][_0x579b34(0x21f)])):process['stdout'][_0x579b34(0x1f5)](Base[_0x579b34(0x1a0)](_0x42f40a[_0x579b34(0x1f1)],Base[_0x579b34(0x289)][_0x579b34(0x21f)]));else{if(_0x5c1d1a['WNhpr'](this['type'],_0x5c1d1a[_0x579b34(0x253)])){this[_0x579b34(0x277)](this['indent']()+_0x579b34(0x22f)+utils[_0x579b34(0x255)](_0x42f40a['title'])+_0x579b34(0x20c)),this[_0x579b34(0x277)](this[_0x579b34(0x193)]()+'\x20\x20<dt>'+utils[_0x579b34(0x255)](_0x42f40a[_0x579b34(0x1d9)])+_0x579b34(0x20c));var _0x39a920=utils[_0x579b34(0x255)](utils[_0x579b34(0x28f)](_0x42f40a[_0x579b34(0x1a1)]));this[_0x579b34(0x277)](this[_0x579b34(0x193)]()+'\x20\x20<dd><pre><code>'+_0x39a920+_0x579b34(0x225));}}_0x5c1d1a['OagSm'](testhubUtils[_0x579b34(0x206)](),!![])&&(!_0x42f40a['markedStatus']&&(_0x42f40a[_0x579b34(0x1c1)]=!![],await this[_0x579b34(0x299)](_0x42f40a)));})['on'](EVENT_TEST_FAIL,async(_0x333dde,_0x2fc02a)=>{const _0x50cfba=_0x1aceb6;this[_0x50cfba(0x218)][_0x50cfba(0x192)]({'title':_0x333dde[_0x50cfba(0x16c)],'suite':_0x333dde[_0x50cfba(0x229)][_0x50cfba(0x16c)],'state':_0x333dde[_0x50cfba(0x1ac)],'err':{'message':util[_0x50cfba(0x248)](_0x2fc02a)},'fullTitle':_0x333dde[_0x50cfba(0x21d)](),'speed':_0x333dde[_0x50cfba(0x1f1)],'currentRetry':_0x333dde[_0x50cfba(0x268)](),'titlePathV':_0x333dde['titlePath']()});if(_0x5c1d1a[_0x50cfba(0x275)](this['type'],_0x5c1d1a[_0x50cfba(0x177)]))process[_0x50cfba(0x250)][_0x50cfba(0x1f5)](Base['color'](_0x5c1d1a[_0x50cfba(0x226)],Base[_0x50cfba(0x289)][_0x50cfba(0x24e)]));else{if(_0x5c1d1a[_0x50cfba(0x1a6)](this[_0x50cfba(0x28c)],_0x5c1d1a[_0x50cfba(0x253)])){const _0xd1a75b=_0x5c1d1a[_0x50cfba(0x245)][_0x50cfba(0x20d)]('|');let _0x557222=0x0;while(!![]){switch(_0xd1a75b[_0x557222++]){case'0':var _0x3bbfdf=utils[_0x50cfba(0x255)](utils['clean'](_0x333dde[_0x50cfba(0x1a1)]));continue;case'1':this[_0x50cfba(0x277)](this['indent']()+_0x50cfba(0x22a)+utils[_0x50cfba(0x255)](_0x333dde['err'])+_0x50cfba(0x276));continue;case'2':this[_0x50cfba(0x277)](this['indent']()+_0x50cfba(0x286)+_0x3bbfdf+'</code></pre></dd>');continue;case'3':this[_0x50cfba(0x277)](this['indent']()+_0x50cfba(0x249)+utils[_0x50cfba(0x255)](_0x333dde[_0x50cfba(0x1d9)])+'</dt>');continue;case'4':this[_0x50cfba(0x277)](this[_0x50cfba(0x193)]()+_0x50cfba(0x249)+utils[_0x50cfba(0x255)](_0x333dde[_0x50cfba(0x16c)])+'</dt>');continue;}break;}}}if(_0x5c1d1a[_0x50cfba(0x1bb)](testhubUtils[_0x50cfba(0x206)](testHubConstants['EVENT'][_0x50cfba(0x240)]),!![])){if(!_0x333dde[_0x50cfba(0x1c1)]){_0x333dde['markedStatus']=!![];if(_0x333dde[_0x50cfba(0x246)])await this['sendTestRunEvent'](_0x333dde,_0x2fc02a);else _0x333dde[_0x50cfba(0x1b3)]&&await this['sendTestRunEvent'](_0x333dde,_0x2fc02a,![],_0x5c1d1a[_0x50cfba(0x1ee)]);}}})['on'](EVENT_TEST_PENDING,async _0x48e229=>{const _0x2cfaf3=_0x1aceb6;this[_0x2cfaf3(0x218)]['push']({'title':_0x48e229[_0x2cfaf3(0x16c)],'suite':_0x48e229['parent']['title'],'state':_0x48e229[_0x2cfaf3(0x1ac)],'err':{},'fullTitle':_0x48e229[_0x2cfaf3(0x21d)](),'speed':_0x48e229[_0x2cfaf3(0x1f1)],'currentRetry':_0x48e229[_0x2cfaf3(0x268)](),'titlePathV':_0x48e229[_0x2cfaf3(0x183)]()}),_0x5c1d1a['WNhpr'](this[_0x2cfaf3(0x28c)],_0x5c1d1a['MbHjy'])&&process[_0x2cfaf3(0x250)]['write'](Base[_0x2cfaf3(0x1a0)](_0x5c1d1a[_0x2cfaf3(0x1e6)],Base[_0x2cfaf3(0x289)]['comma'])),_0x5c1d1a[_0x2cfaf3(0x1bb)](testhubUtils[_0x2cfaf3(0x206)](),!![])&&(!_0x48e229[_0x2cfaf3(0x246)]&&(_0x48e229[_0x2cfaf3(0x246)]=_0x5c1d1a['PrMnn'](uuidv4)),!_0x48e229[_0x2cfaf3(0x1c1)]&&(_0x48e229[_0x2cfaf3(0x1c1)]=!![],await this[_0x2cfaf3(0x299)](_0x48e229,undefined,![],_0x5c1d1a[_0x2cfaf3(0x17d)])));})['on'](EVENT_TEST_BEGIN,async _0x3eddbd=>{const _0x589883=_0x1aceb6;_0x5c1d1a[_0x589883(0x278)](testhubUtils[_0x589883(0x206)](),!![])&&await this['testStarted'](_0x3eddbd);})['on'](EVENT_TEST_END,async _0x3a91a9=>{const _0x28279a=_0x1aceb6;_0x5c1d1a[_0x28279a(0x1e7)](testhubUtils[_0x28279a(0x206)](),!![])&&(!_0x3a91a9[_0x28279a(0x1c1)]&&(_0x3a91a9[_0x28279a(0x1c1)]=!![],await this['sendTestRunEvent'](_0x3a91a9)));})[_0x1aceb6(0x26e)](EVENT_RUN_END,async()=>{const _0x4e35ff=_0x1aceb6;try{if(_0x5c1d1a[_0x4e35ff(0x1cb)](testhubUtils[_0x4e35ff(0x206)](),!![])){const _0x12b7f6=_0x5c1d1a[_0x4e35ff(0x1b4)](getHookSkippedTests,this[_0x4e35ff(0x1dd)][_0x4e35ff(0x1e9)]);for(const _0x25dd62 of _0x12b7f6){!_0x25dd62[_0x4e35ff(0x246)]&&(_0x25dd62[_0x4e35ff(0x246)]=_0x5c1d1a['PjqyD'](uuidv4)),await this[_0x4e35ff(0x299)](_0x25dd62,undefined,![],_0x5c1d1a[_0x4e35ff(0x17d)]);}}}catch(_0x4f0053){_0x5c1d1a[_0x4e35ff(0x1f7)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x4f0053);}await requestQueueHandler[_0x4e35ff(0x195)](),_0x5c1d1a[_0x4e35ff(0x1f9)](this[_0x4e35ff(0x28c)],_0x5c1d1a['QQOxN'])&&Base[_0x4e35ff(0x234)](this['docHtml']);});if(this[_0x1aceb6(0x28c)]&&![_0x5c1d1a[_0x1aceb6(0x253)],_0x5c1d1a['cvVmm'],_0x5c1d1a['Nkimk'],_0x5c1d1a[_0x1aceb6(0x177)]][_0x1aceb6(0x230)](this[_0x1aceb6(0x28c)])){const _0x14dd52=this['type'][_0x1aceb6(0x293)]();this['Reporter']=null;try{this['Reporter']=_0x5c1d1a['duIjg'](requireModule,_0x1aceb6(0x1fa)+_0x14dd52+_0x1aceb6(0x17f),_0x5c1d1a[_0x1aceb6(0x1c4)]);}catch(_0x1ffe85){_0x5c1d1a[_0x1aceb6(0x1ca)](debug,_0x1aceb6(0x1b7)+_0x1ffe85);}if(_0x5c1d1a[_0x1aceb6(0x25c)](this[_0x1aceb6(0x18e)],null))try{this['Reporter']=_0x5c1d1a['WoiXc'](require,_0x14dd52);}catch(_0x577843){console['error'](_0x1aceb6(0x1cd)+_0x14dd52);}if(_0x5c1d1a[_0x1aceb6(0x181)](this[_0x1aceb6(0x18e)],null)){const _0x298e71={};_0x298e71['reporterOptions']=_0x341929['reporterOption'],this['Reporter']=new this[(_0x1aceb6(0x18e))](_0x348a70,_0x298e71);}}}[a30_0x30305f(0x193)](){const _0x3e4e7a=a30_0x30305f,_0x21b051={'sBNVk':function(_0x3405b9,_0x3ff466){return _0x3405b9(_0x3ff466);}};return _0x21b051[_0x3e4e7a(0x266)](Array,this[_0x3e4e7a(0x1c9)])[_0x3e4e7a(0x231)]('\x20\x20');}[a30_0x30305f(0x21e)](){const _0x28c38b=a30_0x30305f;this[_0x28c38b(0x1c9)]++;}[a30_0x30305f(0x17e)](){this['_indents']--;}['docAppend'](_0x29917b){const _0x1fe3dc=a30_0x30305f;this[_0x1fe3dc(0x1ba)]+=_0x29917b;}[a30_0x30305f(0x1f6)](_0x176543,_0x4e7b17){const _0x3b2642=a30_0x30305f,_0x29fd35={'zqaZp':function(_0x52e283,_0x262a7e){return _0x52e283(_0x262a7e);}},_0xfde0bb={};_0xfde0bb[_0x3b2642(0x1cc)]=_0x176543,_0xfde0bb[_0x3b2642(0x218)]=this[_0x3b2642(0x201)],_0x29fd35[_0x3b2642(0x219)](_0x4e7b17,_0xfde0bb);}[a30_0x30305f(0x25f)](){const _0x151e8b=a30_0x30305f;process[_0x151e8b(0x27e)]('bs:addLog:'+process[_0x151e8b(0x185)]),process['on']('bs:addLog:'+process[_0x151e8b(0x185)],this[_0x151e8b(0x294)][_0x151e8b(0x1fe)](this)),process['removeAllListeners'](_0x151e8b(0x237)+process[_0x151e8b(0x185)]),process['on'](_0x151e8b(0x237)+process[_0x151e8b(0x185)],this[_0x151e8b(0x17c)][_0x151e8b(0x1fe)](this));}[a30_0x30305f(0x27f)]=async _0x189a56=>{const _0x279387=a30_0x30305f,_0x553c47={'KunGA':function(_0x1c538f){return _0x1c538f();},'fhAox':_0x279387(0x29b),'yGsoP':function(_0x4acf0d,_0x53d522){return _0x4acf0d>_0x53d522;},'mlCnJ':function(_0x418540,_0x2eb5af){return _0x418540===_0x2eb5af;},'DCjrP':_0x279387(0x1a5),'ojqpd':function(_0x1c652f,_0x3c301e){return _0x1c652f(_0x3c301e);}};try{const _0x2be130=this['current_test'];this[_0x279387(0x1d4)]=_0x189a56,_0x189a56[_0x279387(0x170)]=null,_0x189a56['testAnalyticsId']=_0x553c47['KunGA'](uuidv4),globals[_0x279387(0x28e)](_0x553c47[_0x279387(0x1cf)],_0x189a56[_0x279387(0x246)]),_0x189a56[_0x279387(0x252)]=new Date()[_0x279387(0x18a)](),_0x553c47[_0x279387(0x28a)](_0x189a56['_currentRetry'],0x0)&&_0x2be130&&_0x553c47['mlCnJ'](_0x2be130['title'],_0x189a56[_0x279387(0x16c)])?(_0x189a56[_0x279387(0x170)]=_0x2be130['testAnalyticsId'],await this[_0x279387(0x299)](_0x189a56,undefined,![],_0x553c47[_0x279387(0x20f)]),_0x2be130[_0x279387(0x1ac)]=STATE_FAILED,await this[_0x279387(0x299)](_0x2be130,undefined,!![])):await this[_0x279387(0x299)](_0x189a56,undefined,![],_0x553c47['DCjrP']);}catch(_0xa1086d){_0x553c47['ojqpd'](debug,_0x279387(0x295)+_0xa1086d);}};['sendTestRunEvent']=async(_0x4891cd,_0x1892ca=undefined,_0x484506=![],_0x5524db=a30_0x30305f(0x204))=>{const _0x504935=a30_0x30305f,_0x146a3c={'UTgJd':function(_0x1ae44b,_0x5a89ed){return _0x1ae44b===_0x5a89ed;},'gaGqn':function(_0x5bf8a6,_0x159239){return _0x5bf8a6!==_0x159239;},'AzuIN':_0x504935(0x1bc),'slVim':_0x504935(0x280),'vztiR':function(_0x4440d6,_0x3a427b){return _0x4440d6!==_0x3a427b;},'gPnGG':function(_0x24e6f8,_0x58d0dc){return _0x24e6f8!==_0x58d0dc;},'IGvfa':_0x504935(0x19e),'WKids':'Mocha','glWAl':'javascript','avUIQ':function(_0x468413,_0x9de2f1){return _0x468413===_0x9de2f1;},'wkWdK':'TestRunSkipped','bLZYh':_0x504935(0x23a),'ZEzhK':function(_0x171657,_0x18d8b8){return _0x171657-_0x18d8b8;},'lPcda':'AssertionError','YBZGW':'UnhandledError','VrLEg':'TestRunFinished','usANb':_0x504935(0x1a5),'bnXqa':function(_0x3e194a){return _0x3e194a();},'jQKkq':function(_0x3d76a7,_0x3c6cec){return _0x3d76a7===_0x3c6cec;},'ibBtV':_0x504935(0x252),'fhGQf':'finished_at','DomQp':function(_0x491569,_0x185c50){return _0x491569(_0x185c50);},'xLUgf':'HookRunFinished','iAsGz':function(_0xd0836,_0x3de9d0){return _0xd0836!==_0x3de9d0;},'tzZNr':_0x504935(0x24c),'KaxDQ':_0x504935(0x27b),'jwOVk':'before\x20each','Munpo':function(_0x96d0f4,_0x106b5a){return _0x96d0f4(_0x106b5a);},'QMOqg':_0x504935(0x198),'TuLKv':'failure_backtrace','ptIyB':_0x504935(0x1d7),'lZOlT':_0x504935(0x1c6),'IMrvA':_0x504935(0x16e),'NEwOz':function(_0x320e55,_0x95dff8){return _0x320e55(_0x95dff8);},'jNXYO':_0x504935(0x18b),'mrKdN':_0x504935(0x18f),'bsIUo':_0x504935(0x26c)};try{if(_0x4891cd[_0x504935(0x1a1)]&&_0x4891cd[_0x504935(0x1a1)][_0x504935(0x261)](/browserstack internal helper hook/))return;let _0x26f396=[];if(_0x146a3c[_0x504935(0x175)](_0x4891cd[_0x504935(0x1ac)],STATE_FAILED)){if(_0x146a3c[_0x504935(0x232)](_0x4891cd[_0x504935(0x280)],undefined))_0x26f396=_0x4891cd[_0x504935(0x280)][_0x504935(0x1d3)]?[_0x4891cd[_0x504935(0x280)][_0x504935(0x1d3)],_0x146a3c['AzuIN']]:[_0x4891cd['err'],_0x146a3c[_0x504935(0x254)]];else _0x146a3c[_0x504935(0x1e4)](_0x1892ca,undefined)?_0x26f396=[_0x1892ca,_0x146a3c[_0x504935(0x254)]]:_0x26f396=[];}const _0x58a970=_0x146a3c[_0x504935(0x1e4)](_0x4891cd[_0x504935(0x280)],undefined)?_0x4891cd[_0x504935(0x280)]['toString']():_0x146a3c[_0x504935(0x24f)](_0x1892ca,undefined)?_0x1892ca[_0x504935(0x269)]():undefined;let _0x48b158;try{_0x48b158=this[_0x504935(0x285)](_0x4891cd);}catch(_0xfd0e41){_0x48b158=null;}const _0x3ab741=_0x48b158?this['findGitConfig'](_0x48b158):null,_0x2c5adf=_0x48b158?this[_0x504935(0x292)][_0x504935(0x217)](this[_0x504935(0x285)](_0x4891cd)):_0x146a3c[_0x504935(0x238)],_0x115eeb={'framework':_0x146a3c['WKids'],'uuid':_0x4891cd['testAnalyticsId']||_0x4891cd['hookAnalyticsId'],'name':_0x4891cd[_0x504935(0x16c)],'body':{'lang':_0x146a3c[_0x504935(0x184)],'code':_0x4891cd[_0x504935(0x1a1)]},'scope':this[_0x504935(0x1ce)](_0x4891cd),'scopes':this[_0x504935(0x205)](_0x4891cd),'identifier':_0x4891cd['fullTitle'](),'file_name':_0x2c5adf,'vc_filepath':_0x3ab741?path['relative'](_0x3ab741,_0x48b158):null,'location':_0x2c5adf,'result':_0x146a3c[_0x504935(0x1e1)](_0x5524db,_0x146a3c[_0x504935(0x26f)])?_0x146a3c[_0x504935(0x270)]:this[_0x504935(0x203)](_0x4891cd[_0x504935(0x1ac)]),'failure_reason':_0x58a970,'duration_in_ms':_0x4891cd['duration']||(_0x5524db[_0x504935(0x261)](/Finished/)||_0x5524db[_0x504935(0x261)](/Skipped/)?_0x146a3c[_0x504935(0x242)](Date[_0x504935(0x1da)](),new Date(_0x4891cd[_0x504935(0x252)])[_0x504935(0x20a)]()):null),'started_at':_0x4891cd[_0x504935(0x252)],'finished_at':_0x5524db[_0x504935(0x261)](/Finished/)||_0x5524db[_0x504935(0x261)](/Skipped/)?new Date()[_0x504935(0x18a)]():null,'failure':failureData[_0x504935(0x241)](null,_0x26f396),'failure_type':!_0x58a970?null:_0x58a970[_0x504935(0x261)](/AssertionError/)?_0x146a3c['lPcda']:_0x146a3c[_0x504935(0x1ab)],'retry_of':_0x4891cd[_0x504935(0x170)]};if([_0x146a3c[_0x504935(0x26f)],_0x146a3c[_0x504935(0x227)],_0x146a3c[_0x504935(0x19f)]][_0x504935(0x230)](_0x5524db)){if(_0x146a3c[_0x504935(0x23b)](getCentralUser)[_0x504935(0x1a2)]){const _0x648d63=TestMetadata[_0x504935(0x23e)](_0x4891cd[_0x504935(0x246)]);if(_0x648d63){const _0x20ca24={};_0x20ca24[_0x504935(0x1a2)]=_0x648d63,Object[_0x504935(0x23c)](_0x115eeb,_0x20ca24);}}}testhubUtils[_0x504935(0x1f0)](_0x115eeb,_0x5524db,_0x4891cd,FRAMEWORKS[_0x504935(0x1eb)]);(_0x4891cd[_0x504935(0x244)]||_0x4891cd['redirectUrl'])&&centralScannerUtils[_0x504935(0x209)](_0x115eeb,_0x4891cd[_0x504935(0x244)],_0x4891cd[_0x504935(0x25e)]);_0x146a3c[_0x504935(0x1a4)](_0x5524db,_0x146a3c[_0x504935(0x26f)])&&!_0x115eeb[_0x146a3c[_0x504935(0x23f)]]&&(_0x115eeb[_0x146a3c[_0x504935(0x23f)]]=_0x115eeb[_0x146a3c[_0x504935(0x171)]]);if(_0x5524db[_0x504935(0x261)](/HookRun/))[_0x115eeb[_0x504935(0x18b)],_0x115eeb[_0x504935(0x274)]]=_0x146a3c['DomQp'](getHookDetails,_0x4891cd[_0x504935(0x21d)]()||_0x4891cd['originalTitle']||_0x4891cd[_0x504935(0x16c)]),_0x146a3c[_0x504935(0x1e1)](_0x5524db,_0x146a3c['xLUgf'])&&(_0x146a3c['iAsGz'](_0x115eeb[_0x504935(0x196)],_0x146a3c[_0x504935(0x1c2)])&&(_0x115eeb[_0x504935(0x196)]=_0x146a3c['KaxDQ']),_0x146a3c[_0x504935(0x175)](_0x115eeb[_0x504935(0x18b)],_0x146a3c[_0x504935(0x272)])&&_0x146a3c[_0x504935(0x1a4)](_0x115eeb[_0x504935(0x196)],_0x146a3c[_0x504935(0x1c2)])&&!_0x4891cd['ctx']['currentTest']['markedStatus']&&(_0x4891cd['ctx'][_0x504935(0x283)]['markedStatus']=!![],_0x4891cd['ctx']['currentTest'][_0x504935(0x1ac)]=STATE_FAILED,await this[_0x504935(0x299)](_0x4891cd[_0x504935(0x174)][_0x504935(0x283)],undefined,!![])));else _0x5524db['match'](/TestRun/)&&_0x146a3c['Munpo'](mapTestHooks,_0x4891cd);const _0x25c829=_0x115eeb[_0x146a3c[_0x504935(0x220)]][0x0];_0x25c829&&(_0x115eeb[_0x146a3c[_0x504935(0x1b5)]]=_0x25c829[_0x146a3c[_0x504935(0x1fb)]],_0x115eeb[_0x146a3c[_0x504935(0x26a)]]=_0x25c829[_0x146a3c[_0x504935(0x1ec)]]);[_0x146a3c['VrLEg'],_0x146a3c[_0x504935(0x26f)]]['includes'](_0x5524db)&&(this[_0x504935(0x214)][_0x504935(0x192)](_0x115eeb),_0x115eeb[_0x504935(0x233)]=_0x146a3c[_0x504935(0x19d)](getHooksForTest,_0x4891cd));const _0x245ca6={'event_type':_0x146a3c['avUIQ'](_0x5524db,_0x146a3c[_0x504935(0x26f)])?_0x146a3c['VrLEg']:_0x5524db};_0x5524db[_0x504935(0x261)](/HookRun/)?(_0x115eeb[_0x146a3c[_0x504935(0x221)]]=HOOK_TYPES_MAP[_0x115eeb[_0x146a3c['jNXYO']]],_0x245ca6[_0x146a3c[_0x504935(0x264)]]=_0x115eeb):_0x245ca6[_0x146a3c[_0x504935(0x28b)]]=_0x115eeb,testhubUtils[_0x504935(0x1c8)](FRAMEWORKS[_0x504935(0x1eb)],_0x245ca6),await SessionHandler[_0x504935(0x180)](_0x245ca6);}catch(_0xf2a1eb){_0x146a3c[_0x504935(0x17b)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5524db+'\x20with\x20error\x20:\x20'+_0xf2a1eb);}};['findGitConfig'](_0x486192){const _0x24bcf5=a30_0x30305f,_0x11e92e={};_0x11e92e[_0x24bcf5(0x188)]=function(_0x3854f5,_0x379719){return _0x3854f5===_0x379719;},_0x11e92e[_0x24bcf5(0x1b0)]=function(_0x38ea60,_0x5b98bf){return _0x38ea60===_0x5b98bf;},_0x11e92e[_0x24bcf5(0x296)]=_0x24bcf5(0x1b9),_0x11e92e[_0x24bcf5(0x287)]='config';const _0x2b2970=_0x11e92e,_0x31c80c=path[_0x24bcf5(0x258)];if(_0x2b2970[_0x24bcf5(0x188)](_0x486192,null)||_0x2b2970[_0x24bcf5(0x188)](_0x486192,'')||_0x2b2970[_0x24bcf5(0x1b0)](_0x486192,_0x31c80c)||_0x2b2970[_0x24bcf5(0x188)](_0x486192,path[_0x24bcf5(0x1db)](_0x486192)))return null;try{return fs[_0x24bcf5(0x1ef)](path[_0x24bcf5(0x231)](_0x486192,_0x2b2970[_0x24bcf5(0x296)],_0x2b2970['ZisUl'])),_0x486192;}catch(_0x137bbb){const _0x24d19f=path['dirname'](_0x486192);return this[_0x24bcf5(0x210)](_0x24d19f);}}[a30_0x30305f(0x294)]=async _0x3281ed=>{const _0x3ec7de=a30_0x30305f,_0x1706b2={'AtZSI':_0x3ec7de(0x1e0),'mfHqz':function(_0x5f3c9d,_0x3b2bd3){return _0x5f3c9d(_0x3b2bd3);}};try{this[_0x3ec7de(0x1a7)]&&!this[_0x3ec7de(0x1a7)][_0x3ec7de(0x1c1)]&&(_0x3281ed[_0x3ec7de(0x273)]=this[_0x3ec7de(0x1a7)][_0x3ec7de(0x1b3)]);!_0x3281ed[_0x3ec7de(0x273)]&&this[_0x3ec7de(0x1d4)]&&!this['current_test'][_0x3ec7de(0x1c1)]&&(_0x3281ed[_0x3ec7de(0x290)]=this[_0x3ec7de(0x1d4)]['testAnalyticsId']);if(_0x3281ed['hook_run_uuid']||_0x3281ed[_0x3ec7de(0x290)]){const _0x28796b={};_0x28796b[_0x3ec7de(0x236)]=_0x1706b2[_0x3ec7de(0x21b)],_0x28796b[_0x3ec7de(0x1fc)]=[_0x3281ed],await SessionHandler['uploadEventData'](_0x28796b);}}catch(_0x3f5c9f){_0x1706b2[_0x3ec7de(0x297)](debug,_0x3ec7de(0x1fd)+_0x3f5c9f);}};[a30_0x30305f(0x17c)]=async _0x183fcc=>{const _0x627a36=a30_0x30305f,_0x95472={'AmWVF':'http_response','jxjgn':_0x627a36(0x21a),'lTsxR':function(_0x1250a9,_0x22d9c5){return _0x1250a9(_0x22d9c5);}};try{const _0x374eb6={};_0x374eb6[_0x627a36(0x284)]=_0x183fcc['uuid']||this[_0x627a36(0x1d4)][_0x627a36(0x246)],_0x374eb6['integrations']=_0x183fcc[_0x95472[_0x627a36(0x1f4)]];const _0x4f7df3=_0x374eb6,_0x513342={};_0x513342[_0x627a36(0x236)]=_0x95472[_0x627a36(0x19b)],_0x513342[_0x627a36(0x26c)]=_0x4f7df3,await SessionHandler[_0x627a36(0x180)](_0x513342);}catch(_0x4ffa55){_0x95472[_0x627a36(0x298)](debug,_0x627a36(0x1b6)+_0x4ffa55);}};['analyticsResult'](_0x29bd5b){const _0x30d578=a30_0x30305f,_0x30819b={};_0x30819b[_0x30d578(0x19c)]='passed',_0x30819b['oGzeV']=_0x30d578(0x25b),_0x30819b[_0x30d578(0x1c5)]='failed';const _0x160006=_0x30819b,_0x1aa88f={};return _0x1aa88f[STATE_PASSED]=_0x160006[_0x30d578(0x19c)],_0x1aa88f[STATE_PENDING]=_0x160006['oGzeV'],_0x1aa88f[STATE_FAILED]=_0x160006[_0x30d578(0x1c5)],_0x1aa88f[_0x29bd5b];}[a30_0x30305f(0x1ce)](_0x379602){const _0x12cea9=a30_0x30305f,_0x1bdffe={};_0x1bdffe[_0x12cea9(0x27d)]=function(_0x51cdb9,_0x3f1fca){return _0x51cdb9-_0x3f1fca;};const _0x3ae6d1=_0x1bdffe,_0x1bacd1=_0x379602[_0x12cea9(0x183)]();return _0x1bacd1['slice'](0x0,_0x3ae6d1[_0x12cea9(0x27d)](_0x1bacd1[_0x12cea9(0x27c)],0x1))[_0x12cea9(0x231)]('\x20');}[a30_0x30305f(0x205)](_0x45ed21){const _0x1cd26e=a30_0x30305f,_0x3ec80f={};_0x3ec80f[_0x1cd26e(0x260)]=function(_0x384da7,_0x5198a0){return _0x384da7-_0x5198a0;};const _0x574c96=_0x3ec80f,_0x4594c9=_0x45ed21[_0x1cd26e(0x183)]();return _0x4594c9[_0x1cd26e(0x172)](0x0,_0x574c96[_0x1cd26e(0x260)](_0x4594c9[_0x1cd26e(0x27c)],0x1));}[a30_0x30305f(0x285)](_0x2dca1f){const _0x5284b9=a30_0x30305f,_0x291f0a={};_0x291f0a[_0x5284b9(0x20e)]=function(_0x54e9b7,_0x40787b){return _0x54e9b7>_0x40787b;};const _0x4017e8=_0x291f0a;if(_0x2dca1f[_0x5284b9(0x1d9)])return _0x2dca1f[_0x5284b9(0x1d9)];if(_0x2dca1f[_0x5284b9(0x174)]){const _0x337b68=_0x2dca1f[_0x5284b9(0x174)][_0x5284b9(0x283)]?this['getRootParentFile'](_0x2dca1f['ctx'][_0x5284b9(0x283)]):null;if(_0x337b68)return _0x337b68;}if(_0x2dca1f[_0x5284b9(0x229)]){const _0x295e79=this[_0x5284b9(0x285)](_0x2dca1f[_0x5284b9(0x229)])||(_0x2dca1f[_0x5284b9(0x229)][_0x5284b9(0x174)]&&_0x2dca1f[_0x5284b9(0x229)][_0x5284b9(0x174)][_0x5284b9(0x283)]?this['getRootParentFile'](_0x2dca1f[_0x5284b9(0x229)][_0x5284b9(0x174)][_0x5284b9(0x283)]):null);if(_0x295e79)return _0x295e79;_0x2dca1f['parent'][_0x5284b9(0x216)]&&_0x4017e8[_0x5284b9(0x20e)](_0x2dca1f[_0x5284b9(0x229)][_0x5284b9(0x216)][_0x5284b9(0x27c)],0x0)&&_0x2dca1f[_0x5284b9(0x229)][_0x5284b9(0x216)][_0x5284b9(0x16f)](_0x5c7405=>{const _0x1ca110=_0x5284b9,_0x42e48d=_0x5c7405[_0x1ca110(0x174)]?this['getRootParentFile'](_0x5c7405[_0x1ca110(0x174)]):null;if(_0x42e48d)return _0x42e48d;});}return null;}}module['exports']=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x3602ed=a31_0x4ce0;(function(_0x49f824,_0x38be16){const _0x2c2a52=a31_0x4ce0,_0x2f802b=_0x49f824();while(!![]){try{const _0x5a7348=-parseInt(_0x2c2a52(0x1ac))/0x1*(parseInt(_0x2c2a52(0x148))/0x2)+-parseInt(_0x2c2a52(0x1a7))/0x3+parseInt(_0x2c2a52(0x208))/0x4*(parseInt(_0x2c2a52(0x14b))/0x5)+-parseInt(_0x2c2a52(0x23b))/0x6*(-parseInt(_0x2c2a52(0x211))/0x7)+parseInt(_0x2c2a52(0x241))/0x8*(-parseInt(_0x2c2a52(0x240))/0x9)+-parseInt(_0x2c2a52(0x14c))/0xa*(-parseInt(_0x2c2a52(0x17a))/0xb)+-parseInt(_0x2c2a52(0x21d))/0xc*(-parseInt(_0x2c2a52(0x232))/0xd);if(_0x5a7348===_0x38be16)break;else _0x2f802b['push'](_0x2f802b['shift']());}catch(_0x26aa0c){_0x2f802b['push'](_0x2f802b['shift']());}}}(a31_0x4076,0x666d0));const chalk=require(a31_0x3602ed(0x1f2)),logger=require(a31_0x3602ed(0x243))['winstonLogger'],helper=require(a31_0x3602ed(0x1b2)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a31_0x3602ed(0x171)),{requireModule,nestedKeyValue}=require(a31_0x3602ed(0x1b2)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a31_0x3602ed(0x17f),a31_0x3602ed(0x185)),collectFiles=requireModule(a31_0x3602ed(0x1f4),a31_0x3602ed(0x185)),constants=require(a31_0x3602ed(0x22b)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a31_0x3602ed(0x157))[a31_0x3602ed(0x190)],centralScannerConstants=require(a31_0x3602ed(0x1ed)),{FRAMEWORKS}=require(a31_0x3602ed(0x142)),TestHubHandler=require(a31_0x3602ed(0x23f));function a31_0x4076(){const _0x1fb465=['finalExecution','dPWNl','ujoXt','YGxmU','LYPDh','info','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','central_scanner','passes','yMxgw','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../utils/constants','Couldn\x27t\x20write\x20xunit\x20result\x20to','Writing\x20xunit\x20result\x20to\x20file','launchBuild','GWEgQ','getErrorMessageFromResults','get','8399183HDsHQV','printBuildLink','zoJlq','test','testSuites','lAGTZ','****\x20FAILURES\x20****','getOwnPropertyNames','shouldReRunObservabilityTests','6ohmcfc','dpuIV','Total\x20Platforms:\x20','red','../../helpers/testhub/testhubHandler','18bowFqw','2019616ekmTGB','nQTGy','../../helpers/logger','SRWTK','stringify','platforms','../../helpers/test-observability/constants','files','json','Couldn\x27t\x20write\x20json\x20result\x20to','logLevel','testsFailed','1337370pXgjbN','tzCnY','DmbiN','10MzwCxf','60goPWAE','hasOwnProperty','reporter-option','\x0a\x0a\x0a','excludeTagsInTestingScope','Listing\x20all\x20the\x20failures','fuZsy','testObservability','yellow','list','uYvET','../../helpers/performance/constants','bJyMe','HQWbD','state','consoleLog','mpeqH','oVnPk','speed','Ntchu','nqouG','KCaMs','bgRedBright','keys','handleApp','cObMk','min','stack','tLTIn','skipped','QULcC','duration','dPpIN','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','getHubUrl','LwEgY','add','../test-runner','fullTitle','iyNUv','error\x20removing\x20tcg\x20config\x20file','SnfJb','bold','ikOXe','LhUHZ','</testsuite>','158576ZKSeUe','biwTi','testsuite','FZkyc','finally','mocha/lib/reporters/base.js','length','\x20platforms','testsPassed','Running\x20your\x20mocha\x20tests\x20across\x20','pwSFu','mocha','retries','JXjaC','qjLwv','MOCHA','maxRetries','setUserConfigPath','PdVIu','isBrowserstackInfra','MPZdx','currentRetry','EVENTS','kiBDo','VOlMR','CDuNK','mjs','push','SDKTestSuccessful','Fuyrf','TdfMU','log','DSVOs','getPlatformName','NyXuH','JYjFb','rrTtm','toUTCString','BaCGy','title','jLDBL','forEach','parse','errorMessage','Total\x20Suites:\x20','961734WcRfbn','\x20total','BROWSERSTACK_RERUN_TESTS','output','tpzXl','1hwDSjx','failed','framework','actual','extension','\x20skipped','../../helpers/helper','crEHg','nitXW','start','prepareCapabilities','reporterOptions','testsPending','accessibility','vZtiX','error','YBwnR','platform','getUserWorkerCount','useColors','hideDiff','cliConfig','bwPAr','doc','klAus','nTUBl','eiWNt','mBiBu','fireFunnelTestEvent','rmdirSync','accessibilityOptions','ECERo','then','testcase','join','titlePath','retryTestsOnFailure','object','totalTests','BHolu','iXVTG','generateDiff','VgwIy','writeFileSync','IzUbP','EZKrC','getTCGConfigFilePaths','FHYgc','eAxVp','FRAMEWORKS','isUndefined','pending','xanXr','debug','mezjh','message','includeTagsInTestingScope','rerunTests','dlZLQ','sort','results','Yqqyc','indexOf','failure','parallelsPerPlatform','../../helpers/central-scanner/constants','configuration','UBlqc','size','bkYHX','chalk','ZZQkc','mocha/lib/cli/collect-files.js','Running\x20your\x20mocha\x20tests','SDK_CLEANUP','assign','isPending','uzGBS','Tests:\x20\x20\x20\x20\x20\x20\x20','showDiff','Printing\x20stats\x20of\x20tests','passed','expected','tDIVh','ignore','NMXWh','Now,\x20showing\x20logs\x20from\x20mocha','BNmWF','Mocha\x20Tests','JsUjY','config','parseTestOrchestrationOptions','834196EYTOcA','has','bgBlueBright','suiteName','reporter','BbKND','lJsJH','isTestObservabilitySession','spec','5348126PFbKSX','proxySettings','err','gBoYA','green','cRIDX','WrVRQ','PRGiY','notifyUpdate','cdRTj','PitDu','QDhZQ','12uzOLzu','env','file'];a31_0x4076=function(){return _0x1fb465;};return a31_0x4076();}function tag(_0x34b910,_0x5cadc3,_0x51daba,_0x3017d5){const _0x3d3652=a31_0x3602ed,_0x25eade={'SRWTK':function(_0x54a1a6,_0x23e78f){return _0x54a1a6+_0x23e78f;},'PdVIu':function(_0x211f4a,_0x195a2e){return _0x211f4a+_0x195a2e;},'JmiSl':function(_0x29bca5,_0x3d9b2b){return _0x29bca5(_0x3d9b2b);},'cRIDX':function(_0x300bb8,_0x489235){return _0x300bb8+_0x489235;},'qjLwv':function(_0x2ddf1d,_0x1a3600){return _0x2ddf1d+_0x1a3600;}},_0x75fe4f=_0x51daba?'/>':'>',_0x5b69d8=[];let _0x47099c;for(const _0xe0b080 in _0x5cadc3){Object['prototype'][_0x3d3652(0x14d)]['call'](_0x5cadc3,_0xe0b080)&&_0x5b69d8['push'](_0x25eade['SRWTK'](_0x25eade[_0x3d3652(0x13f)](_0x25eade[_0x3d3652(0x18c)](_0xe0b080,'=\x22'),_0x25eade['JmiSl'](escape,_0x5cadc3[_0xe0b080])),'\x22'));}return _0x47099c=_0x25eade['SRWTK'](_0x25eade[_0x3d3652(0x18c)](_0x25eade[_0x3d3652(0x18c)]('<',_0x34b910),_0x5b69d8[_0x3d3652(0x180)]?_0x25eade[_0x3d3652(0x18c)]('\x20',_0x5b69d8[_0x3d3652(0x1ce)]('\x20')):''),_0x75fe4f),_0x3017d5&&(_0x47099c+=_0x25eade[_0x3d3652(0x13f)](_0x25eade[_0x3d3652(0x216)](_0x25eade[_0x3d3652(0x188)](_0x3017d5,'</'),_0x34b910),_0x75fe4f)),_0x47099c;}let xunitContent='';function xunitWrite(_0x59ca5f){xunitContent+=_0x59ca5f;}function a31_0x4ce0(_0x97d3ad,_0x73a6f3){const _0x407618=a31_0x4076();return a31_0x4ce0=function(_0x4ce004,_0x30543f){_0x4ce004=_0x4ce004-0x13f;let _0x21b812=_0x407618[_0x4ce004];return _0x21b812;},a31_0x4ce0(_0x97d3ad,_0x73a6f3);}function xunitTest(_0x41181b,_0x30b5b7){const _0x29184b=a31_0x3602ed,_0x177002={'tDIVh':function(_0x5a4c97,_0x310e78){return _0x5a4c97/_0x310e78;},'ikOXe':function(_0x221aa2,_0x22ad7a){return _0x221aa2===_0x22ad7a;},'DmbiN':_0x29184b(0x1ad),'QULcC':function(_0x2f3f9b,_0x53b37d){return _0x2f3f9b+_0x53b37d;},'LwEgY':function(_0x347939,_0x3f63da){return _0x347939(_0x3f63da);},'bJyMe':function(_0x5417a1,_0x240ee7,_0x40c7c5,_0x1f4050,_0x3bf419){return _0x5417a1(_0x240ee7,_0x40c7c5,_0x1f4050,_0x3bf419);},'BaCGy':_0x29184b(0x1cd),'JYjFb':_0x29184b(0x1eb),'OOviK':function(_0x2f5f7e,_0x509b1c){return _0x2f5f7e+_0x509b1c;},'cdRTj':function(_0x3124a7,_0x38ed58){return _0x3124a7+_0x38ed58;},'tLTIn':function(_0x2a9e77,_0x45092e){return _0x2a9e77(_0x45092e);},'kiBDo':function(_0x1efba1,_0x5310b2,_0x402e8e,_0x29f9ef){return _0x1efba1(_0x5310b2,_0x402e8e,_0x29f9ef);},'LAZQr':_0x29184b(0x169),'IzUbP':function(_0x4e7611,_0x157378){return _0x4e7611(_0x157378);}};Base[_0x29184b(0x1bf)]=![];var _0x4f3763={'classname':_0x41181b[_0x29184b(0x172)],'name':_0x41181b[_0x29184b(0x1a1)],'time':_0x177002[_0x29184b(0x1ff)](_0x41181b[_0x29184b(0x16b)],0x3e8)||0x0,'platform':_0x30b5b7};if(_0x177002[_0x29184b(0x177)](_0x41181b[_0x29184b(0x15a)],_0x177002[_0x29184b(0x14a)])){var _0x56260d=_0x41181b[_0x29184b(0x213)],_0x2a47a5=!Base[_0x29184b(0x1c0)]&&Base[_0x29184b(0x1fb)](_0x56260d)?_0x177002[_0x29184b(0x16a)]('\x0a',Base[_0x29184b(0x1d5)](_0x56260d[_0x29184b(0x1af)],_0x56260d[_0x29184b(0x1fe)])):'';_0x177002[_0x29184b(0x16f)](xunitWrite,_0x177002['bJyMe'](tag,_0x177002[_0x29184b(0x1a0)],_0x4f3763,![],_0x177002[_0x29184b(0x158)](tag,_0x177002[_0x29184b(0x19d)],{},![],_0x177002[_0x29184b(0x16a)](_0x177002['OOviK'](_0x177002[_0x29184b(0x21a)](_0x177002[_0x29184b(0x168)](escape,_0x56260d[_0x29184b(0x1e3)]),_0x177002[_0x29184b(0x16f)](escape,_0x2a47a5)),'\x0a'),_0x177002[_0x29184b(0x168)](escape,_0x56260d['stack'])))));}else _0x41181b[_0x29184b(0x1f8)]?_0x177002[_0x29184b(0x16f)](xunitWrite,_0x177002[_0x29184b(0x158)](tag,_0x177002[_0x29184b(0x1a0)],_0x4f3763,![],_0x177002[_0x29184b(0x191)](tag,_0x177002['LAZQr'],{},!![]))):_0x177002[_0x29184b(0x1d8)](xunitWrite,_0x177002[_0x29184b(0x191)](tag,_0x177002[_0x29184b(0x1a0)],_0x4f3763,!![]));};function getStats(_0x29900b){const _0x469b8d=a31_0x3602ed,_0x2047b5={};_0x2047b5['MNdnD']='suite',_0x2047b5['JsUjY']=_0x469b8d(0x1fd),_0x2047b5[_0x469b8d(0x1f9)]='failed',_0x2047b5[_0x469b8d(0x1d6)]=_0x469b8d(0x1e8);const _0x258205=_0x2047b5,_0xcfc958=Object[_0x469b8d(0x163)](_0x29900b);let _0x4aa3f4=0x0,_0x4d9b21=0x0,_0xde94f7=0x0,_0x4e95e1=0x0;const _0x48d287=new Set();_0xcfc958[_0x469b8d(0x1a3)](_0x45ff89=>{_0x29900b[_0x45ff89][_0x258205['VgwIy']]['forEach'](_0x457f99=>{const _0x174413=a31_0x4ce0;_0x48d287[_0x174413(0x170)](_0x457f99[_0x258205['MNdnD']]),_0x4aa3f4++;switch(_0x457f99[_0x174413(0x15a)]){case _0x258205[_0x174413(0x205)]:_0xde94f7++;break;case _0x258205[_0x174413(0x1f9)]:_0x4d9b21++;break;default:_0x4e95e1++;}});});const _0x7ef6da={};return _0x7ef6da[_0x469b8d(0x236)]=_0x48d287[_0x469b8d(0x1f0)],_0x7ef6da[_0x469b8d(0x141)]=_0xcfc958,_0x7ef6da[_0x469b8d(0x1d2)]=_0x4aa3f4,_0x7ef6da[_0x469b8d(0x147)]=_0x4d9b21,_0x7ef6da[_0x469b8d(0x182)]=_0xde94f7,_0x7ef6da[_0x469b8d(0x1b8)]=_0x4e95e1,_0x7ef6da;}function errorJSON(_0x3eb26d){const _0x4ec0e3=a31_0x3602ed;var _0x3d925d={};return Object[_0x4ec0e3(0x239)](_0x3eb26d)[_0x4ec0e3(0x1a3)](function(_0x157559){_0x3d925d[_0x157559]=_0x3eb26d[_0x157559];},_0x3eb26d),_0x3d925d;}function cleanCycles(_0x4b0f83){const _0x566971=a31_0x3602ed,_0x114522={};_0x114522[_0x566971(0x1cb)]=function(_0x1bd9c1,_0x3e39ae){return _0x1bd9c1===_0x3e39ae;},_0x114522[_0x566971(0x1ba)]=_0x566971(0x1d1),_0x114522['AJuCS']=function(_0x4fae3c,_0x439cbe){return _0x4fae3c!==_0x439cbe;},_0x114522[_0x566971(0x1c7)]=function(_0x44b591,_0x291426){return _0x44b591!==_0x291426;},_0x114522['jLDBL']=function(_0x277bf8,_0x547874){return _0x277bf8+_0x547874;};const _0x58c586=_0x114522;var _0x393a46=[];return JSON[_0x566971(0x1a4)](JSON[_0x566971(0x140)](_0x4b0f83,function(_0x1c8aff,_0xf04b8b){const _0x15e385=_0x566971;if(_0x58c586['ECERo'](typeof _0xf04b8b,_0x58c586[_0x15e385(0x1ba)])&&_0x58c586['AJuCS'](_0xf04b8b,null)){if(_0x58c586[_0x15e385(0x1c7)](_0x393a46[_0x15e385(0x1ea)](_0xf04b8b),-0x1))return _0x58c586[_0x15e385(0x1a2)]('',_0xf04b8b);_0x393a46[_0x15e385(0x195)](_0xf04b8b);}return _0xf04b8b;}));}function clean(_0x4f4330){const _0x34aabf=a31_0x3602ed,_0x10723c={'rrTtm':function(_0x30d50c,_0x19bb3c){return _0x30d50c instanceof _0x19bb3c;},'biwTi':function(_0x2a00c2,_0x146354){return _0x2a00c2(_0x146354);},'uYvET':function(_0x48f69a,_0x3a9136){return _0x48f69a(_0x3a9136);}};var _0x2fd25d=_0x4f4330['err']||{};return _0x10723c[_0x34aabf(0x19e)](_0x2fd25d,Error)&&(_0x2fd25d=_0x10723c[_0x34aabf(0x17b)](errorJSON,_0x2fd25d)),{'title':_0x4f4330[_0x34aabf(0x1a1)],'fullTitle':_0x4f4330['fullTitle'],'file':_0x4f4330['file'],'duration':_0x4f4330[_0x34aabf(0x16b)],'currentRetry':_0x4f4330[_0x34aabf(0x18f)],'speed':_0x4f4330[_0x34aabf(0x15e)],'err':_0x10723c[_0x34aabf(0x156)](cleanCycles,_0x2fd25d)};}function printStats(_0x4cbbad,_0x3630d9=a31_0x3602ed(0x210),_0x4ca94b={}){const _0x3780b0=a31_0x3602ed,_0x45389c={'PitDu':function(_0x1e6438,_0x5dd2a4){return _0x1e6438(_0x5dd2a4);},'YBwnR':function(_0x90e7bd,_0x59e51e){return _0x90e7bd===_0x59e51e;},'xanXr':_0x3780b0(0x1fd),'nQTGy':_0x3780b0(0x228),'LhUHZ':_0x3780b0(0x1ad),'dlZLQ':'failures','Yqqyc':function(_0x314eaf,_0x3012ed){return _0x314eaf(_0x3012ed);},'oVnPk':_0x3780b0(0x1df),'dpuIV':function(_0x1026f7,_0xdb6d30){return _0x1026f7(_0xdb6d30);},'NMXWh':_0x3780b0(0x1e8),'ygtla':function(_0xd81e88,_0x20a2ca){return _0xd81e88*_0x20a2ca;},'fcaut':function(_0x4bc7bc,_0x18763a,_0x352db2){return _0x4bc7bc(_0x18763a,_0x352db2);},'JXjaC':function(_0x1741a0,_0x18930d){return _0x1741a0===_0x18930d;},'bwPAr':function(_0x59c111,_0x2f525c){return _0x59c111>_0x2f525c;},'iXVTG':function(_0x1e8b81){return _0x1e8b81();},'nTUBl':function(_0x58db3f,_0x333292){return _0x58db3f===_0x333292;},'nitXW':_0x3780b0(0x1c3),'SnfJb':function(_0x431a8a,_0x465e5f){return _0x431a8a>_0x465e5f;},'KCaMs':'Setting\x20non\x20exit\x20code\x20for\x20failures','BHolu':_0x3780b0(0x1fc),'EjMGN':function(_0x83083a,_0x11d49d){return _0x83083a+_0x11d49d;},'ujoXt':_0x3780b0(0x23d),'nqouG':function(_0xd50882,_0x4c69ad){return _0xd50882+_0x4c69ad;},'UBlqc':_0x3780b0(0x1a6),'Aydqn':function(_0x4a763d,_0x36282d){return _0x4a763d+_0x36282d;},'fuZsy':function(_0x5181c0,_0x24700a){return _0x5181c0+_0x24700a;},'LYPDh':_0x3780b0(0x1fa),'tpzXl':function(_0x2761ab,_0x1bf178){return _0x2761ab>_0x1bf178;},'QDhZQ':function(_0x271c75,_0x4067de){return _0x271c75>_0x4067de;},'eAxVp':function(_0x363cea,_0x3ffff7){return _0x363cea+_0x3ffff7;},'klAus':function(_0x3d1d01,_0xd271cc){return _0x3d1d01+_0xd271cc;},'CDuNK':_0x3780b0(0x14f),'LzHOS':_0x3780b0(0x144),'iyNUv':'Writing\x20json\x20result\x20to\x20file','GWEgQ':_0x3780b0(0x145),'PRGiY':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','FZkyc':'xunit','mpeqH':_0x3780b0(0x204),'bkYHX':function(_0x569460,_0x159694){return _0x569460||_0x159694;},'xskGd':function(_0x18c859,_0x431aaf,_0x151bb4,_0x22c43b){return _0x18c859(_0x431aaf,_0x151bb4,_0x22c43b);},'gBoYA':_0x3780b0(0x17c),'mezjh':function(_0x400fea,_0x3db333){return _0x400fea-_0x3db333;},'crEHg':function(_0xa7f955,_0x52a206){return _0xa7f955-_0x52a206;},'tzCnY':function(_0x25b8b4,_0x5e2938){return _0x25b8b4/_0x5e2938;},'BNmWF':_0x3780b0(0x179),'YGxmU':_0x3780b0(0x22d),'HesfF':_0x3780b0(0x22c),'pwSFu':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','TdfMU':_0x3780b0(0x151),'dPpIN':_0x3780b0(0x238)};if(_0x45389c[_0x3780b0(0x1c5)](_0x3630d9,_0x45389c[_0x3780b0(0x1b4)]))return;const _0x1f7f99=0x0,_0xb11eaf=()=>{const _0x4b5474=_0x3780b0;return _0x45389c[_0x4b5474(0x21b)](Array,_0x1f7f99)[_0x4b5474(0x1ce)]('\x20\x20');},{testSuites:_0x48ec30,platforms:_0x26063b,totalTests:_0x4cacf9,testsFailed:_0xe9edc,testsPassed:_0x70f960,testsPending:_0x18b534}=_0x45389c['dpuIV'](getStats,_0x4cbbad);_0x45389c['SnfJb'](_0xe9edc,0x0)&&(logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x161)]),process['exitCode']=Math[_0x3780b0(0x166)](_0xe9edc,0xff));logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x1d3)]);const _0x2bf475=''+_0x45389c['EjMGN'](chalk[_0x3780b0(0x176)](_0x45389c[_0x3780b0(0x222)]),_0x26063b['length']),_0x52700c=''+_0x45389c['nqouG'](chalk[_0x3780b0(0x176)](_0x45389c[_0x3780b0(0x1ef)]),_0x48ec30),_0x326108=''+_0x45389c['Aydqn'](_0x45389c['nqouG'](_0x45389c[_0x3780b0(0x152)](chalk[_0x3780b0(0x176)](_0x45389c[_0x3780b0(0x224)]),_0x45389c[_0x3780b0(0x1ab)](_0xe9edc,0x0)?chalk['bold'][_0x3780b0(0x23e)](_0xe9edc+'\x20failed')+',\x20':''),_0x45389c[_0x3780b0(0x175)](_0x18b534,0x0)?chalk[_0x3780b0(0x176)][_0x3780b0(0x154)](_0x18b534+_0x3780b0(0x1b1))+',\x20':''),_0x45389c[_0x3780b0(0x21c)](_0x70f960,0x0)?chalk[_0x3780b0(0x176)][_0x3780b0(0x215)](_0x70f960+'\x20passed')+',\x20':'')+_0x4cacf9+_0x3780b0(0x1a8);console[_0x3780b0(0x199)](_0x45389c[_0x3780b0(0x160)](_0x45389c[_0x3780b0(0x160)](_0x45389c[_0x3780b0(0x160)](_0x45389c[_0x3780b0(0x1dc)](_0x45389c[_0x3780b0(0x1c4)](_0x45389c[_0x3780b0(0x193)],_0x2bf475),'\x0a'),_0x52700c),'\x0a'),_0x326108));if(_0x45389c[_0x3780b0(0x1c5)](_0x3630d9,_0x45389c['LzHOS'])){const _0x3a5fc0={},_0x41ea3c={};_0x41ea3c['testSuites']=_0x48ec30,_0x41ea3c[_0x3780b0(0x141)]=_0x26063b,_0x41ea3c[_0x3780b0(0x147)]=_0xe9edc,_0x41ea3c['testsPassed']=_0x70f960,_0x41ea3c[_0x3780b0(0x1b8)]=_0x18b534,_0x3a5fc0['stats']=_0x41ea3c,_0x26063b[_0x3780b0(0x1a3)](_0x5e2377=>{const _0x3af7d5=_0x3780b0;_0x3a5fc0[_0x5e2377]={'pending':[],'failures':[],'passes':[],'tests':_0x4cbbad[_0x5e2377][_0x45389c['NMXWh']]['map'](clean)},_0x4cbbad[_0x5e2377][_0x45389c[_0x3af7d5(0x201)]][_0x3af7d5(0x1a3)](_0x165be8=>{const _0x384f64=_0x3af7d5;if(_0x45389c[_0x384f64(0x1bc)](_0x165be8[_0x384f64(0x15a)],_0x45389c[_0x384f64(0x1e0)]))_0x3a5fc0[_0x5e2377][_0x45389c[_0x384f64(0x242)]]['push'](_0x45389c[_0x384f64(0x21b)](clean,_0x165be8));else _0x45389c['YBwnR'](_0x165be8['state'],_0x45389c[_0x384f64(0x178)])?_0x3a5fc0[_0x5e2377][_0x45389c[_0x384f64(0x1e6)]][_0x384f64(0x195)](_0x45389c[_0x384f64(0x1e9)](clean,_0x165be8)):_0x3a5fc0[_0x5e2377][_0x45389c[_0x384f64(0x15d)]]['push'](_0x45389c['dpuIV'](clean,_0x165be8));});});if(_0x4ca94b[_0x3780b0(0x1aa)])try{logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x173)],_0x4ca94b['output']),fs['writeFileSync'](_0x4ca94b[_0x3780b0(0x1aa)],JSON[_0x3780b0(0x140)](_0x3a5fc0,null,0x3));}catch(_0x40fa63){logger[_0x3780b0(0x1bb)](_0x45389c[_0x3780b0(0x22f)],_0x4ca94b['output']),logger[_0x3780b0(0x1e1)](_0x40fa63);}else logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x218)]),console['log'](JSON[_0x3780b0(0x140)](_0x3a5fc0,null,0x3));}else{if(_0x45389c[_0x3780b0(0x1c5)](_0x3630d9,_0x45389c[_0x3780b0(0x17d)])){let _0x4cea2c;const _0x2906e1=_0x45389c[_0x3780b0(0x15c)];_0x4ca94b&&(_0x4cea2c=_0x4ca94b[_0x3780b0(0x20b)]);_0x4cea2c=_0x45389c[_0x3780b0(0x1f1)](_0x4cea2c,_0x2906e1);let _0x2ccdbd=0x0,_0x3ae81e=0x0,_0x1471a5=0x0,_0x3be0be=0x0;_0x26063b[_0x3780b0(0x1a3)](_0x1f9b96=>{const _0x588e3e=_0x3780b0;_0x4cbbad[_0x1f9b96][_0x45389c[_0x588e3e(0x201)]]['forEach'](_0x1da7f9=>{const _0xf31115=_0x588e3e;if(_0x45389c[_0xf31115(0x1bc)](_0x1da7f9[_0xf31115(0x15a)],_0x45389c[_0xf31115(0x1e0)]))_0x2ccdbd++;else _0x45389c[_0xf31115(0x1bc)](_0x1da7f9[_0xf31115(0x15a)],_0x45389c[_0xf31115(0x178)])&&_0x3ae81e++;_0x1471a5++,_0x3be0be+=_0x45389c['ygtla'](_0x1da7f9[_0xf31115(0x16b)],0x1);});}),_0x45389c[_0x3780b0(0x23c)](xunitWrite,_0x45389c['xskGd'](tag,_0x45389c[_0x3780b0(0x214)],{'name':_0x4cea2c,'tests':_0x1471a5,'failures':0x0,'errors':_0x3ae81e,'skipped':_0x45389c[_0x3780b0(0x1e2)](_0x45389c[_0x3780b0(0x1b3)](_0x1471a5,_0x3ae81e),_0x2ccdbd),'timestamp':new Date()[_0x3780b0(0x19f)](),'time':_0x45389c[_0x3780b0(0x149)](_0x3be0be,0x3e8)||0x0},![])),_0x26063b['forEach'](_0x2de146=>{const _0x38f4c9=_0x3780b0,_0x331676={'VOlMR':function(_0x24dd26,_0x39c304,_0x2c5c8d){return _0x45389c['fcaut'](_0x24dd26,_0x39c304,_0x2c5c8d);}};_0x4cbbad[_0x2de146][_0x45389c[_0x38f4c9(0x201)]]['forEach'](_0x42e77d=>{const _0x57aaa8=_0x38f4c9;_0x331676[_0x57aaa8(0x192)](xunitTest,_0x42e77d,_0x2de146);});}),_0x45389c[_0x3780b0(0x1e9)](xunitWrite,_0x45389c[_0x3780b0(0x203)]);if(_0x4ca94b[_0x3780b0(0x1aa)])try{logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x223)],_0x4ca94b[_0x3780b0(0x1aa)]),fs[_0x3780b0(0x1d7)](_0x4ca94b['output'],xunitContent);}catch(_0x31e040){logger[_0x3780b0(0x1bb)](_0x45389c['HesfF'],_0x4ca94b[_0x3780b0(0x1aa)]),logger[_0x3780b0(0x1e1)](_0x31e040);}else logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x184)]),console[_0x3780b0(0x199)](xunitContent);}else{if(_0x45389c[_0x3780b0(0x1c5)](_0xe9edc,0x0))return;console[_0x3780b0(0x199)](),logger[_0x3780b0(0x1e1)](_0x45389c[_0x3780b0(0x198)]),console[_0x3780b0(0x199)](chalk['bold'][_0x3780b0(0x162)](_0x45389c[_0x3780b0(0x16c)])),_0x26063b[_0x3780b0(0x1a3)](_0x3e67e7=>{const _0x16fcdc=_0x3780b0,_0x3b743a=[];_0x4cbbad[_0x3e67e7][_0x45389c[_0x16fcdc(0x201)]][_0x16fcdc(0x1a3)](_0x32e279=>{const _0x3f3776=_0x16fcdc;_0x45389c[_0x3f3776(0x187)](_0x32e279['state'],_0x45389c['LhUHZ'])&&(_0x32e279[_0x3f3776(0x1cf)]=()=>_0x32e279['titlePathV'],_0x3b743a['push'](_0x32e279));}),_0x45389c[_0x16fcdc(0x1c2)](_0x3b743a[_0x16fcdc(0x180)],0x0)&&(Base[_0x16fcdc(0x15b)](),Base['consoleLog'](_0x45389c[_0x16fcdc(0x1d4)](_0xb11eaf),chalk['bold'][_0x16fcdc(0x20a)](_0x3e67e7)),Base[_0x16fcdc(0x155)](_0x3b743a));});}}}async function run(_0x2aa100,_0x44b980,_0x4ffc04){const _0x2a8831=a31_0x3602ed,_0x52b303={'lJsJH':function(_0x231a38,_0x542869,_0x26c517,_0x31b258){return _0x231a38(_0x542869,_0x26c517,_0x31b258);},'zoJlq':_0x2a8831(0x14e),'lAGTZ':_0x2a8831(0x174),'BbKND':_0x2a8831(0x196),'EZKrC':_0x2a8831(0x185),'MPZdx':function(_0x1e7957,_0x14d598){return _0x1e7957!=_0x14d598;},'wxVgZ':'cjs','NyXuH':_0x2a8831(0x194),'DSVOs':_0x2a8831(0x235),'WrVRQ':_0x2a8831(0x1e5),'cObMk':function(_0x43c522,_0x44ecc2){return _0x43c522(_0x44ecc2);},'eiWNt':function(_0x2ba7e8,_0x36130a,_0x570eb8){return _0x2ba7e8(_0x36130a,_0x570eb8);},'HQWbD':_0x2a8831(0x143),'SZYQo':function(_0xd02cbb,_0x138f1b){return _0xd02cbb!=_0x138f1b;},'ZZQkc':_0x2a8831(0x1e4),'yMxgw':_0x2a8831(0x150),'FHYgc':'includeEncodedExtension','itBIW':_0x2a8831(0x1f5),'Ntchu':_0x2a8831(0x202),'QodhH':function(_0x565062,_0x4e94df){return _0x565062*_0x4e94df;},'Fuyrf':function(_0x42fc52,_0xacf3e1){return _0x42fc52(_0xacf3e1);},'BsMsg':function(_0x4a2175,_0x62827e){return _0x4a2175!==_0x62827e;},'dPWNl':function(_0x21646e,_0x4bbe65,_0x228aba,_0x3a6c0d){return _0x21646e(_0x4bbe65,_0x228aba,_0x3a6c0d);}};helper[_0x2a8831(0x18b)](_0x4ffc04['framework'],_0x2aa100),await _0x4ffc04['initialize'](_0x2aa100);helper[_0x2a8831(0x18d)]()?await helper[_0x2a8831(0x164)](_0x4ffc04['config']):await _0x4ffc04['setupTCGAuth']();const _0x3c508d=[];let _0x2f749a=[];if(!_0x4ffc04[_0x2a8831(0x206)])return;!helper[_0x2a8831(0x1de)](_0x4ffc04['config']['accessibilityOptions'])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2a8831(0x140)](_0x4ffc04[_0x2a8831(0x206)]['accessibilityOptions']));const _0x329e19=await TestHubHandler[_0x2a8831(0x22e)](FRAMEWORKS[_0x2a8831(0x189)],_0x4ffc04);_0x52b303[_0x2a8831(0x18e)](_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x153)],null)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x153)]);!helper[_0x2a8831(0x1de)](_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x1b9)])&&(process[_0x2a8831(0x21e)][_0x2a8831(0x22a)]=_0x4ffc04[_0x2a8831(0x206)]['accessibility']);const {extension:extension=['js',_0x52b303['wxVgZ'],_0x52b303[_0x2a8831(0x19c)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x52b303[_0x2a8831(0x19a)]]}=_0x2aa100,_0x2d27b3={..._0x2aa100};_0x2d27b3['rootHooks']=null;const _0x27a4dc=_0x2d27b3;let _0x5725ae;if(testOpsHelper[_0x2a8831(0x20f)]()&&testOpsHelper[_0x2a8831(0x23a)]()){let _0x12ac54=process['env'][_0x2a8831(0x1a9)];!helper['isUndefined'](_0x4ffc04[_0x2a8831(0x1c1)])&&_0x4ffc04[_0x2a8831(0x1c1)][_0x2a8831(0x209)](_0x52b303[_0x2a8831(0x217)])&&(_0x12ac54=_0x4ffc04['cliConfig'][_0x2a8831(0x231)](_0x52b303[_0x2a8831(0x217)])),_0x5725ae=testOpsHelper['parseFileNames'](_0x12ac54);}if(helper[_0x2a8831(0x1de)](_0x5725ae)){const _0x2051ff={};_0x2051ff[_0x2a8831(0x200)]=ignore,_0x2051ff[_0x2a8831(0x1b0)]=extension,_0x2051ff[_0x2a8831(0x21f)]=file,_0x2051ff['recursive']=recursive,_0x2051ff[_0x2a8831(0x1e7)]=sort,_0x2051ff[_0x2a8831(0x210)]=spec,_0x5725ae=_0x52b303[_0x2a8831(0x165)](collectFiles,_0x2051ff),_0x52b303[_0x2a8831(0x1c6)](nestedKeyValue,_0x5725ae,[_0x52b303[_0x2a8831(0x159)]])&&(_0x5725ae=_0x5725ae[_0x2a8831(0x143)]);}const _0x496ab9=helper[_0x2a8831(0x207)](_0x4ffc04[_0x2a8831(0x206)]);!helper['isEmpty'](_0x496ab9)&&helper['isNotUndefined'](_0x496ab9[_0x2a8831(0x1d0)])&&(_0x27a4dc[_0x2a8831(0x186)]=_0x496ab9[_0x2a8831(0x1d0)][_0x2a8831(0x18a)]);if(!helper[_0x2a8831(0x18d)]()){const _0xc8ade2=0x1,_0x81cac9={..._0x27a4dc};_0x81cac9['spec']=[..._0x5725ae],_0x3c508d[_0x2a8831(0x195)]({'mochaOpts':_0x81cac9,'configuration':{'platform':os[_0x2a8831(0x1bd)]()}});if(_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x1b9)]){const _0x1f99aa={};_0x1f99aa[_0x2a8831(0x1b9)]=!![];const _0x28a005=_0x1f99aa;_0x52b303['SZYQo'](_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x1ca)],null)&&(_0x28a005[_0x2a8831(0x1ca)]=_0x4ffc04['config'][_0x2a8831(0x1ca)],delete _0x28a005[_0x2a8831(0x1ca)][_0x52b303[_0x2a8831(0x1f3)]],delete _0x28a005[_0x2a8831(0x1ca)][_0x52b303[_0x2a8831(0x229)]],delete _0x28a005[_0x2a8831(0x1ca)][_0x52b303[_0x2a8831(0x1db)]]);const _0x1e5dc1={};_0x1e5dc1['bstack:options']=_0x28a005,_0x3c508d[0x0][_0x2a8831(0x1ee)]['capability']=_0x1e5dc1;}logger[_0x2a8831(0x225)](_0x52b303['itBIW']),logger['info'](_0x52b303[_0x2a8831(0x15f)]),_0x52b303[_0x2a8831(0x20e)](parallelTestRun,_0x3c508d,_0xc8ade2,_0x4ffc04)[_0x2a8831(0x1cc)](_0x314984=>{const _0x525109=_0x2a8831;PerformanceTester[_0x525109(0x1b5)](PerformanceEvents[_0x525109(0x1f6)]),_0x52b303[_0x525109(0x20e)](printStats,_0x314984,_0x2aa100[_0x525109(0x20c)],_0x2aa100['reporterOptions']||_0x2aa100[_0x52b303[_0x525109(0x234)]]);})[_0x2a8831(0x17e)](()=>{const _0x340586=_0x2a8831;PerformanceTester[_0x340586(0x1b5)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0xa0fd8d,tcgConfigPath:_0x3eabc4}=helper[_0x340586(0x1da)]();fs['unlinkSync'](_0x3eabc4),fs[_0x340586(0x1c9)](_0xa0fd8d);}catch(_0x162cc7){logger[_0x340586(0x1e1)](_0x52b303[_0x340586(0x237)],_0x162cc7);}try{utilities[_0x340586(0x1c8)](_0x52b303[_0x340586(0x20d)],{},_0x4ffc04[_0x340586(0x206)],_0x4ffc04[_0x340586(0x1ae)]);}catch(_0x5ada2a){logger[_0x340586(0x1e1)](_0x340586(0x16d)+_0x5ada2a[_0x340586(0x167)]);}try{helper[_0x340586(0x219)]();}catch(_0x4c5cb1){logger[_0x340586(0x1e1)](_0x340586(0x226)+_0x4c5cb1);}testOpsHelper[_0x340586(0x233)]();});}else{const _0x4b11ab=helper['useW3C'](_0x4ffc04[_0x2a8831(0x206)]);let _0x16ebd4=helper[_0x2a8831(0x16e)](_0x4ffc04[_0x2a8831(0x206)]);_0x2f749a=helper[_0x2a8831(0x1b6)](_0x4ffc04[_0x2a8831(0x206)],_0x4b11ab,constants[_0x2a8831(0x1dd)][_0x2a8831(0x189)]);helper['getCentralUser']()[_0x2a8831(0x227)]&&(_0x16ebd4=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0xd7334e;const _0x22eede=_0x4ffc04['config']['parallelsPerPlatform']||helper[_0x2a8831(0x1be)](_0x2aa100,_0x44b980,_0x4ffc04['config'],constants[_0x2a8831(0x1dd)]['MOCHA'])||0x1;helper['validPlatformsPresent'](_0x4ffc04[_0x2a8831(0x206)])?_0xd7334e=_0x52b303['QodhH'](_0x4ffc04[_0x2a8831(0x206)]['platforms']['length'],_0x22eede):_0xd7334e=_0x22eede;const _0xf485a1=_0x52b303[_0x2a8831(0x197)](getPercyOptions,_0x4ffc04[_0x2a8831(0x206)]);if(_0x52b303['BsMsg'](_0x4ffc04['config'][_0x2a8831(0x1ec)],0x1))_0x5725ae['forEach'](_0x2e28e1=>{const _0x4c1c30=_0x2a8831,_0x4cd630=[];_0x2f749a[_0x4c1c30(0x1a3)]((_0x1218b3,_0x4c831c)=>{const _0x5d1b32=_0x4c1c30,_0x401621={};_0x401621['spec']=[_0x2e28e1],_0x4cd630['push']({'mochaOpts':Object['assign']({},_0x27a4dc,_0x401621),'configuration':{'server':_0x16ebd4,'capability':_0x1218b3,'proxySettings':_0x4ffc04[_0x5d1b32(0x206)][_0x5d1b32(0x212)],'platform':helper[_0x5d1b32(0x19b)](_0x1218b3),'browserStackLogLevel':_0x4ffc04['config'][_0x5d1b32(0x146)],'platformIndex':_0x4c831c,'browserStackPercyOptions':_0xf485a1,'platformCaps':Object[_0x5d1b32(0x1f7)]({'index':_0x4c831c},_0x4ffc04[_0x5d1b32(0x206)][_0x5d1b32(0x141)][_0x4c831c])}});}),_0x3c508d['push'](..._0x4cd630);});else{const _0x26f6da=[];_0x2f749a[_0x2a8831(0x1a3)]((_0x5b1df7,_0x41d38d)=>{const _0x583a7a=_0x2a8831;let _0x346744=Object['assign']({},_0x27a4dc);testOpsHelper[_0x583a7a(0x20f)]()&&testOpsHelper[_0x583a7a(0x23a)]()&&(_0x346744={..._0x346744,'spec':[..._0x5725ae]}),_0x26f6da['push']({'mochaOpts':_0x346744,'configuration':{'server':_0x16ebd4,'capability':_0x5b1df7,'proxySettings':_0x4ffc04[_0x583a7a(0x206)]['proxySettings'],'platform':helper[_0x583a7a(0x19b)](_0x5b1df7),'browserStackLogLevel':_0x4ffc04[_0x583a7a(0x206)][_0x583a7a(0x146)],'platformIndex':_0x41d38d,'browserStackPercyOptions':_0xf485a1,'platformCaps':Object[_0x583a7a(0x1f7)]({'index':_0x41d38d},_0x4ffc04[_0x583a7a(0x206)]['platforms'][_0x41d38d])}});}),_0x3c508d['push'](..._0x26f6da);}logger[_0x2a8831(0x225)](_0x2a8831(0x183)+_0x4ffc04[_0x2a8831(0x206)][_0x2a8831(0x141)]['length']+_0x2a8831(0x181)),logger[_0x2a8831(0x225)](_0x52b303[_0x2a8831(0x15f)]);let _0x4d60ef;_0x52b303[_0x2a8831(0x221)](parallelTestRun,_0x3c508d,_0xd7334e,_0x4ffc04)[_0x2a8831(0x1cc)](_0x38aed2=>{const _0x3dde76=_0x2a8831;PerformanceTester[_0x3dde76(0x1b5)](PerformanceEvents[_0x3dde76(0x1f6)]),_0x4d60ef=_0x38aed2,_0x52b303[_0x3dde76(0x20e)](printStats,_0x38aed2,_0x2aa100[_0x3dde76(0x20c)],_0x2aa100[_0x3dde76(0x1b7)]||_0x2aa100[_0x52b303['zoJlq']]);})[_0x2a8831(0x17e)](async()=>{const _0x378ea4=_0x2a8831;PerformanceTester[_0x378ea4(0x1b5)](PerformanceEvents[_0x378ea4(0x1f6)]),_0x4ffc04[_0x378ea4(0x1a5)]=helper[_0x378ea4(0x230)](_0x4d60ef,_0x52b303[_0x378ea4(0x1d9)]),await utilities[_0x378ea4(0x220)](_0x4ffc04),testOpsHelper[_0x378ea4(0x233)]();});}}module['exports']=run;
2
+ 'use strict';const a31_0x298cdb=a31_0x1c52;function a31_0x1c52(_0x217d4d,_0x121954){const _0x57348b=a31_0x5734();return a31_0x1c52=function(_0x1c52c4,_0x4a66e7){_0x1c52c4=_0x1c52c4-0xe0;let _0x4b19eb=_0x57348b[_0x1c52c4];return _0x4b19eb;},a31_0x1c52(_0x217d4d,_0x121954);}(function(_0x3bdea5,_0x287dda){const _0x3a921a=a31_0x1c52,_0x53324b=_0x3bdea5();while(!![]){try{const _0x5735b8=parseInt(_0x3a921a(0x1c3))/0x1*(parseInt(_0x3a921a(0xe9))/0x2)+-parseInt(_0x3a921a(0xea))/0x3+-parseInt(_0x3a921a(0x119))/0x4+parseInt(_0x3a921a(0x145))/0x5+-parseInt(_0x3a921a(0x1d7))/0x6*(parseInt(_0x3a921a(0x10c))/0x7)+parseInt(_0x3a921a(0x101))/0x8+parseInt(_0x3a921a(0x17e))/0x9;if(_0x5735b8===_0x287dda)break;else _0x53324b['push'](_0x53324b['shift']());}catch(_0x429336){_0x53324b['push'](_0x53324b['shift']());}}}(a31_0x5734,0x5d086));const chalk=require('chalk'),logger=require(a31_0x298cdb(0x193))[a31_0x298cdb(0x1bf)],helper=require(a31_0x298cdb(0x162)),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a31_0x298cdb(0x1e6)),{requireModule,nestedKeyValue}=require(a31_0x298cdb(0x162)),{getPercyOptions}=require(a31_0x298cdb(0x183)),Base=requireModule(a31_0x298cdb(0x1b5),a31_0x298cdb(0xeb)),collectFiles=requireModule(a31_0x298cdb(0x120),a31_0x298cdb(0xeb)),constants=require(a31_0x298cdb(0x140)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a31_0x298cdb(0x1a2))[a31_0x298cdb(0x175)],centralScannerConstants=require(a31_0x298cdb(0x18e)),{FRAMEWORKS}=require(a31_0x298cdb(0x1c9)),TestHubHandler=require(a31_0x298cdb(0x19d));function tag(_0x5b07a9,_0x51875a,_0x3974d6,_0xc55861){const _0x4ff48b=a31_0x298cdb,_0x43471a={'RtUpJ':function(_0x21b90d,_0x2ebe81){return _0x21b90d+_0x2ebe81;},'kTKDF':function(_0x46a7d5,_0x2d789b){return _0x46a7d5+_0x2d789b;},'qbhbm':function(_0x39af02,_0x5e109f){return _0x39af02(_0x5e109f);},'RUTzH':function(_0x50b12a,_0x4bc324){return _0x50b12a+_0x4bc324;},'UoNmI':function(_0x51a98c,_0x22c59b){return _0x51a98c+_0x22c59b;},'liSKZ':function(_0x5a3d96,_0x4a128e){return _0x5a3d96+_0x4a128e;}},_0x11ae0a=_0x3974d6?'/>':'>',_0x210a38=[];let _0x479eb0;for(const _0x188caf in _0x51875a){Object[_0x4ff48b(0xf0)][_0x4ff48b(0x12d)][_0x4ff48b(0x136)](_0x51875a,_0x188caf)&&_0x210a38[_0x4ff48b(0x169)](_0x43471a[_0x4ff48b(0x1cd)](_0x43471a['RtUpJ'](_0x43471a[_0x4ff48b(0x10a)](_0x188caf,'=\x22'),_0x43471a[_0x4ff48b(0xe8)](escape,_0x51875a[_0x188caf])),'\x22'));}return _0x479eb0=_0x43471a['RUTzH'](_0x43471a['RtUpJ'](_0x43471a[_0x4ff48b(0x142)]('<',_0x5b07a9),_0x210a38[_0x4ff48b(0x18f)]?_0x43471a[_0x4ff48b(0x10a)]('\x20',_0x210a38['join']('\x20')):''),_0x11ae0a),_0xc55861&&(_0x479eb0+=_0x43471a[_0x4ff48b(0x1ec)](_0x43471a[_0x4ff48b(0x1ec)](_0x43471a[_0x4ff48b(0x1ec)](_0xc55861,'</'),_0x5b07a9),_0x11ae0a)),_0x479eb0;}let xunitContent='';function xunitWrite(_0x3c55c6){xunitContent+=_0x3c55c6;}function xunitTest(_0x1610dd,_0x519906){const _0x3e403b=a31_0x298cdb,_0x4f5f65={'yRPVP':function(_0x5dc125,_0x2c1e45){return _0x5dc125/_0x2c1e45;},'bTbac':function(_0x3c7014,_0x3b4258){return _0x3c7014===_0x3b4258;},'VyTFD':_0x3e403b(0x147),'pIkco':function(_0xcb3ecd,_0x29fca3){return _0xcb3ecd+_0x29fca3;},'oDJxx':function(_0x56d01e,_0x3547af){return _0x56d01e(_0x3547af);},'oUUoO':function(_0x4e9b1c,_0x1a0a12,_0x2b90d8,_0x3835cb,_0x418142){return _0x4e9b1c(_0x1a0a12,_0x2b90d8,_0x3835cb,_0x418142);},'NUozz':_0x3e403b(0x173),'EEWdN':function(_0x54bcb8,_0x4c77e4,_0x18a2e5,_0x346ffb,_0x4b506d){return _0x54bcb8(_0x4c77e4,_0x18a2e5,_0x346ffb,_0x4b506d);},'hMePh':_0x3e403b(0x149),'Gnbbl':function(_0x3fa823,_0x4bcce4){return _0x3fa823+_0x4bcce4;},'xfydk':function(_0x73af42,_0x3b30f1){return _0x73af42+_0x3b30f1;},'gQsGV':function(_0x3164d5,_0xcf7ccd){return _0x3164d5(_0xcf7ccd);},'EYjqE':function(_0x23df9f,_0x29b9e5,_0x2b6860,_0x311799,_0x1ccc7f){return _0x23df9f(_0x29b9e5,_0x2b6860,_0x311799,_0x1ccc7f);},'rikHB':function(_0x174547,_0xb19f16,_0x2e282c,_0x213f25){return _0x174547(_0xb19f16,_0x2e282c,_0x213f25);},'vqcYO':_0x3e403b(0x18d)};Base[_0x3e403b(0x1e3)]=![];var _0x4f93cc={'classname':_0x1610dd[_0x3e403b(0x115)],'name':_0x1610dd['title'],'time':_0x4f5f65[_0x3e403b(0x11b)](_0x1610dd['duration'],0x3e8)||0x0,'platform':_0x519906};if(_0x4f5f65['bTbac'](_0x1610dd['state'],_0x4f5f65['VyTFD'])){var _0x4089b4=_0x1610dd[_0x3e403b(0x176)],_0x594f2d=!Base[_0x3e403b(0xe1)]&&Base[_0x3e403b(0x171)](_0x4089b4)?_0x4f5f65[_0x3e403b(0x17a)]('\x0a',Base['generateDiff'](_0x4089b4[_0x3e403b(0x1d5)],_0x4089b4[_0x3e403b(0x185)])):'';_0x4f5f65[_0x3e403b(0x118)](xunitWrite,_0x4f5f65[_0x3e403b(0x16b)](tag,_0x4f5f65[_0x3e403b(0x14d)],_0x4f93cc,![],_0x4f5f65[_0x3e403b(0x113)](tag,_0x4f5f65[_0x3e403b(0x100)],{},![],_0x4f5f65[_0x3e403b(0x17a)](_0x4f5f65[_0x3e403b(0x12a)](_0x4f5f65[_0x3e403b(0x18b)](_0x4f5f65['oDJxx'](escape,_0x4089b4[_0x3e403b(0x18a)]),_0x4f5f65[_0x3e403b(0xf7)](escape,_0x594f2d)),'\x0a'),_0x4f5f65[_0x3e403b(0x118)](escape,_0x4089b4[_0x3e403b(0x1b9)])))));}else _0x1610dd[_0x3e403b(0x19e)]?_0x4f5f65[_0x3e403b(0xf7)](xunitWrite,_0x4f5f65[_0x3e403b(0x1c4)](tag,_0x4f5f65['NUozz'],_0x4f93cc,![],_0x4f5f65[_0x3e403b(0x199)](tag,_0x4f5f65[_0x3e403b(0x141)],{},!![]))):_0x4f5f65[_0x3e403b(0x118)](xunitWrite,_0x4f5f65[_0x3e403b(0x199)](tag,_0x4f5f65[_0x3e403b(0x14d)],_0x4f93cc,!![]));};function getStats(_0x543ea8){const _0x264320=a31_0x298cdb,_0x548b87={};_0x548b87[_0x264320(0x128)]='suite',_0x548b87[_0x264320(0x159)]='passed',_0x548b87[_0x264320(0x15c)]=_0x264320(0x147),_0x548b87['nHwSX']=_0x264320(0x15b);const _0x30e2cb=_0x548b87,_0xc75fef=Object['keys'](_0x543ea8);let _0x215b89=0x0,_0x5c8b77=0x0,_0x346db6=0x0,_0x345b8c=0x0;const _0x3ac7c1=new Set();_0xc75fef[_0x264320(0x125)](_0x4af588=>{const _0x390098=_0x264320;_0x543ea8[_0x4af588][_0x30e2cb[_0x390098(0x104)]][_0x390098(0x125)](_0x405125=>{const _0xcf4e4=_0x390098;_0x3ac7c1['add'](_0x405125[_0x30e2cb[_0xcf4e4(0x128)]]),_0x215b89++;switch(_0x405125['state']){case _0x30e2cb['ZDiiW']:_0x346db6++;break;case _0x30e2cb[_0xcf4e4(0x15c)]:_0x5c8b77++;break;default:_0x345b8c++;}});});const _0x34b23d={};return _0x34b23d['testSuites']=_0x3ac7c1['size'],_0x34b23d[_0x264320(0x1d3)]=_0xc75fef,_0x34b23d[_0x264320(0x1ba)]=_0x215b89,_0x34b23d[_0x264320(0x15a)]=_0x5c8b77,_0x34b23d[_0x264320(0x158)]=_0x346db6,_0x34b23d[_0x264320(0x1aa)]=_0x345b8c,_0x34b23d;}function errorJSON(_0x488e1f){const _0xaf8944=a31_0x298cdb;var _0xedbbff={};return Object[_0xaf8944(0x195)](_0x488e1f)[_0xaf8944(0x125)](function(_0xc30c4a){_0xedbbff[_0xc30c4a]=_0x488e1f[_0xc30c4a];},_0x488e1f),_0xedbbff;}function cleanCycles(_0x2c2d64){const _0x56fdac=a31_0x298cdb,_0x4e15fb={};_0x4e15fb[_0x56fdac(0x18c)]=function(_0x2f4bc4,_0x2abbc6){return _0x2f4bc4===_0x2abbc6;},_0x4e15fb['LeUFz']='object',_0x4e15fb['dAccw']=function(_0x290b57,_0x149fdd){return _0x290b57!==_0x149fdd;},_0x4e15fb[_0x56fdac(0x192)]=function(_0x5e08d0,_0x303130){return _0x5e08d0!==_0x303130;},_0x4e15fb[_0x56fdac(0x16f)]=function(_0x3322e2,_0x78c7c){return _0x3322e2+_0x78c7c;};const _0x1d61cc=_0x4e15fb;var _0x4080c6=[];return JSON[_0x56fdac(0x180)](JSON[_0x56fdac(0xfb)](_0x2c2d64,function(_0x23c772,_0x3d805a){const _0x313f05=_0x56fdac;if(_0x1d61cc[_0x313f05(0x18c)](typeof _0x3d805a,_0x1d61cc[_0x313f05(0x191)])&&_0x1d61cc[_0x313f05(0x1be)](_0x3d805a,null)){if(_0x1d61cc[_0x313f05(0x192)](_0x4080c6['indexOf'](_0x3d805a),-0x1))return _0x1d61cc[_0x313f05(0x16f)]('',_0x3d805a);_0x4080c6['push'](_0x3d805a);}return _0x3d805a;}));}function clean(_0x286be8){const _0xf293a2=a31_0x298cdb,_0x371e0e={'rKmSR':function(_0xb477a8,_0x23a348){return _0xb477a8 instanceof _0x23a348;},'jTOnQ':function(_0x250962,_0x3dd5bc){return _0x250962(_0x3dd5bc);}};var _0x8c6818=_0x286be8['err']||{};return _0x371e0e['rKmSR'](_0x8c6818,Error)&&(_0x8c6818=_0x371e0e['jTOnQ'](errorJSON,_0x8c6818)),{'title':_0x286be8[_0xf293a2(0x174)],'fullTitle':_0x286be8[_0xf293a2(0x115)],'file':_0x286be8[_0xf293a2(0x151)],'duration':_0x286be8[_0xf293a2(0x13f)],'currentRetry':_0x286be8[_0xf293a2(0xe5)],'speed':_0x286be8['speed'],'err':_0x371e0e['jTOnQ'](cleanCycles,_0x8c6818)};}function a31_0x5734(){const _0x1fd6b4=['\x20platforms','../../helpers/performance/constants','debug','MeKSA','\x0a\x0a\x0a','fScEo','testsuite','Tests:\x20\x20\x20\x20\x20\x20\x20','output','testsPending','GidqB','isBrowserstackInfra','isUndefined','exitCode','IzfFU','aUqZN','accessibilityOptions','mzFFq','files','YAsZk','mocha/lib/reporters/base.js','ufsir','reporter-option','prepareCapabilities','stack','totalTests','capability','xjxFC','assign','dAccw','winstonLogger','includeTagsInTestingScope','state','passes','86006levPhK','EYjqE','platform','laREr','test','ygALw','../../helpers/test-observability/constants','reporterOptions','join','Mocha\x20Tests','RtUpJ','pBYfd','mjJqg','</testsuite>','PCKaM','KZhty','platforms','FRAOR','actual','VoDau','150714sntFbS','TaNWZ','XcXep','DIQoh','printBuildLink','GUrhq','MUzAU','bgBlueBright','UToyn','yDSAh','finally','****\x20FAILURES\x20****','useColors','env','jPJkB','../test-runner','writeFileSync','list','includeEncodedExtension','MVftZ','fireFunnelTestEvent','liSKZ','doc','hideDiff','spec','adqCG','Running\x20your\x20mocha\x20tests','currentRetry','\x20failed','reporter','qbhbm','4rkPbdr','656673hcniol','mocha','unlinkSync','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','jbGwm','pfKxN','prototype','parseFileNames','yVore','getErrorMessageFromResults','MOCHA','SDK_CLEANUP','extension','gQsGV','shouldReRunObservabilityTests','rmwNe','rerunTests','stringify','BdFkg','recursive','efUmo','excludeTagsInTestingScope','hMePh','418216jZfiyk','EjDgr','error','nHwSX','launchBuild','zhYId','Setting\x20non\x20exit\x20code\x20for\x20failures','accessibility','feNTE','kTKDF','finalExecution','182MbeaLm','Listing\x20all\x20the\x20failures','GTjvF','isTestObservabilitySession','BROWSERSTACK_GRR_US_HUB_URL','bsOJc','xkHkO','EEWdN','Couldn\x27t\x20write\x20json\x20result\x20to','fullTitle','green','NZPVS','oDJxx','443676HUOpAU','XIWLq','yRPVP','proxySettings','parallelsPerPlatform','lXnQx','EMMiw','mocha/lib/cli/collect-files.js','HMXok','xTsRd','sort','gDhvM','forEach','rmdirSync','config','KdPiG','gUzsV','Gnbbl','MhBJB','toUTCString','hasOwnProperty','oewkM','getCentralUser','mjs','stats','WcUvT','pCmSg','BROWSERSTACK_TEST_OBSERVABILITY_YML','titlePathV','call','rVArf','bzWmL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','log','Writing\x20xunit\x20result\x20to\x20file','Calwx','bold','SVNga','duration','../utils/constants','vqcYO','UoNmI','CFXRD','validPlatformsPresent','2345500veEsOI','useW3C','failed','ZFDYU','failure','consoleLog','Running\x20your\x20mocha\x20tests\x20across\x20','csasx','NUozz','bstack:options','testObservability','retries','file','framework','SDKTestSuccessful','ZRoCB','red','Writing\x20json\x20result\x20to\x20file','bgRedBright','testsPassed','ZDiiW','testsFailed','results','CgDoZ','efvXF','AbNnH','start','rootHooks','getTCGConfigFilePaths','../../helpers/helper','getPlatformName','setupTCGAuth','retryTestsOnFailure','rcKSf','qOwwY','FkBZZ','push','wRcrJ','oUUoO','info','titlePath','nUjWe','LzFjW','has','showDiff','setUserConfigPath','testcase','title','EVENTS','err','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','map','maxRetries','pIkco','getHubUrl','json','cliConfig','6035193XbKBIN','EGyZJ','parse','suiteName','errorMessage','../../helpers/percy/utils','ignore','expected','initialize','isNotUndefined','VFHuE','get','message','xfydk','GcRly','skipped','../../helpers/central-scanner/constants','length','\x20total','LeUFz','czLfl','../../helpers/logger','ISMLD','getOwnPropertyNames','tnlJZ','FFTrS','exports','rikHB','min','Iornv','Now,\x20showing\x20logs\x20from\x20mocha','../../helpers/testhub/testhubHandler','isPending','configuration','jKMrT'];a31_0x5734=function(){return _0x1fd6b4;};return a31_0x5734();}function printStats(_0x25ec27,_0x1c153b=a31_0x298cdb(0xe2),_0x1fff9e={}){const _0xd1a10f=a31_0x298cdb,_0x7ec715={'gUzsV':function(_0x46c716,_0xca49f1){return _0x46c716(_0xca49f1);},'GidqB':function(_0x5a0e6f,_0x73c5b){return _0x5a0e6f===_0x73c5b;},'ZRoCB':'passed','oJCwy':_0xd1a10f(0x1c2),'MUzAU':function(_0x21b202,_0x43e2e4){return _0x21b202(_0x43e2e4);},'zoucC':function(_0x2da391,_0x1871a4){return _0x2da391===_0x1871a4;},'BdFkg':'failed','QySoH':'failures','KZhty':function(_0x6343bf,_0x435c3b){return _0x6343bf(_0x435c3b);},'FkBZZ':'pending','MVftZ':function(_0x3d4ae1,_0xff6c21){return _0x3d4ae1(_0xff6c21);},'TaNWZ':_0xd1a10f(0x15b),'bsOJc':function(_0xd3a64e,_0x4946cc){return _0xd3a64e===_0x4946cc;},'GUrhq':function(_0x1d2846,_0x2d475b){return _0x1d2846*_0x2d475b;},'EMMiw':function(_0x2cec7e,_0x4f9a34,_0x355aea){return _0x2cec7e(_0x4f9a34,_0x355aea);},'DIQoh':function(_0x598a05,_0x316960){return _0x598a05>_0x316960;},'Lsgor':function(_0x114e77){return _0x114e77();},'ygALw':function(_0x5579bd,_0x6645d8){return _0x5579bd===_0x6645d8;},'qOwwY':_0xd1a10f(0xe0),'Calwx':function(_0x39f9df,_0x3b895e){return _0x39f9df(_0x3b895e);},'lXnQx':function(_0x54a673,_0x1881ef){return _0x54a673>_0x1881ef;},'RAHEV':_0xd1a10f(0x107),'AbNnH':'Printing\x20stats\x20of\x20tests','yDSAh':function(_0x6c1d1e,_0x5b2fc3){return _0x6c1d1e+_0x5b2fc3;},'WxEUQ':'Total\x20Platforms:\x20','GTjvF':'Total\x20Suites:\x20','FFTrS':function(_0x2ca0b7,_0x41204b){return _0x2ca0b7+_0x41204b;},'FwpYK':_0xd1a10f(0x1a8),'mzFFq':function(_0x1051df,_0x269dd1){return _0x1051df>_0x269dd1;},'XIWLq':function(_0x8c9760,_0x342e59){return _0x8c9760>_0x342e59;},'jtodZ':function(_0x371cf6,_0x26d4b3){return _0x371cf6>_0x26d4b3;},'YAsZk':function(_0x3c996d,_0x3e8355){return _0x3c996d+_0x3e8355;},'TiFlg':function(_0x559e92,_0x231bb3){return _0x559e92+_0x231bb3;},'pCxob':_0xd1a10f(0x1a5),'feNTE':_0xd1a10f(0x17c),'CzzpA':_0xd1a10f(0x156),'PCKaM':_0xd1a10f(0x114),'HMXok':_0xd1a10f(0xed),'aUqZN':'xunit','jKMrT':_0xd1a10f(0x1cc),'oewkM':function(_0x528817,_0x27474d){return _0x528817||_0x27474d;},'gBlvN':function(_0x2cb618,_0x34bf3f){return _0x2cb618(_0x34bf3f);},'ufsir':function(_0x228e65,_0xf54ab6,_0x2c52e4,_0x3441de){return _0x228e65(_0xf54ab6,_0x2c52e4,_0x3441de);},'fScEo':_0xd1a10f(0x1a7),'ndGKU':function(_0x4db6f0,_0x4f91c2){return _0x4db6f0-_0x4f91c2;},'EjDgr':function(_0xb65660,_0x8d32ef){return _0xb65660/_0x8d32ef;},'ISMLD':function(_0x58a368,_0x148910){return _0x58a368(_0x148910);},'rVArf':_0xd1a10f(0x1d0),'xjxFC':_0xd1a10f(0x13b),'EGyZJ':'Couldn\x27t\x20write\x20xunit\x20result\x20to','pCmSg':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','efvXF':function(_0x2f8a8e,_0xecc92c){return _0x2f8a8e===_0xecc92c;},'pBYfd':_0xd1a10f(0x10d),'wRcrJ':_0xd1a10f(0x1e2)};if(_0x7ec715[_0xd1a10f(0x1c8)](_0x1c153b,_0x7ec715[_0xd1a10f(0x167)]))return;const _0x36741c=0x0,_0x11a3c2=()=>{const _0x4e713a=_0xd1a10f;return _0x7ec715[_0x4e713a(0x129)](Array,_0x36741c)[_0x4e713a(0x1cb)]('\x20\x20');},{testSuites:_0x55e8f9,platforms:_0x1e597f,totalTests:_0x48a7ee,testsFailed:_0x3a4d90,testsPassed:_0x52feeb,testsPending:_0x282881}=_0x7ec715[_0xd1a10f(0x13c)](getStats,_0x25ec27);_0x7ec715[_0xd1a10f(0x11e)](_0x3a4d90,0x0)&&(logger['debug'](_0x7ec715['RAHEV']),process[_0xd1a10f(0x1ae)]=Math[_0xd1a10f(0x19a)](_0x3a4d90,0xff));logger['debug'](_0x7ec715[_0xd1a10f(0x15e)]);const _0xd7102f=''+_0x7ec715[_0xd1a10f(0x1e0)](chalk['bold'](_0x7ec715['WxEUQ']),_0x1e597f[_0xd1a10f(0x18f)]),_0x5e93e7=''+_0x7ec715[_0xd1a10f(0x1e0)](chalk[_0xd1a10f(0x13d)](_0x7ec715[_0xd1a10f(0x10e)]),_0x55e8f9),_0x176686=''+_0x7ec715[_0xd1a10f(0x1e0)](_0x7ec715[_0xd1a10f(0x1e0)](_0x7ec715['FFTrS'](chalk['bold'](_0x7ec715['FwpYK']),_0x7ec715[_0xd1a10f(0x1b2)](_0x3a4d90,0x0)?chalk[_0xd1a10f(0x13d)][_0xd1a10f(0x155)](_0x3a4d90+_0xd1a10f(0xe6))+',\x20':''),_0x7ec715[_0xd1a10f(0x11a)](_0x282881,0x0)?chalk['bold']['yellow'](_0x282881+'\x20skipped')+',\x20':''),_0x7ec715['jtodZ'](_0x52feeb,0x0)?chalk[_0xd1a10f(0x13d)][_0xd1a10f(0x116)](_0x52feeb+'\x20passed')+',\x20':'')+_0x48a7ee+_0xd1a10f(0x190);console['log'](_0x7ec715['YAsZk'](_0x7ec715[_0xd1a10f(0x197)](_0x7ec715[_0xd1a10f(0x1e0)](_0x7ec715['TiFlg'](_0x7ec715[_0xd1a10f(0x1b4)](_0x7ec715['pCxob'],_0xd7102f),'\x0a'),_0x5e93e7),'\x0a'),_0x176686));if(_0x7ec715[_0xd1a10f(0x111)](_0x1c153b,_0x7ec715[_0xd1a10f(0x109)])){const _0x3be9e2={},_0x23bd01={};_0x23bd01['testSuites']=_0x55e8f9,_0x23bd01[_0xd1a10f(0x1d3)]=_0x1e597f,_0x23bd01[_0xd1a10f(0x15a)]=_0x3a4d90,_0x23bd01['testsPassed']=_0x52feeb,_0x23bd01[_0xd1a10f(0x1aa)]=_0x282881,_0x3be9e2[_0xd1a10f(0x131)]=_0x23bd01,_0x1e597f[_0xd1a10f(0x125)](_0x3694ca=>{const _0x47eac1=_0xd1a10f,_0x32a6bd={'efUmo':function(_0x2b3619,_0x5d5dbc){const _0x5ba0a7=a31_0x1c52;return _0x7ec715[_0x5ba0a7(0x1ab)](_0x2b3619,_0x5d5dbc);},'lGBPL':_0x7ec715['ZRoCB'],'NcneJ':_0x7ec715['oJCwy'],'bzWmL':function(_0x22d615,_0x303ff0){const _0x20316b=a31_0x1c52;return _0x7ec715[_0x20316b(0x1dd)](_0x22d615,_0x303ff0);},'CFXRD':function(_0x428850,_0x5b6c26){return _0x7ec715['zoucC'](_0x428850,_0x5b6c26);},'ZFDYU':_0x7ec715[_0x47eac1(0xfc)],'rmwNe':_0x7ec715['QySoH'],'NZPVS':function(_0x4b0696,_0x3fcc6b){const _0x17b183=_0x47eac1;return _0x7ec715[_0x17b183(0x1d2)](_0x4b0696,_0x3fcc6b);},'IzfFU':_0x7ec715[_0x47eac1(0x168)],'dSEOR':function(_0xd120e1,_0x3a85a7){const _0x24c5dd=_0x47eac1;return _0x7ec715[_0x24c5dd(0x1ea)](_0xd120e1,_0x3a85a7);}};_0x3be9e2[_0x3694ca]={'pending':[],'failures':[],'passes':[],'tests':_0x25ec27[_0x3694ca][_0x7ec715[_0x47eac1(0x1d8)]][_0x47eac1(0x178)](clean)},_0x25ec27[_0x3694ca][_0x7ec715[_0x47eac1(0x1d8)]][_0x47eac1(0x125)](_0x48fa8a=>{const _0x197311=_0x47eac1;if(_0x32a6bd[_0x197311(0xfe)](_0x48fa8a[_0x197311(0x1c1)],_0x32a6bd['lGBPL']))_0x3be9e2[_0x3694ca][_0x32a6bd['NcneJ']][_0x197311(0x169)](_0x32a6bd[_0x197311(0x138)](clean,_0x48fa8a));else _0x32a6bd[_0x197311(0x143)](_0x48fa8a[_0x197311(0x1c1)],_0x32a6bd[_0x197311(0x148)])?_0x3be9e2[_0x3694ca][_0x32a6bd[_0x197311(0xf9)]][_0x197311(0x169)](_0x32a6bd[_0x197311(0x117)](clean,_0x48fa8a)):_0x3be9e2[_0x3694ca][_0x32a6bd[_0x197311(0x1af)]][_0x197311(0x169)](_0x32a6bd['dSEOR'](clean,_0x48fa8a));});});if(_0x1fff9e['output'])try{logger[_0xd1a10f(0x1a3)](_0x7ec715['CzzpA'],_0x1fff9e[_0xd1a10f(0x1a9)]),fs[_0xd1a10f(0x1e7)](_0x1fff9e[_0xd1a10f(0x1a9)],JSON[_0xd1a10f(0xfb)](_0x3be9e2,null,0x3));}catch(_0x3d9c58){logger[_0xd1a10f(0x103)](_0x7ec715[_0xd1a10f(0x1d1)],_0x1fff9e[_0xd1a10f(0x1a9)]),logger[_0xd1a10f(0x1a3)](_0x3d9c58);}else logger[_0xd1a10f(0x1a3)](_0x7ec715[_0xd1a10f(0x121)]),console[_0xd1a10f(0x13a)](JSON[_0xd1a10f(0xfb)](_0x3be9e2,null,0x3));}else{if(_0x7ec715['zoucC'](_0x1c153b,_0x7ec715[_0xd1a10f(0x1b0)])){let _0x13b56d;const _0x48dca3=_0x7ec715[_0xd1a10f(0x1a0)];_0x1fff9e&&(_0x13b56d=_0x1fff9e[_0xd1a10f(0x181)]);_0x13b56d=_0x7ec715[_0xd1a10f(0x12e)](_0x13b56d,_0x48dca3);let _0x54710c=0x0,_0x354289=0x0,_0x319054=0x0,_0x5ac5dd=0x0;_0x1e597f[_0xd1a10f(0x125)](_0xac5975=>{const _0x4c1557=_0xd1a10f,_0x282854={'qEIJo':function(_0x292486,_0x5d66aa){return _0x7ec715['bsOJc'](_0x292486,_0x5d66aa);},'adqCG':_0x7ec715[_0x4c1557(0x154)],'VoDau':function(_0x52a7f1,_0x1e6f16){return _0x7ec715['bsOJc'](_0x52a7f1,_0x1e6f16);},'csasx':_0x7ec715[_0x4c1557(0xfc)],'hxEXj':function(_0x32a6c6,_0x4d2c37){const _0x4771b2=_0x4c1557;return _0x7ec715[_0x4771b2(0x1dc)](_0x32a6c6,_0x4d2c37);}};_0x25ec27[_0xac5975][_0x7ec715['TaNWZ']][_0x4c1557(0x125)](_0xdc8f2e=>{const _0x46ffa8=_0x4c1557;if(_0x282854['qEIJo'](_0xdc8f2e[_0x46ffa8(0x1c1)],_0x282854[_0x46ffa8(0xe3)]))_0x54710c++;else _0x282854[_0x46ffa8(0x1d6)](_0xdc8f2e[_0x46ffa8(0x1c1)],_0x282854[_0x46ffa8(0x14c)])&&_0x354289++;_0x319054++,_0x5ac5dd+=_0x282854['hxEXj'](_0xdc8f2e['duration'],0x1);});}),_0x7ec715['gBlvN'](xunitWrite,_0x7ec715[_0xd1a10f(0x1b6)](tag,_0x7ec715[_0xd1a10f(0x1a6)],{'name':_0x13b56d,'tests':_0x319054,'failures':0x0,'errors':_0x354289,'skipped':_0x7ec715['ndGKU'](_0x7ec715['ndGKU'](_0x319054,_0x354289),_0x54710c),'timestamp':new Date()[_0xd1a10f(0x12c)](),'time':_0x7ec715[_0xd1a10f(0x102)](_0x5ac5dd,0x3e8)||0x0},![])),_0x1e597f[_0xd1a10f(0x125)](_0x6a7290=>{const _0x30d5df=_0xd1a10f;_0x25ec27[_0x6a7290][_0x7ec715[_0x30d5df(0x1d8)]][_0x30d5df(0x125)](_0x2b5a2c=>{const _0x422ceb=_0x30d5df;_0x7ec715[_0x422ceb(0x11f)](xunitTest,_0x2b5a2c,_0x6a7290);});}),_0x7ec715[_0xd1a10f(0x194)](xunitWrite,_0x7ec715[_0xd1a10f(0x137)]);if(_0x1fff9e[_0xd1a10f(0x1a9)])try{logger['debug'](_0x7ec715[_0xd1a10f(0x1bc)],_0x1fff9e['output']),fs[_0xd1a10f(0x1e7)](_0x1fff9e['output'],xunitContent);}catch(_0x45b009){logger[_0xd1a10f(0x103)](_0x7ec715[_0xd1a10f(0x17f)],_0x1fff9e[_0xd1a10f(0x1a9)]),logger['debug'](_0x45b009);}else logger[_0xd1a10f(0x1a3)](_0x7ec715[_0xd1a10f(0x133)]),console[_0xd1a10f(0x13a)](xunitContent);}else{if(_0x7ec715[_0xd1a10f(0x15d)](_0x3a4d90,0x0))return;console[_0xd1a10f(0x13a)](),logger[_0xd1a10f(0x1a3)](_0x7ec715[_0xd1a10f(0x1ce)]),console[_0xd1a10f(0x13a)](chalk[_0xd1a10f(0x13d)][_0xd1a10f(0x157)](_0x7ec715[_0xd1a10f(0x16a)])),_0x1e597f[_0xd1a10f(0x125)](_0x2ae7b0=>{const _0x2a1064=_0xd1a10f,_0x3b5f33=[];_0x25ec27[_0x2ae7b0][_0x7ec715[_0x2a1064(0x1d8)]][_0x2a1064(0x125)](_0x3b90df=>{const _0x1c15f4=_0x2a1064;_0x7ec715[_0x1c15f4(0x1ab)](_0x3b90df[_0x1c15f4(0x1c1)],_0x7ec715[_0x1c15f4(0xfc)])&&(_0x3b90df[_0x1c15f4(0x16d)]=()=>_0x3b90df[_0x1c15f4(0x135)],_0x3b5f33['push'](_0x3b90df));}),_0x7ec715[_0x2a1064(0x1da)](_0x3b5f33[_0x2a1064(0x18f)],0x0)&&(Base[_0x2a1064(0x14a)](),Base[_0x2a1064(0x14a)](_0x7ec715['Lsgor'](_0x11a3c2),chalk[_0x2a1064(0x13d)][_0x2a1064(0x1de)](_0x2ae7b0)),Base[_0x2a1064(0x1e8)](_0x3b5f33));});}}}async function run(_0x1ee528,_0x50295f,_0x11ceb2){const _0x149a2a=a31_0x298cdb,_0x3cffd6={'mjJqg':function(_0x38d908,_0x280e61,_0x4f42db,_0x1d711f){return _0x38d908(_0x280e61,_0x4f42db,_0x1d711f);},'yVore':_0x149a2a(0x1b7),'jPJkB':'error\x20removing\x20tcg\x20config\x20file','WcUvT':_0x149a2a(0x153),'FRAOR':_0x149a2a(0xeb),'MhBJB':function(_0x588871,_0x4c6a40){return _0x588871!=_0x4c6a40;},'VFHuE':'cjs','tnlJZ':_0x149a2a(0x130),'UToyn':_0x149a2a(0x1c7),'xkHkO':_0x149a2a(0xfa),'Iornv':function(_0x3dc3a2,_0x3dfa4b){return _0x3dc3a2(_0x3dfa4b);},'EMUEs':function(_0x1882ed,_0x567fae,_0x3ed274){return _0x1882ed(_0x567fae,_0x3ed274);},'MeKSA':_0x149a2a(0x1b3),'zhYId':function(_0x5b8907,_0x13893d){return _0x5b8907!=_0x13893d;},'laREr':_0x149a2a(0x1c0),'xTsRd':_0x149a2a(0xff),'pfKxN':_0x149a2a(0x1e9),'jbGwm':_0x149a2a(0xe4),'nUjWe':_0x149a2a(0x19c),'XcXep':function(_0x4afe54,_0x270ed4,_0x3b70c2,_0x571927){return _0x4afe54(_0x270ed4,_0x3b70c2,_0x571927);},'SVNga':function(_0xabfb54,_0x26dc7d){return _0xabfb54*_0x26dc7d;},'rcKSf':function(_0x41c12f,_0x2b16c8){return _0x41c12f(_0x2b16c8);},'gDhvM':function(_0x11272c,_0x5835a4){return _0x11272c!==_0x5835a4;}};helper[_0x149a2a(0x172)](_0x11ceb2[_0x149a2a(0x152)],_0x1ee528),await _0x11ceb2[_0x149a2a(0x186)](_0x1ee528);helper[_0x149a2a(0x1ac)]()?await helper['handleApp'](_0x11ceb2[_0x149a2a(0x127)]):await _0x11ceb2[_0x149a2a(0x164)]();const _0x21f22d=[];let _0x423ee0=[];if(!_0x11ceb2[_0x149a2a(0x127)])return;!helper[_0x149a2a(0x1ad)](_0x11ceb2[_0x149a2a(0x127)][_0x149a2a(0x1b1)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x149a2a(0xfb)](_0x11ceb2[_0x149a2a(0x127)][_0x149a2a(0x1b1)]));const _0x257a4a=await TestHubHandler[_0x149a2a(0x105)](FRAMEWORKS[_0x149a2a(0xf4)],_0x11ceb2);_0x3cffd6[_0x149a2a(0x12b)](_0x11ceb2['config'][_0x149a2a(0x14f)],null)&&(process[_0x149a2a(0x1e4)][_0x149a2a(0x134)]=_0x11ceb2[_0x149a2a(0x127)]['testObservability']);!helper['isUndefined'](_0x11ceb2['config']['accessibility'])&&(process['env'][_0x149a2a(0x139)]=_0x11ceb2[_0x149a2a(0x127)][_0x149a2a(0x108)]);const {extension:extension=['js',_0x3cffd6[_0x149a2a(0x188)],_0x3cffd6[_0x149a2a(0x196)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3cffd6[_0x149a2a(0x1df)]]}=_0x1ee528,_0x253892={..._0x1ee528};_0x253892[_0x149a2a(0x160)]=null;const _0x328102=_0x253892;let _0xe99c8f;if(testOpsHelper[_0x149a2a(0x10f)]()&&testOpsHelper[_0x149a2a(0xf8)]()){let _0x4e4084=process[_0x149a2a(0x1e4)]['BROWSERSTACK_RERUN_TESTS'];!helper['isUndefined'](_0x11ceb2['cliConfig'])&&_0x11ceb2[_0x149a2a(0x17d)][_0x149a2a(0x170)](_0x3cffd6[_0x149a2a(0x112)])&&(_0x4e4084=_0x11ceb2[_0x149a2a(0x17d)][_0x149a2a(0x189)](_0x3cffd6['xkHkO'])),_0xe99c8f=testOpsHelper[_0x149a2a(0xf1)](_0x4e4084);}if(helper[_0x149a2a(0x1ad)](_0xe99c8f)){const _0x4306aa={};_0x4306aa[_0x149a2a(0x184)]=ignore,_0x4306aa[_0x149a2a(0xf6)]=extension,_0x4306aa[_0x149a2a(0x151)]=file,_0x4306aa[_0x149a2a(0xfd)]=recursive,_0x4306aa[_0x149a2a(0x123)]=sort,_0x4306aa[_0x149a2a(0xe2)]=spec,_0xe99c8f=_0x3cffd6[_0x149a2a(0x19b)](collectFiles,_0x4306aa),_0x3cffd6['EMUEs'](nestedKeyValue,_0xe99c8f,[_0x3cffd6[_0x149a2a(0x1a4)]])&&(_0xe99c8f=_0xe99c8f[_0x149a2a(0x1b3)]);}const _0x4c3454=helper['parseTestOrchestrationOptions'](_0x11ceb2[_0x149a2a(0x127)]);!helper['isEmpty'](_0x4c3454)&&helper[_0x149a2a(0x187)](_0x4c3454[_0x149a2a(0x165)])&&(_0x328102[_0x149a2a(0x150)]=_0x4c3454[_0x149a2a(0x165)][_0x149a2a(0x179)]);if(!helper[_0x149a2a(0x1ac)]()){const _0x1e505c=0x1,_0x20406c={..._0x328102};_0x20406c[_0x149a2a(0xe2)]=[..._0xe99c8f],_0x21f22d['push']({'mochaOpts':_0x20406c,'configuration':{'platform':os[_0x149a2a(0x1c5)]()}});if(_0x11ceb2[_0x149a2a(0x127)][_0x149a2a(0x108)]){const _0x2db87b={};_0x2db87b['accessibility']=!![];const _0x3ab31f=_0x2db87b;_0x3cffd6[_0x149a2a(0x106)](_0x11ceb2[_0x149a2a(0x127)]['accessibilityOptions'],null)&&(_0x3ab31f[_0x149a2a(0x1b1)]=_0x11ceb2[_0x149a2a(0x127)]['accessibilityOptions'],delete _0x3ab31f[_0x149a2a(0x1b1)][_0x3cffd6[_0x149a2a(0x1c6)]],delete _0x3ab31f[_0x149a2a(0x1b1)][_0x3cffd6[_0x149a2a(0x122)]],delete _0x3ab31f['accessibilityOptions'][_0x3cffd6[_0x149a2a(0xef)]]);const _0x492502={};_0x492502[_0x149a2a(0x14e)]=_0x3ab31f,_0x21f22d[0x0][_0x149a2a(0x19f)][_0x149a2a(0x1bb)]=_0x492502;}logger['info'](_0x3cffd6[_0x149a2a(0xee)]),logger['info'](_0x3cffd6[_0x149a2a(0x16e)]),_0x3cffd6[_0x149a2a(0x1d9)](parallelTestRun,_0x21f22d,_0x1e505c,_0x11ceb2)['then'](_0x426265=>{const _0x222d3a=_0x149a2a;PerformanceTester[_0x222d3a(0x15f)](PerformanceEvents[_0x222d3a(0xf5)]),_0x3cffd6['mjJqg'](printStats,_0x426265,_0x1ee528[_0x222d3a(0xe7)],_0x1ee528[_0x222d3a(0x1ca)]||_0x1ee528[_0x3cffd6['yVore']]);})[_0x149a2a(0x1e1)](()=>{const _0x579347=_0x149a2a;PerformanceTester['start'](PerformanceEvents[_0x579347(0xf5)]);try{const {browserstackFolderPath:_0x514637,tcgConfigPath:_0x15f613}=helper[_0x579347(0x161)]();fs[_0x579347(0xec)](_0x15f613),fs[_0x579347(0x126)](_0x514637);}catch(_0x5d9a1f){logger[_0x579347(0x1a3)](_0x3cffd6[_0x579347(0x1e5)],_0x5d9a1f);}try{utilities[_0x579347(0x1eb)](_0x3cffd6[_0x579347(0x132)],{},_0x11ceb2['config'],_0x11ceb2['framework']);}catch(_0x3a6496){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x3a6496['stack']);}try{helper['notifyUpdate']();}catch(_0x496fd6){logger[_0x579347(0x1a3)](_0x579347(0x177)+_0x496fd6);}testOpsHelper[_0x579347(0x1db)]();});}else{const _0x4220e7=helper[_0x149a2a(0x146)](_0x11ceb2[_0x149a2a(0x127)]);let _0x55fc96=helper[_0x149a2a(0x17b)](_0x11ceb2['config']);_0x423ee0=helper[_0x149a2a(0x1b8)](_0x11ceb2['config'],_0x4220e7,constants['FRAMEWORKS'][_0x149a2a(0xf4)]);helper[_0x149a2a(0x12f)]()['central_scanner']&&(_0x55fc96=centralScannerConstants[_0x149a2a(0x110)]);let _0x409e9a;const _0x3967f9=_0x11ceb2[_0x149a2a(0x127)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x1ee528,_0x50295f,_0x11ceb2[_0x149a2a(0x127)],constants['FRAMEWORKS'][_0x149a2a(0xf4)])||0x1;helper[_0x149a2a(0x144)](_0x11ceb2[_0x149a2a(0x127)])?_0x409e9a=_0x3cffd6[_0x149a2a(0x13e)](_0x11ceb2[_0x149a2a(0x127)]['platforms']['length'],_0x3967f9):_0x409e9a=_0x3967f9;const _0x28b666=_0x3cffd6[_0x149a2a(0x166)](getPercyOptions,_0x11ceb2[_0x149a2a(0x127)]);if(_0x3cffd6[_0x149a2a(0x124)](_0x11ceb2[_0x149a2a(0x127)][_0x149a2a(0x11d)],0x1))_0xe99c8f[_0x149a2a(0x125)](_0x1cad05=>{const _0x162b49=_0x149a2a,_0x46f2a8=[];_0x423ee0[_0x162b49(0x125)]((_0x2b3eae,_0x2fd786)=>{const _0x4ef163=_0x162b49,_0x47d189={};_0x47d189[_0x4ef163(0xe2)]=[_0x1cad05],_0x46f2a8[_0x4ef163(0x169)]({'mochaOpts':Object[_0x4ef163(0x1bd)]({},_0x328102,_0x47d189),'configuration':{'server':_0x55fc96,'capability':_0x2b3eae,'proxySettings':_0x11ceb2[_0x4ef163(0x127)][_0x4ef163(0x11c)],'platform':helper[_0x4ef163(0x163)](_0x2b3eae),'browserStackLogLevel':_0x11ceb2[_0x4ef163(0x127)]['logLevel'],'platformIndex':_0x2fd786,'browserStackPercyOptions':_0x28b666,'platformCaps':Object[_0x4ef163(0x1bd)]({'index':_0x2fd786},_0x11ceb2[_0x4ef163(0x127)][_0x4ef163(0x1d3)][_0x2fd786])}});}),_0x21f22d[_0x162b49(0x169)](..._0x46f2a8);});else{const _0x5d4275=[];_0x423ee0[_0x149a2a(0x125)]((_0x5d01aa,_0x2c1b58)=>{const _0x366df9=_0x149a2a;let _0x2cfbfe=Object[_0x366df9(0x1bd)]({},_0x328102);testOpsHelper[_0x366df9(0x10f)]()&&testOpsHelper[_0x366df9(0xf8)]()&&(_0x2cfbfe={..._0x2cfbfe,'spec':[..._0xe99c8f]}),_0x5d4275[_0x366df9(0x169)]({'mochaOpts':_0x2cfbfe,'configuration':{'server':_0x55fc96,'capability':_0x5d01aa,'proxySettings':_0x11ceb2[_0x366df9(0x127)][_0x366df9(0x11c)],'platform':helper[_0x366df9(0x163)](_0x5d01aa),'browserStackLogLevel':_0x11ceb2[_0x366df9(0x127)]['logLevel'],'platformIndex':_0x2c1b58,'browserStackPercyOptions':_0x28b666,'platformCaps':Object[_0x366df9(0x1bd)]({'index':_0x2c1b58},_0x11ceb2[_0x366df9(0x127)][_0x366df9(0x1d3)][_0x2c1b58])}});}),_0x21f22d[_0x149a2a(0x169)](..._0x5d4275);}logger[_0x149a2a(0x16c)](_0x149a2a(0x14b)+_0x11ceb2[_0x149a2a(0x127)][_0x149a2a(0x1d3)]['length']+_0x149a2a(0x1a1)),logger[_0x149a2a(0x16c)](_0x3cffd6[_0x149a2a(0x16e)]);let _0x11c71c;_0x3cffd6[_0x149a2a(0x1cf)](parallelTestRun,_0x21f22d,_0x409e9a,_0x11ceb2)['then'](_0x66b7da=>{const _0x288c77=_0x149a2a;PerformanceTester[_0x288c77(0x15f)](PerformanceEvents[_0x288c77(0xf5)]),_0x11c71c=_0x66b7da,_0x3cffd6[_0x288c77(0x1cf)](printStats,_0x66b7da,_0x1ee528[_0x288c77(0xe7)],_0x1ee528[_0x288c77(0x1ca)]||_0x1ee528[_0x3cffd6[_0x288c77(0xf2)]]);})[_0x149a2a(0x1e1)](async()=>{const _0x271e76=_0x149a2a;PerformanceTester[_0x271e76(0x15f)](PerformanceEvents[_0x271e76(0xf5)]),_0x11ceb2[_0x271e76(0x182)]=helper[_0x271e76(0xf3)](_0x11c71c,_0x3cffd6[_0x271e76(0x1d4)]),await utilities[_0x271e76(0x10b)](_0x11ceb2),testOpsHelper['printBuildLink']();});}}module[a31_0x298cdb(0x198)]=run;
@@ -1 +1 @@
1
- const a32_0x3b4dcd=a32_0x1d77;(function(_0x242091,_0x5bd711){const _0x11955a=a32_0x1d77,_0x241575=_0x242091();while(!![]){try{const _0x300d3e=parseInt(_0x11955a(0x1d6))/0x1+parseInt(_0x11955a(0x197))/0x2+parseInt(_0x11955a(0x1bf))/0x3+-parseInt(_0x11955a(0x1a3))/0x4*(-parseInt(_0x11955a(0x198))/0x5)+parseInt(_0x11955a(0x191))/0x6+parseInt(_0x11955a(0x1e9))/0x7*(-parseInt(_0x11955a(0x1dd))/0x8)+-parseInt(_0x11955a(0x18d))/0x9;if(_0x300d3e===_0x5bd711)break;else _0x241575['push'](_0x241575['shift']());}catch(_0xbd3e16){_0x241575['push'](_0x241575['shift']());}}}(a32_0x4111,0x799aa));const logger=require(a32_0x3b4dcd(0x1fa))['winstonLogger'],helper=require(a32_0x3b4dcd(0x1aa)),constants=require(a32_0x3b4dcd(0x1d3)),hubAllocator=require(a32_0x3b4dcd(0x1cf)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a32_0x3b4dcd(0x190)),{setAccessibilityCapabilities,setExtension}=require(a32_0x3b4dcd(0x1e4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x43e0d3,_0x10720b=null,_0x317297=![])=>{const _0x3aea55=a32_0x3b4dcd,_0x5676ec={'acqGA':function(_0x2c51f9,_0x17f98f){return _0x2c51f9!==_0x17f98f;},'LgqBy':_0x3aea55(0x1a9),'HSgTh':function(_0x231694,_0x52875d){return _0x231694+_0x52875d;},'qDbdR':_0x3aea55(0x205),'WGjlQ':_0x3aea55(0x1a6),'LuSHM':'goog:chromeOptions','NliNU':_0x3aea55(0x1d2),'iGFeB':_0x3aea55(0x1a5),'bTcWq':_0x3aea55(0x1dc),'ruUII':_0x3aea55(0x1fd),'qBMFd':_0x3aea55(0x1a7),'prtUv':_0x3aea55(0x1bc),'aouem':_0x3aea55(0x19d),'TIwaC':_0x3aea55(0x1d8),'IXNpn':function(_0x31f5b7,_0x52be2d){return _0x31f5b7===_0x52be2d;},'ufPyp':_0x3aea55(0x1c9),'cSqaB':_0x3aea55(0x1eb),'uYSTR':function(_0xe0e1a2,_0x4e8e2b,_0x18f640){return _0xe0e1a2(_0x4e8e2b,_0x18f640);},'YvaDW':_0x3aea55(0x1b8),'vzKeq':_0x3aea55(0x200),'vKgue':function(_0xef74ad,_0x4bd9e3,_0x3492da){return _0xef74ad(_0x4bd9e3,_0x3492da);},'iSycz':function(_0x4c0f16,_0x349a4f,_0x540146){return _0x4c0f16(_0x349a4f,_0x540146);},'Rtded':function(_0x31cf2b,_0x4a6db5){return _0x31cf2b(_0x4a6db5);},'pbbff':_0x3aea55(0x1d0),'EvfmD':_0x3aea55(0x1e0),'aTnPZ':_0x3aea55(0x18f),'Gvney':function(_0x5f2dd9){return _0x5f2dd9();},'Qhmyq':function(_0x54464c,_0x242c6a,_0x17f9ec){return _0x54464c(_0x242c6a,_0x17f9ec);},'xcejc':function(_0xfccf3a,_0x2d1866){return _0xfccf3a!==_0x2d1866;},'TsThY':function(_0x3e19c7,_0x559785){return _0x3e19c7!==_0x559785;},'NLRsJ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','PLfZu':_0x3aea55(0x1b3)},_0x2f27e6=helper['requireHttpClient']();let _0x499466;try{_0x499466=helper[_0x3aea55(0x1a4)](),_0x499466[_0x3aea55(0x1ae)]&&(_0x499466[_0x3aea55(0x1c1)]=_0x499466['originalBuilder']);}catch(_0x2b1683){return;}if(helper[_0x3aea55(0x1ea)]()){const _0x343d8e={};_0x343d8e[_0x3aea55(0x1da)]=_0x43e0d3['browserStackLogLevel'],helper[_0x3aea55(0x1f0)](_0x343d8e,new Map(),new Map()),logger['info'](_0x5676ec[_0x3aea55(0x1e7)]),logger[_0x3aea55(0x1ef)](_0x5676ec[_0x3aea55(0x1f2)]);}class _0x2ea3b8 extends _0x2f27e6['HttpClient']{[_0x3aea55(0x1c6)](_0x361cc8){const _0x3277b0=_0x3aea55;if(_0x5676ec[_0x3277b0(0x1d1)](_0x361cc8['path'],_0x5676ec[_0x3277b0(0x1fb)])&&_0x5676ec[_0x3277b0(0x1d1)](global[_0x3277b0(0x1b4)],''))try{global[_0x3277b0(0x1b4)]=_0x5676ec[_0x3277b0(0x1f5)](_0x5676ec[_0x3277b0(0x1f5)](_0x5676ec[_0x3277b0(0x1cd)],global[_0x3277b0(0x1b4)]),_0x5676ec[_0x3277b0(0x1ac)]),this['options_']=hubAllocator[_0x3277b0(0x18e)](global['newHubUrl']),logger[_0x3277b0(0x1ef)](_0x3277b0(0x1b0)+global[_0x3277b0(0x1b4)]),global[_0x3277b0(0x1b4)]='';}catch(_0x4c2756){logger['error'](_0x4c2756);}return super['send'](_0x361cc8);}}class _0x41c74f extends _0x499466[_0x3aea55(0x1c1)]{[_0x3aea55(0x1a0)](){const _0x3a16d2=_0x3aea55;return this[_0x3a16d2(0x1d7)]=helper[_0x3a16d2(0x1f1)](_0x43e0d3),logger[_0x3a16d2(0x1ef)](_0x3a16d2(0x1e6)+this['url_']),this;}['__setBrowserOptions'](_0x28080a){const _0xd6eb7c=_0x3aea55;let _0x529038={};for(const _0x53bce7 in _0x28080a){switch(_0x53bce7){case _0x5676ec[_0xd6eb7c(0x1b5)]:case _0x5676ec[_0xd6eb7c(0x1be)]:this['chromeOptions_']&&(_0x529038=this[_0xd6eb7c(0x19c)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x19c)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x19c)][_0xd6eb7c(0x19f)](this['chromeOptions_'][_0xd6eb7c(0x1ec)],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec[_0xd6eb7c(0x1a8)]:case _0x5676ec[_0xd6eb7c(0x206)]:this[_0xd6eb7c(0x1b6)]&&(_0x529038=this['edgeOptions_'][_0xd6eb7c(0x1f4)](this['edgeOptions_'][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x1b6)][_0xd6eb7c(0x19f)](this[_0xd6eb7c(0x1b6)]['CAPABILITY_KEY'],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec['ruUII']:case _0x5676ec['qBMFd']:this[_0xd6eb7c(0x196)]&&(_0x529038=this[_0xd6eb7c(0x196)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x196)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x196)][_0xd6eb7c(0x19f)](this[_0xd6eb7c(0x196)][_0xd6eb7c(0x1ec)],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec['prtUv']:this[_0xd6eb7c(0x204)]&&(_0x529038=this[_0xd6eb7c(0x204)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x204)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x204)][_0xd6eb7c(0x19f)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0xd6eb7c(0x1f3)](_0x529038,_0x28080a[_0x53bce7])));break;case _0x5676ec[_0xd6eb7c(0x1f7)]:case _0x5676ec[_0xd6eb7c(0x1b2)]:this[_0xd6eb7c(0x1bd)]&&(_0x529038=this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x1f4)](this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x1ec)])||{},this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x19f)](this[_0xd6eb7c(0x1bd)][_0xd6eb7c(0x1ec)],helper['mergeDeep'](_0x529038,_0x28080a[_0x53bce7])));break;}}}[_0x3aea55(0x19b)](){const _0x4f4f24=_0x3aea55,_0x4c4777={'qNjSc':function(_0x2e799f,_0x922443){return _0x5676ec['IXNpn'](_0x2e799f,_0x922443);},'KVGzI':_0x5676ec['ufPyp']};return logger[_0x4f4f24(0x1ef)](_0x5676ec[_0x4f4f24(0x1c2)]),this[_0x4f4f24(0x1f9)](_0x43e0d3['capability']),Object['keys'](_0x43e0d3[_0x4f4f24(0x1db)])[_0x4f4f24(0x202)](_0x41d7bd=>{const _0x26fac9=_0x4f4f24,_0x44c2f1=this['capabilities_'][_0x26fac9(0x1f4)](_0x41d7bd);_0x4c4777['qNjSc'](typeof _0x44c2f1,_0x4c4777[_0x26fac9(0x1ad)])?this[_0x26fac9(0x203)][_0x26fac9(0x19f)](_0x41d7bd,helper[_0x26fac9(0x1f3)](_0x44c2f1,_0x43e0d3[_0x26fac9(0x1db)][_0x41d7bd])):this[_0x26fac9(0x203)][_0x26fac9(0x19f)](_0x41d7bd,_0x43e0d3[_0x26fac9(0x1db)][_0x41d7bd]);}),this;}[_0x3aea55(0x1f8)](){const _0x48ed4c=_0x3aea55,_0x2c5c6f={'vJHmt':_0x5676ec['YvaDW'],'FoOtU':_0x5676ec[_0x48ed4c(0x1c8)],'RftxL':function(_0x42b010,_0x1ed2db,_0x5ce05a){const _0x201266=_0x48ed4c;return _0x5676ec[_0x201266(0x207)](_0x42b010,_0x1ed2db,_0x5ce05a);},'VLRgV':function(_0x36fce5,_0x518b70,_0x572eab){const _0x1f977e=_0x48ed4c;return _0x5676ec[_0x1f977e(0x1ee)](_0x36fce5,_0x518b70,_0x572eab);},'bdFRS':function(_0xe0d9bb,_0x212aee){const _0x39ade2=_0x48ed4c;return _0x5676ec[_0x39ade2(0x201)](_0xe0d9bb,_0x212aee);},'zVxWF':function(_0x356e48,_0x10b723,_0x4c38cd){const _0x21a271=_0x48ed4c;return _0x5676ec[_0x21a271(0x1e2)](_0x356e48,_0x10b723,_0x4c38cd);}};if(helper['isBrowserstackInfra']()){const _0x558f52=_0x5676ec[_0x48ed4c(0x1cb)][_0x48ed4c(0x19a)]('|');let _0x13f3c8=0x0;while(!![]){switch(_0x558f52[_0x13f3c8++]){case'0':if(helper[_0x48ed4c(0x199)](_0x43e0d3[_0x48ed4c(0x194)][_0x48ed4c(0x1b1)]))this[_0x48ed4c(0x1bb)]=helper[_0x48ed4c(0x1d4)](_0x43e0d3['proxySettings'][_0x48ed4c(0x1b1)]);else _0x43e0d3[_0x48ed4c(0x194)][_0x48ed4c(0x1b1)]&&(this[_0x48ed4c(0x1df)]=_0x43e0d3[_0x48ed4c(0x194)][_0x48ed4c(0x1b1)],logger['debug'](_0x48ed4c(0x1ca)+this[_0x48ed4c(0x1df)]));continue;case'1':this[_0x48ed4c(0x1a0)]();continue;case'2':this[_0x48ed4c(0x19b)]();continue;case'3':globals['getGlobal'](_0x5676ec['EvfmD'])&&(!_0x5676ec['vKgue'](setExtension,this,_0x43e0d3)&&globals[_0x48ed4c(0x1de)](_0x5676ec['EvfmD'],![]));continue;case'4':logger[_0x48ed4c(0x1ef)](_0x5676ec['aTnPZ']);continue;case'5':_0x5676ec[_0x48ed4c(0x1b7)](isAccessibilityAutomationSession)&&_0x5676ec[_0x48ed4c(0x201)](setAccessibilityCapabilities,_0x43e0d3);continue;}break;}}const _0x4b6f12=super[_0x48ed4c(0x1f8)]();return _0x4b6f12[_0x48ed4c(0x1f6)][_0x48ed4c(0x1fc)](_0x493b49=>{const _0x3eb5cf=_0x48ed4c;try{const _0x4b892d=_0x493b49[_0x3eb5cf(0x19e)][_0x3eb5cf(0x1f4)](_0x2c5c6f[_0x3eb5cf(0x1d9)]);_0x4b892d?(logger[_0x3eb5cf(0x1ef)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x4b892d),hubAllocator[_0x3eb5cf(0x1e5)](_0x4b892d),helper[_0x3eb5cf(0x1e3)](_0x4b892d)):logger[_0x3eb5cf(0x1ef)](_0x2c5c6f[_0x3eb5cf(0x1c3)]);}catch(_0x49b2a2){logger[_0x3eb5cf(0x1ef)](_0x3eb5cf(0x193)+_0x49b2a2);}}),_0x4b6f12[_0x48ed4c(0x1b9)]=0x0,_0x4b6f12[_0x48ed4c(0x1fc)]&&_0x4b6f12[_0x48ed4c(0x1fc)](_0x1fa65b=>{const _0x1f94a6=_0x48ed4c,_0x263590={'lFpgI':function(_0x46d3a1,_0x1a26da,_0x35239b){const _0x3c7b15=a32_0x1d77;return _0x2c5c6f[_0x3c7b15(0x192)](_0x46d3a1,_0x1a26da,_0x35239b);}};_0x2c5c6f[_0x1f94a6(0x1ff)](overrideQuit,_0x1fa65b,_0x4b6f12),_0x2c5c6f[_0x1f94a6(0x1ab)](overrideTakeScreenshot,_0x1fa65b),helper[_0x1f94a6(0x1c5)](_0x1fa65b,_0x43e0d3),_0x2c5c6f[_0x1f94a6(0x1af)](overrideExecute,_0x1fa65b,_0x43e0d3),_0x1fa65b['getAccessibilityResultsSummary']=async()=>{const _0x56c0c5=_0x1f94a6;return await _0x263590[_0x56c0c5(0x1fe)](getAccessibilityResultsSummary,_0x1fa65b,global);},_0x1fa65b[_0x1f94a6(0x1a2)]=async()=>{const _0xd96d34=_0x1f94a6;return await _0x2c5c6f[_0xd96d34(0x1ff)](getAccessibilityResults,_0x1fa65b,global);};}),_0x4b6f12[_0x48ed4c(0x1a1)]=async()=>{const _0x5e9926=_0x48ed4c;return await _0x5676ec[_0x5e9926(0x1e2)](getAccessibilityResultsSummary,_0x4b6f12,global);},_0x4b6f12[_0x48ed4c(0x1a2)]=async()=>{const _0x3299de=_0x48ed4c;return await _0x5676ec[_0x3299de(0x1e2)](getAccessibilityResults,_0x4b6f12,global);},_0x5676ec['Rtded'](overrideTakeScreenshot,_0x4b6f12),_0x5676ec[_0x48ed4c(0x201)](overrideQuit,_0x4b6f12),helper[_0x48ed4c(0x1c5)](_0x4b6f12,_0x43e0d3),_0x5676ec[_0x48ed4c(0x1d5)](overrideExecute,_0x4b6f12,_0x43e0d3),helper['isUndefined'](global[_0x48ed4c(0x195)])&&(global[_0x48ed4c(0x195)]=[]),helper['isUndefined'](global[_0x48ed4c(0x1c7)])&&(global[_0x48ed4c(0x1c7)]=[]),global[_0x48ed4c(0x195)][_0x48ed4c(0x1c4)](_0x4b6f12),global['__driver']=_0x4b6f12,_0x5676ec[_0x48ed4c(0x1ed)](global[_0x48ed4c(0x1c7)],undefined)&&global[_0x48ed4c(0x1c7)]['push'](_0x4b6f12),_0x10720b&&helper[_0x48ed4c(0x1ba)](_0x10720b[_0x48ed4c(0x1e1)][_0x48ed4c(0x195)])&&(_0x10720b[_0x48ed4c(0x1e1)][_0x48ed4c(0x195)]=[]),_0x10720b&&_0x5676ec[_0x48ed4c(0x1cc)](_0x10720b['global'][_0x48ed4c(0x1c7)],undefined)&&(_0x10720b['global']['__drivers']['push'](_0x4b6f12),_0x10720b[_0x48ed4c(0x1e1)][_0x48ed4c(0x195)][_0x48ed4c(0x1c4)](_0x4b6f12)),_0x4b6f12;}}return _0x499466[_0x3aea55(0x1ae)]=_0x499466[_0x3aea55(0x1c1)],_0x499466[_0x3aea55(0x1c1)]=_0x41c74f,_0x2f27e6[_0x3aea55(0x1ce)]=_0x2ea3b8,_0x499466;};function a32_0x1d77(_0x97f80,_0xfe3abc){const _0x4111b8=a32_0x4111();return a32_0x1d77=function(_0x1d77fd,_0xbf381){_0x1d77fd=_0x1d77fd-0x18d;let _0x58ea70=_0x4111b8[_0x1d77fd];return _0x58ea70;},a32_0x1d77(_0x97f80,_0xfe3abc);}module[a32_0x3b4dcd(0x1c0)][a32_0x3b4dcd(0x1e8)]=modify;function a32_0x4111(){const _0x4e3a2f=['ieOptions_','NliNU','1197201eNSAot','exports','Builder','cSqaB','FoOtU','push','overrideGet','send','__drivers','vzKeq','object','Proxy\x20set\x20to\x20','pbbff','TsThY','qDbdR','HttpClient','../../../hubAllocationMethods','5|1|2|0|3|4','acqGA','chromeOptions','../../../bin/utils/constants','getHttpAgent','Qhmyq','629524aSBsNl','url_','ieOptions','vJHmt','logLevel','capability','edgeOptions','128iSinEM','setGlobal','proxy_','isAccessibilityPlatform','global','uYSTR','storeOptimalHubUrl','../accessibility-automation/helper','updateHubUrl','Hub\x20url\x20set\x20to\x20','NLRsJ','browserstackAgentObservability','34433UzYerg','isBrowserstackInfra','Setting\x20Browserstack\x20capabilities','CAPABILITY_KEY','xcejc','iSycz','debug','setLogLevel','getHubUrl','PLfZu','mergeDeep','get','HSgTh','session_','aouem','build','__setBrowserOptions','../../../helpers/logger','LgqBy','then','moz:firefoxOptions','lFpgI','RftxL','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','Rtded','forEach','capabilities_','safariOptions_','https://','bTcWq','vKgue','14267286sucPlf','getRequestOptions','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../../../helpers/patchHelpers','446112fcZBEl','VLRgV','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','proxySettings','__driversArray','firefoxOptions_','1754572UdVuAd','55hixSUS','isPacProxy','split','setCapabilities','chromeOptions_','se:ieOptions','caps_','set','setServer','getAccessibilityResultsSummary','getAccessibilityResults','66116UDDBjq','requireSeleniumWebdriver','ms:edgeOptions','/wd/hub','firefoxOptions','iGFeB','/session','../../../helpers/helper','bdFRS','WGjlQ','KVGzI','originalBuilder','zVxWF','New\x20hub\x20url\x20set\x20to\x20','proxyUrl','TIwaC','Modifying\x20webdriver\x20builder','newHubUrl','LuSHM','edgeOptions_','Gvney','optimalHubUrl','quitCount_','isUndefined','agent_','safari.options'];a32_0x4111=function(){return _0x4e3a2f;};return a32_0x4111();}
1
+ const a32_0x434a48=a32_0x1d00;(function(_0x105617,_0x15fde8){const _0x2d3ace=a32_0x1d00,_0x2eba8b=_0x105617();while(!![]){try{const _0x1aeb12=parseInt(_0x2d3ace(0x1aa))/0x1*(parseInt(_0x2d3ace(0x1df))/0x2)+-parseInt(_0x2d3ace(0x1e1))/0x3*(-parseInt(_0x2d3ace(0x1c0))/0x4)+-parseInt(_0x2d3ace(0x1b4))/0x5+-parseInt(_0x2d3ace(0x1fa))/0x6+parseInt(_0x2d3ace(0x1ba))/0x7+parseInt(_0x2d3ace(0x19d))/0x8+parseInt(_0x2d3ace(0x1a2))/0x9;if(_0x1aeb12===_0x15fde8)break;else _0x2eba8b['push'](_0x2eba8b['shift']());}catch(_0x14da47){_0x2eba8b['push'](_0x2eba8b['shift']());}}}(a32_0x10ef,0x9c3d2));const logger=require('../../../helpers/logger')[a32_0x434a48(0x1a5)],helper=require(a32_0x434a48(0x1f8)),constants=require(a32_0x434a48(0x1d1)),hubAllocator=require(a32_0x434a48(0x1a7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a32_0x434a48(0x1ac)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a32_0x434a48(0x1b8)),modify=(_0x36388a,_0x201d40=null,_0xca0b4b=![])=>{const _0x4823a8=a32_0x434a48,_0x11c121={'kJSiS':function(_0x1fb4ea,_0x5c9c56){return _0x1fb4ea!==_0x5c9c56;},'xwHCM':_0x4823a8(0x1c3),'QmsZO':function(_0x3090e1,_0x15e5a2){return _0x3090e1!==_0x15e5a2;},'VvLIu':function(_0x37b8c2,_0xb00fa6){return _0x37b8c2+_0xb00fa6;},'HkplI':_0x4823a8(0x1ae),'TGaMT':_0x4823a8(0x1e3),'wcppP':'goog:chromeOptions','KKYfe':_0x4823a8(0x1b0),'CtPgZ':_0x4823a8(0x1bf),'HFunp':_0x4823a8(0x1f0),'YxIqg':'moz:firefoxOptions','IJKem':_0x4823a8(0x206),'JEbnk':'safari.options','UgCRy':_0x4823a8(0x1b2),'hnWDO':'ieOptions','fvLpB':function(_0x586eb1,_0x4270b1){return _0x586eb1===_0x4270b1;},'shPKX':'object','VVRNb':_0x4823a8(0x1f2),'zffXo':function(_0x5a291d,_0x56bf06,_0x5d8575){return _0x5a291d(_0x56bf06,_0x5d8575);},'OEsSK':function(_0x4a7a2a,_0x5c042c){return _0x4a7a2a(_0x5c042c);},'YcVEV':_0x4823a8(0x203),'zrzKC':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','BrZHz':_0x4823a8(0x1c2),'RAnSS':_0x4823a8(0x1bb),'dwqgk':_0x4823a8(0x1f7),'qEEsf':function(_0x411f4a){return _0x411f4a();},'mVdlb':function(_0x1bd6ec,_0x332ac0){return _0x1bd6ec(_0x332ac0);},'sGOvK':function(_0x25e782,_0x35aa21){return _0x25e782(_0x35aa21);},'QTYXp':function(_0x48b933,_0x5073cd,_0x398996){return _0x48b933(_0x5073cd,_0x398996);},'gBOkJ':_0x4823a8(0x19c),'bwNuT':_0x4823a8(0x19e)},_0x4104bd=helper[_0x4823a8(0x1f4)]();let _0x3ca527;try{_0x3ca527=helper['requireSeleniumWebdriver'](),_0x3ca527[_0x4823a8(0x1fc)]&&(_0x3ca527[_0x4823a8(0x1dc)]=_0x3ca527['originalBuilder']);}catch(_0x4f253a){return;}if(helper['isBrowserstackInfra']()){const _0x1230b7={};_0x1230b7[_0x4823a8(0x1d3)]=_0x36388a[_0x4823a8(0x19b)],helper['setLogLevel'](_0x1230b7,new Map(),new Map()),logger['info'](_0x11c121[_0x4823a8(0x1bc)]),logger[_0x4823a8(0x1d4)](_0x11c121[_0x4823a8(0x1d9)]);}class _0x2a008f extends _0x4104bd[_0x4823a8(0x1b1)]{[_0x4823a8(0x1d6)](_0x3175d0){const _0x1d10f9=_0x4823a8;if(_0x11c121[_0x1d10f9(0x1d7)](_0x3175d0['path'],_0x11c121[_0x1d10f9(0x205)])&&_0x11c121['QmsZO'](global['newHubUrl'],''))try{global[_0x1d10f9(0x1a3)]=_0x11c121['VvLIu'](_0x11c121[_0x1d10f9(0x1dd)](_0x11c121[_0x1d10f9(0x1b7)],global[_0x1d10f9(0x1a3)]),_0x11c121[_0x1d10f9(0x1ec)]),this[_0x1d10f9(0x1fd)]=hubAllocator['getRequestOptions'](global[_0x1d10f9(0x1a3)]),logger['debug'](_0x1d10f9(0x1cf)+global[_0x1d10f9(0x1a3)]),global[_0x1d10f9(0x1a3)]='';}catch(_0x1072de){logger[_0x1d10f9(0x1fb)](_0x1072de);}return super[_0x1d10f9(0x1d6)](_0x3175d0);}}class _0x37b3d8 extends _0x3ca527[_0x4823a8(0x1dc)]{[_0x4823a8(0x1ff)](){const _0x420270=_0x4823a8;return this[_0x420270(0x1d0)]=helper[_0x420270(0x1e7)](_0x36388a),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x420270(0x1d0)]),this;}[_0x4823a8(0x202)](_0x1fb8fe){const _0x26dbea=_0x4823a8;let _0x49810d={};for(const _0x3baf60 in _0x1fb8fe){switch(_0x3baf60){case _0x11c121[_0x26dbea(0x1de)]:case _0x11c121[_0x26dbea(0x1f6)]:this[_0x26dbea(0x1b9)]&&(_0x49810d=this[_0x26dbea(0x1b9)][_0x26dbea(0x1af)](this[_0x26dbea(0x1b9)][_0x26dbea(0x1db)])||{},this[_0x26dbea(0x1b9)][_0x26dbea(0x198)](this[_0x26dbea(0x1b9)][_0x26dbea(0x1db)],helper['mergeDeep'](_0x49810d,_0x1fb8fe[_0x3baf60])));break;case _0x11c121[_0x26dbea(0x1bd)]:case _0x11c121[_0x26dbea(0x1f9)]:this[_0x26dbea(0x1cd)]&&(_0x49810d=this['edgeOptions_'][_0x26dbea(0x1af)](this['edgeOptions_'][_0x26dbea(0x1db)])||{},this[_0x26dbea(0x1cd)][_0x26dbea(0x198)](this[_0x26dbea(0x1cd)]['CAPABILITY_KEY'],helper[_0x26dbea(0x1a1)](_0x49810d,_0x1fb8fe[_0x3baf60])));break;case _0x11c121[_0x26dbea(0x1ab)]:case _0x11c121[_0x26dbea(0x207)]:this[_0x26dbea(0x1d5)]&&(_0x49810d=this[_0x26dbea(0x1d5)][_0x26dbea(0x1af)](this[_0x26dbea(0x1d5)][_0x26dbea(0x1db)])||{},this[_0x26dbea(0x1d5)][_0x26dbea(0x198)](this[_0x26dbea(0x1d5)][_0x26dbea(0x1db)],helper[_0x26dbea(0x1a1)](_0x49810d,_0x1fb8fe[_0x3baf60])));break;case _0x11c121[_0x26dbea(0x1c6)]:this[_0x26dbea(0x1ea)]&&(_0x49810d=this[_0x26dbea(0x1ea)]['get'](this[_0x26dbea(0x1ea)][_0x26dbea(0x1db)])||{},this[_0x26dbea(0x1ea)]['set'](this[_0x26dbea(0x1ea)][_0x26dbea(0x1db)],helper['mergeDeep'](_0x49810d,_0x1fb8fe[_0x3baf60])));break;case _0x11c121[_0x26dbea(0x1f3)]:case _0x11c121[_0x26dbea(0x1eb)]:this['ieOptions_']&&(_0x49810d=this['ieOptions_'][_0x26dbea(0x1af)](this[_0x26dbea(0x1ef)]['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x26dbea(0x198)](this[_0x26dbea(0x1ef)][_0x26dbea(0x1db)],helper[_0x26dbea(0x1a1)](_0x49810d,_0x1fb8fe[_0x3baf60])));break;}}}[_0x4823a8(0x1ad)](){const _0x1acb6e=_0x4823a8,_0x48a6b5={'tZOAM':function(_0x139147,_0x16adb7){const _0x5a954a=a32_0x1d00;return _0x11c121[_0x5a954a(0x1b5)](_0x139147,_0x16adb7);},'nApCk':_0x11c121[_0x1acb6e(0x1c4)]};return logger[_0x1acb6e(0x1d4)](_0x11c121[_0x1acb6e(0x199)]),this[_0x1acb6e(0x202)](_0x36388a[_0x1acb6e(0x1f5)]),Object['keys'](_0x36388a[_0x1acb6e(0x1f5)])['forEach'](_0xf58dd4=>{const _0x13104b=_0x1acb6e,_0x4a60b4=this[_0x13104b(0x1be)][_0x13104b(0x1af)](_0xf58dd4);_0x48a6b5[_0x13104b(0x1a4)](typeof _0x4a60b4,_0x48a6b5[_0x13104b(0x1ee)])?this['capabilities_'][_0x13104b(0x198)](_0xf58dd4,helper[_0x13104b(0x1a1)](_0x4a60b4,_0x36388a[_0x13104b(0x1f5)][_0xf58dd4])):this[_0x13104b(0x1be)][_0x13104b(0x198)](_0xf58dd4,_0x36388a[_0x13104b(0x1f5)][_0xf58dd4]);}),this;}['build'](){const _0x5e6f8e=_0x4823a8,_0x225c0b={'cxyoK':_0x11c121[_0x5e6f8e(0x1c5)],'QrqPw':_0x11c121['zrzKC'],'mWjhg':function(_0x33ba2f,_0x12d42f,_0x2c7f7d){const _0x4e4544=_0x5e6f8e;return _0x11c121[_0x4e4544(0x1e8)](_0x33ba2f,_0x12d42f,_0x2c7f7d);}};if(helper['isBrowserstackInfra']()){const _0x47ec9d=_0x11c121['BrZHz']['split']('|');let _0x32a5bd=0x0;while(!![]){switch(_0x47ec9d[_0x32a5bd++]){case'0':logger[_0x5e6f8e(0x1d4)](_0x11c121['RAnSS']);continue;case'1':globals['getGlobal'](_0x11c121[_0x5e6f8e(0x1a9)])&&(!_0x11c121[_0x5e6f8e(0x1e8)](setExtension,this,_0x36388a)&&globals[_0x5e6f8e(0x1f1)](_0x11c121[_0x5e6f8e(0x1a9)],![]));continue;case'2':_0x11c121[_0x5e6f8e(0x1c1)](isAccessibilityAutomationSession)&&_0x11c121[_0x5e6f8e(0x1e9)](setAccessibilityCapabilities,_0x36388a);continue;case'3':if(helper[_0x5e6f8e(0x1cc)](_0x36388a[_0x5e6f8e(0x1a6)][_0x5e6f8e(0x1fe)]))this[_0x5e6f8e(0x1b3)]=helper['getHttpAgent'](_0x36388a[_0x5e6f8e(0x1a6)][_0x5e6f8e(0x1fe)]);else _0x36388a[_0x5e6f8e(0x1a6)][_0x5e6f8e(0x1fe)]&&(this['proxy_']=_0x36388a[_0x5e6f8e(0x1a6)][_0x5e6f8e(0x1fe)],logger['debug'](_0x5e6f8e(0x1e0)+this[_0x5e6f8e(0x1ed)]));continue;case'4':this['setServer']();continue;case'5':this[_0x5e6f8e(0x1ad)]();continue;}break;}}const _0x2d1102=super['build']();return _0x2d1102['session_'][_0x5e6f8e(0x1ca)](_0x255ea4=>{const _0x6fc21e=_0x5e6f8e;try{const _0x2eb53f=_0x255ea4[_0x6fc21e(0x1cb)][_0x6fc21e(0x1af)](_0x225c0b[_0x6fc21e(0x1d2)]);_0x2eb53f?(logger[_0x6fc21e(0x1d4)](_0x6fc21e(0x1e4)+_0x2eb53f),hubAllocator[_0x6fc21e(0x204)](_0x2eb53f),helper['storeOptimalHubUrl'](_0x2eb53f)):logger[_0x6fc21e(0x1d4)](_0x225c0b[_0x6fc21e(0x1c8)]);}catch(_0xc90847){logger[_0x6fc21e(0x1d4)](_0x6fc21e(0x1e6)+_0xc90847);}}),_0x2d1102[_0x5e6f8e(0x200)]=0x0,_0x2d1102[_0x5e6f8e(0x1ca)]&&_0x2d1102[_0x5e6f8e(0x1ca)](_0x1577b4=>{const _0x324346=_0x5e6f8e,_0x1caeb2={'Tyehz':function(_0x55d7cf,_0x6c8f3e,_0xe2ac40){const _0x368784=a32_0x1d00;return _0x11c121[_0x368784(0x1e8)](_0x55d7cf,_0x6c8f3e,_0xe2ac40);}};_0x11c121[_0x324346(0x1e8)](overrideQuit,_0x1577b4,_0x2d1102),_0x11c121['OEsSK'](overrideTakeScreenshot,_0x1577b4),helper[_0x324346(0x1e5)](_0x1577b4,_0x36388a),_0x11c121[_0x324346(0x1e8)](overrideExecute,_0x1577b4,_0x36388a),_0x1577b4[_0x324346(0x1d8)]=async()=>{const _0x2ac1b3=_0x324346;return await _0x225c0b[_0x2ac1b3(0x201)](getAccessibilityResultsSummary,_0x1577b4,global);},_0x1577b4['getAccessibilityResults']=async()=>{const _0x27b53a=_0x324346;return await _0x1caeb2[_0x27b53a(0x1c9)](getAccessibilityResults,_0x1577b4,global);};}),_0x2d1102[_0x5e6f8e(0x1d8)]=async()=>{const _0x38603e=_0x5e6f8e;return await _0x225c0b[_0x38603e(0x201)](getAccessibilityResultsSummary,_0x2d1102,global);},_0x2d1102[_0x5e6f8e(0x208)]=async()=>{const _0x5e6dd2=_0x5e6f8e;return await _0x11c121[_0x5e6dd2(0x1e8)](getAccessibilityResults,_0x2d1102,global);},_0x11c121[_0x5e6f8e(0x1b6)](overrideTakeScreenshot,_0x2d1102),_0x11c121[_0x5e6f8e(0x1da)](overrideQuit,_0x2d1102),helper[_0x5e6f8e(0x1e5)](_0x2d1102,_0x36388a),_0x11c121['QTYXp'](overrideExecute,_0x2d1102,_0x36388a),helper[_0x5e6f8e(0x1ce)](global[_0x5e6f8e(0x1a0)])&&(global[_0x5e6f8e(0x1a0)]=[]),helper['isUndefined'](global[_0x5e6f8e(0x1c7)])&&(global['__drivers']=[]),global[_0x5e6f8e(0x1a0)]['push'](_0x2d1102),global[_0x5e6f8e(0x1e2)]=_0x2d1102,_0x11c121[_0x5e6f8e(0x1d7)](global[_0x5e6f8e(0x1c7)],undefined)&&global['__drivers'][_0x5e6f8e(0x19f)](_0x2d1102),_0x201d40&&helper[_0x5e6f8e(0x1ce)](_0x201d40['global'][_0x5e6f8e(0x1a0)])&&(_0x201d40[_0x5e6f8e(0x19a)][_0x5e6f8e(0x1a0)]=[]),_0x201d40&&_0x11c121['QmsZO'](_0x201d40[_0x5e6f8e(0x19a)][_0x5e6f8e(0x1c7)],undefined)&&(_0x201d40['global'][_0x5e6f8e(0x1c7)][_0x5e6f8e(0x19f)](_0x2d1102),_0x201d40[_0x5e6f8e(0x19a)][_0x5e6f8e(0x1a0)][_0x5e6f8e(0x19f)](_0x2d1102)),_0x2d1102;}}return _0x3ca527[_0x4823a8(0x1fc)]=_0x3ca527[_0x4823a8(0x1dc)],_0x3ca527['Builder']=_0x37b3d8,_0x4104bd[_0x4823a8(0x1b1)]=_0x2a008f,_0x3ca527;};module[a32_0x434a48(0x1a8)]['browserstackAgentObservability']=modify;function a32_0x1d00(_0x42b93f,_0x45d782){const _0x10ef0e=a32_0x10ef();return a32_0x1d00=function(_0x1d0004,_0x4e7a5a){_0x1d0004=_0x1d0004-0x198;let _0x3c18cd=_0x10ef0e[_0x1d0004];return _0x3c18cd;},a32_0x1d00(_0x42b93f,_0x45d782);}function a32_0x10ef(){const _0x255f01=['caps_','isPacProxy','edgeOptions_','isUndefined','New\x20hub\x20url\x20set\x20to\x20','url_','../../../bin/utils/constants','cxyoK','logLevel','debug','firefoxOptions_','send','kJSiS','getAccessibilityResultsSummary','bwNuT','sGOvK','CAPABILITY_KEY','Builder','VvLIu','wcppP','122fgzvHC','Proxy\x20set\x20to\x20','900498lSDCRi','__driver','/wd/hub','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','overrideGet','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHubUrl','zffXo','OEsSK','safariOptions_','hnWDO','TGaMT','proxy_','nApCk','ieOptions_','edgeOptions','setGlobal','Setting\x20Browserstack\x20capabilities','UgCRy','requireHttpClient','capability','KKYfe','isAccessibilityPlatform','../../../helpers/helper','HFunp','7426464vjavHa','error','originalBuilder','options_','proxyUrl','setServer','quitCount_','mWjhg','__setBrowserOptions','optimalHubUrl','updateHubUrl','xwHCM','firefoxOptions','IJKem','getAccessibilityResults','set','VVRNb','global','browserStackLogLevel','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','3986048MPwhKm','Modifying\x20webdriver\x20builder','push','__driversArray','mergeDeep','2761326OUmQGD','newHubUrl','tZOAM','winstonLogger','proxySettings','../../../hubAllocationMethods','exports','dwqgk','14411LRixXO','YxIqg','../../../helpers/accessibility-automation/helper','setCapabilities','https://','get','chromeOptions','HttpClient','se:ieOptions','agent_','1854675FfcOCa','fvLpB','mVdlb','HkplI','./helpers/patchHelper','chromeOptions_','1850282dUaMgM','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','gBOkJ','CtPgZ','capabilities_','ms:edgeOptions','4dTlSfq','qEEsf','2|4|5|3|1|0','/session','shPKX','YcVEV','JEbnk','__drivers','QrqPw','Tyehz','then'];a32_0x10ef=function(){return _0x255f01;};return a32_0x10ef();}
@@ -1 +1 @@
1
- const a33_0x330f20=a33_0x1f58;(function(_0x1e3c1,_0x29f401){const _0x119914=a33_0x1f58,_0x2d3e93=_0x1e3c1();while(!![]){try{const _0x29784a=-parseInt(_0x119914(0xcb))/0x1+-parseInt(_0x119914(0xc2))/0x2*(parseInt(_0x119914(0xcf))/0x3)+-parseInt(_0x119914(0xc8))/0x4+-parseInt(_0x119914(0xc3))/0x5+-parseInt(_0x119914(0xcc))/0x6*(-parseInt(_0x119914(0xcd))/0x7)+-parseInt(_0x119914(0xc7))/0x8*(parseInt(_0x119914(0xc0))/0x9)+-parseInt(_0x119914(0xc4))/0xa*(-parseInt(_0x119914(0xc6))/0xb);if(_0x29784a===_0x29f401)break;else _0x2d3e93['push'](_0x2d3e93['shift']());}catch(_0x4f51ee){_0x2d3e93['push'](_0x2d3e93['shift']());}}}(a33_0x1b95,0xbd580));function a33_0x1f58(_0x17d0fa,_0x379d3d){const _0x1b95e3=a33_0x1b95();return a33_0x1f58=function(_0x1f589a,_0x4db654){_0x1f589a=_0x1f589a-0xc0;let _0x9a4715=_0x1b95e3[_0x1f589a];return _0x9a4715;},a33_0x1f58(_0x17d0fa,_0x379d3d);}const requestSpy=require(a33_0x330f20(0xca)),constants=require(a33_0x330f20(0xc9)),{addRequestSpy}=require(a33_0x330f20(0xc5));function a33_0x1b95(){const _0x406fc2=['7744900CkIEXg','93250MuNpbX','../../../helpers/test-observability/utils','6358lBQgRH','64ZjuPVC','5723872WlRdOk','../../../bin/utils/constants','../../../helpers/request-spy','1283714laCPCr','876vNuTyQ','55258vtLeBT','mochaHooks','1253712wiVglI','DxBUw','timeout','280629oqBdGz','restore','6aZKPrO'];a33_0x1b95=function(){return _0x406fc2;};return a33_0x1b95();}exports[a33_0x330f20(0xce)]={'beforeAll'(){const _0xe69032=a33_0x330f20,_0xb29f7a={'DxBUw':function(_0x581305){return _0x581305();}},_0x1001c7='browserstack internal helper hook';_0xb29f7a[_0xe69032(0xd0)](addRequestSpy);},'afterAll'(){const _0x4a84ed=a33_0x330f20,_0x93c305='browserstack internal helper hook';this[_0x4a84ed(0xd1)](0xea60),requestSpy[_0x4a84ed(0xc1)]();}};
1
+ const a33_0x550939=a33_0x169d;function a33_0x169d(_0x30082f,_0x2caf71){const _0x4bf47c=a33_0x4bf4();return a33_0x169d=function(_0x169de4,_0x30f795){_0x169de4=_0x169de4-0xff;let _0x32c050=_0x4bf47c[_0x169de4];return _0x32c050;},a33_0x169d(_0x30082f,_0x2caf71);}(function(_0x2baa7a,_0x4ff6b9){const _0x411dff=a33_0x169d,_0x39fa66=_0x2baa7a();while(!![]){try{const _0x4509fc=-parseInt(_0x411dff(0x103))/0x1*(-parseInt(_0x411dff(0x104))/0x2)+parseInt(_0x411dff(0x10d))/0x3*(parseInt(_0x411dff(0x102))/0x4)+parseInt(_0x411dff(0x106))/0x5+-parseInt(_0x411dff(0x107))/0x6*(-parseInt(_0x411dff(0xff))/0x7)+parseInt(_0x411dff(0x101))/0x8+-parseInt(_0x411dff(0x10b))/0x9*(-parseInt(_0x411dff(0x100))/0xa)+parseInt(_0x411dff(0x10c))/0xb*(-parseInt(_0x411dff(0x10a))/0xc);if(_0x4509fc===_0x4ff6b9)break;else _0x39fa66['push'](_0x39fa66['shift']());}catch(_0x5ca73b){_0x39fa66['push'](_0x39fa66['shift']());}}}(a33_0x4bf4,0x306e2));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a33_0x550939(0x109));exports['mochaHooks']={'beforeAll'(){const _0x300752=a33_0x550939,_0x388bf3={'HVtOV':function(_0x42c627){return _0x42c627();}},_0x4b7d80='browserstack internal helper hook';_0x388bf3[_0x300752(0x108)](addRequestSpy);},'afterAll'(){const _0x6bb987=a33_0x550939,_0x213a08='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x6bb987(0x105)]();}};function a33_0x4bf4(){const _0x232ff8=['1838795RpmKSC','85160uMPasp','1061616lfHVxJ','4eDycof','394063lHjinj','2flyWfV','restore','360695zNBGHt','6SRgYMq','HVtOV','../../../helpers/test-observability/utils','3840hKhaHY','315xCcvGo','42713iXglJh','843843xHoBXq'];a33_0x4bf4=function(){return _0x232ff8;};return a33_0x4bf4();}
@@ -1 +1 @@
1
- const a34_0x2382d0=a34_0x523d;(function(_0x1123bd,_0x18dc85){const _0x6d2689=a34_0x523d,_0x50c204=_0x1123bd();while(!![]){try{const _0x3662d3=parseInt(_0x6d2689(0x10e))/0x1*(-parseInt(_0x6d2689(0x11c))/0x2)+-parseInt(_0x6d2689(0xee))/0x3*(-parseInt(_0x6d2689(0x117))/0x4)+-parseInt(_0x6d2689(0xdb))/0x5+parseInt(_0x6d2689(0x120))/0x6*(parseInt(_0x6d2689(0x105))/0x7)+parseInt(_0x6d2689(0xd8))/0x8*(-parseInt(_0x6d2689(0xea))/0x9)+-parseInt(_0x6d2689(0xf8))/0xa*(parseInt(_0x6d2689(0x10c))/0xb)+-parseInt(_0x6d2689(0xd3))/0xc*(-parseInt(_0x6d2689(0x113))/0xd);if(_0x3662d3===_0x18dc85)break;else _0x50c204['push'](_0x50c204['shift']());}catch(_0x39adeb){_0x50c204['push'](_0x50c204['shift']());}}}(a34_0x6f2f,0xe7dc1));function a34_0x6f2f(){const _0x2851f2=['toJSON','getTestEnv','faRcL','TAnYp','getHookSkippedTests','forEach','slice','7NCTRvI','get','_beforeEach','XzxPg','getSession','HWzqB','vhUNL','242wSLnBh','_afterEach','1656260aSYHzW','type','rULul','__cloud_provider___','vDmqw','13Cmctjw','platformVersion','fuyNQ','substring','1839028OaLfIb','../../../helpers/test-observability/constants','nWasU','HwlWQ','../../../helpers/testhub/utils','2MRBSzE','tscJj','Gqoum','TEST_PLATFORM','3544998pCADkH','fromEntries','uuid','_beforeAll','mapTestHooks','reduce','getBrowserName','getHooksForTest','string','GVXYo','_afterAll','suites','markedStatus','hookAnalyticsId','split','bs:addPlatformDetails:','jkJGV','getPlatform','VJUfV','42425976bcHctu','pid','qEZqD','browserstack','UWkrt','8yuJpic','REndo','BETFo','700115TevltC','passed','bkxYj','wICfL','emit','getHookDetails','getCapabilities','aBmEy','../../utils/logPatcher','js-','LjpMq','lodash','../../../../package.json','concat','IRDns','10851246phsxRX','mYOSu','map_','state','3XDaQPU','NYAfR','pending','TnLWI','tests','sendPlatformDetails','indexOf','PVudZ','hook','EDvXW','288370pKMNxd','failed','parent','../../../helpers/test-observability/utils','filter','RtlMb'];a34_0x6f2f=function(){return _0x2851f2;};return a34_0x6f2f();}function a34_0x523d(_0x19f7f0,_0x3e8f2b){const _0x6f2fe7=a34_0x6f2f();return a34_0x523d=function(_0x523d1e,_0x3a918b){_0x523d1e=_0x523d1e-0xd2;let _0x3c4c2c=_0x6f2fe7[_0x523d1e];return _0x3c4c2c;},a34_0x523d(_0x19f7f0,_0x3e8f2b);}const {v4:uuidv4}=require(a34_0x2382d0(0x122)),{name,version}=require(a34_0x2382d0(0xe7)),logPatcher=require(a34_0x2382d0(0xe3)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a34_0x2382d0(0xfb)),{consoleHolder}=require(a34_0x2382d0(0x118)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a34_0x2382d0(0x11b)),{isFunction}=require(a34_0x2382d0(0xe6)),{patchConsoleLogger}=require(a34_0x2382d0(0xfb));patchConsoleLogger(),exports[a34_0x2382d0(0xff)]=()=>{const _0x3b4b49=a34_0x2382d0,_0x31fab7={'HWzqB':'generic','mYOSu':function(_0x34d61c){return _0x34d61c();}};return{'ci':_0x31fab7[_0x3b4b49(0x10a)],'key':_0x31fab7[_0x3b4b49(0xeb)](uuidv4),'version':version,'collector':_0x3b4b49(0xe4)+name};},exports[a34_0x2382d0(0xe0)]=_0x2ae0b4=>{const _0x11943f=a34_0x2382d0,_0xe8086a={};_0xe8086a[_0x11943f(0xe2)]=function(_0x43af51,_0x46080b){return _0x43af51!==_0x46080b;},_0xe8086a[_0x11943f(0x108)]=_0x11943f(0x128),_0xe8086a[_0x11943f(0xd5)]='hook:',_0xe8086a[_0x11943f(0xd2)]=function(_0x13e6fd,_0x14001e){return _0x13e6fd!==_0x14001e;},_0xe8086a[_0x11943f(0xf1)]=_0x11943f(0xf6);const _0x63fe99=_0xe8086a;if(!_0x2ae0b4||_0x63fe99['aBmEy'](typeof _0x2ae0b4,_0x63fe99['XzxPg']))return[null,null];if(_0x63fe99['aBmEy'](_0x2ae0b4[_0x11943f(0xf4)](_0x63fe99[_0x11943f(0xd5)]),-0x1)){const _0x3bc3ee=_0x2ae0b4[_0x11943f(0x12e)](_0x63fe99[_0x11943f(0xd5)]);return[_0x3bc3ee[0x0][_0x11943f(0x104)](0x0,-0x1)[_0x11943f(0x12e)]('\x22')[0x1],_0x3bc3ee[0x1][_0x11943f(0x116)](0x1)];}else{if(_0x63fe99[_0x11943f(0xd2)](_0x2ae0b4[_0x11943f(0xf4)](_0x63fe99[_0x11943f(0xf1)]),-0x1)){const _0x5356f9=_0x2ae0b4[_0x11943f(0x12e)](_0x63fe99[_0x11943f(0xf1)]);return[_0x5356f9[0x0][_0x11943f(0x104)](0x0,-0x1)[_0x11943f(0x12e)]('\x22')[0x1],_0x2ae0b4];}}return[null,null];},exports['getHooksForTest']=_0x5bd29e=>{const _0x244b7a=a34_0x2382d0,_0x3e9a66={'rULul':function(_0x484848,_0x59f4e8){return _0x484848(_0x59f4e8);},'SQfVA':_0x244b7a(0x123),'wICfL':_0x244b7a(0x12a),'tNebF':_0x244b7a(0x107),'udtVx':_0x244b7a(0x10d)};if(!_0x5bd29e||!_0x5bd29e['parent'])return[];const _0x10339e=[];return[_0x3e9a66['SQfVA'],_0x3e9a66[_0x244b7a(0xde)],_0x3e9a66['tNebF'],_0x3e9a66['udtVx']][_0x244b7a(0x103)](_0x2b263f=>{const _0x584941=_0x244b7a,_0x147515={'REndo':function(_0x57dba6,_0x2237d2){const _0x33cedb=a34_0x523d;return _0x3e9a66[_0x33cedb(0x110)](_0x57dba6,_0x2237d2);}},_0x2921fa=_0x5bd29e[_0x584941(0xfa)][_0x2b263f]||[];_0x2921fa['forEach'](_0x5d53b1=>{const _0x3dab34=_0x584941;_0x5d53b1[_0x3dab34(0x12d)]&&!_0x147515[_0x3dab34(0xd9)](isInternalHook,_0x5d53b1['fn'])&&_0x10339e['push'](_0x5d53b1['hookAnalyticsId']);});}),[..._0x10339e,...exports[_0x244b7a(0x127)](_0x5bd29e[_0x244b7a(0xfa)])];},exports[a34_0x2382d0(0x124)]=_0x2f35ed=>{const _0x36a7c2=a34_0x2382d0,_0x9d9dc5={'fuyNQ':function(_0xb7b373){return _0xb7b373();},'faRcL':function(_0x211700,_0x16e99e){return _0x211700===_0x16e99e;},'LjpMq':_0x36a7c2(0x10d),'GVXYo':'_beforeAll','NYAfR':_0x36a7c2(0x12a),'tscJj':_0x36a7c2(0x107)};if(!_0x2f35ed||!_0x2f35ed[_0x36a7c2(0xfa)])return;[_0x9d9dc5[_0x36a7c2(0x129)],_0x9d9dc5[_0x36a7c2(0xef)],_0x9d9dc5[_0x36a7c2(0x11d)],_0x9d9dc5[_0x36a7c2(0xe5)]][_0x36a7c2(0x103)](_0x4a54b8=>{const _0x463c6f=_0x36a7c2,_0x36442c={'EDvXW':function(_0x565235){const _0x5f319c=a34_0x523d;return _0x9d9dc5[_0x5f319c(0x115)](_0x565235);},'BETFo':function(_0x86d6fa,_0x10de05){const _0x31ffb5=a34_0x523d;return _0x9d9dc5[_0x31ffb5(0x100)](_0x86d6fa,_0x10de05);},'ywYqQ':_0x9d9dc5[_0x463c6f(0xe5)]},_0x1f8139=_0x2f35ed[_0x463c6f(0xfa)][_0x4a54b8]||[];_0x1f8139[_0x463c6f(0x103)](_0x477414=>{const _0x47150a=_0x463c6f;if(!_0x477414[_0x47150a(0x12d)])_0x477414[_0x47150a(0x12d)]=_0x36442c[_0x47150a(0xf7)](uuidv4);else _0x477414[_0x47150a(0x12c)]&&_0x36442c[_0x47150a(0xda)](_0x4a54b8,_0x36442c['ywYqQ'])&&(_0x477414[_0x47150a(0x12d)]=_0x36442c['EDvXW'](uuidv4),delete _0x477414[_0x47150a(0x12c)]);});}),exports[_0x36a7c2(0x124)](_0x2f35ed['parent']);},exports[a34_0x2382d0(0xf3)]=async(_0x24910b,_0x2d6b3d)=>{const _0x4d2ca3=a34_0x2382d0,_0x1b8fa3={'rxieZ':function(_0x260573){return _0x260573();},'Gqoum':function(_0x137f8c,_0x185b52){return _0x137f8c(_0x185b52);},'bkxYj':_0x4d2ca3(0x114),'UWkrt':function(_0x12a87a,_0x3d08ff){return _0x12a87a===_0x3d08ff;},'IRDns':_0x4d2ca3(0xd6),'PVudZ':'unknown_grid','RtlMb':_0x4d2ca3(0x11f),'vDmqw':function(_0x1f94a2,_0x4a314a){return _0x1f94a2(_0x4a314a);}};try{if(!_0x1b8fa3['rxieZ'](shouldProcessEventForTesthub))return;const _0x2df81b=await _0x24910b[_0x4d2ca3(0xe1)](),_0x53b950=await _0x24910b[_0x4d2ca3(0x109)](),_0x28220e={},_0x5332c=Object[_0x4d2ca3(0x121)](_0x53b950['getCapabilities']()[_0x4d2ca3(0xec)]),_0x4899f5={'product':_0x1b8fa3[_0x4d2ca3(0x11e)](getObservabilityLinkedProductName,_0x5332c),'capabilities':_0x5332c,'platform':_0x2df81b[_0x4d2ca3(0x131)](),'platform_version':_0x2df81b[_0x4d2ca3(0x106)](_0x1b8fa3['bkxYj'])?_0x2df81b['get'](_0x1b8fa3[_0x4d2ca3(0xdd)]):_0x1b8fa3[_0x4d2ca3(0x11e)](getPlatformVersion,_0x1b8fa3[_0x4d2ca3(0xd7)](global[_0x4d2ca3(0x111)],_0x1b8fa3[_0x4d2ca3(0xe9)])),'browser':_0x2df81b[_0x4d2ca3(0x126)](),'browser_version':_0x2df81b['getBrowserVersion'](),'session_id':_0x53b950[_0x4d2ca3(0xfe)]()};global[_0x4d2ca3(0x111)]?_0x28220e[global[_0x4d2ca3(0x111)]]=_0x4899f5:_0x28220e[_0x1b8fa3[_0x4d2ca3(0xf5)]]=_0x4899f5,process[_0x4d2ca3(0xdf)](_0x4d2ca3(0x12f)+process[_0x4d2ca3(0xd4)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x1b8fa3[_0x4d2ca3(0xfd)],'http_response':_0x28220e,'uuid':_0x2d6b3d});}catch(_0x219e7f){_0x1b8fa3[_0x4d2ca3(0x112)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x219e7f);}},exports['getHookSkippedTests']=_0x5eff56=>{const _0x247bb8=a34_0x2382d0,_0xa8d24c={};_0xa8d24c[_0x247bb8(0x10b)]=function(_0xde8f14,_0x3525c4){return _0xde8f14!==_0x3525c4;},_0xa8d24c[_0x247bb8(0x11a)]='hook',_0xa8d24c['jkJGV']=_0x247bb8(0xdc),_0xa8d24c[_0x247bb8(0x101)]=function(_0x206cc8,_0x49f89b){return _0x206cc8!==_0x49f89b;},_0xa8d24c[_0x247bb8(0x119)]=_0x247bb8(0xf9);const _0x1719ab=_0xa8d24c,_0x19dab5=_0x5eff56[_0x247bb8(0x12b)][_0x247bb8(0x125)]((_0x24a723,_0xc052df)=>{const _0x1d646c=_0x247bb8,_0x4061ad=exports[_0x1d646c(0x102)](_0xc052df);return _0x4061ad&&(_0x24a723=_0x24a723[_0x1d646c(0xe8)](_0x4061ad)),_0x24a723;},[]),_0x2f6006=_0x5eff56[_0x247bb8(0xf2)][_0x247bb8(0xfc)](_0x3ffcd3=>{const _0x2c1560=_0x247bb8,_0x5d17c9=_0x1719ab[_0x2c1560(0x10b)](_0x3ffcd3[_0x2c1560(0x10f)],_0x1719ab[_0x2c1560(0x11a)])&&!_0x3ffcd3[_0x2c1560(0x12c)]&&_0x1719ab[_0x2c1560(0x10b)](_0x3ffcd3[_0x2c1560(0xed)],_0x1719ab[_0x2c1560(0x130)])&&_0x1719ab['TAnYp'](_0x3ffcd3[_0x2c1560(0xed)],_0x1719ab[_0x2c1560(0x119)])&&!_0x3ffcd3[_0x2c1560(0xf0)];return _0x5d17c9;});return _0x2f6006[_0x247bb8(0xe8)](_0x19dab5);};
1
+ const a34_0x5b9429=a34_0x4083;function a34_0x4083(_0x3e7b71,_0x115a79){const _0xeb196e=a34_0xeb19();return a34_0x4083=function(_0x40832b,_0x147e1a){_0x40832b=_0x40832b-0x1a8;let _0x552fbf=_0xeb196e[_0x40832b];return _0x552fbf;},a34_0x4083(_0x3e7b71,_0x115a79);}(function(_0x4acb1b,_0x3a7906){const _0x53a33c=a34_0x4083,_0x3b921f=_0x4acb1b();while(!![]){try{const _0xeba673=parseInt(_0x53a33c(0x1a9))/0x1*(-parseInt(_0x53a33c(0x1ac))/0x2)+parseInt(_0x53a33c(0x1ea))/0x3*(parseInt(_0x53a33c(0x1ae))/0x4)+-parseInt(_0x53a33c(0x1f7))/0x5*(-parseInt(_0x53a33c(0x1d4))/0x6)+parseInt(_0x53a33c(0x1c2))/0x7*(-parseInt(_0x53a33c(0x1c7))/0x8)+parseInt(_0x53a33c(0x1c5))/0x9+parseInt(_0x53a33c(0x1fe))/0xa+-parseInt(_0x53a33c(0x1ca))/0xb*(parseInt(_0x53a33c(0x1e6))/0xc);if(_0xeba673===_0x3a7906)break;else _0x3b921f['push'](_0x3b921f['shift']());}catch(_0x1a6b52){_0x3b921f['push'](_0x3b921f['shift']());}}}(a34_0xeb19,0x814e8));const {v4:uuidv4}=require(a34_0x5b9429(0x1b2)),{name,version}=require(a34_0x5b9429(0x1f3)),logPatcher=require(a34_0x5b9429(0x1da)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a34_0x5b9429(0x1e8)),{consoleHolder}=require(a34_0x5b9429(0x1ad)),{getPlatformVersion}=require(a34_0x5b9429(0x1c4)),{shouldProcessEventForTesthub}=require(a34_0x5b9429(0x1cd)),{isFunction}=require(a34_0x5b9429(0x1d8)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a34_0x5b9429(0x1d6)]=()=>{const _0x3f0ced=a34_0x5b9429,_0x549910={'Xaeuz':_0x3f0ced(0x1d7),'ThadU':function(_0xc113ee){return _0xc113ee();}};return{'ci':_0x549910['Xaeuz'],'key':_0x549910['ThadU'](uuidv4),'version':version,'collector':_0x3f0ced(0x1e5)+name};},exports[a34_0x5b9429(0x1af)]=_0x138b79=>{const _0xb3e39d=a34_0x5b9429,_0xea4874={};_0xea4874[_0xb3e39d(0x1df)]=function(_0x18d71f,_0x868df9){return _0x18d71f!==_0x868df9;},_0xea4874[_0xb3e39d(0x1bb)]=_0xb3e39d(0x1ee),_0xea4874[_0xb3e39d(0x1b8)]=function(_0x34b0ea,_0x443c1d){return _0x34b0ea!==_0x443c1d;},_0xea4874['kmtpU']=_0xb3e39d(0x1fc),_0xea4874[_0xb3e39d(0x1f0)]='hook';const _0x494891=_0xea4874;if(!_0x138b79||_0x494891[_0xb3e39d(0x1df)](typeof _0x138b79,_0x494891[_0xb3e39d(0x1bb)]))return[null,null];if(_0x494891[_0xb3e39d(0x1b8)](_0x138b79[_0xb3e39d(0x1d1)](_0x494891['kmtpU']),-0x1)){const _0x4d70db=_0x138b79[_0xb3e39d(0x1e2)](_0x494891['kmtpU']);return[_0x4d70db[0x0][_0xb3e39d(0x1d9)](0x0,-0x1)['split']('\x22')[0x1],_0x4d70db[0x1][_0xb3e39d(0x1ce)](0x1)];}else{if(_0x494891[_0xb3e39d(0x1b8)](_0x138b79['indexOf'](_0x494891[_0xb3e39d(0x1f0)]),-0x1)){const _0x4ececc=_0x138b79[_0xb3e39d(0x1e2)](_0x494891[_0xb3e39d(0x1f0)]);return[_0x4ececc[0x0]['slice'](0x0,-0x1)[_0xb3e39d(0x1e2)]('\x22')[0x1],_0x138b79];}}return[null,null];},exports['getHooksForTest']=_0x54d3cd=>{const _0x2682fc=a34_0x5b9429,_0x4b1035={'QPtVr':function(_0x33019b,_0x184b51){return _0x33019b(_0x184b51);},'wTafL':'_beforeAll','pZLBY':_0x2682fc(0x1be),'hdycm':_0x2682fc(0x1b6),'PzHWU':'_afterEach'};if(!_0x54d3cd||!_0x54d3cd['parent'])return[];const _0x4afaca=[];return[_0x4b1035['wTafL'],_0x4b1035[_0x2682fc(0x1e4)],_0x4b1035['hdycm'],_0x4b1035[_0x2682fc(0x1f6)]][_0x2682fc(0x1f8)](_0x2d3308=>{const _0x33a0f6=_0x2682fc,_0x2cafc5=_0x54d3cd[_0x33a0f6(0x1db)][_0x2d3308]||[];_0x2cafc5[_0x33a0f6(0x1f8)](_0x413989=>{const _0x136253=_0x33a0f6;_0x413989[_0x136253(0x1a8)]&&!_0x4b1035[_0x136253(0x1fa)](isInternalHook,_0x413989['fn'])&&_0x4afaca[_0x136253(0x1bc)](_0x413989[_0x136253(0x1a8)]);});}),[..._0x4afaca,...exports[_0x2682fc(0x1b9)](_0x54d3cd['parent'])];},exports[a34_0x5b9429(0x1f1)]=_0xe63bff=>{const _0x33d03f=a34_0x5b9429,_0x5aeeb3={'HsQIk':function(_0x516f75){return _0x516f75();},'bMHPz':function(_0x26af27,_0x10a79f){return _0x26af27===_0x10a79f;},'hSxBZ':_0x33d03f(0x1cf),'jEuOH':_0x33d03f(0x1ef),'oFFkl':_0x33d03f(0x1be),'eLxvG':_0x33d03f(0x1b6)};if(!_0xe63bff||!_0xe63bff[_0x33d03f(0x1db)])return;[_0x5aeeb3['jEuOH'],_0x5aeeb3[_0x33d03f(0x1e1)],_0x5aeeb3[_0x33d03f(0x1eb)],_0x5aeeb3[_0x33d03f(0x1e7)]][_0x33d03f(0x1f8)](_0x603cc1=>{const _0x2b9715=_0x33d03f,_0x527e4e=_0xe63bff[_0x2b9715(0x1db)][_0x603cc1]||[];_0x527e4e['forEach'](_0x569181=>{const _0x3e7835=_0x2b9715;if(!_0x569181[_0x3e7835(0x1a8)])_0x569181[_0x3e7835(0x1a8)]=_0x5aeeb3['HsQIk'](uuidv4);else _0x569181[_0x3e7835(0x1cc)]&&_0x5aeeb3[_0x3e7835(0x1de)](_0x603cc1,_0x5aeeb3[_0x3e7835(0x1e7)])&&(_0x569181[_0x3e7835(0x1a8)]=_0x5aeeb3[_0x3e7835(0x1c9)](uuidv4),delete _0x569181[_0x3e7835(0x1cc)]);});}),exports[_0x33d03f(0x1f1)](_0xe63bff[_0x33d03f(0x1db)]);},exports[a34_0x5b9429(0x1c8)]=async(_0x520439,_0x332148)=>{const _0x6b755c=a34_0x5b9429,_0xbf2b19={'ISzhf':function(_0x2d625e){return _0x2d625e();},'goqwX':function(_0x17840e,_0x30d4a7){return _0x17840e(_0x30d4a7);},'xpqXr':_0x6b755c(0x1c3),'IKcCH':function(_0x5c35b2,_0x19f34d){return _0x5c35b2(_0x19f34d);},'cJsxs':function(_0x36c769,_0x484af8){return _0x36c769===_0x484af8;},'pHtVh':'browserstack','TaXzT':'unknown_grid','WfnLr':_0x6b755c(0x1dd),'KclFe':function(_0x8855f3,_0x30a509){return _0x8855f3(_0x30a509);}};try{if(!_0xbf2b19['ISzhf'](shouldProcessEventForTesthub))return;const _0x103fb0=await _0x520439[_0x6b755c(0x1b7)](),_0x3f6ad9=await _0x520439[_0x6b755c(0x1dc)](),_0x5d9757={},_0x4c6747=Object['fromEntries'](_0x3f6ad9[_0x6b755c(0x1b7)]()[_0x6b755c(0x1d3)]),_0x26673f={'product':_0xbf2b19[_0x6b755c(0x1f9)](getObservabilityLinkedProductName,_0x4c6747),'capabilities':_0x4c6747,'platform':_0x103fb0[_0x6b755c(0x1bf)](),'platform_version':_0x103fb0['get'](_0xbf2b19['xpqXr'])?_0x103fb0[_0x6b755c(0x1ab)](_0xbf2b19['xpqXr']):_0xbf2b19['IKcCH'](getPlatformVersion,_0xbf2b19['cJsxs'](global['__cloud_provider___'],_0xbf2b19[_0x6b755c(0x1e3)])),'browser':_0x103fb0['getBrowserName'](),'browser_version':_0x103fb0[_0x6b755c(0x1f5)](),'session_id':_0x3f6ad9[_0x6b755c(0x1b3)]()};global[_0x6b755c(0x1b4)]?_0x5d9757[global[_0x6b755c(0x1b4)]]=_0x26673f:_0x5d9757[_0xbf2b19[_0x6b755c(0x1d0)]]=_0x26673f,process[_0x6b755c(0x1aa)](_0x6b755c(0x1f2)+process[_0x6b755c(0x1fb)],{'timestamp':new Date()[_0x6b755c(0x1e0)](),'level':null,'message':null,'kind':_0xbf2b19[_0x6b755c(0x1b1)],'http_response':_0x5d9757,'uuid':_0x332148});}catch(_0xb569d6){_0xbf2b19[_0x6b755c(0x1ed)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0xb569d6);}},exports['getHookSkippedTests']=_0x45d253=>{const _0x3cf157=a34_0x5b9429,_0x15d4e7={};_0x15d4e7[_0x3cf157(0x1ba)]=function(_0x26ecb0,_0x1e8c00){return _0x26ecb0!==_0x1e8c00;},_0x15d4e7[_0x3cf157(0x1e9)]=_0x3cf157(0x1fd),_0x15d4e7['IkEyw']=_0x3cf157(0x1cb),_0x15d4e7['Vsxzj']=_0x3cf157(0x1b0);const _0x3bf10c=_0x15d4e7,_0x3192da=_0x45d253[_0x3cf157(0x1ec)][_0x3cf157(0x1c0)]((_0x487d58,_0x3ac0a3)=>{const _0x18d9e4=_0x3cf157,_0x272fd1=exports[_0x18d9e4(0x1d2)](_0x3ac0a3);return _0x272fd1&&(_0x487d58=_0x487d58[_0x18d9e4(0x1c6)](_0x272fd1)),_0x487d58;},[]),_0xf8e379=_0x45d253[_0x3cf157(0x1d5)]['filter'](_0xaf1e75=>{const _0x35b369=_0x3cf157,_0x19e0c8=_0x3bf10c[_0x35b369(0x1ba)](_0xaf1e75[_0x35b369(0x1b5)],_0x3bf10c['RTdGu'])&&!_0xaf1e75[_0x35b369(0x1cc)]&&_0x3bf10c[_0x35b369(0x1ba)](_0xaf1e75[_0x35b369(0x1f4)],_0x3bf10c['IkEyw'])&&_0x3bf10c['AWgSv'](_0xaf1e75['state'],_0x3bf10c[_0x35b369(0x1bd)])&&!_0xaf1e75[_0x35b369(0x1c1)];return _0x19e0c8;});return _0xf8e379[_0x3cf157(0x1c6)](_0x3192da);};function a34_0xeb19(){const _0x292abc=['Vsxzj','_afterAll','getPlatform','reduce','pending','5880749WJvNKs','platformVersion','../../../helpers/helper','5993865oesypA','concat','8iPuwhX','sendPlatformDetails','HsQIk','632302Ticcen','passed','markedStatus','../../../helpers/testhub/utils','substring','_afterEach','TaXzT','indexOf','getHookSkippedTests','map_','12uKqwox','tests','getTestEnv','generic','lodash','slice','../../utils/logPatcher','parent','getSession','TEST_PLATFORM','bMHPz','RWEer','toISOString','oFFkl','split','pHtVh','pZLBY','js-','132uuNVZC','hSxBZ','../../../helpers/test-observability/utils','RTdGu','3ImJEiS','eLxvG','suites','KclFe','string','_beforeAll','BfkrA','mapTestHooks','bs:addPlatformDetails:','../../../../package.json','state','getBrowserVersion','PzHWU','1051895VcDgut','forEach','goqwX','QPtVr','pid','hook:','hook','790140VjKRds','hookAnalyticsId','121997TYGPEa','emit','get','2VDaxXH','../../../helpers/test-observability/constants','3833156jqjGAo','getHookDetails','failed','WfnLr','uuid','toJSON','__cloud_provider___','type','_beforeEach','getCapabilities','bbIXi','getHooksForTest','AWgSv','WGces','push'];a34_0xeb19=function(){return _0x292abc;};return a34_0xeb19();}