browserstack-node-sdk 1.35.8 → 1.35.9

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 (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -60
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x13c82e=a28_0x22e2;(function(_0x4299f9,_0x14fbd4){const _0x3e8283=a28_0x22e2,_0x33a9d6=_0x4299f9();while(!![]){try{const _0x328fe6=parseInt(_0x3e8283(0x161))/0x1*(parseInt(_0x3e8283(0x132))/0x2)+parseInt(_0x3e8283(0x155))/0x3+parseInt(_0x3e8283(0x1a1))/0x4+-parseInt(_0x3e8283(0x15b))/0x5*(parseInt(_0x3e8283(0x227))/0x6)+parseInt(_0x3e8283(0x184))/0x7*(-parseInt(_0x3e8283(0x1f3))/0x8)+-parseInt(_0x3e8283(0x1de))/0x9+-parseInt(_0x3e8283(0x192))/0xa*(-parseInt(_0x3e8283(0x1b3))/0xb);if(_0x328fe6===_0x14fbd4)break;else _0x33a9d6['push'](_0x33a9d6['shift']());}catch(_0x17c117){_0x33a9d6['push'](_0x33a9d6['shift']());}}}(a28_0x164e,0xddbd3));function a28_0x164e(){const _0xd1fdde=['Couldn\x27t\x20write\x20json\x20result\x20to','DkWkG','platform','vGoAj','ofHCQ','finalExecution','title','XHmCp','15795505wgjatu','StayV','getHubUrl','errorMessage','failure','isNotUndefined','error\x20removing\x20tcg\x20config\x20file','showDiff','testcase','info','syEsn','qZTJH','retryTestsOnFailure','OpHhi','ysHAd','fullTitle','testsPassed','parallelsPerPlatform','length','../../helpers/utilities','red','MOCHA','accessibilityOptions','yellow','forEach','testsFailed','suiteName','cjs','printBuildLink','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/performance/constants','list','log','testSuites','titlePath','cliConfig','env','exitCode','logLevel','BROWSERSTACK_RERUN_TESTS','iTlWP','TdbGO','add','16101558NDReNw','extension','Now,\x20showing\x20logs\x20from\x20mocha','../utils/constants','isBrowserstackInfra','vKYUT','stack','RpNrt','isPending','WgoOS','stats','NKcMK','drWBn','testsuite','results','teHCO','rmdirSync','\x20passed','qkDoy','FtQLm','****\x20FAILURES\x20****','14378248mQHyTB','start','Tkhzc','framework','oMfYJ','CNCNi','initialize','EbVco','error','spvIo','spec','jiIvd','getPlatformName','validPlatformsPresent','platforms','reporter-option','generateDiff','mjs','QZjTt','SWVAP','ZtGkT','state','Total\x20Platforms:\x20','useColors','rdUXf','pending','parseFileNames','BROWSERSTACK_GRR_US_HUB_URL','aRyUr','toUTCString','rxqXh','duration','Ylxic','totalTests','tnEwI','PSSia','accessibility','IyPsU','get','size','getTCGConfigFilePaths','grusv','test','tkMje','vXGMd','bold','rerunTests','Total\x20Suites:\x20','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','prototype','BNENU','assign','57030UFchvV','cSTFJ','PcYrR','useW3C','output','map','shouldReRunObservabilityTests','YoCiQ','testObservability','currentRetry','parse','aeAFi','reporterOptions','speed','Couldn\x27t\x20write\x20xunit\x20result\x20to','20KosrrN','consoleLog','testsPending','PrtGu','unlinkSync','eOVqI','kNsPI','Writing\x20json\x20result\x20to\x20file','HZnmb','soaLl','oCzjj','notifyUpdate','hasOwnProperty','hideDiff','FPrez','../../helpers/helper','RqDZG','DKWxE','JIEZD','Mocha\x20Tests','zRCME','getOwnPropertyNames','TuqHI','HOWEA','reporter','json','YLJtA','eqMMT','OOItN','qlxCK','\x0a\x0a\x0a','stringify','writeFileSync','call','xunit','2028549ApGpmo','tfjaW','err','vNHCR','file','../../helpers/central-scanner/constants','695IlAqqb','MsJrl','getCentralUser','Running\x20your\x20mocha\x20tests\x20across\x20','gvOHy','failed','138603LkIdiK','gHPgH','doc','DOBjn','config','kdxZA','\x20failed','../test-runner','push','hogcy','passed','expected','join','chalk','gwJJh','object','min','passes','lxpCO','isTestObservabilitySession','isEmpty','titlePathV','pqQVa','getUserWorkerCount','skipped','Writing\x20xunit\x20result\x20to\x20file','NOoaa','indexOf','../../helpers/percy/utils','Tests:\x20\x20\x20\x20\x20\x20\x20','rootHooks','LlMNH','debug','QDwQP','parseTestOrchestrationOptions','7mdqPhR','finally','../../helpers/test-observability/utils','isUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Setting\x20non\x20exit\x20code\x20for\x20failures','suite','files','nCurn','setUserConfigPath','proxySettings','Listing\x20all\x20the\x20failures','then','tHebN','20zbfExs','zSDWG','XyRGX','tEVbg','Printing\x20stats\x20of\x20tests','pnmoe','hIdyL','green','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','JKgkO','\x20skipped','wDsbV','SDK_CLEANUP','IVKUg','../../helpers/logger','3526632ZfggeO','</testsuite>','../../helpers/performance/performance-tester','exports','mocha/lib/cli/collect-files.js','SDKTestSuccessful','launchBuild','handleApp','mocha','FRAMEWORKS'];a28_0x164e=function(){return _0xd1fdde;};return a28_0x164e();}const chalk=require(a28_0x13c82e(0x16e)),logger=require(a28_0x13c82e(0x1a0))['winstonLogger'],helper=require(a28_0x13c82e(0x141)),utilities=require(a28_0x13c82e(0x1c6)),testOpsHelper=require(a28_0x13c82e(0x186)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x13c82e(0x168)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x13c82e(0x17d)),Base=requireModule('mocha/lib/reporters/base.js',a28_0x13c82e(0x1a9)),collectFiles=requireModule(a28_0x13c82e(0x1a5),a28_0x13c82e(0x1a9)),constants=require(a28_0x13c82e(0x1e1)),PerformanceTester=require(a28_0x13c82e(0x1a3)),PerformanceEvents=require(a28_0x13c82e(0x1d1))['EVENTS'],centralScannerConstants=require(a28_0x13c82e(0x15a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require('../../helpers/testhub/testhubHandler');function tag(_0x38e0e0,_0x36fd76,_0x1eee65,_0x3be511){const _0x79a5bc=a28_0x13c82e,_0x2194a4={'Ylxic':function(_0x52442d,_0x1d8792){return _0x52442d+_0x1d8792;},'tEVbg':function(_0x1f7e53,_0x24f86d){return _0x1f7e53(_0x24f86d);},'PcYrR':function(_0x50e9a6,_0x1e8996){return _0x50e9a6+_0x1e8996;},'XHmCp':function(_0x33aa83,_0x2666a3){return _0x33aa83+_0x2666a3;},'PSSia':function(_0x5640c3,_0x38d407){return _0x5640c3+_0x38d407;}},_0x50c3c4=_0x1eee65?'/>':'>',_0x1829e5=[];let _0x144ebb;for(const _0x558bea in _0x36fd76){Object[_0x79a5bc(0x224)][_0x79a5bc(0x13e)][_0x79a5bc(0x153)](_0x36fd76,_0x558bea)&&_0x1829e5[_0x79a5bc(0x169)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4[_0x79a5bc(0x213)](_0x558bea,'=\x22'),_0x2194a4[_0x79a5bc(0x195)](escape,_0x36fd76[_0x558bea])),'\x22'));}return _0x144ebb=_0x2194a4[_0x79a5bc(0x229)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4['PcYrR']('<',_0x38e0e0),_0x1829e5[_0x79a5bc(0x1c5)]?_0x2194a4[_0x79a5bc(0x1b2)]('\x20',_0x1829e5[_0x79a5bc(0x16d)]('\x20')):''),_0x50c3c4),_0x3be511&&(_0x144ebb+=_0x2194a4[_0x79a5bc(0x1b2)](_0x2194a4['Ylxic'](_0x2194a4[_0x79a5bc(0x216)](_0x3be511,'</'),_0x38e0e0),_0x50c3c4)),_0x144ebb;}let xunitContent='';function xunitWrite(_0x5f45d6){xunitContent+=_0x5f45d6;}function xunitTest(_0x1d502e,_0x398e26){const _0x22816e=a28_0x13c82e,_0x2fc47f={'Vinnf':function(_0x569e7e,_0x152d29){return _0x569e7e/_0x152d29;},'bgwlG':function(_0x2a0468,_0x5e66c7){return _0x2a0468===_0x5e66c7;},'StayV':_0x22816e(0x160),'CNCNi':function(_0xaeac7c,_0x47b548){return _0xaeac7c+_0x47b548;},'vNHCR':function(_0x46d4e9,_0x4e834a){return _0x46d4e9(_0x4e834a);},'teHCO':function(_0x232170,_0x314754,_0xfcb0e1,_0x298d2e,_0x240ac3){return _0x232170(_0x314754,_0xfcb0e1,_0x298d2e,_0x240ac3);},'ZtGkT':_0x22816e(0x1bb),'Tkhzc':_0x22816e(0x1b7),'TdbGO':function(_0x244416,_0x18981b){return _0x244416+_0x18981b;},'fiHbH':function(_0x1db35e,_0x3a44e5,_0x59040f,_0xf1a5df){return _0x1db35e(_0x3a44e5,_0x59040f,_0xf1a5df);},'RqDZG':_0x22816e(0x179),'ECdGS':function(_0x115c5d,_0x412954,_0x589ff4,_0x445783){return _0x115c5d(_0x412954,_0x589ff4,_0x445783);}};Base[_0x22816e(0x20a)]=![];var _0x497263={'classname':_0x1d502e[_0x22816e(0x1c2)],'name':_0x1d502e[_0x22816e(0x1b1)],'time':_0x2fc47f['Vinnf'](_0x1d502e[_0x22816e(0x212)],0x3e8)||0x0,'platform':_0x398e26};if(_0x2fc47f['bgwlG'](_0x1d502e[_0x22816e(0x208)],_0x2fc47f[_0x22816e(0x1b4)])){var _0x19e8f3=_0x1d502e[_0x22816e(0x157)],_0x58d1c4=!Base[_0x22816e(0x13f)]&&Base[_0x22816e(0x1ba)](_0x19e8f3)?_0x2fc47f['CNCNi']('\x0a',Base[_0x22816e(0x203)](_0x19e8f3['actual'],_0x19e8f3[_0x22816e(0x16c)])):'';_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f[_0x22816e(0x207)],_0x497263,![],_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f[_0x22816e(0x1f5)],{},![],_0x2fc47f['TdbGO'](_0x2fc47f[_0x22816e(0x1dc)](_0x2fc47f[_0x22816e(0x1f8)](_0x2fc47f[_0x22816e(0x158)](escape,_0x19e8f3['message']),_0x2fc47f[_0x22816e(0x158)](escape,_0x58d1c4)),'\x0a'),_0x2fc47f[_0x22816e(0x158)](escape,_0x19e8f3[_0x22816e(0x1e4)])))));}else _0x1d502e[_0x22816e(0x1e6)]?_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f['ZtGkT'],_0x497263,![],_0x2fc47f['fiHbH'](tag,_0x2fc47f[_0x22816e(0x142)],{},!![]))):_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f['ECdGS'](tag,_0x2fc47f['ZtGkT'],_0x497263,!![]));};function getStats(_0x1a2fd6){const _0x2abfa3=a28_0x13c82e,_0x2291d4={};_0x2291d4['NmeHT']=_0x2abfa3(0x18a),_0x2291d4[_0x2abfa3(0x205)]=_0x2abfa3(0x16b),_0x2291d4[_0x2abfa3(0x1e7)]=_0x2abfa3(0x160),_0x2291d4[_0x2abfa3(0x1c0)]=_0x2abfa3(0x1ec);const _0x449a63=_0x2291d4,_0xef3481=Object['keys'](_0x1a2fd6);let _0x4f8de9=0x0,_0x44898b=0x0,_0x488f45=0x0,_0x1d78a0=0x0;const _0x427c00=new Set();_0xef3481['forEach'](_0x5095b9=>{const _0x416168=_0x2abfa3,_0x64ed3e={};_0x64ed3e['oMfYJ']=_0x449a63['NmeHT'],_0x64ed3e[_0x416168(0x162)]=_0x449a63['QZjTt'],_0x64ed3e[_0x416168(0x218)]=_0x449a63[_0x416168(0x1e7)];const _0x422519=_0x64ed3e;_0x1a2fd6[_0x5095b9][_0x449a63[_0x416168(0x1c0)]]['forEach'](_0x4e6bb2=>{const _0x6a36f9=_0x416168;_0x427c00[_0x6a36f9(0x1dd)](_0x4e6bb2[_0x422519[_0x6a36f9(0x1f7)]]),_0x4f8de9++;switch(_0x4e6bb2[_0x6a36f9(0x208)]){case _0x422519[_0x6a36f9(0x162)]:_0x488f45++;break;case _0x422519[_0x6a36f9(0x218)]:_0x44898b++;break;default:_0x1d78a0++;}});});const _0x3daffe={};return _0x3daffe[_0x2abfa3(0x1d4)]=_0x427c00[_0x2abfa3(0x21a)],_0x3daffe[_0x2abfa3(0x201)]=_0xef3481,_0x3daffe[_0x2abfa3(0x214)]=_0x4f8de9,_0x3daffe[_0x2abfa3(0x1cc)]=_0x44898b,_0x3daffe['testsPassed']=_0x488f45,_0x3daffe[_0x2abfa3(0x134)]=_0x1d78a0,_0x3daffe;}function errorJSON(_0x46e488){const _0x4c5283=a28_0x13c82e;var _0x23fbd5={};return Object[_0x4c5283(0x147)](_0x46e488)[_0x4c5283(0x1cb)](function(_0x3e5462){_0x23fbd5[_0x3e5462]=_0x46e488[_0x3e5462];},_0x46e488),_0x23fbd5;}function a28_0x22e2(_0x2d22ea,_0x1b5245){const _0x164e33=a28_0x164e();return a28_0x22e2=function(_0x22e20d,_0x4d03fa){_0x22e20d=_0x22e20d-0x12c;let _0x5cf425=_0x164e33[_0x22e20d];return _0x5cf425;},a28_0x22e2(_0x2d22ea,_0x1b5245);}function cleanCycles(_0x26c342){const _0x1ed412=a28_0x13c82e,_0x36e6a5={};_0x36e6a5['HOWEA']=function(_0x5e4db8,_0x24ad96){return _0x5e4db8===_0x24ad96;},_0x36e6a5[_0x1ed412(0x17b)]=_0x1ed412(0x170),_0x36e6a5[_0x1ed412(0x14f)]=function(_0x555450,_0x74bcb9){return _0x555450!==_0x74bcb9;},_0x36e6a5['FHBLe']=function(_0x54db9b,_0x3f6c03){return _0x54db9b+_0x3f6c03;};const _0x26dcc9=_0x36e6a5;var _0x392988=[];return JSON[_0x1ed412(0x12d)](JSON['stringify'](_0x26c342,function(_0x54146a,_0x255f78){const _0x27bf94=_0x1ed412;if(_0x26dcc9[_0x27bf94(0x149)](typeof _0x255f78,_0x26dcc9[_0x27bf94(0x17b)])&&_0x26dcc9[_0x27bf94(0x14f)](_0x255f78,null)){if(_0x26dcc9[_0x27bf94(0x14f)](_0x392988[_0x27bf94(0x17c)](_0x255f78),-0x1))return _0x26dcc9['FHBLe']('',_0x255f78);_0x392988[_0x27bf94(0x169)](_0x255f78);}return _0x255f78;}));}function clean(_0x4a1a82){const _0x1bd810=a28_0x13c82e,_0x39a25e={'SWVAP':function(_0x50fab6,_0x40a4ad){return _0x50fab6 instanceof _0x40a4ad;},'pqQVa':function(_0x52fc48,_0x34e52f){return _0x52fc48(_0x34e52f);},'FPrez':function(_0x1d0462,_0x51761f){return _0x1d0462(_0x51761f);}};var _0x548815=_0x4a1a82[_0x1bd810(0x157)]||{};return _0x39a25e[_0x1bd810(0x206)](_0x548815,Error)&&(_0x548815=_0x39a25e[_0x1bd810(0x177)](errorJSON,_0x548815)),{'title':_0x4a1a82[_0x1bd810(0x1b1)],'fullTitle':_0x4a1a82[_0x1bd810(0x1c2)],'file':_0x4a1a82[_0x1bd810(0x159)],'duration':_0x4a1a82['duration'],'currentRetry':_0x4a1a82[_0x1bd810(0x12c)],'speed':_0x4a1a82[_0x1bd810(0x130)],'err':_0x39a25e[_0x1bd810(0x140)](cleanCycles,_0x548815)};}function printStats(_0x1d50a2,_0xd0c09=a28_0x13c82e(0x1fd),_0x59ef8c={}){const _0x2efe9c=a28_0x13c82e,_0x2d2982={'RpNrt':function(_0x2f10f2,_0x188d63){return _0x2f10f2(_0x188d63);},'tkMje':function(_0x1f2e2,_0x18fcaf){return _0x1f2e2===_0x18fcaf;},'JKgkO':_0x2efe9c(0x16b),'VklBF':_0x2efe9c(0x172),'TuqHI':_0x2efe9c(0x160),'qkDoy':'failures','FtQLm':_0x2efe9c(0x20c),'vGoAj':_0x2efe9c(0x1ec),'PrtGu':function(_0x194056,_0x2917c9){return _0x194056===_0x2917c9;},'BNENU':function(_0x253a45,_0xcda877){return _0x253a45*_0xcda877;},'oCzjj':function(_0x53332a,_0x453a42,_0x274672){return _0x53332a(_0x453a42,_0x274672);},'FMqpW':function(_0x4f8536,_0x8ae802){return _0x4f8536===_0x8ae802;},'soaLl':function(_0x4b5796,_0x290256){return _0x4b5796>_0x290256;},'gwJJh':function(_0x2b4bc8){return _0x2b4bc8();},'syEsn':function(_0x263d92,_0x6ad900){return _0x263d92===_0x6ad900;},'hIdyL':_0x2efe9c(0x163),'IVKUg':function(_0x128dbc,_0x5a2ab3){return _0x128dbc>_0x5a2ab3;},'ysHAd':_0x2efe9c(0x189),'qZTJH':_0x2efe9c(0x196),'tnEwI':function(_0x2d873d,_0x250355){return _0x2d873d+_0x250355;},'XyRGX':_0x2efe9c(0x209),'EcBNL':function(_0x15be2f,_0x2cac71){return _0x15be2f+_0x2cac71;},'eqMMT':_0x2efe9c(0x222),'MsJrl':function(_0x31c053,_0x5abb2f){return _0x31c053+_0x5abb2f;},'vXGMd':function(_0x54f98c,_0x4a5bbf){return _0x54f98c+_0x4a5bbf;},'kNsPI':_0x2efe9c(0x17e),'fRgxq':function(_0x3e1c4a,_0x4d8b22){return _0x3e1c4a>_0x4d8b22;},'cSTFJ':function(_0x56562e,_0x3cb1e2){return _0x56562e>_0x3cb1e2;},'lxpCO':function(_0x44c4b9,_0x4e9c40){return _0x44c4b9+_0x4e9c40;},'VmfZT':function(_0x39639a,_0x22965e){return _0x39639a+_0x22965e;},'HZnmb':function(_0x1db48a,_0x5513a5){return _0x1db48a+_0x5513a5;},'npXHA':function(_0x314169,_0x56fdaa){return _0x314169+_0x56fdaa;},'kBOXJ':function(_0x2ec8a7,_0x3c40b7){return _0x2ec8a7+_0x3c40b7;},'aRyUr':_0x2efe9c(0x150),'oHChg':_0x2efe9c(0x14b),'kCflf':_0x2efe9c(0x139),'yKvsL':_0x2efe9c(0x1ab),'wDsbV':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','ofHCQ':function(_0x3d8947,_0x141e23){return _0x3d8947===_0x141e23;},'GOgdO':_0x2efe9c(0x154),'JNkHB':_0x2efe9c(0x145),'spvIo':function(_0x21e7f3,_0x14435f){return _0x21e7f3||_0x14435f;},'zSDWG':function(_0x2e5546,_0x213959,_0x599954,_0x379a60){return _0x2e5546(_0x213959,_0x599954,_0x379a60);},'hogcy':_0x2efe9c(0x1eb),'gmBie':function(_0x24cb36,_0x576341){return _0x24cb36-_0x576341;},'jsKPu':function(_0x1403b7,_0x39a215){return _0x1403b7-_0x39a215;},'eOVqI':function(_0xd7eb74,_0x1063f4){return _0xd7eb74/_0x1063f4;},'YoCiQ':_0x2efe9c(0x1a2),'rdUXf':_0x2efe9c(0x17a),'aRhWY':_0x2efe9c(0x131),'loboQ':_0x2efe9c(0x19a),'DKWxE':function(_0x3d530c,_0x370d3c){return _0x3d530c===_0x370d3c;},'grusv':_0x2efe9c(0x18f),'WmfGL':_0x2efe9c(0x1f2)};if(_0x2d2982[_0x2efe9c(0x1bd)](_0xd0c09,_0x2d2982[_0x2efe9c(0x198)]))return;const _0x28ba53=0x0,_0xa2eb0f=()=>{const _0x16e3f3=_0x2efe9c;return _0x2d2982['RpNrt'](Array,_0x28ba53)[_0x16e3f3(0x16d)]('\x20\x20');},{testSuites:_0x3b5f70,platforms:_0x7aa0fe,totalTests:_0x752694,testsFailed:_0x4e9012,testsPassed:_0x381029,testsPending:_0x20d493}=_0x2d2982[_0x2efe9c(0x1e5)](getStats,_0x1d50a2);_0x2d2982[_0x2efe9c(0x19f)](_0x4e9012,0x0)&&(logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x1c1)]),process[_0x2efe9c(0x1d8)]=Math[_0x2efe9c(0x171)](_0x4e9012,0xff));logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x1be)]);const _0x425d7d=''+_0x2d2982[_0x2efe9c(0x215)](chalk[_0x2efe9c(0x220)](_0x2d2982[_0x2efe9c(0x194)]),_0x7aa0fe[_0x2efe9c(0x1c5)]),_0x4c0e21=''+_0x2d2982['EcBNL'](chalk[_0x2efe9c(0x220)](_0x2d2982[_0x2efe9c(0x14d)]),_0x3b5f70),_0x423040=''+_0x2d2982['MsJrl'](_0x2d2982[_0x2efe9c(0x21f)](_0x2d2982[_0x2efe9c(0x15c)](chalk['bold'](_0x2d2982[_0x2efe9c(0x138)]),_0x2d2982['fRgxq'](_0x4e9012,0x0)?chalk[_0x2efe9c(0x220)][_0x2efe9c(0x1c7)](_0x4e9012+_0x2efe9c(0x167))+',\x20':''),_0x2d2982[_0x2efe9c(0x13b)](_0x20d493,0x0)?chalk[_0x2efe9c(0x220)][_0x2efe9c(0x1ca)](_0x20d493+_0x2efe9c(0x19c))+',\x20':''),_0x2d2982[_0x2efe9c(0x228)](_0x381029,0x0)?chalk['bold'][_0x2efe9c(0x199)](_0x381029+_0x2efe9c(0x1ef))+',\x20':'')+_0x752694+'\x20total';console[_0x2efe9c(0x1d3)](_0x2d2982[_0x2efe9c(0x173)](_0x2d2982['VmfZT'](_0x2d2982[_0x2efe9c(0x13a)](_0x2d2982['npXHA'](_0x2d2982['kBOXJ'](_0x2d2982[_0x2efe9c(0x20f)],_0x425d7d),'\x0a'),_0x4c0e21),'\x0a'),_0x423040));if(_0x2d2982[_0x2efe9c(0x135)](_0xd0c09,_0x2d2982['oHChg'])){const _0x572ca0={},_0x20bd86={};_0x20bd86['testSuites']=_0x3b5f70,_0x20bd86[_0x2efe9c(0x201)]=_0x7aa0fe,_0x20bd86['testsFailed']=_0x4e9012,_0x20bd86[_0x2efe9c(0x1c3)]=_0x381029,_0x20bd86['testsPending']=_0x20d493,_0x572ca0[_0x2efe9c(0x1e8)]=_0x20bd86,_0x7aa0fe['forEach'](_0x2ac380=>{const _0x3e79d8=_0x2efe9c,_0x325e73={'tHebN':function(_0x5e098f,_0x161340){return _0x2d2982['tkMje'](_0x5e098f,_0x161340);},'nCurn':_0x2d2982[_0x3e79d8(0x19b)],'OOItN':_0x2d2982['VklBF'],'LlMNH':function(_0x34ff7f,_0x44b0a5){return _0x2d2982['RpNrt'](_0x34ff7f,_0x44b0a5);},'pnmoe':_0x2d2982['TuqHI'],'BWxju':_0x2d2982[_0x3e79d8(0x1f0)],'kdxZA':function(_0x388ab2,_0x17ea03){const _0x52c695=_0x3e79d8;return _0x2d2982[_0x52c695(0x1e5)](_0x388ab2,_0x17ea03);},'iTlWP':_0x2d2982[_0x3e79d8(0x1f1)]};_0x572ca0[_0x2ac380]={'pending':[],'failures':[],'passes':[],'tests':_0x1d50a2[_0x2ac380][_0x2d2982[_0x3e79d8(0x1ae)]][_0x3e79d8(0x22c)](clean)},_0x1d50a2[_0x2ac380][_0x2d2982[_0x3e79d8(0x1ae)]][_0x3e79d8(0x1cb)](_0x1c971f=>{const _0x15ff42=_0x3e79d8;if(_0x325e73['tHebN'](_0x1c971f[_0x15ff42(0x208)],_0x325e73[_0x15ff42(0x18c)]))_0x572ca0[_0x2ac380][_0x325e73[_0x15ff42(0x14e)]][_0x15ff42(0x169)](_0x325e73[_0x15ff42(0x180)](clean,_0x1c971f));else _0x325e73[_0x15ff42(0x191)](_0x1c971f['state'],_0x325e73[_0x15ff42(0x197)])?_0x572ca0[_0x2ac380][_0x325e73['BWxju']]['push'](_0x325e73[_0x15ff42(0x166)](clean,_0x1c971f)):_0x572ca0[_0x2ac380][_0x325e73[_0x15ff42(0x1db)]]['push'](_0x325e73['LlMNH'](clean,_0x1c971f));});});if(_0x59ef8c['output'])try{logger['debug'](_0x2d2982['kCflf'],_0x59ef8c[_0x2efe9c(0x22b)]),fs['writeFileSync'](_0x59ef8c[_0x2efe9c(0x22b)],JSON[_0x2efe9c(0x151)](_0x572ca0,null,0x3));}catch(_0x22bbfe){logger[_0x2efe9c(0x1fb)](_0x2d2982['yKvsL'],_0x59ef8c[_0x2efe9c(0x22b)]),logger[_0x2efe9c(0x181)](_0x22bbfe);}else logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x19d)]),console['log'](JSON[_0x2efe9c(0x151)](_0x572ca0,null,0x3));}else{if(_0x2d2982[_0x2efe9c(0x1af)](_0xd0c09,_0x2d2982['GOgdO'])){let _0x206337;const _0x26b21f=_0x2d2982['JNkHB'];_0x59ef8c&&(_0x206337=_0x59ef8c[_0x2efe9c(0x1cd)]);_0x206337=_0x2d2982[_0x2efe9c(0x1fc)](_0x206337,_0x26b21f);let _0x4df3d3=0x0,_0x20ebc6=0x0,_0x476e40=0x0,_0x427f46=0x0;_0x7aa0fe['forEach'](_0x4e3e32=>{const _0x2e58f6=_0x2efe9c;_0x1d50a2[_0x4e3e32][_0x2d2982['vGoAj']][_0x2e58f6(0x1cb)](_0x4c0f1e=>{const _0x2f93ae=_0x2e58f6;if(_0x2d2982[_0x2f93ae(0x21e)](_0x4c0f1e['state'],_0x2d2982[_0x2f93ae(0x19b)]))_0x4df3d3++;else _0x2d2982[_0x2f93ae(0x135)](_0x4c0f1e[_0x2f93ae(0x208)],_0x2d2982[_0x2f93ae(0x148)])&&_0x20ebc6++;_0x476e40++,_0x427f46+=_0x2d2982[_0x2f93ae(0x225)](_0x4c0f1e['duration'],0x1);});}),_0x2d2982[_0x2efe9c(0x1e5)](xunitWrite,_0x2d2982[_0x2efe9c(0x193)](tag,_0x2d2982[_0x2efe9c(0x16a)],{'name':_0x206337,'tests':_0x476e40,'failures':0x0,'errors':_0x20ebc6,'skipped':_0x2d2982['gmBie'](_0x2d2982['jsKPu'](_0x476e40,_0x20ebc6),_0x4df3d3),'timestamp':new Date()[_0x2efe9c(0x210)](),'time':_0x2d2982[_0x2efe9c(0x137)](_0x427f46,0x3e8)||0x0},![])),_0x7aa0fe[_0x2efe9c(0x1cb)](_0x15705e=>{const _0x51aaf8=_0x2efe9c,_0x4cf920={'EbVco':function(_0xc97684,_0x1a138d,_0x35f325){const _0x4826d0=a28_0x22e2;return _0x2d2982[_0x4826d0(0x13c)](_0xc97684,_0x1a138d,_0x35f325);}};_0x1d50a2[_0x15705e][_0x2d2982['vGoAj']][_0x51aaf8(0x1cb)](_0x16b883=>{const _0x56edf0=_0x51aaf8;_0x4cf920[_0x56edf0(0x1fa)](xunitTest,_0x16b883,_0x15705e);});}),_0x2d2982[_0x2efe9c(0x1e5)](xunitWrite,_0x2d2982[_0x2efe9c(0x22e)]);if(_0x59ef8c[_0x2efe9c(0x22b)])try{logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x20b)],_0x59ef8c['output']),fs[_0x2efe9c(0x152)](_0x59ef8c['output'],xunitContent);}catch(_0x3d501f){logger[_0x2efe9c(0x1fb)](_0x2d2982['aRhWY'],_0x59ef8c[_0x2efe9c(0x22b)]),logger['debug'](_0x3d501f);}else logger[_0x2efe9c(0x181)](_0x2d2982['loboQ']),console[_0x2efe9c(0x1d3)](xunitContent);}else{if(_0x2d2982[_0x2efe9c(0x143)](_0x4e9012,0x0))return;console[_0x2efe9c(0x1d3)](),logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x21c)]),console[_0x2efe9c(0x1d3)](chalk[_0x2efe9c(0x220)]['bgRedBright'](_0x2d2982['WmfGL'])),_0x7aa0fe[_0x2efe9c(0x1cb)](_0x592603=>{const _0x37c531=_0x2efe9c,_0x1fe124={'QDwQP':function(_0x518109,_0x414b98){return _0x2d2982['FMqpW'](_0x518109,_0x414b98);},'DOBjn':_0x2d2982[_0x37c531(0x148)]},_0x85116=[];_0x1d50a2[_0x592603][_0x2d2982[_0x37c531(0x1ae)]]['forEach'](_0x2614b2=>{const _0xdf2bf2=_0x37c531;_0x1fe124[_0xdf2bf2(0x182)](_0x2614b2[_0xdf2bf2(0x208)],_0x1fe124[_0xdf2bf2(0x164)])&&(_0x2614b2[_0xdf2bf2(0x1d5)]=()=>_0x2614b2[_0xdf2bf2(0x176)],_0x85116[_0xdf2bf2(0x169)](_0x2614b2));}),_0x2d2982[_0x37c531(0x13b)](_0x85116[_0x37c531(0x1c5)],0x0)&&(Base[_0x37c531(0x133)](),Base[_0x37c531(0x133)](_0x2d2982[_0x37c531(0x16f)](_0xa2eb0f),chalk[_0x37c531(0x220)]['bgBlueBright'](_0x592603)),Base[_0x37c531(0x1d2)](_0x85116));});}}}async function run(_0x5cc4cd,_0x28c961,_0x2fac3b){const _0x1ca1a2=a28_0x13c82e,_0x3a3f5b={'vKYUT':function(_0x521d26,_0x5c5ec3,_0x4064dc,_0x2325ef){return _0x521d26(_0x5c5ec3,_0x4064dc,_0x2325ef);},'YLJtA':_0x1ca1a2(0x202),'jnVea':_0x1ca1a2(0x1b9),'aeAFi':_0x1ca1a2(0x1a6),'ZzMej':'mocha','rxqXh':function(_0x3cd67a,_0x49f6c8){return _0x3cd67a!=_0x49f6c8;},'DkWkG':_0x1ca1a2(0x1ce),'gvOHy':_0x1ca1a2(0x204),'xYGRt':_0x1ca1a2(0x21d),'WrNjk':_0x1ca1a2(0x221),'NKcMK':function(_0x4ee594,_0x318922){return _0x4ee594(_0x318922);},'tfjaW':function(_0x5e7883,_0x255047,_0x51d023){return _0x5e7883(_0x255047,_0x51d023);},'jiIvd':_0x1ca1a2(0x18b),'drWBn':'Running\x20your\x20mocha\x20tests','zRCME':_0x1ca1a2(0x1e0),'qxIri':function(_0x3ba0d0,_0x2c5080,_0x4fb5eb,_0x49dd77){return _0x3ba0d0(_0x2c5080,_0x4fb5eb,_0x49dd77);},'JIEZD':function(_0x32b922,_0x1db56f){return _0x32b922*_0x1db56f;},'Gujyi':function(_0x155a38,_0x1f4a74){return _0x155a38(_0x1f4a74);},'OMPRt':function(_0x5b6fb0,_0x2b7fd6){return _0x5b6fb0!==_0x2b7fd6;},'hmjEw':function(_0xcd5a19,_0x218f04,_0x4e352c,_0x203ad4){return _0xcd5a19(_0x218f04,_0x4e352c,_0x203ad4);}};helper[_0x1ca1a2(0x18d)](_0x2fac3b['framework'],_0x5cc4cd);helper[_0x1ca1a2(0x1e2)]()?(await _0x2fac3b[_0x1ca1a2(0x1f9)](_0x5cc4cd),await helper[_0x1ca1a2(0x1a8)](_0x2fac3b[_0x1ca1a2(0x165)])):await _0x2fac3b['setupTCGAuth']();const _0x1729de=[];let _0x43f218=[];if(!_0x2fac3b[_0x1ca1a2(0x165)])return;!helper['isUndefined'](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c9)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1ca1a2(0x151)](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c9)]));const _0x524dc8=await TestHubHandler[_0x1ca1a2(0x1a7)](FRAMEWORKS[_0x1ca1a2(0x1c8)],_0x2fac3b);_0x3a3f5b[_0x1ca1a2(0x211)](_0x2fac3b[_0x1ca1a2(0x165)]['testObservability'],null)&&(process[_0x1ca1a2(0x1d7)][_0x1ca1a2(0x1d0)]=_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x22f)]);!helper['isUndefined'](_0x2fac3b['config'][_0x1ca1a2(0x217)])&&(process[_0x1ca1a2(0x1d7)][_0x1ca1a2(0x188)]=_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x217)]);const {extension:extension=['js',_0x3a3f5b[_0x1ca1a2(0x1ac)],_0x3a3f5b[_0x1ca1a2(0x15f)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3a3f5b['xYGRt']]}=_0x5cc4cd,_0x30b0d6={..._0x5cc4cd};_0x30b0d6[_0x1ca1a2(0x17f)]=null;const _0x373f8e=_0x30b0d6;let _0x149f6c;if(testOpsHelper[_0x1ca1a2(0x174)]()&&testOpsHelper[_0x1ca1a2(0x22d)]()){let _0x6a66cb=process['env'][_0x1ca1a2(0x1da)];!helper[_0x1ca1a2(0x187)](_0x2fac3b[_0x1ca1a2(0x1d6)])&&_0x2fac3b[_0x1ca1a2(0x1d6)]['has'](_0x3a3f5b['WrNjk'])&&(_0x6a66cb=_0x2fac3b[_0x1ca1a2(0x1d6)][_0x1ca1a2(0x219)](_0x3a3f5b['WrNjk'])),_0x149f6c=testOpsHelper[_0x1ca1a2(0x20d)](_0x6a66cb);}if(helper[_0x1ca1a2(0x187)](_0x149f6c)){const _0x440de4={};_0x440de4['ignore']=ignore,_0x440de4[_0x1ca1a2(0x1df)]=extension,_0x440de4[_0x1ca1a2(0x159)]=file,_0x440de4['recursive']=recursive,_0x440de4['sort']=sort,_0x440de4[_0x1ca1a2(0x1fd)]=spec,_0x149f6c=_0x3a3f5b[_0x1ca1a2(0x1e9)](collectFiles,_0x440de4),_0x3a3f5b[_0x1ca1a2(0x156)](nestedKeyValue,_0x149f6c,[_0x3a3f5b[_0x1ca1a2(0x1fe)]])&&(_0x149f6c=_0x149f6c['files']);}const _0x15036a=helper[_0x1ca1a2(0x183)](_0x2fac3b[_0x1ca1a2(0x165)]);!helper[_0x1ca1a2(0x175)](_0x15036a)&&helper[_0x1ca1a2(0x1b8)](_0x15036a[_0x1ca1a2(0x1bf)])&&(_0x373f8e['retries']=_0x15036a['retryTestsOnFailure']['maxRetries']);if(!helper[_0x1ca1a2(0x1e2)]()){const _0x5cd27d=0x1,_0x221826={..._0x373f8e};_0x221826[_0x1ca1a2(0x1fd)]=[..._0x149f6c],_0x1729de[_0x1ca1a2(0x169)]({'mochaOpts':_0x221826,'configuration':{'platform':os[_0x1ca1a2(0x1ad)]()}}),logger[_0x1ca1a2(0x1bc)](_0x3a3f5b[_0x1ca1a2(0x1ea)]),logger[_0x1ca1a2(0x1bc)](_0x3a3f5b[_0x1ca1a2(0x146)]),_0x3a3f5b['qxIri'](parallelTestRun,_0x1729de,_0x5cd27d,_0x2fac3b)[_0x1ca1a2(0x190)](_0x5864d5=>{const _0x45f1bf=_0x1ca1a2;PerformanceTester[_0x45f1bf(0x1f4)](PerformanceEvents[_0x45f1bf(0x19e)]),_0x3a3f5b['vKYUT'](printStats,_0x5864d5,_0x5cc4cd[_0x45f1bf(0x14a)],_0x5cc4cd[_0x45f1bf(0x12f)]||_0x5cc4cd[_0x3a3f5b[_0x45f1bf(0x14c)]]);})[_0x1ca1a2(0x185)](()=>{const _0x5c5b58=_0x1ca1a2;PerformanceTester[_0x5c5b58(0x1f4)](PerformanceEvents[_0x5c5b58(0x19e)]);try{const {browserstackFolderPath:_0x5910bf,tcgConfigPath:_0x386732}=helper[_0x5c5b58(0x21b)]();fs[_0x5c5b58(0x136)](_0x386732),fs[_0x5c5b58(0x1ee)](_0x5910bf);}catch(_0x214e19){logger[_0x5c5b58(0x181)](_0x3a3f5b['jnVea'],_0x214e19);}try{utilities['fireFunnelTestEvent'](_0x3a3f5b[_0x5c5b58(0x12e)],{},_0x2fac3b[_0x5c5b58(0x165)],_0x2fac3b[_0x5c5b58(0x1f6)]);}catch(_0x3e813c){logger[_0x5c5b58(0x181)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x3e813c['stack']);}try{helper[_0x5c5b58(0x13d)]();}catch(_0xfdc6dc){logger[_0x5c5b58(0x181)](_0x5c5b58(0x223)+_0xfdc6dc);}testOpsHelper['printBuildLink']();});}else{const _0x425f58=helper[_0x1ca1a2(0x22a)](_0x2fac3b[_0x1ca1a2(0x165)]);let _0x3e8d0f=helper[_0x1ca1a2(0x1b5)](_0x2fac3b[_0x1ca1a2(0x165)]);_0x43f218=helper['prepareCapabilities'](_0x2fac3b[_0x1ca1a2(0x165)],_0x425f58,constants[_0x1ca1a2(0x1aa)][_0x1ca1a2(0x1c8)]);helper[_0x1ca1a2(0x15d)]()['central_scanner']&&(_0x3e8d0f=centralScannerConstants[_0x1ca1a2(0x20e)]);let _0x28b02d;const _0x4c4050=_0x2fac3b['config'][_0x1ca1a2(0x1c4)]||helper[_0x1ca1a2(0x178)](_0x5cc4cd,_0x28c961,_0x2fac3b[_0x1ca1a2(0x165)],constants[_0x1ca1a2(0x1aa)]['MOCHA'])||0x1;helper[_0x1ca1a2(0x200)](_0x2fac3b[_0x1ca1a2(0x165)])?_0x28b02d=_0x3a3f5b[_0x1ca1a2(0x144)](_0x2fac3b['config'][_0x1ca1a2(0x201)][_0x1ca1a2(0x1c5)],_0x4c4050):_0x28b02d=_0x4c4050;const _0x295e33=_0x3a3f5b['Gujyi'](getPercyOptions,_0x2fac3b[_0x1ca1a2(0x165)]);if(_0x3a3f5b['OMPRt'](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c4)],0x1))_0x149f6c[_0x1ca1a2(0x1cb)](_0x23f590=>{const _0x5056da=_0x1ca1a2,_0xd1bca9=[];_0x43f218[_0x5056da(0x1cb)]((_0x1dc644,_0x3ed88c)=>{const _0x2f4aad=_0x5056da,_0x51eef0={};_0x51eef0[_0x2f4aad(0x1fd)]=[_0x23f590],_0xd1bca9[_0x2f4aad(0x169)]({'mochaOpts':Object['assign']({},_0x373f8e,_0x51eef0),'configuration':{'server':_0x3e8d0f,'capability':_0x1dc644,'proxySettings':_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x18e)],'platform':helper[_0x2f4aad(0x1ff)](_0x1dc644),'browserStackLogLevel':_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x1d9)],'platformIndex':_0x3ed88c,'browserStackPercyOptions':_0x295e33,'platformCaps':Object[_0x2f4aad(0x226)]({'index':_0x3ed88c},_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x201)][_0x3ed88c])}});}),_0x1729de[_0x5056da(0x169)](..._0xd1bca9);});else{const _0x2bf550=[];_0x43f218[_0x1ca1a2(0x1cb)]((_0x9c6031,_0x2779cc)=>{const _0x2ce00e=_0x1ca1a2;let _0x15b654=Object[_0x2ce00e(0x226)]({},_0x373f8e);testOpsHelper[_0x2ce00e(0x174)]()&&testOpsHelper[_0x2ce00e(0x22d)]()&&(_0x15b654={..._0x15b654,'spec':[..._0x149f6c]}),_0x2bf550[_0x2ce00e(0x169)]({'mochaOpts':_0x15b654,'configuration':{'server':_0x3e8d0f,'capability':_0x9c6031,'proxySettings':_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x18e)],'platform':helper[_0x2ce00e(0x1ff)](_0x9c6031),'browserStackLogLevel':_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x1d9)],'platformIndex':_0x2779cc,'browserStackPercyOptions':_0x295e33,'platformCaps':Object['assign']({'index':_0x2779cc},_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x201)][_0x2779cc])}});}),_0x1729de['push'](..._0x2bf550);}logger[_0x1ca1a2(0x1bc)](_0x1ca1a2(0x15e)+_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x201)][_0x1ca1a2(0x1c5)]+'\x20platforms'),logger['info'](_0x3a3f5b[_0x1ca1a2(0x146)]);let _0x5d9a6c;_0x3a3f5b['hmjEw'](parallelTestRun,_0x1729de,_0x28b02d,_0x2fac3b)[_0x1ca1a2(0x190)](_0x2eafe3=>{const _0x53b947=_0x1ca1a2;PerformanceTester[_0x53b947(0x1f4)](PerformanceEvents[_0x53b947(0x19e)]),_0x5d9a6c=_0x2eafe3,_0x3a3f5b[_0x53b947(0x1e3)](printStats,_0x2eafe3,_0x5cc4cd[_0x53b947(0x14a)],_0x5cc4cd[_0x53b947(0x12f)]||_0x5cc4cd[_0x3a3f5b[_0x53b947(0x14c)]]);})[_0x1ca1a2(0x185)](async()=>{const _0x501477=_0x1ca1a2;PerformanceTester[_0x501477(0x1f4)](PerformanceEvents[_0x501477(0x19e)]),_0x2fac3b[_0x501477(0x1b6)]=helper['getErrorMessageFromResults'](_0x5d9a6c,_0x3a3f5b['ZzMej']),await utilities[_0x501477(0x1b0)](_0x2fac3b),testOpsHelper[_0x501477(0x1cf)]();});}}module[a28_0x13c82e(0x1a4)]=run;
2
+ 'use strict';const a28_0x4c2383=a28_0x3612;(function(_0x20d3cb,_0x44aa1a){const _0x1f5ee3=a28_0x3612,_0x579a85=_0x20d3cb();while(!![]){try{const _0x573292=parseInt(_0x1f5ee3(0x1da))/0x1*(parseInt(_0x1f5ee3(0x20a))/0x2)+-parseInt(_0x1f5ee3(0x25a))/0x3*(-parseInt(_0x1f5ee3(0x237))/0x4)+parseInt(_0x1f5ee3(0x1e9))/0x5*(-parseInt(_0x1f5ee3(0x235))/0x6)+-parseInt(_0x1f5ee3(0x1b2))/0x7+parseInt(_0x1f5ee3(0x1dc))/0x8+parseInt(_0x1f5ee3(0x22f))/0x9*(parseInt(_0x1f5ee3(0x1ad))/0xa)+-parseInt(_0x1f5ee3(0x228))/0xb*(parseInt(_0x1f5ee3(0x24c))/0xc);if(_0x573292===_0x44aa1a)break;else _0x579a85['push'](_0x579a85['shift']());}catch(_0x2a8c38){_0x579a85['push'](_0x579a85['shift']());}}}(a28_0x51da,0x43c8a));const chalk=require(a28_0x4c2383(0x240)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a28_0x4c2383(0x1f0)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x4c2383(0x251)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4c2383(0x247)),{requireModule,nestedKeyValue}=require(a28_0x4c2383(0x1f0)),{getPercyOptions}=require(a28_0x4c2383(0x278)),Base=requireModule(a28_0x4c2383(0x1f7),a28_0x4c2383(0x232)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x4c2383(0x232)),constants=require(a28_0x4c2383(0x262)),PerformanceTester=require(a28_0x4c2383(0x275)),PerformanceEvents=require(a28_0x4c2383(0x242))['EVENTS'],centralScannerConstants=require(a28_0x4c2383(0x1b8)),{FRAMEWORKS}=require(a28_0x4c2383(0x241)),TestHubHandler=require(a28_0x4c2383(0x1fe));function tag(_0x5cfcf4,_0x6393e1,_0x320f6c,_0xb9f2f6){const _0x2459e7=a28_0x4c2383,_0x26ea13={'CaeuT':function(_0x2ebec2,_0x2f5cc9){return _0x2ebec2+_0x2f5cc9;},'DVfVL':function(_0x128fe9,_0x2b92c5){return _0x128fe9(_0x2b92c5);},'CeHIG':function(_0x16ce95,_0x3882ef){return _0x16ce95+_0x3882ef;},'xTVVK':function(_0x3fd60d,_0x5825c7){return _0x3fd60d+_0x5825c7;},'gnTpI':function(_0xe6ae95,_0x5586b9){return _0xe6ae95+_0x5586b9;},'cGujS':function(_0x156fe4,_0x58b57d){return _0x156fe4+_0x58b57d;}},_0x30472b=_0x320f6c?'/>':'>',_0x1ba3c1=[];let _0x1af640;for(const _0x5d4eb2 in _0x6393e1){Object[_0x2459e7(0x1d3)][_0x2459e7(0x21e)][_0x2459e7(0x244)](_0x6393e1,_0x5d4eb2)&&_0x1ba3c1['push'](_0x26ea13[_0x2459e7(0x23a)](_0x26ea13[_0x2459e7(0x23a)](_0x26ea13[_0x2459e7(0x23a)](_0x5d4eb2,'=\x22'),_0x26ea13[_0x2459e7(0x24a)](escape,_0x6393e1[_0x5d4eb2])),'\x22'));}return _0x1af640=_0x26ea13[_0x2459e7(0x23a)](_0x26ea13[_0x2459e7(0x296)](_0x26ea13[_0x2459e7(0x214)]('<',_0x5cfcf4),_0x1ba3c1[_0x2459e7(0x1bb)]?_0x26ea13[_0x2459e7(0x1bc)]('\x20',_0x1ba3c1[_0x2459e7(0x264)]('\x20')):''),_0x30472b),_0xb9f2f6&&(_0x1af640+=_0x26ea13[_0x2459e7(0x296)](_0x26ea13[_0x2459e7(0x214)](_0x26ea13[_0x2459e7(0x22a)](_0xb9f2f6,'</'),_0x5cfcf4),_0x30472b)),_0x1af640;}let xunitContent='';function xunitWrite(_0x2128d0){xunitContent+=_0x2128d0;}function xunitTest(_0x1a8a61,_0x1edf70){const _0x1c8b75=a28_0x4c2383,_0x4de5a8={'BnjLz':function(_0x568076,_0x5584a8){return _0x568076/_0x5584a8;},'MVEbI':function(_0xc7cebc,_0x3843b4){return _0xc7cebc===_0x3843b4;},'axkOk':_0x1c8b75(0x209),'qsGFh':function(_0x39445e,_0x30ded9){return _0x39445e+_0x30ded9;},'LSXSE':function(_0x2afc46,_0x387859){return _0x2afc46(_0x387859);},'xXWPu':function(_0x49bc47,_0x2d6a0e,_0x5713fd,_0x34fe77,_0x21898a){return _0x49bc47(_0x2d6a0e,_0x5713fd,_0x34fe77,_0x21898a);},'vKAOr':_0x1c8b75(0x1ae),'JkMGJ':function(_0x443397,_0x393831,_0x2d14eb,_0x12d48b,_0x292fd2){return _0x443397(_0x393831,_0x2d14eb,_0x12d48b,_0x292fd2);},'JsEJy':_0x1c8b75(0x24e),'aWKaR':function(_0x9d4307,_0x4bdcd8){return _0x9d4307+_0x4bdcd8;},'CMpDd':function(_0x543793,_0x2b711d){return _0x543793+_0x2b711d;},'hJlru':function(_0x4e157e,_0xc073c0){return _0x4e157e(_0xc073c0);},'uozBp':function(_0x2c7cfc,_0x1acc24){return _0x2c7cfc(_0x1acc24);},'YHEKt':function(_0xbdc9c2,_0x23f973,_0x5a65e3,_0x47e839,_0x5b2701){return _0xbdc9c2(_0x23f973,_0x5a65e3,_0x47e839,_0x5b2701);},'mnNWB':function(_0x2429ff,_0x13686d,_0x532524,_0x2bc0ff){return _0x2429ff(_0x13686d,_0x532524,_0x2bc0ff);},'bNxll':_0x1c8b75(0x229),'ZFQpT':function(_0x1ae32c,_0xbfdf2f){return _0x1ae32c(_0xbfdf2f);}};Base['useColors']=![];var _0x52b0ed={'classname':_0x1a8a61['fullTitle'],'name':_0x1a8a61[_0x1c8b75(0x28b)],'time':_0x4de5a8[_0x1c8b75(0x204)](_0x1a8a61[_0x1c8b75(0x219)],0x3e8)||0x0,'platform':_0x1edf70};if(_0x4de5a8['MVEbI'](_0x1a8a61[_0x1c8b75(0x1e5)],_0x4de5a8[_0x1c8b75(0x225)])){var _0x128cbb=_0x1a8a61['err'],_0x473cec=!Base[_0x1c8b75(0x24b)]&&Base['showDiff'](_0x128cbb)?_0x4de5a8[_0x1c8b75(0x205)]('\x0a',Base['generateDiff'](_0x128cbb['actual'],_0x128cbb[_0x1c8b75(0x20e)])):'';_0x4de5a8[_0x1c8b75(0x1dd)](xunitWrite,_0x4de5a8[_0x1c8b75(0x1be)](tag,_0x4de5a8['vKAOr'],_0x52b0ed,![],_0x4de5a8[_0x1c8b75(0x1c6)](tag,_0x4de5a8[_0x1c8b75(0x207)],{},![],_0x4de5a8[_0x1c8b75(0x205)](_0x4de5a8[_0x1c8b75(0x1d5)](_0x4de5a8[_0x1c8b75(0x1fd)](_0x4de5a8['LSXSE'](escape,_0x128cbb['message']),_0x4de5a8['hJlru'](escape,_0x473cec)),'\x0a'),_0x4de5a8[_0x1c8b75(0x1dd)](escape,_0x128cbb['stack'])))));}else _0x1a8a61[_0x1c8b75(0x1bd)]?_0x4de5a8[_0x1c8b75(0x1b4)](xunitWrite,_0x4de5a8[_0x1c8b75(0x270)](tag,_0x4de5a8[_0x1c8b75(0x21d)],_0x52b0ed,![],_0x4de5a8[_0x1c8b75(0x280)](tag,_0x4de5a8[_0x1c8b75(0x269)],{},!![]))):_0x4de5a8['ZFQpT'](xunitWrite,_0x4de5a8['mnNWB'](tag,_0x4de5a8[_0x1c8b75(0x21d)],_0x52b0ed,!![]));};function a28_0x51da(){const _0x39faac=['info','handleApp','titlePath','FkjpA','platforms','accessibility','kcaYc','title','output','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','push','hAgpr','red','NWnxa','stack','\x20failed','assign','Writing\x20xunit\x20result\x20to\x20file','CeHIG','jyiSD','testsPending','OXrrf','dzUKw','pQxYz','nkzQg','finally','VaBFF','nMBli','stringify','eAAVk','getOwnPropertyNames','BROWSERSTACK_TEST_OBSERVABILITY_YML','Total\x20Suites:\x20','79660GCusfo','testcase','LSeMb','reporter','ikuoA','2731876nPwifG','TppvI','uozBp','WRlUC','nETGH','JWOjt','../../helpers/central-scanner/constants','POGdn','azqQU','length','gnTpI','isPending','xXWPu','fQZrK','tuVzA','testObservability','getPlatformName','stats','add','writeFileSync','JkMGJ','JGtjO','parse','exports','getErrorMessageFromResults','Running\x20your\x20mocha\x20tests\x20across\x20','meIYW','setUserConfigPath','fGYEj','hKLFn','trjVR','vpzel','JVvGo','prototype','Running\x20your\x20mocha\x20tests','aWKaR','testsPassed','yellow','BxOks','Total\x20Platforms:\x20','482BOTWyG','debug','1170536ItOdOj','LSXSE','spec','DARej','accessibilityOptions','files','rmdirSync','jkRSF','getTCGConfigFilePaths','state','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','framework','size','30595dwAtTq','results','testsFailed','reporterOptions','printBuildLink','VrIQo','osmOu','../../helpers/helper','JKwcU','start','recursive','extension','Couldn\x27t\x20write\x20xunit\x20result\x20to','currentRetry','mocha/lib/reporters/base.js','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','</testsuite>','\x0a\x0a\x0a','CwLdD','Now,\x20showing\x20logs\x20from\x20mocha','CMpDd','../../helpers/testhub/testhubHandler','UqElT','EBSAc','wyYEZ','sort','suite','BnjLz','qsGFh','MOCHA','JsEJy','Tests:\x20\x20\x20\x20\x20\x20\x20','failed','890dVTZqM','\x20total','IvGAA','errorMessage','expected','err','failures','Listing\x20all\x20the\x20failures','BROWSERSTACK_RERUN_TESTS','exitCode','xTVVK','env','Writing\x20json\x20result\x20to\x20file','ignore','bold','duration','neKOB','doc','FRAMEWORKS','vKAOr','hasOwnProperty','WVoMs','uAokG','proxySettings','file','keys','yptvF','axkOk','cjs','whOXB','18953ONlYht','skipped','cGujS','eSgtm','validPlatformsPresent','NUnHA','json','144UxYYPU','uptfn','gNcKH','mocha','isBrowserstackInfra','then','6AriLcf','TtpVk','1749296jPbuVt','\x20skipped','iuZiY','CaeuT','isTestObservabilitySession','AZLpq','testSuites','map','BMoNC','chalk','../../helpers/test-observability/constants','../../helpers/performance/constants','retryTestsOnFailure','call','SThAh','min','../test-runner','rootHooks','fullTitle','DVfVL','hideDiff','1752gWbapv','kigPN','failure','Jqxjr','getCentralUser','../../helpers/test-observability/utils','mBnFk','COgnL','parseFileNames','SDK_CLEANUP','launchBuild','bgRedBright','notifyUpdate','shouldReRunObservabilityTests','3qqjpRF','suiteName','gkaMq','Setting\x20non\x20exit\x20code\x20for\x20failures','config','vrakn','maxRetries','KMinX','../utils/constants','isUndefined','join','consoleLog','****\x20FAILURES\x20****','SDKTestSuccessful','rerunTests','bNxll','logLevel','pending','green','parallelsPerPlatform','retries','log','YHEKt','error','cliConfig','mswkX','iMSFT','../../helpers/performance/performance-tester','passed','object','../../helpers/percy/utils','MfXnV','FPHEf','seGkG','IhMpb','fTHGB','uQIeN','list','mnNWB','gqvTu','forEach','FUjEX'];a28_0x51da=function(){return _0x39faac;};return a28_0x51da();}function getStats(_0x510f0a){const _0x102d0f=a28_0x4c2383,_0x15bd4d={};_0x15bd4d[_0x102d0f(0x1c7)]=_0x102d0f(0x203),_0x15bd4d[_0x102d0f(0x283)]=_0x102d0f(0x276),_0x15bd4d['hAgpr']='failed',_0x15bd4d['WVoMs']=_0x102d0f(0x1ea);const _0x15afdf=_0x15bd4d,_0x2e48b0=Object[_0x102d0f(0x223)](_0x510f0a);let _0x5495f4=0x0,_0x392a58=0x0,_0x28373a=0x0,_0x58dc7c=0x0;const _0x1c630b=new Set();_0x2e48b0['forEach'](_0x56e184=>{const _0x500fc4=_0x102d0f;_0x510f0a[_0x56e184][_0x15afdf[_0x500fc4(0x21f)]][_0x500fc4(0x282)](_0x1fc081=>{const _0x2999d5=_0x500fc4;_0x1c630b[_0x2999d5(0x1c4)](_0x1fc081[_0x15afdf[_0x2999d5(0x1c7)]]),_0x5495f4++;switch(_0x1fc081[_0x2999d5(0x1e5)]){case _0x15afdf['FUjEX']:_0x28373a++;break;case _0x15afdf[_0x2999d5(0x28f)]:_0x392a58++;break;default:_0x58dc7c++;}});});const _0x2b6ab5={};return _0x2b6ab5[_0x102d0f(0x23d)]=_0x1c630b[_0x102d0f(0x1e8)],_0x2b6ab5['platforms']=_0x2e48b0,_0x2b6ab5['totalTests']=_0x5495f4,_0x2b6ab5['testsFailed']=_0x392a58,_0x2b6ab5[_0x102d0f(0x1d6)]=_0x28373a,_0x2b6ab5[_0x102d0f(0x1a0)]=_0x58dc7c,_0x2b6ab5;}function errorJSON(_0x53f285){const _0x25a8e1=a28_0x4c2383;var _0x4b4dc8={};return Object[_0x25a8e1(0x1aa)](_0x53f285)[_0x25a8e1(0x282)](function(_0x56d384){_0x4b4dc8[_0x56d384]=_0x53f285[_0x56d384];},_0x53f285),_0x4b4dc8;}function cleanCycles(_0x3e4248){const _0x1e1bc6=a28_0x4c2383,_0x558d4d={};_0x558d4d[_0x1e1bc6(0x1e3)]=function(_0x24ecb4,_0xcdefb){return _0x24ecb4===_0xcdefb;},_0x558d4d[_0x1e1bc6(0x1cf)]=_0x1e1bc6(0x277),_0x558d4d[_0x1e1bc6(0x1b6)]=function(_0x25e67d,_0x49e649){return _0x25e67d!==_0x49e649;},_0x558d4d[_0x1e1bc6(0x21a)]=function(_0x23b084,_0x540234){return _0x23b084+_0x540234;};const _0x23db3c=_0x558d4d;var _0x3b1147=[];return JSON[_0x1e1bc6(0x1c8)](JSON['stringify'](_0x3e4248,function(_0x2aa930,_0x569609){const _0x5d729b=_0x1e1bc6;if(_0x23db3c[_0x5d729b(0x1e3)](typeof _0x569609,_0x23db3c[_0x5d729b(0x1cf)])&&_0x23db3c[_0x5d729b(0x1b6)](_0x569609,null)){if(_0x23db3c[_0x5d729b(0x1b6)](_0x3b1147['indexOf'](_0x569609),-0x1))return _0x23db3c['neKOB']('',_0x569609);_0x3b1147[_0x5d729b(0x28e)](_0x569609);}return _0x569609;}));}function clean(_0x1f4d14){const _0x35b39c=a28_0x4c2383,_0x5848c7={'cBTnp':function(_0x3ebb34,_0x318856){return _0x3ebb34 instanceof _0x318856;},'BMoNC':function(_0x2e1e0e,_0x4b1a4c){return _0x2e1e0e(_0x4b1a4c);}};var _0x29222f=_0x1f4d14[_0x35b39c(0x20f)]||{};return _0x5848c7['cBTnp'](_0x29222f,Error)&&(_0x29222f=_0x5848c7[_0x35b39c(0x23f)](errorJSON,_0x29222f)),{'title':_0x1f4d14[_0x35b39c(0x28b)],'fullTitle':_0x1f4d14[_0x35b39c(0x249)],'file':_0x1f4d14['file'],'duration':_0x1f4d14['duration'],'currentRetry':_0x1f4d14[_0x35b39c(0x1f6)],'speed':_0x1f4d14['speed'],'err':_0x5848c7[_0x35b39c(0x23f)](cleanCycles,_0x29222f)};}function printStats(_0x454d40,_0x3d0c04=a28_0x4c2383(0x1de),_0x459799={}){const _0x220c57=a28_0x4c2383,_0xf79304={'NUnHA':function(_0xa703c3,_0x1a1618){return _0xa703c3(_0x1a1618);},'inwRc':function(_0x334737,_0x4b1643){return _0x334737===_0x4b1643;},'FPHEf':_0x220c57(0x276),'WRlUC':'passes','fQZrK':function(_0x665c87,_0x47da84){return _0x665c87(_0x47da84);},'JKwcU':function(_0x3508f9,_0x3a55f8){return _0x3508f9===_0x3a55f8;},'KMinX':_0x220c57(0x209),'qHOsn':_0x220c57(0x210),'rQXoh':_0x220c57(0x26b),'nMBli':function(_0x47d69f,_0x1818bf){return _0x47d69f(_0x1818bf);},'UqElT':_0x220c57(0x1ea),'qfsKQ':function(_0x4ef572,_0x3eb056){return _0x4ef572===_0x3eb056;},'IvGAA':function(_0x1a249a,_0x502733){return _0x1a249a*_0x502733;},'LSeMb':function(_0x44fcef,_0x345741,_0x3ae231){return _0x44fcef(_0x345741,_0x3ae231);},'gvAAf':function(_0x41dd77,_0xffc883){return _0x41dd77===_0xffc883;},'fTHGB':function(_0x5a8350,_0x4d7e00){return _0x5a8350>_0x4d7e00;},'ikuoA':function(_0x3c4d1){return _0x3c4d1();},'uptfn':function(_0x6b96aa,_0x1522f4){return _0x6b96aa===_0x1522f4;},'jyiSD':_0x220c57(0x21b),'Jqxjr':function(_0x174133,_0x2d82ac){return _0x174133(_0x2d82ac);},'meIYW':function(_0x19f806,_0x58cbb6){return _0x19f806>_0x58cbb6;},'xPMdo':_0x220c57(0x25d),'VaBFF':'Printing\x20stats\x20of\x20tests','BxOks':function(_0x5a4753,_0xb86a8b){return _0x5a4753+_0xb86a8b;},'IhMpb':_0x220c57(0x1d9),'gNcKH':_0x220c57(0x1ac),'iuZiY':_0x220c57(0x208),'TppvI':function(_0x388fb0,_0x322ed6){return _0x388fb0+_0x322ed6;},'trjVR':function(_0x3f7540,_0x15e949){return _0x3f7540+_0x15e949;},'wyYEZ':function(_0x3c4216,_0x4b8a87){return _0x3c4216+_0x4b8a87;},'BrveU':_0x220c57(0x1fa),'NWnxa':function(_0x131247,_0x3e243e){return _0x131247===_0x3e243e;},'PGWzs':_0x220c57(0x22e),'FkjpA':_0x220c57(0x216),'azqQU':'Couldn\x27t\x20write\x20json\x20result\x20to','fGYEj':_0x220c57(0x1e6),'MVDrv':function(_0x1421a6,_0x299386){return _0x1421a6===_0x299386;},'seGkG':'xunit','POGdn':'Mocha\x20Tests','mBnFk':function(_0x31c090,_0x16a832){return _0x31c090||_0x16a832;},'CwLdD':function(_0x4e119b,_0x260f23,_0x5d8702,_0x335946){return _0x4e119b(_0x260f23,_0x5d8702,_0x335946);},'gkaMq':'testsuite','MfXnV':function(_0x1b762d,_0x99c6c4){return _0x1b762d-_0x99c6c4;},'tuVzA':function(_0x42507b,_0x3f8f14){return _0x42507b-_0x3f8f14;},'SThAh':function(_0x2b38cf,_0x27067a){return _0x2b38cf/_0x27067a;},'vrakn':function(_0xe0e218,_0x37d7bc){return _0xe0e218(_0x37d7bc);},'pQxYz':_0x220c57(0x1f9),'uQIeN':_0x220c57(0x295),'COgnL':_0x220c57(0x1f5),'eAAVk':_0x220c57(0x1f8),'nkzQg':_0x220c57(0x211),'AZLpq':_0x220c57(0x266)};if(_0xf79304[_0x220c57(0x230)](_0x3d0c04,_0xf79304[_0x220c57(0x297)]))return;const _0xa406b=0x0,_0x3fa0db=()=>{const _0x4d6737=_0x220c57;return _0xf79304[_0x4d6737(0x22d)](Array,_0xa406b)[_0x4d6737(0x264)]('\x20\x20');},{testSuites:_0x114643,platforms:_0xc67634,totalTests:_0x55dc89,testsFailed:_0x53eee2,testsPassed:_0x579bdf,testsPending:_0x1f524e}=_0xf79304[_0x220c57(0x24f)](getStats,_0x454d40);_0xf79304[_0x220c57(0x1cc)](_0x53eee2,0x0)&&(logger[_0x220c57(0x1db)](_0xf79304['xPMdo']),process[_0x220c57(0x213)]=Math[_0x220c57(0x246)](_0x53eee2,0xff));logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x1a6)]);const _0x1f94f7=''+_0xf79304[_0x220c57(0x1d8)](chalk[_0x220c57(0x218)](_0xf79304[_0x220c57(0x27c)]),_0xc67634[_0x220c57(0x1bb)]),_0x26af18=''+_0xf79304[_0x220c57(0x1d8)](chalk[_0x220c57(0x218)](_0xf79304[_0x220c57(0x231)]),_0x114643),_0x160446=''+_0xf79304[_0x220c57(0x1d8)](_0xf79304[_0x220c57(0x1d8)](_0xf79304[_0x220c57(0x1d8)](chalk[_0x220c57(0x218)](_0xf79304[_0x220c57(0x239)]),_0xf79304['meIYW'](_0x53eee2,0x0)?chalk[_0x220c57(0x218)][_0x220c57(0x290)](_0x53eee2+_0x220c57(0x293))+',\x20':''),_0xf79304[_0x220c57(0x27d)](_0x1f524e,0x0)?chalk['bold'][_0x220c57(0x1d7)](_0x1f524e+_0x220c57(0x238))+',\x20':''),_0xf79304['meIYW'](_0x579bdf,0x0)?chalk[_0x220c57(0x218)][_0x220c57(0x26c)](_0x579bdf+'\x20passed')+',\x20':'')+_0x55dc89+_0x220c57(0x20b);console[_0x220c57(0x26f)](_0xf79304[_0x220c57(0x1d8)](_0xf79304[_0x220c57(0x1b3)](_0xf79304[_0x220c57(0x1d0)](_0xf79304[_0x220c57(0x201)](_0xf79304[_0x220c57(0x1b3)](_0xf79304['BrveU'],_0x1f94f7),'\x0a'),_0x26af18),'\x0a'),_0x160446));if(_0xf79304[_0x220c57(0x291)](_0x3d0c04,_0xf79304['PGWzs'])){const _0x1ed1d4={},_0x52cca4={};_0x52cca4[_0x220c57(0x23d)]=_0x114643,_0x52cca4[_0x220c57(0x288)]=_0xc67634,_0x52cca4[_0x220c57(0x1eb)]=_0x53eee2,_0x52cca4['testsPassed']=_0x579bdf,_0x52cca4[_0x220c57(0x1a0)]=_0x1f524e,_0x1ed1d4[_0x220c57(0x1c3)]=_0x52cca4,_0xc67634['forEach'](_0x109fd7=>{const _0x3b6b8d=_0x220c57,_0x1fab44={'osmOu':function(_0x344bac,_0x310836){return _0xf79304['inwRc'](_0x344bac,_0x310836);},'DARej':_0xf79304[_0x3b6b8d(0x27a)],'whOXB':_0xf79304[_0x3b6b8d(0x1b5)],'qNelV':function(_0x38e93b,_0x41c4eb){const _0x30fb1a=_0x3b6b8d;return _0xf79304[_0x30fb1a(0x1bf)](_0x38e93b,_0x41c4eb);},'rCBxT':function(_0xb3ada2,_0x3a0f2a){return _0xf79304['JKwcU'](_0xb3ada2,_0x3a0f2a);},'UfBlw':_0xf79304[_0x3b6b8d(0x261)],'EBSAc':_0xf79304['qHOsn'],'zvpCW':_0xf79304['rQXoh'],'kcaYc':function(_0x2a8052,_0xbd7074){const _0x1e8aa0=_0x3b6b8d;return _0xf79304[_0x1e8aa0(0x1a7)](_0x2a8052,_0xbd7074);}};_0x1ed1d4[_0x109fd7]={'pending':[],'failures':[],'passes':[],'tests':_0x454d40[_0x109fd7][_0xf79304['UqElT']][_0x3b6b8d(0x23e)](clean)},_0x454d40[_0x109fd7][_0xf79304['UqElT']][_0x3b6b8d(0x282)](_0x2bd184=>{const _0x5c57e0=_0x3b6b8d;if(_0x1fab44[_0x5c57e0(0x1ef)](_0x2bd184['state'],_0x1fab44[_0x5c57e0(0x1df)]))_0x1ed1d4[_0x109fd7][_0x1fab44[_0x5c57e0(0x227)]]['push'](_0x1fab44['qNelV'](clean,_0x2bd184));else _0x1fab44['rCBxT'](_0x2bd184[_0x5c57e0(0x1e5)],_0x1fab44['UfBlw'])?_0x1ed1d4[_0x109fd7][_0x1fab44[_0x5c57e0(0x200)]][_0x5c57e0(0x28e)](_0x1fab44['qNelV'](clean,_0x2bd184)):_0x1ed1d4[_0x109fd7][_0x1fab44['zvpCW']]['push'](_0x1fab44[_0x5c57e0(0x28a)](clean,_0x2bd184));});});if(_0x459799['output'])try{logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x287)],_0x459799[_0x220c57(0x28c)]),fs['writeFileSync'](_0x459799[_0x220c57(0x28c)],JSON[_0x220c57(0x1a8)](_0x1ed1d4,null,0x3));}catch(_0x3e27af){logger[_0x220c57(0x271)](_0xf79304[_0x220c57(0x1ba)],_0x459799[_0x220c57(0x28c)]),logger[_0x220c57(0x1db)](_0x3e27af);}else logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x1ce)]),console['log'](JSON[_0x220c57(0x1a8)](_0x1ed1d4,null,0x3));}else{if(_0xf79304['MVDrv'](_0x3d0c04,_0xf79304[_0x220c57(0x27b)])){let _0x593a77;const _0x46d188=_0xf79304[_0x220c57(0x1b9)];_0x459799&&(_0x593a77=_0x459799[_0x220c57(0x25b)]);_0x593a77=_0xf79304[_0x220c57(0x252)](_0x593a77,_0x46d188);let _0x167e4c=0x0,_0x229f10=0x0,_0x10dba1=0x0,_0x54767e=0x0;_0xc67634[_0x220c57(0x282)](_0x38316d=>{const _0x2f87fa=_0x220c57;_0x454d40[_0x38316d][_0xf79304['UqElT']][_0x2f87fa(0x282)](_0x281af7=>{const _0x4d7d49=_0x2f87fa;if(_0xf79304['JKwcU'](_0x281af7[_0x4d7d49(0x1e5)],_0xf79304['FPHEf']))_0x167e4c++;else _0xf79304['qfsKQ'](_0x281af7[_0x4d7d49(0x1e5)],_0xf79304['KMinX'])&&_0x229f10++;_0x10dba1++,_0x54767e+=_0xf79304[_0x4d7d49(0x20c)](_0x281af7[_0x4d7d49(0x219)],0x1);});}),_0xf79304[_0x220c57(0x1a7)](xunitWrite,_0xf79304[_0x220c57(0x1fb)](tag,_0xf79304[_0x220c57(0x25c)],{'name':_0x593a77,'tests':_0x10dba1,'failures':0x0,'errors':_0x229f10,'skipped':_0xf79304[_0x220c57(0x279)](_0xf79304[_0x220c57(0x1c0)](_0x10dba1,_0x229f10),_0x167e4c),'timestamp':new Date()['toUTCString'](),'time':_0xf79304[_0x220c57(0x245)](_0x54767e,0x3e8)||0x0},![])),_0xc67634['forEach'](_0x5d665d=>{const _0x26d350=_0x220c57,_0x1b0139={'JWOjt':function(_0x31ebd6,_0x4b4981,_0x23bbd6){const _0x24bc8a=a28_0x3612;return _0xf79304[_0x24bc8a(0x1af)](_0x31ebd6,_0x4b4981,_0x23bbd6);}};_0x454d40[_0x5d665d][_0xf79304[_0x26d350(0x1ff)]][_0x26d350(0x282)](_0x266908=>{const _0xc9f67d=_0x26d350;_0x1b0139[_0xc9f67d(0x1b7)](xunitTest,_0x266908,_0x5d665d);});}),_0xf79304[_0x220c57(0x25f)](xunitWrite,_0xf79304[_0x220c57(0x1a3)]);if(_0x459799['output'])try{logger['debug'](_0xf79304[_0x220c57(0x27e)],_0x459799[_0x220c57(0x28c)]),fs[_0x220c57(0x1c5)](_0x459799['output'],xunitContent);}catch(_0x40d28e){logger[_0x220c57(0x271)](_0xf79304[_0x220c57(0x253)],_0x459799[_0x220c57(0x28c)]),logger[_0x220c57(0x1db)](_0x40d28e);}else logger['debug'](_0xf79304[_0x220c57(0x1a9)]),console[_0x220c57(0x26f)](xunitContent);}else{if(_0xf79304[_0x220c57(0x1f1)](_0x53eee2,0x0))return;console['log'](),logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x1a4)]),console[_0x220c57(0x26f)](chalk[_0x220c57(0x218)][_0x220c57(0x257)](_0xf79304[_0x220c57(0x23c)])),_0xc67634[_0x220c57(0x282)](_0x2facc0=>{const _0x5efb7a=_0x220c57,_0x10ab0e=[];_0x454d40[_0x2facc0][_0xf79304[_0x5efb7a(0x1ff)]][_0x5efb7a(0x282)](_0x4bc7e3=>{const _0x368290=_0x5efb7a;_0xf79304['gvAAf'](_0x4bc7e3[_0x368290(0x1e5)],_0xf79304[_0x368290(0x261)])&&(_0x4bc7e3[_0x368290(0x286)]=()=>_0x4bc7e3['titlePathV'],_0x10ab0e['push'](_0x4bc7e3));}),_0xf79304[_0x5efb7a(0x27d)](_0x10ab0e[_0x5efb7a(0x1bb)],0x0)&&(Base[_0x5efb7a(0x265)](),Base[_0x5efb7a(0x265)](_0xf79304[_0x5efb7a(0x1b1)](_0x3fa0db),chalk[_0x5efb7a(0x218)]['bgBlueBright'](_0x2facc0)),Base[_0x5efb7a(0x27f)](_0x10ab0e));});}}}async function run(_0x2fab20,_0x45e60e,_0x12641a){const _0xf94103=a28_0x4c2383,_0x33b54f={'OXrrf':function(_0x50add5,_0x13aa7f,_0x278f0c,_0x3b9962){return _0x50add5(_0x13aa7f,_0x278f0c,_0x3b9962);},'kigPN':'reporter-option','yptvF':'error\x20removing\x20tcg\x20config\x20file','BqDLz':_0xf94103(0x267),'TtpVk':_0xf94103(0x232),'gqvTu':function(_0x23ef11,_0x1729a8){return _0x23ef11!=_0x1729a8;},'vpzel':_0xf94103(0x226),'JVvGo':'mjs','eSgtm':'test','iMSFT':_0xf94103(0x268),'znyzu':function(_0x48adba,_0x3c730e){return _0x48adba(_0x3c730e);},'GQGlt':function(_0x1c86f5,_0x16b583,_0x1a0f1b){return _0x1c86f5(_0x16b583,_0x1a0f1b);},'mswkX':_0xf94103(0x1e1),'VrIQo':_0xf94103(0x1d4),'KtZat':_0xf94103(0x1fc),'wBsRS':function(_0x3a39f4,_0x5b9adb){return _0x3a39f4*_0x5b9adb;},'uAokG':function(_0x1d6aa9,_0x35a0bb){return _0x1d6aa9!==_0x35a0bb;},'dzUKw':function(_0x345461,_0x41174f,_0x214aba,_0x201025){return _0x345461(_0x41174f,_0x214aba,_0x201025);}};helper[_0xf94103(0x1cd)](_0x12641a['framework'],_0x2fab20);helper['isBrowserstackInfra']()?(await _0x12641a['initialize'](_0x2fab20),await helper[_0xf94103(0x285)](_0x12641a['config'])):await _0x12641a['setupTCGAuth']();const _0x41b634=[];let _0x19dbdb=[];if(!_0x12641a[_0xf94103(0x25e)])return;!helper[_0xf94103(0x263)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1e0)])&&(process[_0xf94103(0x215)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xf94103(0x1a8)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1e0)]));const _0x235f92=await TestHubHandler[_0xf94103(0x256)](FRAMEWORKS['MOCHA'],_0x12641a);_0x33b54f[_0xf94103(0x281)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1c1)],null)&&(process['env'][_0xf94103(0x1ab)]=_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1c1)]);!helper[_0xf94103(0x263)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x289)])&&(process[_0xf94103(0x215)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x12641a[_0xf94103(0x25e)]['accessibility']);const {extension:extension=['js',_0x33b54f[_0xf94103(0x1d1)],_0x33b54f[_0xf94103(0x1d2)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x33b54f[_0xf94103(0x22b)]]}=_0x2fab20,_0x175256={..._0x2fab20};_0x175256[_0xf94103(0x248)]=null;const _0x1f2aa3=_0x175256;let _0x52ac8e;if(testOpsHelper[_0xf94103(0x23b)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x24ac44=process[_0xf94103(0x215)][_0xf94103(0x212)];!helper[_0xf94103(0x263)](_0x12641a[_0xf94103(0x272)])&&_0x12641a[_0xf94103(0x272)]['has'](_0x33b54f[_0xf94103(0x274)])&&(_0x24ac44=_0x12641a['cliConfig']['get'](_0x33b54f[_0xf94103(0x274)])),_0x52ac8e=testOpsHelper[_0xf94103(0x254)](_0x24ac44);}if(helper['isUndefined'](_0x52ac8e)){const _0x5b48c5={};_0x5b48c5[_0xf94103(0x217)]=ignore,_0x5b48c5[_0xf94103(0x1f4)]=extension,_0x5b48c5[_0xf94103(0x222)]=file,_0x5b48c5[_0xf94103(0x1f3)]=recursive,_0x5b48c5[_0xf94103(0x202)]=sort,_0x5b48c5[_0xf94103(0x1de)]=spec,_0x52ac8e=_0x33b54f['znyzu'](collectFiles,_0x5b48c5),_0x33b54f['GQGlt'](nestedKeyValue,_0x52ac8e,[_0x33b54f[_0xf94103(0x273)]])&&(_0x52ac8e=_0x52ac8e['files']);}const _0x527bd4=helper['parseTestOrchestrationOptions'](_0x12641a[_0xf94103(0x25e)]);!helper['isEmpty'](_0x527bd4)&&helper['isNotUndefined'](_0x527bd4[_0xf94103(0x243)])&&(_0x1f2aa3[_0xf94103(0x26e)]=_0x527bd4[_0xf94103(0x243)][_0xf94103(0x260)]);if(!helper[_0xf94103(0x233)]()){const _0x316e8b=0x1,_0x375779={..._0x1f2aa3};_0x375779['spec']=[..._0x52ac8e],_0x41b634[_0xf94103(0x28e)]({'mochaOpts':_0x375779,'configuration':{'platform':os['platform']()}}),logger[_0xf94103(0x284)](_0x33b54f[_0xf94103(0x1ee)]),logger[_0xf94103(0x284)](_0x33b54f['KtZat']),_0x33b54f[_0xf94103(0x1a1)](parallelTestRun,_0x41b634,_0x316e8b,_0x12641a)[_0xf94103(0x234)](_0x27d4fa=>{const _0x33fff7=_0xf94103;PerformanceTester[_0x33fff7(0x1f2)](PerformanceEvents[_0x33fff7(0x255)]),_0x33b54f[_0x33fff7(0x1a1)](printStats,_0x27d4fa,_0x2fab20[_0x33fff7(0x1b0)],_0x2fab20[_0x33fff7(0x1ec)]||_0x2fab20[_0x33b54f[_0x33fff7(0x24d)]]);})[_0xf94103(0x1a5)](()=>{const _0x2acbfc=_0xf94103;PerformanceTester[_0x2acbfc(0x1f2)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x3802eb,tcgConfigPath:_0xca13f3}=helper[_0x2acbfc(0x1e4)]();fs['unlinkSync'](_0xca13f3),fs[_0x2acbfc(0x1e2)](_0x3802eb);}catch(_0x4e3edd){logger['debug'](_0x33b54f[_0x2acbfc(0x224)],_0x4e3edd);}try{utilities['fireFunnelTestEvent'](_0x33b54f['BqDLz'],{},_0x12641a[_0x2acbfc(0x25e)],_0x12641a[_0x2acbfc(0x1e7)]);}catch(_0x1c3302){logger[_0x2acbfc(0x1db)](_0x2acbfc(0x28d)+_0x1c3302[_0x2acbfc(0x292)]);}try{helper[_0x2acbfc(0x258)]();}catch(_0x5a6f31){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x5a6f31);}testOpsHelper[_0x2acbfc(0x1ed)]();});}else{const _0x545456=helper['useW3C'](_0x12641a[_0xf94103(0x25e)]);let _0x45660d=helper['getHubUrl'](_0x12641a[_0xf94103(0x25e)]);_0x19dbdb=helper['prepareCapabilities'](_0x12641a['config'],_0x545456,constants[_0xf94103(0x21c)]['MOCHA']);helper[_0xf94103(0x250)]()['central_scanner']&&(_0x45660d=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x42ff07;const _0x1b83de=_0x12641a[_0xf94103(0x25e)][_0xf94103(0x26d)]||helper['getUserWorkerCount'](_0x2fab20,_0x45e60e,_0x12641a[_0xf94103(0x25e)],constants[_0xf94103(0x21c)][_0xf94103(0x206)])||0x1;helper[_0xf94103(0x22c)](_0x12641a[_0xf94103(0x25e)])?_0x42ff07=_0x33b54f['wBsRS'](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x288)][_0xf94103(0x1bb)],_0x1b83de):_0x42ff07=_0x1b83de;const _0x40f6f6=_0x33b54f['znyzu'](getPercyOptions,_0x12641a[_0xf94103(0x25e)]);if(_0x33b54f[_0xf94103(0x220)](_0x12641a['config'][_0xf94103(0x26d)],0x1))_0x52ac8e[_0xf94103(0x282)](_0x5667f3=>{const _0x9928f9=_0xf94103,_0x58043e=[];_0x19dbdb[_0x9928f9(0x282)]((_0x3c97a4,_0x19fd53)=>{const _0x493a4e=_0x9928f9,_0x12db1e={};_0x12db1e[_0x493a4e(0x1de)]=[_0x5667f3],_0x58043e[_0x493a4e(0x28e)]({'mochaOpts':Object[_0x493a4e(0x294)]({},_0x1f2aa3,_0x12db1e),'configuration':{'server':_0x45660d,'capability':_0x3c97a4,'proxySettings':_0x12641a[_0x493a4e(0x25e)]['proxySettings'],'platform':helper[_0x493a4e(0x1c2)](_0x3c97a4),'browserStackLogLevel':_0x12641a[_0x493a4e(0x25e)][_0x493a4e(0x26a)],'platformIndex':_0x19fd53,'browserStackPercyOptions':_0x40f6f6,'platformCaps':Object[_0x493a4e(0x294)]({'index':_0x19fd53},_0x12641a[_0x493a4e(0x25e)]['platforms'][_0x19fd53])}});}),_0x41b634['push'](..._0x58043e);});else{const _0x2ad41b=[];_0x19dbdb[_0xf94103(0x282)]((_0x3ddb0b,_0x3603b7)=>{const _0x5b4ade=_0xf94103;let _0x3ddd14=Object['assign']({},_0x1f2aa3);testOpsHelper[_0x5b4ade(0x23b)]()&&testOpsHelper[_0x5b4ade(0x259)]()&&(_0x3ddd14={..._0x3ddd14,'spec':[..._0x52ac8e]}),_0x2ad41b[_0x5b4ade(0x28e)]({'mochaOpts':_0x3ddd14,'configuration':{'server':_0x45660d,'capability':_0x3ddb0b,'proxySettings':_0x12641a[_0x5b4ade(0x25e)][_0x5b4ade(0x221)],'platform':helper[_0x5b4ade(0x1c2)](_0x3ddb0b),'browserStackLogLevel':_0x12641a[_0x5b4ade(0x25e)][_0x5b4ade(0x26a)],'platformIndex':_0x3603b7,'browserStackPercyOptions':_0x40f6f6,'platformCaps':Object[_0x5b4ade(0x294)]({'index':_0x3603b7},_0x12641a[_0x5b4ade(0x25e)][_0x5b4ade(0x288)][_0x3603b7])}});}),_0x41b634[_0xf94103(0x28e)](..._0x2ad41b);}logger[_0xf94103(0x284)](_0xf94103(0x1cb)+_0x12641a[_0xf94103(0x25e)]['platforms']['length']+'\x20platforms'),logger[_0xf94103(0x284)](_0x33b54f['KtZat']);let _0x2bbb60;_0x33b54f[_0xf94103(0x1a2)](parallelTestRun,_0x41b634,_0x42ff07,_0x12641a)[_0xf94103(0x234)](_0x6a0113=>{const _0xad6870=_0xf94103;PerformanceTester[_0xad6870(0x1f2)](PerformanceEvents[_0xad6870(0x255)]),_0x2bbb60=_0x6a0113,_0x33b54f[_0xad6870(0x1a1)](printStats,_0x6a0113,_0x2fab20['reporter'],_0x2fab20[_0xad6870(0x1ec)]||_0x2fab20[_0x33b54f[_0xad6870(0x24d)]]);})['finally'](async()=>{const _0x489ae4=_0xf94103;PerformanceTester['start'](PerformanceEvents[_0x489ae4(0x255)]),_0x12641a[_0x489ae4(0x20d)]=helper[_0x489ae4(0x1ca)](_0x2bbb60,_0x33b54f[_0x489ae4(0x236)]),await utilities['finalExecution'](_0x12641a),testOpsHelper['printBuildLink']();});}}function a28_0x3612(_0x2cc650,_0x257ecc){const _0x51da2b=a28_0x51da();return a28_0x3612=function(_0x3612b3,_0x4a266f){_0x3612b3=_0x3612b3-0x1a0;let _0xfc975a=_0x51da2b[_0x3612b3];return _0xfc975a;},a28_0x3612(_0x2cc650,_0x257ecc);}module[a28_0x4c2383(0x1c9)]=run;
@@ -1 +1 @@
1
- function a29_0x5d61(_0x755f67,_0x2c7c8e){const _0x3e0bf1=a29_0x3e0b();return a29_0x5d61=function(_0x5d61be,_0x4878fa){_0x5d61be=_0x5d61be-0x1c5;let _0x394927=_0x3e0bf1[_0x5d61be];return _0x394927;},a29_0x5d61(_0x755f67,_0x2c7c8e);}const a29_0x12d926=a29_0x5d61;function a29_0x3e0b(){const _0x2e6e59=['proxyUrl','imTsR','error','rpZmh','optimalHubUrl','DRPHb','DPsFL','object','__driversArray','safariOptions_','getAccessibilityResults','moz:firefoxOptions','Hub\x20url\x20set\x20to\x20','keys','__driver','storeOptimalHubUrl','__setBrowserOptions','311624rzZBHW','PZOqv','mergeDeep','809794FadqHG','../accessibility-automation/helper','firefoxOptions_','GMBeq','KurZF','__drivers','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getGlobal','HttpClient','CAPABILITY_KEY','Ojcwo','1|0|2|4|5|3','chromeOptions','isAccessibilityPlatform','getRequestOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','setLogLevel','browserstackAgentObservability','requireHttpClient','370252cpZfuH','rUsvp','vAagb','qBkrF','quitCount_','capabilities_','Sfuoo','/session','capability','ZhSXN','originalBuilder','New\x20hub\x20url\x20set\x20to\x20','KKzUT','session_','requireSeleniumWebdriver','zhFgi','nvlFD','options_','getHttpAgent','info','UGtsY','pjXaM','1SSmfoL','split','edgeOptions_','get','goog:chromeOptions','send','../../../helpers/patchHelpers','proxySettings','../../../helpers/globals','fhSTg','chromeOptions_','overrideGet','KdWiN','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../../../bin/utils/constants','7uftGvx','push','getHubUrl','YDuoN','ZYXzJ','forEach','hMJFW','Setting\x20Browserstack\x20capabilities','set','Builder','FSBYh','ms:edgeOptions','setCapabilities','2703321cmHXqR','se:ieOptions','updateHubUrl','isPacProxy','setServer','jPind','1613670VzjkBV','newHubUrl','global','then','rJBOP','tdCAG','pLGax','XpSXZ','isBrowserstackInfra','./helpers/patchHelper','isUndefined','debug','proxy_','20spEBKA','vVCuS','ieOptions_','logLevel','../../../helpers/helper','ieOptions','build','safari.options','Proxy\x20set\x20to\x20','YXXfe','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','yddjT','QYjVA','agent_','11294250MeDvTv','10485TqMSLb','url_','getAccessibilityResultsSummary','../../../helpers/accessibility-automation/helper','exports'];a29_0x3e0b=function(){return _0x2e6e59;};return a29_0x3e0b();}(function(_0x3c4871,_0x27ef76){const _0x6fc6c8=a29_0x5d61,_0x58096d=_0x3c4871();while(!![]){try{const _0x212ae6=-parseInt(_0x6fc6c8(0x222))/0x1*(-parseInt(_0x6fc6c8(0x1f9))/0x2)+parseInt(_0x6fc6c8(0x1e0))/0x3+-parseInt(_0x6fc6c8(0x20c))/0x4*(-parseInt(_0x6fc6c8(0x1d1))/0x5)+parseInt(_0x6fc6c8(0x244))/0x6+parseInt(_0x6fc6c8(0x231))/0x7*(parseInt(_0x6fc6c8(0x1f6))/0x8)+parseInt(_0x6fc6c8(0x23e))/0x9+-parseInt(_0x6fc6c8(0x1df))/0xa;if(_0x212ae6===_0x27ef76)break;else _0x58096d['push'](_0x58096d['shift']());}catch(_0x517673){_0x58096d['push'](_0x58096d['shift']());}}}(a29_0x3e0b,0x3edce));const logger=require('../../../helpers/logger')['winstonLogger'],helper=require(a29_0x12d926(0x1d5)),constants=require(a29_0x12d926(0x230)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x12d926(0x228)),{setAccessibilityCapabilities,setExtension}=require(a29_0x12d926(0x1fa)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x12d926(0x1e3)),globals=require(a29_0x12d926(0x22a)),{overrideExecute}=require(a29_0x12d926(0x1cd)),modify=(_0x3a7723,_0x3032d3=null,_0x5531f9=![])=>{const _0x29943b=a29_0x12d926,_0x4054a4={'QYjVA':function(_0x13f59d,_0x4b1786){return _0x13f59d!==_0x4b1786;},'IafHP':_0x29943b(0x213),'imTsR':function(_0x5b0bd2,_0x1f884a){return _0x5b0bd2+_0x1f884a;},'nvlFD':'https://','Sfuoo':'/wd/hub','vAagb':_0x29943b(0x226),'DihjV':_0x29943b(0x205),'JEkvB':_0x29943b(0x23c),'ZhSXN':'edgeOptions','KdWiN':_0x29943b(0x1f0),'pjXaM':'firefoxOptions','fhSTg':_0x29943b(0x1d8),'UGtsY':_0x29943b(0x23f),'XpSXZ':_0x29943b(0x1d6),'vVCuS':function(_0xbbb3c7,_0x5691a1){return _0xbbb3c7===_0x5691a1;},'YDuoN':_0x29943b(0x1ec),'ZYXzJ':_0x29943b(0x238),'tdCAG':_0x29943b(0x1e9),'pLGax':_0x29943b(0x208),'qBkrF':function(_0x26f05c,_0x4e2ca5,_0x440c61){return _0x26f05c(_0x4e2ca5,_0x440c61);},'yddjT':function(_0x4e9fe6,_0x4a1c10,_0x559561){return _0x4e9fe6(_0x4a1c10,_0x559561);},'rirjE':function(_0x55d76a,_0x487149){return _0x55d76a(_0x487149);},'FSBYh':function(_0x4eb649,_0x3a40e6,_0x1957ff){return _0x4eb649(_0x3a40e6,_0x1957ff);},'rUsvp':_0x29943b(0x204),'zhFgi':function(_0x1bd44e){return _0x1bd44e();},'GMBeq':function(_0x38f14f,_0x2a1102){return _0x38f14f(_0x2a1102);},'rJBOP':_0x29943b(0x22f),'KurZF':_0x29943b(0x206),'YXXfe':function(_0x579789,_0x182571){return _0x579789(_0x182571);},'Ojcwo':function(_0x51aca6,_0x257dc6){return _0x51aca6(_0x257dc6);},'QvMkP':function(_0x4e7edf,_0x321ae6,_0x407d87){return _0x4e7edf(_0x321ae6,_0x407d87);},'hMJFW':_0x29943b(0x1ff),'PZOqv':'Modifying\x20webdriver\x20builder'},_0x5d17e5=helper[_0x29943b(0x20b)]();let _0x2a2415;try{_0x2a2415=helper[_0x29943b(0x21a)](),_0x2a2415[_0x29943b(0x216)]&&(_0x2a2415[_0x29943b(0x23a)]=_0x2a2415[_0x29943b(0x216)]);}catch(_0x14f4a6){return;}if(helper[_0x29943b(0x1cc)]()){const _0x466c57={};_0x466c57[_0x29943b(0x1d4)]=_0x3a7723['browserStackLogLevel'],helper[_0x29943b(0x209)](_0x466c57,new Map(),new Map()),logger[_0x29943b(0x21f)](_0x4054a4[_0x29943b(0x237)]),logger[_0x29943b(0x1cf)](_0x4054a4[_0x29943b(0x1f7)]);}class _0x31920f extends _0x5d17e5[_0x29943b(0x201)]{['send'](_0x154767){const _0x25c040=_0x29943b;if(_0x4054a4[_0x25c040(0x1dd)](_0x154767['path'],_0x4054a4['IafHP'])&&_0x4054a4[_0x25c040(0x1dd)](global['newHubUrl'],''))try{global[_0x25c040(0x1c5)]=_0x4054a4[_0x25c040(0x1e6)](_0x4054a4['imTsR'](_0x4054a4[_0x25c040(0x21c)],global['newHubUrl']),_0x4054a4[_0x25c040(0x212)]),this[_0x25c040(0x21d)]=hubAllocator[_0x25c040(0x207)](global[_0x25c040(0x1c5)]),logger['debug'](_0x25c040(0x217)+global[_0x25c040(0x1c5)]),global[_0x25c040(0x1c5)]='';}catch(_0x48b82f){logger[_0x25c040(0x1e7)](_0x48b82f);}return super[_0x25c040(0x227)](_0x154767);}}class _0x16b892 extends _0x2a2415[_0x29943b(0x23a)]{[_0x29943b(0x242)](){const _0x1ac29c=_0x29943b;return this[_0x1ac29c(0x1e1)]=helper[_0x1ac29c(0x233)](_0x3a7723),logger[_0x1ac29c(0x1cf)](_0x1ac29c(0x1f1)+this[_0x1ac29c(0x1e1)]),this;}['__setBrowserOptions'](_0x3cef05){const _0x49da2e=_0x29943b;let _0x9af1fc={};for(const _0x407a6c in _0x3cef05){switch(_0x407a6c){case _0x4054a4[_0x49da2e(0x20e)]:case _0x4054a4['DihjV']:this[_0x49da2e(0x22c)]&&(_0x9af1fc=this['chromeOptions_'][_0x49da2e(0x225)](this[_0x49da2e(0x22c)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x49da2e(0x239)](this['chromeOptions_'][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4['JEkvB']:case _0x4054a4[_0x49da2e(0x215)]:this[_0x49da2e(0x224)]&&(_0x9af1fc=this[_0x49da2e(0x224)][_0x49da2e(0x225)](this['edgeOptions_'][_0x49da2e(0x202)])||{},this['edgeOptions_'][_0x49da2e(0x239)](this[_0x49da2e(0x224)][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x22e)]:case _0x4054a4[_0x49da2e(0x221)]:this['firefoxOptions_']&&(_0x9af1fc=this[_0x49da2e(0x1fb)][_0x49da2e(0x225)](this[_0x49da2e(0x1fb)][_0x49da2e(0x202)])||{},this['firefoxOptions_'][_0x49da2e(0x239)](this[_0x49da2e(0x1fb)][_0x49da2e(0x202)],helper['mergeDeep'](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x22b)]:this[_0x49da2e(0x1ee)]&&(_0x9af1fc=this[_0x49da2e(0x1ee)][_0x49da2e(0x225)](this[_0x49da2e(0x1ee)][_0x49da2e(0x202)])||{},this[_0x49da2e(0x1ee)]['set'](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x220)]:case _0x4054a4[_0x49da2e(0x1cb)]:this[_0x49da2e(0x1d3)]&&(_0x9af1fc=this[_0x49da2e(0x1d3)][_0x49da2e(0x225)](this[_0x49da2e(0x1d3)][_0x49da2e(0x202)])||{},this[_0x49da2e(0x1d3)]['set'](this['ieOptions_'][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;}}}[_0x29943b(0x23d)](){const _0x1e4384=_0x29943b,_0x598051={'jPind':function(_0xf5c9b7,_0x2f74e1){const _0x218d05=a29_0x5d61;return _0x4054a4[_0x218d05(0x1d2)](_0xf5c9b7,_0x2f74e1);},'rpZmh':_0x4054a4[_0x1e4384(0x234)]};return logger[_0x1e4384(0x1cf)](_0x4054a4[_0x1e4384(0x235)]),this[_0x1e4384(0x1f5)](_0x3a7723[_0x1e4384(0x214)]),Object[_0x1e4384(0x1f2)](_0x3a7723[_0x1e4384(0x214)])[_0x1e4384(0x236)](_0x51d13a=>{const _0xd13c80=_0x1e4384,_0x115a99=this[_0xd13c80(0x211)][_0xd13c80(0x225)](_0x51d13a);_0x598051[_0xd13c80(0x243)](typeof _0x115a99,_0x598051[_0xd13c80(0x1e8)])?this[_0xd13c80(0x211)][_0xd13c80(0x239)](_0x51d13a,helper['mergeDeep'](_0x115a99,_0x3a7723[_0xd13c80(0x214)][_0x51d13a])):this['capabilities_'][_0xd13c80(0x239)](_0x51d13a,_0x3a7723[_0xd13c80(0x214)][_0x51d13a]);}),this;}[_0x29943b(0x1d7)](){const _0x41436e=_0x29943b,_0x580158={'DRPHb':function(_0x261188,_0x4644f9,_0x443057){const _0x509006=a29_0x5d61;return _0x4054a4[_0x509006(0x20f)](_0x261188,_0x4644f9,_0x443057);},'KKzUT':function(_0x335a60,_0x52c79b,_0x1b37c9){const _0x24964f=a29_0x5d61;return _0x4054a4[_0x24964f(0x20f)](_0x335a60,_0x52c79b,_0x1b37c9);}};if(helper['isBrowserstackInfra']()){const _0x51db2e=_0x4054a4[_0x41436e(0x20d)][_0x41436e(0x223)]('|');let _0x4112a6=0x0;while(!![]){switch(_0x51db2e[_0x4112a6++]){case'0':this[_0x41436e(0x242)]();continue;case'1':_0x4054a4[_0x41436e(0x21b)](isAccessibilityAutomationSession)&&_0x4054a4[_0x41436e(0x1fc)](setAccessibilityCapabilities,_0x3a7723);continue;case'2':this[_0x41436e(0x23d)]();continue;case'3':logger[_0x41436e(0x1cf)](_0x4054a4[_0x41436e(0x1c8)]);continue;case'4':if(helper[_0x41436e(0x241)](_0x3a7723[_0x41436e(0x229)][_0x41436e(0x1e5)]))this[_0x41436e(0x1de)]=helper[_0x41436e(0x21e)](_0x3a7723[_0x41436e(0x229)]['proxyUrl']);else _0x3a7723[_0x41436e(0x229)]['proxyUrl']&&(this['proxy_']=_0x3a7723['proxySettings'][_0x41436e(0x1e5)],logger[_0x41436e(0x1cf)](_0x41436e(0x1d9)+this[_0x41436e(0x1d0)]));continue;case'5':globals[_0x41436e(0x200)](_0x4054a4[_0x41436e(0x1fd)])&&(!_0x4054a4[_0x41436e(0x20f)](setExtension,this,_0x3a7723)&&globals['setGlobal'](_0x4054a4['KurZF'],![]));continue;}break;}}const _0x18c8ea=super[_0x41436e(0x1d7)]();return _0x18c8ea[_0x41436e(0x219)][_0x41436e(0x1c7)](_0x499f25=>{const _0x8e43d2=_0x41436e;try{const _0x23f348=_0x499f25['caps_'][_0x8e43d2(0x225)](_0x4054a4[_0x8e43d2(0x1c9)]);_0x23f348?(logger[_0x8e43d2(0x1cf)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x23f348),hubAllocator[_0x8e43d2(0x240)](_0x23f348),helper[_0x8e43d2(0x1f4)](_0x23f348)):logger[_0x8e43d2(0x1cf)](_0x4054a4[_0x8e43d2(0x1ca)]);}catch(_0x2e4b8c){logger[_0x8e43d2(0x1cf)](_0x8e43d2(0x1db)+_0x2e4b8c);}}),_0x18c8ea[_0x41436e(0x210)]=0x0,_0x18c8ea[_0x41436e(0x1c7)]&&_0x18c8ea[_0x41436e(0x1c7)](_0x24dbf7=>{const _0xf5f37b=_0x41436e,_0x22faf1={'DPsFL':function(_0x1d432d,_0x1e4b6d,_0x10bbf6){return _0x4054a4['qBkrF'](_0x1d432d,_0x1e4b6d,_0x10bbf6);}};_0x4054a4[_0xf5f37b(0x1dc)](overrideQuit,_0x24dbf7,_0x18c8ea),_0x4054a4['rirjE'](overrideTakeScreenshot,_0x24dbf7),helper[_0xf5f37b(0x22d)](_0x24dbf7,_0x3a7723),_0x4054a4[_0xf5f37b(0x23b)](overrideExecute,_0x24dbf7,_0x3a7723),_0x24dbf7['getAccessibilityResultsSummary']=async()=>{const _0x27bd78=_0xf5f37b;return await _0x22faf1[_0x27bd78(0x1eb)](getAccessibilityResultsSummary,_0x24dbf7,global);},_0x24dbf7['getAccessibilityResults']=async()=>{const _0x26e6dd=_0xf5f37b;return await _0x22faf1[_0x26e6dd(0x1eb)](getAccessibilityResults,_0x24dbf7,global);};}),_0x18c8ea[_0x41436e(0x1e2)]=async()=>{const _0x23b62a=_0x41436e;return await _0x580158[_0x23b62a(0x1ea)](getAccessibilityResultsSummary,_0x18c8ea,global);},_0x18c8ea[_0x41436e(0x1ef)]=async()=>{const _0x5f0867=_0x41436e;return await _0x580158[_0x5f0867(0x218)](getAccessibilityResults,_0x18c8ea,global);},_0x4054a4[_0x41436e(0x1da)](overrideTakeScreenshot,_0x18c8ea),_0x4054a4[_0x41436e(0x203)](overrideQuit,_0x18c8ea),helper[_0x41436e(0x22d)](_0x18c8ea,_0x3a7723),_0x4054a4['QvMkP'](overrideExecute,_0x18c8ea,_0x3a7723),helper[_0x41436e(0x1ce)](global[_0x41436e(0x1ed)])&&(global[_0x41436e(0x1ed)]=[]),helper[_0x41436e(0x1ce)](global[_0x41436e(0x1fe)])&&(global[_0x41436e(0x1fe)]=[]),global['__driversArray']['push'](_0x18c8ea),global[_0x41436e(0x1f3)]=_0x18c8ea,_0x4054a4[_0x41436e(0x1dd)](global['__drivers'],undefined)&&global['__drivers']['push'](_0x18c8ea),_0x3032d3&&helper[_0x41436e(0x1ce)](_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)])&&(_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)]=[]),_0x3032d3&&_0x4054a4['QYjVA'](_0x3032d3[_0x41436e(0x1c6)]['__drivers'],undefined)&&(_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1fe)][_0x41436e(0x232)](_0x18c8ea),_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)]['push'](_0x18c8ea)),_0x18c8ea;}}return _0x2a2415['originalBuilder']=_0x2a2415[_0x29943b(0x23a)],_0x2a2415['Builder']=_0x16b892,_0x5d17e5[_0x29943b(0x201)]=_0x31920f,_0x2a2415;};module[a29_0x12d926(0x1e4)][a29_0x12d926(0x20a)]=modify;
1
+ function a29_0x23a8(){const _0x2ab34d=['__setBrowserOptions','ms:edgeOptions','mBGJj','chromeOptions','__driversArray','capabilities_','Proxy\x20set\x20to\x20','logLevel','safari.options','dVMRd','proxyUrl','split','safariOptions_','tQHeC','send','../../../bin/utils/constants','getHubUrl','isUndefined','EZdqg','TKywB','CAPABILITY_KEY','ChVDc','qqRWs','XdoUs','quitCount_','optimalHubUrl','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','browserstackAgentObservability','moz:firefoxOptions','__driver','se:ieOptions','Setting\x20Browserstack\x20capabilities','SBElH','forEach','nkKLx','ieOptions','708eSnxoP','585261tiJpJI','VECYf','2|3|4|5|0|1','kESSm','JpCmD','then','New\x20hub\x20url\x20set\x20to\x20','build','global','getAccessibilityResultsSummary','storeOptimalHubUrl','setGlobal','chromeOptions_','keys','SazEY','2181494WeTZMe','updateHubUrl','__drivers','set','newHubUrl','setServer','vSHLx','YiBuz','Hub\x20url\x20set\x20to\x20','url_','proxy_','ieOptions_','5862534jlEWrY','error','getRequestOptions','cWXgE','VDgbW','winstonLogger','setCapabilities','path','originalBuilder','Wcgcz','../../../helpers/logger','../../../hubAllocationMethods','KGEsT','mergeDeep','get','isPacProxy','overrideGet','getAccessibilityResults','https://','kXwAE','isBrowserstackInfra','push','firefoxOptions_','1096733njmayX','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','capability','XcmpW','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','THfgo','setLogLevel','goog:chromeOptions','NtzFN','isAccessibilityPlatform','tZcDb','SVmrf','caps_','gINOd','./helpers/patchHelper','XJvwp','../../../helpers/accessibility-automation/helper','Builder','77826YlbzEk','exports','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','7730IQsumR','gWxWG','Gpajk','getHttpAgent','HttpClient','13168hgqFUr','/wd/hub','agent_','session_','yflgC','YSAwy','edgeOptions_','160yVhWRM','../../../helpers/globals','debug','uTQFP','info','browserStackLogLevel','proxySettings','DGKlz','options_'];a29_0x23a8=function(){return _0x2ab34d;};return a29_0x23a8();}const a29_0x458fcd=a29_0x420b;(function(_0x3360d1,_0x490e3a){const _0x310ceb=a29_0x420b,_0x5b6aa2=_0x3360d1();while(!![]){try{const _0x574853=parseInt(_0x310ceb(0x1ee))/0x1+-parseInt(_0x310ceb(0x208))/0x2+-parseInt(_0x310ceb(0x200))/0x3+-parseInt(_0x310ceb(0x23c))/0x4*(parseInt(_0x310ceb(0x203))/0x5)+parseInt(_0x310ceb(0x1d7))/0x6+parseInt(_0x310ceb(0x24c))/0x7+-parseInt(_0x310ceb(0x20f))/0x8*(parseInt(_0x310ceb(0x23d))/0x9);if(_0x574853===_0x490e3a)break;else _0x5b6aa2['push'](_0x5b6aa2['shift']());}catch(_0x37d673){_0x5b6aa2['push'](_0x5b6aa2['shift']());}}}(a29_0x23a8,0xbe1dc));const logger=require(a29_0x458fcd(0x1e1))[a29_0x458fcd(0x1dc)],helper=require('../../../helpers/helper'),constants=require(a29_0x458fcd(0x227)),hubAllocator=require(a29_0x458fcd(0x1e2)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x458fcd(0x1fe)),globals=require(a29_0x458fcd(0x210)),{overrideExecute}=require(a29_0x458fcd(0x1fc)),modify=(_0x2eb75e,_0x3f7f83=null,_0x3c1993=![])=>{const _0x264dac=a29_0x458fcd,_0x2d8b4a={'SVmrf':function(_0x4bae04,_0x2b81bc){return _0x4bae04!==_0x2b81bc;},'XcmpW':'/session','SazEY':function(_0x208da0,_0x59a5de){return _0x208da0!==_0x59a5de;},'rwcDO':function(_0x3582fb,_0x54d63f){return _0x3582fb+_0x54d63f;},'THfgo':_0x264dac(0x1e9),'jtguZ':_0x264dac(0x209),'GXiSe':_0x264dac(0x1f5),'vSHLx':_0x264dac(0x21b),'QlBwT':_0x264dac(0x219),'Gpajk':'edgeOptions','cWXgE':_0x264dac(0x234),'XdoUs':'firefoxOptions','pvAdb':_0x264dac(0x220),'EZdqg':_0x264dac(0x236),'kXwAE':_0x264dac(0x23b),'tZcDb':function(_0x3ea5e6,_0x371874){return _0x3ea5e6===_0x371874;},'Wcgcz':'object','VECYf':_0x264dac(0x237),'JOoaC':_0x264dac(0x231),'XJvwp':_0x264dac(0x1ef),'TKywB':function(_0x39cae2,_0x57e7f5,_0x16e2ba){return _0x39cae2(_0x57e7f5,_0x16e2ba);},'KGEsT':function(_0x46adb9,_0x584bd9){return _0x46adb9(_0x584bd9);},'YSAwy':function(_0x15055d,_0x3c8987,_0x465e43){return _0x15055d(_0x3c8987,_0x465e43);},'VDgbW':_0x264dac(0x23f),'mBGJj':_0x264dac(0x1f7),'gINOd':_0x264dac(0x232),'SBElH':function(_0x79fba0){return _0x79fba0();},'dVMRd':function(_0x2c320e,_0x189194){return _0x2c320e(_0x189194);},'uTQFP':function(_0x5d2f3a,_0x2cf6fd,_0x3c6b74){return _0x5d2f3a(_0x2cf6fd,_0x3c6b74);},'nkKLx':function(_0xe12c04,_0x8965c4){return _0xe12c04!==_0x8965c4;},'NtzFN':function(_0x556457,_0x482c36){return _0x556457!==_0x482c36;},'kESSm':_0x264dac(0x202),'qqRWs':'Modifying\x20webdriver\x20builder'},_0x2c1941=helper['requireHttpClient']();let _0x446d26;try{_0x446d26=helper['requireSeleniumWebdriver'](),_0x446d26[_0x264dac(0x1df)]&&(_0x446d26[_0x264dac(0x1ff)]=_0x446d26['originalBuilder']);}catch(_0x76017c){return;}if(helper['isBrowserstackInfra']()){const _0x3f1fc3={};_0x3f1fc3[_0x264dac(0x21f)]=_0x2eb75e[_0x264dac(0x214)],helper[_0x264dac(0x1f4)](_0x3f1fc3,new Map(),new Map()),logger[_0x264dac(0x213)](_0x2d8b4a[_0x264dac(0x240)]),logger[_0x264dac(0x211)](_0x2d8b4a[_0x264dac(0x22e)]);}class _0x58265b extends _0x2c1941['HttpClient']{[_0x264dac(0x226)](_0x59a135){const _0x297d63=_0x264dac;if(_0x2d8b4a[_0x297d63(0x1f9)](_0x59a135[_0x297d63(0x1de)],_0x2d8b4a[_0x297d63(0x1f1)])&&_0x2d8b4a[_0x297d63(0x24b)](global[_0x297d63(0x250)],''))try{global[_0x297d63(0x250)]=_0x2d8b4a['rwcDO'](_0x2d8b4a['rwcDO'](_0x2d8b4a[_0x297d63(0x1f3)],global[_0x297d63(0x250)]),_0x2d8b4a['jtguZ']),this[_0x297d63(0x217)]=hubAllocator[_0x297d63(0x1d9)](global['newHubUrl']),logger['debug'](_0x297d63(0x243)+global['newHubUrl']),global[_0x297d63(0x250)]='';}catch(_0x2a9bf2){logger[_0x297d63(0x1d8)](_0x2a9bf2);}return super[_0x297d63(0x226)](_0x59a135);}}class _0x89b2ee extends _0x446d26[_0x264dac(0x1ff)]{[_0x264dac(0x251)](){const _0x54d6e6=_0x264dac;return this[_0x54d6e6(0x255)]=helper[_0x54d6e6(0x228)](_0x2eb75e),logger['debug'](_0x54d6e6(0x254)+this[_0x54d6e6(0x255)]),this;}[_0x264dac(0x218)](_0x2f8f9a){const _0x4094c5=_0x264dac;let _0x3c34f6={};for(const _0x16ab5e in _0x2f8f9a){switch(_0x16ab5e){case _0x2d8b4a['GXiSe']:case _0x2d8b4a[_0x4094c5(0x252)]:this[_0x4094c5(0x249)]&&(_0x3c34f6=this[_0x4094c5(0x249)][_0x4094c5(0x1e5)](this[_0x4094c5(0x249)][_0x4094c5(0x22c)])||{},this[_0x4094c5(0x249)][_0x4094c5(0x24f)](this[_0x4094c5(0x249)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a['QlBwT']:case _0x2d8b4a[_0x4094c5(0x205)]:this[_0x4094c5(0x20e)]&&(_0x3c34f6=this[_0x4094c5(0x20e)][_0x4094c5(0x1e5)](this[_0x4094c5(0x20e)][_0x4094c5(0x22c)])||{},this[_0x4094c5(0x20e)][_0x4094c5(0x24f)](this[_0x4094c5(0x20e)][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a[_0x4094c5(0x1da)]:case _0x2d8b4a[_0x4094c5(0x22f)]:this[_0x4094c5(0x1ed)]&&(_0x3c34f6=this[_0x4094c5(0x1ed)][_0x4094c5(0x1e5)](this['firefoxOptions_'][_0x4094c5(0x22c)])||{},this['firefoxOptions_'][_0x4094c5(0x24f)](this[_0x4094c5(0x1ed)][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a['pvAdb']:this[_0x4094c5(0x224)]&&(_0x3c34f6=this[_0x4094c5(0x224)][_0x4094c5(0x1e5)](this[_0x4094c5(0x224)][_0x4094c5(0x22c)])||{},this['safariOptions_'][_0x4094c5(0x24f)](this[_0x4094c5(0x224)][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a[_0x4094c5(0x22a)]:case _0x2d8b4a[_0x4094c5(0x1ea)]:this[_0x4094c5(0x1d6)]&&(_0x3c34f6=this['ieOptions_'][_0x4094c5(0x1e5)](this[_0x4094c5(0x1d6)][_0x4094c5(0x22c)])||{},this['ieOptions_'][_0x4094c5(0x24f)](this['ieOptions_'][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;}}}[_0x264dac(0x1dd)](){const _0x5f01e7=_0x264dac;return logger[_0x5f01e7(0x211)](_0x2d8b4a[_0x5f01e7(0x23e)]),this[_0x5f01e7(0x218)](_0x2eb75e['capability']),Object[_0x5f01e7(0x24a)](_0x2eb75e[_0x5f01e7(0x1f0)])[_0x5f01e7(0x239)](_0x57c6da=>{const _0x36d5b5=_0x5f01e7,_0x2a39fa=this['capabilities_'][_0x36d5b5(0x1e5)](_0x57c6da);_0x2d8b4a[_0x36d5b5(0x1f8)](typeof _0x2a39fa,_0x2d8b4a[_0x36d5b5(0x1e0)])?this[_0x36d5b5(0x21d)][_0x36d5b5(0x24f)](_0x57c6da,helper[_0x36d5b5(0x1e4)](_0x2a39fa,_0x2eb75e[_0x36d5b5(0x1f0)][_0x57c6da])):this['capabilities_'][_0x36d5b5(0x24f)](_0x57c6da,_0x2eb75e[_0x36d5b5(0x1f0)][_0x57c6da]);}),this;}['build'](){const _0x3397c0=_0x264dac,_0x4cabd4={'YiBuz':_0x2d8b4a['JOoaC'],'JpCmD':_0x2d8b4a[_0x3397c0(0x1fd)],'tQHeC':function(_0x5aaacb,_0x9d2236,_0x4da281){const _0x369150=_0x3397c0;return _0x2d8b4a[_0x369150(0x22b)](_0x5aaacb,_0x9d2236,_0x4da281);},'DGKlz':function(_0x238561,_0x52fc78,_0x381ba2){const _0x4a3a42=_0x3397c0;return _0x2d8b4a[_0x4a3a42(0x22b)](_0x238561,_0x52fc78,_0x381ba2);},'ChVDc':function(_0x26fdbc,_0x5e5b55){const _0xe46163=_0x3397c0;return _0x2d8b4a[_0xe46163(0x1e3)](_0x26fdbc,_0x5e5b55);},'Ozqqf':function(_0x1c5ffd,_0x5410cc,_0x34b4e3){const _0x40e3bf=_0x3397c0;return _0x2d8b4a[_0x40e3bf(0x20d)](_0x1c5ffd,_0x5410cc,_0x34b4e3);},'yflgC':function(_0x8aeaca,_0x57f8ed,_0x377371){const _0x1c1ad1=_0x3397c0;return _0x2d8b4a[_0x1c1ad1(0x22b)](_0x8aeaca,_0x57f8ed,_0x377371);}};if(helper[_0x3397c0(0x1eb)]()){const _0x57dfca=_0x2d8b4a[_0x3397c0(0x1db)][_0x3397c0(0x223)]('|');let _0x16e43c=0x0;while(!![]){switch(_0x57dfca[_0x16e43c++]){case'0':globals['getGlobal'](_0x2d8b4a['mBGJj'])&&(!_0x2d8b4a['YSAwy'](setExtension,this,_0x2eb75e)&&globals[_0x3397c0(0x248)](_0x2d8b4a[_0x3397c0(0x21a)],![]));continue;case'1':logger['debug'](_0x2d8b4a[_0x3397c0(0x1fb)]);continue;case'2':_0x2d8b4a[_0x3397c0(0x238)](isAccessibilityAutomationSession)&&_0x2d8b4a[_0x3397c0(0x1e3)](setAccessibilityCapabilities,_0x2eb75e);continue;case'3':this[_0x3397c0(0x251)]();continue;case'4':this['setCapabilities']();continue;case'5':if(helper[_0x3397c0(0x1e6)](_0x2eb75e[_0x3397c0(0x215)][_0x3397c0(0x222)]))this[_0x3397c0(0x20a)]=helper[_0x3397c0(0x206)](_0x2eb75e[_0x3397c0(0x215)][_0x3397c0(0x222)]);else _0x2eb75e[_0x3397c0(0x215)]['proxyUrl']&&(this[_0x3397c0(0x1d5)]=_0x2eb75e[_0x3397c0(0x215)][_0x3397c0(0x222)],logger[_0x3397c0(0x211)](_0x3397c0(0x21e)+this[_0x3397c0(0x1d5)]));continue;}break;}}const _0x256c52=super[_0x3397c0(0x244)]();return _0x256c52[_0x3397c0(0x20b)]['then'](_0x3585c5=>{const _0xb1208e=_0x3397c0;try{const _0x1cd6b3=_0x3585c5[_0xb1208e(0x1fa)]['get'](_0x4cabd4[_0xb1208e(0x253)]);_0x1cd6b3?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1cd6b3),hubAllocator[_0xb1208e(0x24d)](_0x1cd6b3),helper[_0xb1208e(0x247)](_0x1cd6b3)):logger[_0xb1208e(0x211)](_0x4cabd4[_0xb1208e(0x241)]);}catch(_0x3de047){logger[_0xb1208e(0x211)](_0xb1208e(0x1f2)+_0x3de047);}}),_0x256c52[_0x3397c0(0x230)]=0x0,_0x256c52[_0x3397c0(0x242)]&&_0x256c52[_0x3397c0(0x242)](_0x31188e=>{const _0x2805c0=_0x3397c0,_0x462ce0={'gWxWG':function(_0x459ff0,_0x4c8202,_0x4755d5){const _0x372196=a29_0x420b;return _0x4cabd4[_0x372196(0x225)](_0x459ff0,_0x4c8202,_0x4755d5);}};_0x4cabd4[_0x2805c0(0x216)](overrideQuit,_0x31188e,_0x256c52),_0x4cabd4[_0x2805c0(0x22d)](overrideTakeScreenshot,_0x31188e),helper[_0x2805c0(0x1e7)](_0x31188e,_0x2eb75e),_0x4cabd4['DGKlz'](overrideExecute,_0x31188e,_0x2eb75e),_0x31188e[_0x2805c0(0x246)]=async()=>{const _0x49ce0f=_0x2805c0;return await _0x462ce0[_0x49ce0f(0x204)](getAccessibilityResultsSummary,_0x31188e,global);},_0x31188e[_0x2805c0(0x1e8)]=async()=>{const _0x22a18a=_0x2805c0;return await _0x462ce0[_0x22a18a(0x204)](getAccessibilityResults,_0x31188e,global);};}),_0x256c52[_0x3397c0(0x246)]=async()=>{return await _0x4cabd4['Ozqqf'](getAccessibilityResultsSummary,_0x256c52,global);},_0x256c52[_0x3397c0(0x1e8)]=async()=>{const _0x256d44=_0x3397c0;return await _0x4cabd4[_0x256d44(0x20c)](getAccessibilityResults,_0x256c52,global);},_0x2d8b4a[_0x3397c0(0x1e3)](overrideTakeScreenshot,_0x256c52),_0x2d8b4a[_0x3397c0(0x221)](overrideQuit,_0x256c52),helper[_0x3397c0(0x1e7)](_0x256c52,_0x2eb75e),_0x2d8b4a[_0x3397c0(0x212)](overrideExecute,_0x256c52,_0x2eb75e),helper[_0x3397c0(0x229)](global[_0x3397c0(0x21c)])&&(global[_0x3397c0(0x21c)]=[]),helper[_0x3397c0(0x229)](global[_0x3397c0(0x24e)])&&(global['__drivers']=[]),global[_0x3397c0(0x21c)][_0x3397c0(0x1ec)](_0x256c52),global[_0x3397c0(0x235)]=_0x256c52,_0x2d8b4a[_0x3397c0(0x23a)](global['__drivers'],undefined)&&global[_0x3397c0(0x24e)][_0x3397c0(0x1ec)](_0x256c52),_0x3f7f83&&helper['isUndefined'](_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x21c)])&&(_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x21c)]=[]),_0x3f7f83&&_0x2d8b4a[_0x3397c0(0x1f6)](_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x24e)],undefined)&&(_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x24e)][_0x3397c0(0x1ec)](_0x256c52),_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x21c)][_0x3397c0(0x1ec)](_0x256c52)),_0x256c52;}}return _0x446d26[_0x264dac(0x1df)]=_0x446d26[_0x264dac(0x1ff)],_0x446d26['Builder']=_0x89b2ee,_0x2c1941[_0x264dac(0x207)]=_0x58265b,_0x446d26;};function a29_0x420b(_0x30f44c,_0x1d342b){const _0x23a837=a29_0x23a8();return a29_0x420b=function(_0x420b15,_0x51a6f4){_0x420b15=_0x420b15-0x1d5;let _0x4065e7=_0x23a837[_0x420b15];return _0x4065e7;},a29_0x420b(_0x30f44c,_0x1d342b);}module[a29_0x458fcd(0x201)][a29_0x458fcd(0x233)]=modify;
@@ -1 +1 @@
1
- const a30_0x4daa23=a30_0x50f9;(function(_0x5a9a4a,_0x4d5d38){const _0x6dc131=a30_0x50f9,_0x22a4a3=_0x5a9a4a();while(!![]){try{const _0x1fcc55=parseInt(_0x6dc131(0x104))/0x1+-parseInt(_0x6dc131(0x10c))/0x2+parseInt(_0x6dc131(0x102))/0x3+parseInt(_0x6dc131(0x108))/0x4*(-parseInt(_0x6dc131(0x10d))/0x5)+parseInt(_0x6dc131(0x107))/0x6*(-parseInt(_0x6dc131(0x100))/0x7)+parseInt(_0x6dc131(0x10a))/0x8*(-parseInt(_0x6dc131(0x10e))/0x9)+parseInt(_0x6dc131(0x105))/0xa;if(_0x1fcc55===_0x4d5d38)break;else _0x22a4a3['push'](_0x22a4a3['shift']());}catch(_0x44e2f4){_0x22a4a3['push'](_0x22a4a3['shift']());}}}(a30_0x530f,0x96b95));function a30_0x50f9(_0x871a53,_0x164129){const _0x530f4a=a30_0x530f();return a30_0x50f9=function(_0x50f925,_0x2f7f82){_0x50f925=_0x50f925-0xff;let _0x23e20f=_0x530f4a[_0x50f925];return _0x23e20f;},a30_0x50f9(_0x871a53,_0x164129);}const requestSpy=require(a30_0x4daa23(0x101)),constants=require(a30_0x4daa23(0x103)),{addRequestSpy}=require(a30_0x4daa23(0x106));exports[a30_0x4daa23(0x109)]={'beforeAll'(){const _0x43d43c=a30_0x4daa23,_0x54a138={'xbouD':function(_0x4cb8f6){return _0x4cb8f6();}},_0x99348='browserstack internal helper hook';_0x54a138[_0x43d43c(0x10b)](addRequestSpy);},'afterAll'(){const _0x3f11ef=a30_0x4daa23,_0x51b79e='browserstack internal helper hook';this[_0x3f11ef(0xff)](0xea60),requestSpy[_0x3f11ef(0x10f)]();}};function a30_0x530f(){const _0x28f09a=['18474110xQIAKC','../../../helpers/test-observability/utils','1788558NtLjch','284UnrMfB','mochaHooks','40sJYNsh','xbouD','2243262DPceMq','4015aCUgYD','1222137Locoku','restore','timeout','14erqtrF','../../../helpers/request-spy','3391926eMiRJi','../../../bin/utils/constants','93107HVCQvH'];a30_0x530f=function(){return _0x28f09a;};return a30_0x530f();}
1
+ function a30_0x922e(_0x2c6825,_0x12bffa){const _0x318721=a30_0x3187();return a30_0x922e=function(_0x922e1a,_0x3db754){_0x922e1a=_0x922e1a-0x1ae;let _0x3f953a=_0x318721[_0x922e1a];return _0x3f953a;},a30_0x922e(_0x2c6825,_0x12bffa);}const a30_0x14d787=a30_0x922e;(function(_0x57ad71,_0x2dcd23){const _0x3998cd=a30_0x922e,_0xdc75bd=_0x57ad71();while(!![]){try{const _0x5d1dab=-parseInt(_0x3998cd(0x1b7))/0x1*(parseInt(_0x3998cd(0x1af))/0x2)+-parseInt(_0x3998cd(0x1b1))/0x3+parseInt(_0x3998cd(0x1b3))/0x4*(parseInt(_0x3998cd(0x1ae))/0x5)+-parseInt(_0x3998cd(0x1bd))/0x6*(parseInt(_0x3998cd(0x1b6))/0x7)+-parseInt(_0x3998cd(0x1ba))/0x8*(-parseInt(_0x3998cd(0x1bc))/0x9)+-parseInt(_0x3998cd(0x1b2))/0xa*(-parseInt(_0x3998cd(0x1b5))/0xb)+-parseInt(_0x3998cd(0x1b8))/0xc;if(_0x5d1dab===_0x2dcd23)break;else _0xdc75bd['push'](_0xdc75bd['shift']());}catch(_0x1b01be){_0xdc75bd['push'](_0xdc75bd['shift']());}}}(a30_0x3187,0xc7be5));const requestSpy=require(a30_0x14d787(0x1bf)),constants=require(a30_0x14d787(0x1b0)),{addRequestSpy}=require(a30_0x14d787(0x1b9));function a30_0x3187(){const _0x19361b=['restore','11goidjZ','948619ojlxmx','35sOaHBB','9640284JqTvBW','../../../helpers/test-observability/utils','8542544Jxwcky','timeout','9NlhYvF','6bxrfgh','mochaHooks','../../../helpers/request-spy','5abgUtg','34642UCiCVs','../../../bin/utils/constants','1479645cftBYz','5366420tPQIKf','5008052nCDOGW'];a30_0x3187=function(){return _0x19361b;};return a30_0x3187();}exports[a30_0x14d787(0x1be)]={'beforeAll'(){const _0x496db2={'wNLUF':function(_0x3a37c4){return _0x3a37c4();}},_0x111258='browserstack internal helper hook';_0x496db2['wNLUF'](addRequestSpy);},'afterAll'(){const _0x393021=a30_0x14d787,_0x5ce449='browserstack internal helper hook';this[_0x393021(0x1bb)](0xea60),requestSpy[_0x393021(0x1b4)]();}};
@@ -1 +1 @@
1
- const a31_0x2a9a21=a31_0x3726;function a31_0x3726(_0xa5c050,_0x40c4f3){const _0x3908b4=a31_0x3908();return a31_0x3726=function(_0x3726b0,_0x387dd6){_0x3726b0=_0x3726b0-0x16b;let _0x5e26a4=_0x3908b4[_0x3726b0];return _0x5e26a4;},a31_0x3726(_0xa5c050,_0x40c4f3);}function a31_0x3908(){const _0x545a79=['UgttX','fromEntries','pid','indexOf','oIceF','passed','unknown_grid','17416LPyjqt','concat','filter','hookAnalyticsId','divFT','wtlvA','emit','zWRAj','failed','XfxnC','getBrowserVersion','string','_afterEach','1140194RBuFSX','../../../helpers/testhub/utils','kHaMt','KOsjB','jKUiy','getHookSkippedTests','_beforeAll','tFwih','getCapabilities','../../../helpers/test-observability/constants','getPlatform','../../utils/logPatcher','mapTestHooks','get','DLYAy','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','toJSON','substring','HWmAd','rLiFZ','getHooksForTest','getTestEnv','2850462bdOzFr','5287845fxwSfz','1530393NrpFrT','RFLDq','pending','_beforeEach','split','bLdVZ','markedStatus','lodash','IaQze','TsRlm','144382nyDHbY','bs:addPlatformDetails:','type','4rZlOPt','qogKc','tests','browserstack','AnTiE','WgQob','FcutS','suites','hook','30UhukUq','../../../helpers/helper','__cloud_provider___','FXGoe','MEtxR','xQqiW','getHookDetails','parent','state','NVyOM','TEST_PLATFORM','1337LWUbyt','UxDXf','7uWpByr','nsIjm','_afterAll','CdwiV','LRvPI','pdWTi','reduce','../../../helpers/test-observability/utils','toISOString','../../../../package.json','platformVersion','6849783nxLFYr','forEach','slice'];a31_0x3908=function(){return _0x545a79;};return a31_0x3908();}(function(_0x49754a,_0x8c7be5){const _0x2fdc99=a31_0x3726,_0x3203d3=_0x49754a();while(!![]){try{const _0x105d08=-parseInt(_0x2fdc99(0x193))/0x1*(parseInt(_0x2fdc99(0x17a))/0x2)+parseInt(_0x2fdc99(0x170))/0x3+-parseInt(_0x2fdc99(0x17d))/0x4*(-parseInt(_0x2fdc99(0x16f))/0x5)+-parseInt(_0x2fdc99(0x16e))/0x6+-parseInt(_0x2fdc99(0x191))/0x7*(-parseInt(_0x2fdc99(0x1a8))/0x8)+-parseInt(_0x2fdc99(0x19e))/0x9+parseInt(_0x2fdc99(0x186))/0xa*(parseInt(_0x2fdc99(0x1b5))/0xb);if(_0x105d08===_0x8c7be5)break;else _0x3203d3['push'](_0x3203d3['shift']());}catch(_0x5a81fa){_0x3203d3['push'](_0x3203d3['shift']());}}}(a31_0x3908,0x87008));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x2a9a21(0x19c)),logPatcher=require(a31_0x2a9a21(0x1c0)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x2a9a21(0x19a)),{consoleHolder}=require(a31_0x2a9a21(0x1be)),{getPlatformVersion}=require(a31_0x2a9a21(0x187)),{shouldProcessEventForTesthub}=require(a31_0x2a9a21(0x1b6)),{isFunction}=require(a31_0x2a9a21(0x177)),{patchConsoleLogger}=require(a31_0x2a9a21(0x19a));patchConsoleLogger(),exports[a31_0x2a9a21(0x16d)]=()=>{const _0x591c7a=a31_0x2a9a21,_0x3d6721={'pdWTi':'generic','CdwiV':function(_0x4089c4){return _0x4089c4();}};return{'ci':_0x3d6721[_0x591c7a(0x198)],'key':_0x3d6721[_0x591c7a(0x196)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x2a9a21(0x18c)]=_0x27417f=>{const _0x306ffe=a31_0x2a9a21,_0x57f288={};_0x57f288['zWRAj']=function(_0x489824,_0x47ef1d){return _0x489824!==_0x47ef1d;},_0x57f288['JGStE']=_0x306ffe(0x1b3),_0x57f288[_0x306ffe(0x178)]='hook:',_0x57f288[_0x306ffe(0x1b9)]=_0x306ffe(0x185);const _0x42119d=_0x57f288;if(!_0x27417f||_0x42119d[_0x306ffe(0x1af)](typeof _0x27417f,_0x42119d['JGStE']))return[null,null];if(_0x42119d[_0x306ffe(0x1af)](_0x27417f[_0x306ffe(0x1a4)](_0x42119d[_0x306ffe(0x178)]),-0x1)){const _0x32e3ac=_0x27417f['split'](_0x42119d['IaQze']);return[_0x32e3ac[0x0]['slice'](0x0,-0x1)[_0x306ffe(0x174)]('\x22')[0x1],_0x32e3ac[0x1][_0x306ffe(0x1c6)](0x1)];}else{if(_0x42119d[_0x306ffe(0x1af)](_0x27417f[_0x306ffe(0x1a4)](_0x42119d[_0x306ffe(0x1b9)]),-0x1)){const _0xb58966=_0x27417f[_0x306ffe(0x174)](_0x42119d[_0x306ffe(0x1b9)]);return[_0xb58966[0x0][_0x306ffe(0x1a0)](0x0,-0x1)[_0x306ffe(0x174)]('\x22')[0x1],_0x27417f];}}return[null,null];},exports[a31_0x2a9a21(0x16c)]=_0x5698e4=>{const _0x255545=a31_0x2a9a21,_0x2419fe={'WWZkz':function(_0x31505f,_0x4d54f3){return _0x31505f(_0x4d54f3);},'UxDXf':'_beforeAll','NVyOM':_0x255545(0x195),'FcutS':_0x255545(0x173),'MEtxR':_0x255545(0x1b4)};if(!_0x5698e4||!_0x5698e4['parent'])return[];const _0x12ed0d=[];return[_0x2419fe[_0x255545(0x192)],_0x2419fe[_0x255545(0x18f)],_0x2419fe[_0x255545(0x183)],_0x2419fe[_0x255545(0x18a)]]['forEach'](_0x252c70=>{const _0x517335=_0x255545,_0x2001b1=_0x5698e4[_0x517335(0x18d)][_0x252c70]||[];_0x2001b1['forEach'](_0x757e79=>{const _0x2d00eb=_0x517335;_0x757e79['hookAnalyticsId']&&!_0x2419fe['WWZkz'](isInternalHook,_0x757e79['fn'])&&_0x12ed0d['push'](_0x757e79[_0x2d00eb(0x1ab)]);});}),[..._0x12ed0d,...exports[_0x255545(0x16c)](_0x5698e4[_0x255545(0x18d)])];},exports['mapTestHooks']=_0x365c8e=>{const _0x5307c6=a31_0x2a9a21,_0x288600={'TsRlm':function(_0x4ff511){return _0x4ff511();},'FXGoe':function(_0x4dc0c9,_0x5a642f){return _0x4dc0c9===_0x5a642f;},'WgQob':_0x5307c6(0x1b4),'qogKc':function(_0x39214e){return _0x39214e();},'oIceF':_0x5307c6(0x1bb),'nsIjm':'_afterAll','rLiFZ':'_beforeEach'};if(!_0x365c8e||!_0x365c8e[_0x5307c6(0x18d)])return;[_0x288600[_0x5307c6(0x1a5)],_0x288600[_0x5307c6(0x194)],_0x288600[_0x5307c6(0x16b)],_0x288600['WgQob']][_0x5307c6(0x19f)](_0x2a0c44=>{const _0x19bf3f=_0x5307c6,_0x1b1dda=_0x365c8e[_0x19bf3f(0x18d)][_0x2a0c44]||[];_0x1b1dda[_0x19bf3f(0x19f)](_0x2ba60d=>{const _0x5a5f54=_0x19bf3f;if(!_0x2ba60d['hookAnalyticsId'])_0x2ba60d[_0x5a5f54(0x1ab)]=_0x288600[_0x5a5f54(0x179)](uuidv4);else _0x2ba60d[_0x5a5f54(0x176)]&&_0x288600[_0x5a5f54(0x189)](_0x2a0c44,_0x288600[_0x5a5f54(0x182)])&&(_0x2ba60d[_0x5a5f54(0x1ab)]=_0x288600[_0x5a5f54(0x17e)](uuidv4),delete _0x2ba60d[_0x5a5f54(0x176)]);});}),exports[_0x5307c6(0x1c1)](_0x365c8e[_0x5307c6(0x18d)]);},exports['sendPlatformDetails']=async(_0x2ac5ac,_0x306a58)=>{const _0x27ff5c=a31_0x2a9a21,_0x2db345={'xQqiW':function(_0x26cfa3){return _0x26cfa3();},'LRvPI':function(_0x5aa4ae,_0x3098c2){return _0x5aa4ae(_0x3098c2);},'bLdVZ':_0x27ff5c(0x19d),'tFwih':function(_0x4d84a2,_0x186719){return _0x4d84a2===_0x186719;},'wtlvA':_0x27ff5c(0x180),'KOsjB':_0x27ff5c(0x1a7),'XfxnC':_0x27ff5c(0x190),'UgttX':function(_0x48157d,_0x24947d){return _0x48157d(_0x24947d);}};try{if(!_0x2db345[_0x27ff5c(0x18b)](shouldProcessEventForTesthub))return;const _0x6a6239=await _0x2ac5ac[_0x27ff5c(0x1bd)](),_0x2b3a94=await _0x2ac5ac['getSession'](),_0x2341c3={},_0x5c8f57=Object[_0x27ff5c(0x1a2)](_0x2b3a94['getCapabilities']()['map_']),_0x21758e={'product':_0x2db345[_0x27ff5c(0x197)](getObservabilityLinkedProductName,_0x5c8f57),'capabilities':_0x5c8f57,'platform':_0x6a6239[_0x27ff5c(0x1bf)](),'platform_version':_0x6a6239[_0x27ff5c(0x1c2)](_0x2db345[_0x27ff5c(0x175)])?_0x6a6239['get'](_0x2db345[_0x27ff5c(0x175)]):_0x2db345[_0x27ff5c(0x197)](getPlatformVersion,_0x2db345[_0x27ff5c(0x1bc)](global[_0x27ff5c(0x188)],_0x2db345[_0x27ff5c(0x1ad)])),'browser':_0x6a6239['getBrowserName'](),'browser_version':_0x6a6239[_0x27ff5c(0x1b2)](),'session_id':_0x2b3a94[_0x27ff5c(0x1c5)]()};global[_0x27ff5c(0x188)]?_0x2341c3[global[_0x27ff5c(0x188)]]=_0x21758e:_0x2341c3[_0x2db345[_0x27ff5c(0x1b8)]]=_0x21758e,process[_0x27ff5c(0x1ae)](_0x27ff5c(0x17b)+process[_0x27ff5c(0x1a3)],{'timestamp':new Date()[_0x27ff5c(0x19b)](),'level':null,'message':null,'kind':_0x2db345[_0x27ff5c(0x1b1)],'http_response':_0x2341c3,'uuid':_0x306a58});}catch(_0xc8df14){_0x2db345[_0x27ff5c(0x1a1)](debug,_0x27ff5c(0x1c4)+_0xc8df14);}},exports[a31_0x2a9a21(0x1ba)]=_0xe8f0b6=>{const _0x4abdcb=a31_0x2a9a21,_0x8ec36e={};_0x8ec36e[_0x4abdcb(0x181)]=function(_0xf030fb,_0x26f362){return _0xf030fb!==_0x26f362;},_0x8ec36e['kHaMt']=_0x4abdcb(0x185),_0x8ec36e[_0x4abdcb(0x1c3)]=function(_0x5968ea,_0x51f0ec){return _0x5968ea!==_0x51f0ec;},_0x8ec36e[_0x4abdcb(0x1c7)]=_0x4abdcb(0x1a6),_0x8ec36e[_0x4abdcb(0x1ac)]=function(_0x30ce13,_0x55e18f){return _0x30ce13!==_0x55e18f;},_0x8ec36e[_0x4abdcb(0x171)]=_0x4abdcb(0x1b0);const _0x35ef8b=_0x8ec36e,_0x2d7f7d=_0xe8f0b6[_0x4abdcb(0x184)][_0x4abdcb(0x199)]((_0x3f8e48,_0x33073a)=>{const _0x1dc508=_0x4abdcb,_0x24c3e7=exports[_0x1dc508(0x1ba)](_0x33073a);return _0x24c3e7&&(_0x3f8e48=_0x3f8e48[_0x1dc508(0x1a9)](_0x24c3e7)),_0x3f8e48;},[]),_0x2524d0=_0xe8f0b6[_0x4abdcb(0x17f)][_0x4abdcb(0x1aa)](_0x1b46b3=>{const _0x10d310=_0x4abdcb,_0x4e9a6e=_0x35ef8b[_0x10d310(0x181)](_0x1b46b3[_0x10d310(0x17c)],_0x35ef8b[_0x10d310(0x1b7)])&&!_0x1b46b3[_0x10d310(0x176)]&&_0x35ef8b[_0x10d310(0x1c3)](_0x1b46b3[_0x10d310(0x18e)],_0x35ef8b[_0x10d310(0x1c7)])&&_0x35ef8b[_0x10d310(0x1ac)](_0x1b46b3[_0x10d310(0x18e)],_0x35ef8b[_0x10d310(0x171)])&&!_0x1b46b3[_0x10d310(0x172)];return _0x4e9a6e;});return _0x2524d0[_0x4abdcb(0x1a9)](_0x2d7f7d);};
1
+ const a31_0x6e5408=a31_0x55a3;(function(_0x14b3c1,_0xc55309){const _0x82bd1b=a31_0x55a3,_0x541621=_0x14b3c1();while(!![]){try{const _0x53379f=parseInt(_0x82bd1b(0x1ba))/0x1+parseInt(_0x82bd1b(0x1be))/0x2*(parseInt(_0x82bd1b(0x1e7))/0x3)+parseInt(_0x82bd1b(0x1e2))/0x4+parseInt(_0x82bd1b(0x1b4))/0x5+parseInt(_0x82bd1b(0x1aa))/0x6*(-parseInt(_0x82bd1b(0x1b3))/0x7)+-parseInt(_0x82bd1b(0x1d8))/0x8*(-parseInt(_0x82bd1b(0x1c0))/0x9)+-parseInt(_0x82bd1b(0x1d7))/0xa;if(_0x53379f===_0xc55309)break;else _0x541621['push'](_0x541621['shift']());}catch(_0xd15c17){_0x541621['push'](_0x541621['shift']());}}}(a31_0x3ccf,0xb4a71));function a31_0x3ccf(){const _0x28e647=['mdGjt','type','12537oUbmsX','toISOString','split','getHooksForTest','ZkURK','failed','hqYJK','string','mapTestHooks','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','sfZNU','getHookDetails','getTestEnv','NnJDn','filter','concat','fiQAN','uuid','parent','unknown_grid','QAukW','xHfPz','alfih','_beforeAll','aFZKK','slice','forEach','getCapabilities','241734kMUqKi','passed','generic','markedStatus','getBrowserName','getHookSkippedTests','QQwem','_afterEach','rQSSb','238tIWJfd','4542895dQxqLu','pid','QfUXm','hookAnalyticsId','_beforeEach','fromEntries','600251ZPjljx','../../../helpers/testhub/utils','getSession','toJSON','278CgwjEY','yZNAn','297225cEhnXo','vWVGr','../../../helpers/test-observability/constants','state','../../../helpers/test-observability/utils','lodash','zyaxE','WPnXI','getPlatform','UJbzP','get','indexOf','browserstack','VXfkJ','getBrowserVersion','../../utils/logPatcher','_afterAll','aXiIb','__cloud_provider___','PtVSq','LhPQA','hook:','mAbHm','22493830HZtJBY','280WZfaDI','hook','ZhzOs','LAbAx','sendPlatformDetails','js-','xwsKO','qpxeo','nlreA','suites','4454304OyOGcx','bs:addPlatformDetails:','SyhYO'];a31_0x3ccf=function(){return _0x28e647;};return a31_0x3ccf();}function a31_0x55a3(_0x88ed65,_0x3c8a66){const _0x3ccf44=a31_0x3ccf();return a31_0x55a3=function(_0x55a3de,_0x572118){_0x55a3de=_0x55a3de-0x199;let _0x48ae33=_0x3ccf44[_0x55a3de];return _0x48ae33;},a31_0x55a3(_0x88ed65,_0x3c8a66);}const {v4:uuidv4}=require(a31_0x6e5408(0x19f)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x6e5408(0x1cf)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x6e5408(0x1c4)),{consoleHolder}=require(a31_0x6e5408(0x1c2)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x6e5408(0x1bb)),{isFunction}=require(a31_0x6e5408(0x1c5)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a31_0x6e5408(0x19a)]=()=>{const _0x1d4f9d=a31_0x6e5408,_0x5b4f64={'LhPQA':_0x1d4f9d(0x1ac),'mAbHm':function(_0x596219){return _0x596219();}};return{'ci':_0x5b4f64[_0x1d4f9d(0x1d4)],'key':_0x5b4f64[_0x1d4f9d(0x1d6)](uuidv4),'version':version,'collector':_0x1d4f9d(0x1dd)+name};},exports[a31_0x6e5408(0x199)]=_0x4f2564=>{const _0x34f1d0=a31_0x6e5408,_0x58db9e={};_0x58db9e[_0x34f1d0(0x1b2)]=function(_0x414dd7,_0x3671b3){return _0x414dd7!==_0x3671b3;},_0x58db9e['SyhYO']=_0x34f1d0(0x1ee),_0x58db9e[_0x34f1d0(0x1c9)]=_0x34f1d0(0x1d5),_0x58db9e[_0x34f1d0(0x1da)]=function(_0x2bdebc,_0x1f2989){return _0x2bdebc!==_0x1f2989;},_0x58db9e[_0x34f1d0(0x1e5)]=_0x34f1d0(0x1d9);const _0x528480=_0x58db9e;if(!_0x4f2564||_0x528480[_0x34f1d0(0x1b2)](typeof _0x4f2564,_0x528480[_0x34f1d0(0x1e4)]))return[null,null];if(_0x528480[_0x34f1d0(0x1b2)](_0x4f2564['indexOf'](_0x528480[_0x34f1d0(0x1c9)]),-0x1)){const _0x2367e8=_0x4f2564[_0x34f1d0(0x1e9)](_0x528480['UJbzP']);return[_0x2367e8[0x0][_0x34f1d0(0x1a7)](0x0,-0x1)[_0x34f1d0(0x1e9)]('\x22')[0x1],_0x2367e8[0x1]['substring'](0x1)];}else{if(_0x528480[_0x34f1d0(0x1da)](_0x4f2564[_0x34f1d0(0x1cb)](_0x528480[_0x34f1d0(0x1e5)]),-0x1)){const _0x4c40ba=_0x4f2564[_0x34f1d0(0x1e9)](_0x528480[_0x34f1d0(0x1e5)]);return[_0x4c40ba[0x0][_0x34f1d0(0x1a7)](0x0,-0x1)[_0x34f1d0(0x1e9)]('\x22')[0x1],_0x4f2564];}}return[null,null];},exports['getHooksForTest']=_0x12f861=>{const _0x751c9d=a31_0x6e5408,_0x2bd467={'VXfkJ':function(_0x4f9e34,_0x3cbd93){return _0x4f9e34(_0x3cbd93);},'xwsKO':_0x751c9d(0x1a5),'hqYJK':'_afterAll','QAukW':_0x751c9d(0x1b8),'zyaxE':_0x751c9d(0x1b1)};if(!_0x12f861||!_0x12f861['parent'])return[];const _0x4a8ebd=[];return[_0x2bd467[_0x751c9d(0x1de)],_0x2bd467[_0x751c9d(0x1ed)],_0x2bd467[_0x751c9d(0x1a2)],_0x2bd467[_0x751c9d(0x1c6)]][_0x751c9d(0x1a8)](_0x16147f=>{const _0x209e1e=_0x751c9d,_0x292fdb=_0x12f861['parent'][_0x16147f]||[];_0x292fdb[_0x209e1e(0x1a8)](_0x5a25c1=>{const _0x193d58=_0x209e1e;_0x5a25c1[_0x193d58(0x1b7)]&&!_0x2bd467[_0x193d58(0x1cd)](isInternalHook,_0x5a25c1['fn'])&&_0x4a8ebd['push'](_0x5a25c1[_0x193d58(0x1b7)]);});}),[..._0x4a8ebd,...exports[_0x751c9d(0x1ea)](_0x12f861[_0x751c9d(0x1a0)])];},exports[a31_0x6e5408(0x1ef)]=_0xd6a59d=>{const _0x194112=a31_0x6e5408,_0x429904={'sfZNU':function(_0xfd9a9f){return _0xfd9a9f();},'nlreA':function(_0xd1bf5,_0xb51a58){return _0xd1bf5===_0xb51a58;},'vWVGr':'_afterEach','xBXhB':function(_0x2f9e98){return _0x2f9e98();},'QQwem':_0x194112(0x1a5),'WPnXI':_0x194112(0x1d0),'LAbAx':_0x194112(0x1b8)};if(!_0xd6a59d||!_0xd6a59d[_0x194112(0x1a0)])return;[_0x429904[_0x194112(0x1b0)],_0x429904[_0x194112(0x1c7)],_0x429904[_0x194112(0x1db)],_0x429904[_0x194112(0x1c1)]][_0x194112(0x1a8)](_0x1cae15=>{const _0x9f395=_0x194112,_0x2138a3={'kRCnz':function(_0x118d63){const _0x4347b7=a31_0x55a3;return _0x429904[_0x4347b7(0x1f1)](_0x118d63);},'yZNAn':function(_0xf82003,_0x3e2659){const _0x2f0a63=a31_0x55a3;return _0x429904[_0x2f0a63(0x1e0)](_0xf82003,_0x3e2659);},'QfUXm':_0x429904[_0x9f395(0x1c1)],'PtVSq':function(_0x309534){return _0x429904['xBXhB'](_0x309534);}},_0x21d4fa=_0xd6a59d[_0x9f395(0x1a0)][_0x1cae15]||[];_0x21d4fa[_0x9f395(0x1a8)](_0x4024d9=>{const _0x11f7fb=_0x9f395;if(!_0x4024d9[_0x11f7fb(0x1b7)])_0x4024d9[_0x11f7fb(0x1b7)]=_0x2138a3['kRCnz'](uuidv4);else _0x4024d9[_0x11f7fb(0x1ad)]&&_0x2138a3[_0x11f7fb(0x1bf)](_0x1cae15,_0x2138a3[_0x11f7fb(0x1b6)])&&(_0x4024d9['hookAnalyticsId']=_0x2138a3[_0x11f7fb(0x1d3)](uuidv4),delete _0x4024d9['markedStatus']);});}),exports[_0x194112(0x1ef)](_0xd6a59d[_0x194112(0x1a0)]);},exports[a31_0x6e5408(0x1dc)]=async(_0x2229da,_0x1fc334)=>{const _0x57f855=a31_0x6e5408,_0x5466a={'ZkURK':function(_0x35f7ea){return _0x35f7ea();},'xHfPz':function(_0x272bac,_0x340d4a){return _0x272bac(_0x340d4a);},'fiQAN':'platformVersion','ekoYI':function(_0xf5e5aa,_0x574c0d){return _0xf5e5aa(_0x574c0d);},'NnJDn':function(_0x2d95d5,_0x2f5058){return _0x2d95d5===_0x2f5058;},'PpnvM':_0x57f855(0x1cc),'CgLbH':_0x57f855(0x1a1),'HwLBU':'TEST_PLATFORM'};try{if(!_0x5466a[_0x57f855(0x1eb)](shouldProcessEventForTesthub))return;const _0x525c33=await _0x2229da[_0x57f855(0x1a9)](),_0x340359=await _0x2229da[_0x57f855(0x1bc)](),_0xf8803={},_0xe508ae=Object[_0x57f855(0x1b9)](_0x340359['getCapabilities']()['map_']),_0x503870={'product':_0x5466a['xHfPz'](getObservabilityLinkedProductName,_0xe508ae),'capabilities':_0xe508ae,'platform':_0x525c33[_0x57f855(0x1c8)](),'platform_version':_0x525c33[_0x57f855(0x1ca)](_0x5466a['fiQAN'])?_0x525c33[_0x57f855(0x1ca)](_0x5466a[_0x57f855(0x19e)]):_0x5466a['ekoYI'](getPlatformVersion,_0x5466a[_0x57f855(0x19b)](global[_0x57f855(0x1d2)],_0x5466a['PpnvM'])),'browser':_0x525c33[_0x57f855(0x1ae)](),'browser_version':_0x525c33[_0x57f855(0x1ce)](),'session_id':_0x340359[_0x57f855(0x1bd)]()};global[_0x57f855(0x1d2)]?_0xf8803[global['__cloud_provider___']]=_0x503870:_0xf8803[_0x5466a['CgLbH']]=_0x503870,process['emit'](_0x57f855(0x1e3)+process[_0x57f855(0x1b5)],{'timestamp':new Date()[_0x57f855(0x1e8)](),'level':null,'message':null,'kind':_0x5466a['HwLBU'],'http_response':_0xf8803,'uuid':_0x1fc334});}catch(_0x43b7f8){_0x5466a[_0x57f855(0x1a3)](debug,_0x57f855(0x1f0)+_0x43b7f8);}},exports[a31_0x6e5408(0x1af)]=_0x3bf2c8=>{const _0xaca2a9=a31_0x6e5408,_0x12b56c={};_0x12b56c[_0xaca2a9(0x1a4)]=function(_0x45cab3,_0x5711ba){return _0x45cab3!==_0x5711ba;},_0x12b56c[_0xaca2a9(0x1df)]=_0xaca2a9(0x1d9),_0x12b56c[_0xaca2a9(0x1d1)]=_0xaca2a9(0x1ab),_0x12b56c['aFZKK']=_0xaca2a9(0x1ec);const _0x42f6d8=_0x12b56c,_0x15c328=_0x3bf2c8[_0xaca2a9(0x1e1)]['reduce']((_0x57fe23,_0x2c6244)=>{const _0x2bb712=_0xaca2a9,_0x4de870=exports['getHookSkippedTests'](_0x2c6244);return _0x4de870&&(_0x57fe23=_0x57fe23[_0x2bb712(0x19d)](_0x4de870)),_0x57fe23;},[]),_0x259326=_0x3bf2c8['tests'][_0xaca2a9(0x19c)](_0x2e4978=>{const _0x517f9b=_0xaca2a9,_0x25a1c9=_0x42f6d8[_0x517f9b(0x1a4)](_0x2e4978[_0x517f9b(0x1e6)],_0x42f6d8[_0x517f9b(0x1df)])&&!_0x2e4978[_0x517f9b(0x1ad)]&&_0x42f6d8[_0x517f9b(0x1a4)](_0x2e4978['state'],_0x42f6d8[_0x517f9b(0x1d1)])&&_0x42f6d8[_0x517f9b(0x1a4)](_0x2e4978[_0x517f9b(0x1c3)],_0x42f6d8[_0x517f9b(0x1a6)])&&!_0x2e4978['pending'];return _0x25a1c9;});return _0x259326['concat'](_0x15c328);};
@@ -1 +1 @@
1
- function a32_0x1d49(_0x1e6ce9,_0x51d5e7){const _0x343eb5=a32_0x343e();return a32_0x1d49=function(_0x1d49f4,_0x26b28c){_0x1d49f4=_0x1d49f4-0x150;let _0x4a2e3c=_0x343eb5[_0x1d49f4];return _0x4a2e3c;},a32_0x1d49(_0x1e6ce9,_0x51d5e7);}function a32_0x343e(){const _0x5f47ce=['beforeEach','beforeAll','iIWaT','Failed:\x20','XYYWF','wBrkR','sessionNameSet__','afterAll','qExrD','kcwHa','currentTest','laiQm','bDYaB','wcAYo','executeScript','oKaxp','hrrvA','EvQjK','thJwtToken','uMHwO','cDirk','end','debug','shift','isArray','SYNC','../../helpers/logger','MRVVM','testAnalyticsId','getCurrentUrl','44DzJfIf','uNkOO','JCPJe','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','HDcNM','passed','join','../../helpers/percy/utils','roCTO','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','LellA','info','failed','percy','measureWrapper','command','NKVdw','./test-observability/mochaUtils','13987812NwPouM','SApIc','timeout','finally','then','__drivers','thTestRunUuid','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','http:','.\x20Error\x20:','__error_messages__','accessibilityScanStarted','QFSjY','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','env','winstonLogger','NTxLC','SDK_HOOK','TIrdK','VRnoZ','SYYBv','2670765oQfsQp','fFBYq','util','__sessionFailed','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','SfjCP','ieRJX','yyVwI','Automate\x20test\x20case\x20execution\x20has\x20started.','TRRKs','hDcHh','__skipSessionName','857254tFsawb','capabilities','BROWSERSTACK_TESTHUB_UUID','afterTest','paFIg','session_','index','bsVKS','nANVa','bstackA11yShouldScan','xYmwX','error','ViKnV','UafBy','jGnEA','4641872hQLdzE','zXVOm','RQNRb','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','FbRaK','mPdOu','../../helpers/performance/performance-tester','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','qjbeQ','865FmrBWQ','stringify','quitCount_','executeAsyncScript','RbAZU','../../helpers/testhub/utils','18vkUqGu','HaiOd','message','push','CVzup','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','now','tLFzo','SESSION_STATUS','hSOgn','../../helpers/performance/constants','app','isAccessibilityPlatform','ZASjj','mochaHooks','Passed','getGlobal','FxZCB','sessionName','POVhh','KTrFq','start','https:','BcLuw','jAPCG','KHaYf','jwDhK','titlePath','DQBcs','JisaO','WiOuP','zjBnD','18892xeZkMh','state','length','qBXzn','KzblU','vXtIT','VUSQx','ObservabilitySync:','684CNPKPB','3ZfWBON','../../helpers/testhub/constants','testcase','protocol','\x22}}','qlmwu','WDgYl','format','lhRSC','DJAoG','ENV_VAR','Performing\x20scan\x20before\x20saving\x20results','olcVr','appium:app','\x20-\x20','KOHAi','yESUV','102942MOjTjL','mSfwj','JlKVW','zMQeB','SVlez','Iwhbd','browserstackSessionName','setGlobal','QpQwf','DBCBr','../../helpers/helper','shouldScanTestForAccessibility','7605610ASUVzW','driverCleanup','__platformCaps','KHBGD'];a32_0x343e=function(){return _0x5f47ce;};return a32_0x343e();}const a32_0x3e7385=a32_0x1d49;(function(_0x18c698,_0x6e6c53){const _0x36a22e=a32_0x1d49,_0x4915ad=_0x18c698();while(!![]){try{const _0x37d9f3=parseInt(_0x36a22e(0x18e))/0x1*(parseInt(_0x36a22e(0x201))/0x2)+parseInt(_0x36a22e(0x1f4))/0x3+parseInt(_0x36a22e(0x185))/0x4*(parseInt(_0x36a22e(0x15f))/0x5)+parseInt(_0x36a22e(0x18d))/0x6*(parseInt(_0x36a22e(0x19f))/0x7)+-parseInt(_0x36a22e(0x156))/0x8+-parseInt(_0x36a22e(0x165))/0x9*(-parseInt(_0x36a22e(0x1ab))/0xa)+-parseInt(_0x36a22e(0x1cd))/0xb*(parseInt(_0x36a22e(0x1df))/0xc);if(_0x37d9f3===_0x6e6c53)break;else _0x4915ad['push'](_0x4915ad['shift']());}catch(_0x28eaf0){_0x4915ad['push'](_0x4915ad['shift']());}}}(a32_0x343e,0xe770f));const util=require(a32_0x3e7385(0x1f6)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x3e7385(0x1d4)),{sendPlatformDetails}=require(a32_0x3e7385(0x1de)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x3e7385(0x1a9)),PerformanceTester=require(a32_0x3e7385(0x15c)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x3e7385(0x16f)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a32_0x3e7385(0x1c9))[a32_0x3e7385(0x1ee)],{shouldProcessEventForTesthub}=require(a32_0x3e7385(0x164)),testHubConstants=require(a32_0x3e7385(0x18f));exports[a32_0x3e7385(0x173)]={'beforeAll'(){const _0xc30d66=a32_0x3e7385,_0x490d05={'LellA':function(_0xe16f54,_0x5c7375,_0x222261,_0x487eec){return _0xe16f54(_0x5c7375,_0x222261,_0x487eec);},'VUSQx':_0xc30d66(0x1d9),'IJtSp':'\x20|\x20','NKVdw':function(_0x145542,_0x1b74e8,_0x2a3ee4){return _0x145542(_0x1b74e8,_0x2a3ee4);},'ViKnV':_0xc30d66(0x1d2),'WDgYl':function(_0x477d1f){return _0x477d1f();},'ZASjj':'index','POVhh':_0xc30d66(0x1b0)};PerformanceTester['startMonitoring']();const _0xdebf89='browserstack internal helper hook';PerformanceTester[_0xc30d66(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4ea537=_0xc30d66;global[_0x4ea537(0x1e9)]=[],global[_0x4ea537(0x1f7)]=![],global[_0x4ea537(0x1ac)]=async()=>{const _0x263840=_0x4ea537;let _0x370910=![];try{await global[_0x263840(0x1e4)][0x0]['session_'],_0x370910=!![],global[_0x263840(0x1f7)]?await _0x490d05[_0x263840(0x1d7)](markSessionStatus,global['__drivers'][0x0],_0x490d05[_0x263840(0x18b)],global[_0x263840(0x1e9)][_0x263840(0x1d3)](_0x490d05['IJtSp'])):await _0x490d05['NKVdw'](markSessionStatus,global[_0x263840(0x1e4)][0x0],_0x490d05[_0x263840(0x153)]);}catch(_0x10706a){logger[_0x263840(0x1c5)](_0x263840(0x1ec)+_0x10706a);}global[_0x263840(0x1e9)]=[],global[_0x263840(0x1f7)]=![];if(_0x370910)try{try{_0x490d05[_0x263840(0x194)](shouldProcessEventForTesthub)&&(global[_0x263840(0x1e4)][0x0]&&await _0x490d05[_0x263840(0x1dd)](sendPlatformDetails,global['__drivers'][0x0],this[_0x263840(0x1b9)]?this['currentTest'][_0x263840(0x1cb)]:null));}catch(_0x26b6f6){logger['debug'](_0x263840(0x15d)+_0x26b6f6);}await global[_0x263840(0x1e4)][0x0]['initQuit']();}catch(_0x1a1869){logger['debug'](_0x263840(0x1f8)+_0x1a1869);}};},{'platform':_0x490d05[_0xc30d66(0x1dd)](nestedKeyValue,global[_0xc30d66(0x1ad)],[_0x490d05[_0xc30d66(0x172)]]),'hookType':_0x490d05[_0xc30d66(0x178)]})();},'beforeEach'(_0x484062){const _0x655cbf=a32_0x3e7385,_0x3cbc31={'bsVKS':function(_0x5d21e1,_0x2f390d){return _0x5d21e1>_0x2f390d;},'MRVVM':_0x655cbf(0x19c),'laiQm':function(_0x39f632,_0x838169,_0x147bcf){return _0x39f632(_0x838169,_0x147bcf);},'DJAoG':'bstackA11yShouldScan','RbAZU':function(_0x3423a0){return _0x3423a0();},'JCPJe':_0x655cbf(0x171),'oKaxp':function(_0x2285ec,_0x34c6a3){return _0x2285ec===_0x34c6a3;},'wBrkR':_0x655cbf(0x1e7),'qExrD':_0x655cbf(0x17b),'uNkOO':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','uMHwO':_0x655cbf(0x1fd),'fKxYt':function(_0x8e1daa){return _0x8e1daa();},'TIrdK':'browserstackTestName','olcVr':function(_0x4545ec,_0x2805a5,_0x5274ac){return _0x4545ec(_0x2805a5,_0x5274ac);},'vXtIT':'index','QpQwf':_0x655cbf(0x1af)};globals[_0x655cbf(0x1a6)](_0x3cbc31[_0x655cbf(0x1f1)],this[_0x655cbf(0x1b9)][_0x655cbf(0x180)]()[_0x655cbf(0x1d3)](_0x3cbc31[_0x655cbf(0x1ca)])),PerformanceTester[_0x655cbf(0x1db)](PerformanceSdkEvents[_0x655cbf(0x1f0)],()=>{const _0x41e836=_0x655cbf,_0x2f576e={'tLFzo':function(_0x4db6ba,_0x5e6293){const _0x117968=a32_0x1d49;return _0x3cbc31[_0x117968(0x208)](_0x4db6ba,_0x5e6293);},'FxZCB':_0x3cbc31[_0x41e836(0x1ca)],'hDcHh':function(_0x11fd01,_0x5139ee,_0x25d8f6){const _0x4e31cb=_0x41e836;return _0x3cbc31[_0x4e31cb(0x1ba)](_0x11fd01,_0x5139ee,_0x25d8f6);},'iIWaT':_0x3cbc31[_0x41e836(0x197)],'DQBcs':function(_0x95ec54){const _0x148431=_0x41e836;return _0x3cbc31[_0x148431(0x163)](_0x95ec54);},'SfjCP':_0x3cbc31[_0x41e836(0x1cf)],'KTrFq':function(_0x266310,_0x4c0455){const _0x2edc99=_0x41e836;return _0x3cbc31[_0x2edc99(0x1be)](_0x266310,_0x4c0455);},'IpRlO':_0x3cbc31[_0x41e836(0x1b4)],'zMQeB':_0x3cbc31[_0x41e836(0x1b7)],'CVzup':_0x3cbc31[_0x41e836(0x1ce)],'FbRaK':_0x3cbc31[_0x41e836(0x1c2)],'nVibK':function(_0x3baded){return _0x3cbc31['fKxYt'](_0x3baded);}},_0x5c1971='browserstack internal helper hook';new Promise(async _0x3236c1=>{const _0x4bb58e=_0x41e836;let _0x5ad9d4=!![];try{_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][_0x4bb58e(0x187)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x4bb58e(0x1c6)]()),_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][0x0][_0x4bb58e(0x161)],0x0)&&(_0x5ad9d4=![],await global[_0x4bb58e(0x1ac)]());}catch(_0x10cba1){logger[_0x4bb58e(0x1c5)](_0x4bb58e(0x1f8)+_0x10cba1);}try{Array[_0x4bb58e(0x1c7)](global[_0x4bb58e(0x1e4)])&&global['__drivers'][0x0]&&(global[_0x4bb58e(0x1e4)][0x0][_0x4bb58e(0x1a5)]=this[_0x4bb58e(0x1b9)][_0x4bb58e(0x180)]()[_0x4bb58e(0x1d3)](_0x2f576e['FxZCB'])),global[_0x4bb58e(0x1a5)]=this[_0x4bb58e(0x1b9)]['titlePath']()['join'](_0x2f576e[_0x4bb58e(0x176)]);}catch(_0xaa8a4b){logger[_0x4bb58e(0x1c5)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0xaa8a4b);}this[_0x4bb58e(0x1b9)]['shouldScanTestForAccessibility']=_0x2f576e[_0x4bb58e(0x1ff)](shouldScanTestForAccessibility,this[_0x4bb58e(0x1b9)][_0x4bb58e(0x180)](),!![]),globals[_0x4bb58e(0x1a6)](_0x2f576e[_0x4bb58e(0x1b1)],this[_0x4bb58e(0x1b9)]['shouldScanTestForAccessibility']),this[_0x4bb58e(0x1b9)][_0x4bb58e(0x1ea)]=!![];if(_0x2f576e['DQBcs'](isAccessibilityAutomationSession)&&_0x5ad9d4&&Array['isArray'](global[_0x4bb58e(0x1e4)])&&_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][_0x4bb58e(0x187)],0x0)&&globals[_0x4bb58e(0x175)](_0x2f576e[_0x4bb58e(0x1fa)]))try{const _0x4ee27f=await global['__drivers'][0x0][_0x4bb58e(0x206)];if(_0x4ee27f){let _0xfa34fd=!![];const _0x364445=await global['__drivers'][0x0][_0x4bb58e(0x1cc)]();let _0x700f32;try{_0x700f32=new URL(_0x364445);}catch(_0x15503d){_0xfa34fd=![];}_0xfa34fd=_0x2f576e['KTrFq'](_0x700f32[_0x4bb58e(0x191)],_0x2f576e['IpRlO'])||_0x2f576e[_0x4bb58e(0x179)](_0x700f32[_0x4bb58e(0x191)],_0x2f576e[_0x4bb58e(0x1a2)]),_0xfa34fd&&(this[_0x4bb58e(0x1b9)][_0x4bb58e(0x1aa)]&&logger['info'](_0x2f576e[_0x4bb58e(0x169)])),this['currentTest'][_0x4bb58e(0x1ea)]=this['currentTest'][_0x4bb58e(0x1aa)],this['currentTest'][_0x4bb58e(0x1aa)]&&logger['info'](_0x2f576e[_0x4bb58e(0x15a)]);}}catch(_0x4ffdf3){logger[_0x4bb58e(0x152)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4bb58e(0x195)](_0x4ffdf3));}_0x2f576e[_0x4bb58e(0x181)](_0x3236c1);})[_0x41e836(0x1e3)](()=>{_0x2f576e['nVibK'](_0x484062);});},{'platform':_0x3cbc31[_0x655cbf(0x19a)](nestedKeyValue,global[_0x655cbf(0x1ad)],[_0x3cbc31[_0x655cbf(0x18a)]]),'hookType':_0x3cbc31[_0x655cbf(0x1a7)]})();},'afterEach'(_0x28941b){const _0x161a5e=a32_0x3e7385,_0xf104bc={'HaiOd':function(_0x5431ad){return _0x5431ad();},'mPdOu':function(_0x497ae8,_0x43dde1){return _0x497ae8!==_0x43dde1;},'BcLuw':'passed','qBXzn':function(_0x4474b2,_0x5361c6,_0x608ebb){return _0x4474b2(_0x5361c6,_0x608ebb);},'mSfwj':function(_0x21e5fe,_0x3f60a4){return _0x21e5fe+_0x3f60a4;},'ieRJX':_0x161a5e(0x1b2),'fFBYq':_0x161a5e(0x152),'JlKVW':function(_0x2dfe2a,_0x2c6f8e,_0x36b91){return _0x2dfe2a(_0x2c6f8e,_0x36b91);},'SYYBv':_0x161a5e(0x174),'yyVwI':'info','lhRSC':_0x161a5e(0x19c),'LAmSI':function(_0x11efaf,_0x4fb257){return _0x11efaf>_0x4fb257;},'yESUV':function(_0x34fc5d,_0x5652e0){return _0x34fc5d===_0x5652e0;},'nANVa':_0x161a5e(0x190),'kcwHa':function(_0x16e8a9,_0x4eba1e){return _0x16e8a9>_0x4eba1e;},'RQNRb':_0x161a5e(0x19b),'hrrvA':function(_0x8316b7,_0x436699,_0x3c4670,_0x1df82d){return _0x8316b7(_0x436699,_0x3c4670,_0x1df82d);},'DBCBr':_0x161a5e(0x171),'jAPCG':_0x161a5e(0x150),'QFSjY':_0x161a5e(0x1d0),'AkylL':_0x161a5e(0x199),'HDcNM':_0x161a5e(0x204),'UafBy':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sLMOR':function(_0x26d10d){return _0x26d10d();},'VRnoZ':'debug','cDirk':function(_0x283070,_0x308519,_0x2c9b20){return _0x283070(_0x308519,_0x2c9b20);},'MxaCQ':_0x161a5e(0x207),'XYYWF':'afterEach'},_0x2d897f='browserstack internal helper hook';this[_0x161a5e(0x1e1)](0xfde8),global[_0x161a5e(0x177)]=this['currentTest']['titlePath']()[_0x161a5e(0x1d3)](_0xf104bc['lhRSC']),PerformanceTester[_0x161a5e(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x12fd43=_0x161a5e,_0x24432b={'JcDYV':function(_0x3ae51e,_0x2c6faa){const _0xd3947=a32_0x1d49;return _0xf104bc[_0xd3947(0x15b)](_0x3ae51e,_0x2c6faa);},'Iwhbd':_0xf104bc[_0x12fd43(0x17c)],'Clqcn':function(_0x562337,_0x259365,_0x40a1fe){const _0x241e04=_0x12fd43;return _0xf104bc[_0x241e04(0x188)](_0x562337,_0x259365,_0x40a1fe);},'SApIc':function(_0x2c70ec,_0x15a7ec){const _0x85a22d=_0x12fd43;return _0xf104bc[_0x85a22d(0x1a0)](_0x2c70ec,_0x15a7ec);},'zjBnD':_0xf104bc[_0x12fd43(0x1fb)],'jGnEA':_0xf104bc[_0x12fd43(0x1f5)],'JisaO':function(_0x1877ba,_0x2177e6,_0x3e54b2){const _0x46f205=_0x12fd43;return _0xf104bc[_0x46f205(0x1a1)](_0x1877ba,_0x2177e6,_0x3e54b2);},'isciH':_0xf104bc[_0x12fd43(0x1f3)],'qlmwu':_0xf104bc[_0x12fd43(0x1fc)],'xsiLs':_0xf104bc[_0x12fd43(0x196)],'ZmVnE':function(_0x73848a,_0x1dd8a0){return _0xf104bc['LAmSI'](_0x73848a,_0x1dd8a0);},'jwDhK':function(_0x1de918,_0x485386){const _0x17b609=_0x12fd43;return _0xf104bc[_0x17b609(0x19e)](_0x1de918,_0x485386);},'wcAYo':_0xf104bc[_0x12fd43(0x209)],'NTxLC':function(_0x42886e,_0x3bb0f0){const _0x2f6ef9=_0x12fd43;return _0xf104bc[_0x2f6ef9(0x1b8)](_0x42886e,_0x3bb0f0);},'xYmwX':_0xf104bc[_0x12fd43(0x158)],'KOHAi':function(_0x8888d8,_0x3a5d36,_0x3a84c5,_0x255cce){const _0x3de732=_0x12fd43;return _0xf104bc[_0x3de732(0x1bf)](_0x8888d8,_0x3a5d36,_0x3a84c5,_0x255cce);},'ByAsa':_0xf104bc[_0x12fd43(0x1a8)],'roCTO':_0xf104bc[_0x12fd43(0x17d)],'EvQjK':_0xf104bc[_0x12fd43(0x1eb)],'xbvgo':_0xf104bc['AkylL'],'WiOuP':_0xf104bc[_0x12fd43(0x1d1)],'KzblU':_0xf104bc[_0x12fd43(0x154)],'hSOgn':function(_0x3b75c4){return _0xf104bc['sLMOR'](_0x3b75c4);},'SVlez':function(_0x32c65a,_0x57c920,_0x35909f){return _0xf104bc['JlKVW'](_0x32c65a,_0x57c920,_0x35909f);},'zXVOm':_0xf104bc[_0x12fd43(0x1f2)]},_0x760aa3=async(_0x5726be,_0x191d0e)=>{const _0x5a21cb=_0x12fd43;await global[_0x5a21cb(0x1e4)][0x0][_0x5a21cb(0x1bd)](_0x5a21cb(0x1f9)+_0x5726be+',\x22level\x22:\x20\x22'+_0x191d0e+_0x5a21cb(0x192));};new Promise(async _0xd3e74e=>{const _0x4c0047=_0x12fd43,_0x4d8b0c={};_0x4d8b0c['qjbeQ']=_0x24432b['xsiLs'];const _0x4b29d9=_0x4d8b0c;try{_0x24432b['ZmVnE'](global['__drivers']['length'],0x1)&&(await global[_0x4c0047(0x1ac)](),global[_0x4c0047(0x1e4)][_0x4c0047(0x1c6)](),global[_0x4c0047(0x1e9)]=[],global[_0x4c0047(0x1f7)]=![]);try{if(global[_0x4c0047(0x1da)]&&_0x24432b[_0x4c0047(0x17f)](global['percyCaptureMode'],_0x24432b[_0x4c0047(0x1bc)])&&global[_0x4c0047(0x1e4)][0x0]){const _0x3d20c7=_0x24432b['NTxLC'](global[_0x4c0047(0x202)][_0x4c0047(0x187)],0x0)?!!global[_0x4c0047(0x202)][0x0][_0x4c0047(0x170)]||!!global[_0x4c0047(0x202)][0x0][_0x24432b[_0x4c0047(0x151)]]:![],_0x573e6c={};_0x573e6c[_0x4c0047(0x170)]=_0x3d20c7,await _0x24432b[_0x4c0047(0x19d)](percyAutoCapture,global['__drivers'][0x0],_0x24432b[_0x4c0047(0x1bc)],_0x573e6c);}}catch(_0x31fbf6){logger[_0x4c0047(0x1c5)](_0x4c0047(0x159)+_0x31fbf6);}!global[_0x4c0047(0x200)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x7a0d52=_0x4c0047;await global[_0x7a0d52(0x1e4)][0x0]['executeScript'](_0x7a0d52(0x16a)+JSON[_0x7a0d52(0x160)](this[_0x7a0d52(0x1b9)][_0x7a0d52(0x180)]()[_0x7a0d52(0x1d3)](_0x4b29d9[_0x7a0d52(0x15e)]))+'}}');})(),global[_0x4c0047(0x1e4)][0x0][_0x4c0047(0x1b5)]=!![]),await PerformanceTester[_0x4c0047(0x1db)](PerformanceAutEvents[_0x4c0047(0x16d)],async()=>{const _0x48ba92=_0x4c0047,_0x1cf228=_0x24432b['JcDYV'](this[_0x48ba92(0x1b9)][_0x48ba92(0x186)],_0x24432b[_0x48ba92(0x1a4)]);_0x1cf228?(global['__sessionFailed']=!![],global[_0x48ba92(0x1e9)][_0x48ba92(0x168)](this['currentTest']['err'][_0x48ba92(0x167)]),await _0x24432b['Clqcn'](_0x760aa3,JSON[_0x48ba92(0x160)](_0x24432b[_0x48ba92(0x1e0)](_0x24432b[_0x48ba92(0x184)],this[_0x48ba92(0x1b9)]['err'][_0x48ba92(0x167)])),_0x24432b[_0x48ba92(0x155)])):await _0x24432b[_0x48ba92(0x182)](_0x760aa3,JSON[_0x48ba92(0x160)](_0x24432b['isciH']),_0x24432b[_0x48ba92(0x193)]);})();}catch(_0x5f0199){logger[_0x4c0047(0x1c5)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x5f0199);}try{if(this[_0x4c0047(0x1b9)]['accessibilityScanStarted']&&globals[_0x4c0047(0x175)](_0x24432b['ByAsa'])&&globals[_0x4c0047(0x175)](_0x24432b[_0x4c0047(0x1d5)])){logger[_0x4c0047(0x1d8)](_0x24432b[_0x4c0047(0x1c0)]);const _0x278628={};_0x278628[_0x4c0047(0x1e5)]=this[_0x4c0047(0x1b9)][_0x4c0047(0x1cb)],_0x278628['thBuildUuid']=process[_0x4c0047(0x1ed)][testHubConstants['ENV_VAR'][_0x4c0047(0x203)]],_0x278628[_0x4c0047(0x1c1)]=process[_0x4c0047(0x1ed)][testHubConstants[_0x4c0047(0x198)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5178f8=_0x278628;logger[_0x4c0047(0x1c5)](_0x4c0047(0x1d6)+JSON[_0x4c0047(0x160)](_0x5178f8)),logger['debug'](_0x24432b['xbvgo']);const _0x2d8769={};_0x2d8769[_0x4c0047(0x1dc)]=_0x24432b[_0x4c0047(0x183)],await PerformanceTester[_0x4c0047(0x1db)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x42baaf=_0x4c0047;logger[_0x42baaf(0x1c5)](util['format'](await global['__drivers'][0x0][_0x42baaf(0x162)](scripts['performScan'],{'method':global[_0x42baaf(0x1a5)]})));},_0x2d8769)(),await PerformanceTester[_0x4c0047(0x1db)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xb6f939=_0x4c0047;await global['__drivers'][0x0][_0xb6f939(0x162)](scripts['saveTestResults'],_0x5178f8);})(),logger[_0x4c0047(0x1d8)](_0x24432b[_0x4c0047(0x189)]);}}catch(_0x2a29b0){logger[_0x4c0047(0x152)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x4c0047(0x1b9)][_0x4c0047(0x180)]()+_0x4c0047(0x1e8),_0x2a29b0);}try{try{if(_0x24432b[_0x4c0047(0x16e)](shouldProcessEventForTesthub)){global[_0x4c0047(0x1e4)][0x0]&&await _0x24432b[_0x4c0047(0x1a3)](sendPlatformDetails,global[_0x4c0047(0x1e4)][0x0],this[_0x4c0047(0x1b9)]?this['currentTest'][_0x4c0047(0x1cb)]:null);if(_0x24432b['hSOgn'](isBrowserstackInfra)){PerformanceTester[_0x4c0047(0x17a)](PerformanceO11yEvents[_0x4c0047(0x1c8)]);const _0xfa6035=_0x4c0047(0x18c)+Date[_0x4c0047(0x16b)]();await _0x24432b[_0x4c0047(0x1a3)](_0x760aa3,JSON[_0x4c0047(0x160)](_0xfa6035),_0x24432b[_0x4c0047(0x157)]),PerformanceTester[_0x4c0047(0x1c4)](PerformanceO11yEvents[_0x4c0047(0x1c8)]);}}}catch(_0x7239fe){logger[_0x4c0047(0x1c5)](_0x4c0047(0x1e6)+_0x7239fe),PerformanceTester[_0x4c0047(0x1c4)](PerformanceO11yEvents[_0x4c0047(0x1c8)],![],_0x7239fe);}_0x24432b[_0x4c0047(0x1ef)](global[_0x4c0047(0x1e4)][0x0]['quitCount_'],0x0)&&await global[_0x4c0047(0x1ac)]();}catch(_0x3d8a3a){logger[_0x4c0047(0x1c5)](_0x4c0047(0x1f8)+_0x3d8a3a);}_0x24432b[_0x4c0047(0x16e)](_0xd3e74e);})['then'](()=>{const _0x28b8f9=_0x12fd43;_0xf104bc[_0x28b8f9(0x166)](_0x28941b);});},{'platform':_0xf104bc[_0x161a5e(0x1c3)](nestedKeyValue,global[_0x161a5e(0x1ad)],[_0xf104bc['MxaCQ']]),'hookType':_0xf104bc[_0x161a5e(0x1b3)]})();},'afterAll'(_0x1d8937){const _0x4a3c9a=a32_0x3e7385,_0xac9eb5={'KHBGD':function(_0x3a153e){return _0x3a153e();},'paFIg':function(_0x4a48ab,_0x36e327,_0x2df152){return _0x4a48ab(_0x36e327,_0x2df152);},'KHaYf':_0x4a3c9a(0x207),'TRRKs':_0x4a3c9a(0x1b6)},_0x361b42='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester[_0x4a3c9a(0x1db)](PerformanceSdkEvents[_0x4a3c9a(0x1f0)],()=>{const _0x2d6d89=_0x4a3c9a,_0x20b92f={'bDYaB':function(_0x4f9451){const _0x25e47f=a32_0x1d49;return _0xac9eb5[_0x25e47f(0x1ae)](_0x4f9451);}};new Promise(async _0x3a60b8=>{const _0x38918c=a32_0x1d49;await global[_0x38918c(0x1ac)](),_0x20b92f[_0x38918c(0x1bb)](_0x3a60b8);})[_0x2d6d89(0x1e3)]()[_0x2d6d89(0x1e2)](()=>{const _0x550a99=_0x2d6d89;_0x20b92f[_0x550a99(0x1bb)](_0x1d8937);});},{'platform':_0xac9eb5[_0x4a3c9a(0x205)](nestedKeyValue,global['__platformCaps'],[_0xac9eb5[_0x4a3c9a(0x17e)]]),'hookType':_0xac9eb5[_0x4a3c9a(0x1fe)]})();}};
1
+ function a32_0x5eb1(){const _0x4ced95=['titlePath','Failed\x20to\x20store\x20session\x20name:\x20','8xZfLRU','49670UJknRX','thBuildUuid','startMonitoring','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','thTestRunUuid','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','PwkuY','1sKWEkb','stringify','BMAnN','isArray','index','BROWSERSTACK_TESTHUB_UUID','hvldL','push','78HrJdxW','afterAll','qkZpF','ZGiZB','TOJBv','ENV_VAR','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__drivers','now','err','driverCleanup','currentTest','capabilities','env','FOCuk','./test-observability/mochaUtils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','vbUQN','vuTJh','HhxEd','wyxwO','1878610gWYEHO','browserstackTestName','../../helpers/accessibility-automation/scripts','ZsrvX','length','Passed','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','command','start','hUzMO','join','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ZbIYl','OMzCG','PERFORM_SCAN','RmsyM','GYAmT','afterTest','isAccessibilityPlatform','RCZye','310814wCXfGH','format','1233873fwVoEh','WwZAk','end','../../helpers/logger','gOecO','__platformCaps','MVHkD','bstackA11yShouldScan','PFPMY','debug','SESSION_NAME','.\x20Error\x20:',',\x22level\x22:\x20\x22','app','nrVfg','finally','__error_messages__','session_','BXACd','browserstackSessionName','toMWj','gFFoV','847398vGapKv','SDK_HOOK','\x20-\x20','Hqqha','fpXks','../../helpers/accessibility-automation/helper','info','eGOfT','shift','OEKjB','quitCount_','performScan','VtwWe','afterEach','OLWUn','WgMRH','Automate\x20test\x20case\x20execution\x20has\x20started.','hwuNl','../../helpers/globals','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','TLNzO','wARUc','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','eAvBW','gPjNN','\x22}}','SYNC','UCQvV','state','IqLoU','util','ixBlw','sylkt','UBYQF','pwFKY','winstonLogger','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','measureWrapper','getCurrentUrl','OIEmm','KTTpp','rItXi','testcase','passed','executeScript','LFmwP','__sessionFailed','XKNxD','VFpYh','WgkKf','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','beforeAll','error','setGlobal','BROWSERSTACK_TESTHUB_JWT','testAnalyticsId','getGlobal','fZLDN','then','percyCaptureMode','1740347iGCZPZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','executeAsyncScript','http:','failed','HtdSe','\x20|\x20','lqFon','accessibilityScanStarted','292036EKGhZi','mOpDn','__skipSessionName','fbZMf','dvGZn','initQuit','CQuzZ','iwckY','dBhGE','tMUQg','shouldScanTestForAccessibility','tGYKP','saveTestResults','hCsVe','Failed:\x20','https:'];a32_0x5eb1=function(){return _0x4ced95;};return a32_0x5eb1();}const a32_0x3481ad=a32_0x2e41;(function(_0x2b1e7d,_0x54470b){const _0x5a0ca5=a32_0x2e41,_0x30e9f1=_0x2b1e7d();while(!![]){try{const _0x4ae46b=-parseInt(_0x5a0ca5(0x201))/0x1*(-parseInt(_0x5a0ca5(0x232))/0x2)+parseInt(_0x5a0ca5(0x24a))/0x3+-parseInt(_0x5a0ca5(0x1e7))/0x4+-parseInt(_0x5a0ca5(0x1fa))/0x5*(parseInt(_0x5a0ca5(0x209))/0x6)+-parseInt(_0x5a0ca5(0x286))/0x7*(-parseInt(_0x5a0ca5(0x1f9))/0x8)+-parseInt(_0x5a0ca5(0x234))/0x9+-parseInt(_0x5a0ca5(0x21e))/0xa;if(_0x4ae46b===_0x54470b)break;else _0x30e9f1['push'](_0x30e9f1['shift']());}catch(_0x21762a){_0x30e9f1['push'](_0x30e9f1['shift']());}}}(a32_0x5eb1,0x26e99));const util=require(a32_0x3481ad(0x268)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x3481ad(0x24f)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x3481ad(0x218)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x3481ad(0x220)),globals=require(a32_0x3481ad(0x25c)),logger=require(a32_0x3481ad(0x237))[a32_0x3481ad(0x26d)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');function a32_0x2e41(_0x12f6e2,_0x4613cd){const _0x5eb107=a32_0x5eb1();return a32_0x2e41=function(_0x2e416b,_0x4e4aee){_0x2e416b=_0x2e416b-0x1e2;let _0x45ba49=_0x5eb107[_0x2e416b];return _0x45ba49;},a32_0x2e41(_0x12f6e2,_0x4613cd);}exports['mochaHooks']={'beforeAll'(){const _0x331210=a32_0x3481ad,_0x37e9ae={'iwckY':function(_0x5cdf37,_0x35576d,_0x59807f,_0x26996f){return _0x5cdf37(_0x35576d,_0x59807f,_0x26996f);},'ZGiZB':_0x331210(0x1e2),'BXACd':_0x331210(0x1e4),'gPjNN':function(_0xde871f,_0x236e62,_0x434ed5){return _0xde871f(_0x236e62,_0x434ed5);},'GYAmT':_0x331210(0x275),'eGOfT':function(_0x41d3e5){return _0x41d3e5();},'UCQvV':function(_0x2b06dc,_0x5bae29,_0x1d2b97){return _0x2b06dc(_0x5bae29,_0x1d2b97);},'SqflN':_0x331210(0x205),'tGYKP':_0x331210(0x27d)};PerformanceTester[_0x331210(0x1fc)]();const _0x3c7dcb='browserstack internal helper hook';PerformanceTester[_0x331210(0x26f)](PerformanceSdkEvents[_0x331210(0x24b)],()=>{const _0x14766c=_0x331210,_0x5ebfb3={'zrCHd':function(_0x273c1a,_0x2a06a0,_0x4797ba,_0xe1054b){const _0x2b03b8=a32_0x2e41;return _0x37e9ae[_0x2b03b8(0x1ee)](_0x273c1a,_0x2a06a0,_0x4797ba,_0xe1054b);},'HhxEd':_0x37e9ae[_0x14766c(0x20c)],'EmDAV':_0x37e9ae[_0x14766c(0x246)],'OIEmm':function(_0xf5e7c8,_0x18fb9d,_0xc4af2e){const _0x4ba3ca=_0x14766c;return _0x37e9ae[_0x4ba3ca(0x262)](_0xf5e7c8,_0x18fb9d,_0xc4af2e);},'rItXi':_0x37e9ae[_0x14766c(0x22e)],'nrVfg':function(_0x41ae2b){const _0x4c7163=_0x14766c;return _0x37e9ae[_0x4c7163(0x251)](_0x41ae2b);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x14766c(0x213)]=async()=>{const _0x219df0=_0x14766c;let _0xc4de3c=![];try{await global[_0x219df0(0x210)][0x0][_0x219df0(0x245)],_0xc4de3c=!![],global['__sessionFailed']?await _0x5ebfb3['zrCHd'](markSessionStatus,global[_0x219df0(0x210)][0x0],_0x5ebfb3[_0x219df0(0x21c)],global[_0x219df0(0x244)][_0x219df0(0x228)](_0x5ebfb3['EmDAV'])):await _0x5ebfb3['OIEmm'](markSessionStatus,global[_0x219df0(0x210)][0x0],_0x5ebfb3[_0x219df0(0x273)]);}catch(_0x381169){logger[_0x219df0(0x23d)](_0x219df0(0x224)+_0x381169);}global[_0x219df0(0x244)]=[],global[_0x219df0(0x278)]=![];if(_0xc4de3c)try{try{_0x5ebfb3[_0x219df0(0x242)](shouldProcessEventForTesthub)&&(global[_0x219df0(0x210)][0x0]&&await _0x5ebfb3[_0x219df0(0x271)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x219df0(0x214)]['testAnalyticsId']:null));}catch(_0x52dee9){logger[_0x219df0(0x23d)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x52dee9);}await global[_0x219df0(0x210)][0x0][_0x219df0(0x1ec)]();}catch(_0x3c99ef){logger[_0x219df0(0x23d)](_0x219df0(0x260)+_0x3c99ef);}};},{'platform':_0x37e9ae[_0x331210(0x265)](nestedKeyValue,global[_0x331210(0x239)],[_0x37e9ae['SqflN']]),'hookType':_0x37e9ae[_0x331210(0x1f2)]})();},'beforeEach'(_0x34923d){const _0x221b16=a32_0x3481ad,_0x36975f={'ZsrvX':function(_0x5e62f2,_0xd12fb1){return _0x5e62f2>_0xd12fb1;},'WwZAk':_0x221b16(0x24c),'XKNxD':function(_0x2390dc,_0x4a91f1,_0x23c30b){return _0x2390dc(_0x4a91f1,_0x23c30b);},'CQuzZ':'bstackA11yShouldScan','VFpYh':function(_0x29e8d0){return _0x29e8d0();},'BMAnN':function(_0x16ea35,_0x38a454){return _0x16ea35>_0x38a454;},'ZbIYl':_0x221b16(0x230),'orNDs':function(_0x337960,_0x3a4856){return _0x337960===_0x3a4856;},'eAvBW':_0x221b16(0x289),'sylkt':function(_0x3623c8,_0x406fb1){return _0x3623c8===_0x406fb1;},'fZLDN':_0x221b16(0x1f6),'wyxwO':_0x221b16(0x26e),'cUWEo':_0x221b16(0x25a),'tMUQg':function(_0x443ce7){return _0x443ce7();},'SGwxa':_0x221b16(0x21f),'ZGyDO':function(_0x590753,_0x5c9330,_0x43d0a6){return _0x590753(_0x5c9330,_0x43d0a6);},'ZmzhT':_0x221b16(0x205),'hUzMO':'beforeEach'};globals[_0x221b16(0x27f)](_0x36975f['SGwxa'],this[_0x221b16(0x214)][_0x221b16(0x1f7)]()[_0x221b16(0x228)](_0x36975f['WwZAk'])),PerformanceTester[_0x221b16(0x26f)](PerformanceSdkEvents[_0x221b16(0x24b)],()=>{const _0x4b7d05=_0x221b16,_0x4336c2='browserstack internal helper hook';new Promise(async _0x185c07=>{const _0x5a74c4=a32_0x2e41;let _0x54e111=!![];try{_0x36975f[_0x5a74c4(0x221)](global[_0x5a74c4(0x210)][_0x5a74c4(0x222)],0x1)&&(await global[_0x5a74c4(0x213)](),global[_0x5a74c4(0x210)][_0x5a74c4(0x252)]()),_0x36975f['ZsrvX'](global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x254)],0x0)&&(_0x54e111=![],await global[_0x5a74c4(0x213)]());}catch(_0x191d72){logger['debug'](_0x5a74c4(0x260)+_0x191d72);}try{Array[_0x5a74c4(0x204)](global[_0x5a74c4(0x210)])&&global[_0x5a74c4(0x210)][0x0]&&(global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x247)]=this[_0x5a74c4(0x214)][_0x5a74c4(0x1f7)]()[_0x5a74c4(0x228)](_0x36975f[_0x5a74c4(0x235)])),global['browserstackSessionName']=this['currentTest'][_0x5a74c4(0x1f7)]()[_0x5a74c4(0x228)](_0x36975f[_0x5a74c4(0x235)]);}catch(_0x1a855e){logger[_0x5a74c4(0x23d)](_0x5a74c4(0x1f8)+_0x1a855e);}this[_0x5a74c4(0x214)][_0x5a74c4(0x1f1)]=_0x36975f[_0x5a74c4(0x279)](shouldScanTestForAccessibility,this['currentTest'][_0x5a74c4(0x1f7)](),!![]),globals[_0x5a74c4(0x27f)](_0x36975f[_0x5a74c4(0x1ed)],this[_0x5a74c4(0x214)][_0x5a74c4(0x1f1)]),this['currentTest'][_0x5a74c4(0x1e6)]=!![];if(_0x36975f[_0x5a74c4(0x27a)](isAccessibilityAutomationSession)&&_0x54e111&&Array[_0x5a74c4(0x204)](global[_0x5a74c4(0x210)])&&_0x36975f[_0x5a74c4(0x203)](global['__drivers'][_0x5a74c4(0x222)],0x0)&&globals[_0x5a74c4(0x282)](_0x36975f[_0x5a74c4(0x22a)]))try{const _0x11460a=await global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x245)];if(_0x11460a){let _0x4556d4=!![];const _0x664e80=await global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x270)]();let _0x95d958;try{_0x95d958=new URL(_0x664e80);}catch(_0x6a29d9){_0x4556d4=![];}_0x4556d4=_0x36975f['orNDs'](_0x95d958['protocol'],_0x36975f[_0x5a74c4(0x261)])||_0x36975f[_0x5a74c4(0x26a)](_0x95d958['protocol'],_0x36975f[_0x5a74c4(0x283)]),_0x4556d4&&(this[_0x5a74c4(0x214)]['shouldScanTestForAccessibility']&&logger['info'](_0x36975f[_0x5a74c4(0x21d)])),this[_0x5a74c4(0x214)][_0x5a74c4(0x1e6)]=this['currentTest'][_0x5a74c4(0x1f1)],this[_0x5a74c4(0x214)][_0x5a74c4(0x1f1)]&&logger[_0x5a74c4(0x250)](_0x36975f['cUWEo']);}}catch(_0x47daf8){logger[_0x5a74c4(0x27e)](_0x5a74c4(0x1fd)+util[_0x5a74c4(0x233)](_0x47daf8));}_0x36975f['tMUQg'](_0x185c07);})[_0x4b7d05(0x284)](()=>{const _0x4ff228=_0x4b7d05;_0x36975f[_0x4ff228(0x1f0)](_0x34923d);});},{'platform':_0x36975f['ZGyDO'](nestedKeyValue,global[_0x221b16(0x239)],[_0x36975f['ZmzhT']]),'hookType':_0x36975f[_0x221b16(0x227)]})();},'afterEach'(_0x4d5654){const _0x353cd3=a32_0x3481ad,_0x323c12={'KTTpp':_0x353cd3(0x24c),'gFFoV':function(_0x44fc23,_0x540e0e){return _0x44fc23>_0x540e0e;},'OLWUn':function(_0x59b798,_0x1ea019){return _0x59b798===_0x1ea019;},'toMWj':_0x353cd3(0x274),'TOJBv':'appium:app','ixBlw':function(_0x13941e,_0x4651db,_0x314dd0,_0x54508b){return _0x13941e(_0x4651db,_0x314dd0,_0x54508b);},'PFPMY':_0x353cd3(0x230),'mOpDn':_0x353cd3(0x23b),'fbZMf':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','aXlGo':'Performing\x20scan\x20before\x20saving\x20results','SVJfB':_0x353cd3(0x22f),'WgMRH':_0x353cd3(0x287),'ItzIO':function(_0x40f4f6){return _0x40f4f6();},'UBYQF':function(_0x55fea8,_0x37d59a,_0x2a9a82){return _0x55fea8(_0x37d59a,_0x2a9a82);},'FOCuk':function(_0x5d5c40){return _0x5d5c40();},'LFmwP':function(_0x41ebc6,_0x3efa95,_0x5d60b9){return _0x41ebc6(_0x3efa95,_0x5d60b9);},'vuTJh':_0x353cd3(0x23d),'HbLKg':function(_0x5b6464,_0x190723){return _0x5b6464>_0x190723;},'Cvqjy':function(_0x575094){return _0x575094();},'hwuNl':function(_0x3d642c,_0x466c21){return _0x3d642c!==_0x466c21;},'dBhGE':_0x353cd3(0x275),'lqFon':function(_0x32e4d7,_0x1c6a5e){return _0x32e4d7+_0x1c6a5e;},'RCZye':_0x353cd3(0x1f5),'hhptB':_0x353cd3(0x27e),'Hqqha':function(_0xdda8e5,_0x24117e,_0x46d749){return _0xdda8e5(_0x24117e,_0x46d749);},'HtdSe':_0x353cd3(0x223),'RmsyM':_0x353cd3(0x250),'XhpHg':function(_0x5cd643){return _0x5cd643();},'OEKjB':_0x353cd3(0x205),'dvGZn':_0x353cd3(0x257)},_0x58d49b='browserstack internal helper hook';this['timeout'](0xfde8),global['sessionName']=this[_0x353cd3(0x214)][_0x353cd3(0x1f7)]()['join'](_0x323c12[_0x353cd3(0x272)]),PerformanceTester[_0x353cd3(0x26f)](PerformanceSdkEvents[_0x353cd3(0x24b)],()=>{const _0x1e6cf8=_0x353cd3,_0x1c30a2={'pUJwk':function(_0x1714ee,_0x3ad4f0){const _0x3933dc=a32_0x2e41;return _0x323c12[_0x3933dc(0x25b)](_0x1714ee,_0x3ad4f0);},'fpXks':_0x323c12[_0x1e6cf8(0x1ef)],'vbUQN':function(_0x3d98e6,_0x238162,_0x3718a6){const _0x29ad11=_0x1e6cf8;return _0x323c12[_0x29ad11(0x277)](_0x3d98e6,_0x238162,_0x3718a6);},'wARUc':function(_0x5eb782,_0x37c954){const _0x1f3664=_0x1e6cf8;return _0x323c12[_0x1f3664(0x1e5)](_0x5eb782,_0x37c954);},'WgkKf':_0x323c12[_0x1e6cf8(0x231)],'qkZpF':_0x323c12['hhptB'],'pwFKY':function(_0x2aec85,_0x61f09a,_0x473916){const _0x1cacf2=_0x1e6cf8;return _0x323c12[_0x1cacf2(0x24d)](_0x2aec85,_0x61f09a,_0x473916);},'OMzCG':_0x323c12[_0x1e6cf8(0x1e3)],'OqIaY':_0x323c12[_0x1e6cf8(0x22d)],'MVHkD':function(_0x1b2437){return _0x323c12['XhpHg'](_0x1b2437);}},_0x22b5ae=async(_0x4e59a3,_0x31475f)=>{const _0x1994b2=_0x1e6cf8;await global[_0x1994b2(0x210)][0x0][_0x1994b2(0x276)](_0x1994b2(0x20f)+_0x4e59a3+_0x1994b2(0x240)+_0x31475f+_0x1994b2(0x263));};new Promise(async _0x48f706=>{const _0x4c20d4=_0x1e6cf8,_0x4fcfd8={};_0x4fcfd8[_0x4c20d4(0x238)]=_0x323c12[_0x4c20d4(0x272)];const _0x39f06f=_0x4fcfd8;try{_0x323c12[_0x4c20d4(0x249)](global[_0x4c20d4(0x210)]['length'],0x1)&&(await global[_0x4c20d4(0x213)](),global[_0x4c20d4(0x210)][_0x4c20d4(0x252)](),global[_0x4c20d4(0x244)]=[],global[_0x4c20d4(0x278)]=![]);try{if(global['percy']&&_0x323c12[_0x4c20d4(0x258)](global[_0x4c20d4(0x285)],_0x323c12[_0x4c20d4(0x248)])&&global[_0x4c20d4(0x210)][0x0]){const _0x37f5d6=_0x323c12[_0x4c20d4(0x249)](global['capabilities'][_0x4c20d4(0x222)],0x0)?!!global[_0x4c20d4(0x215)][0x0][_0x4c20d4(0x241)]||!!global[_0x4c20d4(0x215)][0x0][_0x323c12[_0x4c20d4(0x20d)]]:![],_0x1015a4={};_0x1015a4[_0x4c20d4(0x241)]=_0x37f5d6,await _0x323c12[_0x4c20d4(0x269)](percyAutoCapture,global[_0x4c20d4(0x210)][0x0],_0x323c12[_0x4c20d4(0x248)],_0x1015a4);}}catch(_0x3e9004){logger[_0x4c20d4(0x23d)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x3e9004);}!global[_0x4c20d4(0x1e9)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x4c20d4(0x23e)],async()=>{const _0x7e7fb1=_0x4c20d4;await global[_0x7e7fb1(0x210)][0x0][_0x7e7fb1(0x276)](_0x7e7fb1(0x1ff)+JSON['stringify'](this[_0x7e7fb1(0x214)][_0x7e7fb1(0x1f7)]()[_0x7e7fb1(0x228)](_0x39f06f[_0x7e7fb1(0x238)]))+'}}');})(),global[_0x4c20d4(0x210)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x4c20d4(0x26f)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2cbd1a=_0x4c20d4,_0x17336f=_0x1c30a2['pUJwk'](this[_0x2cbd1a(0x214)][_0x2cbd1a(0x266)],_0x1c30a2[_0x2cbd1a(0x24e)]);_0x17336f?(global['__sessionFailed']=!![],global[_0x2cbd1a(0x244)][_0x2cbd1a(0x208)](this[_0x2cbd1a(0x214)][_0x2cbd1a(0x212)]['message']),await _0x1c30a2[_0x2cbd1a(0x21a)](_0x22b5ae,JSON['stringify'](_0x1c30a2[_0x2cbd1a(0x25f)](_0x1c30a2[_0x2cbd1a(0x27b)],this['currentTest']['err']['message'])),_0x1c30a2[_0x2cbd1a(0x20b)])):await _0x1c30a2[_0x2cbd1a(0x26c)](_0x22b5ae,JSON[_0x2cbd1a(0x202)](_0x1c30a2[_0x2cbd1a(0x22b)]),_0x1c30a2['OqIaY']);})();}catch(_0x10101b){logger[_0x4c20d4(0x23d)](_0x4c20d4(0x27c)+_0x10101b);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x4c20d4(0x282)](_0x323c12[_0x4c20d4(0x23c)])&&globals['getGlobal'](_0x323c12[_0x4c20d4(0x1e8)])){logger[_0x4c20d4(0x250)](_0x323c12[_0x4c20d4(0x1ea)]);const _0x2c5c6e={};_0x2c5c6e[_0x4c20d4(0x1fe)]=this[_0x4c20d4(0x214)][_0x4c20d4(0x281)],_0x2c5c6e[_0x4c20d4(0x1fb)]=process[_0x4c20d4(0x216)][testHubConstants[_0x4c20d4(0x20e)][_0x4c20d4(0x206)]],_0x2c5c6e['thJwtToken']=process[_0x4c20d4(0x216)][testHubConstants[_0x4c20d4(0x20e)][_0x4c20d4(0x280)]];const _0x21a59b=_0x2c5c6e;logger[_0x4c20d4(0x23d)](_0x4c20d4(0x219)+JSON[_0x4c20d4(0x202)](_0x21a59b)),logger[_0x4c20d4(0x23d)](_0x323c12['aXlGo']);const _0x4df71d={};_0x4df71d[_0x4c20d4(0x225)]=_0x323c12['SVJfB'],await PerformanceTester[_0x4c20d4(0x26f)](PerformanceA11yEvents[_0x4c20d4(0x22c)],async()=>{const _0x138421=_0x4c20d4;logger[_0x138421(0x23d)](util['format'](await global['__drivers'][0x0][_0x138421(0x288)](scripts[_0x138421(0x255)],{'method':global[_0x138421(0x247)]})));},_0x4df71d)(),await PerformanceTester[_0x4c20d4(0x26f)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x45bad8=_0x4c20d4;await global[_0x45bad8(0x210)][0x0]['executeAsyncScript'](scripts[_0x45bad8(0x1f3)],_0x21a59b);})(),logger[_0x4c20d4(0x250)](_0x323c12[_0x4c20d4(0x259)]);}}catch(_0x4c7fb7){logger[_0x4c20d4(0x27e)](_0x4c20d4(0x25d)+this[_0x4c20d4(0x214)][_0x4c20d4(0x1f7)]()+_0x4c20d4(0x23f),_0x4c7fb7);}try{try{if(_0x323c12['ItzIO'](shouldProcessEventForTesthub)){global[_0x4c20d4(0x210)][0x0]&&await _0x323c12[_0x4c20d4(0x26b)](sendPlatformDetails,global[_0x4c20d4(0x210)][0x0],this[_0x4c20d4(0x214)]?this[_0x4c20d4(0x214)]['testAnalyticsId']:null);if(_0x323c12[_0x4c20d4(0x217)](isBrowserstackInfra)){PerformanceTester[_0x4c20d4(0x226)](PerformanceO11yEvents['SYNC']);const _0xce5e70='ObservabilitySync:'+Date[_0x4c20d4(0x211)]();await _0x323c12[_0x4c20d4(0x277)](_0x22b5ae,JSON[_0x4c20d4(0x202)](_0xce5e70),_0x323c12[_0x4c20d4(0x21b)]),PerformanceTester[_0x4c20d4(0x236)](PerformanceO11yEvents[_0x4c20d4(0x264)]);}}}catch(_0x3589eb){logger[_0x4c20d4(0x23d)](_0x4c20d4(0x229)+_0x3589eb),PerformanceTester[_0x4c20d4(0x236)](PerformanceO11yEvents[_0x4c20d4(0x264)],![],_0x3589eb);}_0x323c12['HbLKg'](global[_0x4c20d4(0x210)][0x0][_0x4c20d4(0x254)],0x0)&&await global[_0x4c20d4(0x213)]();}catch(_0x42ae5b){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x42ae5b);}_0x323c12['Cvqjy'](_0x48f706);})[_0x1e6cf8(0x284)](()=>{const _0x17fefa=_0x1e6cf8;_0x1c30a2[_0x17fefa(0x23a)](_0x4d5654);});},{'platform':_0x323c12[_0x353cd3(0x24d)](nestedKeyValue,global[_0x353cd3(0x239)],[_0x323c12[_0x353cd3(0x253)]]),'hookType':_0x323c12[_0x353cd3(0x1eb)]})();},'afterAll'(_0x5b6e9d){const _0xb63984=a32_0x3481ad,_0x1ff137={'IqLoU':function(_0x543e01){return _0x543e01();},'hCsVe':function(_0x3e255f){return _0x3e255f();},'TLNzO':function(_0x436360,_0x4368c5,_0x272be4){return _0x436360(_0x4368c5,_0x272be4);},'VtwWe':_0xb63984(0x205),'hvldL':_0xb63984(0x20a)},_0x949053='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x37629c=_0xb63984,_0x5104c8={'PwkuY':function(_0xd21fd7){const _0x5b0f4f=a32_0x2e41;return _0x1ff137[_0x5b0f4f(0x1f4)](_0xd21fd7);}};new Promise(async _0x594c0d=>{const _0x56b495=a32_0x2e41;await global[_0x56b495(0x213)](),_0x5104c8[_0x56b495(0x200)](_0x594c0d);})[_0x37629c(0x284)]()[_0x37629c(0x243)](()=>{const _0x35ed39=_0x37629c;_0x1ff137[_0x35ed39(0x267)](_0x5b6e9d);});},{'platform':_0x1ff137[_0xb63984(0x25e)](nestedKeyValue,global[_0xb63984(0x239)],[_0x1ff137[_0xb63984(0x256)]]),'hookType':_0x1ff137[_0xb63984(0x207)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x2284fc=a33_0x415c;(function(_0x53c399,_0x2ad835){const _0xdba107=a33_0x415c,_0xfb69b7=_0x53c399();while(!![]){try{const _0x4cd4f2=parseInt(_0xdba107(0x171))/0x1+parseInt(_0xdba107(0x142))/0x2+parseInt(_0xdba107(0x13f))/0x3+parseInt(_0xdba107(0x136))/0x4+-parseInt(_0xdba107(0x141))/0x5*(parseInt(_0xdba107(0x166))/0x6)+parseInt(_0xdba107(0x13c))/0x7*(parseInt(_0xdba107(0x146))/0x8)+-parseInt(_0xdba107(0x173))/0x9;if(_0x4cd4f2===_0x2ad835)break;else _0xfb69b7['push'](_0xfb69b7['shift']());}catch(_0x382b74){_0xfb69b7['push'](_0xfb69b7['shift']());}}}(a33_0x4dc0,0xb8905));const fs=require('fs'),path=require(a33_0x2284fc(0x177)),{spawn}=require(a33_0x2284fc(0x16f)),logger=require(a33_0x2284fc(0x145))[a33_0x2284fc(0x156)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a33_0x2284fc(0x158)),getUserNightwatchConfigs=(_0x5518f4,_0x32aebd)=>{const _0x1e4bf6=a33_0x2284fc,_0x153cd3={'gIMhK':_0x1e4bf6(0x178),'VomFl':'nightwatch.json','lKSxc':function(_0xac2399,_0x593c0b){return _0xac2399(_0x593c0b);},'TXeQE':_0x1e4bf6(0x170)};let _0x15a3a7=null,_0x31bf0c={};const _0x15ce8e=_0x32aebd[_0x1e4bf6(0x149)](_0x144104=>_0x144104===_0x1e4bf6(0x15d));if(!helper[_0x1e4bf6(0x150)](_0x5518f4['config'])&&fs['existsSync'](path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x5518f4[_0x1e4bf6(0x14b)])))_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x5518f4[_0x1e4bf6(0x14b)]),_0x32aebd[_0x1e4bf6(0x165)](_0x15ce8e,0x2);else{if(fs['existsSync'](path[_0x1e4bf6(0x13d)](process['cwd'](),_0x153cd3[_0x1e4bf6(0x174)])))_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x153cd3['gIMhK']);else fs[_0x1e4bf6(0x13e)](path['join'](process[_0x1e4bf6(0x172)](),_0x153cd3[_0x1e4bf6(0x159)]))&&(_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x153cd3[_0x1e4bf6(0x159)]));}return _0x15a3a7?(logger[_0x1e4bf6(0x16c)](_0x1e4bf6(0x137)+_0x15a3a7),_0x31bf0c=_0x153cd3[_0x1e4bf6(0x164)](require,_0x15a3a7)):logger[_0x1e4bf6(0x16c)](_0x153cd3[_0x1e4bf6(0x14f)]),_0x31bf0c;},removeExistingEnvs=_0x6ac4=>{const _0x191d5c=a33_0x2284fc,_0x265298={};_0x265298['GDUng']=function(_0x533ee9,_0x40cfac){return _0x533ee9>_0x40cfac;};const _0xb02ce0=_0x265298;let _0x1e6391=_0x6ac4['findIndex'](_0x5ae285=>_0x5ae285==='--env');_0xb02ce0[_0x191d5c(0x160)](_0x1e6391,-0x1)&&_0x6ac4['splice'](_0x1e6391,0x2),_0x1e6391=_0x6ac4[_0x191d5c(0x149)](_0x13e1b6=>_0x13e1b6==='-e'),_0xb02ce0[_0x191d5c(0x160)](_0x1e6391,-0x1)&&_0x6ac4[_0x191d5c(0x165)](_0x1e6391,0x2);};function run(_0x5eca8e,_0x13e734,_0x2c2ec7){const _0x33127c=a33_0x2284fc,_0x9f0a54={'ICiLs':_0x33127c(0x176),'QbyEL':function(_0x43840a,_0x4bd41b){return _0x43840a+_0x4bd41b;},'OhHfK':_0x33127c(0x144),'Ffnbu':function(_0x4fba72,_0x5f5136,_0x1b426c){return _0x4fba72(_0x5f5136,_0x1b426c);},'lWPwA':_0x33127c(0x157),'sERUh':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SUPxN':function(_0x2f80eb,_0x1af113){return _0x2f80eb===_0x1af113;},'PjfZa':_0x33127c(0x13b),'MPceU':function(_0xd49cff,_0x4fa92c){return _0xd49cff(_0x4fa92c);},'rfHuZ':function(_0x3d0676,_0x48d425,_0x5772f8,_0x4122e0){return _0x3d0676(_0x48d425,_0x5772f8,_0x4122e0);},'FjcNo':_0x33127c(0x140),'AVVnT':_0x33127c(0x15d),'lTFFY':'--env','iddGj':_0x33127c(0x135),'utZnv':'close'};if(!_0x2c2ec7['config'])return;const _0x5f37cd=_0x9f0a54[_0x33127c(0x162)](getUserNightwatchConfigs,_0x5eca8e,_0x13e734),_0x5047bb={};_0x5047bb[_0x33127c(0x152)]=![];const _0x35d709={};_0x35d709[_0x33127c(0x17c)]=_0x9f0a54[_0x33127c(0x139)],_0x35d709['port']=0x1bb;const _0x56f769={};_0x56f769[_0x33127c(0x175)]=_0x5047bb,_0x56f769[_0x33127c(0x167)]=_0x35d709;const _0x26923e=_0x56f769;logger[_0x33127c(0x16c)](_0x9f0a54[_0x33127c(0x15f)]);const _0x45255e={..._0x5f37cd},_0x54aa95=_0x45255e,_0x3f779c=helper[_0x33127c(0x14a)](_0x2c2ec7[_0x33127c(0x14b)]),_0xecd564=[];_0x2c2ec7[_0x33127c(0x14b)][_0x33127c(0x15b)][_0x33127c(0x16e)]((_0x976811,_0x51e8b3)=>{const _0x25c603=_0x33127c;_0x3f779c?_0xecd564[_0x25c603(0x17a)](helper[_0x25c603(0x16a)](_0x2c2ec7['config'],_0x9f0a54[_0x25c603(0x13a)],_0x51e8b3)):_0xecd564[_0x25c603(0x17a)](helper[_0x25c603(0x17d)](_0x2c2ec7['config'],_0x9f0a54[_0x25c603(0x13a)],_0x51e8b3));});const _0x4cc0f2={},_0x2cd62a=[];_0x5eca8e[_0x33127c(0x147)]=_0x5eca8e[_0x33127c(0x147)]||_0x5eca8e['e'];const _0x238fc6=_0x5eca8e[_0x33127c(0x147)]?_0x5eca8e[_0x33127c(0x147)][_0x33127c(0x154)]()[_0x33127c(0x14d)](',')[_0x33127c(0x148)](_0x10c3b0=>_0x10c3b0[_0x33127c(0x154)]())[_0x33127c(0x143)](_0x8ad5a5=>_0x8ad5a5!==''):[''];_0x9f0a54[_0x33127c(0x153)](_0x238fc6[_0x33127c(0x16b)],0x0)&&_0x238fc6['push']('');_0x238fc6[_0x33127c(0x16e)](_0xec72b7=>{const _0x433231=_0x33127c;_0xecd564[_0x433231(0x16e)](_0x41d3d1=>{const _0x1a5f79=_0x433231;let _0x3fa4d1=_0x9f0a54['QbyEL'](helper[_0x1a5f79(0x151)](_0x41d3d1,'_'),'_'+Date[_0x1a5f79(0x168)]());_0xec72b7&&(_0x3fa4d1+='_'+_0xec72b7);if(_0xec72b7&&(!_0x5f37cd[_0x9f0a54[_0x1a5f79(0x14c)]]||!_0x5f37cd[_0x9f0a54['OhHfK']][_0xec72b7]))return;const _0x31bc7d={..._0x26923e};_0x31bc7d['desiredCapabilities']=_0x41d3d1;const _0x3f00f1=_0x31bc7d;_0x4cc0f2[_0x3fa4d1]=_0xec72b7?helper['mergeDeep'](_0x5f37cd[_0x9f0a54['OhHfK']][_0xec72b7],_0x3f00f1):_0x3f00f1,_0x2cd62a[_0x1a5f79(0x17a)](_0x3fa4d1);});});!_0x54aa95[_0x33127c(0x144)]&&(_0x54aa95[_0x33127c(0x144)]={});_0x54aa95[_0x33127c(0x144)]={..._0x54aa95[_0x33127c(0x144)],..._0x4cc0f2};const _0xbc756c=path[_0x33127c(0x13d)](__dirname,_0x9f0a54['PjfZa']);fs[_0x33127c(0x14e)](_0xbc756c,JSON[_0x33127c(0x15a)](_0x54aa95)),_0x9f0a54[_0x33127c(0x161)](removeExistingEnvs,_0x13e734);const _0x31c27=_0x9f0a54['rfHuZ'](spawn,/^win/[_0x33127c(0x169)](process[_0x33127c(0x163)])?_0x9f0a54[_0x33127c(0x134)]:_0x9f0a54[_0x33127c(0x13a)],[_0x9f0a54['AVVnT'],_0xbc756c,..._0x13e734[_0x33127c(0x179)](0x1),_0x9f0a54[_0x33127c(0x138)],_0x2cd62a[_0x33127c(0x13d)](',')],{'stdio':_0x9f0a54[_0x33127c(0x16d)]});_0x31c27['on'](_0x9f0a54['utZnv'],async _0x52e380=>{const _0x39fd71=_0x33127c;logger[_0x39fd71(0x155)](_0x39fd71(0x17b)+_0x52e380),logger['info']('Deleting\x20'+_0xbc756c),fs[_0x39fd71(0x15c)](_0xbc756c);});}function a33_0x415c(_0x28213c,_0x4ef03e){const _0x4dc040=a33_0x4dc0();return a33_0x415c=function(_0x415c2b,_0x4d0b32){_0x415c2b=_0x415c2b-0x134;let _0x27b96b=_0x4dc040[_0x415c2b];return _0x27b96b;},a33_0x415c(_0x28213c,_0x4ef03e);}function a33_0x4dc0(){const _0x504676=['filter','test_settings','../../helpers/logger','349224FvebKv','env','map','findIndex','useW3C','config','OhHfK','split','writeFileSync','TXeQE','isUndefined','getPlatformName','start_process','SUPxN','trim','debug','winstonLogger','hub.browserstack.com','../utils/constants','VomFl','stringify','platforms','unlinkSync','--config','exports','sERUh','GDUng','MPceU','Ffnbu','platform','lKSxc','splice','235362ViYshW','selenium','now','test','modifyBrowserStackW3CCaps','length','info','iddGj','forEach','child_process','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','309288AmCHrQ','cwd','17351865UZuPWA','gIMhK','webdriver','nightwatch','path','nightwatch.conf.js','slice','push','child\x20process\x20exited\x20with\x20code\x20','host','modifyBrowserStackCaps','FjcNo','inherit','3580012uUCJWT','Getting\x20your\x20nightwatch\x20configs\x20from\x20','lTFFY','lWPwA','ICiLs','nightwatch-browserstack.json','133YWbpfa','join','existsSync','961713CbgjEY','nightwatch.cmd','105pGBpul','2306912bfTIuc'];a33_0x4dc0=function(){return _0x504676;};return a33_0x4dc0();}module[a33_0x2284fc(0x15e)]=run;
2
+ 'use strict';const a33_0x1192bb=a33_0x24e6;function a33_0x46e0(){const _0x5a48ea=['nightwatch','isUndefined','5256216dyfmNW','inherit','test_settings','../../helpers/logger','getPlatformName','join','splice','34vCHpNL','child\x20process\x20exited\x20with\x20code\x20','JmfUy','winstonLogger','map','UIbPs','hub.browserstack.com','69939dmTkvY','forEach','test','POcLq','cwd','aKPCi','filter','../../helpers/BrowserStackSetup','NCufO','env','close','eQAvI','--env','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','GLDLj','3667385comLNv','fUtJp','5840rnbtce','nightwatch.cmd','modifyBrowserStackCaps','../../helpers/helper','unlinkSync','child_process','Nregx','findIndex','trim','existsSync','nightwatch.conf.js','qMYtn','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','--config','xrEmR','mergeDeep','writeFileSync','Getting\x20your\x20nightwatch\x20configs\x20from\x20','useW3C','xIhXP','4ltPeoa','Deleting\x20','path','length','25680140hjRVJU','platform','lIUpX','1271172PFIOCo','10051272MnGDuu','push','info','sXvCi','cKFgQ','3409zkwNbM','fdMrY','stringify','config','modifyBrowserStackW3CCaps','platforms','hthrR','nightwatch.json','start_process'];a33_0x46e0=function(){return _0x5a48ea;};return a33_0x46e0();}(function(_0x171afc,_0x4a85ce){const _0xcd3152=a33_0x24e6,_0x4142f0=_0x171afc();while(!![]){try{const _0x10c9ce=parseInt(_0xcd3152(0x1dc))/0x1+-parseInt(_0xcd3152(0x1f4))/0x2*(-parseInt(_0xcd3152(0x1fb))/0x3)+-parseInt(_0xcd3152(0x1d5))/0x4*(parseInt(_0xcd3152(0x20a))/0x5)+parseInt(_0xcd3152(0x1dd))/0x6+-parseInt(_0xcd3152(0x1e2))/0x7*(-parseInt(_0xcd3152(0x20c))/0x8)+parseInt(_0xcd3152(0x1ed))/0x9+-parseInt(_0xcd3152(0x1d9))/0xa;if(_0x10c9ce===_0x4a85ce)break;else _0x4142f0['push'](_0x4142f0['shift']());}catch(_0x5bed4c){_0x4142f0['push'](_0x4142f0['shift']());}}}(a33_0x46e0,0xef70c));function a33_0x24e6(_0x298fcd,_0x40b151){const _0x46e0e6=a33_0x46e0();return a33_0x24e6=function(_0x24e696,_0x473867){_0x24e696=_0x24e696-0x1c9;let _0x4272c9=_0x46e0e6[_0x24e696];return _0x4272c9;},a33_0x24e6(_0x298fcd,_0x40b151);}const fs=require('fs'),path=require(a33_0x1192bb(0x1d7)),{spawn}=require(a33_0x1192bb(0x211)),logger=require(a33_0x1192bb(0x1f0))[a33_0x1192bb(0x1f7)],{default:BrowserStackSetup}=require(a33_0x1192bb(0x202)),helper=require(a33_0x1192bb(0x20f)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x52a90,_0x48aaa8)=>{const _0x500e69=a33_0x1192bb,_0x357617={'sXvCi':_0x500e69(0x1cb),'NCufO':_0x500e69(0x1e9),'xIhXP':function(_0x5d86e9,_0x31caf5){return _0x5d86e9(_0x31caf5);},'lIUpX':_0x500e69(0x1cd)};let _0x310e5b=null,_0x26fd58={};const _0x4c3d1b=_0x48aaa8[_0x500e69(0x213)](_0x215e80=>_0x215e80==='--config');if(!helper[_0x500e69(0x1ec)](_0x52a90[_0x500e69(0x1e5)])&&fs[_0x500e69(0x1ca)](path[_0x500e69(0x1f2)](process['cwd'](),_0x52a90[_0x500e69(0x1e5)])))_0x310e5b=path[_0x500e69(0x1f2)](process[_0x500e69(0x1ff)](),_0x52a90['config']),_0x48aaa8['splice'](_0x4c3d1b,0x2);else{if(fs['existsSync'](path['join'](process[_0x500e69(0x1ff)](),_0x357617[_0x500e69(0x1e0)])))_0x310e5b=path[_0x500e69(0x1f2)](process[_0x500e69(0x1ff)](),_0x357617[_0x500e69(0x1e0)]);else fs[_0x500e69(0x1ca)](path[_0x500e69(0x1f2)](process['cwd'](),_0x357617['NCufO']))&&(_0x310e5b=path['join'](process[_0x500e69(0x1ff)](),_0x357617[_0x500e69(0x203)]));}return _0x310e5b?(logger[_0x500e69(0x1df)](_0x500e69(0x1d2)+_0x310e5b),_0x26fd58=_0x357617[_0x500e69(0x1d4)](require,_0x310e5b)):logger['info'](_0x357617[_0x500e69(0x1db)]),_0x26fd58;},removeExistingEnvs=_0x565d3b=>{const _0x42bc48=a33_0x1192bb,_0xf005bc={};_0xf005bc[_0x42bc48(0x1f6)]=function(_0x7458a7,_0x130b54){return _0x7458a7>_0x130b54;},_0xf005bc[_0x42bc48(0x212)]=function(_0x40c1cc,_0x229683){return _0x40c1cc>_0x229683;};const _0x46e656=_0xf005bc;let _0x54d94e=_0x565d3b[_0x42bc48(0x213)](_0x2afb26=>_0x2afb26===_0x42bc48(0x207));_0x46e656[_0x42bc48(0x1f6)](_0x54d94e,-0x1)&&_0x565d3b['splice'](_0x54d94e,0x2),_0x54d94e=_0x565d3b[_0x42bc48(0x213)](_0xe89f37=>_0xe89f37==='-e'),_0x46e656[_0x42bc48(0x212)](_0x54d94e,-0x1)&&_0x565d3b[_0x42bc48(0x1f3)](_0x54d94e,0x2);};function run(_0x36c60a,_0x2ff311,_0x51ba48){const _0x44e94d=a33_0x1192bb,_0x50481e={'fUtJp':_0x44e94d(0x1eb),'uhNiI':function(_0x292216,_0x32872a){return _0x292216+_0x32872a;},'xrEmR':_0x44e94d(0x1ef),'kpfvh':function(_0x1e00d3,_0x2cda56,_0x47be18){return _0x1e00d3(_0x2cda56,_0x47be18);},'gwFhV':_0x44e94d(0x1fa),'GLDLj':_0x44e94d(0x208),'qMYtn':function(_0x319e4d,_0x3381fa){return _0x319e4d===_0x3381fa;},'UIbPs':'nightwatch-browserstack.json','eQAvI':function(_0x169bb6,_0x565602){return _0x169bb6(_0x565602);},'hthrR':function(_0x1e071f,_0x4d3c85,_0xecefcb,_0x405642){return _0x1e071f(_0x4d3c85,_0xecefcb,_0x405642);},'aKPCi':_0x44e94d(0x20d),'sWTBE':_0x44e94d(0x1ce),'fdMrY':_0x44e94d(0x207),'POcLq':_0x44e94d(0x1ee),'cKFgQ':_0x44e94d(0x205)};if(!_0x51ba48[_0x44e94d(0x1e5)])return;const _0x354bec=_0x50481e['kpfvh'](getUserNightwatchConfigs,_0x36c60a,_0x2ff311),_0x4038a9={};_0x4038a9[_0x44e94d(0x1ea)]=![];const _0x4e9c39={};_0x4e9c39['host']=_0x50481e['gwFhV'],_0x4e9c39['port']=0x1bb;const _0x189fc9={};_0x189fc9['webdriver']=_0x4038a9,_0x189fc9['selenium']=_0x4e9c39;const _0x5a5cef=_0x189fc9;logger[_0x44e94d(0x1df)](_0x50481e[_0x44e94d(0x209)]);const _0x2a3dca={..._0x354bec},_0x17b8a4=_0x2a3dca,_0xc8a75f=helper[_0x44e94d(0x1d3)](_0x51ba48['config']),_0x22ef23=[];_0x51ba48[_0x44e94d(0x1e5)][_0x44e94d(0x1e7)][_0x44e94d(0x1fc)]((_0xebd249,_0x56938b)=>{const _0x3e0ae3=_0x44e94d;_0xc8a75f?_0x22ef23[_0x3e0ae3(0x1de)](helper[_0x3e0ae3(0x1e6)](_0x51ba48[_0x3e0ae3(0x1e5)],_0x50481e[_0x3e0ae3(0x20b)],_0x56938b)):_0x22ef23[_0x3e0ae3(0x1de)](helper[_0x3e0ae3(0x20e)](_0x51ba48['config'],_0x50481e[_0x3e0ae3(0x20b)],_0x56938b));});const _0x1cc819={},_0x3b8173=[];_0x36c60a[_0x44e94d(0x204)]=_0x36c60a[_0x44e94d(0x204)]||_0x36c60a['e'];const _0x177fc7=_0x36c60a[_0x44e94d(0x204)]?_0x36c60a[_0x44e94d(0x204)][_0x44e94d(0x1c9)]()['split'](',')[_0x44e94d(0x1f8)](_0x25e49b=>_0x25e49b[_0x44e94d(0x1c9)]())[_0x44e94d(0x201)](_0x340522=>_0x340522!==''):[''];_0x50481e[_0x44e94d(0x1cc)](_0x177fc7[_0x44e94d(0x1d8)],0x0)&&_0x177fc7[_0x44e94d(0x1de)]('');_0x177fc7['forEach'](_0x3e8c80=>{const _0x1ba319=_0x44e94d;_0x22ef23[_0x1ba319(0x1fc)](_0xbf9f02=>{const _0x5b44ca=_0x1ba319;let _0x3e3a6a=_0x50481e['uhNiI'](helper[_0x5b44ca(0x1f1)](_0xbf9f02,'_'),'_'+Date['now']());_0x3e8c80&&(_0x3e3a6a+='_'+_0x3e8c80);if(_0x3e8c80&&(!_0x354bec[_0x50481e[_0x5b44ca(0x1cf)]]||!_0x354bec[_0x50481e[_0x5b44ca(0x1cf)]][_0x3e8c80]))return;const _0x28917a={..._0x5a5cef};_0x28917a['desiredCapabilities']=_0xbf9f02;const _0x4a7799=_0x28917a;_0x1cc819[_0x3e3a6a]=_0x3e8c80?helper[_0x5b44ca(0x1d0)](_0x354bec[_0x50481e[_0x5b44ca(0x1cf)]][_0x3e8c80],_0x4a7799):_0x4a7799,_0x3b8173['push'](_0x3e3a6a);});});!_0x17b8a4[_0x44e94d(0x1ef)]&&(_0x17b8a4[_0x44e94d(0x1ef)]={});_0x17b8a4[_0x44e94d(0x1ef)]={..._0x17b8a4[_0x44e94d(0x1ef)],..._0x1cc819};const _0x1dd886=path[_0x44e94d(0x1f2)](__dirname,_0x50481e[_0x44e94d(0x1f9)]);fs[_0x44e94d(0x1d1)](_0x1dd886,JSON[_0x44e94d(0x1e4)](_0x17b8a4)),_0x50481e[_0x44e94d(0x206)](removeExistingEnvs,_0x2ff311);const _0x18cc38=_0x50481e[_0x44e94d(0x1e8)](spawn,/^win/[_0x44e94d(0x1fd)](process[_0x44e94d(0x1da)])?_0x50481e[_0x44e94d(0x200)]:_0x50481e[_0x44e94d(0x20b)],[_0x50481e['sWTBE'],_0x1dd886,..._0x2ff311['slice'](0x1),_0x50481e[_0x44e94d(0x1e3)],_0x3b8173[_0x44e94d(0x1f2)](',')],{'stdio':_0x50481e[_0x44e94d(0x1fe)]});_0x18cc38['on'](_0x50481e[_0x44e94d(0x1e1)],async _0x5aaa59=>{const _0x38e4b3=_0x44e94d;logger['debug'](_0x38e4b3(0x1f5)+_0x5aaa59),logger[_0x38e4b3(0x1df)](_0x38e4b3(0x1d6)+_0x1dd886),fs[_0x38e4b3(0x210)](_0x1dd886);});}module['exports']=run;