browserstack-node-sdk 1.32.12 → 1.32.13

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 (117) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -0
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/w3cMapping.js +1 -1
  116. package/src/hubAllocationMethods.js +1 -1
  117. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a22_0x75854a=a22_0x261c;(function(_0x172da9,_0x52232e){const _0x2793ea=a22_0x261c,_0xe94b7e=_0x172da9();while(!![]){try{const _0xef3f7c=-parseInt(_0x2793ea(0x122))/0x1*(-parseInt(_0x2793ea(0x118))/0x2)+parseInt(_0x2793ea(0x123))/0x3*(parseInt(_0x2793ea(0x11f))/0x4)+-parseInt(_0x2793ea(0x117))/0x5+parseInt(_0x2793ea(0x121))/0x6+-parseInt(_0x2793ea(0x11d))/0x7*(parseInt(_0x2793ea(0x120))/0x8)+-parseInt(_0x2793ea(0x119))/0x9*(-parseInt(_0x2793ea(0x11a))/0xa)+-parseInt(_0x2793ea(0x11e))/0xb;if(_0xef3f7c===_0x52232e)break;else _0xe94b7e['push'](_0xe94b7e['shift']());}catch(_0x49a7b5){_0xe94b7e['push'](_0xe94b7e['shift']());}}}(a22_0x27ab,0xad22d));const {requireModule}=require(a22_0x75854a(0x124));require('../../helpers/setKeepAlive')();function a22_0x27ab(){const _0xa36ad7=['216xNWmaT','6359400epXtoI','7GHmEWN','6LlaZkV','../../helpers/helper','2081215DSRDDC','357788NlPAwT','8130411daiexJ','10WXOons','__webdriver','selenium-webdriver','277725GIPFNT','11954866ndmeWd','135804nCmTAK'];a22_0x27ab=function(){return _0xa36ad7;};return a22_0x27ab();}function a22_0x261c(_0x2910ca,_0xf7ab4e){const _0x27ab22=a22_0x27ab();return a22_0x261c=function(_0x261ce4,_0x27b7dc){_0x261ce4=_0x261ce4-0x117;let _0x597a23=_0x27ab22[_0x261ce4];return _0x597a23;},a22_0x261c(_0x2910ca,_0xf7ab4e);}const __wd__=requireModule(a22_0x75854a(0x11c));for(const key of Object['keys'](global[a22_0x75854a(0x11b)])){__wd__[key]=global[a22_0x75854a(0x11b)][key];}
1
+ const a22_0xcd6692=a22_0x4534;function a22_0x48fa(){const _0x571b66=['86185jEMtjo','443934esuepQ','19820uhUAEX','816408sSlDXO','1206lhtqWu','83452RREtUf','61600bGaVVi','__webdriver','../../helpers/setKeepAlive','selenium-webdriver','12776BujhvX','14qioPxC','keys','../../helpers/helper','4pCQszg','3135KotNsU'];a22_0x48fa=function(){return _0x571b66;};return a22_0x48fa();}(function(_0xb9fe3a,_0x23ee42){const _0x31b29e=a22_0x4534,_0xff48c2=_0xb9fe3a();while(!![]){try{const _0x345825=parseInt(_0x31b29e(0x71))/0x1+-parseInt(_0x31b29e(0x72))/0x2+parseInt(_0x31b29e(0x6f))/0x3+-parseInt(_0x31b29e(0x6a))/0x4*(-parseInt(_0x31b29e(0x6c))/0x5)+parseInt(_0x31b29e(0x6d))/0x6*(parseInt(_0x31b29e(0x67))/0x7)+-parseInt(_0x31b29e(0x66))/0x8*(-parseInt(_0x31b29e(0x70))/0x9)+parseInt(_0x31b29e(0x6e))/0xa*(-parseInt(_0x31b29e(0x6b))/0xb);if(_0x345825===_0x23ee42)break;else _0xff48c2['push'](_0xff48c2['shift']());}catch(_0x57f251){_0xff48c2['push'](_0xff48c2['shift']());}}}(a22_0x48fa,0x21f7b));const {requireModule}=require(a22_0xcd6692(0x69));require(a22_0xcd6692(0x74))();function a22_0x4534(_0x33509a,_0x45b0b4){const _0x48fa43=a22_0x48fa();return a22_0x4534=function(_0x453481,_0x15ec1e){_0x453481=_0x453481-0x65;let _0x31e416=_0x48fa43[_0x453481];return _0x31e416;},a22_0x4534(_0x33509a,_0x45b0b4);}const __wd__=requireModule(a22_0xcd6692(0x65));for(const key of Object[a22_0xcd6692(0x68)](global[a22_0xcd6692(0x73)])){__wd__[key]=global[a22_0xcd6692(0x73)][key];}
@@ -1 +1 @@
1
- const a23_0x1ebc84=a23_0x23ad;(function(_0x2f3049,_0x9da487){const _0x25fd05=a23_0x23ad,_0x345c10=_0x2f3049();while(!![]){try{const _0x319e78=parseInt(_0x25fd05(0x178))/0x1+parseInt(_0x25fd05(0x160))/0x2+-parseInt(_0x25fd05(0x16c))/0x3*(-parseInt(_0x25fd05(0x157))/0x4)+-parseInt(_0x25fd05(0x16e))/0x5+-parseInt(_0x25fd05(0x16f))/0x6*(parseInt(_0x25fd05(0x161))/0x7)+parseInt(_0x25fd05(0x164))/0x8*(-parseInt(_0x25fd05(0x17d))/0x9)+parseInt(_0x25fd05(0x177))/0xa*(parseInt(_0x25fd05(0x171))/0xb);if(_0x319e78===_0x9da487)break;else _0x345c10['push'](_0x345c10['shift']());}catch(_0x1b4e5d){_0x345c10['push'](_0x345c10['shift']());}}}(a23_0x2161,0x83357));function a23_0x23ad(_0x689436,_0x36a1de){const _0x216177=a23_0x2161();return a23_0x23ad=function(_0x23ad3c,_0x2d973a){_0x23ad3c=_0x23ad3c-0x156;let _0xd05a29=_0x216177[_0x23ad3c];return _0xd05a29;},a23_0x23ad(_0x689436,_0x36a1de);}const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x1ebc84(0x16b)),constants=require(a23_0x1ebc84(0x158)),{isAccessibilityAutomationSession}=require(a23_0x1ebc84(0x17b)),RequestQueueHandler=require(a23_0x1ebc84(0x159)),{isTestObservabilitySession}=require(a23_0x1ebc84(0x167)),helper=require(a23_0x1ebc84(0x16b));function a23_0x2161(){const _0x23458c=['__platform__','testsPending','NrIgp','_framework','514906nWHCVl','1318261Lpphwc','testsPassed','_mochaOpts','334664CHNtVH','testSuitesFailed','testSuites','../../helpers/test-observability/utils','resolvePaths','testsErrorMessage','testsAmbiguous','../../helpers/helper','69921JrORwy','_accessibilityAutomation','2039835aWcBfG','6rMGCfN','__platformCaps','667843PigFZB','configuration','_formatter','testsSkipped','testsUndefined','formatter','10DgXHfC','524515KHkSfk','setupCucumber','_testObservability','../../helpers/accessibility-automation/helper','split','153aIPiQL','totalTests','_argv','testsFailed','sZedR','172LMldRx','../utils/constants','../../helpers/test-observability/requestQueueHandler','UbgFe','_configuration'];a23_0x2161=function(){return _0x23458c;};return a23_0x2161();}class Launcher{constructor(_0x532c06,_0x178a49,_0x24f5e6,_0x5e0921=[]){const _0x11aba3=a23_0x1ebc84,_0x2fd456={'sZedR':'17|1|7|16|11|21|3|15|14|12|8|20|0|4|2|9|13|5|18|19|10|6','NrIgp':function(_0x298fb8){return _0x298fb8();},'UbgFe':function(_0x22ba7a){return _0x22ba7a();}},_0x34b2d6=_0x2fd456[_0x11aba3(0x156)][_0x11aba3(0x17c)]('|');let _0x11a7ab=0x0;while(!![]){switch(_0x34b2d6[_0x11a7ab++]){case'0':global[_0x11aba3(0x17e)]=0x0;continue;case'1':this['_configuration']=_0x178a49[_0x11aba3(0x172)]||{};continue;case'2':global[_0x11aba3(0x180)]=0x0;continue;case'3':this[_0x11aba3(0x17f)]=_0x5e0921;continue;case'4':global[_0x11aba3(0x162)]=0x0;continue;case'5':global[_0x11aba3(0x165)]=0x0;continue;case'6':global[_0x11aba3(0x169)]={};continue;case'7':this[_0x11aba3(0x163)]=_0x178a49['mochaOpts'];continue;case'8':global[_0x11aba3(0x170)]=this[_0x11aba3(0x15b)]['platformCaps']||{};continue;case'9':global[_0x11aba3(0x15d)]=0x0;continue;case'10':global[_0x11aba3(0x16a)]=0x0;continue;case'11':this['_capability']=this[_0x11aba3(0x15b)]['capability'];continue;case'12':this[_0x11aba3(0x16d)]=_0x2fd456[_0x11aba3(0x15e)](isAccessibilityAutomationSession);continue;case'13':global[_0x11aba3(0x174)]=0x0;continue;case'14':this[_0x11aba3(0x17a)]=_0x2fd456[_0x11aba3(0x15a)](isTestObservabilitySession);continue;case'15':this['_bsConfig']=_0x24f5e6;continue;case'16':this[_0x11aba3(0x173)]=_0x178a49[_0x11aba3(0x176)];continue;case'17':this[_0x11aba3(0x15f)]=_0x532c06;continue;case'18':global[_0x11aba3(0x175)]=0x0;continue;case'19':global['testsUnknown']=0x0;continue;case'20':global[_0x11aba3(0x166)]=0x0;continue;case'21':global[_0x11aba3(0x15c)]=this[_0x11aba3(0x15b)]['platform'];continue;}break;}}[a23_0x1ebc84(0x179)](_0xaa6d62,_0x43829e,_0x55e56f){const _0x55bf1b=a23_0x1ebc84,_0x5a3c1a=_0xaa6d62[_0x55bf1b(0x168)];_0xaa6d62.resolvePaths=async function(){const pathResults=await _0x5a3c1a.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x55e56f));return pathResults;},_0x43829e.push('--format'),_0x43829e.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
1
+ const a23_0x3a3300=a23_0x5d8f;(function(_0x2e7f94,_0x335e3e){const _0xa24ecc=a23_0x5d8f,_0x365c62=_0x2e7f94();while(!![]){try{const _0x30dd99=parseInt(_0xa24ecc(0x1c7))/0x1*(parseInt(_0xa24ecc(0x1e0))/0x2)+-parseInt(_0xa24ecc(0x1f1))/0x3*(-parseInt(_0xa24ecc(0x1e9))/0x4)+-parseInt(_0xa24ecc(0x1db))/0x5*(-parseInt(_0xa24ecc(0x1cb))/0x6)+-parseInt(_0xa24ecc(0x1e1))/0x7*(-parseInt(_0xa24ecc(0x1d2))/0x8)+parseInt(_0xa24ecc(0x1c9))/0x9*(-parseInt(_0xa24ecc(0x1d5))/0xa)+parseInt(_0xa24ecc(0x1e8))/0xb+-parseInt(_0xa24ecc(0x1d0))/0xc*(parseInt(_0xa24ecc(0x1ec))/0xd);if(_0x30dd99===_0x335e3e)break;else _0x365c62['push'](_0x365c62['shift']());}catch(_0xe2ac71){_0x365c62['push'](_0x365c62['shift']());}}}(a23_0x4fdd,0xc68ba));const path=require(a23_0x3a3300(0x1d4)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require('../../helpers/helper'),constants=require(a23_0x3a3300(0x1ed)),{isAccessibilityAutomationSession}=require(a23_0x3a3300(0x1d9)),RequestQueueHandler=require(a23_0x3a3300(0x1c8)),{isTestObservabilitySession}=require(a23_0x3a3300(0x1e2)),helper=require(a23_0x3a3300(0x1df));class Launcher{constructor(_0x20cb27,_0x33148d,_0xe03399,_0x45fb90=[]){const _0x3b1269=a23_0x3a3300,_0x252634={'ZfvKV':_0x3b1269(0x1dd),'NxDCM':function(_0x2d6431){return _0x2d6431();},'Ipmle':function(_0x75de90){return _0x75de90();}},_0x362c84=_0x252634[_0x3b1269(0x1d8)][_0x3b1269(0x1cf)]('|');let _0x55891a=0x0;while(!![]){switch(_0x362c84[_0x55891a++]){case'0':global[_0x3b1269(0x1ea)]=0x0;continue;case'1':global[_0x3b1269(0x1e3)]=this['_configuration']['platformCaps']||{};continue;case'2':global[_0x3b1269(0x1d6)]=0x0;continue;case'3':global[_0x3b1269(0x1ca)]=0x0;continue;case'4':global[_0x3b1269(0x1c5)]=0x0;continue;case'5':this[_0x3b1269(0x1cc)]=_0x33148d['formatter'];continue;case'6':this[_0x3b1269(0x1ee)]=_0x33148d[_0x3b1269(0x1c6)]||{};continue;case'7':this[_0x3b1269(0x1e6)]=_0x20cb27;continue;case'8':global[_0x3b1269(0x1e4)]=0x0;continue;case'9':this[_0x3b1269(0x1e7)]=_0x33148d['mochaOpts'];continue;case'10':this[_0x3b1269(0x1de)]=_0x252634[_0x3b1269(0x1d3)](isTestObservabilitySession);continue;case'11':global[_0x3b1269(0x1dc)]=0x0;continue;case'12':global['testsUndefined']=0x0;continue;case'13':this['_argv']=_0x45fb90;continue;case'14':global[_0x3b1269(0x1ef)]=0x0;continue;case'15':global[_0x3b1269(0x1cd)]=0x0;continue;case'16':global[_0x3b1269(0x1da)]=0x0;continue;case'17':global['__platform__']=this[_0x3b1269(0x1ee)][_0x3b1269(0x1d7)];continue;case'18':this[_0x3b1269(0x1e5)]=this[_0x3b1269(0x1ee)][_0x3b1269(0x1c4)];continue;case'19':this[_0x3b1269(0x1d1)]=_0x252634['Ipmle'](isAccessibilityAutomationSession);continue;case'20':global[_0x3b1269(0x1f0)]={};continue;case'21':this[_0x3b1269(0x1ce)]=_0xe03399;continue;}break;}}[a23_0x3a3300(0x1c3)](_0x38a65a,_0x3104a8,_0x13c216){const _0x343c87=a23_0x3a3300,_0x32a68b=_0x38a65a[_0x343c87(0x1eb)];_0x38a65a.resolvePaths=async function(){const pathResults=await _0x32a68b.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x13c216));return pathResults;},_0x3104a8.push('--format'),_0x3104a8.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;function a23_0x5d8f(_0x40439b,_0x1c37c5){const _0x4fddd7=a23_0x4fdd();return a23_0x5d8f=function(_0x5d8f86,_0xf21563){_0x5d8f86=_0x5d8f86-0x1c3;let _0x1af68d=_0x4fddd7[_0x5d8f86];return _0x1af68d;},a23_0x5d8f(_0x40439b,_0x1c37c5);}function a23_0x4fdd(){const _0x24128e=['411690yQoaUo','testSuitesFailed','platform','ZfvKV','../../helpers/accessibility-automation/helper','testsFailed','2797540ANVhlD','testsAmbiguous','7|6|9|5|18|17|13|21|10|19|1|8|0|15|16|4|3|2|12|14|11|20','_testObservability','../../helpers/helper','6998gbKdAz','394751HoYRCH','../../helpers/test-observability/utils','__platformCaps','testSuites','_capability','_framework','_mochaOpts','3595075PNPpEV','4yfrVKO','totalTests','resolvePaths','6214hhGwJo','../utils/constants','_configuration','testsUnknown','testsErrorMessage','1027875cySMWf','setupCucumber','capability','testsPending','configuration','67RTdtpu','../../helpers/test-observability/requestQueueHandler','144KuuSfT','testsSkipped','12wMkJXL','_formatter','testsPassed','_bsConfig','split','52056WgfYSM','_accessibilityAutomation','216IlWniG','NxDCM','path'];a23_0x4fdd=function(){return _0x24128e;};return a23_0x4fdd();}
@@ -1 +1 @@
1
- function a24_0x436a(_0x536c71,_0x126e1c){const _0xbd9340=a24_0xbd93();return a24_0x436a=function(_0x436a98,_0x5ee48b){_0x436a98=_0x436a98-0xf9;let _0x378fdd=_0xbd9340[_0x436a98];return _0x378fdd;},a24_0x436a(_0x536c71,_0x126e1c);}const a24_0x26ae3b=a24_0x436a;(function(_0x270fc,_0x486b3b){const _0x4b4434=a24_0x436a,_0x4d4a43=_0x270fc();while(!![]){try{const _0x3d159b=parseInt(_0x4b4434(0x131))/0x1*(-parseInt(_0x4b4434(0x137))/0x2)+-parseInt(_0x4b4434(0x134))/0x3*(parseInt(_0x4b4434(0x139))/0x4)+-parseInt(_0x4b4434(0x107))/0x5*(-parseInt(_0x4b4434(0x144))/0x6)+parseInt(_0x4b4434(0x102))/0x7*(-parseInt(_0x4b4434(0x130))/0x8)+parseInt(_0x4b4434(0x13e))/0x9*(parseInt(_0x4b4434(0x13b))/0xa)+-parseInt(_0x4b4434(0x113))/0xb+parseInt(_0x4b4434(0x143))/0xc*(parseInt(_0x4b4434(0x142))/0xd);if(_0x3d159b===_0x486b3b)break;else _0x4d4a43['push'](_0x4d4a43['shift']());}catch(_0x237c82){_0x4d4a43['push'](_0x4d4a43['shift']());}}}(a24_0xbd93,0x6b214));const path=require(a24_0x26ae3b(0x12b)),os=require('os'),util=require('util'),bsSetupHelper=require(a24_0x26ae3b(0x105)),globals=require(a24_0x26ae3b(0xfa)),logger=require('../../../helpers/logger')[a24_0x26ae3b(0x149)];function a24_0xbd93(){const _0xc71153=['options_','TeMkO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','mrULF','setAccessibilityCapabilities','browser_version','XGoWX','get','YxxWO','__cloud_provider___','path','browserstack','setExtension','warn','Options','23672Fjvsmm','773AOBjEV','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','bstack:options','27kBihxE','LhFKe','includes','34uXIYlY','scannerVersion','49132PSsLud','chromeOptions_','7313470gcvnAp','BfOsG','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','9XZpKov','args','selenium-webdriver/chrome.js','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','77103FrBeoe','588jgBlzq','6DHjADm','NKmwJ','browserVersion','DHpdi','wtLbg','winstonLogger','accessibilityOptions','parse','env','deviceName','itlYy','../../../helpers/globals','oLizI','BS_A11Y_JWT','capability','NPTZE','ptRwS','--headless','huDGo','1337RtQpgu','getBrowserName','getCapabilities','../../../helpers/helper','gqPpR','2135435HzDdof','epThZ','TxIFr','romHm','ZPjaz','toLowerCase','browserstack.accessibility','IvxKo','nestedKeyValue','Exception\x20in\x20setExtension\x20Error:\x20','accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','3535312uFlQwL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserName','chromeOptions','debug','format','authToken','KiVjd','capabilities_','isUndefined','getPlatformVersion','vLYDQ','setGlobal','getBrowserVersion'];a24_0xbd93=function(){return _0xc71153;};return a24_0xbd93();}exports[a24_0x26ae3b(0x125)]=_0x3d51b7=>{const _0xd58f46=a24_0x26ae3b,_0x24c404={};_0x24c404[_0xd58f46(0x10a)]=_0xd58f46(0x133),_0x24c404[_0xd58f46(0xff)]=_0xd58f46(0x10d),_0x24c404['itlYy']='isAccessibilityPlatform',_0x24c404[_0xd58f46(0xfe)]='browserstack.accessibilityOptions';const _0x427bdc=_0x24c404;try{const _0x120ef9=_0x3d51b7[_0xd58f46(0xfd)]||{};if(_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]]&&_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x111)]||_0x3d51b7[_0xd58f46(0xfd)][_0x427bdc[_0xd58f46(0xff)]]){globals[_0xd58f46(0x11f)](_0x427bdc[_0xd58f46(0xf9)],!![]);if(_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]]){if(_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)])_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)][_0xd58f46(0x119)]=process['env'][_0xd58f46(0xfc)];else{const _0x5d6b0a={};_0x5d6b0a['authToken']=process[_0xd58f46(0x14c)][_0xd58f46(0xfc)],_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)]=_0x5d6b0a;}_0x120ef9[_0x427bdc[_0xd58f46(0x10a)]][_0xd58f46(0x14a)][_0xd58f46(0x138)]=JSON[_0xd58f46(0x14b)](process[_0xd58f46(0x14c)][_0xd58f46(0x112)])[_0xd58f46(0x138)];}else{if(_0x3d51b7[_0xd58f46(0xfd)][_0x427bdc[_0xd58f46(0xff)]]){if(_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]])_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]][_0xd58f46(0x119)]=process[_0xd58f46(0x14c)][_0xd58f46(0xfc)];else{const _0x1f6b13={};_0x1f6b13['authToken']=process['env'][_0xd58f46(0xfc)],_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]]=_0x1f6b13;}_0x120ef9[_0x427bdc[_0xd58f46(0xfe)]][_0xd58f46(0x138)]=JSON[_0xd58f46(0x14b)](process[_0xd58f46(0x14c)][_0xd58f46(0x112)])[_0xd58f46(0x138)];}}}}catch(_0x14a1ac){logger[_0xd58f46(0x117)](_0xd58f46(0x132)+_0x14a1ac);}},exports[a24_0x26ae3b(0x12d)]=(_0x2ebea6,_0x848860)=>{const _0x4b304e=a24_0x26ae3b,_0x1f9d60={};_0x1f9d60[_0x4b304e(0xfb)]='bstack:options',_0x1f9d60['vLYDQ']=function(_0x5f2408,_0x3fef90){return _0x5f2408!==_0x3fef90;},_0x1f9d60[_0x4b304e(0x109)]=_0x4b304e(0x114),_0x1f9d60[_0x4b304e(0x106)]=function(_0x37082e,_0xa95f2d){return _0x37082e!==_0xa95f2d;},_0x1f9d60[_0x4b304e(0x101)]='chrome',_0x1f9d60[_0x4b304e(0x108)]=_0x4b304e(0x123),_0x1f9d60[_0x4b304e(0x13c)]=function(_0x3bb489,_0x283c68){return _0x3bb489===_0x283c68;},_0x1f9d60[_0x4b304e(0x122)]='latest',_0x1f9d60[_0x4b304e(0x135)]=function(_0x5bf4c7,_0x532d3f){return _0x5bf4c7>_0x532d3f;},_0x1f9d60[_0x4b304e(0x147)]=_0x4b304e(0x141),_0x1f9d60['wtLbg']=_0x4b304e(0x140),_0x1f9d60[_0x4b304e(0x124)]=_0x4b304e(0x121),_0x1f9d60[_0x4b304e(0x145)]=_0x4b304e(0x13f),_0x1f9d60['XGoWX']=_0x4b304e(0x116),_0x1f9d60['KiVjd']=_0x4b304e(0x100),_0x1f9d60[_0x4b304e(0x10b)]=_0x4b304e(0x13d);const _0x847c97=_0x1f9d60;try{const _0x55a3f8=_0x848860[_0x4b304e(0xfd)]||{},_0x4a1321=(_0x55a3f8[_0x847c97[_0x4b304e(0xfb)]]?_0x55a3f8[_0x847c97['oLizI']][_0x4b304e(0x14d)]:_0x55a3f8['device'])||'';if(_0x847c97[_0x4b304e(0x11e)](_0x4a1321,''))return logger[_0x4b304e(0x12e)](_0x847c97['TxIFr']),![];const _0x2828f4=_0x55a3f8[_0x4b304e(0x115)];if(_0x847c97[_0x4b304e(0x106)](_0x2828f4[_0x4b304e(0x10c)](),_0x847c97[_0x4b304e(0x101)]))return logger[_0x4b304e(0x12e)](_0x847c97[_0x4b304e(0x108)]),![];const _0x307060=_0x55a3f8[_0x4b304e(0x146)]||_0x55a3f8[_0x4b304e(0x126)];if(!bsSetupHelper[_0x4b304e(0x11c)](_0x307060)&&!(_0x847c97[_0x4b304e(0x13c)](_0x307060,_0x847c97[_0x4b304e(0x122)])||_0x847c97[_0x4b304e(0x135)](_0x307060,0x5e)))return logger['warn'](_0x847c97[_0x4b304e(0x147)]),![];let _0x209f86;try{_0x209f86=bsSetupHelper['requireModule'](_0x847c97[_0x4b304e(0x148)]);}catch(_0x2944e6){return![];}const _0x334ae4=new _0x209f86[(_0x4b304e(0x12f))](_0x2ebea6[_0x4b304e(0x13a)]),_0x4c9d81=bsSetupHelper[_0x4b304e(0x10f)](_0x334ae4,[_0x847c97[_0x4b304e(0x124)],_0x847c97[_0x4b304e(0x145)]])||bsSetupHelper[_0x4b304e(0x10f)](_0x2ebea6['capabilities_'][_0x4b304e(0x128)](_0x847c97[_0x4b304e(0xfb)]),[_0x847c97[_0x4b304e(0x127)],_0x847c97[_0x4b304e(0x145)]])||bsSetupHelper['nestedKeyValue'](_0x2ebea6[_0x4b304e(0x11b)][_0x4b304e(0x128)](_0x847c97['XGoWX']),[_0x847c97[_0x4b304e(0x145)]])||[];if(_0x4c9d81[_0x4b304e(0x136)](_0x847c97[_0x4b304e(0x11a)]))return logger['warn'](_0x847c97[_0x4b304e(0x10b)]),![];return!![];}catch(_0x125dfd){logger['debug'](_0x4b304e(0x110)+util[_0x4b304e(0x118)](_0x125dfd));}return![];},exports['fetchPlatformDetails']=async _0x1cfb63=>{const _0x5d8c03=a24_0x26ae3b,_0x57973e={};_0x57973e['IvxKo']=function(_0x3be26b,_0x120601){return _0x3be26b===_0x120601;},_0x57973e[_0x5d8c03(0x129)]=_0x5d8c03(0x12c);const _0x362a8e=_0x57973e;let _0x111cf1={};try{const _0x3e6de6=await _0x1cfb63[_0x5d8c03(0x104)]();_0x111cf1={'os_name':_0x3e6de6['getPlatform'](),'os_version':bsSetupHelper[_0x5d8c03(0x11d)](_0x362a8e[_0x5d8c03(0x10e)](global[_0x5d8c03(0x12a)],_0x362a8e[_0x5d8c03(0x129)])),'browser_name':_0x3e6de6[_0x5d8c03(0x103)](),'browser_version':_0x3e6de6[_0x5d8c03(0x120)]()};}catch(_0x245c10){logger[_0x5d8c03(0x117)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x245c10);}return _0x111cf1;};
1
+ function a24_0x57b2(){const _0x225dd3=['3097045BEFOeB','capabilities_','env','winstonLogger','../../../helpers/globals','browser_version','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','setExtension','latest','parse','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','LUwyj','Options','Exception\x20in\x20setExtension\x20Error:\x20','sOSxa','6LdzRPS','3600432wvVbkU','isAccessibilityPlatform','IbNnx','vanuR','accessibilityOptions','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','3530136awLQQq','browserVersion','zOoss','accessibility','FlABO','authToken','QGizt','capability','BS_A11Y_JWT','args','PIwli','__cloud_provider___','get','nestedKeyValue','UoAtU','bstack:options','86452UOokHU','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','deviceName','debug','../../../helpers/helper','chrome','warn','kFkoT','util','OWebF','TxIRA','browserName','KeCcG','chromeOptions','FTRnT','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','selenium-webdriver/chrome.js','Xtelz','baoHm','2089820ioCKcz','aBlli','344985CmRXDy','options_','9842436FMDfhS','fetchPlatformDetails','path','DEJiJ','ijxVP','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','chromeOptions_','browserstack.accessibility','toLowerCase','LtEut','17dITlpT','scannerVersion','QcEaI'];a24_0x57b2=function(){return _0x225dd3;};return a24_0x57b2();}function a24_0x356b(_0x5dbfbb,_0x41a48f){const _0x57b2e2=a24_0x57b2();return a24_0x356b=function(_0x356b45,_0x469a21){_0x356b45=_0x356b45-0x13d;let _0x3a807b=_0x57b2e2[_0x356b45];return _0x3a807b;},a24_0x356b(_0x5dbfbb,_0x41a48f);}const a24_0x2de8f7=a24_0x356b;(function(_0x12b450,_0x4ac290){const _0x498f88=a24_0x356b,_0x193fae=_0x12b450();while(!![]){try{const _0x25fdfd=-parseInt(_0x498f88(0x16f))/0x1*(-parseInt(_0x498f88(0x14e))/0x2)+parseInt(_0x498f88(0x181))/0x3*(-parseInt(_0x498f88(0x161))/0x4)+parseInt(_0x498f88(0x163))/0x5+parseInt(_0x498f88(0x13e))/0x6+-parseInt(_0x498f88(0x172))/0x7+-parseInt(_0x498f88(0x182))/0x8+parseInt(_0x498f88(0x165))/0x9;if(_0x25fdfd===_0x4ac290)break;else _0x193fae['push'](_0x193fae['shift']());}catch(_0xefee57){_0x193fae['push'](_0x193fae['shift']());}}}(a24_0x57b2,0x85e30));const path=require(a24_0x2de8f7(0x167)),os=require('os'),util=require(a24_0x2de8f7(0x156)),bsSetupHelper=require(a24_0x2de8f7(0x152)),globals=require(a24_0x2de8f7(0x176)),logger=require('../../../helpers/logger')[a24_0x2de8f7(0x175)];exports['setAccessibilityCapabilities']=_0x2feb59=>{const _0x64033b=a24_0x2de8f7,_0x52070a={};_0x52070a[_0x64033b(0x15f)]=_0x64033b(0x14d),_0x52070a[_0x64033b(0x15a)]=_0x64033b(0x16c),_0x52070a[_0x64033b(0x168)]=_0x64033b(0x183),_0x52070a[_0x64033b(0x160)]='browserstack.accessibilityOptions';const _0x435dc3=_0x52070a;try{const _0x187e4f=_0x2feb59[_0x64033b(0x145)]||{};if(_0x187e4f[_0x435dc3[_0x64033b(0x15f)]]&&_0x187e4f[_0x435dc3[_0x64033b(0x15f)]][_0x64033b(0x141)]||_0x2feb59['capability'][_0x435dc3[_0x64033b(0x15a)]]){globals['setGlobal'](_0x435dc3[_0x64033b(0x168)],!![]);if(_0x187e4f[_0x435dc3['Xtelz']]){if(_0x187e4f[_0x435dc3['Xtelz']][_0x64033b(0x186)])_0x187e4f[_0x435dc3[_0x64033b(0x15f)]][_0x64033b(0x186)]['authToken']=process[_0x64033b(0x174)]['BS_A11Y_JWT'];else{const _0x13046c={};_0x13046c['authToken']=process[_0x64033b(0x174)][_0x64033b(0x146)],_0x187e4f[_0x435dc3[_0x64033b(0x15f)]][_0x64033b(0x186)]=_0x13046c;}_0x187e4f[_0x435dc3['Xtelz']][_0x64033b(0x186)]['scannerVersion']=JSON[_0x64033b(0x17b)](process[_0x64033b(0x174)][_0x64033b(0x14f)])[_0x64033b(0x170)];}else{if(_0x2feb59[_0x64033b(0x145)][_0x435dc3[_0x64033b(0x15a)]]){if(_0x187e4f[_0x435dc3[_0x64033b(0x160)]])_0x187e4f[_0x435dc3[_0x64033b(0x160)]][_0x64033b(0x143)]=process['env'][_0x64033b(0x146)];else{const _0x47c924={};_0x47c924['authToken']=process[_0x64033b(0x174)][_0x64033b(0x146)],_0x187e4f[_0x435dc3[_0x64033b(0x160)]]=_0x47c924;}_0x187e4f[_0x435dc3['baoHm']]['scannerVersion']=JSON[_0x64033b(0x17b)](process[_0x64033b(0x174)][_0x64033b(0x14f)])['scannerVersion'];}}}}catch(_0x33dd5e){logger[_0x64033b(0x151)](_0x64033b(0x15d)+_0x33dd5e);}},exports[a24_0x2de8f7(0x179)]=(_0x2e21a1,_0x1cf30d)=>{const _0x25a9ed=a24_0x2de8f7,_0x2dd979={};_0x2dd979[_0x25a9ed(0x17d)]=_0x25a9ed(0x14d),_0x2dd979[_0x25a9ed(0x180)]=function(_0x3d8bc3,_0x1284ae){return _0x3d8bc3!==_0x1284ae;},_0x2dd979['OWebF']=_0x25a9ed(0x187),_0x2dd979[_0x25a9ed(0x140)]=_0x25a9ed(0x153),_0x2dd979[_0x25a9ed(0x148)]=_0x25a9ed(0x16a),_0x2dd979[_0x25a9ed(0x144)]=function(_0x59dbd1,_0x3ad513){return _0x59dbd1===_0x3ad513;},_0x2dd979[_0x25a9ed(0x142)]=_0x25a9ed(0x17a),_0x2dd979[_0x25a9ed(0x15c)]=function(_0x215581,_0x4e4bda){return _0x215581>_0x4e4bda;},_0x2dd979[_0x25a9ed(0x158)]=_0x25a9ed(0x13d),_0x2dd979['kFkoT']=_0x25a9ed(0x15e),_0x2dd979['UoAtU']=_0x25a9ed(0x164),_0x2dd979[_0x25a9ed(0x185)]=_0x25a9ed(0x147),_0x2dd979['aBlli']=_0x25a9ed(0x15b),_0x2dd979[_0x25a9ed(0x184)]='--headless',_0x2dd979[_0x25a9ed(0x171)]=_0x25a9ed(0x178);const _0x224ec7=_0x2dd979;try{const _0xdb24b6=_0x1cf30d[_0x25a9ed(0x145)]||{},_0x399f45=(_0xdb24b6[_0x224ec7[_0x25a9ed(0x17d)]]?_0xdb24b6[_0x224ec7['LUwyj']][_0x25a9ed(0x150)]:_0xdb24b6['device'])||'';if(_0x224ec7['sOSxa'](_0x399f45,''))return logger[_0x25a9ed(0x154)](_0x224ec7[_0x25a9ed(0x157)]),![];const _0x55778c=_0xdb24b6[_0x25a9ed(0x159)];if(_0x224ec7[_0x25a9ed(0x180)](_0x55778c[_0x25a9ed(0x16d)](),_0x224ec7[_0x25a9ed(0x140)]))return logger['warn'](_0x224ec7[_0x25a9ed(0x148)]),![];const _0x4f2d51=_0xdb24b6[_0x25a9ed(0x13f)]||_0xdb24b6[_0x25a9ed(0x177)];if(!bsSetupHelper['isUndefined'](_0x4f2d51)&&!(_0x224ec7[_0x25a9ed(0x144)](_0x4f2d51,_0x224ec7[_0x25a9ed(0x142)])||_0x224ec7['FTRnT'](_0x4f2d51,0x5e)))return logger['warn'](_0x224ec7['TxIRA']),![];let _0x30045a;try{_0x30045a=bsSetupHelper['requireModule'](_0x224ec7[_0x25a9ed(0x155)]);}catch(_0x2b5802){return![];}const _0xfbd530=new _0x30045a[(_0x25a9ed(0x17e))](_0x2e21a1[_0x25a9ed(0x16b)]),_0x3ca20f=bsSetupHelper[_0x25a9ed(0x14b)](_0xfbd530,[_0x224ec7[_0x25a9ed(0x14c)],_0x224ec7['vanuR']])||bsSetupHelper['nestedKeyValue'](_0x2e21a1[_0x25a9ed(0x173)][_0x25a9ed(0x14a)](_0x224ec7[_0x25a9ed(0x17d)]),[_0x224ec7[_0x25a9ed(0x162)],_0x224ec7[_0x25a9ed(0x185)]])||bsSetupHelper[_0x25a9ed(0x14b)](_0x2e21a1[_0x25a9ed(0x173)][_0x25a9ed(0x14a)](_0x224ec7[_0x25a9ed(0x162)]),[_0x224ec7['vanuR']])||[];if(_0x3ca20f['includes'](_0x224ec7[_0x25a9ed(0x184)]))return logger['warn'](_0x224ec7['QcEaI']),![];return!![];}catch(_0x4659d0){logger[_0x25a9ed(0x151)](_0x25a9ed(0x17f)+util['format'](_0x4659d0));}return![];},exports[a24_0x2de8f7(0x166)]=async _0x366492=>{const _0x111bad=a24_0x2de8f7,_0x58b8ad={};_0x58b8ad[_0x111bad(0x169)]=function(_0x2f0037,_0x465008){return _0x2f0037===_0x465008;},_0x58b8ad[_0x111bad(0x16e)]='browserstack';const _0x29464d=_0x58b8ad;let _0x21cca4={};try{const _0x155b55=await _0x366492['getCapabilities']();_0x21cca4={'os_name':_0x155b55['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0x29464d[_0x111bad(0x169)](global[_0x111bad(0x149)],_0x29464d['LtEut'])),'browser_name':_0x155b55['getBrowserName'](),'browser_version':_0x155b55['getBrowserVersion']()};}catch(_0x423261){logger[_0x111bad(0x151)](_0x111bad(0x17c)+_0x423261);}return _0x21cca4;};
@@ -1 +1 @@
1
- 'use strict';const a25_0x581da8=a25_0x3186;function a25_0x3186(_0x4b99b0,_0x2b39a5){const _0x1fb1b6=a25_0x1fb1();return a25_0x3186=function(_0x318688,_0x3930cb){_0x318688=_0x318688-0x1cf;let _0x44e024=_0x1fb1b6[_0x318688];return _0x44e024;},a25_0x3186(_0x4b99b0,_0x2b39a5);}(function(_0x1d3329,_0x3a236b){const _0x11a2c7=a25_0x3186,_0x39492a=_0x1d3329();while(!![]){try{const _0x400ae6=parseInt(_0x11a2c7(0x241))/0x1*(-parseInt(_0x11a2c7(0x205))/0x2)+parseInt(_0x11a2c7(0x278))/0x3+parseInt(_0x11a2c7(0x2cb))/0x4+parseInt(_0x11a2c7(0x2d3))/0x5+-parseInt(_0x11a2c7(0x2bd))/0x6+-parseInt(_0x11a2c7(0x272))/0x7+parseInt(_0x11a2c7(0x2d2))/0x8*(parseInt(_0x11a2c7(0x287))/0x9);if(_0x400ae6===_0x3a236b)break;else _0x39492a['push'](_0x39492a['shift']());}catch(_0x2706c8){_0x39492a['push'](_0x39492a['shift']());}}}(a25_0x1fb1,0x1f41b));function a25_0x1fb1(){const _0x1f9863=['markedStatus','testAnalyticsId','suiteCount','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','tuYFs','WWIIu','failure','KyHaX','\x20\x20<dd><pre><code>','result','retryOf','bs:addLog:','includes','xVZPo','getInstance','\x20(%dms)','logs','\x20\x20<dd\x20class=\x22error\x22>','after\x20each','YMUtk','backtrace','location_prefix','</h1>','ODzFX','TKJWz','331uzvqfS','</dt>','<h1>','wQbwg','findGitConfig','3|2|1|0|4','parent','oQqBq','test_run','config','testStarted','pid','fullTitle','MhNjI','QeIDm','roNNX','body','</dd>','failureCount','GnIGx','\x20\x20<dd\x20class=\x22error\x22><pre><code>','CBTSessionCreated','../../../helpers/test-observability/sessionHandler','qEXvS','scope','currentRetry','done','results','dgTJw','failed','__platform__','ktsXJ','Mocha','.js','toString','kLOXb','finalResults','<section\x20class=\x22suite\x22>','dot','Giare','appendTestPlatform','LLsqE','PtHGd','uuid','xunit','UKvJB','prototype','_buildCreated','IvUpA','1193493JyKPGk','qIjRr','title','CAwKE','yGJgY','duration','283671rTKyEp','slice','TuPnw','current_test','xCNqg','passed','indent','sendTestRunEvent','TestRunSkipped','\x20\x20%d)\x20%s','xLLAK','hookAnalyticsId','DznIF','</section>','failure_reason_expanded','117NdOhmc','titlePath','increaseIndent','getRootParentFile','AssertionError','IESgN','Runner','symbols','GrfbB','test','forEach','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','ppsDH','started_at','\x20with\x20error\x20:\x20','OlVRO','ctx','vDdTe','\x20%s','wiTaC','fMbPt','wZsKD','appendTestItemLog','CtUcD','mocha/lib/runnable.js','analyticsResult','runner','_testEnv','sep','qFAMC','nXxTA','../../../helpers/test-observability/constants','write','docAppend','FuDMI','color','call','POzrS','uploadEventData','hook_run_uuid','bright\x20yellow','FNqXT','wFqwT','DpujY','TkLWt','_testResults','eAVSX','scopes','LogCreated','_paths','Dtxyu','oJJAS','testObservability','WWXfn','905676wZeHAu','_upstreamConfig','../test-observability/mochaUtils','reporterOptions','decreaseIndent','RHzCn','constants','NlAGv','FFzpY','statSync','escape','state','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','../../../helpers/test-observability/utils','592044ehXUKz','bsConfig','spec','Reporter','multiple','after\x20all','root','132856aqYXZk','304270aeabGh','jCTlL','http_response','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','HwpJJ','bjtvr','removeAllListeners','tpZux','ZUXXD','AFTER_ALL','currentTest','jNgme','fast','JkRJH','comma','COMPLETED','clean','path','RZRKR','hook_type','PEAYy','aqHHT','BEFORE_EACH','bind','_indents','apply','\x20-\x20','expanded','mocha/lib/reporters/base.js','HookRunStarted','gtlLT','stdout','type','registerListeners','mocha/lib/reporters/','docHtml','ulsCc','event_type','test_run_uuid','VwZdL','VfKFj','before\x20all','toISOString','prXfv','hywIR','ArXKY','length','reporterOption','qeTBG','iTFiK','</code></pre></dd>','before\x20each','\x20\x20<dt>','lPeVf','util','consoleLog','BEFORE_ALL','push','VlTjP','WBENI','light','slow','xjFNo','isPending','AFTER_EACH','HookRunFinished','_currentRetry','file','current_hook','%s\x20-\x20%s','422SKaVLJ','now','suites','once','join','wRpKb','mocha/lib/utils.js','\x20\x20<dt\x20class=\x22error\x22>','mocha','RjSkS','zEWSR','Chqhd','KNJFv','relative','SjYLQ','integrations','TestRunFinished','MKwhN','sqigW','getTime','Plroe','pending','finished_at','__indents','TavNG','inspect','tphqZ','doc','speed','match','pass','</dl>','cotlR','WUlxP','err'];a25_0x1fb1=function(){return _0x1f9863;};return a25_0x1fb1();}const util=require(a25_0x581da8(0x1f5)),fs=require('fs'),path=require(a25_0x581da8(0x1d0)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a25_0x581da8(0x1db)),utils=requireModule(a25_0x581da8(0x20b)),color=Base[a25_0x581da8(0x2aa)],Mocha=requireModule(a25_0x581da8(0x20d)),Runnable=requireModule(a25_0x581da8(0x29f)),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),a25_0x168a37={};a25_0x168a37[a25_0x581da8(0x1e8)]=a25_0x581da8(0x1f7),a25_0x168a37[a25_0x581da8(0x2d0)]=a25_0x581da8(0x2dc),a25_0x168a37[a25_0x581da8(0x1f2)]=a25_0x581da8(0x1d5),a25_0x168a37[a25_0x581da8(0x23a)]=a25_0x581da8(0x1ff);const HOOK_TYPES_MAP=a25_0x168a37,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a25_0x581da8(0x28d)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x581da8(0x2c3)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x581da8(0x2bf)),{consoleHolder}=require(a25_0x581da8(0x2a6)),SessionHandler=require(a25_0x581da8(0x257)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x581da8(0x2ca)),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a25_0x581da8(0x236)]();class MyReporter{constructor(_0x8fe9d6,_0x36c8c5){const _0x109be4=a25_0x581da8,_0x28eb0b={'UKvJB':function(_0xcb7837,_0x29ef01){return _0xcb7837===_0x29ef01;},'Plroe':_0x109be4(0x2cd),'qIjRr':function(_0x5c442f,_0x1946c2){return _0x5c442f===_0x1946c2;},'jCTlL':function(_0x3cc9d1,_0x382480){return _0x3cc9d1+_0x382480;},'dKsjf':function(_0xf10c9f,_0x46f03c,_0x1e96eb){return _0xf10c9f(_0x46f03c,_0x1e96eb);},'SjYLQ':'green','IESgN':'%s\x20','RjSkS':function(_0x17616d,_0x40d2bc,_0x202f2c){return _0x17616d(_0x40d2bc,_0x202f2c);},'IvUpA':_0x109be4(0x1fb),'gtlLT':_0x109be4(0x204),'dgTJw':'RUNNING','lPeVf':function(_0x19132c,_0xf27b81){return _0x19132c===_0xf27b81;},'OlVRO':_0x109be4(0x220),'GrfbB':function(_0x8ffbc3,_0x1f3f1d){return _0x8ffbc3===_0x1f3f1d;},'ZUXXD':function(_0x55393c){return _0x55393c();},'hywIR':function(_0x384d01){return _0x384d01();},'RZRKR':_0x109be4(0x1dc),'CAwKE':_0x109be4(0x200),'AaYIT':_0x109be4(0x27d),'TuPnw':function(_0x2d5a3b,_0x2a4222){return _0x2d5a3b===_0x2a4222;},'qEXvS':_0x109be4(0x2df),'sqigW':function(_0x2588e8,_0x272e99){return _0x2588e8+_0x272e99;},'wiTaC':'checkmark','YgHYL':_0x109be4(0x223),'vDdTe':_0x109be4(0x299),'POzrS':function(_0x2037c7,_0x116cf3){return _0x2037c7+_0x116cf3;},'oQqBq':function(_0x606204,_0x5f2fd0,_0x18aba4){return _0x606204(_0x5f2fd0,_0x18aba4);},'iTFiK':function(_0x89e31b,_0x4f2b4f){return _0x89e31b+_0x4f2b4f;},'NlAGv':function(_0x48feee,_0x37b684,_0xfb7a68){return _0x48feee(_0x37b684,_0xfb7a68);},'XJTHl':function(_0x239672,_0x36110e,_0x544a3a){return _0x239672(_0x36110e,_0x544a3a);},'ulsCc':_0x109be4(0x237),'eAVSX':'fail','xVZPo':_0x109be4(0x281),'XbasR':function(_0x4cbe68,_0x488217){return _0x4cbe68===_0x488217;},'qeTBG':function(_0xfc1e82,_0x4c62cf){return _0xfc1e82+_0x4c62cf;},'Dtxyu':function(_0xca24c4,_0x4b662f,_0x13c5d4){return _0xca24c4(_0x4b662f,_0x13c5d4);},'LLsqE':_0x109be4(0x2af),'cotlR':function(_0x342c06,_0x180238,_0x296420){return _0x342c06(_0x180238,_0x296420);},'TkLWt':_0x109be4(0x2e2),'Chqhd':_0x109be4(0x267),'FuDMI':function(_0xac4816,_0x1e617e){return _0xac4816===_0x1e617e;},'roNNX':_0x109be4(0x1fc),'tpZux':_0x109be4(0x246),'MhNjI':_0x109be4(0x21a),'oJJAS':_0x109be4(0x280),'VwZdL':function(_0x52d598,_0xe477f1){return _0x52d598===_0xe477f1;},'nuPMO':function(_0x227710,_0x956e91){return _0x227710===_0x956e91;},'wFqwT':function(_0x2d20b0,_0xa7c285){return _0x2d20b0===_0xa7c285;},'qFAMC':function(_0x2283e3,_0x321e55){return _0x2283e3(_0x321e55);},'PtHGd':function(_0x4ff322){return _0x4ff322();},'vjQvV':function(_0x2e5fc6){return _0x2e5fc6();},'vxzCq':function(_0x38c38e,_0x85472f){return _0x38c38e===_0x85472f;},'NUXfB':_0x109be4(0x26d),'ppsDH':function(_0x1c508d,_0x29bf25){return _0x1c508d(_0x29bf25);},'TKJWz':function(_0x4afa90,_0x4b1d7d){return _0x4afa90!==_0x4b1d7d;}};this[_0x109be4(0x1df)]=_0x36c8c5[_0x109be4(0x1ee)][_0x109be4(0x1df)],this['testObservability']=_0x28eb0b[_0x109be4(0x1eb)](isTestObservabilitySession),Base[_0x109be4(0x2ab)](this,_0x8fe9d6,_0x36c8c5),this['_indents']=0x0,this['failCount']=0x0,this[_0x109be4(0x25c)]=[],this[_0x109be4(0x265)]=[],this[_0x109be4(0x22a)]=0x0,this[_0x109be4(0x270)]=![],this['_testResults']=[],this[_0x109be4(0x2a2)]=_0x28eb0b['vjQvV'](getTestEnv),this[_0x109be4(0x2b8)]=new PathHelper({'cwd':process['cwd']()},this['_testEnv'][_0x109be4(0x23d)]),this[_0x109be4(0x2be)]=_0x36c8c5[_0x109be4(0x1ee)][_0x109be4(0x2cc)],this[_0x109be4(0x1e0)]();_0x28eb0b['vxzCq'](this['type'],_0x28eb0b[_0x109be4(0x296)])&&(this[_0x109be4(0x1e2)]='',this[_0x109be4(0x21c)]=0x2);_0x8fe9d6['once'](EVENT_RUN_BEGIN,async()=>{const _0x408577=_0x109be4;_0x28eb0b[_0x408577(0x26e)](this['type'],_0x28eb0b[_0x408577(0x219)])&&Base[_0x408577(0x1f6)]();})['on'](EVENT_SUITE_BEGIN,_0x43d9fe=>{const _0xd63215=_0x109be4;if(_0x43d9fe[_0xd63215(0x2d1)])return;if(_0x28eb0b[_0xd63215(0x273)](this[_0xd63215(0x1df)],_0x28eb0b[_0xd63215(0x219)]))this[_0xd63215(0x289)](),Base[_0xd63215(0x1f6)](_0x28eb0b[_0xd63215(0x2d4)](_0x28eb0b[_0xd63215(0x2d4)](this[_0xd63215(0x27e)](),_0x28eb0b['dKsjf'](color,_0x28eb0b[_0xd63215(0x213)],_0x28eb0b[_0xd63215(0x28c)])),_0x28eb0b[_0xd63215(0x20e)](color,_0x28eb0b[_0xd63215(0x271)],_0x28eb0b[_0xd63215(0x1dd)])),_0x28eb0b[_0xd63215(0x25d)],_0x43d9fe[_0xd63215(0x274)],global[_0xd63215(0x25f)]);else _0x28eb0b[_0xd63215(0x1f4)](this['type'],_0x28eb0b['OlVRO'])&&(this[_0xd63215(0x2a8)](this[_0xd63215(0x27e)]()+_0xd63215(0x266)),++this[_0xd63215(0x21c)],this[_0xd63215(0x2a8)](this[_0xd63215(0x27e)]()+_0xd63215(0x243)+utils['escape'](_0x43d9fe['title']+_0xd63215(0x1d9)+global[_0xd63215(0x25f)])+_0xd63215(0x23e)),this[_0xd63215(0x2a8)](this[_0xd63215(0x27e)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x4cf820=>{const _0x594cbd=_0x109be4;if(_0x28eb0b['GrfbB'](this[_0x594cbd(0x2bb)],!![])){if(!_0x4cf820[_0x594cbd(0x283)])_0x4cf820['hookAnalyticsId']=_0x28eb0b['ZUXXD'](uuidv4);else _0x4cf820['markedStatus']&&(_0x4cf820[_0x594cbd(0x283)]=_0x28eb0b[_0x594cbd(0x1eb)](uuidv4),delete _0x4cf820[_0x594cbd(0x228)]);_0x4cf820[_0x594cbd(0x294)]=new Date()['toISOString'](),this[_0x594cbd(0x203)]=_0x4cf820,await this[_0x594cbd(0x27f)](_0x4cf820,undefined,![],_0x28eb0b[_0x594cbd(0x1d1)]);}})['on'](EVENT_HOOK_END,async _0x3b8a45=>{const _0x4ddbe3=_0x109be4;_0x28eb0b['UKvJB'](this['testObservability'],!![])&&(!_0x3b8a45[_0x4ddbe3(0x228)]&&(_0x3b8a45[_0x4ddbe3(0x228)]=!![],await this[_0x4ddbe3(0x27f)](_0x3b8a45,undefined,![],_0x28eb0b[_0x4ddbe3(0x275)])));})['on'](EVENT_SUITE_END,_0x22f64b=>{const _0x53773d=_0x109be4;if(_0x22f64b[_0x53773d(0x2d1)])return;if(_0x28eb0b['XbasR'](this[_0x53773d(0x1df)],_0x28eb0b[_0x53773d(0x219)]))Base[_0x53773d(0x1f6)](),Base[_0x53773d(0x1f6)](_0x28eb0b[_0x53773d(0x2ac)](_0x28eb0b[_0x53773d(0x1ef)](this['indent'](),_0x28eb0b[_0x53773d(0x2b9)](color,_0x28eb0b[_0x53773d(0x26a)],_0x28eb0b['IESgN'])),_0x28eb0b[_0x53773d(0x225)](color,_0x28eb0b[_0x53773d(0x271)],_0x28eb0b[_0x53773d(0x1dd)])),_0x28eb0b[_0x53773d(0x2b3)],_0x22f64b[_0x53773d(0x274)],global['__platform__']),this[_0x53773d(0x25c)][_0x53773d(0x291)](_0x7c8c09=>{const _0x74f375=_0x53773d;if(_0x28eb0b[_0x74f375(0x26e)](_0x7c8c09['state'],_0x28eb0b['AaYIT'])){var _0x180b07;_0x28eb0b[_0x74f375(0x27a)](_0x7c8c09['speed'],_0x28eb0b[_0x74f375(0x258)])?(_0x180b07=_0x28eb0b[_0x74f375(0x2d4)](_0x28eb0b[_0x74f375(0x217)](this[_0x74f375(0x27e)](),_0x28eb0b[_0x74f375(0x20e)](color,_0x28eb0b[_0x74f375(0x29a)],_0x28eb0b[_0x74f375(0x2d4)]('\x20\x20',Base[_0x74f375(0x28e)]['ok']))),_0x28eb0b['dKsjf'](color,_0x28eb0b['YgHYL'],_0x28eb0b[_0x74f375(0x298)])),Base[_0x74f375(0x1f6)](_0x180b07,_0x7c8c09[_0x74f375(0x274)])):(_0x180b07=_0x28eb0b['jCTlL'](_0x28eb0b[_0x74f375(0x2d4)](_0x28eb0b[_0x74f375(0x2ac)](this[_0x74f375(0x27e)](),_0x28eb0b[_0x74f375(0x248)](color,_0x28eb0b[_0x74f375(0x29a)],_0x28eb0b[_0x74f375(0x1f0)]('\x20\x20',Base['symbols']['ok']))),_0x28eb0b[_0x74f375(0x2c4)](color,_0x28eb0b['YgHYL'],_0x28eb0b[_0x74f375(0x298)])),_0x28eb0b['XJTHl'](color,_0x7c8c09[_0x74f375(0x221)],_0x28eb0b[_0x74f375(0x1e3)])),Base['consoleLog'](_0x180b07,_0x7c8c09[_0x74f375(0x274)],_0x7c8c09[_0x74f375(0x277)]));}else Base['consoleLog'](_0x28eb0b[_0x74f375(0x2ac)](this[_0x74f375(0x27e)](),_0x28eb0b[_0x74f375(0x2c4)](color,_0x28eb0b[_0x74f375(0x2b5)],_0x28eb0b[_0x74f375(0x235)])),++this['failCount'],_0x7c8c09['title']);}),this[_0x53773d(0x2c1)]();else _0x28eb0b[_0x53773d(0x1f4)](this[_0x53773d(0x1df)],_0x28eb0b[_0x53773d(0x296)])&&(this[_0x53773d(0x2a8)](this['indent']()+_0x53773d(0x224)),--this[_0x53773d(0x21c)],this['docAppend'](this['indent']()+_0x53773d(0x285)),--this[_0x53773d(0x21c)]);Array[_0x53773d(0x26f)][_0x53773d(0x1f8)][_0x53773d(0x1d8)](this[_0x53773d(0x265)],this[_0x53773d(0x25c)]),this[_0x53773d(0x25c)]=[];})['on'](EVENT_TEST_PASS,async _0x228ca2=>{const _0x14ba93=_0x109be4;this[_0x14ba93(0x25c)][_0x14ba93(0x1f8)]({'speed':_0x228ca2['speed'],'suite':_0x228ca2[_0x14ba93(0x247)][_0x14ba93(0x274)],'title':_0x228ca2[_0x14ba93(0x274)],'fullTitle':_0x228ca2['fullTitle'](),'duration':_0x228ca2[_0x14ba93(0x277)],'state':_0x228ca2[_0x14ba93(0x2c8)],'err':{},'currentRetry':_0x228ca2[_0x14ba93(0x25a)](),'titlePathV':_0x228ca2['titlePath'](),'isPending':_0x228ca2[_0x14ba93(0x1fe)]()});if(_0x28eb0b[_0x14ba93(0x273)](this[_0x14ba93(0x1df)],_0x28eb0b[_0x14ba93(0x210)]))_0x28eb0b['FuDMI'](_0x228ca2['speed'],_0x28eb0b[_0x14ba93(0x250)])?process[_0x14ba93(0x1de)][_0x14ba93(0x2a7)](Base['color'](_0x28eb0b[_0x14ba93(0x26a)],Base[_0x14ba93(0x28e)]['dot'])):process[_0x14ba93(0x1de)][_0x14ba93(0x2a7)](Base['color'](_0x228ca2[_0x14ba93(0x221)],Base[_0x14ba93(0x28e)][_0x14ba93(0x267)]));else{if(_0x28eb0b[_0x14ba93(0x273)](this[_0x14ba93(0x1df)],_0x28eb0b[_0x14ba93(0x296)])){this[_0x14ba93(0x2a8)](this[_0x14ba93(0x27e)]()+_0x14ba93(0x1f3)+utils['escape'](_0x228ca2[_0x14ba93(0x274)])+_0x14ba93(0x242)),this['docAppend'](this[_0x14ba93(0x27e)]()+'\x20\x20<dt>'+utils[_0x14ba93(0x2c7)](_0x228ca2[_0x14ba93(0x202)])+'</dt>');var _0x28607b=utils['escape'](utils[_0x14ba93(0x1cf)](_0x228ca2[_0x14ba93(0x251)]));this[_0x14ba93(0x2a8)](this[_0x14ba93(0x27e)]()+_0x14ba93(0x230)+_0x28607b+_0x14ba93(0x1f1));}}_0x28eb0b[_0x14ba93(0x273)](this[_0x14ba93(0x2bb)],!![])&&(!_0x228ca2[_0x14ba93(0x228)]&&(_0x228ca2['markedStatus']=!![],await this['sendTestRunEvent'](_0x228ca2)));})['on'](EVENT_TEST_FAIL,async(_0x23f8db,_0xf72b19)=>{const _0x5313c2=_0x109be4;this[_0x5313c2(0x25c)][_0x5313c2(0x1f8)]({'title':_0x23f8db[_0x5313c2(0x274)],'suite':_0x23f8db[_0x5313c2(0x247)]['title'],'state':_0x23f8db[_0x5313c2(0x2c8)],'err':{'message':util[_0x5313c2(0x21e)](_0xf72b19)},'fullTitle':_0x23f8db[_0x5313c2(0x24d)](),'speed':_0x23f8db[_0x5313c2(0x221)],'currentRetry':_0x23f8db[_0x5313c2(0x25a)](),'titlePathV':_0x23f8db[_0x5313c2(0x288)]()});if(_0x28eb0b[_0x5313c2(0x2a9)](this[_0x5313c2(0x1df)],_0x28eb0b[_0x5313c2(0x210)]))process[_0x5313c2(0x1de)]['write'](Base[_0x5313c2(0x2aa)](_0x28eb0b[_0x5313c2(0x2b5)],Base[_0x5313c2(0x28e)]['bang']));else{if(_0x28eb0b['XbasR'](this[_0x5313c2(0x1df)],_0x28eb0b[_0x5313c2(0x296)])){const _0x23de72=_0x28eb0b[_0x5313c2(0x2da)]['split']('|');let _0x29636f=0x0;while(!![]){switch(_0x23de72[_0x29636f++]){case'0':this[_0x5313c2(0x2a8)](this[_0x5313c2(0x27e)]()+_0x5313c2(0x255)+_0x214ff7+_0x5313c2(0x1f1));continue;case'1':var _0x214ff7=utils['escape'](utils[_0x5313c2(0x1cf)](_0x23f8db[_0x5313c2(0x251)]));continue;case'2':this[_0x5313c2(0x2a8)](this['indent']()+_0x5313c2(0x20c)+utils['escape'](_0x23f8db[_0x5313c2(0x202)])+_0x5313c2(0x242));continue;case'3':this[_0x5313c2(0x2a8)](this['indent']()+_0x5313c2(0x20c)+utils[_0x5313c2(0x2c7)](_0x23f8db[_0x5313c2(0x274)])+_0x5313c2(0x242));continue;case'4':this['docAppend'](this['indent']()+_0x5313c2(0x239)+utils[_0x5313c2(0x2c7)](_0x23f8db[_0x5313c2(0x227)])+_0x5313c2(0x252));continue;}break;}}}if(_0x28eb0b[_0x5313c2(0x1f4)](this[_0x5313c2(0x2bb)],!![])){if(!_0x23f8db[_0x5313c2(0x228)]){_0x23f8db['markedStatus']=!![];if(_0x23f8db[_0x5313c2(0x229)])await this[_0x5313c2(0x27f)](_0x23f8db,_0xf72b19);else _0x23f8db[_0x5313c2(0x283)]&&await this[_0x5313c2(0x27f)](_0x23f8db,_0xf72b19,![],_0x28eb0b['CAwKE']);}}})['on'](EVENT_TEST_PENDING,async _0x40f169=>{const _0x4e491c=_0x109be4;this[_0x4e491c(0x25c)][_0x4e491c(0x1f8)]({'title':_0x40f169[_0x4e491c(0x274)],'suite':_0x40f169['parent']['title'],'state':_0x40f169[_0x4e491c(0x2c8)],'err':{},'fullTitle':_0x40f169[_0x4e491c(0x24d)](),'speed':_0x40f169[_0x4e491c(0x221)],'currentRetry':_0x40f169['currentRetry'](),'titlePathV':_0x40f169['titlePath']()}),_0x28eb0b[_0x4e491c(0x27a)](this[_0x4e491c(0x1df)],_0x28eb0b[_0x4e491c(0x210)])&&process[_0x4e491c(0x1de)][_0x4e491c(0x2a7)](Base['color'](_0x28eb0b[_0x4e491c(0x24e)],Base[_0x4e491c(0x28e)][_0x4e491c(0x2e1)])),_0x28eb0b[_0x4e491c(0x28f)](this[_0x4e491c(0x2bb)],!![])&&(!_0x40f169[_0x4e491c(0x229)]&&(_0x40f169[_0x4e491c(0x229)]=_0x28eb0b[_0x4e491c(0x2db)](uuidv4)),!_0x40f169[_0x4e491c(0x228)]&&(_0x40f169['markedStatus']=!![],await this[_0x4e491c(0x27f)](_0x40f169,undefined,![],_0x28eb0b[_0x4e491c(0x2ba)])));})['on'](EVENT_TEST_BEGIN,async _0xbb791d=>{const _0x1e4dae=_0x109be4;_0x28eb0b['VwZdL'](this[_0x1e4dae(0x2bb)],!![])&&await this[_0x1e4dae(0x24b)](_0xbb791d);})['on'](EVENT_TEST_END,async _0xa7f208=>{const _0x576f72=_0x109be4;_0x28eb0b['nuPMO'](this['testObservability'],!![])&&(!_0xa7f208[_0x576f72(0x228)]&&(_0xa7f208[_0x576f72(0x228)]=!![],await this['sendTestRunEvent'](_0xa7f208)));})[_0x109be4(0x208)](EVENT_RUN_END,async()=>{const _0x3649f9=_0x109be4;try{if(_0x28eb0b[_0x3649f9(0x2b1)](this['testObservability'],!![])){const _0x5eccba=_0x28eb0b[_0x3649f9(0x2a4)](getHookSkippedTests,this[_0x3649f9(0x2a1)]['suite']);for(const _0x47cb91 of _0x5eccba){!_0x47cb91[_0x3649f9(0x229)]&&(_0x47cb91[_0x3649f9(0x229)]=_0x28eb0b[_0x3649f9(0x26b)](uuidv4)),await this[_0x3649f9(0x27f)](_0x47cb91,undefined,![],_0x28eb0b[_0x3649f9(0x2ba)]);}}}catch(_0x134dc3){_0x28eb0b[_0x3649f9(0x2a4)](debug,_0x3649f9(0x292)+_0x134dc3);}await requestQueueHandler['shutdown'](),_0x28eb0b[_0x3649f9(0x1e6)](this['type'],_0x28eb0b[_0x3649f9(0x296)])&&Base[_0x3649f9(0x1f6)](this[_0x3649f9(0x1e2)]);});if(this[_0x109be4(0x1df)]&&![_0x28eb0b['OlVRO'],_0x28eb0b['NUXfB'],_0x28eb0b[_0x109be4(0x219)],_0x28eb0b[_0x109be4(0x210)]][_0x109be4(0x234)](this[_0x109be4(0x1df)])){const _0x51f63f=this[_0x109be4(0x1df)]['trim']();this['Reporter']=null;try{this['Reporter']=_0x28eb0b[_0x109be4(0x2a4)](requireModule,_0x109be4(0x1e1)+_0x51f63f+_0x109be4(0x262));}catch{}if(_0x28eb0b[_0x109be4(0x27a)](this[_0x109be4(0x2ce)],null))try{this['Reporter']=_0x28eb0b[_0x109be4(0x293)](require,_0x51f63f);}catch(_0x2cba60){console['error']('Failed\x20to\x20load\x20reporter\x20'+_0x51f63f);}if(_0x28eb0b[_0x109be4(0x240)](this[_0x109be4(0x2ce)],null)){const _0x5b8b6c={};_0x5b8b6c[_0x109be4(0x2c0)]=_0x36c8c5[_0x109be4(0x1ee)],this['Reporter']=new this[(_0x109be4(0x2ce))](_0x8fe9d6,_0x5b8b6c);}}}[a25_0x581da8(0x27e)](){const _0x1ae62e=a25_0x581da8,_0x282b46={'IgXiX':function(_0x2aad8c,_0x3f7383){return _0x2aad8c(_0x3f7383);}};return _0x282b46['IgXiX'](Array,this[_0x1ae62e(0x1d7)])[_0x1ae62e(0x209)]('\x20\x20');}[a25_0x581da8(0x289)](){const _0x3f4b9d=a25_0x581da8;this[_0x3f4b9d(0x1d7)]++;}[a25_0x581da8(0x2c1)](){const _0x54e85f=a25_0x581da8;this[_0x54e85f(0x1d7)]--;}[a25_0x581da8(0x2a8)](_0x1171f7){const _0x1b7f88=a25_0x581da8;this[_0x1b7f88(0x1e2)]+=_0x1171f7;}[a25_0x581da8(0x25b)](_0x38ede3,_0x2850e4){const _0x43f090=a25_0x581da8,_0x48a72a={'xCNqg':function(_0x50d77b,_0x5eb70b){return _0x50d77b(_0x5eb70b);}},_0x45cafa={};_0x45cafa[_0x43f090(0x253)]=_0x38ede3,_0x45cafa[_0x43f090(0x25c)]=this['finalResults'],_0x48a72a[_0x43f090(0x27c)](_0x2850e4,_0x45cafa);}[a25_0x581da8(0x1e0)](){const _0x22733d=a25_0x581da8;process[_0x22733d(0x2d9)](_0x22733d(0x233)+process[_0x22733d(0x24c)]),process['on'](_0x22733d(0x233)+process[_0x22733d(0x24c)],this[_0x22733d(0x29d)][_0x22733d(0x1d6)](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process['pid']),process['on']('bs:addPlatformDetails:'+process[_0x22733d(0x24c)],this[_0x22733d(0x269)]['bind'](this));}[a25_0x581da8(0x24b)]=async _0x3ec774=>{const _0x4d0381=a25_0x581da8,_0x50f2cb={'wQbwg':function(_0x4ca909){return _0x4ca909();},'yGJgY':function(_0x138b72,_0x1a1c5d){return _0x138b72>_0x1a1c5d;},'Giare':function(_0x41f876,_0x3a6b59){return _0x41f876===_0x3a6b59;},'WWIIu':'TestRunStarted','Wyggi':function(_0x5378da,_0x515aff){return _0x5378da(_0x515aff);}};try{const _0x14c89e=this[_0x4d0381(0x27b)];this[_0x4d0381(0x27b)]=_0x3ec774,_0x3ec774[_0x4d0381(0x232)]=null,_0x3ec774[_0x4d0381(0x229)]=_0x50f2cb[_0x4d0381(0x244)](uuidv4),_0x3ec774[_0x4d0381(0x294)]=new Date()[_0x4d0381(0x1e9)](),_0x50f2cb[_0x4d0381(0x276)](_0x3ec774[_0x4d0381(0x201)],0x0)&&_0x14c89e&&_0x50f2cb[_0x4d0381(0x268)](_0x14c89e[_0x4d0381(0x274)],_0x3ec774[_0x4d0381(0x274)])?(_0x3ec774['retryOf']=_0x14c89e[_0x4d0381(0x229)],await this[_0x4d0381(0x27f)](_0x3ec774,undefined,![],_0x50f2cb[_0x4d0381(0x22d)]),_0x14c89e[_0x4d0381(0x2c8)]=STATE_FAILED,await this[_0x4d0381(0x27f)](_0x14c89e,undefined,!![])):await this['sendTestRunEvent'](_0x3ec774,undefined,![],_0x50f2cb[_0x4d0381(0x22d)]);}catch(_0x512b70){_0x50f2cb['Wyggi'](debug,_0x4d0381(0x22b)+_0x512b70);}};[a25_0x581da8(0x27f)]=async(_0xfd68fa,_0xe44f6a=undefined,_0x45b4fa=![],_0xe85ba4='TestRunFinished')=>{const _0xa35522=a25_0x581da8,_0x388a20={'RHzCn':function(_0x5f5455,_0x1b334a){return _0x5f5455===_0x1b334a;},'wRpKb':function(_0xf8d461,_0x22e6cc){return _0xf8d461!==_0x22e6cc;},'aXmEJ':_0xa35522(0x290),'FFzpY':'err','dkIFS':function(_0x2a4cce,_0x3de914){return _0x2a4cce!==_0x3de914;},'tphqZ':function(_0x1b8771,_0x3856a3){return _0x1b8771!==_0x3856a3;},'bjtvr':function(_0x2d282a,_0x3eb168){return _0x2d282a!==_0x3eb168;},'tuYFs':'File\x20path\x20could\x20not\x20be\x20found','YMUtk':_0xa35522(0x261),'WBENI':'javascript','zEWSR':_0xa35522(0x280),'VfKFj':'skipped','DpujY':function(_0x1f8a78,_0x35499a){return _0x1f8a78-_0x35499a;},'xjFNo':_0xa35522(0x28b),'ODzFX':'UnhandledError','VlTjP':function(_0x1f53af,_0x44f77c){return _0x1f53af===_0x44f77c;},'prXfv':'started_at','WWXfn':_0xa35522(0x21b),'HwpJJ':function(_0x954ae3,_0x289263){return _0x954ae3(_0x289263);},'QeIDm':_0xa35522(0x200),'ritKU':function(_0x19265c,_0xb0cc17){return _0x19265c!==_0xb0cc17;},'tYNER':_0xa35522(0x25e),'buSnn':'passed','ktsXJ':'before\x20each','MKwhN':_0xa35522(0x22e),'jNgme':'failure_backtrace','KyHaX':_0xa35522(0x23c),'KNJFv':_0xa35522(0x286),'hKvWz':_0xa35522(0x1da),'bhKCR':_0xa35522(0x215),'WUlxP':_0xa35522(0x1d2),'fMbPt':'hook_run','JkRJH':'test_run','GnIGx':function(_0x226d66,_0x329e41){return _0x226d66(_0x329e41);}};try{if(_0xfd68fa[_0xa35522(0x251)]&&_0xfd68fa[_0xa35522(0x251)]['match'](/browserstack internal helper hook/))return;let _0x2a4a93=[];if(_0x388a20[_0xa35522(0x2c2)](_0xfd68fa[_0xa35522(0x2c8)],STATE_FAILED)){if(_0x388a20[_0xa35522(0x20a)](_0xfd68fa[_0xa35522(0x227)],undefined))_0x2a4a93=_0xfd68fa[_0xa35522(0x227)][_0xa35522(0x2cf)]?[_0xfd68fa[_0xa35522(0x227)][_0xa35522(0x2cf)],_0x388a20['aXmEJ']]:[_0xfd68fa[_0xa35522(0x227)],_0x388a20['FFzpY']];else _0x388a20['dkIFS'](_0xe44f6a,undefined)?_0x2a4a93=[_0xe44f6a,_0x388a20[_0xa35522(0x2c5)]]:_0x2a4a93=[];}const _0x3aa3d9=_0x388a20[_0xa35522(0x21f)](_0xfd68fa[_0xa35522(0x227)],undefined)?_0xfd68fa[_0xa35522(0x227)][_0xa35522(0x263)]():_0x388a20[_0xa35522(0x2d8)](_0xe44f6a,undefined)?_0xe44f6a[_0xa35522(0x263)]():undefined;let _0x1a903d;try{_0x1a903d=this[_0xa35522(0x28a)](_0xfd68fa);}catch(_0x2cedd3){_0x1a903d=null;}const _0x5a991f=_0x1a903d?this['findGitConfig'](_0x1a903d):null,_0x9c57de=_0x1a903d?this[_0xa35522(0x2b8)]['prefixTestPath'](this[_0xa35522(0x28a)](_0xfd68fa)):_0x388a20[_0xa35522(0x22c)],_0x4e9f46={'framework':_0x388a20[_0xa35522(0x23b)],'uuid':_0xfd68fa[_0xa35522(0x229)]||_0xfd68fa[_0xa35522(0x283)],'name':_0xfd68fa[_0xa35522(0x274)],'body':{'lang':_0x388a20[_0xa35522(0x1fa)],'code':_0xfd68fa[_0xa35522(0x251)]},'scope':this[_0xa35522(0x259)](_0xfd68fa),'scopes':this[_0xa35522(0x2b6)](_0xfd68fa),'identifier':_0xfd68fa[_0xa35522(0x24d)](),'file_name':_0x9c57de,'vc_filepath':_0x5a991f?path[_0xa35522(0x212)](_0x5a991f,_0x1a903d):null,'location':_0x9c57de,'result':_0x388a20[_0xa35522(0x2c2)](_0xe85ba4,_0x388a20[_0xa35522(0x20f)])?_0x388a20[_0xa35522(0x1e7)]:this[_0xa35522(0x2a0)](_0xfd68fa[_0xa35522(0x2c8)]),'failure_reason':_0x3aa3d9,'duration_in_ms':_0xfd68fa[_0xa35522(0x277)]||(_0xe85ba4[_0xa35522(0x222)](/Finished/)||_0xe85ba4['match'](/Skipped/)?_0x388a20[_0xa35522(0x2b2)](Date[_0xa35522(0x206)](),new Date(_0xfd68fa[_0xa35522(0x294)])[_0xa35522(0x218)]()):null),'started_at':_0xfd68fa['started_at'],'finished_at':_0xe85ba4['match'](/Finished/)||_0xe85ba4[_0xa35522(0x222)](/Skipped/)?new Date()[_0xa35522(0x1e9)]():null,'failure':failureData['apply'](null,_0x2a4a93),'failure_type':!_0x3aa3d9?null:_0x3aa3d9['match'](/AssertionError/)?_0x388a20[_0xa35522(0x1fd)]:_0x388a20[_0xa35522(0x23f)],'retry_of':_0xfd68fa[_0xa35522(0x232)]};_0x388a20['VlTjP'](_0xe85ba4,_0x388a20[_0xa35522(0x20f)])&&!_0x4e9f46[_0x388a20[_0xa35522(0x1ea)]]&&(_0x4e9f46[_0x388a20[_0xa35522(0x1ea)]]=_0x4e9f46[_0x388a20[_0xa35522(0x2bc)]]);if(_0xe85ba4['match'](/HookRun/))[_0x4e9f46[_0xa35522(0x1d2)],_0x4e9f46['name']]=_0x388a20['HwpJJ'](getHookDetails,_0xfd68fa['fullTitle']()||_0xfd68fa['originalTitle']||_0xfd68fa[_0xa35522(0x274)]),_0x388a20[_0xa35522(0x2c2)](_0xe85ba4,_0x388a20[_0xa35522(0x24f)])&&(_0x388a20['ritKU'](_0x4e9f46['result'],_0x388a20['tYNER'])&&(_0x4e9f46['result']=_0x388a20['buSnn']),_0x388a20[_0xa35522(0x2c2)](_0x4e9f46['hook_type'],_0x388a20[_0xa35522(0x260)])&&_0x388a20[_0xa35522(0x1f9)](_0x4e9f46[_0xa35522(0x231)],_0x388a20['tYNER'])&&!_0xfd68fa[_0xa35522(0x297)][_0xa35522(0x2dd)]['markedStatus']&&(_0xfd68fa[_0xa35522(0x297)][_0xa35522(0x2dd)][_0xa35522(0x228)]=!![],_0xfd68fa['ctx'][_0xa35522(0x2dd)][_0xa35522(0x2c8)]=STATE_FAILED,await this[_0xa35522(0x27f)](_0xfd68fa[_0xa35522(0x297)][_0xa35522(0x2dd)],undefined,!![])));else _0xe85ba4['match'](/TestRun/)&&_0x388a20[_0xa35522(0x2d7)](mapTestHooks,_0xfd68fa);const _0x4235e6=_0x4e9f46[_0x388a20[_0xa35522(0x216)]][0x0];_0x4235e6&&(_0x4e9f46[_0x388a20[_0xa35522(0x2de)]]=_0x4235e6[_0x388a20[_0xa35522(0x22f)]],_0x4e9f46[_0x388a20[_0xa35522(0x211)]]=_0x4235e6[_0x388a20['hKvWz']]);[_0x388a20['bhKCR'],_0x388a20[_0xa35522(0x20f)]][_0xa35522(0x234)](_0xe85ba4)&&(this[_0xa35522(0x2b4)]['push'](_0x4e9f46),_0x4e9f46['hooks']=_0x388a20[_0xa35522(0x2d7)](getHooksForTest,_0xfd68fa));const _0x5a7257={'event_type':_0x388a20[_0xa35522(0x2c2)](_0xe85ba4,_0x388a20[_0xa35522(0x20f)])?_0x388a20['bhKCR']:_0xe85ba4};_0xe85ba4[_0xa35522(0x222)](/HookRun/)?(_0x4e9f46[_0x388a20[_0xa35522(0x226)]]=HOOK_TYPES_MAP[_0x4e9f46[_0x388a20[_0xa35522(0x226)]]],_0x5a7257[_0x388a20[_0xa35522(0x29b)]]=_0x4e9f46):_0x5a7257[_0x388a20[_0xa35522(0x2e0)]]=_0x4e9f46,await SessionHandler[_0xa35522(0x2ad)](_0x5a7257);}catch(_0xeba223){_0x388a20[_0xa35522(0x254)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0xe85ba4+_0xa35522(0x295)+_0xeba223);}};['findGitConfig'](_0x2797fa){const _0x45388f=a25_0x581da8,_0xc29e94={};_0xc29e94['PEAYy']=function(_0x502e4e,_0x218657){return _0x502e4e===_0x218657;},_0xc29e94['ZsYoj']=function(_0x841f6f,_0x509731){return _0x841f6f===_0x509731;},_0xc29e94[_0x45388f(0x29c)]='.git',_0xc29e94[_0x45388f(0x2a5)]=_0x45388f(0x24a);const _0x32b154=_0xc29e94,_0x454bca=path[_0x45388f(0x2a3)];if(_0x32b154[_0x45388f(0x1d3)](_0x2797fa,null)||_0x32b154[_0x45388f(0x1d3)](_0x2797fa,'')||_0x32b154['ZsYoj'](_0x2797fa,_0x454bca))return null;try{return fs[_0x45388f(0x2c6)](path[_0x45388f(0x209)](_0x2797fa,_0x32b154['wZsKD'],_0x32b154[_0x45388f(0x2a5)])),_0x2797fa;}catch(_0x2b3cd3){const _0x487b93=path['dirname'](_0x2797fa);return this[_0x45388f(0x245)](_0x487b93);}}[a25_0x581da8(0x29d)]=async _0x874ee=>{const _0x4f90e8=a25_0x581da8,_0x22a897={'ZBFWZ':_0x4f90e8(0x2b7),'kLOXb':function(_0x4e79c8,_0x31f108){return _0x4e79c8(_0x31f108);}};try{this['current_hook']&&!this[_0x4f90e8(0x203)]['markedStatus']&&(_0x874ee[_0x4f90e8(0x2ae)]=this[_0x4f90e8(0x203)][_0x4f90e8(0x283)]);!_0x874ee[_0x4f90e8(0x2ae)]&&this[_0x4f90e8(0x27b)]&&!this[_0x4f90e8(0x27b)]['markedStatus']&&(_0x874ee['test_run_uuid']=this[_0x4f90e8(0x27b)][_0x4f90e8(0x229)]);if(_0x874ee[_0x4f90e8(0x2ae)]||_0x874ee[_0x4f90e8(0x1e5)]){const _0x49a0c1={};_0x49a0c1[_0x4f90e8(0x1e4)]=_0x22a897['ZBFWZ'],_0x49a0c1[_0x4f90e8(0x238)]=[_0x874ee],await SessionHandler[_0x4f90e8(0x2ad)](_0x49a0c1);}}catch(_0x413ab4){_0x22a897[_0x4f90e8(0x264)](debug,_0x4f90e8(0x2d6)+_0x413ab4);}};['appendTestPlatform']=async _0x57e131=>{const _0x178f1d=a25_0x581da8,_0x891830={'ArXKY':_0x178f1d(0x2d5),'CtUcD':_0x178f1d(0x256),'vqvcY':function(_0x515a53,_0x3dbb4b){return _0x515a53(_0x3dbb4b);}};try{const _0x18e74e={};_0x18e74e[_0x178f1d(0x26c)]=_0x57e131['uuid']||this[_0x178f1d(0x27b)][_0x178f1d(0x229)],_0x18e74e[_0x178f1d(0x214)]=_0x57e131[_0x891830[_0x178f1d(0x1ec)]];const _0x103acb=_0x18e74e,_0x1d8b29={};_0x1d8b29[_0x178f1d(0x1e4)]=_0x891830[_0x178f1d(0x29e)],_0x1d8b29[_0x178f1d(0x249)]=_0x103acb,await SessionHandler[_0x178f1d(0x2ad)](_0x1d8b29);}catch(_0x3de8cc){_0x891830['vqvcY'](debug,_0x178f1d(0x2c9)+_0x3de8cc);}};[a25_0x581da8(0x2a0)](_0x5012ca){const _0x899a0d=a25_0x581da8,_0x3c095c={};_0x3c095c['CgSIS']='passed',_0x3c095c[_0x899a0d(0x21d)]='pending',_0x3c095c[_0x899a0d(0x284)]=_0x899a0d(0x25e);const _0x47c9d9=_0x3c095c,_0x29010d={};return _0x29010d[STATE_PASSED]=_0x47c9d9['CgSIS'],_0x29010d[STATE_PENDING]=_0x47c9d9[_0x899a0d(0x21d)],_0x29010d[STATE_FAILED]=_0x47c9d9[_0x899a0d(0x284)],_0x29010d[_0x5012ca];}[a25_0x581da8(0x259)](_0x136959){const _0x10cde0=a25_0x581da8,_0x4c905c={};_0x4c905c[_0x10cde0(0x2b0)]=function(_0x5ed678,_0x4249fe){return _0x5ed678-_0x4249fe;};const _0x101169=_0x4c905c,_0x27c501=_0x136959[_0x10cde0(0x288)]();return _0x27c501[_0x10cde0(0x279)](0x0,_0x101169[_0x10cde0(0x2b0)](_0x27c501[_0x10cde0(0x1ed)],0x1))[_0x10cde0(0x209)]('\x20');}[a25_0x581da8(0x2b6)](_0xbe3134){const _0x2046cf=a25_0x581da8,_0x79d023={};_0x79d023[_0x2046cf(0x1d4)]=function(_0x339657,_0x2445a4){return _0x339657-_0x2445a4;};const _0x18b3a9=_0x79d023,_0x4691f0=_0xbe3134['titlePath']();return _0x4691f0['slice'](0x0,_0x18b3a9[_0x2046cf(0x1d4)](_0x4691f0[_0x2046cf(0x1ed)],0x1));}['getRootParentFile'](_0x14c8d1){const _0x17f8c0=a25_0x581da8,_0x473fe8={};_0x473fe8[_0x17f8c0(0x282)]=function(_0x11e1ed,_0x19efe7){return _0x11e1ed>_0x19efe7;};const _0x362218=_0x473fe8;if(_0x14c8d1[_0x17f8c0(0x202)])return _0x14c8d1[_0x17f8c0(0x202)];if(_0x14c8d1[_0x17f8c0(0x297)]){const _0x5dbbbb=_0x14c8d1['ctx'][_0x17f8c0(0x2dd)]?this[_0x17f8c0(0x28a)](_0x14c8d1[_0x17f8c0(0x297)][_0x17f8c0(0x2dd)]):null;if(_0x5dbbbb)return _0x5dbbbb;}if(_0x14c8d1[_0x17f8c0(0x247)]){const _0x55838d=this[_0x17f8c0(0x28a)](_0x14c8d1[_0x17f8c0(0x247)])||(_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x297)]&&_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x297)][_0x17f8c0(0x2dd)]?this[_0x17f8c0(0x28a)](_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x297)][_0x17f8c0(0x2dd)]):null);if(_0x55838d)return _0x55838d;_0x14c8d1[_0x17f8c0(0x247)]['suites']&&_0x362218[_0x17f8c0(0x282)](_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x207)][_0x17f8c0(0x1ed)],0x0)&&_0x14c8d1[_0x17f8c0(0x247)][_0x17f8c0(0x207)][_0x17f8c0(0x291)](_0x3073e3=>{const _0x494322=_0x17f8c0,_0x5f1f6b=_0x3073e3[_0x494322(0x297)]?this['getRootParentFile'](_0x3073e3[_0x494322(0x297)]):null;if(_0x5f1f6b)return _0x5f1f6b;});}return null;}}module['exports']=MyReporter;
1
+ 'use strict';function a25_0x34ad(_0x2a6b40,_0x321bea){const _0x44ab2d=a25_0x44ab();return a25_0x34ad=function(_0x34ad03,_0x5ad212){_0x34ad03=_0x34ad03-0xed;let _0x1a20cb=_0x44ab2d[_0x34ad03];return _0x1a20cb;},a25_0x34ad(_0x2a6b40,_0x321bea);}const a25_0x40670e=a25_0x34ad;(function(_0x4a8dc5,_0x3cf1b6){const _0x53d527=a25_0x34ad,_0x8daaa8=_0x4a8dc5();while(!![]){try{const _0x425f5=-parseInt(_0x53d527(0x107))/0x1*(parseInt(_0x53d527(0x1b8))/0x2)+-parseInt(_0x53d527(0x140))/0x3+-parseInt(_0x53d527(0xf5))/0x4+-parseInt(_0x53d527(0x181))/0x5*(-parseInt(_0x53d527(0x1fa))/0x6)+parseInt(_0x53d527(0xf0))/0x7+-parseInt(_0x53d527(0x20a))/0x8+-parseInt(_0x53d527(0x16e))/0x9*(parseInt(_0x53d527(0x14e))/0xa);if(_0x425f5===_0x3cf1b6)break;else _0x8daaa8['push'](_0x8daaa8['shift']());}catch(_0x2bc114){_0x8daaa8['push'](_0x8daaa8['shift']());}}}(a25_0x44ab,0x5aa60));const util=require(a25_0x40670e(0x207)),fs=require('fs'),path=require(a25_0x40670e(0x1be)),{requireModule}=require(a25_0x40670e(0x149)),Base=requireModule(a25_0x40670e(0x115)),utils=requireModule(a25_0x40670e(0x1b5)),color=Base[a25_0x40670e(0x166)],Mocha=requireModule('mocha'),Runnable=requireModule(a25_0x40670e(0x120)),{v4:uuidv4}=require(a25_0x40670e(0xf7)),bsSetupHelper=require(a25_0x40670e(0x149)),a25_0x3bd342={};function a25_0x44ab(){const _0x1ab49d=['ZubTl','kfhPa','kVLqP','vpTtV','DWaAc','currentRetry','../../../helpers/test-observability/constants','lhLYl','parent','color','AFTER_EACH','XOzmP','originalTitle','logs','RBRGd','testObservability','</h1>','6129lTuMQn','CBTSessionCreated','TestRunFinished','rQmNM','goTBJ','results','sep','join','fast','JjKAo','<dl>','Failed\x20to\x20load\x20reporter\x20','</section>','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','shutdown','SnhEM','after\x20each','bright\x20yellow','write','2521795fkXinp','iMewh','file','CImPU','rAsJj','LogCreated','kwAhO','test_run','\x20(%dms)','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','.git','failure_backtrace','hVEcN','COMPLETED','ZZtLU','qywqk','failed','tDJAx','hook_type','finished_at','green','OcapH','uploadEventData','checkmark','failure_reason_expanded','err','wVLHI','scope','OgiGd','after\x20all','gYKLF','CwUGC','NFWCk','bmSuf','../../../helpers/test-observability/utils','reporterOption','analyticsResult','bang','light','appendTestItemLog','NTXqP','findGitConfig','</dt>','GXCmj','testStarted','PBPDo','state','stdout','test_run_uuid','_upstreamConfig','scopes','finalResults','mocha/lib/utils.js','config','title','2jMZDQq','GPBay','once','\x20%s','prototype','Reporter','path','failCount','rzeea','push','suiteCount','xpYvQ','SvVzF','done','BzCew','isPending','titlePath','XUTgc','TestRunStarted','CVjRH','ZmrMo','KgitC','DGmAM','match','\x20\x20<dt\x20class=\x22error\x22>','hook_run_uuid','</dd>','TestRunSkipped','VraUf','bsConfig','vIPou','before\x20each','KwrmW','mocha/lib/reporters/','HIlai','../../../helpers/test-observability/sessionHandler','\x20\x20<dd\x20class=\x22error\x22>','zVdzU','EkxRO','bind','yWRLK','.js','yuVuS','</code></pre></dd>','PEazX','multiple','relative','removeAllListeners','RLhAj','KJZPv','KvWCD','slice','expanded','MERdH','integrations','apply','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','getRootParentFile','eWmja','currentTest','bs:addPlatformDetails:','_buildCreated','AssertionError','toString','sendTestRunEvent','current_hook','6XOYxeH','_indents','PFGMs','__platform__','root','getInstance','MklWE','result','failure','CNZto','jiTCa','hhPga','includes','util','body','_testEnv','705744uoPLXL','getTime','constants','slow','testAnalyticsId','\x20-\x20','4063500WAuCOa','zPktc','hook_run','hnYah','duration','653628jSQxea','%s\x20','uuid','aRJYM','Fyvzf','clean','\x20\x20<dd><pre><code>','hIKmS','decreaseIndent','ZRGKZ','fail','SOMIV','before\x20all','reporterOptions','FSnuf','appendTestPlatform','BEFORE_EACH','SeuiB','277055SPiJuw','aZtMW','UFEkX','\x20\x20<dd\x20class=\x22error\x22><pre><code>','length','inspect','failureCount','ZmMjF','pending','cfAWL','DjAuv','HookRunFinished','PNgpz','hookAnalyticsId','mocha/lib/reporters/base.js','LqElQ','pid','hooks','trim','comma','AWIsF','registerListeners','type','bs:addLog:','KWLUt','mocha/lib/runnable.js','OIdCP','docAppend','__indents','doc','passed','pass','_paths','_testResults','call','File\x20path\x20could\x20not\x20be\x20found','current_test','started_at','consoleLog','prefixTestPath','\x20with\x20error\x20:\x20','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','dot','EbSyx','../test-observability/mochaUtils','sppJm','TrBJI','split','eoXor','markedStatus','2|0|3|1|4','Runner','retryOf','dirname','ctx','escape','kZHWd','362607tvnPie','ywliD','VMpbK','OqDxQ','mkOLW','fullTitle','speed','now','zwEHB','../../../helpers/helper','jQpRy','suites','indent','MYDQs','940CUfygR','forEach','ppDmm','<section\x20class=\x22suite\x22>','toISOString','oLWxf','symbols','Mocha','location_prefix','docHtml','cUCud','EzhqD','orhNR','../../../helpers/test-observability/requestQueueHandler','ElcwS'];a25_0x44ab=function(){return _0x1ab49d;};return a25_0x44ab();}a25_0x3bd342[a25_0x40670e(0x101)]='BEFORE_ALL',a25_0x3bd342[a25_0x40670e(0x19e)]='AFTER_ALL',a25_0x3bd342[a25_0x40670e(0x1d7)]=a25_0x40670e(0x105),a25_0x3bd342[a25_0x40670e(0x17e)]=a25_0x40670e(0x167);const HOOK_TYPES_MAP=a25_0x3bd342,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a25_0x40670e(0x13a)][a25_0x40670e(0x20c)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable['constants'],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x40670e(0x133)),{consoleHolder}=require(a25_0x40670e(0x163)),SessionHandler=require(a25_0x40670e(0x1db)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x40670e(0x1a3)),RequestQueueHandler=require(a25_0x40670e(0x15b)),requestQueueHandler=RequestQueueHandler[a25_0x40670e(0x1ff)]();class MyReporter{constructor(_0xd21b85,_0x27a164){const _0x470c1b=a25_0x40670e,_0x15856b={'BrDbE':function(_0x26ae7b,_0x23b397){return _0x26ae7b===_0x23b397;},'ZmrMo':'spec','CNZto':function(_0x45685e,_0x32d536){return _0x45685e===_0x32d536;},'vpTtV':function(_0x221485,_0x2ff1bd){return _0x221485+_0x2ff1bd;},'hhPga':function(_0x4dca68,_0xf252ca){return _0x4dca68+_0xf252ca;},'GPBay':function(_0x32b5fa,_0x7efb59,_0x43c40c){return _0x32b5fa(_0x7efb59,_0x43c40c);},'oLWxf':_0x470c1b(0x195),'fasHj':_0x470c1b(0xf6),'MYDQs':_0x470c1b(0x1a7),'KvWCD':'%s\x20-\x20%s','VMpbK':'RUNNING','DGmAM':function(_0x4a3469,_0x2bf0d9){return _0x4a3469===_0x2bf0d9;},'BzCew':_0x470c1b(0x124),'KwrmW':function(_0x51a8d0,_0x33c292){return _0x51a8d0===_0x33c292;},'hNxmS':function(_0x480d82){return _0x480d82();},'OIdCP':function(_0x4342df){return _0x4342df();},'gYKLF':'HookRunStarted','vdvwm':'HookRunFinished','ZmMjF':function(_0x25b53a,_0xe52c1){return _0x25b53a===_0xe52c1;},'cVQLw':_0x470c1b(0x125),'xXkXJ':_0x470c1b(0x176),'OcapH':function(_0x5666cd,_0x184c4e){return _0x5666cd+_0x184c4e;},'PBPDo':_0x470c1b(0x198),'gwiEB':function(_0x902358,_0x5afa09){return _0x902358+_0x5afa09;},'gshID':_0x470c1b(0x126),'ywliD':_0x470c1b(0x1bb),'qXHFT':function(_0x55a053,_0x1c5157){return _0x55a053+_0x1c5157;},'SvVzF':function(_0x3511cb,_0x16d6e9){return _0x3511cb+_0x16d6e9;},'DjAuv':function(_0x55d504,_0xb6596d,_0x7edc9e){return _0x55d504(_0xb6596d,_0x7edc9e);},'ZRGKZ':function(_0x10cee6,_0x38b20a){return _0x10cee6+_0x38b20a;},'SnhEM':function(_0x41025f,_0x56848b,_0x265e9b){return _0x41025f(_0x56848b,_0x265e9b);},'mkOLW':_0x470c1b(0x189),'rzeea':_0x470c1b(0xff),'kJvgu':'\x20\x20%d)\x20%s','PFGMs':function(_0x1294f5,_0x16d517){return _0x1294f5===_0x16d517;},'mtZVv':function(_0x54cd79,_0x4ba4b3){return _0x54cd79+_0x4ba4b3;},'LqElQ':function(_0x42f4e9,_0x357fc6){return _0x42f4e9+_0x357fc6;},'NTXqP':_0x470c1b(0x17f),'iMewh':function(_0x54957e,_0x7ba186,_0x504dcd){return _0x54957e(_0x7ba186,_0x504dcd);},'vOlXJ':_0x470c1b(0x18e),'dbTTZ':function(_0x2d88c3,_0x29e61f){return _0x2d88c3===_0x29e61f;},'lhLYl':_0x470c1b(0x131),'bmSuf':_0x470c1b(0xed),'URspo':function(_0x3777f2,_0x3d9610){return _0x3777f2===_0x3d9610;},'DWaAc':function(_0x45fe5f,_0x4faaa6){return _0x45fe5f===_0x4faaa6;},'CwUGC':function(_0x5549e8,_0x2838ed){return _0x5549e8===_0x2838ed;},'SMFnP':_0x470c1b(0x139),'OgiGd':function(_0x552ed3,_0x381243){return _0x552ed3===_0x381243;},'eWmja':_0x470c1b(0x10f),'GXCmj':_0x470c1b(0x1d3),'RBRGd':function(_0x35bc60,_0x37febe){return _0x35bc60===_0x37febe;},'qJUnu':function(_0xd6839e,_0x42fc0e){return _0xd6839e===_0x42fc0e;},'kwAhO':function(_0x34ed6a,_0x406f5f){return _0x34ed6a===_0x406f5f;},'hVEcN':function(_0x2c36e3,_0x126cdf){return _0x2c36e3(_0x126cdf);},'orhNR':function(_0x2419d2){return _0x2419d2();},'goTBJ':function(_0x49b441){return _0x49b441();},'yWRLK':function(_0x20fc2a){return _0x20fc2a();},'rQmNM':function(_0x1bc477,_0x2c5e57){return _0x1bc477===_0x2c5e57;},'zPktc':'xunit','CVjRH':function(_0x4e1596,_0x5386d5){return _0x4e1596(_0x5386d5);},'ZubTl':function(_0x41fc22,_0x53dd59){return _0x41fc22!==_0x53dd59;}};this['type']=_0x27a164[_0x470c1b(0x1a4)][_0x470c1b(0x11d)],this[_0x470c1b(0x16c)]=_0x15856b[_0x470c1b(0x172)](isTestObservabilitySession),Base[_0x470c1b(0x129)](this,_0xd21b85,_0x27a164),this[_0x470c1b(0x1fb)]=0x0,this[_0x470c1b(0x1bf)]=0x0,this[_0x470c1b(0x173)]=[],this[_0x470c1b(0x1b4)]=[],this[_0x470c1b(0x1c2)]=0x0,this[_0x470c1b(0x1f5)]=![],this[_0x470c1b(0x128)]=[],this['_testEnv']=_0x15856b[_0x470c1b(0x1e0)](getTestEnv),this[_0x470c1b(0x127)]=new PathHelper({'cwd':process['cwd']()},this[_0x470c1b(0x209)][_0x470c1b(0x156)]),this[_0x470c1b(0x1b2)]=_0x27a164['reporterOption'][_0x470c1b(0x1d5)],this[_0x470c1b(0x11c)]();_0x15856b['rQmNM'](this['type'],_0x15856b['BzCew'])&&(this[_0x470c1b(0x157)]='',this['__indents']=0x2);_0xd21b85['once'](EVENT_RUN_BEGIN,async()=>{_0x15856b['BrDbE'](this['type'],_0x15856b['ZmrMo'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x378226=>{const _0x488059=_0x470c1b;if(_0x378226[_0x488059(0x1fe)])return;if(_0x15856b[_0x488059(0x203)](this[_0x488059(0x11d)],_0x15856b[_0x488059(0x1cc)]))this['increaseIndent'](),Base[_0x488059(0x12d)](_0x15856b[_0x488059(0x160)](_0x15856b[_0x488059(0x205)](this[_0x488059(0x14c)](),_0x15856b['GPBay'](color,_0x15856b[_0x488059(0x153)],_0x15856b['fasHj'])),_0x15856b[_0x488059(0x1b9)](color,_0x15856b[_0x488059(0x14d)],_0x15856b[_0x488059(0x1ea)])),_0x15856b[_0x488059(0x142)],_0x378226[_0x488059(0x1b7)],global[_0x488059(0x1fd)]);else _0x15856b[_0x488059(0x1ce)](this[_0x488059(0x11d)],_0x15856b['BzCew'])&&(this['docAppend'](this['indent']()+_0x488059(0x151)),++this['__indents'],this['docAppend'](this[_0x488059(0x14c)]()+'<h1>'+utils[_0x488059(0x13e)](_0x378226[_0x488059(0x1b7)]+_0x488059(0xef)+global['__platform__'])+_0x488059(0x16d)),this[_0x488059(0x122)](this[_0x488059(0x14c)]()+_0x488059(0x178)));})['on'](EVENT_HOOK_BEGIN,async _0x5e03ce=>{const _0x51f0b0=_0x470c1b;if(_0x15856b['KwrmW'](this[_0x51f0b0(0x16c)],!![])){if(!_0x5e03ce[_0x51f0b0(0x114)])_0x5e03ce['hookAnalyticsId']=_0x15856b['hNxmS'](uuidv4);else _0x5e03ce[_0x51f0b0(0x138)]&&(_0x5e03ce['hookAnalyticsId']=_0x15856b[_0x51f0b0(0x121)](uuidv4),delete _0x5e03ce[_0x51f0b0(0x138)]);_0x5e03ce['started_at']=new Date()[_0x51f0b0(0x152)](),this['current_hook']=_0x5e03ce,await this[_0x51f0b0(0x1f8)](_0x5e03ce,undefined,![],_0x15856b[_0x51f0b0(0x19f)]);}})['on'](EVENT_HOOK_END,async _0x573810=>{const _0x22dc83=_0x470c1b;_0x15856b['CNZto'](this[_0x22dc83(0x16c)],!![])&&(!_0x573810[_0x22dc83(0x138)]&&(_0x573810[_0x22dc83(0x138)]=!![],await this[_0x22dc83(0x1f8)](_0x573810,undefined,![],_0x15856b['vdvwm'])));})['on'](EVENT_SUITE_END,_0x1bbe1c=>{const _0x219aea=_0x470c1b;if(_0x1bbe1c[_0x219aea(0x1fe)])return;if(_0x15856b['PFGMs'](this[_0x219aea(0x11d)],_0x15856b[_0x219aea(0x1cc)]))Base['consoleLog'](),Base[_0x219aea(0x12d)](_0x15856b['mtZVv'](_0x15856b[_0x219aea(0x116)](this[_0x219aea(0x14c)](),_0x15856b['DjAuv'](color,_0x15856b[_0x219aea(0x1a9)],_0x15856b['fasHj'])),_0x15856b[_0x219aea(0x182)](color,_0x15856b[_0x219aea(0x14d)],_0x15856b['KvWCD'])),_0x15856b['vOlXJ'],_0x1bbe1c['title'],global[_0x219aea(0x1fd)]),this['results'][_0x219aea(0x14f)](_0x5ab689=>{const _0x4fd828=_0x219aea;if(_0x15856b[_0x4fd828(0x10e)](_0x5ab689[_0x4fd828(0x1af)],_0x15856b['cVQLw'])){var _0x5eee2d;_0x15856b['ZmMjF'](_0x5ab689[_0x4fd828(0x146)],_0x15856b['xXkXJ'])?(_0x5eee2d=_0x15856b['OcapH'](_0x15856b[_0x4fd828(0x196)](this['indent'](),_0x15856b['GPBay'](color,_0x15856b[_0x4fd828(0x1ae)],_0x15856b['gwiEB']('\x20\x20',Base['symbols']['ok']))),_0x15856b[_0x4fd828(0x1b9)](color,_0x15856b['gshID'],_0x15856b[_0x4fd828(0x141)])),Base['consoleLog'](_0x5eee2d,_0x5ab689['title'])):(_0x5eee2d=_0x15856b['OcapH'](_0x15856b['qXHFT'](_0x15856b[_0x4fd828(0x1c4)](this[_0x4fd828(0x14c)](),_0x15856b[_0x4fd828(0x111)](color,_0x15856b[_0x4fd828(0x1ae)],_0x15856b[_0x4fd828(0xfe)]('\x20\x20',Base[_0x4fd828(0x154)]['ok']))),_0x15856b[_0x4fd828(0x1b9)](color,_0x15856b['gshID'],_0x15856b['ywliD'])),_0x15856b[_0x4fd828(0x17d)](color,_0x5ab689['speed'],_0x15856b[_0x4fd828(0x144)])),Base['consoleLog'](_0x5eee2d,_0x5ab689[_0x4fd828(0x1b7)],_0x5ab689['duration']));}else Base[_0x4fd828(0x12d)](_0x15856b['qXHFT'](this[_0x4fd828(0x14c)](),_0x15856b[_0x4fd828(0x17d)](color,_0x15856b[_0x4fd828(0x1c0)],_0x15856b['kJvgu'])),++this['failCount'],_0x5ab689['title']);}),this[_0x219aea(0xfd)]();else _0x15856b['dbTTZ'](this[_0x219aea(0x11d)],_0x15856b[_0x219aea(0x1c6)])&&(this[_0x219aea(0x122)](this[_0x219aea(0x14c)]()+'</dl>'),--this[_0x219aea(0x123)],this['docAppend'](this[_0x219aea(0x14c)]()+_0x219aea(0x17a)),--this['__indents']);Array[_0x219aea(0x1bc)][_0x219aea(0x1c1)][_0x219aea(0x1ef)](this[_0x219aea(0x1b4)],this[_0x219aea(0x173)]),this[_0x219aea(0x173)]=[];})['on'](EVENT_TEST_PASS,async _0x3fe0b5=>{const _0x44d824=_0x470c1b;this['results']['push']({'speed':_0x3fe0b5['speed'],'suite':_0x3fe0b5[_0x44d824(0x165)][_0x44d824(0x1b7)],'title':_0x3fe0b5[_0x44d824(0x1b7)],'fullTitle':_0x3fe0b5['fullTitle'](),'duration':_0x3fe0b5[_0x44d824(0xf4)],'state':_0x3fe0b5['state'],'err':{},'currentRetry':_0x3fe0b5[_0x44d824(0x162)](),'titlePathV':_0x3fe0b5[_0x44d824(0x1c8)](),'isPending':_0x3fe0b5[_0x44d824(0x1c7)]()});if(_0x15856b[_0x44d824(0x1d8)](this[_0x44d824(0x11d)],_0x15856b['lhLYl']))_0x15856b['BrDbE'](_0x3fe0b5[_0x44d824(0x146)],_0x15856b[_0x44d824(0x1a2)])?process[_0x44d824(0x1b0)][_0x44d824(0x180)](Base[_0x44d824(0x166)](_0x15856b[_0x44d824(0x1a9)],Base[_0x44d824(0x154)]['dot'])):process[_0x44d824(0x1b0)][_0x44d824(0x180)](Base[_0x44d824(0x166)](_0x3fe0b5[_0x44d824(0x146)],Base[_0x44d824(0x154)]['dot']));else{if(_0x15856b['URspo'](this[_0x44d824(0x11d)],_0x15856b[_0x44d824(0x1c6)])){this[_0x44d824(0x122)](this['indent']()+'\x20\x20<dt>'+utils['escape'](_0x3fe0b5[_0x44d824(0x1b7)])+_0x44d824(0x1ab)),this[_0x44d824(0x122)](this[_0x44d824(0x14c)]()+'\x20\x20<dt>'+utils[_0x44d824(0x13e)](_0x3fe0b5[_0x44d824(0x183)])+_0x44d824(0x1ab));var _0x2764f3=utils['escape'](utils[_0x44d824(0xfa)](_0x3fe0b5[_0x44d824(0x208)]));this[_0x44d824(0x122)](this['indent']()+_0x44d824(0xfb)+_0x2764f3+_0x44d824(0x1e3));}}_0x15856b[_0x44d824(0x161)](this['testObservability'],!![])&&(!_0x3fe0b5[_0x44d824(0x138)]&&(_0x3fe0b5[_0x44d824(0x138)]=!![],await this['sendTestRunEvent'](_0x3fe0b5)));})['on'](EVENT_TEST_FAIL,async(_0x3d8e76,_0x245a67)=>{const _0x4646eb=_0x470c1b;this[_0x4646eb(0x173)][_0x4646eb(0x1c1)]({'title':_0x3d8e76[_0x4646eb(0x1b7)],'suite':_0x3d8e76[_0x4646eb(0x165)]['title'],'state':_0x3d8e76['state'],'err':{'message':util[_0x4646eb(0x10c)](_0x245a67)},'fullTitle':_0x3d8e76[_0x4646eb(0x145)](),'speed':_0x3d8e76[_0x4646eb(0x146)],'currentRetry':_0x3d8e76[_0x4646eb(0x162)](),'titlePathV':_0x3d8e76[_0x4646eb(0x1c8)]()});if(_0x15856b[_0x4646eb(0x203)](this[_0x4646eb(0x11d)],_0x15856b['lhLYl']))process[_0x4646eb(0x1b0)][_0x4646eb(0x180)](Base[_0x4646eb(0x166)](_0x15856b[_0x4646eb(0x1c0)],Base[_0x4646eb(0x154)][_0x4646eb(0x1a6)]));else{if(_0x15856b[_0x4646eb(0x1a0)](this['type'],_0x15856b['BzCew'])){const _0x333c90=_0x15856b['SMFnP'][_0x4646eb(0x136)]('|');let _0x5cf53f=0x0;while(!![]){switch(_0x333c90[_0x5cf53f++]){case'0':this[_0x4646eb(0x122)](this[_0x4646eb(0x14c)]()+_0x4646eb(0x1d0)+utils['escape'](_0x3d8e76['file'])+_0x4646eb(0x1ab));continue;case'1':this[_0x4646eb(0x122)](this[_0x4646eb(0x14c)]()+_0x4646eb(0x10a)+_0x16b396+'</code></pre></dd>');continue;case'2':this['docAppend'](this[_0x4646eb(0x14c)]()+_0x4646eb(0x1d0)+utils[_0x4646eb(0x13e)](_0x3d8e76[_0x4646eb(0x1b7)])+_0x4646eb(0x1ab));continue;case'3':var _0x16b396=utils[_0x4646eb(0x13e)](utils[_0x4646eb(0xfa)](_0x3d8e76[_0x4646eb(0x208)]));continue;case'4':this[_0x4646eb(0x122)](this[_0x4646eb(0x14c)]()+_0x4646eb(0x1dc)+utils[_0x4646eb(0x13e)](_0x3d8e76[_0x4646eb(0x19a)])+_0x4646eb(0x1d2));continue;}break;}}}if(_0x15856b[_0x4646eb(0x19d)](this[_0x4646eb(0x16c)],!![])){if(!_0x3d8e76[_0x4646eb(0x138)]){_0x3d8e76[_0x4646eb(0x138)]=!![];if(_0x3d8e76[_0x4646eb(0xee)])await this['sendTestRunEvent'](_0x3d8e76,_0x245a67);else _0x3d8e76['hookAnalyticsId']&&await this['sendTestRunEvent'](_0x3d8e76,_0x245a67,![],_0x15856b['vdvwm']);}}})['on'](EVENT_TEST_PENDING,async _0x5ec3f6=>{const _0x5461b2=_0x470c1b;this[_0x5461b2(0x173)][_0x5461b2(0x1c1)]({'title':_0x5ec3f6[_0x5461b2(0x1b7)],'suite':_0x5ec3f6[_0x5461b2(0x165)][_0x5461b2(0x1b7)],'state':_0x5ec3f6[_0x5461b2(0x1af)],'err':{},'fullTitle':_0x5ec3f6[_0x5461b2(0x145)](),'speed':_0x5ec3f6[_0x5461b2(0x146)],'currentRetry':_0x5ec3f6['currentRetry'](),'titlePathV':_0x5ec3f6[_0x5461b2(0x1c8)]()}),_0x15856b[_0x5461b2(0x1fc)](this['type'],_0x15856b['lhLYl'])&&process[_0x5461b2(0x1b0)][_0x5461b2(0x180)](Base['color'](_0x15856b[_0x5461b2(0x1f2)],Base[_0x5461b2(0x154)][_0x5461b2(0x11a)])),_0x15856b['CwUGC'](this[_0x5461b2(0x16c)],!![])&&(!_0x5ec3f6['testAnalyticsId']&&(_0x5ec3f6[_0x5461b2(0xee)]=_0x15856b['OIdCP'](uuidv4)),!_0x5ec3f6['markedStatus']&&(_0x5ec3f6[_0x5461b2(0x138)]=!![],await this[_0x5461b2(0x1f8)](_0x5ec3f6,undefined,![],_0x15856b[_0x5461b2(0x1ac)])));})['on'](EVENT_TEST_BEGIN,async _0x5a778b=>{const _0x36d5c7=_0x470c1b;_0x15856b[_0x36d5c7(0x16b)](this[_0x36d5c7(0x16c)],!![])&&await this[_0x36d5c7(0x1ad)](_0x5a778b);})['on'](EVENT_TEST_END,async _0x3f8ef3=>{const _0xaa2e9a=_0x470c1b;_0x15856b['qJUnu'](this[_0xaa2e9a(0x16c)],!![])&&(!_0x3f8ef3[_0xaa2e9a(0x138)]&&(_0x3f8ef3[_0xaa2e9a(0x138)]=!![],await this[_0xaa2e9a(0x1f8)](_0x3f8ef3)));})[_0x470c1b(0x1ba)](EVENT_RUN_END,async()=>{const _0x5e46df=_0x470c1b;try{if(_0x15856b[_0x5e46df(0x187)](this[_0x5e46df(0x16c)],!![])){const _0x3fef4d=_0x15856b[_0x5e46df(0x18d)](getHookSkippedTests,this['runner']['suite']);for(const _0x2c65e3 of _0x3fef4d){!_0x2c65e3[_0x5e46df(0xee)]&&(_0x2c65e3['testAnalyticsId']=_0x15856b[_0x5e46df(0x15a)](uuidv4)),await this[_0x5e46df(0x1f8)](_0x2c65e3,undefined,![],_0x15856b[_0x5e46df(0x1ac)]);}}}catch(_0x147214){_0x15856b[_0x5e46df(0x18d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x147214);}await requestQueueHandler[_0x5e46df(0x17c)](),_0x15856b['DWaAc'](this['type'],_0x15856b[_0x5e46df(0x1c6)])&&Base[_0x5e46df(0x12d)](this[_0x5e46df(0x157)]);});if(this[_0x470c1b(0x11d)]&&![_0x15856b[_0x470c1b(0x1c6)],_0x15856b[_0x470c1b(0xf1)],_0x15856b['ZmrMo'],_0x15856b[_0x470c1b(0x164)]]['includes'](this[_0x470c1b(0x11d)])){const _0x1cbf61=this[_0x470c1b(0x11d)][_0x470c1b(0x119)]();this[_0x470c1b(0x1bd)]=null;try{this[_0x470c1b(0x1bd)]=_0x15856b[_0x470c1b(0x18d)](requireModule,_0x470c1b(0x1d9)+_0x1cbf61+_0x470c1b(0x1e1));}catch{}if(_0x15856b[_0x470c1b(0x171)](this[_0x470c1b(0x1bd)],null))try{this[_0x470c1b(0x1bd)]=_0x15856b[_0x470c1b(0x1cb)](require,_0x1cbf61);}catch(_0x742c19){console['error'](_0x470c1b(0x179)+_0x1cbf61);}if(_0x15856b[_0x470c1b(0x15d)](this[_0x470c1b(0x1bd)],null)){const _0x2bad1b={};_0x2bad1b[_0x470c1b(0x102)]=_0x27a164[_0x470c1b(0x1a4)],this[_0x470c1b(0x1bd)]=new this[(_0x470c1b(0x1bd))](_0xd21b85,_0x2bad1b);}}}[a25_0x40670e(0x14c)](){const _0x4fc399=a25_0x40670e,_0xc53d60={'ppDmm':function(_0x1ba09e,_0x543a34){return _0x1ba09e(_0x543a34);}};return _0xc53d60[_0x4fc399(0x150)](Array,this[_0x4fc399(0x1fb)])[_0x4fc399(0x175)]('\x20\x20');}['increaseIndent'](){const _0x21e328=a25_0x40670e;this[_0x21e328(0x1fb)]++;}[a25_0x40670e(0xfd)](){const _0x118650=a25_0x40670e;this[_0x118650(0x1fb)]--;}[a25_0x40670e(0x122)](_0x1b96d3){const _0x45ee53=a25_0x40670e;this[_0x45ee53(0x157)]+=_0x1b96d3;}[a25_0x40670e(0x1c5)](_0x3fb4ba,_0x2b0ea2){const _0x1a1f97=a25_0x40670e,_0x2360e1={'CnpxL':function(_0x224b77,_0x42909b){return _0x224b77(_0x42909b);}},_0x190a8b={};_0x190a8b[_0x1a1f97(0x10d)]=_0x3fb4ba,_0x190a8b['results']=this['finalResults'],_0x2360e1['CnpxL'](_0x2b0ea2,_0x190a8b);}[a25_0x40670e(0x11c)](){const _0x53d3c9=a25_0x40670e;process[_0x53d3c9(0x1e7)](_0x53d3c9(0x11e)+process[_0x53d3c9(0x117)]),process['on'](_0x53d3c9(0x11e)+process['pid'],this[_0x53d3c9(0x1a8)][_0x53d3c9(0x1df)](this)),process['removeAllListeners'](_0x53d3c9(0x1f4)+process[_0x53d3c9(0x117)]),process['on'](_0x53d3c9(0x1f4)+process[_0x53d3c9(0x117)],this[_0x53d3c9(0x104)]['bind'](this));}[a25_0x40670e(0x1ad)]=async _0x3d4d8c=>{const _0x18fad5=a25_0x40670e,_0x1f4d3d={'Jxlbh':function(_0x288c33){return _0x288c33();},'EbSyx':function(_0x1ee0ca,_0x3e3451){return _0x1ee0ca>_0x3e3451;},'XUTgc':function(_0x187f08,_0x1336ac){return _0x187f08===_0x1336ac;},'PEazX':_0x18fad5(0x1ca),'ZZtLU':function(_0x4de8f6,_0x1da3eb){return _0x4de8f6(_0x1da3eb);}};try{const _0x1f95d0=this['current_test'];this[_0x18fad5(0x12b)]=_0x3d4d8c,_0x3d4d8c[_0x18fad5(0x13b)]=null,_0x3d4d8c[_0x18fad5(0xee)]=_0x1f4d3d['Jxlbh'](uuidv4),_0x3d4d8c['started_at']=new Date()[_0x18fad5(0x152)](),_0x1f4d3d[_0x18fad5(0x132)](_0x3d4d8c['_currentRetry'],0x0)&&_0x1f95d0&&_0x1f4d3d[_0x18fad5(0x1c9)](_0x1f95d0[_0x18fad5(0x1b7)],_0x3d4d8c['title'])?(_0x3d4d8c[_0x18fad5(0x13b)]=_0x1f95d0[_0x18fad5(0xee)],await this[_0x18fad5(0x1f8)](_0x3d4d8c,undefined,![],_0x1f4d3d['PEazX']),_0x1f95d0[_0x18fad5(0x1af)]=STATE_FAILED,await this[_0x18fad5(0x1f8)](_0x1f95d0,undefined,!![])):await this['sendTestRunEvent'](_0x3d4d8c,undefined,![],_0x1f4d3d[_0x18fad5(0x1e4)]);}catch(_0x3c3022){_0x1f4d3d[_0x18fad5(0x18f)](debug,_0x18fad5(0x1f0)+_0x3c3022);}};[a25_0x40670e(0x1f8)]=async(_0x17d04f,_0x3573ab=undefined,_0x402f2c=![],_0x4f37c4='TestRunFinished')=>{const _0x569137=a25_0x40670e,_0x205ae7={'yuVuS':function(_0x98b201,_0x10fe09){return _0x98b201===_0x10fe09;},'JjKAo':function(_0x5c43ac,_0x58fb35){return _0x5c43ac!==_0x58fb35;},'KJZPv':'test','OqDxQ':_0x569137(0x19a),'VraUf':function(_0xcb9bed,_0x133f05){return _0xcb9bed!==_0x133f05;},'PNgpz':function(_0x54b20b,_0x407d1b){return _0x54b20b!==_0x407d1b;},'xpYvQ':_0x569137(0x12a),'aRJYM':_0x569137(0x155),'ncPbW':'javascript','SeuiB':function(_0x5aa415,_0x1740f0){return _0x5aa415===_0x1740f0;},'jQpRy':_0x569137(0x1d3),'DbSUI':'skipped','UFEkX':function(_0x5c16e3,_0x40d1a5){return _0x5c16e3-_0x40d1a5;},'EkxRO':_0x569137(0x1f6),'TrBJI':'UnhandledError','HIlai':'started_at','nNfCf':_0x569137(0x194),'EzhqD':function(_0x5168ac,_0x25ad08){return _0x5168ac(_0x25ad08);},'HMGoS':function(_0x22ebdf,_0x3ce96a){return _0x22ebdf===_0x3ce96a;},'MklWE':_0x569137(0x112),'jiTCa':function(_0x49d5ae,_0xed62b0){return _0x49d5ae!==_0xed62b0;},'hIKmS':_0x569137(0x191),'hnYah':_0x569137(0x125),'MERdH':function(_0x99b4fb,_0x3141b7){return _0x99b4fb===_0x3141b7;},'cfAWL':_0x569137(0x1d7),'SOMIV':function(_0x3456ec,_0x95f4f6){return _0x3456ec===_0x95f4f6;},'eoXor':function(_0x21477a,_0x4dcd39){return _0x21477a(_0x4dcd39);},'oMOoR':_0x569137(0x202),'tDJAx':_0x569137(0x18c),'CImPU':'backtrace','lmyyF':_0x569137(0x199),'zwEHB':_0x569137(0x1ec),'KgitC':_0x569137(0x170),'vIPou':function(_0x1928bd,_0x440ec4){return _0x1928bd(_0x440ec4);},'kZHWd':_0x569137(0x193),'zVdzU':_0x569137(0xf2),'kVLqP':_0x569137(0x188),'AWIsF':function(_0x2311e5,_0x539e63){return _0x2311e5(_0x539e63);}};try{if(_0x17d04f[_0x569137(0x208)]&&_0x17d04f[_0x569137(0x208)][_0x569137(0x1cf)](/browserstack internal helper hook/))return;let _0x20a57c=[];if(_0x205ae7[_0x569137(0x1e2)](_0x17d04f['state'],STATE_FAILED)){if(_0x205ae7[_0x569137(0x177)](_0x17d04f['err'],undefined))_0x20a57c=_0x17d04f[_0x569137(0x19a)][_0x569137(0x1e5)]?[_0x17d04f[_0x569137(0x19a)][_0x569137(0x1e5)],_0x205ae7[_0x569137(0x1e9)]]:[_0x17d04f[_0x569137(0x19a)],_0x205ae7['OqDxQ']];else _0x205ae7['JjKAo'](_0x3573ab,undefined)?_0x20a57c=[_0x3573ab,_0x205ae7[_0x569137(0x143)]]:_0x20a57c=[];}const _0x381fcc=_0x205ae7[_0x569137(0x1d4)](_0x17d04f[_0x569137(0x19a)],undefined)?_0x17d04f['err'][_0x569137(0x1f7)]():_0x205ae7[_0x569137(0x113)](_0x3573ab,undefined)?_0x3573ab['toString']():undefined;let _0x276aae;try{_0x276aae=this[_0x569137(0x1f1)](_0x17d04f);}catch(_0x113d03){_0x276aae=null;}const _0x5431a2=_0x276aae?this[_0x569137(0x1aa)](_0x276aae):null,_0x15f159=_0x276aae?this[_0x569137(0x127)][_0x569137(0x12e)](this[_0x569137(0x1f1)](_0x17d04f)):_0x205ae7[_0x569137(0x1c3)],_0x6cccfb={'framework':_0x205ae7[_0x569137(0xf8)],'uuid':_0x17d04f[_0x569137(0xee)]||_0x17d04f[_0x569137(0x114)],'name':_0x17d04f[_0x569137(0x1b7)],'body':{'lang':_0x205ae7['ncPbW'],'code':_0x17d04f['body']},'scope':this[_0x569137(0x19c)](_0x17d04f),'scopes':this['scopes'](_0x17d04f),'identifier':_0x17d04f[_0x569137(0x145)](),'file_name':_0x15f159,'vc_filepath':_0x5431a2?path[_0x569137(0x1e6)](_0x5431a2,_0x276aae):null,'location':_0x15f159,'result':_0x205ae7[_0x569137(0x106)](_0x4f37c4,_0x205ae7[_0x569137(0x14a)])?_0x205ae7['DbSUI']:this[_0x569137(0x1a5)](_0x17d04f['state']),'failure_reason':_0x381fcc,'duration_in_ms':_0x17d04f[_0x569137(0xf4)]||(_0x4f37c4[_0x569137(0x1cf)](/Finished/)||_0x4f37c4['match'](/Skipped/)?_0x205ae7[_0x569137(0x109)](Date[_0x569137(0x147)](),new Date(_0x17d04f[_0x569137(0x12c)])[_0x569137(0x20b)]()):null),'started_at':_0x17d04f[_0x569137(0x12c)],'finished_at':_0x4f37c4['match'](/Finished/)||_0x4f37c4[_0x569137(0x1cf)](/Skipped/)?new Date()[_0x569137(0x152)]():null,'failure':failureData[_0x569137(0x1ef)](null,_0x20a57c),'failure_type':!_0x381fcc?null:_0x381fcc[_0x569137(0x1cf)](/AssertionError/)?_0x205ae7[_0x569137(0x1de)]:_0x205ae7[_0x569137(0x135)],'retry_of':_0x17d04f[_0x569137(0x13b)]};_0x205ae7['yuVuS'](_0x4f37c4,_0x205ae7[_0x569137(0x14a)])&&!_0x6cccfb[_0x205ae7[_0x569137(0x1da)]]&&(_0x6cccfb[_0x205ae7[_0x569137(0x1da)]]=_0x6cccfb[_0x205ae7['nNfCf']]);if(_0x4f37c4['match'](/HookRun/))[_0x6cccfb[_0x569137(0x193)],_0x6cccfb['name']]=_0x205ae7[_0x569137(0x159)](getHookDetails,_0x17d04f['fullTitle']()||_0x17d04f[_0x569137(0x169)]||_0x17d04f['title']),_0x205ae7['HMGoS'](_0x4f37c4,_0x205ae7[_0x569137(0x200)])&&(_0x205ae7[_0x569137(0x204)](_0x6cccfb[_0x569137(0x201)],_0x205ae7[_0x569137(0xfc)])&&(_0x6cccfb[_0x569137(0x201)]=_0x205ae7[_0x569137(0xf3)]),_0x205ae7[_0x569137(0x1ed)](_0x6cccfb[_0x569137(0x193)],_0x205ae7[_0x569137(0x110)])&&_0x205ae7['SOMIV'](_0x6cccfb[_0x569137(0x201)],_0x205ae7['hIKmS'])&&!_0x17d04f['ctx']['currentTest'][_0x569137(0x138)]&&(_0x17d04f[_0x569137(0x13d)]['currentTest'][_0x569137(0x138)]=!![],_0x17d04f['ctx'][_0x569137(0x1f3)]['state']=STATE_FAILED,await this[_0x569137(0x1f8)](_0x17d04f[_0x569137(0x13d)][_0x569137(0x1f3)],undefined,!![])));else _0x4f37c4['match'](/TestRun/)&&_0x205ae7[_0x569137(0x137)](mapTestHooks,_0x17d04f);const _0x672abc=_0x6cccfb[_0x205ae7['oMOoR']][0x0];_0x672abc&&(_0x6cccfb[_0x205ae7[_0x569137(0x192)]]=_0x672abc[_0x205ae7[_0x569137(0x184)]],_0x6cccfb[_0x205ae7['lmyyF']]=_0x672abc[_0x205ae7[_0x569137(0x148)]]);[_0x205ae7[_0x569137(0x1cd)],_0x205ae7[_0x569137(0x14a)]][_0x569137(0x206)](_0x4f37c4)&&(this[_0x569137(0x128)][_0x569137(0x1c1)](_0x6cccfb),_0x6cccfb[_0x569137(0x118)]=_0x205ae7[_0x569137(0x1d6)](getHooksForTest,_0x17d04f));const _0x1be150={'event_type':_0x205ae7[_0x569137(0x100)](_0x4f37c4,_0x205ae7[_0x569137(0x14a)])?_0x205ae7[_0x569137(0x1cd)]:_0x4f37c4};_0x4f37c4[_0x569137(0x1cf)](/HookRun/)?(_0x6cccfb[_0x205ae7[_0x569137(0x13f)]]=HOOK_TYPES_MAP[_0x6cccfb[_0x205ae7['kZHWd']]],_0x1be150[_0x205ae7[_0x569137(0x1dd)]]=_0x6cccfb):_0x1be150[_0x205ae7[_0x569137(0x15f)]]=_0x6cccfb,await SessionHandler[_0x569137(0x197)](_0x1be150);}catch(_0x19e3d9){_0x205ae7[_0x569137(0x11b)](debug,_0x569137(0x130)+_0x4f37c4+_0x569137(0x12f)+_0x19e3d9);}};[a25_0x40670e(0x1aa)](_0x283568){const _0x1879d4=a25_0x40670e,_0x177e35={};_0x177e35['cUCud']=function(_0x5293f4,_0x302764){return _0x5293f4===_0x302764;},_0x177e35['NFWCk']=function(_0x10fab1,_0x333b17){return _0x10fab1===_0x333b17;},_0x177e35[_0x1879d4(0x168)]=_0x1879d4(0x18b),_0x177e35['qywqk']=_0x1879d4(0x1b6);const _0x5bb3e7=_0x177e35,_0xdce8ca=path[_0x1879d4(0x174)];if(_0x5bb3e7[_0x1879d4(0x158)](_0x283568,null)||_0x5bb3e7[_0x1879d4(0x158)](_0x283568,'')||_0x5bb3e7[_0x1879d4(0x1a1)](_0x283568,_0xdce8ca))return null;try{return fs['statSync'](path[_0x1879d4(0x175)](_0x283568,_0x5bb3e7[_0x1879d4(0x168)],_0x5bb3e7[_0x1879d4(0x190)])),_0x283568;}catch(_0x1da7ae){const _0x1c7caa=path[_0x1879d4(0x13c)](_0x283568);return this[_0x1879d4(0x1aa)](_0x1c7caa);}}[a25_0x40670e(0x1a8)]=async _0x2acc15=>{const _0x40dfbb=a25_0x40670e,_0x3f9c04={'KWLUt':_0x40dfbb(0x186),'kfhPa':function(_0x40b570,_0x44fb8e){return _0x40b570(_0x44fb8e);}};try{this[_0x40dfbb(0x1f9)]&&!this[_0x40dfbb(0x1f9)][_0x40dfbb(0x138)]&&(_0x2acc15[_0x40dfbb(0x1d1)]=this['current_hook'][_0x40dfbb(0x114)]);!_0x2acc15['hook_run_uuid']&&this[_0x40dfbb(0x12b)]&&!this['current_test']['markedStatus']&&(_0x2acc15[_0x40dfbb(0x1b1)]=this[_0x40dfbb(0x12b)][_0x40dfbb(0xee)]);if(_0x2acc15['hook_run_uuid']||_0x2acc15['test_run_uuid']){const _0x5315ec={};_0x5315ec['event_type']=_0x3f9c04[_0x40dfbb(0x11f)],_0x5315ec[_0x40dfbb(0x16a)]=[_0x2acc15],await SessionHandler[_0x40dfbb(0x197)](_0x5315ec);}}catch(_0x2bb370){_0x3f9c04[_0x40dfbb(0x15e)](debug,_0x40dfbb(0x17b)+_0x2bb370);}};['appendTestPlatform']=async _0x39cad0=>{const _0x2654a8=a25_0x40670e,_0x3ddf15={'rYpqC':'http_response','ElcwS':_0x2654a8(0x16f),'RLhAj':function(_0x51e3e5,_0x282416){return _0x51e3e5(_0x282416);}};try{const _0x5acda0={};_0x5acda0[_0x2654a8(0xf7)]=_0x39cad0[_0x2654a8(0xf7)]||this[_0x2654a8(0x12b)][_0x2654a8(0xee)],_0x5acda0[_0x2654a8(0x1ee)]=_0x39cad0[_0x3ddf15['rYpqC']];const _0x1ec28f=_0x5acda0,_0x3d549a={};_0x3d549a['event_type']=_0x3ddf15[_0x2654a8(0x15c)],_0x3d549a[_0x2654a8(0x188)]=_0x1ec28f,await SessionHandler[_0x2654a8(0x197)](_0x3d549a);}catch(_0x1b2c45){_0x3ddf15[_0x2654a8(0x1e8)](debug,_0x2654a8(0x18a)+_0x1b2c45);}};[a25_0x40670e(0x1a5)](_0x415d35){const _0x537679=a25_0x40670e,_0x5bfce8={};_0x5bfce8[_0x537679(0xf9)]='passed',_0x5bfce8[_0x537679(0x185)]='pending',_0x5bfce8['sppJm']=_0x537679(0x191);const _0x35b73c=_0x5bfce8,_0x3ba234={};return _0x3ba234[STATE_PASSED]=_0x35b73c[_0x537679(0xf9)],_0x3ba234[STATE_PENDING]=_0x35b73c[_0x537679(0x185)],_0x3ba234[STATE_FAILED]=_0x35b73c[_0x537679(0x134)],_0x3ba234[_0x415d35];}[a25_0x40670e(0x19c)](_0x938a06){const _0x2f4ba6=a25_0x40670e,_0x2233f4={};_0x2233f4['FSnuf']=function(_0xbe4872,_0x11ad43){return _0xbe4872-_0x11ad43;};const _0x37b96c=_0x2233f4,_0x3bf0a7=_0x938a06[_0x2f4ba6(0x1c8)]();return _0x3bf0a7[_0x2f4ba6(0x1eb)](0x0,_0x37b96c[_0x2f4ba6(0x103)](_0x3bf0a7['length'],0x1))[_0x2f4ba6(0x175)]('\x20');}[a25_0x40670e(0x1b3)](_0x265aa5){const _0x1c068e=a25_0x40670e,_0x4031b4={};_0x4031b4[_0x1c068e(0x108)]=function(_0x49ed8a,_0x8cae5b){return _0x49ed8a-_0x8cae5b;};const _0x4adc99=_0x4031b4,_0x44250c=_0x265aa5['titlePath']();return _0x44250c[_0x1c068e(0x1eb)](0x0,_0x4adc99[_0x1c068e(0x108)](_0x44250c['length'],0x1));}[a25_0x40670e(0x1f1)](_0x1560af){const _0x3e452f=a25_0x40670e,_0x1c95c9={};_0x1c95c9[_0x3e452f(0x19b)]=function(_0x4d41da,_0x2ba947){return _0x4d41da>_0x2ba947;};const _0x146173=_0x1c95c9;if(_0x1560af[_0x3e452f(0x183)])return _0x1560af[_0x3e452f(0x183)];if(_0x1560af[_0x3e452f(0x13d)]){const _0x43bd03=_0x1560af[_0x3e452f(0x13d)][_0x3e452f(0x1f3)]?this[_0x3e452f(0x1f1)](_0x1560af[_0x3e452f(0x13d)]['currentTest']):null;if(_0x43bd03)return _0x43bd03;}if(_0x1560af['parent']){const _0x879769=this[_0x3e452f(0x1f1)](_0x1560af['parent'])||(_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x13d)]&&_0x1560af['parent'][_0x3e452f(0x13d)][_0x3e452f(0x1f3)]?this['getRootParentFile'](_0x1560af[_0x3e452f(0x165)]['ctx'][_0x3e452f(0x1f3)]):null);if(_0x879769)return _0x879769;_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x14b)]&&_0x146173['wVLHI'](_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x14b)][_0x3e452f(0x10b)],0x0)&&_0x1560af[_0x3e452f(0x165)][_0x3e452f(0x14b)][_0x3e452f(0x14f)](_0x28862e=>{const _0x3ee85f=_0x3e452f,_0x285f3a=_0x28862e[_0x3ee85f(0x13d)]?this['getRootParentFile'](_0x28862e[_0x3ee85f(0x13d)]):null;if(_0x285f3a)return _0x285f3a;});}return null;}}module['exports']=MyReporter;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a26_0x138b65=a26_0x262e;(function(_0x4cca14,_0xea148c){const _0x2c1b58=a26_0x262e,_0x32a705=_0x4cca14();while(!![]){try{const _0x19bbea=-parseInt(_0x2c1b58(0x1d5))/0x1*(parseInt(_0x2c1b58(0x1f3))/0x2)+parseInt(_0x2c1b58(0x1c1))/0x3*(-parseInt(_0x2c1b58(0x217))/0x4)+parseInt(_0x2c1b58(0x1d9))/0x5*(-parseInt(_0x2c1b58(0x1f9))/0x6)+parseInt(_0x2c1b58(0x1b9))/0x7*(-parseInt(_0x2c1b58(0x1d1))/0x8)+parseInt(_0x2c1b58(0x17f))/0x9*(-parseInt(_0x2c1b58(0x1bc))/0xa)+parseInt(_0x2c1b58(0x17b))/0xb*(parseInt(_0x2c1b58(0x18c))/0xc)+parseInt(_0x2c1b58(0x259))/0xd*(parseInt(_0x2c1b58(0x186))/0xe);if(_0x19bbea===_0xea148c)break;else _0x32a705['push'](_0x32a705['shift']());}catch(_0x9db6a3){_0x32a705['push'](_0x32a705['shift']());}}}(a26_0x5dd9,0x22eb3));function a26_0x262e(_0x531f6d,_0x34a6cc){const _0x5dd983=a26_0x5dd9();return a26_0x262e=function(_0x262ea2,_0x6eb659){_0x262ea2=_0x262ea2-0x17b;let _0x1cb0bd=_0x5dd983[_0x262ea2];return _0x1cb0bd;},a26_0x262e(_0x531f6d,_0x34a6cc);}const chalk=require(a26_0x138b65(0x1b2)),logger=require(a26_0x138b65(0x252))['winstonLogger'],{default:BrowserStackSetup}=require(a26_0x138b65(0x239)),helper=require(a26_0x138b65(0x210)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x138b65(0x20a)),{requireModule}=require(a26_0x138b65(0x210)),{getPercyOptions}=require(a26_0x138b65(0x1fa)),Base=requireModule(a26_0x138b65(0x1ae)),collectFiles=requireModule('mocha/lib/cli/collect-files.js');function tag(_0x221062,_0x5cd25f,_0x73092f,_0x4c195f){const _0x1f739a=a26_0x138b65,_0x4c7a9e={'wctBa':function(_0xf39253,_0x520b3c){return _0xf39253+_0x520b3c;},'VoCpz':function(_0x5f352e,_0x340800){return _0x5f352e+_0x340800;},'qvUHk':function(_0x21b80a,_0x501aa9){return _0x21b80a(_0x501aa9);},'GAypS':function(_0x57c9ba,_0x2c3eb4){return _0x57c9ba+_0x2c3eb4;},'Xfovf':function(_0x1b0dce,_0x2a77e8){return _0x1b0dce+_0x2a77e8;},'VyNwe':function(_0x327a25,_0x323208){return _0x327a25+_0x323208;},'RkBZd':function(_0x139991,_0x548d4f){return _0x139991+_0x548d4f;}},_0x5a86dd=_0x73092f?'/>':'>',_0x5ab715=[];let _0x3ed1a3;for(const _0x2fa039 in _0x5cd25f){Object[_0x1f739a(0x196)][_0x1f739a(0x1eb)][_0x1f739a(0x264)](_0x5cd25f,_0x2fa039)&&_0x5ab715['push'](_0x4c7a9e[_0x1f739a(0x218)](_0x4c7a9e['wctBa'](_0x4c7a9e[_0x1f739a(0x1a3)](_0x2fa039,'=\x22'),_0x4c7a9e[_0x1f739a(0x1b5)](escape,_0x5cd25f[_0x2fa039])),'\x22'));}return _0x3ed1a3=_0x4c7a9e[_0x1f739a(0x218)](_0x4c7a9e[_0x1f739a(0x1d7)](_0x4c7a9e[_0x1f739a(0x1d7)]('<',_0x221062),_0x5ab715[_0x1f739a(0x25f)]?_0x4c7a9e[_0x1f739a(0x218)]('\x20',_0x5ab715[_0x1f739a(0x1a8)]('\x20')):''),_0x5a86dd),_0x4c195f&&(_0x3ed1a3+=_0x4c7a9e['Xfovf'](_0x4c7a9e[_0x1f739a(0x20b)](_0x4c7a9e[_0x1f739a(0x25d)](_0x4c195f,'</'),_0x221062),_0x5a86dd)),_0x3ed1a3;}let xunitContent='';function xunitWrite(_0xca262d){xunitContent+=_0xca262d;}function xunitTest(_0x2c1df0,_0x16508f){const _0x27afc8=a26_0x138b65,_0x2b9574={'NSINp':function(_0x133671,_0x2f7758){return _0x133671/_0x2f7758;},'ODRaK':function(_0x59ba5e,_0x2e1871){return _0x59ba5e===_0x2e1871;},'eKtBa':_0x27afc8(0x19b),'gzMsF':function(_0x927d49,_0x4fa30d){return _0x927d49+_0x4fa30d;},'ZKuGp':function(_0x3ecdff,_0x515f7b){return _0x3ecdff(_0x515f7b);},'PgIYb':function(_0x14ecdd,_0xdc4193,_0x24880a,_0x36f169,_0x8ae97e){return _0x14ecdd(_0xdc4193,_0x24880a,_0x36f169,_0x8ae97e);},'nlRcp':_0x27afc8(0x1df),'iNagh':function(_0x3e1a70,_0x457029,_0x56a2d0,_0x1d8bc2,_0x178e23){return _0x3e1a70(_0x457029,_0x56a2d0,_0x1d8bc2,_0x178e23);},'UfXMP':_0x27afc8(0x1e5),'cNjZh':function(_0x1afbc6,_0x36f637){return _0x1afbc6+_0x36f637;},'pFcke':function(_0x238b67,_0x4c3731){return _0x238b67+_0x4c3731;},'XhWaW':function(_0x346e93,_0x47d916){return _0x346e93(_0x47d916);},'lJvSD':function(_0x375136,_0x3d83ea,_0x2aad2d,_0x3a4cf0,_0x13c986){return _0x375136(_0x3d83ea,_0x2aad2d,_0x3a4cf0,_0x13c986);},'drnpF':function(_0x10040e,_0x23f663,_0x3849fd,_0xce87dc){return _0x10040e(_0x23f663,_0x3849fd,_0xce87dc);},'WjMrB':_0x27afc8(0x243),'lSNgZ':function(_0x114881,_0x2074e8,_0x4e886d,_0x2039bd){return _0x114881(_0x2074e8,_0x4e886d,_0x2039bd);}};Base['useColors']=![];var _0xb2c27b={'classname':_0x2c1df0[_0x27afc8(0x1fb)],'name':_0x2c1df0['title'],'time':_0x2b9574[_0x27afc8(0x1fc)](_0x2c1df0[_0x27afc8(0x1a4)],0x3e8)||0x0,'platform':_0x16508f};if(_0x2b9574[_0x27afc8(0x1aa)](_0x2c1df0[_0x27afc8(0x200)],_0x2b9574['eKtBa'])){var _0x1daef4=_0x2c1df0[_0x27afc8(0x1f1)],_0x3a5c8c=!Base[_0x27afc8(0x18f)]&&Base[_0x27afc8(0x1d2)](_0x1daef4)?_0x2b9574['gzMsF']('\x0a',Base['generateDiff'](_0x1daef4[_0x27afc8(0x201)],_0x1daef4[_0x27afc8(0x23f)])):'';_0x2b9574['ZKuGp'](xunitWrite,_0x2b9574['PgIYb'](tag,_0x2b9574[_0x27afc8(0x223)],_0xb2c27b,![],_0x2b9574['iNagh'](tag,_0x2b9574[_0x27afc8(0x197)],{},![],_0x2b9574[_0x27afc8(0x214)](_0x2b9574['cNjZh'](_0x2b9574[_0x27afc8(0x1ed)](_0x2b9574['ZKuGp'](escape,_0x1daef4[_0x27afc8(0x255)]),_0x2b9574[_0x27afc8(0x220)](escape,_0x3a5c8c)),'\x0a'),_0x2b9574[_0x27afc8(0x220)](escape,_0x1daef4[_0x27afc8(0x1e3)])))));}else _0x2c1df0[_0x27afc8(0x20e)]?_0x2b9574['XhWaW'](xunitWrite,_0x2b9574[_0x27afc8(0x1f7)](tag,_0x2b9574[_0x27afc8(0x223)],_0xb2c27b,![],_0x2b9574['drnpF'](tag,_0x2b9574['WjMrB'],{},!![]))):_0x2b9574[_0x27afc8(0x219)](xunitWrite,_0x2b9574[_0x27afc8(0x1c2)](tag,_0x2b9574[_0x27afc8(0x223)],_0xb2c27b,!![]));};function a26_0x5dd9(){const _0x5e4a25=['qvUHk','jyaqM','BhhmT','getHubUrl','548597eMrkKY','Running\x20your\x20mocha\x20tests','RfOFJ','1050iJwaSE','nDTIJ','list','keys','stringify','4119ALoIjf','lSNgZ','JUmLI','keYRY','WdENB','suiteName','wXKmK','OnlqW','CZdRV','assign','enFUD','forEach','spec','pyzci','AWjtG','aYIVi','24qKojBa','showDiff','red','handleApp','1unQBNM','yVady','GAypS','DSitL','1060NhDYsx','FvSiL','WatWz','shouldReRunObservabilityTests','Running\x20your\x20mocha\x20tests\x20across\x20','Nkrcv','testcase','fireFunnelTestEvent','stats','markSDKSetupComplete','stack','CCdQC','failure','getPlatformName','xyEPw','map','finally','info','hasOwnProperty','accessibilityOptions','pFcke','SDKTestSuccessful','mQQht','testSuites','err','Now,\x20showing\x20logs\x20from\x20mocha','510502HQAEzs','env','json','mjs','lJvSD','wyyTE','4128tGSCIK','../../helpers/percy/utils','fullTitle','NSINp','passed','CDDpf','FUhyK','state','actual','reporter-option','slauI','logLevel','consoleLog','EXNAK','kCkEP','yellow','fKHmy','../test-runner','VyNwe','mocha','DyyGN','isPending','testsPassed','../../helpers/helper','testsFailed','EMpfe','fTWwY','cNjZh','PoRCy','vnYNI','132fPClPW','wctBa','XhWaW','titlePath','file','error','Total\x20Suites:\x20','exports','JAVzd','ZKuGp','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','recursive','nlRcp','TLUfF','iywnx','config','currentRetry','****\x20FAILURES\x20****','proxySettings','mUTKf','wpNvg','pending','cjs','isBrowserstackInfra','\x20total','reporterOptions','modifyBrowserStackW3CCaps','MQPaN','BROWSERSTACK_TEST_OBSERVABILITY','QbVQr','vnVSP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','push','\x20platforms','../../helpers/BrowserStackSetup','notifyUpdate','mnjtH','TVwCB','obbme','title','expected','object','bgRedBright','output','skipped','get','testsuite','printBuildLink','then','titlePathV','passes','reporter','vkffR','Couldn\x27t\x20write\x20xunit\x20result\x20to','debug','Setting\x20non\x20exit\x20code\x20for\x20failures','EIdLt','XOMko','UtNYf','../../helpers/logger','KBAqf','parallelsPerPlatform','message','Listing\x20all\x20the\x20failures','testsPending','speed','1430923gWQOYY','tCtyL','DeQgh','BROWSERSTACK_AUTOMATION','RkBZd','vczAG','length','errorMessage','AuXlv','Couldn\x27t\x20write\x20json\x20result\x20to','min','call','CEebP','cliConfig','33DIiPUp','jMxwD','argv','</testsuite>','6129YbUcSk','BjNBq','modifyBrowserStackCaps','DLrPE','iQOJD','OmFUS','XMskT','84yIeOfx','mkSWD','bold','platforms','getOwnPropertyNames','olgqY','942540KgrcXL','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','pioWI','hideDiff','EcUYa','nPkTb','useW3C','sort','rerunTests','isUndefined','prototype','UfXMP','PfhzH','includes','Currf','failed','jwrmp','\x20failed','results','SpIvg','failures','cwirK','bgBlueBright','VoCpz','duration','HKjii','finalExecution','add','join','testObservability','ODRaK','cCfzA','icAeD','rootHooks','mocha/lib/reporters/base.js','accessibility','BROWSERSTACK_RERUN_TESTS','parseFileNames','chalk','Writing\x20xunit\x20result\x20to\x20file','log'];a26_0x5dd9=function(){return _0x5e4a25;};return a26_0x5dd9();}function getStats(_0x5524a0){const _0x14ac7f=a26_0x138b65,_0x59d8d4={};_0x59d8d4[_0x14ac7f(0x1db)]='suite',_0x59d8d4['keYRY']=_0x14ac7f(0x1fd),_0x59d8d4[_0x14ac7f(0x1bd)]=_0x14ac7f(0x19b),_0x59d8d4['olgqY']=_0x14ac7f(0x19e);const _0x4b7f36=_0x59d8d4,_0x558cb7=Object[_0x14ac7f(0x1bf)](_0x5524a0);let _0x3ce1ce=0x0,_0x30a49a=0x0,_0x3be8b3=0x0,_0x460257=0x0;const _0x53f840=new Set();_0x558cb7[_0x14ac7f(0x1cc)](_0x111930=>{const _0x303876=_0x14ac7f,_0x418a12={};_0x418a12[_0x303876(0x225)]=_0x4b7f36[_0x303876(0x1db)],_0x418a12[_0x303876(0x209)]=_0x4b7f36[_0x303876(0x1c4)],_0x418a12['giiAp']=_0x4b7f36[_0x303876(0x1bd)];const _0x473015=_0x418a12;_0x5524a0[_0x111930][_0x4b7f36[_0x303876(0x18b)]][_0x303876(0x1cc)](_0x2ac714=>{const _0x12372d=_0x303876;_0x53f840[_0x12372d(0x1a7)](_0x2ac714[_0x473015[_0x12372d(0x225)]]),_0x3ce1ce++;switch(_0x2ac714[_0x12372d(0x200)]){case _0x473015[_0x12372d(0x209)]:_0x3be8b3++;break;case _0x473015['giiAp']:_0x30a49a++;break;default:_0x460257++;}});});const _0x516204={};return _0x516204['testSuites']=_0x53f840['size'],_0x516204['platforms']=_0x558cb7,_0x516204['totalTests']=_0x3ce1ce,_0x516204[_0x14ac7f(0x211)]=_0x30a49a,_0x516204['testsPassed']=_0x3be8b3,_0x516204['testsPending']=_0x460257,_0x516204;}function errorJSON(_0x1a08f4){const _0x89d062=a26_0x138b65;var _0x3fab0e={};return Object[_0x89d062(0x18a)](_0x1a08f4)[_0x89d062(0x1cc)](function(_0x34c9c6){_0x3fab0e[_0x34c9c6]=_0x1a08f4[_0x34c9c6];},_0x1a08f4),_0x3fab0e;}function cleanCycles(_0x2c0647){const _0x283040=a26_0x138b65,_0x3dbeee={};_0x3dbeee['mUTKf']=function(_0x5cba0f,_0xba552f){return _0x5cba0f===_0xba552f;},_0x3dbeee['RfOFJ']=_0x283040(0x240),_0x3dbeee['DeQgh']=function(_0x309c79,_0x2a5ac8){return _0x309c79!==_0x2a5ac8;},_0x3dbeee[_0x283040(0x24f)]=function(_0xee4af7,_0x5dc78d){return _0xee4af7!==_0x5dc78d;},_0x3dbeee[_0x283040(0x253)]=function(_0x8a9547,_0x3535b4){return _0x8a9547+_0x3535b4;};const _0x530e0f=_0x3dbeee;var _0x54a7aa=[];return JSON['parse'](JSON[_0x283040(0x1c0)](_0x2c0647,function(_0x5a56a8,_0x58e368){const _0x5e5962=_0x283040;if(_0x530e0f[_0x5e5962(0x22a)](typeof _0x58e368,_0x530e0f[_0x5e5962(0x1bb)])&&_0x530e0f[_0x5e5962(0x25b)](_0x58e368,null)){if(_0x530e0f[_0x5e5962(0x24f)](_0x54a7aa['indexOf'](_0x58e368),-0x1))return _0x530e0f[_0x5e5962(0x253)]('',_0x58e368);_0x54a7aa[_0x5e5962(0x237)](_0x58e368);}return _0x58e368;}));}function clean(_0x2728d6){const _0x4bc36c=a26_0x138b65,_0x580447={'SSKdV':function(_0x3be360,_0x4f184e){return _0x3be360 instanceof _0x4f184e;},'SKROD':function(_0x2454f5,_0x17aa03){return _0x2454f5(_0x17aa03);},'cCfzA':function(_0x4eea89,_0x4c1abb){return _0x4eea89(_0x4c1abb);}};var _0xbc696a=_0x2728d6[_0x4bc36c(0x1f1)]||{};return _0x580447['SSKdV'](_0xbc696a,Error)&&(_0xbc696a=_0x580447['SKROD'](errorJSON,_0xbc696a)),{'title':_0x2728d6[_0x4bc36c(0x23e)],'fullTitle':_0x2728d6[_0x4bc36c(0x1fb)],'file':_0x2728d6[_0x4bc36c(0x21b)],'duration':_0x2728d6[_0x4bc36c(0x1a4)],'currentRetry':_0x2728d6[_0x4bc36c(0x227)],'speed':_0x2728d6[_0x4bc36c(0x258)],'err':_0x580447[_0x4bc36c(0x1ab)](cleanCycles,_0xbc696a)};}function printStats(_0x1b36a3,_0x227181='spec',_0x224755={}){const _0x1f4473=a26_0x138b65,_0x53f10b={'WdENB':function(_0x2784b3,_0x15815d){return _0x2784b3(_0x15815d);},'wyyTE':function(_0x1bc3df,_0x38b18d){return _0x1bc3df===_0x38b18d;},'DyyGN':_0x1f4473(0x1fd),'OmFUS':_0x1f4473(0x249),'wXKmK':'failed','FvSiL':_0x1f4473(0x1a0),'EVhFz':_0x1f4473(0x22c),'JAVzd':'results','jyaqM':function(_0x2cc3e7,_0x114083){return _0x2cc3e7===_0x114083;},'CZdRV':function(_0x318a3e,_0x19d5bb){return _0x318a3e*_0x19d5bb;},'MQPaN':function(_0x59830b,_0x33cbee,_0x52ed24){return _0x59830b(_0x33cbee,_0x52ed24);},'kCkEP':function(_0x3e7986,_0x116cf4){return _0x3e7986>_0x116cf4;},'fTWwY':function(_0x22352f){return _0x22352f();},'HZSOc':'doc','jQmAp':function(_0x4f0198,_0x17912f){return _0x4f0198>_0x17912f;},'CEebP':_0x1f4473(0x24e),'BjNBq':'Printing\x20stats\x20of\x20tests','wpNvg':function(_0x4caf00,_0x18aa19){return _0x4caf00+_0x18aa19;},'gxBFF':'Total\x20Platforms:\x20','CDDpf':function(_0x4867c4,_0x563229){return _0x4867c4+_0x563229;},'CCdQC':_0x1f4473(0x21d),'AWjtG':function(_0x175f5e,_0x152682){return _0x175f5e+_0x152682;},'lXgoL':function(_0x13536d,_0x3e97db){return _0x13536d+_0x3e97db;},'iQOJD':'Tests:\x20\x20\x20\x20\x20\x20\x20','obbme':function(_0x5eb19a,_0x1438f8){return _0x5eb19a+_0x1438f8;},'FUhyK':function(_0x5d1c7c,_0x59730f){return _0x5d1c7c+_0x59730f;},'JUmLI':function(_0x576cd3,_0x216a9f){return _0x576cd3+_0x216a9f;},'QjwGZ':'\x0a\x0a\x0a','tCtyL':function(_0x4cc902,_0x53e5df){return _0x4cc902===_0x53e5df;},'pyzci':_0x1f4473(0x1f5),'slauI':'Writing\x20json\x20result\x20to\x20file','DLrPE':_0x1f4473(0x262),'AuXlv':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','jMxwD':function(_0x2ba3d3,_0xee90d5){return _0x2ba3d3===_0xee90d5;},'VRtNx':'xunit','VhTtF':'Mocha\x20Tests','vLFkR':function(_0x31c0cf,_0x2ac9f2){return _0x31c0cf||_0x2ac9f2;},'mnjtH':function(_0x4a69f8,_0x2ec051){return _0x4a69f8(_0x2ec051);},'FYhcN':function(_0x2960aa,_0x519ffd,_0x2649c6,_0x492373){return _0x2960aa(_0x519ffd,_0x2649c6,_0x492373);},'XOMko':_0x1f4473(0x245),'enFUD':function(_0x25ae67,_0x401a98){return _0x25ae67-_0x401a98;},'nPkTb':function(_0x1acf07,_0x2c3ad6){return _0x1acf07-_0x2c3ad6;},'ypavy':function(_0x55b05f,_0x4274a3){return _0x55b05f/_0x4274a3;},'EMpfe':function(_0x5c0748,_0x3cf7d5){return _0x5c0748(_0x3cf7d5);},'yVady':_0x1f4473(0x17e),'pioWI':_0x1f4473(0x1b3),'EeCUf':_0x1f4473(0x24c),'DSitL':_0x1f4473(0x18d),'PfhzH':function(_0x45035a,_0x22c9c5){return _0x45035a===_0x22c9c5;},'TLUfF':_0x1f4473(0x256),'aYIVi':_0x1f4473(0x228)};if(_0x53f10b[_0x1f4473(0x1f8)](_0x227181,_0x53f10b['HZSOc']))return;const _0x1b7444=0x0,_0x321d6f=()=>{const _0x3044a9=_0x1f4473;return _0x53f10b[_0x3044a9(0x1c5)](Array,_0x1b7444)[_0x3044a9(0x1a8)]('\x20\x20');},{testSuites:_0x8f6c31,platforms:_0x3cd317,totalTests:_0x149707,testsFailed:_0x1ff6e9,testsPassed:_0x3c35e9,testsPending:_0x384d17}=_0x53f10b[_0x1f4473(0x1c5)](getStats,_0x1b36a3);_0x53f10b['jQmAp'](_0x1ff6e9,0x0)&&(logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x265)]),process['exitCode']=Math[_0x1f4473(0x263)](_0x1ff6e9,0xff));logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x180)]);const _0x1e0ab1=''+_0x53f10b[_0x1f4473(0x22b)](chalk[_0x1f4473(0x188)](_0x53f10b['gxBFF']),_0x3cd317[_0x1f4473(0x25f)]),_0x2ef20a=''+_0x53f10b[_0x1f4473(0x1fe)](chalk[_0x1f4473(0x188)](_0x53f10b[_0x1f4473(0x1e4)]),_0x8f6c31),_0x137773=''+_0x53f10b[_0x1f4473(0x1cf)](_0x53f10b['lXgoL'](_0x53f10b[_0x1f4473(0x22b)](chalk[_0x1f4473(0x188)](_0x53f10b[_0x1f4473(0x183)]),_0x53f10b[_0x1f4473(0x207)](_0x1ff6e9,0x0)?chalk[_0x1f4473(0x188)][_0x1f4473(0x1d3)](_0x1ff6e9+_0x1f4473(0x19d))+',\x20':''),_0x53f10b['kCkEP'](_0x384d17,0x0)?chalk[_0x1f4473(0x188)][_0x1f4473(0x208)](_0x384d17+'\x20skipped')+',\x20':''),_0x53f10b[_0x1f4473(0x207)](_0x3c35e9,0x0)?chalk[_0x1f4473(0x188)]['green'](_0x3c35e9+'\x20passed')+',\x20':'')+_0x149707+_0x1f4473(0x22f);console[_0x1f4473(0x1b4)](_0x53f10b[_0x1f4473(0x1fe)](_0x53f10b[_0x1f4473(0x23d)](_0x53f10b[_0x1f4473(0x1ff)](_0x53f10b['obbme'](_0x53f10b[_0x1f4473(0x1c3)](_0x53f10b['QjwGZ'],_0x1e0ab1),'\x0a'),_0x2ef20a),'\x0a'),_0x137773));if(_0x53f10b[_0x1f4473(0x25a)](_0x227181,_0x53f10b[_0x1f4473(0x1ce)])){const _0x20b0f1={},_0x5ec93a={};_0x5ec93a[_0x1f4473(0x1f0)]=_0x8f6c31,_0x5ec93a[_0x1f4473(0x189)]=_0x3cd317,_0x5ec93a[_0x1f4473(0x211)]=_0x1ff6e9,_0x5ec93a[_0x1f4473(0x20f)]=_0x3c35e9,_0x5ec93a[_0x1f4473(0x257)]=_0x384d17,_0x20b0f1[_0x1f4473(0x1e1)]=_0x5ec93a,_0x3cd317[_0x1f4473(0x1cc)](_0x298d81=>{const _0xbc27a0=_0x1f4473,_0x3bbbf8={'BhhmT':function(_0x4fa2d9,_0x37cc6a){const _0x68060c=a26_0x262e;return _0x53f10b[_0x68060c(0x1f8)](_0x4fa2d9,_0x37cc6a);},'EXNAK':_0x53f10b[_0xbc27a0(0x20d)],'vkffR':_0x53f10b[_0xbc27a0(0x184)],'OnlqW':function(_0x2e4b9d,_0x26c67d){const _0xea22d5=_0xbc27a0;return _0x53f10b[_0xea22d5(0x1c5)](_0x2e4b9d,_0x26c67d);},'mkSWD':function(_0x1f3896,_0x36ba6d){return _0x53f10b['wyyTE'](_0x1f3896,_0x36ba6d);},'vczAG':_0x53f10b[_0xbc27a0(0x1c7)],'UtNYf':_0x53f10b[_0xbc27a0(0x1da)],'XMskT':_0x53f10b['EVhFz'],'vnVSP':function(_0x2b0873,_0x572384){return _0x53f10b['WdENB'](_0x2b0873,_0x572384);}};_0x20b0f1[_0x298d81]={'pending':[],'failures':[],'passes':[],'tests':_0x1b36a3[_0x298d81][_0x53f10b[_0xbc27a0(0x21f)]][_0xbc27a0(0x1e8)](clean)},_0x1b36a3[_0x298d81][_0x53f10b['JAVzd']][_0xbc27a0(0x1cc)](_0x2a3cb5=>{const _0x3f6ad2=_0xbc27a0;if(_0x3bbbf8[_0x3f6ad2(0x1b7)](_0x2a3cb5[_0x3f6ad2(0x200)],_0x3bbbf8[_0x3f6ad2(0x206)]))_0x20b0f1[_0x298d81][_0x3bbbf8[_0x3f6ad2(0x24b)]][_0x3f6ad2(0x237)](_0x3bbbf8['OnlqW'](clean,_0x2a3cb5));else _0x3bbbf8[_0x3f6ad2(0x187)](_0x2a3cb5['state'],_0x3bbbf8[_0x3f6ad2(0x25e)])?_0x20b0f1[_0x298d81][_0x3bbbf8[_0x3f6ad2(0x251)]]['push'](_0x3bbbf8[_0x3f6ad2(0x1c8)](clean,_0x2a3cb5)):_0x20b0f1[_0x298d81][_0x3bbbf8[_0x3f6ad2(0x185)]][_0x3f6ad2(0x237)](_0x3bbbf8[_0x3f6ad2(0x235)](clean,_0x2a3cb5));});});if(_0x224755['output'])try{logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x203)],_0x224755[_0x1f4473(0x242)]),fs['writeFileSync'](_0x224755['output'],JSON[_0x1f4473(0x1c0)](_0x20b0f1,null,0x3));}catch(_0x4f2571){logger[_0x1f4473(0x21c)](_0x53f10b[_0x1f4473(0x182)],_0x224755['output']),logger[_0x1f4473(0x24d)](_0x4f2571);}else logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x261)]),console[_0x1f4473(0x1b4)](JSON['stringify'](_0x20b0f1,null,0x3));}else{if(_0x53f10b[_0x1f4473(0x17c)](_0x227181,_0x53f10b['VRtNx'])){let _0x48aae0;const _0x2b7b73=_0x53f10b['VhTtF'];_0x224755&&(_0x48aae0=_0x224755[_0x1f4473(0x1c6)]);_0x48aae0=_0x53f10b['vLFkR'](_0x48aae0,_0x2b7b73);let _0x28b811=0x0,_0x41c3d1=0x0,_0x1e0538=0x0,_0x1a51d7=0x0;_0x3cd317[_0x1f4473(0x1cc)](_0x5e5527=>{const _0x228000=_0x1f4473;_0x1b36a3[_0x5e5527][_0x53f10b[_0x228000(0x21f)]][_0x228000(0x1cc)](_0x33d062=>{const _0x54497e=_0x228000;if(_0x53f10b[_0x54497e(0x1f8)](_0x33d062['state'],_0x53f10b[_0x54497e(0x20d)]))_0x28b811++;else _0x53f10b[_0x54497e(0x1b6)](_0x33d062[_0x54497e(0x200)],_0x53f10b['wXKmK'])&&_0x41c3d1++;_0x1e0538++,_0x1a51d7+=_0x53f10b[_0x54497e(0x1c9)](_0x33d062[_0x54497e(0x1a4)],0x1);});}),_0x53f10b[_0x1f4473(0x23b)](xunitWrite,_0x53f10b['FYhcN'](tag,_0x53f10b[_0x1f4473(0x250)],{'name':_0x48aae0,'tests':_0x1e0538,'failures':0x0,'errors':_0x41c3d1,'skipped':_0x53f10b[_0x1f4473(0x1cb)](_0x53f10b[_0x1f4473(0x191)](_0x1e0538,_0x41c3d1),_0x28b811),'timestamp':new Date()['toUTCString'](),'time':_0x53f10b['ypavy'](_0x1a51d7,0x3e8)||0x0},![])),_0x3cd317[_0x1f4473(0x1cc)](_0x316ca8=>{const _0x7ca014=_0x1f4473,_0x26cbad={'zGQps':function(_0x4b4903,_0x287a2c,_0x5eb879){const _0x2c55fa=a26_0x262e;return _0x53f10b[_0x2c55fa(0x232)](_0x4b4903,_0x287a2c,_0x5eb879);}};_0x1b36a3[_0x316ca8][_0x53f10b[_0x7ca014(0x21f)]]['forEach'](_0x26f2a0=>{_0x26cbad['zGQps'](xunitTest,_0x26f2a0,_0x316ca8);});}),_0x53f10b[_0x1f4473(0x212)](xunitWrite,_0x53f10b[_0x1f4473(0x1d6)]);if(_0x224755['output'])try{logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x18e)],_0x224755['output']),fs['writeFileSync'](_0x224755[_0x1f4473(0x242)],xunitContent);}catch(_0x4591cc){logger['error'](_0x53f10b['EeCUf'],_0x224755[_0x1f4473(0x242)]),logger[_0x1f4473(0x24d)](_0x4591cc);}else logger['debug'](_0x53f10b[_0x1f4473(0x1d8)]),console[_0x1f4473(0x1b4)](xunitContent);}else{if(_0x53f10b[_0x1f4473(0x198)](_0x1ff6e9,0x0))return;console[_0x1f4473(0x1b4)](),logger[_0x1f4473(0x24d)](_0x53f10b[_0x1f4473(0x224)]),console['log'](chalk[_0x1f4473(0x188)][_0x1f4473(0x241)](_0x53f10b[_0x1f4473(0x1d0)])),_0x3cd317[_0x1f4473(0x1cc)](_0x4170e8=>{const _0x5629b5=_0x1f4473,_0xecc31e=[];_0x1b36a3[_0x4170e8][_0x53f10b[_0x5629b5(0x21f)]][_0x5629b5(0x1cc)](_0x12ed00=>{const _0x14fab4=_0x5629b5;_0x53f10b[_0x14fab4(0x1f8)](_0x12ed00[_0x14fab4(0x200)],_0x53f10b[_0x14fab4(0x1c7)])&&(_0x12ed00[_0x14fab4(0x21a)]=()=>_0x12ed00[_0x14fab4(0x248)],_0xecc31e[_0x14fab4(0x237)](_0x12ed00));}),_0x53f10b[_0x5629b5(0x207)](_0xecc31e['length'],0x0)&&(Base['consoleLog'](),Base[_0x5629b5(0x205)](_0x53f10b[_0x5629b5(0x213)](_0x321d6f),chalk[_0x5629b5(0x188)][_0x5629b5(0x1a2)](_0x4170e8)),Base[_0x5629b5(0x1be)](_0xecc31e));});}}}async function run(_0x3e9cde,_0x5b7b40){const _0xa7745a=a26_0x138b65,_0x3a516e={'QbVQr':function(_0x5cf18d,_0x320e48,_0x355f9d,_0x34b17b){return _0x5cf18d(_0x320e48,_0x355f9d,_0x34b17b);},'icAeD':_0xa7745a(0x202),'Currf':_0xa7745a(0x1ee),'HKjii':_0xa7745a(0x20c),'WseCC':'--disable-test-observability','cwirK':'--disable-browserstack-automation','SpIvg':function(_0x542181,_0x5ad9ac){return _0x542181!=_0x5ad9ac;},'mQQht':_0xa7745a(0x22d),'lKfkK':_0xa7745a(0x1f6),'PoRCy':'test','Nkrcv':_0xa7745a(0x194),'vnYNI':function(_0x474161,_0x432083){return _0x474161(_0x432083);},'TVwCB':_0xa7745a(0x1ba),'jwrmp':_0xa7745a(0x1f2),'PBAzY':function(_0x50d737,_0x3bd40){return _0x50d737*_0x3bd40;},'xyEPw':function(_0x247bef,_0x67bc5d){return _0x247bef(_0x67bc5d);},'EcUYa':function(_0x468669,_0x3e3a9b){return _0x468669!==_0x3e3a9b;}};process[_0xa7745a(0x17d)][_0xa7745a(0x199)](_0x3a516e['WseCC'])&&(process[_0xa7745a(0x1f4)][_0xa7745a(0x233)]=![]);process[_0xa7745a(0x17d)]['includes'](_0x3a516e[_0xa7745a(0x1a1)])&&(process[_0xa7745a(0x1f4)][_0xa7745a(0x25c)]=![]);const _0x42d06c=new BrowserStackSetup(_0x3e9cde,_0x3a516e[_0xa7745a(0x1a5)]);helper[_0xa7745a(0x22e)]()&&(await _0x42d06c['initialize'](),await helper[_0xa7745a(0x1d4)](_0x42d06c['config']));const _0xea1c7c=[],_0x223cd7=[];if(!_0x42d06c[_0xa7745a(0x226)])return;_0x3a516e[_0xa7745a(0x19f)](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1a9)],null)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1a9)]);!helper[_0xa7745a(0x195)](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1af)])&&(process[_0xa7745a(0x1f4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x42d06c['config'][_0xa7745a(0x1af)]);!helper[_0xa7745a(0x195)](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1ec)])&&(process[_0xa7745a(0x1f4)][_0xa7745a(0x236)]=JSON['stringify'](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x1ec)]));const {extension:extension=['js',_0x3a516e[_0xa7745a(0x1ef)],_0x3a516e['lKfkK']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3a516e[_0xa7745a(0x215)]]}=_0x3e9cde,_0xc7c231={..._0x3e9cde};_0xc7c231[_0xa7745a(0x1ad)]=null;const _0x2af7ac=_0xc7c231;let _0x372ccd;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0xa7745a(0x1dc)]()){let _0x2fac24=process[_0xa7745a(0x1f4)][_0xa7745a(0x1b0)];!helper[_0xa7745a(0x195)](_0x42d06c[_0xa7745a(0x266)])&&_0x42d06c['cliConfig']['has'](_0x3a516e[_0xa7745a(0x1de)])&&(_0x2fac24=_0x42d06c['cliConfig'][_0xa7745a(0x244)](_0x3a516e['Nkrcv'])),_0x372ccd=testOpsHelper[_0xa7745a(0x1b1)](_0x2fac24);}if(helper[_0xa7745a(0x195)](_0x372ccd)){const _0x17a210={};_0x17a210['ignore']=ignore,_0x17a210['extension']=extension,_0x17a210['file']=file,_0x17a210[_0xa7745a(0x222)]=recursive,_0x17a210[_0xa7745a(0x193)]=sort,_0x17a210[_0xa7745a(0x1cd)]=spec,_0x372ccd=_0x3a516e[_0xa7745a(0x216)](collectFiles,_0x17a210);}helper[_0xa7745a(0x1e2)]();if(!helper[_0xa7745a(0x22e)]()){const _0x4b0bbd=0x1,_0x2d94a7={..._0x2af7ac};_0x2d94a7['spec']=[..._0x372ccd],_0xea1c7c[_0xa7745a(0x237)]({'mochaOpts':_0x2d94a7,'configuration':{'platform':os['platform']()}}),logger[_0xa7745a(0x1ea)](_0x3a516e[_0xa7745a(0x23c)]),logger[_0xa7745a(0x1ea)](_0x3a516e[_0xa7745a(0x19c)]),_0x3a516e[_0xa7745a(0x234)](parallelTestRun,_0xea1c7c,_0x4b0bbd,_0x42d06c[_0xa7745a(0x226)])[_0xa7745a(0x247)](_0x5a8588=>{const _0x4c88ad=_0xa7745a;_0x3a516e['QbVQr'](printStats,_0x5a8588,_0x3e9cde[_0x4c88ad(0x24a)],_0x3e9cde[_0x4c88ad(0x230)]||_0x3e9cde[_0x3a516e[_0x4c88ad(0x1ac)]]);})[_0xa7745a(0x1e9)](()=>{const _0x989d66=_0xa7745a;try{helper[_0x989d66(0x1e0)](_0x3a516e[_0x989d66(0x19a)],{},_0x42d06c[_0x989d66(0x226)],_0x42d06c['framework']);}catch(_0x209c0a){logger['debug'](_0x989d66(0x221)+_0x209c0a);}try{helper[_0x989d66(0x23a)]();}catch(_0x462171){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x462171);}testOpsHelper[_0x989d66(0x246)]();});}else{const _0x44d158=_0x3a516e['PBAzY'](_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x189)][_0xa7745a(0x25f)],_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x254)]),_0x86b490=helper[_0xa7745a(0x192)](_0x42d06c[_0xa7745a(0x226)]),_0x4bd1f3=helper[_0xa7745a(0x1b8)](_0x42d06c[_0xa7745a(0x226)]);_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x189)][_0xa7745a(0x1cc)]((_0x37355e,_0x1d0a96)=>{const _0x36b39f=_0xa7745a;_0x86b490?_0x223cd7[_0x36b39f(0x237)](helper[_0x36b39f(0x231)](_0x42d06c[_0x36b39f(0x226)],_0x3a516e['HKjii'],_0x1d0a96)):_0x223cd7[_0x36b39f(0x237)](helper[_0x36b39f(0x181)](_0x42d06c[_0x36b39f(0x226)],_0x3a516e[_0x36b39f(0x1a5)],_0x1d0a96));});const _0x432298=_0x3a516e[_0xa7745a(0x1e7)](getPercyOptions,_0x42d06c[_0xa7745a(0x226)]);if(_0x3a516e[_0xa7745a(0x190)](_0x42d06c['config'][_0xa7745a(0x254)],0x1))_0x372ccd[_0xa7745a(0x1cc)](_0x293142=>{const _0x16da43=_0xa7745a,_0x4b19f2=[];_0x223cd7[_0x16da43(0x1cc)]((_0x4adbd0,_0x19d337)=>{const _0x2aa2bf=_0x16da43,_0x5815b1={};_0x5815b1[_0x2aa2bf(0x1cd)]=[_0x293142],_0x4b19f2[_0x2aa2bf(0x237)]({'mochaOpts':Object[_0x2aa2bf(0x1ca)]({},_0x2af7ac,_0x5815b1),'configuration':{'server':_0x4bd1f3,'capability':_0x4adbd0,'proxySettings':_0x42d06c[_0x2aa2bf(0x226)][_0x2aa2bf(0x229)],'platform':helper['getPlatformName'](_0x4adbd0),'browserStackLogLevel':_0x42d06c[_0x2aa2bf(0x226)][_0x2aa2bf(0x204)],'platformIndex':_0x19d337,'browserStackPercyOptions':_0x432298,'platformCaps':_0x42d06c['config'][_0x2aa2bf(0x189)][_0x19d337]}});}),_0xea1c7c[_0x16da43(0x237)](..._0x4b19f2);});else{const _0x207e0f=[];_0x223cd7[_0xa7745a(0x1cc)]((_0x3bae8d,_0x2dde6a)=>{const _0x2e5fb1=_0xa7745a;let _0x434a87=Object[_0x2e5fb1(0x1ca)]({},_0x2af7ac);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x2e5fb1(0x1dc)]()&&(_0x434a87={..._0x434a87,'spec':[..._0x372ccd]}),_0x207e0f[_0x2e5fb1(0x237)]({'mochaOpts':_0x434a87,'configuration':{'server':_0x4bd1f3,'capability':_0x3bae8d,'proxySettings':_0x42d06c[_0x2e5fb1(0x226)][_0x2e5fb1(0x229)],'platform':helper[_0x2e5fb1(0x1e6)](_0x3bae8d),'browserStackLogLevel':_0x42d06c[_0x2e5fb1(0x226)][_0x2e5fb1(0x204)],'platformIndex':_0x2dde6a,'browserStackPercyOptions':_0x432298,'platformCaps':_0x42d06c[_0x2e5fb1(0x226)][_0x2e5fb1(0x189)][_0x2dde6a]}});}),_0xea1c7c[_0xa7745a(0x237)](..._0x207e0f);}logger[_0xa7745a(0x1ea)](_0xa7745a(0x1dd)+_0x42d06c[_0xa7745a(0x226)][_0xa7745a(0x189)][_0xa7745a(0x25f)]+_0xa7745a(0x238)),logger['info'](_0x3a516e[_0xa7745a(0x19c)]);let _0x16a2ae;_0x3a516e[_0xa7745a(0x234)](parallelTestRun,_0xea1c7c,_0x44d158,_0x42d06c[_0xa7745a(0x226)])[_0xa7745a(0x247)](_0x52ebf2=>{const _0x29d8de=_0xa7745a;_0x16a2ae=_0x52ebf2,_0x3a516e[_0x29d8de(0x234)](printStats,_0x52ebf2,_0x3e9cde[_0x29d8de(0x24a)],_0x3e9cde[_0x29d8de(0x230)]||_0x3e9cde[_0x3a516e[_0x29d8de(0x1ac)]]);})['finally'](async()=>{const _0xe9bd92=_0xa7745a;_0x42d06c[_0xe9bd92(0x260)]=helper['getErrorMessageFromResults'](_0x16a2ae,_0x3a516e[_0xe9bd92(0x1a5)]),await helper[_0xe9bd92(0x1a6)](_0x42d06c),testOpsHelper['printBuildLink']();});}}module[a26_0x138b65(0x21e)]=run;
2
+ 'use strict';const a26_0x2f4f95=a26_0x44da;(function(_0x215a00,_0x10d3ea){const _0x5510ee=a26_0x44da,_0x1d1885=_0x215a00();while(!![]){try{const _0x35520f=parseInt(_0x5510ee(0x208))/0x1+-parseInt(_0x5510ee(0x244))/0x2+parseInt(_0x5510ee(0x21a))/0x3+-parseInt(_0x5510ee(0x1c6))/0x4+parseInt(_0x5510ee(0x1ea))/0x5*(parseInt(_0x5510ee(0x262))/0x6)+-parseInt(_0x5510ee(0x278))/0x7*(-parseInt(_0x5510ee(0x1da))/0x8)+-parseInt(_0x5510ee(0x22c))/0x9;if(_0x35520f===_0x10d3ea)break;else _0x1d1885['push'](_0x1d1885['shift']());}catch(_0x3dc464){_0x1d1885['push'](_0x1d1885['shift']());}}}(a26_0x4674,0x428f3));const chalk=require(a26_0x2f4f95(0x28b)),logger=require(a26_0x2f4f95(0x23d))['winstonLogger'],{default:BrowserStackSetup}=require(a26_0x2f4f95(0x1f7)),helper=require(a26_0x2f4f95(0x218)),testOpsHelper=require(a26_0x2f4f95(0x219)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x2f4f95(0x25d)),{requireModule}=require('../../helpers/helper'),{getPercyOptions}=require(a26_0x2f4f95(0x1d8)),Base=requireModule(a26_0x2f4f95(0x1c7)),collectFiles=requireModule(a26_0x2f4f95(0x23e));function tag(_0x3ccb5b,_0x5cb9bf,_0x528e17,_0x3472df){const _0x22b17c=a26_0x2f4f95,_0x5b6680={'QmXXw':function(_0x37d24a,_0x34716c){return _0x37d24a+_0x34716c;},'FsIVS':function(_0x357cfc,_0x4feb6b){return _0x357cfc(_0x4feb6b);},'ZUEIJ':function(_0x11d16a,_0x33626e){return _0x11d16a+_0x33626e;},'hVOOk':function(_0x384cc7,_0x263d3b){return _0x384cc7+_0x263d3b;}},_0x6fa674=_0x528e17?'/>':'>',_0x9b5c2e=[];let _0x1d8286;for(const _0x3a7cde in _0x5cb9bf){Object['prototype']['hasOwnProperty'][_0x22b17c(0x28c)](_0x5cb9bf,_0x3a7cde)&&_0x9b5c2e[_0x22b17c(0x1c9)](_0x5b6680[_0x22b17c(0x277)](_0x5b6680[_0x22b17c(0x277)](_0x5b6680[_0x22b17c(0x277)](_0x3a7cde,'=\x22'),_0x5b6680['FsIVS'](escape,_0x5cb9bf[_0x3a7cde])),'\x22'));}return _0x1d8286=_0x5b6680[_0x22b17c(0x277)](_0x5b6680[_0x22b17c(0x1f2)](_0x5b6680['hVOOk']('<',_0x3ccb5b),_0x9b5c2e['length']?_0x5b6680['QmXXw']('\x20',_0x9b5c2e['join']('\x20')):''),_0x6fa674),_0x3472df&&(_0x1d8286+=_0x5b6680['hVOOk'](_0x5b6680['ZUEIJ'](_0x5b6680['ZUEIJ'](_0x3472df,'</'),_0x3ccb5b),_0x6fa674)),_0x1d8286;}let xunitContent='';function xunitWrite(_0x1c867f){xunitContent+=_0x1c867f;}function a26_0x44da(_0x1410ba,_0x4e67da){const _0x467429=a26_0x4674();return a26_0x44da=function(_0x44da6d,_0x30efa5){_0x44da6d=_0x44da6d-0x1bb;let _0x490190=_0x467429[_0x44da6d];return _0x490190;},a26_0x44da(_0x1410ba,_0x4e67da);}function xunitTest(_0x20a295,_0x19ebd1){const _0x109cc2=a26_0x2f4f95,_0x920c5d={'vMJZT':function(_0x5ab9ce,_0x4678ec){return _0x5ab9ce/_0x4678ec;},'nuaDK':function(_0x4f0f2a,_0x58f17a){return _0x4f0f2a===_0x58f17a;},'UNgGI':_0x109cc2(0x212),'zwBaO':function(_0x5f299c,_0x338bfc){return _0x5f299c+_0x338bfc;},'jUoBq':function(_0x4761b4,_0x48951a){return _0x4761b4(_0x48951a);},'vsrKc':function(_0x3fcfb8,_0x1196d9,_0x2105f7,_0x242ca4,_0x18b71e){return _0x3fcfb8(_0x1196d9,_0x2105f7,_0x242ca4,_0x18b71e);},'NzWro':_0x109cc2(0x280),'qXITZ':function(_0x2c051b,_0x3d6c2f,_0x1d06a9,_0x5e5397,_0x5c9de5){return _0x2c051b(_0x3d6c2f,_0x1d06a9,_0x5e5397,_0x5c9de5);},'rkIwW':'failure','VIcFC':function(_0x232228,_0x12b835){return _0x232228+_0x12b835;},'Xyybv':function(_0x2d0519,_0x1baf8f){return _0x2d0519(_0x1baf8f);},'GsyYc':function(_0x48acf6,_0x27aaad,_0x3729fe,_0xe9454a){return _0x48acf6(_0x27aaad,_0x3729fe,_0xe9454a);},'bBIAw':_0x109cc2(0x1dd),'eTHZg':function(_0x4c90d8,_0x2aea9d){return _0x4c90d8(_0x2aea9d);},'Ejmoy':function(_0x1489b0,_0x21b0ba,_0x47a561,_0x375301){return _0x1489b0(_0x21b0ba,_0x47a561,_0x375301);}};Base[_0x109cc2(0x211)]=![];var _0x4d034f={'classname':_0x20a295[_0x109cc2(0x224)],'name':_0x20a295['title'],'time':_0x920c5d['vMJZT'](_0x20a295[_0x109cc2(0x276)],0x3e8)||0x0,'platform':_0x19ebd1};if(_0x920c5d[_0x109cc2(0x268)](_0x20a295[_0x109cc2(0x241)],_0x920c5d[_0x109cc2(0x1bb)])){var _0x1369cf=_0x20a295[_0x109cc2(0x1ff)],_0x2b88bf=!Base['hideDiff']&&Base[_0x109cc2(0x247)](_0x1369cf)?_0x920c5d[_0x109cc2(0x1ed)]('\x0a',Base[_0x109cc2(0x296)](_0x1369cf[_0x109cc2(0x1f9)],_0x1369cf['expected'])):'';_0x920c5d[_0x109cc2(0x22a)](xunitWrite,_0x920c5d[_0x109cc2(0x258)](tag,_0x920c5d[_0x109cc2(0x230)],_0x4d034f,![],_0x920c5d[_0x109cc2(0x203)](tag,_0x920c5d[_0x109cc2(0x217)],{},![],_0x920c5d[_0x109cc2(0x27a)](_0x920c5d[_0x109cc2(0x1ed)](_0x920c5d[_0x109cc2(0x27a)](_0x920c5d[_0x109cc2(0x20b)](escape,_0x1369cf[_0x109cc2(0x204)]),_0x920c5d[_0x109cc2(0x22a)](escape,_0x2b88bf)),'\x0a'),_0x920c5d['jUoBq'](escape,_0x1369cf['stack'])))));}else _0x20a295[_0x109cc2(0x25c)]?_0x920c5d[_0x109cc2(0x22a)](xunitWrite,_0x920c5d[_0x109cc2(0x203)](tag,_0x920c5d[_0x109cc2(0x230)],_0x4d034f,![],_0x920c5d[_0x109cc2(0x1f3)](tag,_0x920c5d[_0x109cc2(0x21d)],{},!![]))):_0x920c5d[_0x109cc2(0x28f)](xunitWrite,_0x920c5d['Ejmoy'](tag,_0x920c5d[_0x109cc2(0x230)],_0x4d034f,!![]));};function getStats(_0x33c8c1){const _0x32e6dc=a26_0x2f4f95,_0x1d2e4c={};_0x1d2e4c[_0x32e6dc(0x1fa)]='suite',_0x1d2e4c[_0x32e6dc(0x251)]='passed',_0x1d2e4c[_0x32e6dc(0x263)]=_0x32e6dc(0x212),_0x1d2e4c[_0x32e6dc(0x21c)]=_0x32e6dc(0x227);const _0x4f8ccf=_0x1d2e4c,_0x5c897b=Object['keys'](_0x33c8c1);let _0x5a008f=0x0,_0x5e1b8d=0x0,_0x3cdcda=0x0,_0x4f3543=0x0;const _0x53d99a=new Set();_0x5c897b[_0x32e6dc(0x238)](_0x590e17=>{const _0x1a6974=_0x32e6dc,_0x468e78={};_0x468e78[_0x1a6974(0x1bd)]=_0x4f8ccf[_0x1a6974(0x1fa)],_0x468e78[_0x1a6974(0x1d4)]=_0x4f8ccf[_0x1a6974(0x251)],_0x468e78[_0x1a6974(0x216)]=_0x4f8ccf[_0x1a6974(0x263)];const _0x1651bd=_0x468e78;_0x33c8c1[_0x590e17][_0x4f8ccf[_0x1a6974(0x21c)]][_0x1a6974(0x238)](_0x11733a=>{const _0x5a982a=_0x1a6974;_0x53d99a[_0x5a982a(0x291)](_0x11733a[_0x1651bd[_0x5a982a(0x1bd)]]),_0x5a008f++;switch(_0x11733a['state']){case _0x1651bd[_0x5a982a(0x1d4)]:_0x3cdcda++;break;case _0x1651bd[_0x5a982a(0x216)]:_0x5e1b8d++;break;default:_0x4f3543++;}});});const _0x570db1={};return _0x570db1[_0x32e6dc(0x26c)]=_0x53d99a['size'],_0x570db1[_0x32e6dc(0x1bf)]=_0x5c897b,_0x570db1['totalTests']=_0x5a008f,_0x570db1[_0x32e6dc(0x1ca)]=_0x5e1b8d,_0x570db1['testsPassed']=_0x3cdcda,_0x570db1['testsPending']=_0x4f3543,_0x570db1;}function errorJSON(_0x5b6e16){const _0xfe9a28=a26_0x2f4f95;var _0x49a8b6={};return Object['getOwnPropertyNames'](_0x5b6e16)[_0xfe9a28(0x238)](function(_0x3153e0){_0x49a8b6[_0x3153e0]=_0x5b6e16[_0x3153e0];},_0x5b6e16),_0x49a8b6;}function cleanCycles(_0x2862a9){const _0xbb71b9=a26_0x2f4f95,_0x2015a={};_0x2015a[_0xbb71b9(0x1c2)]=function(_0x5eb41d,_0x115daf){return _0x5eb41d===_0x115daf;},_0x2015a[_0xbb71b9(0x1e9)]=_0xbb71b9(0x202),_0x2015a['mVdsq']=function(_0x36ee13,_0x44f150){return _0x36ee13!==_0x44f150;},_0x2015a[_0xbb71b9(0x22d)]=function(_0x52c48b,_0x4f4f8b){return _0x52c48b!==_0x4f4f8b;},_0x2015a['ZarZB']=function(_0x534393,_0x5d72bf){return _0x534393+_0x5d72bf;};const _0x5a2324=_0x2015a;var _0x19de8b=[];return JSON[_0xbb71b9(0x1f8)](JSON[_0xbb71b9(0x256)](_0x2862a9,function(_0x5b8b25,_0x5d1302){const _0x5d3cd7=_0xbb71b9;if(_0x5a2324['hURHs'](typeof _0x5d1302,_0x5a2324['RGwxZ'])&&_0x5a2324[_0x5d3cd7(0x1fe)](_0x5d1302,null)){if(_0x5a2324['KCKNE'](_0x19de8b[_0x5d3cd7(0x243)](_0x5d1302),-0x1))return _0x5a2324[_0x5d3cd7(0x1bc)]('',_0x5d1302);_0x19de8b[_0x5d3cd7(0x1c9)](_0x5d1302);}return _0x5d1302;}));}function clean(_0xb3230d){const _0x580f47=a26_0x2f4f95,_0x371f86={'zSWJP':function(_0x234687,_0x2163eb){return _0x234687 instanceof _0x2163eb;},'ePPXb':function(_0xc397b8,_0x7881c3){return _0xc397b8(_0x7881c3);},'CFtnR':function(_0x56725d,_0x464f76){return _0x56725d(_0x464f76);}};var _0x4daf2a=_0xb3230d[_0x580f47(0x1ff)]||{};return _0x371f86[_0x580f47(0x1c1)](_0x4daf2a,Error)&&(_0x4daf2a=_0x371f86[_0x580f47(0x225)](errorJSON,_0x4daf2a)),{'title':_0xb3230d[_0x580f47(0x1f1)],'fullTitle':_0xb3230d[_0x580f47(0x224)],'file':_0xb3230d[_0x580f47(0x215)],'duration':_0xb3230d[_0x580f47(0x276)],'currentRetry':_0xb3230d['currentRetry'],'speed':_0xb3230d[_0x580f47(0x26f)],'err':_0x371f86[_0x580f47(0x23f)](cleanCycles,_0x4daf2a)};}function printStats(_0x3d0222,_0xf5e53f=a26_0x2f4f95(0x23a),_0x5644b8={}){const _0x4e3d81=a26_0x2f4f95,_0x1d2573={'Cajiu':function(_0x39d623,_0x118cae){return _0x39d623(_0x118cae);},'jXaHi':function(_0x1dd7b2,_0x401ebb){return _0x1dd7b2===_0x401ebb;},'ZMKVI':_0x4e3d81(0x1c8),'jQNUm':'passes','wLEKY':_0x4e3d81(0x212),'Wwydq':'failures','QgtGo':function(_0x36c010,_0x40b1e9){return _0x36c010(_0x40b1e9);},'vLXac':_0x4e3d81(0x223),'tLYny':_0x4e3d81(0x227),'aloCV':function(_0x36d60d,_0x35a0f0){return _0x36d60d===_0x35a0f0;},'JnGQY':function(_0x44aac7,_0x598a36){return _0x44aac7*_0x598a36;},'NNkot':function(_0x567d15,_0x2f882d,_0x5c5c1a){return _0x567d15(_0x2f882d,_0x5c5c1a);},'fgLCv':function(_0x5bda3e,_0x2a536a){return _0x5bda3e>_0x2a536a;},'INEEs':function(_0x19152e){return _0x19152e();},'WONKh':function(_0x2983e9,_0x3335d7){return _0x2983e9===_0x3335d7;},'TILGH':_0x4e3d81(0x1cb),'VQVix':function(_0x1f242b,_0x337e04){return _0x1f242b(_0x337e04);},'TmwjK':'Setting\x20non\x20exit\x20code\x20for\x20failures','hZIVj':_0x4e3d81(0x233),'CiQZo':function(_0x3ab5b9,_0x43cc37){return _0x3ab5b9+_0x43cc37;},'XmCsY':_0x4e3d81(0x272),'uFDuO':_0x4e3d81(0x20c),'MBhjf':_0x4e3d81(0x1e0),'CFRKf':function(_0x459050,_0x22212a){return _0x459050>_0x22212a;},'xdWin':function(_0x57b141,_0x68b01a){return _0x57b141+_0x68b01a;},'JrYzk':'\x0a\x0a\x0a','szNUa':function(_0x482fa7,_0x5379a4){return _0x482fa7===_0x5379a4;},'FFuki':_0x4e3d81(0x21b),'eUvOZ':'Writing\x20json\x20result\x20to\x20file','cIMdA':_0x4e3d81(0x1cf),'qSpUu':_0x4e3d81(0x266),'PlPuB':_0x4e3d81(0x1db),'UNdAK':_0x4e3d81(0x1e2),'JtVTK':function(_0x38978b,_0x426e65){return _0x38978b||_0x426e65;},'pnMWW':function(_0x263f74,_0x22767e){return _0x263f74(_0x22767e);},'yXoNF':function(_0x316dd6,_0xe590c2,_0xd5b78f,_0x152e15){return _0x316dd6(_0xe590c2,_0xd5b78f,_0x152e15);},'wenqk':_0x4e3d81(0x27d),'GOtIp':function(_0xefd6d1,_0x2e9814){return _0xefd6d1-_0x2e9814;},'kjcen':function(_0x247142,_0x138fbd){return _0x247142-_0x138fbd;},'hfRMb':function(_0x2e31a4,_0x1a2bc5){return _0x2e31a4/_0x1a2bc5;},'qBxjm':function(_0x1e353a,_0x3d85a7){return _0x1e353a(_0x3d85a7);},'UxtlB':_0x4e3d81(0x294),'PLsMU':'Writing\x20xunit\x20result\x20to\x20file','CPRNH':_0x4e3d81(0x273),'KOkqi':_0x4e3d81(0x284),'Egorf':_0x4e3d81(0x245),'dwZNh':_0x4e3d81(0x1c3)};if(_0x1d2573['WONKh'](_0xf5e53f,_0x1d2573['TILGH']))return;const _0x47e59f=0x0,_0x2d63f5=()=>{const _0x18c929=_0x4e3d81;return _0x1d2573[_0x18c929(0x289)](Array,_0x47e59f)[_0x18c929(0x24e)]('\x20\x20');},{testSuites:_0x4fbf14,platforms:_0x4d5753,totalTests:_0x54cd4a,testsFailed:_0xc1a804,testsPassed:_0x48fc1f,testsPending:_0x1495b4}=_0x1d2573['VQVix'](getStats,_0x3d0222);_0x1d2573[_0x4e3d81(0x264)](_0xc1a804,0x0)&&(logger['debug'](_0x1d2573['TmwjK']),process[_0x4e3d81(0x1e6)]=Math[_0x4e3d81(0x27f)](_0xc1a804,0xff));logger['debug'](_0x1d2573[_0x4e3d81(0x269)]);const _0x16ac28=''+_0x1d2573[_0x4e3d81(0x1cc)](chalk[_0x4e3d81(0x246)](_0x1d2573['XmCsY']),_0x4d5753[_0x4e3d81(0x1d1)]),_0x5657d6=''+_0x1d2573[_0x4e3d81(0x1cc)](chalk[_0x4e3d81(0x246)](_0x1d2573[_0x4e3d81(0x281)]),_0x4fbf14),_0x4dd97f=''+_0x1d2573['CiQZo'](_0x1d2573['CiQZo'](_0x1d2573['CiQZo'](chalk['bold'](_0x1d2573[_0x4e3d81(0x232)]),_0x1d2573[_0x4e3d81(0x264)](_0xc1a804,0x0)?chalk[_0x4e3d81(0x246)]['red'](_0xc1a804+_0x4e3d81(0x270))+',\x20':''),_0x1d2573[_0x4e3d81(0x264)](_0x1495b4,0x0)?chalk['bold']['yellow'](_0x1495b4+_0x4e3d81(0x257))+',\x20':''),_0x1d2573[_0x4e3d81(0x1e8)](_0x48fc1f,0x0)?chalk[_0x4e3d81(0x246)][_0x4e3d81(0x290)](_0x48fc1f+_0x4e3d81(0x27b))+',\x20':'')+_0x54cd4a+_0x4e3d81(0x1cd);console[_0x4e3d81(0x274)](_0x1d2573[_0x4e3d81(0x1f5)](_0x1d2573[_0x4e3d81(0x1f5)](_0x1d2573[_0x4e3d81(0x1cc)](_0x1d2573['xdWin'](_0x1d2573[_0x4e3d81(0x1f5)](_0x1d2573['JrYzk'],_0x16ac28),'\x0a'),_0x5657d6),'\x0a'),_0x4dd97f));if(_0x1d2573[_0x4e3d81(0x23b)](_0xf5e53f,_0x1d2573[_0x4e3d81(0x1e4)])){const _0x454f8d={},_0x3102b0={};_0x3102b0[_0x4e3d81(0x26c)]=_0x4fbf14,_0x3102b0[_0x4e3d81(0x1bf)]=_0x4d5753,_0x3102b0[_0x4e3d81(0x1ca)]=_0xc1a804,_0x3102b0[_0x4e3d81(0x248)]=_0x48fc1f,_0x3102b0[_0x4e3d81(0x1c5)]=_0x1495b4,_0x454f8d[_0x4e3d81(0x1fc)]=_0x3102b0,_0x4d5753[_0x4e3d81(0x238)](_0x240f35=>{const _0x577a6e=_0x4e3d81;_0x454f8d[_0x240f35]={'pending':[],'failures':[],'passes':[],'tests':_0x3d0222[_0x240f35][_0x1d2573[_0x577a6e(0x22b)]]['map'](clean)},_0x3d0222[_0x240f35][_0x1d2573['tLYny']]['forEach'](_0x177a30=>{const _0x333762=_0x577a6e;if(_0x1d2573[_0x333762(0x282)](_0x177a30[_0x333762(0x241)],_0x1d2573[_0x333762(0x205)]))_0x454f8d[_0x240f35][_0x1d2573['jQNUm']][_0x333762(0x1c9)](_0x1d2573[_0x333762(0x289)](clean,_0x177a30));else _0x1d2573[_0x333762(0x282)](_0x177a30[_0x333762(0x241)],_0x1d2573[_0x333762(0x1de)])?_0x454f8d[_0x240f35][_0x1d2573['Wwydq']][_0x333762(0x1c9)](_0x1d2573['QgtGo'](clean,_0x177a30)):_0x454f8d[_0x240f35][_0x1d2573['vLXac']][_0x333762(0x1c9)](_0x1d2573[_0x333762(0x213)](clean,_0x177a30));});});if(_0x5644b8[_0x4e3d81(0x228)])try{logger['debug'](_0x1d2573[_0x4e3d81(0x1d2)],_0x5644b8['output']),fs[_0x4e3d81(0x235)](_0x5644b8[_0x4e3d81(0x228)],JSON[_0x4e3d81(0x256)](_0x454f8d,null,0x3));}catch(_0xcaa503){logger[_0x4e3d81(0x298)](_0x1d2573[_0x4e3d81(0x1f0)],_0x5644b8[_0x4e3d81(0x228)]),logger['debug'](_0xcaa503);}else logger[_0x4e3d81(0x20a)](_0x1d2573[_0x4e3d81(0x229)]),console[_0x4e3d81(0x274)](JSON[_0x4e3d81(0x256)](_0x454f8d,null,0x3));}else{if(_0x1d2573[_0x4e3d81(0x1d9)](_0xf5e53f,_0x1d2573[_0x4e3d81(0x209)])){let _0x5269f3;const _0x9169b5=_0x1d2573['UNdAK'];_0x5644b8&&(_0x5269f3=_0x5644b8[_0x4e3d81(0x201)]);_0x5269f3=_0x1d2573[_0x4e3d81(0x265)](_0x5269f3,_0x9169b5);let _0x24a8d9=0x0,_0x43c372=0x0,_0x457ec3=0x0,_0x49399f=0x0;_0x4d5753[_0x4e3d81(0x238)](_0x69de4f=>{const _0x4e8d3f=_0x4e3d81;_0x3d0222[_0x69de4f][_0x1d2573[_0x4e8d3f(0x22b)]][_0x4e8d3f(0x238)](_0x23f7c6=>{const _0x5b6ef9=_0x4e8d3f;if(_0x1d2573[_0x5b6ef9(0x282)](_0x23f7c6[_0x5b6ef9(0x241)],_0x1d2573[_0x5b6ef9(0x205)]))_0x24a8d9++;else _0x1d2573[_0x5b6ef9(0x1d9)](_0x23f7c6['state'],_0x1d2573['wLEKY'])&&_0x43c372++;_0x457ec3++,_0x49399f+=_0x1d2573['JnGQY'](_0x23f7c6['duration'],0x1);});}),_0x1d2573[_0x4e3d81(0x236)](xunitWrite,_0x1d2573[_0x4e3d81(0x1d3)](tag,_0x1d2573[_0x4e3d81(0x267)],{'name':_0x5269f3,'tests':_0x457ec3,'failures':0x0,'errors':_0x43c372,'skipped':_0x1d2573[_0x4e3d81(0x221)](_0x1d2573[_0x4e3d81(0x1f4)](_0x457ec3,_0x43c372),_0x24a8d9),'timestamp':new Date()[_0x4e3d81(0x286)](),'time':_0x1d2573[_0x4e3d81(0x1c4)](_0x49399f,0x3e8)||0x0},![])),_0x4d5753[_0x4e3d81(0x238)](_0x21b053=>{const _0x5948c1=_0x4e3d81,_0x4196e5={'PwNaP':function(_0xb01625,_0x53c413,_0x4c4ea0){const _0x4da15c=a26_0x44da;return _0x1d2573[_0x4da15c(0x1ec)](_0xb01625,_0x53c413,_0x4c4ea0);}};_0x3d0222[_0x21b053][_0x1d2573[_0x5948c1(0x22b)]][_0x5948c1(0x238)](_0x263d4b=>{const _0xc27a6f=_0x5948c1;_0x4196e5[_0xc27a6f(0x295)](xunitTest,_0x263d4b,_0x21b053);});}),_0x1d2573['qBxjm'](xunitWrite,_0x1d2573[_0x4e3d81(0x25b)]);if(_0x5644b8['output'])try{logger[_0x4e3d81(0x20a)](_0x1d2573[_0x4e3d81(0x26b)],_0x5644b8[_0x4e3d81(0x228)]),fs[_0x4e3d81(0x235)](_0x5644b8[_0x4e3d81(0x228)],xunitContent);}catch(_0x4e4437){logger['error'](_0x1d2573['CPRNH'],_0x5644b8['output']),logger[_0x4e3d81(0x20a)](_0x4e4437);}else logger[_0x4e3d81(0x20a)](_0x1d2573[_0x4e3d81(0x23c)]),console[_0x4e3d81(0x274)](xunitContent);}else{if(_0x1d2573[_0x4e3d81(0x282)](_0xc1a804,0x0))return;console[_0x4e3d81(0x274)](),logger[_0x4e3d81(0x20a)](_0x1d2573['Egorf']),console[_0x4e3d81(0x274)](chalk['bold'][_0x4e3d81(0x25e)](_0x1d2573[_0x4e3d81(0x1d0)])),_0x4d5753[_0x4e3d81(0x238)](_0x1aff9d=>{const _0x1f04a6=_0x4e3d81,_0x5e8845=[];_0x3d0222[_0x1aff9d][_0x1d2573[_0x1f04a6(0x22b)]]['forEach'](_0x555419=>{const _0x53cc1f=_0x1f04a6;_0x1d2573[_0x53cc1f(0x1d9)](_0x555419[_0x53cc1f(0x241)],_0x1d2573[_0x53cc1f(0x1de)])&&(_0x555419['titlePath']=()=>_0x555419[_0x53cc1f(0x26a)],_0x5e8845['push'](_0x555419));}),_0x1d2573[_0x1f04a6(0x264)](_0x5e8845[_0x1f04a6(0x1d1)],0x0)&&(Base[_0x1f04a6(0x206)](),Base['consoleLog'](_0x1d2573['INEEs'](_0x2d63f5),chalk[_0x1f04a6(0x246)][_0x1f04a6(0x249)](_0x1aff9d)),Base[_0x1f04a6(0x287)](_0x5e8845));});}}}async function run(_0x563f1e,_0x46cd97){const _0x3a4910=a26_0x2f4f95,_0x2e1e0d={'SmJSQ':function(_0x27b703,_0x279b1c,_0x20317b,_0x14618d){return _0x27b703(_0x279b1c,_0x20317b,_0x14618d);},'Pnlqv':_0x3a4910(0x292),'ALkHA':_0x3a4910(0x21f),'kCZuQ':_0x3a4910(0x254),'YObWK':_0x3a4910(0x297),'LayEU':_0x3a4910(0x252),'UVIDf':function(_0x5efa7a,_0x1a55a7){return _0x5efa7a!=_0x1a55a7;},'xRBJA':_0x3a4910(0x299),'afJBF':'mjs','WCpLK':_0x3a4910(0x27c),'iYoGz':_0x3a4910(0x1c0),'wxjar':function(_0x546fc3,_0x25c481){return _0x546fc3(_0x25c481);},'LPXdC':_0x3a4910(0x200),'hkVgk':'Now,\x20showing\x20logs\x20from\x20mocha','pbNeW':function(_0x24cf3f,_0x149342,_0x3e9c6b,_0x3f8f1d){return _0x24cf3f(_0x149342,_0x3e9c6b,_0x3f8f1d);},'gycbG':function(_0x59010e,_0xddd349){return _0x59010e*_0xddd349;},'GVXKf':function(_0x20533a,_0x2b29f5){return _0x20533a!==_0x2b29f5;},'gVIbn':function(_0x331dc,_0x35dbb4,_0x1262a7,_0x3ab0c6){return _0x331dc(_0x35dbb4,_0x1262a7,_0x3ab0c6);}};process[_0x3a4910(0x231)][_0x3a4910(0x1ce)](_0x2e1e0d[_0x3a4910(0x226)])&&(process[_0x3a4910(0x26d)][_0x3a4910(0x250)]=![]);process[_0x3a4910(0x231)][_0x3a4910(0x1ce)](_0x2e1e0d[_0x3a4910(0x1e5)])&&(process[_0x3a4910(0x26d)][_0x3a4910(0x210)]=![]);const _0x2986cb=new BrowserStackSetup(_0x563f1e,_0x2e1e0d[_0x3a4910(0x27e)]);helper['isBrowserstackInfra']()&&(await _0x2986cb[_0x3a4910(0x240)](),await helper[_0x3a4910(0x1fd)](_0x2986cb[_0x3a4910(0x1eb)]));const _0x3b4868=[],_0x539738=[];if(!_0x2986cb[_0x3a4910(0x1eb)])return;_0x2e1e0d[_0x3a4910(0x29a)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x239)],null)&&(process[_0x3a4910(0x26d)][_0x3a4910(0x21e)]=_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x239)]);!helper[_0x3a4910(0x25f)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x24c)])&&(process[_0x3a4910(0x26d)][_0x3a4910(0x253)]=_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x24c)]);!helper[_0x3a4910(0x25f)](_0x2986cb[_0x3a4910(0x1eb)]['accessibilityOptions'])&&(process[_0x3a4910(0x26d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x3a4910(0x256)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x29b)]));const {extension:extension=['js',_0x2e1e0d[_0x3a4910(0x24a)],_0x2e1e0d['afJBF']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2e1e0d[_0x3a4910(0x220)]]}=_0x563f1e,_0x1f17a8={..._0x563f1e};_0x1f17a8[_0x3a4910(0x1d5)]=null;const _0x1748ec=_0x1f17a8;let _0x40784c;if(testOpsHelper[_0x3a4910(0x24f)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x573a27=process[_0x3a4910(0x26d)][_0x3a4910(0x293)];!helper[_0x3a4910(0x25f)](_0x2986cb[_0x3a4910(0x283)])&&_0x2986cb[_0x3a4910(0x283)][_0x3a4910(0x1d7)](_0x2e1e0d[_0x3a4910(0x1be)])&&(_0x573a27=_0x2986cb[_0x3a4910(0x283)][_0x3a4910(0x1d6)](_0x2e1e0d['iYoGz'])),_0x40784c=testOpsHelper[_0x3a4910(0x1e3)](_0x573a27);}if(helper[_0x3a4910(0x25f)](_0x40784c)){const _0x5c0148={};_0x5c0148[_0x3a4910(0x260)]=ignore,_0x5c0148[_0x3a4910(0x242)]=extension,_0x5c0148[_0x3a4910(0x215)]=file,_0x5c0148[_0x3a4910(0x275)]=recursive,_0x5c0148[_0x3a4910(0x1ef)]=sort,_0x5c0148[_0x3a4910(0x23a)]=spec,_0x40784c=_0x2e1e0d[_0x3a4910(0x24d)](collectFiles,_0x5c0148);}helper['markSDKSetupComplete']();if(!helper['isBrowserstackInfra']()){const _0x37d7ef=0x1,_0x46919d={..._0x1748ec};_0x46919d[_0x3a4910(0x23a)]=[..._0x40784c],_0x3b4868[_0x3a4910(0x1c9)]({'mochaOpts':_0x46919d,'configuration':{'platform':os['platform']()}}),logger[_0x3a4910(0x22e)](_0x2e1e0d[_0x3a4910(0x1e7)]),logger['info'](_0x2e1e0d[_0x3a4910(0x214)]),_0x2e1e0d[_0x3a4910(0x1dc)](parallelTestRun,_0x3b4868,_0x37d7ef,_0x2986cb['config'])[_0x3a4910(0x20e)](_0x511261=>{_0x2e1e0d['SmJSQ'](printStats,_0x511261,_0x563f1e['reporter'],_0x563f1e['reporterOptions']||_0x563f1e[_0x2e1e0d['Pnlqv']]);})['finally'](()=>{const _0x141629=_0x3a4910;try{helper[_0x141629(0x1f6)](_0x2e1e0d['ALkHA'],{},_0x2986cb[_0x141629(0x1eb)],_0x2986cb['framework']);}catch(_0x743103){logger['debug'](_0x141629(0x237)+_0x743103);}try{helper[_0x141629(0x222)]();}catch(_0x228fd4){logger[_0x141629(0x20a)](_0x141629(0x1ee)+_0x228fd4);}testOpsHelper[_0x141629(0x255)]();});}else{const _0x975ca0=_0x2e1e0d['gycbG'](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x1bf)]['length'],_0x2986cb['config'][_0x3a4910(0x234)]),_0xba751b=helper[_0x3a4910(0x20d)](_0x2986cb[_0x3a4910(0x1eb)]),_0x1ff0bb=helper[_0x3a4910(0x28a)](_0x2986cb[_0x3a4910(0x1eb)]);_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x1bf)][_0x3a4910(0x238)]((_0x211d2f,_0x1bfc2e)=>{const _0x191c7a=_0x3a4910;_0xba751b?_0x539738[_0x191c7a(0x1c9)](helper[_0x191c7a(0x22f)](_0x2986cb[_0x191c7a(0x1eb)],_0x2e1e0d[_0x191c7a(0x27e)],_0x1bfc2e)):_0x539738[_0x191c7a(0x1c9)](helper['modifyBrowserStackCaps'](_0x2986cb[_0x191c7a(0x1eb)],_0x2e1e0d[_0x191c7a(0x27e)],_0x1bfc2e));});const _0x388cd6=_0x2e1e0d[_0x3a4910(0x24d)](getPercyOptions,_0x2986cb['config']);if(_0x2e1e0d[_0x3a4910(0x20f)](_0x2986cb[_0x3a4910(0x1eb)][_0x3a4910(0x234)],0x1))_0x40784c[_0x3a4910(0x238)](_0x55c41d=>{const _0x5733c5=_0x3a4910,_0x38a6da=[];_0x539738[_0x5733c5(0x238)]((_0x42c6a5,_0x421310)=>{const _0x4402bd=_0x5733c5,_0x21ff10={};_0x21ff10[_0x4402bd(0x23a)]=[_0x55c41d],_0x38a6da[_0x4402bd(0x1c9)]({'mochaOpts':Object[_0x4402bd(0x207)]({},_0x1748ec,_0x21ff10),'configuration':{'server':_0x1ff0bb,'capability':_0x42c6a5,'proxySettings':_0x2986cb['config'][_0x4402bd(0x28d)],'platform':helper[_0x4402bd(0x1df)](_0x42c6a5),'browserStackLogLevel':_0x2986cb[_0x4402bd(0x1eb)][_0x4402bd(0x25a)],'platformIndex':_0x421310,'browserStackPercyOptions':_0x388cd6,'platformCaps':_0x2986cb[_0x4402bd(0x1eb)]['platforms'][_0x421310]}});}),_0x3b4868[_0x5733c5(0x1c9)](..._0x38a6da);});else{const _0x432166=[];_0x539738[_0x3a4910(0x238)]((_0x88ed6,_0xbc5c9f)=>{const _0x2670d2=_0x3a4910;let _0x4c9be5=Object[_0x2670d2(0x207)]({},_0x1748ec);testOpsHelper[_0x2670d2(0x24f)]()&&testOpsHelper[_0x2670d2(0x285)]()&&(_0x4c9be5={..._0x4c9be5,'spec':[..._0x40784c]}),_0x432166[_0x2670d2(0x1c9)]({'mochaOpts':_0x4c9be5,'configuration':{'server':_0x1ff0bb,'capability':_0x88ed6,'proxySettings':_0x2986cb[_0x2670d2(0x1eb)][_0x2670d2(0x28d)],'platform':helper[_0x2670d2(0x1df)](_0x88ed6),'browserStackLogLevel':_0x2986cb[_0x2670d2(0x1eb)][_0x2670d2(0x25a)],'platformIndex':_0xbc5c9f,'browserStackPercyOptions':_0x388cd6,'platformCaps':_0x2986cb[_0x2670d2(0x1eb)]['platforms'][_0xbc5c9f]}});}),_0x3b4868['push'](..._0x432166);}logger[_0x3a4910(0x22e)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x2986cb[_0x3a4910(0x1eb)]['platforms'][_0x3a4910(0x1d1)]+_0x3a4910(0x271)),logger[_0x3a4910(0x22e)](_0x2e1e0d[_0x3a4910(0x214)]);let _0x100b8c;_0x2e1e0d[_0x3a4910(0x279)](parallelTestRun,_0x3b4868,_0x975ca0,_0x2986cb[_0x3a4910(0x1eb)])[_0x3a4910(0x20e)](_0x4ebcc6=>{const _0x3857ef=_0x3a4910;_0x100b8c=_0x4ebcc6,_0x2e1e0d['SmJSQ'](printStats,_0x4ebcc6,_0x563f1e[_0x3857ef(0x28e)],_0x563f1e[_0x3857ef(0x1e1)]||_0x563f1e[_0x2e1e0d[_0x3857ef(0x1fb)]]);})[_0x3a4910(0x259)](async()=>{const _0x242f2e=_0x3a4910;_0x2986cb[_0x242f2e(0x24b)]=helper[_0x242f2e(0x26e)](_0x100b8c,_0x2e1e0d[_0x242f2e(0x27e)]),await helper[_0x242f2e(0x288)](_0x2986cb),testOpsHelper[_0x242f2e(0x255)]();});}}module[a26_0x2f4f95(0x261)]=run;function a26_0x4674(){const _0x56b8f1=['eUvOZ','yXoNF','hijAd','rootHooks','get','has','../../helpers/percy/utils','aloCV','27488UcOXnF','xunit','pbNeW','skipped','wLEKY','getPlatformName','Tests:\x20\x20\x20\x20\x20\x20\x20','reporterOptions','Mocha\x20Tests','parseFileNames','FFuki','LayEU','exitCode','LPXdC','CFRKf','RGwxZ','415HHGowj','config','NNkot','zwBaO','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','sort','cIMdA','title','ZUEIJ','GsyYc','kjcen','xdWin','fireFunnelTestEvent','../../helpers/BrowserStackSetup','parse','actual','aQsYV','Pnlqv','stats','handleApp','mVdsq','err','Running\x20your\x20mocha\x20tests','suiteName','object','qXITZ','message','ZMKVI','consoleLog','assign','326318MZszGO','PlPuB','debug','Xyybv','Total\x20Suites:\x20','useW3C','then','GVXKf','BROWSERSTACK_AUTOMATION','useColors','failed','QgtGo','hkVgk','file','VGqed','rkIwW','../../helpers/helper','../../helpers/test-observability/utils','708414oMvmZB','json','SUrCS','bBIAw','BROWSERSTACK_TEST_OBSERVABILITY_YML','SDKTestSuccessful','WCpLK','GOtIp','notifyUpdate','pending','fullTitle','ePPXb','YObWK','results','output','qSpUu','jUoBq','tLYny','709731uvVZLs','KCKNE','info','modifyBrowserStackW3CCaps','NzWro','argv','MBhjf','Printing\x20stats\x20of\x20tests','parallelsPerPlatform','writeFileSync','pnMWW','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','forEach','testObservability','spec','szNUa','KOkqi','../../helpers/logger','mocha/lib/cli/collect-files.js','CFtnR','initialize','state','extension','indexOf','569684voLbfD','Listing\x20all\x20the\x20failures','bold','showDiff','testsPassed','bgBlueBright','xRBJA','errorMessage','accessibility','wxjar','join','isTestObservabilitySession','BROWSERSTACK_TEST_OBSERVABILITY','NWJku','--disable-browserstack-automation','BROWSERSTACK_TEST_ACCESSIBILITY_YML','mocha','printBuildLink','stringify','\x20skipped','vsrKc','finally','logLevel','UxtlB','isPending','../test-runner','bgRedBright','isUndefined','ignore','exports','6516HHwvoJ','cyyvU','fgLCv','JtVTK','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','wenqk','nuaDK','hZIVj','titlePathV','PLsMU','testSuites','env','getErrorMessageFromResults','speed','\x20failed','\x20platforms','Total\x20Platforms:\x20','Couldn\x27t\x20write\x20xunit\x20result\x20to','log','recursive','duration','QmXXw','182MTzqGA','gVIbn','VIcFC','\x20passed','test','testsuite','kCZuQ','min','testcase','uFDuO','jXaHi','cliConfig','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','shouldReRunObservabilityTests','toUTCString','list','finalExecution','Cajiu','getHubUrl','chalk','call','proxySettings','reporter','eTHZg','green','add','reporter-option','BROWSERSTACK_RERUN_TESTS','</testsuite>','PwNaP','generateDiff','--disable-test-observability','error','cjs','UVIDf','accessibilityOptions','UNgGI','ZarZB','hFTgM','iYoGz','platforms','rerunTests','zSWJP','hURHs','****\x20FAILURES\x20****','hfRMb','testsPending','422408kKMOZj','mocha/lib/reporters/base.js','passed','push','testsFailed','doc','CiQZo','\x20total','includes','Couldn\x27t\x20write\x20json\x20result\x20to','dwZNh','length'];a26_0x4674=function(){return _0x56b8f1;};return a26_0x4674();}
@@ -1 +1 @@
1
- const a27_0x55e295=a27_0x3104;function a27_0x3104(_0x45d049,_0x2e95aa){const _0x3c9fea=a27_0x3c9f();return a27_0x3104=function(_0x310475,_0x322808){_0x310475=_0x310475-0x89;let _0x1fa868=_0x3c9fea[_0x310475];return _0x1fa868;},a27_0x3104(_0x45d049,_0x2e95aa);}function a27_0x3c9f(){const _0x5e9117=['caps_','COTRB','/session','4|3|0|1|5|2','proxyUrl','366RPpoQa','New\x20hub\x20url\x20set\x20to\x20','CAPABILITY_KEY','pZXui','proxy_','capability','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','GAPAN','capabilities_','EnhFx','object','2813472fckXes','xnXZZ','ms:edgeOptions','JbLJg','debug','KjPuV','get','1894680HLdsYM','newHubUrl','setCapabilities','setLogLevel','setGlobal','session_','../../../helpers/helper','HttpClient','iRmWt','send','ieOptions','getGlobal','agent_','1410636FTtcDC','3339mptGtj','edgeOptions_','info','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Hub\x20url\x20set\x20to\x20','nkxol','mdPQa','../../../helpers/globals','getHttpAgent','browserStackLogLevel','__setBrowserOptions','UpKsw','sUFcG','9GnaAgM','then','WOeMM','path','exports','isPacProxy','../../../helpers/logger','build','cxTEz','error','__driversArray','126nXIBaO','IRRIJ','jEFoM','getHubUrl','ieOptions_','global','push','url_','proxySettings','overrideExecute','firefoxOptions_','Modifying\x20webdriver\x20builder','options_','edgeOptions','esoMX','overrideGet','requireSeleniumWebdriver','getRequestOptions','tsYzZ','279235dNiXxS','setServer','isAccessibilityPlatform','../../../helpers/patchHelpers','safariOptions_','gkDFZ','Rfrxa','goog:chromeOptions','updateHubUrl','TyKNC','../accessibility-automation/helper','sOeiz','wfOCr','oLlcD','originalBuilder','chromeOptions_','split','mergeDeep','set','safari.options','isUndefined','DjOer','firefoxOptions','280LHqgYh','requireHttpClient','Builder','fLkjG','6096992fxkLNP','292929Ocrrmw','__drivers','getAccessibilityResults','ITprq'];a27_0x3c9f=function(){return _0x5e9117;};return a27_0x3c9f();}(function(_0x272b92,_0xc79607){const _0xd0898f=a27_0x3104,_0x8901d9=_0x272b92();while(!![]){try{const _0x45cfae=parseInt(_0xd0898f(0x9e))/0x1*(-parseInt(_0xd0898f(0xee))/0x2)+parseInt(_0xd0898f(0x9d))/0x3+-parseInt(_0xd0898f(0x89))/0x4+parseInt(_0xd0898f(0x90))/0x5+-parseInt(_0xd0898f(0xb6))/0x6*(-parseInt(_0xd0898f(0xe5))/0x7)+parseInt(_0xd0898f(0xe4))/0x8*(parseInt(_0xd0898f(0xab))/0x9)+-parseInt(_0xd0898f(0xe0))/0xa*(parseInt(_0xd0898f(0xc9))/0xb);if(_0x45cfae===_0xc79607)break;else _0x8901d9['push'](_0x8901d9['shift']());}catch(_0x536a99){_0x8901d9['push'](_0x8901d9['shift']());}}}(a27_0x3c9f,0x717ea));const logger=require(a27_0x55e295(0xb1))['winstonLogger'],helper=require(a27_0x55e295(0x96)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x55e295(0xcc)),{setAccessibilityCapabilities,setExtension}=require(a27_0x55e295(0xd3)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a27_0x55e295(0xa5)),modify=(_0x22031c,_0x1258a2=null,_0x52b42d=![])=>{const _0x1e3146=a27_0x55e295,_0x5e2982={'JbLJg':function(_0x4d2020,_0x581f5f){return _0x4d2020!==_0x581f5f;},'mdPQa':_0x1e3146(0xeb),'gkDFZ':function(_0x1af850,_0x506ba0){return _0x1af850!==_0x506ba0;},'cxTEz':function(_0x16e4c9,_0x3ccb08){return _0x16e4c9+_0x3ccb08;},'oLlcD':'https://','WOeMM':'/wd/hub','EnhFx':_0x1e3146(0xd0),'GAPAN':'chromeOptions','nkxol':_0x1e3146(0x8b),'rluip':_0x1e3146(0xc3),'oqsyV':'moz:firefoxOptions','FzjSA':_0x1e3146(0xdf),'lDSrz':_0x1e3146(0xdc),'KhCqP':'se:ieOptions','sUFcG':_0x1e3146(0x9a),'mtrwb':function(_0x2ce6d4,_0x43a7fb){return _0x2ce6d4===_0x43a7fb;},'TyKNC':_0x1e3146(0xf8),'tsYzZ':'Setting\x20Browserstack\x20capabilities','IqBJM':'optimalHubUrl','fLkjG':_0x1e3146(0xf4),'RRjvz':'4|1|2|0|5|3','esoMX':function(_0x372e72,_0x1c74f6){return _0x372e72(_0x1c74f6);},'iRmWt':function(_0x5117c3,_0xcb9dc,_0x8c48f4){return _0x5117c3(_0xcb9dc,_0x8c48f4);},'UpKsw':function(_0x1ac55a,_0x255d28,_0x1cd90c){return _0x1ac55a(_0x255d28,_0x1cd90c);},'jEFoM':function(_0x213949,_0x26210e,_0x28f7f2){return _0x213949(_0x26210e,_0x28f7f2);},'HfeCH':_0x1e3146(0xec),'COTRB':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','IRRIJ':function(_0x20830b){return _0x20830b();},'Rfrxa':function(_0x10d383,_0x2622a8){return _0x10d383(_0x2622a8);},'ITprq':_0x1e3146(0xcb),'YCREm':function(_0x4726a6,_0x19a365){return _0x4726a6(_0x19a365);},'xnXZZ':function(_0x2e4874,_0x36be90){return _0x2e4874!==_0x36be90;},'DftVM':function(_0x5dbfd2,_0x4772b3){return _0x5dbfd2!==_0x4772b3;},'sOeiz':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','KjPuV':_0x1e3146(0xc1)},_0x4cbbab=helper[_0x1e3146(0xe1)]();let _0x504032;try{_0x504032=helper[_0x1e3146(0xc6)](),_0x504032[_0x1e3146(0xd7)]&&(_0x504032[_0x1e3146(0xe2)]=_0x504032[_0x1e3146(0xd7)]);}catch(_0x26f1a6){return;}if(helper['isBrowserstackInfra']()){const _0x374ebe={};_0x374ebe['logLevel']=_0x22031c[_0x1e3146(0xa7)],helper[_0x1e3146(0x93)](_0x374ebe,new Map(),new Map()),logger[_0x1e3146(0xa0)](_0x5e2982[_0x1e3146(0xd4)]),logger['debug'](_0x5e2982[_0x1e3146(0x8e)]);}class _0x390e44 extends _0x4cbbab[_0x1e3146(0x97)]{['send'](_0x2dddc8){const _0x10a96c=_0x1e3146;if(_0x5e2982[_0x10a96c(0x8c)](_0x2dddc8[_0x10a96c(0xae)],_0x5e2982[_0x10a96c(0xa4)])&&_0x5e2982[_0x10a96c(0xce)](global[_0x10a96c(0x91)],''))try{global[_0x10a96c(0x91)]=_0x5e2982['cxTEz'](_0x5e2982[_0x10a96c(0xb3)](_0x5e2982[_0x10a96c(0xd6)],global[_0x10a96c(0x91)]),_0x5e2982[_0x10a96c(0xad)]),this[_0x10a96c(0xc2)]=hubAllocator[_0x10a96c(0xc7)](global[_0x10a96c(0x91)]),logger[_0x10a96c(0x8d)](_0x10a96c(0xef)+global[_0x10a96c(0x91)]),global[_0x10a96c(0x91)]='';}catch(_0x17dc4e){logger[_0x10a96c(0xb4)](_0x17dc4e);}return super[_0x10a96c(0x99)](_0x2dddc8);}}class _0x167e0b extends _0x504032['Builder']{[_0x1e3146(0xca)](){const _0x164b21=_0x1e3146;return this[_0x164b21(0xbd)]=helper[_0x164b21(0xb9)](_0x22031c),logger[_0x164b21(0x8d)](_0x164b21(0xa2)+this['url_']),this;}['__setBrowserOptions'](_0x578144){const _0x24e9d1=_0x1e3146;let _0x145422={};for(const _0x510ec2 in _0x578144){switch(_0x510ec2){case _0x5e2982[_0x24e9d1(0xf7)]:case _0x5e2982[_0x24e9d1(0xf5)]:this['chromeOptions_']&&(_0x145422=this[_0x24e9d1(0xd8)][_0x24e9d1(0x8f)](this[_0x24e9d1(0xd8)][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xd8)]['set'](this[_0x24e9d1(0xd8)]['CAPABILITY_KEY'],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982[_0x24e9d1(0xa3)]:case _0x5e2982['rluip']:this[_0x24e9d1(0x9f)]&&(_0x145422=this[_0x24e9d1(0x9f)]['get'](this[_0x24e9d1(0x9f)][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0x9f)][_0x24e9d1(0xdb)](this[_0x24e9d1(0x9f)][_0x24e9d1(0xf0)],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982['oqsyV']:case _0x5e2982['FzjSA']:this['firefoxOptions_']&&(_0x145422=this[_0x24e9d1(0xc0)][_0x24e9d1(0x8f)](this['firefoxOptions_'][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xc0)][_0x24e9d1(0xdb)](this[_0x24e9d1(0xc0)]['CAPABILITY_KEY'],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982['lDSrz']:this[_0x24e9d1(0xcd)]&&(_0x145422=this[_0x24e9d1(0xcd)]['get'](this[_0x24e9d1(0xcd)][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xcd)][_0x24e9d1(0xdb)](this['safariOptions_'][_0x24e9d1(0xf0)],helper[_0x24e9d1(0xda)](_0x145422,_0x578144[_0x510ec2])));break;case _0x5e2982['KhCqP']:case _0x5e2982[_0x24e9d1(0xaa)]:this[_0x24e9d1(0xba)]&&(_0x145422=this['ieOptions_'][_0x24e9d1(0x8f)](this['ieOptions_'][_0x24e9d1(0xf0)])||{},this[_0x24e9d1(0xba)]['set'](this[_0x24e9d1(0xba)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x145422,_0x578144[_0x510ec2])));break;}}}[_0x1e3146(0x92)](){const _0x783d64=_0x1e3146,_0x1ddc95={'pBBtS':function(_0x130b99,_0x1c31e6){return _0x5e2982['mtrwb'](_0x130b99,_0x1c31e6);},'pZXui':_0x5e2982[_0x783d64(0xd2)]};return logger[_0x783d64(0x8d)](_0x5e2982[_0x783d64(0xc8)]),this[_0x783d64(0xa8)](_0x22031c[_0x783d64(0xf3)]),Object['keys'](_0x22031c[_0x783d64(0xf3)])['forEach'](_0x1585f8=>{const _0x5aafc1=_0x783d64,_0x328031=this['capabilities_'][_0x5aafc1(0x8f)](_0x1585f8);_0x1ddc95['pBBtS'](typeof _0x328031,_0x1ddc95[_0x5aafc1(0xf1)])?this[_0x5aafc1(0xf6)]['set'](_0x1585f8,helper[_0x5aafc1(0xda)](_0x328031,_0x22031c['capability'][_0x1585f8])):this[_0x5aafc1(0xf6)][_0x5aafc1(0xdb)](_0x1585f8,_0x22031c[_0x5aafc1(0xf3)][_0x1585f8]);}),this;}[_0x1e3146(0xb2)](){const _0x3629d1=_0x1e3146,_0x408af8={'DjOer':function(_0x26597a,_0x18f70c,_0x4bd82c){return _0x5e2982['UpKsw'](_0x26597a,_0x18f70c,_0x4bd82c);},'eGcfr':function(_0x290518,_0x10f3f7,_0x20d717){const _0x24c215=a27_0x3104;return _0x5e2982[_0x24c215(0xa9)](_0x290518,_0x10f3f7,_0x20d717);},'wfOCr':function(_0x407fd4,_0x5ea54a,_0xa26ad4){return _0x5e2982['jEFoM'](_0x407fd4,_0x5ea54a,_0xa26ad4);}};if(helper['isBrowserstackInfra']()){const _0x471573=_0x5e2982['HfeCH'][_0x3629d1(0xd9)]('|');let _0x1d6722=0x0;while(!![]){switch(_0x471573[_0x1d6722++]){case'0':this[_0x3629d1(0x92)]();continue;case'1':if(helper[_0x3629d1(0xb0)](_0x22031c[_0x3629d1(0xbe)][_0x3629d1(0xed)]))this[_0x3629d1(0x9c)]=helper[_0x3629d1(0xa6)](_0x22031c[_0x3629d1(0xbe)][_0x3629d1(0xed)]);else _0x22031c[_0x3629d1(0xbe)][_0x3629d1(0xed)]&&(this['proxy_']=_0x22031c['proxySettings']['proxyUrl'],logger[_0x3629d1(0x8d)]('Proxy\x20set\x20to\x20'+this[_0x3629d1(0xf2)]));continue;case'2':logger[_0x3629d1(0x8d)](_0x5e2982[_0x3629d1(0xea)]);continue;case'3':this['setServer']();continue;case'4':_0x5e2982[_0x3629d1(0xb7)](isAccessibilityAutomationSession)&&_0x5e2982[_0x3629d1(0xcf)](setAccessibilityCapabilities,_0x22031c);continue;case'5':globals[_0x3629d1(0x9b)](_0x5e2982['ITprq'])&&(!_0x5e2982[_0x3629d1(0xb8)](setExtension,this,_0x22031c)&&globals[_0x3629d1(0x94)](_0x5e2982[_0x3629d1(0xe8)],![]));continue;}break;}}const _0x21266d=super[_0x3629d1(0xb2)]();return _0x21266d[_0x3629d1(0x95)][_0x3629d1(0xac)](_0x42bf38=>{const _0x5438c3=_0x3629d1;try{const _0x5061c7=_0x42bf38[_0x5438c3(0xe9)][_0x5438c3(0x8f)](_0x5e2982['IqBJM']);_0x5061c7?(logger['debug'](_0x5438c3(0xa1)+_0x5061c7),hubAllocator[_0x5438c3(0xd1)](_0x5061c7),helper['storeOptimalHubUrl'](_0x5061c7)):logger[_0x5438c3(0x8d)](_0x5e2982[_0x5438c3(0xe3)]);}catch(_0x1f0e3e){logger[_0x5438c3(0x8d)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1f0e3e);}}),_0x21266d['quitCount_']=0x0,_0x21266d[_0x3629d1(0xac)]&&_0x21266d[_0x3629d1(0xac)](_0x403f55=>{const _0x203155=_0x3629d1,_0x14b331=_0x5e2982['RRjvz'][_0x203155(0xd9)]('|');let _0x52fb72=0x0;while(!![]){switch(_0x14b331[_0x52fb72++]){case'0':helper['overrideExecute'](_0x403f55,_0x22031c);continue;case'1':_0x5e2982[_0x203155(0xc4)](overrideTakeScreenshot,_0x403f55);continue;case'2':helper[_0x203155(0xc5)](_0x403f55,_0x22031c);continue;case'3':_0x403f55['getAccessibilityResults']=async()=>{return await _0x408af8['eGcfr'](getAccessibilityResults,_0x403f55,global);};continue;case'4':_0x5e2982[_0x203155(0x98)](overrideQuit,_0x403f55,_0x21266d);continue;case'5':_0x403f55['getAccessibilityResultsSummary']=async()=>{const _0x1544d0=_0x203155;return await _0x408af8[_0x1544d0(0xde)](getAccessibilityResultsSummary,_0x403f55,global);};continue;}break;}}),_0x21266d['getAccessibilityResultsSummary']=async()=>{const _0x2e9ab7=_0x3629d1;return await _0x408af8[_0x2e9ab7(0xd5)](getAccessibilityResultsSummary,_0x21266d,global);},_0x21266d[_0x3629d1(0xe7)]=async()=>{const _0x472154=_0x3629d1;return await _0x408af8[_0x472154(0xde)](getAccessibilityResults,_0x21266d,global);},_0x5e2982[_0x3629d1(0xcf)](overrideTakeScreenshot,_0x21266d),_0x5e2982['YCREm'](overrideQuit,_0x21266d),helper['overrideGet'](_0x21266d,_0x22031c),helper[_0x3629d1(0xbf)](_0x21266d,_0x22031c),helper[_0x3629d1(0xdd)](global[_0x3629d1(0xb5)])&&(global[_0x3629d1(0xb5)]=[]),helper[_0x3629d1(0xdd)](global['__drivers'])&&(global[_0x3629d1(0xe6)]=[]),global[_0x3629d1(0xb5)][_0x3629d1(0xbc)](_0x21266d),global['__driver']=_0x21266d,_0x5e2982[_0x3629d1(0x8a)](global[_0x3629d1(0xe6)],undefined)&&global[_0x3629d1(0xe6)][_0x3629d1(0xbc)](_0x21266d),_0x1258a2&&helper[_0x3629d1(0xdd)](_0x1258a2['global']['__driversArray'])&&(_0x1258a2[_0x3629d1(0xbb)][_0x3629d1(0xb5)]=[]),_0x1258a2&&_0x5e2982['DftVM'](_0x1258a2[_0x3629d1(0xbb)][_0x3629d1(0xe6)],undefined)&&(_0x1258a2['global'][_0x3629d1(0xe6)][_0x3629d1(0xbc)](_0x21266d),_0x1258a2[_0x3629d1(0xbb)][_0x3629d1(0xb5)]['push'](_0x21266d)),_0x21266d;}}return _0x504032[_0x1e3146(0xd7)]=_0x504032['Builder'],_0x504032['Builder']=_0x167e0b,_0x4cbbab[_0x1e3146(0x97)]=_0x390e44,_0x504032;};module[a27_0x55e295(0xaf)]['browserstackAgentObservability']=modify;
1
+ function a27_0x25f0(){const _0x41ed3e=['../../../bin/utils/constants','edgeOptions_','lNFDp','../accessibility-automation/helper','2617901QVYAZb','aILqS','global','yKIkn','chromeOptions','../../../helpers/accessibility-automation/helper','mBRXY','overrideGet','NFOSq','proxySettings','__setBrowserOptions','12UTgbel','HYTfR','firefoxOptions_','path','setLogLevel','1277815BbBTxJ','originalBuilder','3TBbztz','proxy_','CAPABILITY_KEY','debug','storeOptimalHubUrl','4580400WfZefG','exports','isBrowserstackInfra','estfK','session_','split','updateHubUrl','optimalHubUrl','requireSeleniumWebdriver','ieOptions','JUXxt','HttpClient','overrideExecute','safariOptions_','Modifying\x20webdriver\x20builder','mvuiO','setServer','__driver','newHubUrl','push','KXIrn','ntisW','capabilities_','caps_','SJOys','build','pMvMl','gSkLu','2187gEQhkC','ieOptions_','edgeOptions','requireHttpClient','5EOMIkR','xLHHW','__drivers','CvhIg','RYaLg','se:ieOptions','8266nqCano','get','cmXWS','468030xWUxWu','iItYj','firefoxOptions','GYWVZ','GSnbr','set','setGlobal','getGlobal','Hub\x20url\x20set\x20to\x20','/wd/hub','proxyUrl','isUndefined','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','chromeOptions_','mergeDeep','315596rvDsme','setCapabilities','kwcJe','../../../helpers/globals','AHPjg','iGHZg','getAccessibilityResultsSummary','XErIv','browserstackAgentObservability','yYmGN','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHubUrl','16tAFIIs','__driversArray','capability','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ms:edgeOptions','yiETI','then','Builder','safari.options','getHttpAgent','moz:firefoxOptions','Proxy\x20set\x20to\x20','getRequestOptions','610QUfJjt','../../../hubAllocationMethods','getAccessibilityResults','object','/session','PmMxf','error','YejTU','drJFy','84aPmqLl','send','info','quitCount_','GLhAv'];a27_0x25f0=function(){return _0x41ed3e;};return a27_0x25f0();}function a27_0x1b3c(_0x25da96,_0x56fb71){const _0x25f0e3=a27_0x25f0();return a27_0x1b3c=function(_0x1b3c0a,_0x370f56){_0x1b3c0a=_0x1b3c0a-0x11b;let _0x4a1377=_0x25f0e3[_0x1b3c0a];return _0x4a1377;},a27_0x1b3c(_0x25da96,_0x56fb71);}const a27_0xa0ddc=a27_0x1b3c;(function(_0x381132,_0x4f9dda){const _0x321d57=a27_0x1b3c,_0xd80efa=_0x381132();while(!![]){try{const _0x51c4b3=-parseInt(_0x321d57(0x148))/0x1*(parseInt(_0x321d57(0x17c))/0x2)+parseInt(_0x321d57(0x11d))/0x3*(parseInt(_0x321d57(0x15a))/0x4)+parseInt(_0x321d57(0x142))/0x5*(-parseInt(_0x321d57(0x14b))/0x6)+-parseInt(_0x321d57(0x11b))/0x7*(-parseInt(_0x321d57(0x166))/0x8)+-parseInt(_0x321d57(0x13e))/0x9*(parseInt(_0x321d57(0x173))/0xa)+parseInt(_0x321d57(0x122))/0xb+-parseInt(_0x321d57(0x190))/0xc*(parseInt(_0x321d57(0x185))/0xd);if(_0x51c4b3===_0x4f9dda)break;else _0xd80efa['push'](_0xd80efa['shift']());}catch(_0x4fa1ff){_0xd80efa['push'](_0xd80efa['shift']());}}}(a27_0x25f0,0x35784));const logger=require('../../../helpers/logger')['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a27_0xa0ddc(0x181)),hubAllocator=require(a27_0xa0ddc(0x174)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a27_0xa0ddc(0x184)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0xa0ddc(0x18a)),globals=require(a27_0xa0ddc(0x15d)),modify=(_0x1b92f5,_0x8829ea=null,_0x2f569b=![])=>{const _0x19d72c=a27_0xa0ddc,_0x1ff3b5={'yYmGN':function(_0x3645ec,_0xa2cdcc){return _0x3645ec!==_0xa2cdcc;},'RYaLg':_0x19d72c(0x177),'PmMxf':function(_0x4f3e3f,_0x16efe6){return _0x4f3e3f+_0x16efe6;},'ceSYd':'https://','SJOys':_0x19d72c(0x154),'aILqS':'goog:chromeOptions','mBRXY':_0x19d72c(0x189),'iGHZg':_0x19d72c(0x16a),'UEcwt':_0x19d72c(0x140),'pMvMl':_0x19d72c(0x170),'HYTfR':_0x19d72c(0x14d),'YejTU':_0x19d72c(0x16e),'drJFy':_0x19d72c(0x147),'hgOtA':_0x19d72c(0x12b),'lNFDp':function(_0xed2703,_0x468066){return _0xed2703===_0x468066;},'AHPjg':_0x19d72c(0x176),'ntisW':'Setting\x20Browserstack\x20capabilities','mvuiO':_0x19d72c(0x129),'GSnbr':_0x19d72c(0x157),'iItYj':function(_0x1681dc,_0x4df88d,_0xab9e15){return _0x1681dc(_0x4df88d,_0xab9e15);},'cmXWS':function(_0xfdba69,_0x35d41d){return _0xfdba69(_0x35d41d);},'NFOSq':function(_0x4c258a,_0x4d16ee,_0x5766b1){return _0x4c258a(_0x4d16ee,_0x5766b1);},'zOBam':'1|4|2|0|3|5','JUXxt':function(_0x3709fe){return _0x3709fe();},'yKIkn':'isAccessibilityPlatform','KXIrn':function(_0x586e1b,_0x17c26e,_0x14a522){return _0x586e1b(_0x17c26e,_0x14a522);},'gSkLu':_0x19d72c(0x169),'estfK':function(_0x199d1e,_0x5adb47){return _0x199d1e(_0x5adb47);},'GYWVZ':function(_0x26b633,_0x5e09ec){return _0x26b633!==_0x5e09ec;},'yiETI':function(_0x36bdae,_0x44ec43){return _0x36bdae!==_0x44ec43;},'kwcJe':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','xLHHW':_0x19d72c(0x130)},_0xa4a7bc=helper[_0x19d72c(0x141)]();let _0x2e1c38;try{_0x2e1c38=helper[_0x19d72c(0x12a)](),_0x2e1c38['originalBuilder']&&(_0x2e1c38[_0x19d72c(0x16d)]=_0x2e1c38[_0x19d72c(0x11c)]);}catch(_0x201b6b){return;}if(helper['isBrowserstackInfra']()){const _0x45fba4={};_0x45fba4['logLevel']=_0x1b92f5['browserStackLogLevel'],helper[_0x19d72c(0x194)](_0x45fba4,new Map(),new Map()),logger[_0x19d72c(0x17e)](_0x1ff3b5[_0x19d72c(0x15c)]),logger[_0x19d72c(0x120)](_0x1ff3b5[_0x19d72c(0x143)]);}class _0x48d711 extends _0xa4a7bc['HttpClient']{[_0x19d72c(0x17d)](_0x8e2fa4){const _0x16271d=_0x19d72c;if(_0x1ff3b5[_0x16271d(0x163)](_0x8e2fa4[_0x16271d(0x193)],_0x1ff3b5[_0x16271d(0x146)])&&_0x1ff3b5[_0x16271d(0x163)](global[_0x16271d(0x134)],''))try{global['newHubUrl']=_0x1ff3b5['PmMxf'](_0x1ff3b5[_0x16271d(0x178)](_0x1ff3b5['ceSYd'],global[_0x16271d(0x134)]),_0x1ff3b5[_0x16271d(0x13a)]),this['options_']=hubAllocator[_0x16271d(0x172)](global['newHubUrl']),logger[_0x16271d(0x120)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x16271d(0x134)]),global[_0x16271d(0x134)]='';}catch(_0x33ebb8){logger[_0x16271d(0x179)](_0x33ebb8);}return super[_0x16271d(0x17d)](_0x8e2fa4);}}class _0x4d1202 extends _0x2e1c38[_0x19d72c(0x16d)]{[_0x19d72c(0x132)](){const _0x5903ad=_0x19d72c;return this['url_']=helper[_0x5903ad(0x165)](_0x1b92f5),logger[_0x5903ad(0x120)](_0x5903ad(0x153)+this['url_']),this;}['__setBrowserOptions'](_0x5316e0){const _0x179f90=_0x19d72c;let _0x546c54={};for(const _0x80e7ea in _0x5316e0){switch(_0x80e7ea){case _0x1ff3b5[_0x179f90(0x186)]:case _0x1ff3b5[_0x179f90(0x18b)]:this[_0x179f90(0x158)]&&(_0x546c54=this['chromeOptions_']['get'](this[_0x179f90(0x158)][_0x179f90(0x11f)])||{},this[_0x179f90(0x158)][_0x179f90(0x150)](this['chromeOptions_'][_0x179f90(0x11f)],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x15f)]:case _0x1ff3b5['UEcwt']:this['edgeOptions_']&&(_0x546c54=this[_0x179f90(0x182)][_0x179f90(0x149)](this['edgeOptions_'][_0x179f90(0x11f)])||{},this[_0x179f90(0x182)][_0x179f90(0x150)](this[_0x179f90(0x182)]['CAPABILITY_KEY'],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x13c)]:case _0x1ff3b5[_0x179f90(0x191)]:this[_0x179f90(0x192)]&&(_0x546c54=this[_0x179f90(0x192)][_0x179f90(0x149)](this[_0x179f90(0x192)][_0x179f90(0x11f)])||{},this[_0x179f90(0x192)][_0x179f90(0x150)](this['firefoxOptions_']['CAPABILITY_KEY'],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x17a)]:this[_0x179f90(0x12f)]&&(_0x546c54=this['safariOptions_'][_0x179f90(0x149)](this['safariOptions_'][_0x179f90(0x11f)])||{},this[_0x179f90(0x12f)]['set'](this['safariOptions_'][_0x179f90(0x11f)],helper[_0x179f90(0x159)](_0x546c54,_0x5316e0[_0x80e7ea])));break;case _0x1ff3b5[_0x179f90(0x17b)]:case _0x1ff3b5['hgOtA']:this[_0x179f90(0x13f)]&&(_0x546c54=this[_0x179f90(0x13f)][_0x179f90(0x149)](this[_0x179f90(0x13f)][_0x179f90(0x11f)])||{},this[_0x179f90(0x13f)]['set'](this[_0x179f90(0x13f)][_0x179f90(0x11f)],helper['mergeDeep'](_0x546c54,_0x5316e0[_0x80e7ea])));break;}}}[_0x19d72c(0x15b)](){const _0x248449=_0x19d72c;return logger['debug'](_0x1ff3b5[_0x248449(0x137)]),this[_0x248449(0x18f)](_0x1b92f5[_0x248449(0x168)]),Object['keys'](_0x1b92f5['capability'])['forEach'](_0x5b2ef6=>{const _0x413df9=_0x248449,_0x29c415=this[_0x413df9(0x138)]['get'](_0x5b2ef6);_0x1ff3b5[_0x413df9(0x183)](typeof _0x29c415,_0x1ff3b5[_0x413df9(0x15e)])?this[_0x413df9(0x138)][_0x413df9(0x150)](_0x5b2ef6,helper[_0x413df9(0x159)](_0x29c415,_0x1b92f5[_0x413df9(0x168)][_0x5b2ef6])):this[_0x413df9(0x138)][_0x413df9(0x150)](_0x5b2ef6,_0x1b92f5[_0x413df9(0x168)][_0x5b2ef6]);}),this;}['build'](){const _0x399b8e=_0x19d72c,_0xf99458={'XErIv':function(_0x1531fd,_0x43dac2,_0x414387){const _0x41d8e7=a27_0x1b3c;return _0x1ff3b5[_0x41d8e7(0x18d)](_0x1531fd,_0x43dac2,_0x414387);}};if(helper[_0x399b8e(0x124)]()){const _0x3377bc=_0x1ff3b5['zOBam'][_0x399b8e(0x127)]('|');let _0x30e5ad=0x0;while(!![]){switch(_0x3377bc[_0x30e5ad++]){case'0':if(helper['isPacProxy'](_0x1b92f5['proxySettings'][_0x399b8e(0x155)]))this['agent_']=helper[_0x399b8e(0x16f)](_0x1b92f5[_0x399b8e(0x18e)][_0x399b8e(0x155)]);else _0x1b92f5[_0x399b8e(0x18e)][_0x399b8e(0x155)]&&(this['proxy_']=_0x1b92f5[_0x399b8e(0x18e)]['proxyUrl'],logger['debug'](_0x399b8e(0x171)+this[_0x399b8e(0x11e)]));continue;case'1':_0x1ff3b5[_0x399b8e(0x12c)](isAccessibilityAutomationSession)&&_0x1ff3b5['cmXWS'](setAccessibilityCapabilities,_0x1b92f5);continue;case'2':this[_0x399b8e(0x15b)]();continue;case'3':globals[_0x399b8e(0x152)](_0x1ff3b5[_0x399b8e(0x188)])&&(!_0x1ff3b5[_0x399b8e(0x136)](setExtension,this,_0x1b92f5)&&globals[_0x399b8e(0x151)](_0x1ff3b5[_0x399b8e(0x188)],![]));continue;case'4':this[_0x399b8e(0x132)]();continue;case'5':logger[_0x399b8e(0x120)](_0x1ff3b5[_0x399b8e(0x13d)]);continue;}break;}}const _0x2304ff=super[_0x399b8e(0x13b)]();return _0x2304ff[_0x399b8e(0x126)]['then'](_0x16e100=>{const _0x1f3f59=_0x399b8e;try{const _0x1cbc6e=_0x16e100[_0x1f3f59(0x139)][_0x1f3f59(0x149)](_0x1ff3b5[_0x1f3f59(0x131)]);_0x1cbc6e?(logger[_0x1f3f59(0x120)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1cbc6e),hubAllocator[_0x1f3f59(0x128)](_0x1cbc6e),helper[_0x1f3f59(0x121)](_0x1cbc6e)):logger['debug'](_0x1ff3b5[_0x1f3f59(0x14f)]);}catch(_0xb8a28e){logger[_0x1f3f59(0x120)](_0x1f3f59(0x164)+_0xb8a28e);}}),_0x2304ff[_0x399b8e(0x17f)]=0x0,_0x2304ff[_0x399b8e(0x16c)]&&_0x2304ff[_0x399b8e(0x16c)](_0x16bb6a=>{const _0x1b26f8=_0x399b8e,_0x5e4bb3={'GLhAv':function(_0x42080c,_0x20aef9,_0x206879){const _0x520bc1=a27_0x1b3c;return _0x1ff3b5[_0x520bc1(0x14c)](_0x42080c,_0x20aef9,_0x206879);},'CvhIg':function(_0x4a5474,_0x51cd05,_0x1e202d){const _0x20a432=a27_0x1b3c;return _0x1ff3b5[_0x20a432(0x14c)](_0x4a5474,_0x51cd05,_0x1e202d);}};_0x1ff3b5['iItYj'](overrideQuit,_0x16bb6a,_0x2304ff),_0x1ff3b5[_0x1b26f8(0x14a)](overrideTakeScreenshot,_0x16bb6a),helper['overrideGet'](_0x16bb6a,_0x1b92f5),helper[_0x1b26f8(0x12e)](_0x16bb6a,_0x1b92f5),_0x16bb6a[_0x1b26f8(0x160)]=async()=>{const _0x5523bc=_0x1b26f8;return await _0x5e4bb3[_0x5523bc(0x180)](getAccessibilityResultsSummary,_0x16bb6a,global);},_0x16bb6a[_0x1b26f8(0x175)]=async()=>{const _0x2fda7a=_0x1b26f8;return await _0x5e4bb3[_0x2fda7a(0x145)](getAccessibilityResults,_0x16bb6a,global);};}),_0x2304ff[_0x399b8e(0x160)]=async()=>{return await _0xf99458['XErIv'](getAccessibilityResultsSummary,_0x2304ff,global);},_0x2304ff[_0x399b8e(0x175)]=async()=>{const _0x431609=_0x399b8e;return await _0xf99458[_0x431609(0x161)](getAccessibilityResults,_0x2304ff,global);},_0x1ff3b5[_0x399b8e(0x14a)](overrideTakeScreenshot,_0x2304ff),_0x1ff3b5[_0x399b8e(0x125)](overrideQuit,_0x2304ff),helper[_0x399b8e(0x18c)](_0x2304ff,_0x1b92f5),helper[_0x399b8e(0x12e)](_0x2304ff,_0x1b92f5),helper['isUndefined'](global[_0x399b8e(0x167)])&&(global[_0x399b8e(0x167)]=[]),helper['isUndefined'](global[_0x399b8e(0x144)])&&(global[_0x399b8e(0x144)]=[]),global[_0x399b8e(0x167)]['push'](_0x2304ff),global[_0x399b8e(0x133)]=_0x2304ff,_0x1ff3b5[_0x399b8e(0x14e)](global['__drivers'],undefined)&&global[_0x399b8e(0x144)][_0x399b8e(0x135)](_0x2304ff),_0x8829ea&&helper[_0x399b8e(0x156)](_0x8829ea[_0x399b8e(0x187)][_0x399b8e(0x167)])&&(_0x8829ea['global'][_0x399b8e(0x167)]=[]),_0x8829ea&&_0x1ff3b5[_0x399b8e(0x16b)](_0x8829ea[_0x399b8e(0x187)][_0x399b8e(0x144)],undefined)&&(_0x8829ea['global'][_0x399b8e(0x144)][_0x399b8e(0x135)](_0x2304ff),_0x8829ea[_0x399b8e(0x187)]['__driversArray']['push'](_0x2304ff)),_0x2304ff;}}return _0x2e1c38['originalBuilder']=_0x2e1c38[_0x19d72c(0x16d)],_0x2e1c38[_0x19d72c(0x16d)]=_0x4d1202,_0xa4a7bc[_0x19d72c(0x12d)]=_0x48d711,_0x2e1c38;};module[a27_0xa0ddc(0x123)][a27_0xa0ddc(0x162)]=modify;
@@ -1 +1 @@
1
- function a28_0x8f14(_0x1ad859,_0x5d2d7a){const _0x21e5cc=a28_0x21e5();return a28_0x8f14=function(_0x8f14ee,_0x44fcb7){_0x8f14ee=_0x8f14ee-0x6c;let _0x3ef341=_0x21e5cc[_0x8f14ee];return _0x3ef341;},a28_0x8f14(_0x1ad859,_0x5d2d7a);}const a28_0x37a234=a28_0x8f14;function a28_0x21e5(){const _0x27779f=['restore','1658UMAAVp','9450531AKmTde','1471014xHLLQL','8DJLjZg','timeout','5243707fqmMqd','../../../helpers/test-observability/utils','33922180KeDnDs','1413NtwnBY','2636taBNUr','2822889WsHGSK','7115OVDOvN'];a28_0x21e5=function(){return _0x27779f;};return a28_0x21e5();}(function(_0x2e2939,_0xcefd25){const _0x3cee46=a28_0x8f14,_0x6d69b6=_0x2e2939();while(!![]){try{const _0x288bd7=-parseInt(_0x3cee46(0x72))/0x1*(parseInt(_0x3cee46(0x77))/0x2)+-parseInt(_0x3cee46(0x74))/0x3+-parseInt(_0x3cee46(0x73))/0x4*(-parseInt(_0x3cee46(0x75))/0x5)+parseInt(_0x3cee46(0x6c))/0x6+-parseInt(_0x3cee46(0x6f))/0x7*(parseInt(_0x3cee46(0x6d))/0x8)+-parseInt(_0x3cee46(0x78))/0x9+parseInt(_0x3cee46(0x71))/0xa;if(_0x288bd7===_0xcefd25)break;else _0x6d69b6['push'](_0x6d69b6['shift']());}catch(_0x236ed9){_0x6d69b6['push'](_0x6d69b6['shift']());}}}(a28_0x21e5,0xa205c));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x37a234(0x70));exports['mochaHooks']={'beforeAll'(){const _0x43046f={'VJAwC':function(_0x10af4c){return _0x10af4c();}},_0x588a97='browserstack internal helper hook';_0x43046f['VJAwC'](addRequestSpy);},'afterAll'(){const _0x58256c=a28_0x37a234,_0x30c050='browserstack internal helper hook';this[_0x58256c(0x6e)](0xea60),requestSpy[_0x58256c(0x76)]();}};
1
+ const a28_0x5098fa=a28_0x433e;function a28_0x433e(_0x4a1741,_0x11af4f){const _0x5eafea=a28_0x5eaf();return a28_0x433e=function(_0x433ecc,_0x204ddf){_0x433ecc=_0x433ecc-0xef;let _0x27365d=_0x5eafea[_0x433ecc];return _0x27365d;},a28_0x433e(_0x4a1741,_0x11af4f);}(function(_0x7eabef,_0x1ebb80){const _0x4eda5b=a28_0x433e,_0x489f26=_0x7eabef();while(!![]){try{const _0x57ef0b=-parseInt(_0x4eda5b(0xf8))/0x1+parseInt(_0x4eda5b(0xfb))/0x2+-parseInt(_0x4eda5b(0xf7))/0x3*(parseInt(_0x4eda5b(0xfd))/0x4)+-parseInt(_0x4eda5b(0xf9))/0x5*(parseInt(_0x4eda5b(0xf0))/0x6)+-parseInt(_0x4eda5b(0xf6))/0x7*(-parseInt(_0x4eda5b(0xf5))/0x8)+parseInt(_0x4eda5b(0xf4))/0x9+-parseInt(_0x4eda5b(0xf1))/0xa;if(_0x57ef0b===_0x1ebb80)break;else _0x489f26['push'](_0x489f26['shift']());}catch(_0x57ebc4){_0x489f26['push'](_0x489f26['shift']());}}}(a28_0x5eaf,0xdef52));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x5098fa(0xf2)),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a28_0x5eaf(){const _0xb4353f=['SDAeJ','11534580SiLabm','4170616zAcnFU','7QrQUPs','24aFmqLx','286395zvBBpl','8805KwCZqA','timeout','2107810ZHVsOF','mochaHooks','33252gaXkSH','restore','1566GizVBr','11310980AVjkvm','../../../bin/utils/constants'];a28_0x5eaf=function(){return _0xb4353f;};return a28_0x5eaf();}exports[a28_0x5098fa(0xfc)]={'beforeAll'(){const _0x33579a=a28_0x5098fa,_0x5ce648={'SDAeJ':function(_0x31c990){return _0x31c990();}},_0x1a6e74='browserstack internal helper hook';_0x5ce648[_0x33579a(0xf3)](addRequestSpy);},'afterAll'(){const _0x169a7c=a28_0x5098fa,_0x5bbfcb='browserstack internal helper hook';this[_0x169a7c(0xfa)](0xea60),requestSpy[_0x169a7c(0xef)]();}};