browserstack-node-sdk 1.35.6 → 1.35.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +60 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a28_0x55ec26=a28_0x337e;(function(_0x4afce9,_0x17c1e0){const _0x58eb5e=a28_0x337e,_0x34167a=_0x4afce9();while(!![]){try{const _0x2b4e20=-parseInt(_0x58eb5e(0x284))/0x1*(-parseInt(_0x58eb5e(0x1f6))/0x2)+-parseInt(_0x58eb5e(0x231))/0x3+-parseInt(_0x58eb5e(0x28e))/0x4+parseInt(_0x58eb5e(0x23a))/0x5+parseInt(_0x58eb5e(0x1e8))/0x6+parseInt(_0x58eb5e(0x241))/0x7*(parseInt(_0x58eb5e(0x205))/0x8)+-parseInt(_0x58eb5e(0x21e))/0x9;if(_0x2b4e20===_0x17c1e0)break;else _0x34167a['push'](_0x34167a['shift']());}catch(_0x55bea8){_0x34167a['push'](_0x34167a['shift']());}}}(a28_0x464b,0xd1ff9));const chalk=require(a28_0x55ec26(0x2ad)),logger=require(a28_0x55ec26(0x1d8))[a28_0x55ec26(0x26a)],helper=require(a28_0x55ec26(0x1fe)),utilities=require(a28_0x55ec26(0x283)),testOpsHelper=require(a28_0x55ec26(0x286)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x55ec26(0x201)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x55ec26(0x227),'mocha'),collectFiles=requireModule(a28_0x55ec26(0x250),a28_0x55ec26(0x29a)),constants=require(a28_0x55ec26(0x25f)),PerformanceTester=require(a28_0x55ec26(0x29b)),PerformanceEvents=require(a28_0x55ec26(0x2af))[a28_0x55ec26(0x27b)],centralScannerConstants=require(a28_0x55ec26(0x212)),{FRAMEWORKS}=require(a28_0x55ec26(0x1d6)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function tag(_0x341a45,_0x193b9b,_0x240522,_0x2ef6a4){const _0x4922c6=a28_0x55ec26,_0x3e636e={'HbIcY':function(_0x37aeca,_0xc0c3c1){return _0x37aeca+_0xc0c3c1;},'JGJzV':function(_0x4b8689,_0x579c49){return _0x4b8689(_0x579c49);},'IrSab':function(_0xc3bc1a,_0x10405c){return _0xc3bc1a+_0x10405c;},'AzPHi':function(_0x233387,_0x2a18a5){return _0x233387+_0x2a18a5;},'hjUAC':function(_0x293fed,_0x24a767){return _0x293fed+_0x24a767;}},_0x20fbed=_0x240522?'/>':'>',_0x1bf6bc=[];let _0x1b3f95;for(const _0x8f1d01 in _0x193b9b){Object[_0x4922c6(0x1cc)][_0x4922c6(0x240)][_0x4922c6(0x259)](_0x193b9b,_0x8f1d01)&&_0x1bf6bc[_0x4922c6(0x223)](_0x3e636e[_0x4922c6(0x1cb)](_0x3e636e[_0x4922c6(0x1cb)](_0x3e636e[_0x4922c6(0x1cb)](_0x8f1d01,'=\x22'),_0x3e636e[_0x4922c6(0x1d5)](escape,_0x193b9b[_0x8f1d01])),'\x22'));}return _0x1b3f95=_0x3e636e['IrSab'](_0x3e636e[_0x4922c6(0x211)](_0x3e636e[_0x4922c6(0x1f7)]('<',_0x341a45),_0x1bf6bc['length']?_0x3e636e[_0x4922c6(0x26e)]('\x20',_0x1bf6bc[_0x4922c6(0x23e)]('\x20')):''),_0x20fbed),_0x2ef6a4&&(_0x1b3f95+=_0x3e636e['AzPHi'](_0x3e636e['IrSab'](_0x3e636e['IrSab'](_0x2ef6a4,'</'),_0x341a45),_0x20fbed)),_0x1b3f95;}let xunitContent='';function a28_0x464b(){const _0x12a93e=['isPending','cjs','\x20platforms','title','notifyUpdate','winstonLogger','config','Running\x20your\x20mocha\x20tests\x20across\x20','files','hjUAC','BdcSZ','HARVN','FgBtn','gQQxJ','zjsQM','getCentralUser','setUserConfigPath','IOTMO','vlqkf','Couldn\x27t\x20write\x20json\x20result\x20to','platforms','has','EVENTS','uINvY','cliConfig','length','LOdoF','setupTCGAuth','jKoXS','titlePath','../../helpers/utilities','3433mKEQiH','mjs','../../helpers/test-observability/utils','RmFIA','hideDiff','accessibility','size','Total\x20Suites:\x20','testcase','pending','6334044BcfurP','OtEhl','IuoPT','red','state','cjHfN','skipped','generateDiff','KKfsq','qgcAQ','failed','validPlatformsPresent','mocha','../../helpers/performance/performance-tester','proxySettings','BaDqr','parseFileNames','QXaJx','ignore','message','Listing\x20all\x20the\x20failures','getTCGConfigFilePaths','PFFZk','YJxUv','wUsBI','QUkfd','kNdYq','fullTitle','****\x20FAILURES\x20****','BROWSERSTACK_RERUN_TESTS','initialize','chalk','nGZSp','../../helpers/performance/constants','currentRetry','getErrorMessageFromResults','json','reporterOptions','rJpcZ','KRXBE','test','\x20failed','zOVTZ','totalTests','gXVTu','CXzHi','vCcsk','err','exports','QNwFP','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','vdavX','list','output','getOwnPropertyNames','NkfYC','results','forEach','HbIcY','prototype','object','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','OygNV','\x0a\x0a\x0a','env','FHciq','finally','framework','JGJzV','../../helpers/test-observability/constants','accessibilityOptions','../../helpers/logger','GLazh','suiteName','failures','rmdirSync','Unhkq','rootHooks','kWOJf','NyNEX','failure','tMXVV','Writing\x20json\x20result\x20to\x20file','bgRedBright','IZzIT','error','ZGpPg','8093190WVoppA','launchBuild','Now,\x20showing\x20logs\x20from\x20mocha','UFvKS','krOTt','printBuildLink','\x20passed','titlePathV','errorMessage','spec','JDWyQ','Writing\x20xunit\x20result\x20to\x20file','MOCHA','Running\x20your\x20mocha\x20tests','898ICGTxG','AzPHi','actual','unlinkSync','xunit','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dgmwb','sort','../../helpers/helper','oCBwa','testObservability','../test-runner','reporter','passes','oOfAR','602216EFLcyo','omQMH','KRnYO','duration','testsPassed','</testsuite>','writeFileSync','debug','parallelsPerPlatform','KIReV','suite','wfxAF','IrSab','../../helpers/central-scanner/constants','VkyFX','stringify','TENKx','testSuites','JLviS','passed','Rzlmy','fireFunnelTestEvent','parse','useW3C','log','5946624UWqwos','dKfXE','isTestObservabilitySession','map','Mocha\x20Tests','push','SDK_CLEANUP','platform','doc','mocha/lib/reporters/base.js','XvcVn','isUndefined','qZGAt','Setting\x20non\x20exit\x20code\x20for\x20failures','testsPending','stack','CoAAK','skHRS','getHubUrl','2455545eruwPM','testsFailed','fnllg','info','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','klMan','bold','CfXIY','central_scanner','270160Didpzq','JQhlj','extension','green','join','RzDSD','hasOwnProperty','91PrtCdK','BROWSERSTACK_GRR_US_HUB_URL','file','QQhny','Tbpqc','xheWo','start','logLevel','hsldf','shouldReRunObservabilityTests','bZTCJ','FRAMEWORKS','assign','expected','pMNyy','mocha/lib/cli/collect-files.js','getPlatformName','GLQct','\x20skipped','BROWSERSTACK_TEST_OBSERVABILITY_YML','uyvew','bgBlueBright','consoleLog','useColors','call','then','reporter-option','LlFxR','Printing\x20stats\x20of\x20tests','hzcJa','../utils/constants','fedCJ','AggTy','PYNiq','lduBY','toUTCString'];a28_0x464b=function(){return _0x12a93e;};return a28_0x464b();}function xunitWrite(_0x58298f){xunitContent+=_0x58298f;}function xunitTest(_0x29795d,_0x18a041){const _0x1ae670=a28_0x55ec26,_0x4c909d={'vdavX':function(_0x46e25e,_0x5039c2){return _0x46e25e/_0x5039c2;},'JQhlj':function(_0x37654e,_0x35e18a){return _0x37654e===_0x35e18a;},'omQMH':'failed','CXzHi':function(_0x45d785,_0xaae777){return _0x45d785+_0xaae777;},'zOVTZ':function(_0x554562,_0x14d8b2){return _0x554562(_0x14d8b2);},'IOTMO':function(_0x4ab85d,_0x365696,_0xcb7377,_0x36d061,_0x35277f){return _0x4ab85d(_0x365696,_0xcb7377,_0x36d061,_0x35277f);},'lduBY':_0x1ae670(0x28c),'JLviS':function(_0x30a16d,_0x385f34,_0x1ad539,_0x22a9c1,_0x3ba24){return _0x30a16d(_0x385f34,_0x1ad539,_0x22a9c1,_0x3ba24);},'MIcBK':_0x1ae670(0x1e1),'CfXIY':function(_0x306ee5,_0x356f8e){return _0x306ee5(_0x356f8e);},'JDWyQ':function(_0x5a1270,_0x55d0c6){return _0x5a1270(_0x55d0c6);},'btALt':function(_0x3478f4,_0x1c0d11,_0x14afd5,_0x390701){return _0x3478f4(_0x1c0d11,_0x14afd5,_0x390701);},'skHRS':_0x1ae670(0x294),'LOdoF':function(_0x134578,_0xd20c){return _0x134578(_0xd20c);},'qZGAt':function(_0x245c19,_0x223653,_0x149f13,_0x14d7ff){return _0x245c19(_0x223653,_0x149f13,_0x14d7ff);}};Base[_0x1ae670(0x258)]=![];var _0xcc0c33={'classname':_0x29795d[_0x1ae670(0x2a9)],'name':_0x29795d[_0x1ae670(0x268)],'time':_0x4c909d[_0x1ae670(0x1c4)](_0x29795d[_0x1ae670(0x208)],0x3e8)||0x0,'platform':_0x18a041};if(_0x4c909d[_0x1ae670(0x23b)](_0x29795d[_0x1ae670(0x292)],_0x4c909d[_0x1ae670(0x206)])){var _0x8157eb=_0x29795d[_0x1ae670(0x1c0)],_0x580849=!Base[_0x1ae670(0x288)]&&Base['showDiff'](_0x8157eb)?_0x4c909d['CXzHi']('\x0a',Base[_0x1ae670(0x295)](_0x8157eb[_0x1ae670(0x1f8)],_0x8157eb[_0x1ae670(0x24e)])):'';_0x4c909d[_0x1ae670(0x1bb)](xunitWrite,_0x4c909d[_0x1ae670(0x276)](tag,_0x4c909d['lduBY'],_0xcc0c33,![],_0x4c909d[_0x1ae670(0x217)](tag,_0x4c909d['MIcBK'],{},![],_0x4c909d[_0x1ae670(0x1be)](_0x4c909d[_0x1ae670(0x1be)](_0x4c909d['CXzHi'](_0x4c909d[_0x1ae670(0x1bb)](escape,_0x8157eb[_0x1ae670(0x2a1)]),_0x4c909d[_0x1ae670(0x238)](escape,_0x580849)),'\x0a'),_0x4c909d[_0x1ae670(0x1f2)](escape,_0x8157eb['stack'])))));}else _0x29795d[_0x1ae670(0x265)]?_0x4c909d['zOVTZ'](xunitWrite,_0x4c909d[_0x1ae670(0x217)](tag,_0x4c909d[_0x1ae670(0x263)],_0xcc0c33,![],_0x4c909d['btALt'](tag,_0x4c909d[_0x1ae670(0x22f)],{},!![]))):_0x4c909d[_0x1ae670(0x27f)](xunitWrite,_0x4c909d[_0x1ae670(0x22a)](tag,_0x4c909d[_0x1ae670(0x263)],_0xcc0c33,!![]));};function getStats(_0x23bd0c){const _0xec25d=a28_0x55ec26,_0x20608f={};_0x20608f['bZTCJ']=_0xec25d(0x20f),_0x20608f[_0xec25d(0x262)]='passed',_0x20608f['pMNyy']=_0xec25d(0x298),_0x20608f[_0xec25d(0x28f)]=_0xec25d(0x1c9);const _0x330b91=_0x20608f,_0x6c3d4a=Object['keys'](_0x23bd0c);let _0x3fea88=0x0,_0x16e857=0x0,_0x1a8702=0x0,_0x4750d2=0x0;const _0x42908e=new Set();_0x6c3d4a[_0xec25d(0x1ca)](_0x222bac=>{const _0x403fb6=_0xec25d,_0x1a5e7f={};_0x1a5e7f[_0x403fb6(0x1e5)]=_0x330b91[_0x403fb6(0x24b)],_0x1a5e7f[_0x403fb6(0x1bf)]=_0x330b91['PYNiq'],_0x1a5e7f[_0x403fb6(0x273)]=_0x330b91[_0x403fb6(0x24f)];const _0x5c5e61=_0x1a5e7f;_0x23bd0c[_0x222bac][_0x330b91['OtEhl']][_0x403fb6(0x1ca)](_0x52a345=>{const _0x2b0696=_0x403fb6;_0x42908e['add'](_0x52a345[_0x5c5e61[_0x2b0696(0x1e5)]]),_0x3fea88++;switch(_0x52a345[_0x2b0696(0x292)]){case _0x5c5e61[_0x2b0696(0x1bf)]:_0x1a8702++;break;case _0x5c5e61[_0x2b0696(0x273)]:_0x16e857++;break;default:_0x4750d2++;}});});const _0x59fd7e={};return _0x59fd7e[_0xec25d(0x216)]=_0x42908e[_0xec25d(0x28a)],_0x59fd7e[_0xec25d(0x279)]=_0x6c3d4a,_0x59fd7e[_0xec25d(0x1bc)]=_0x3fea88,_0x59fd7e[_0xec25d(0x232)]=_0x16e857,_0x59fd7e[_0xec25d(0x209)]=_0x1a8702,_0x59fd7e[_0xec25d(0x22c)]=_0x4750d2,_0x59fd7e;}function errorJSON(_0x2c4676){const _0x3e3413=a28_0x55ec26;var _0x5d1ef1={};return Object[_0x3e3413(0x1c7)](_0x2c4676)['forEach'](function(_0x312468){_0x5d1ef1[_0x312468]=_0x2c4676[_0x312468];},_0x2c4676),_0x5d1ef1;}function a28_0x337e(_0x5eeaf8,_0x2ebc60){const _0x464b4c=a28_0x464b();return a28_0x337e=function(_0x337e10,_0x4260bb){_0x337e10=_0x337e10-0x1b7;let _0x492ee6=_0x464b4c[_0x337e10];return _0x492ee6;},a28_0x337e(_0x5eeaf8,_0x2ebc60);}function cleanCycles(_0x3b56a3){const _0xafbbec=a28_0x55ec26,_0x5ed955={};_0x5ed955[_0xafbbec(0x25c)]=function(_0x987b44,_0x54f461){return _0x987b44===_0x54f461;},_0x5ed955[_0xafbbec(0x1e7)]=_0xafbbec(0x1cd),_0x5ed955[_0xafbbec(0x272)]=function(_0x818ec8,_0x303081){return _0x818ec8!==_0x303081;},_0x5ed955['hzcJa']=function(_0x2c6747,_0x25c3ff){return _0x2c6747!==_0x25c3ff;},_0x5ed955[_0xafbbec(0x23f)]=function(_0x368760,_0x45cbc6){return _0x368760+_0x45cbc6;};const _0xa09a8c=_0x5ed955;var _0x379084=[];return JSON[_0xafbbec(0x21b)](JSON[_0xafbbec(0x214)](_0x3b56a3,function(_0x5958f3,_0xa46bac){const _0x2fbb1c=_0xafbbec;if(_0xa09a8c[_0x2fbb1c(0x25c)](typeof _0xa46bac,_0xa09a8c[_0x2fbb1c(0x1e7)])&&_0xa09a8c[_0x2fbb1c(0x272)](_0xa46bac,null)){if(_0xa09a8c[_0x2fbb1c(0x25e)](_0x379084['indexOf'](_0xa46bac),-0x1))return _0xa09a8c[_0x2fbb1c(0x23f)]('',_0xa46bac);_0x379084[_0x2fbb1c(0x223)](_0xa46bac);}return _0xa46bac;}));}function clean(_0x5c6b92){const _0x34bfb8=a28_0x55ec26,_0x85e55b={'qgcAQ':function(_0x1b4b30,_0x1bcfe5){return _0x1b4b30 instanceof _0x1bcfe5;},'dKfXE':function(_0x5544e8,_0xf4e6d7){return _0x5544e8(_0xf4e6d7);},'klMan':function(_0x1f387b,_0x305204){return _0x1f387b(_0x305204);}};var _0x3e7958=_0x5c6b92['err']||{};return _0x85e55b[_0x34bfb8(0x297)](_0x3e7958,Error)&&(_0x3e7958=_0x85e55b[_0x34bfb8(0x21f)](errorJSON,_0x3e7958)),{'title':_0x5c6b92[_0x34bfb8(0x268)],'fullTitle':_0x5c6b92[_0x34bfb8(0x2a9)],'file':_0x5c6b92[_0x34bfb8(0x243)],'duration':_0x5c6b92[_0x34bfb8(0x208)],'currentRetry':_0x5c6b92[_0x34bfb8(0x2b0)],'speed':_0x5c6b92['speed'],'err':_0x85e55b[_0x34bfb8(0x236)](cleanCycles,_0x3e7958)};}function printStats(_0x5ceea2,_0xa3e447=a28_0x55ec26(0x1f1),_0x494aeb={}){const _0x2ddbc9=a28_0x55ec26,_0x35cdc1={'dgmwb':function(_0x3aa1f5,_0x7a3b61){return _0x3aa1f5(_0x7a3b61);},'kWOJf':function(_0x1fc191,_0x2a93f0){return _0x1fc191===_0x2a93f0;},'QNwFP':_0x2ddbc9(0x218),'QXaJx':_0x2ddbc9(0x203),'fedCJ':'failed','Lyfzd':_0x2ddbc9(0x1db),'YJxUv':function(_0x544818,_0x56bc35){return _0x544818(_0x56bc35);},'giRbQ':_0x2ddbc9(0x28d),'KXeaq':function(_0x10d451,_0x36b6fc){return _0x10d451(_0x36b6fc);},'AggTy':_0x2ddbc9(0x1c9),'gXVTu':function(_0x4150d5,_0x28fc61){return _0x4150d5*_0x28fc61;},'qCchy':function(_0x1d5b70,_0x1785af,_0x3ac5f8){return _0x1d5b70(_0x1785af,_0x3ac5f8);},'FgBtn':function(_0x1d2cfb,_0x131bde){return _0x1d2cfb===_0x131bde;},'CoAAK':function(_0x12c1c6,_0x4b5986){return _0x12c1c6>_0x4b5986;},'FcLOT':function(_0x361493){return _0x361493();},'rJpcZ':function(_0x35e7cb,_0x59ba02){return _0x35e7cb===_0x59ba02;},'qQwTn':_0x2ddbc9(0x226),'RmFIA':_0x2ddbc9(0x22b),'ovohz':_0x2ddbc9(0x25d),'wUsBI':function(_0x200d17,_0x14c5ac){return _0x200d17+_0x14c5ac;},'xheWo':'Total\x20Platforms:\x20','KRnYO':_0x2ddbc9(0x28b),'NyNEX':function(_0x5203c5,_0x10f4de){return _0x5203c5+_0x10f4de;},'jKoXS':'Tests:\x20\x20\x20\x20\x20\x20\x20','cjHfN':function(_0x398d02,_0x2a9509){return _0x398d02>_0x2a9509;},'LIvAn':function(_0x1ac92d,_0x262299){return _0x1ac92d>_0x262299;},'hsldf':function(_0x2e40f1,_0x58a544){return _0x2e40f1+_0x58a544;},'IuoPT':function(_0x1699a3,_0x5e00fa){return _0x1699a3+_0x5e00fa;},'fhqoD':function(_0x4371ee,_0x30356d){return _0x4371ee+_0x30356d;},'HPUQk':_0x2ddbc9(0x1d0),'VkyFX':_0x2ddbc9(0x2b2),'KIReV':_0x2ddbc9(0x1e3),'Nktko':_0x2ddbc9(0x278),'tMXVV':_0x2ddbc9(0x235),'TENKx':_0x2ddbc9(0x1fa),'UFvKS':_0x2ddbc9(0x222),'uINvY':function(_0x463d89,_0x1edbc0){return _0x463d89||_0x1edbc0;},'OygNV':function(_0x5a7af7,_0x469f86){return _0x5a7af7(_0x469f86);},'HARVN':function(_0x3f6c00,_0x2cb2f2,_0x5e41a4,_0x4b1b7c){return _0x3f6c00(_0x2cb2f2,_0x5e41a4,_0x4b1b7c);},'KRXBE':'testsuite','XvcVn':function(_0x1d30de,_0x5b3729){return _0x1d30de-_0x5b3729;},'QUkfd':function(_0x1c97d3,_0x53eb46){return _0x1c97d3/_0x53eb46;},'Rzlmy':_0x2ddbc9(0x20a),'NkfYC':_0x2ddbc9(0x1f3),'wfxAF':'Couldn\x27t\x20write\x20xunit\x20result\x20to','oCBwa':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','vyUBc':_0x2ddbc9(0x2a2),'PFFZk':_0x2ddbc9(0x2aa)};if(_0x35cdc1[_0x2ddbc9(0x1b7)](_0xa3e447,_0x35cdc1['qQwTn']))return;const _0x176b32=0x0,_0x20320e=()=>{const _0x34928e=_0x2ddbc9;return _0x35cdc1[_0x34928e(0x1fc)](Array,_0x176b32)[_0x34928e(0x23e)]('\x20\x20');},{testSuites:_0x4dc3ad,platforms:_0x592a9e,totalTests:_0x3a140d,testsFailed:_0x47bcb7,testsPassed:_0x191982,testsPending:_0x3097f1}=_0x35cdc1[_0x2ddbc9(0x1fc)](getStats,_0x5ceea2);_0x35cdc1[_0x2ddbc9(0x22e)](_0x47bcb7,0x0)&&(logger[_0x2ddbc9(0x20c)](_0x35cdc1[_0x2ddbc9(0x287)]),process['exitCode']=Math['min'](_0x47bcb7,0xff));logger['debug'](_0x35cdc1['ovohz']);const _0x51fb1e=''+_0x35cdc1[_0x2ddbc9(0x2a6)](chalk['bold'](_0x35cdc1[_0x2ddbc9(0x246)]),_0x592a9e[_0x2ddbc9(0x27e)]),_0x55fcbd=''+_0x35cdc1[_0x2ddbc9(0x2a6)](chalk[_0x2ddbc9(0x237)](_0x35cdc1[_0x2ddbc9(0x207)]),_0x4dc3ad),_0x586603=''+_0x35cdc1[_0x2ddbc9(0x2a6)](_0x35cdc1[_0x2ddbc9(0x2a6)](_0x35cdc1[_0x2ddbc9(0x1e0)](chalk[_0x2ddbc9(0x237)](_0x35cdc1[_0x2ddbc9(0x281)]),_0x35cdc1[_0x2ddbc9(0x22e)](_0x47bcb7,0x0)?chalk[_0x2ddbc9(0x237)][_0x2ddbc9(0x291)](_0x47bcb7+_0x2ddbc9(0x1ba))+',\x20':''),_0x35cdc1[_0x2ddbc9(0x293)](_0x3097f1,0x0)?chalk['bold']['yellow'](_0x3097f1+_0x2ddbc9(0x253))+',\x20':''),_0x35cdc1['LIvAn'](_0x191982,0x0)?chalk['bold'][_0x2ddbc9(0x23d)](_0x191982+_0x2ddbc9(0x1ee))+',\x20':'')+_0x3a140d+'\x20total';console['log'](_0x35cdc1['hsldf'](_0x35cdc1[_0x2ddbc9(0x249)](_0x35cdc1[_0x2ddbc9(0x290)](_0x35cdc1[_0x2ddbc9(0x1e0)](_0x35cdc1['fhqoD'](_0x35cdc1['HPUQk'],_0x51fb1e),'\x0a'),_0x55fcbd),'\x0a'),_0x586603));if(_0x35cdc1[_0x2ddbc9(0x271)](_0xa3e447,_0x35cdc1[_0x2ddbc9(0x213)])){const _0x23dccb={},_0x2fd6f4={};_0x2fd6f4[_0x2ddbc9(0x216)]=_0x4dc3ad,_0x2fd6f4[_0x2ddbc9(0x279)]=_0x592a9e,_0x2fd6f4['testsFailed']=_0x47bcb7,_0x2fd6f4['testsPassed']=_0x191982,_0x2fd6f4[_0x2ddbc9(0x22c)]=_0x3097f1,_0x23dccb['stats']=_0x2fd6f4,_0x592a9e[_0x2ddbc9(0x1ca)](_0x5e2fe9=>{const _0x20ee67=_0x2ddbc9;_0x23dccb[_0x5e2fe9]={'pending':[],'failures':[],'passes':[],'tests':_0x5ceea2[_0x5e2fe9][_0x35cdc1[_0x20ee67(0x261)]][_0x20ee67(0x221)](clean)},_0x5ceea2[_0x5e2fe9][_0x35cdc1['AggTy']][_0x20ee67(0x1ca)](_0x50e7ea=>{const _0x1e0807=_0x20ee67;if(_0x35cdc1['kWOJf'](_0x50e7ea[_0x1e0807(0x292)],_0x35cdc1[_0x1e0807(0x1c2)]))_0x23dccb[_0x5e2fe9][_0x35cdc1[_0x1e0807(0x29f)]]['push'](_0x35cdc1[_0x1e0807(0x1fc)](clean,_0x50e7ea));else _0x35cdc1[_0x1e0807(0x1df)](_0x50e7ea['state'],_0x35cdc1[_0x1e0807(0x260)])?_0x23dccb[_0x5e2fe9][_0x35cdc1['Lyfzd']][_0x1e0807(0x223)](_0x35cdc1[_0x1e0807(0x2a5)](clean,_0x50e7ea)):_0x23dccb[_0x5e2fe9][_0x35cdc1['giRbQ']][_0x1e0807(0x223)](_0x35cdc1['KXeaq'](clean,_0x50e7ea));});});if(_0x494aeb[_0x2ddbc9(0x1c6)])try{logger[_0x2ddbc9(0x20c)](_0x35cdc1[_0x2ddbc9(0x20e)],_0x494aeb[_0x2ddbc9(0x1c6)]),fs[_0x2ddbc9(0x20b)](_0x494aeb[_0x2ddbc9(0x1c6)],JSON[_0x2ddbc9(0x214)](_0x23dccb,null,0x3));}catch(_0x28eee2){logger[_0x2ddbc9(0x1e6)](_0x35cdc1['Nktko'],_0x494aeb['output']),logger['debug'](_0x28eee2);}else logger[_0x2ddbc9(0x20c)](_0x35cdc1[_0x2ddbc9(0x1e2)]),console['log'](JSON[_0x2ddbc9(0x214)](_0x23dccb,null,0x3));}else{if(_0x35cdc1[_0x2ddbc9(0x1b7)](_0xa3e447,_0x35cdc1[_0x2ddbc9(0x215)])){let _0x162dc2;const _0x74dd41=_0x35cdc1[_0x2ddbc9(0x1eb)];_0x494aeb&&(_0x162dc2=_0x494aeb[_0x2ddbc9(0x1da)]);_0x162dc2=_0x35cdc1[_0x2ddbc9(0x27c)](_0x162dc2,_0x74dd41);let _0x50278d=0x0,_0x2271e6=0x0,_0x5ad50d=0x0,_0x3740b7=0x0;_0x592a9e[_0x2ddbc9(0x1ca)](_0x3d8eea=>{const _0x4e70f1=_0x2ddbc9;_0x5ceea2[_0x3d8eea][_0x35cdc1['AggTy']][_0x4e70f1(0x1ca)](_0x15a551=>{const _0x5ba75f=_0x4e70f1;if(_0x35cdc1[_0x5ba75f(0x1df)](_0x15a551[_0x5ba75f(0x292)],_0x35cdc1['QNwFP']))_0x50278d++;else _0x35cdc1['kWOJf'](_0x15a551['state'],_0x35cdc1[_0x5ba75f(0x260)])&&_0x2271e6++;_0x5ad50d++,_0x3740b7+=_0x35cdc1[_0x5ba75f(0x1bd)](_0x15a551[_0x5ba75f(0x208)],0x1);});}),_0x35cdc1[_0x2ddbc9(0x1cf)](xunitWrite,_0x35cdc1[_0x2ddbc9(0x270)](tag,_0x35cdc1[_0x2ddbc9(0x1b8)],{'name':_0x162dc2,'tests':_0x5ad50d,'failures':0x0,'errors':_0x2271e6,'skipped':_0x35cdc1[_0x2ddbc9(0x228)](_0x35cdc1[_0x2ddbc9(0x228)](_0x5ad50d,_0x2271e6),_0x50278d),'timestamp':new Date()[_0x2ddbc9(0x264)](),'time':_0x35cdc1[_0x2ddbc9(0x2a7)](_0x3740b7,0x3e8)||0x0},![])),_0x592a9e[_0x2ddbc9(0x1ca)](_0xde1267=>{const _0x2d8511=_0x2ddbc9,_0x1a7d07={'Unhkq':function(_0x19df1b,_0x7be3d5,_0x289255){return _0x35cdc1['qCchy'](_0x19df1b,_0x7be3d5,_0x289255);}};_0x5ceea2[_0xde1267][_0x35cdc1[_0x2d8511(0x261)]][_0x2d8511(0x1ca)](_0xbbf779=>{const _0x34484b=_0x2d8511;_0x1a7d07[_0x34484b(0x1dd)](xunitTest,_0xbbf779,_0xde1267);});}),_0x35cdc1[_0x2ddbc9(0x1fc)](xunitWrite,_0x35cdc1[_0x2ddbc9(0x219)]);if(_0x494aeb[_0x2ddbc9(0x1c6)])try{logger[_0x2ddbc9(0x20c)](_0x35cdc1[_0x2ddbc9(0x1c8)],_0x494aeb[_0x2ddbc9(0x1c6)]),fs[_0x2ddbc9(0x20b)](_0x494aeb[_0x2ddbc9(0x1c6)],xunitContent);}catch(_0x31b70b){logger[_0x2ddbc9(0x1e6)](_0x35cdc1[_0x2ddbc9(0x210)],_0x494aeb[_0x2ddbc9(0x1c6)]),logger['debug'](_0x31b70b);}else logger['debug'](_0x35cdc1[_0x2ddbc9(0x1ff)]),console[_0x2ddbc9(0x21d)](xunitContent);}else{if(_0x35cdc1[_0x2ddbc9(0x1b7)](_0x47bcb7,0x0))return;console[_0x2ddbc9(0x21d)](),logger[_0x2ddbc9(0x20c)](_0x35cdc1['vyUBc']),console[_0x2ddbc9(0x21d)](chalk['bold'][_0x2ddbc9(0x1e4)](_0x35cdc1[_0x2ddbc9(0x2a4)])),_0x592a9e[_0x2ddbc9(0x1ca)](_0x3049a8=>{const _0x342f07=_0x2ddbc9,_0x11466a=[];_0x5ceea2[_0x3049a8][_0x35cdc1[_0x342f07(0x261)]][_0x342f07(0x1ca)](_0x548b71=>{const _0x336fee=_0x342f07;_0x35cdc1[_0x336fee(0x271)](_0x548b71['state'],_0x35cdc1['fedCJ'])&&(_0x548b71[_0x336fee(0x282)]=()=>_0x548b71[_0x336fee(0x1ef)],_0x11466a['push'](_0x548b71));}),_0x35cdc1['CoAAK'](_0x11466a['length'],0x0)&&(Base[_0x342f07(0x257)](),Base[_0x342f07(0x257)](_0x35cdc1['FcLOT'](_0x20320e),chalk[_0x342f07(0x237)][_0x342f07(0x256)](_0x3049a8)),Base[_0x342f07(0x1c5)](_0x11466a));});}}}async function run(_0x474c66,_0x3506bb,_0x3a7e5d){const _0x16c1eb=a28_0x55ec26,_0x73bb06={'GLQct':function(_0x4853fd,_0x2d2e02,_0x25b713,_0x36642c){return _0x4853fd(_0x2d2e02,_0x25b713,_0x36642c);},'kNdYq':_0x16c1eb(0x25b),'BaDqr':'error\x20removing\x20tcg\x20config\x20file','BdcSZ':'SDKTestSuccessful','UbVqa':_0x16c1eb(0x29a),'Tbpqc':function(_0x92b98,_0x576ec6){return _0x92b98!=_0x576ec6;},'fnllg':_0x16c1eb(0x266),'nGZSp':_0x16c1eb(0x285),'yTBnQ':_0x16c1eb(0x1b9),'GLazh':'rerunTests','QQhny':function(_0xeb1e10,_0xcf80d7){return _0xeb1e10(_0xcf80d7);},'oOfAR':function(_0x1b71fb,_0x57b529,_0x4b784c){return _0x1b71fb(_0x57b529,_0x4b784c);},'vlqkf':_0x16c1eb(0x26d),'krOTt':_0x16c1eb(0x1f5),'FHciq':_0x16c1eb(0x1ea),'KKfsq':function(_0x84e7c8,_0x2ed36d){return _0x84e7c8*_0x2ed36d;},'CaUAS':function(_0x2f0dcd,_0x5b1bee){return _0x2f0dcd(_0x5b1bee);},'uyvew':function(_0x5cb98f,_0x29d160){return _0x5cb98f!==_0x29d160;}};helper[_0x16c1eb(0x275)](_0x3a7e5d[_0x16c1eb(0x1d4)],_0x474c66);helper['isBrowserstackInfra']()?(await _0x3a7e5d[_0x16c1eb(0x2ac)](_0x474c66),await helper['handleApp'](_0x3a7e5d[_0x16c1eb(0x26b)])):await _0x3a7e5d[_0x16c1eb(0x280)]();const _0x166e84=[];let _0x572328=[];if(!_0x3a7e5d[_0x16c1eb(0x26b)])return;!helper[_0x16c1eb(0x229)](_0x3a7e5d['config'][_0x16c1eb(0x1d7)])&&(process[_0x16c1eb(0x1d1)][_0x16c1eb(0x1fb)]=JSON[_0x16c1eb(0x214)](_0x3a7e5d['config'][_0x16c1eb(0x1d7)]));const _0x15ff79=await TestHubHandler[_0x16c1eb(0x1e9)](FRAMEWORKS[_0x16c1eb(0x1f4)],_0x3a7e5d);_0x73bb06[_0x16c1eb(0x245)](_0x3a7e5d[_0x16c1eb(0x26b)][_0x16c1eb(0x200)],null)&&(process[_0x16c1eb(0x1d1)][_0x16c1eb(0x254)]=_0x3a7e5d['config'][_0x16c1eb(0x200)]);!helper[_0x16c1eb(0x229)](_0x3a7e5d['config'][_0x16c1eb(0x289)])&&(process[_0x16c1eb(0x1d1)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3a7e5d[_0x16c1eb(0x26b)][_0x16c1eb(0x289)]);const {extension:extension=['js',_0x73bb06[_0x16c1eb(0x233)],_0x73bb06[_0x16c1eb(0x2ae)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x73bb06['yTBnQ']]}=_0x474c66,_0x375794={..._0x474c66};_0x375794[_0x16c1eb(0x1de)]=null;const _0x32b39d=_0x375794;let _0x43157c;if(testOpsHelper[_0x16c1eb(0x220)]()&&testOpsHelper[_0x16c1eb(0x24a)]()){let _0x4608bd=process[_0x16c1eb(0x1d1)][_0x16c1eb(0x2ab)];!helper['isUndefined'](_0x3a7e5d['cliConfig'])&&_0x3a7e5d[_0x16c1eb(0x27d)][_0x16c1eb(0x27a)](_0x73bb06[_0x16c1eb(0x1d9)])&&(_0x4608bd=_0x3a7e5d[_0x16c1eb(0x27d)]['get'](_0x73bb06['GLazh'])),_0x43157c=testOpsHelper[_0x16c1eb(0x29e)](_0x4608bd);}if(helper[_0x16c1eb(0x229)](_0x43157c)){const _0x462e20={};_0x462e20[_0x16c1eb(0x2a0)]=ignore,_0x462e20[_0x16c1eb(0x23c)]=extension,_0x462e20[_0x16c1eb(0x243)]=file,_0x462e20['recursive']=recursive,_0x462e20[_0x16c1eb(0x1fd)]=sort,_0x462e20[_0x16c1eb(0x1f1)]=spec,_0x43157c=_0x73bb06[_0x16c1eb(0x244)](collectFiles,_0x462e20),_0x73bb06[_0x16c1eb(0x204)](nestedKeyValue,_0x43157c,[_0x73bb06[_0x16c1eb(0x277)]])&&(_0x43157c=_0x43157c[_0x16c1eb(0x26d)]);}if(!helper['isBrowserstackInfra']()){const _0x59325d=0x1,_0x559302={..._0x32b39d};_0x559302[_0x16c1eb(0x1f1)]=[..._0x43157c],_0x166e84[_0x16c1eb(0x223)]({'mochaOpts':_0x559302,'configuration':{'platform':os[_0x16c1eb(0x225)]()}}),logger['info'](_0x73bb06[_0x16c1eb(0x1ec)]),logger['info'](_0x73bb06[_0x16c1eb(0x1d2)]),_0x73bb06['GLQct'](parallelTestRun,_0x166e84,_0x59325d,_0x3a7e5d)[_0x16c1eb(0x25a)](_0x42eb4c=>{const _0xdf2236=_0x16c1eb;PerformanceTester[_0xdf2236(0x247)](PerformanceEvents['SDK_CLEANUP']),_0x73bb06['GLQct'](printStats,_0x42eb4c,_0x474c66[_0xdf2236(0x202)],_0x474c66['reporterOptions']||_0x474c66[_0x73bb06['kNdYq']]);})[_0x16c1eb(0x1d3)](()=>{const _0x522914=_0x16c1eb;PerformanceTester[_0x522914(0x247)](PerformanceEvents[_0x522914(0x224)]);try{const {browserstackFolderPath:_0x35aaa2,tcgConfigPath:_0x1d785b}=helper[_0x522914(0x2a3)]();fs[_0x522914(0x1f9)](_0x1d785b),fs[_0x522914(0x1dc)](_0x35aaa2);}catch(_0x179bd5){logger['debug'](_0x73bb06[_0x522914(0x29d)],_0x179bd5);}try{utilities[_0x522914(0x21a)](_0x73bb06[_0x522914(0x26f)],{},_0x3a7e5d[_0x522914(0x26b)],_0x3a7e5d['framework']);}catch(_0xabd74f){logger[_0x522914(0x20c)](_0x522914(0x1ce)+_0xabd74f[_0x522914(0x22d)]);}try{helper[_0x522914(0x269)]();}catch(_0x32f07c){logger[_0x522914(0x20c)](_0x522914(0x1c3)+_0x32f07c);}testOpsHelper[_0x522914(0x1ed)]();});}else{const _0x1817d8=helper[_0x16c1eb(0x21c)](_0x3a7e5d[_0x16c1eb(0x26b)]);let _0x16cf65=helper[_0x16c1eb(0x230)](_0x3a7e5d[_0x16c1eb(0x26b)]);_0x572328=helper['prepareCapabilities'](_0x3a7e5d[_0x16c1eb(0x26b)],_0x1817d8,constants[_0x16c1eb(0x24c)][_0x16c1eb(0x1f4)]);helper[_0x16c1eb(0x274)]()[_0x16c1eb(0x239)]&&(_0x16cf65=centralScannerConstants[_0x16c1eb(0x242)]);let _0x57d98a;const _0x47a4a1=_0x3a7e5d[_0x16c1eb(0x26b)][_0x16c1eb(0x20d)]||helper['getUserWorkerCount'](_0x474c66,_0x3506bb,_0x3a7e5d['config'],constants['FRAMEWORKS'][_0x16c1eb(0x1f4)])||0x1;helper[_0x16c1eb(0x299)](_0x3a7e5d[_0x16c1eb(0x26b)])?_0x57d98a=_0x73bb06[_0x16c1eb(0x296)](_0x3a7e5d['config'][_0x16c1eb(0x279)][_0x16c1eb(0x27e)],_0x47a4a1):_0x57d98a=_0x47a4a1;const _0x3b7f14=_0x73bb06['CaUAS'](getPercyOptions,_0x3a7e5d[_0x16c1eb(0x26b)]);if(_0x73bb06[_0x16c1eb(0x255)](_0x3a7e5d[_0x16c1eb(0x26b)]['parallelsPerPlatform'],0x1))_0x43157c[_0x16c1eb(0x1ca)](_0x1ce3e5=>{const _0x25f07a=_0x16c1eb,_0x56d242=[];_0x572328[_0x25f07a(0x1ca)]((_0xf8fbd4,_0x45502e)=>{const _0x4de39d=_0x25f07a,_0x97eee={};_0x97eee['spec']=[_0x1ce3e5],_0x56d242['push']({'mochaOpts':Object[_0x4de39d(0x24d)]({},_0x32b39d,_0x97eee),'configuration':{'server':_0x16cf65,'capability':_0xf8fbd4,'proxySettings':_0x3a7e5d['config'][_0x4de39d(0x29c)],'platform':helper['getPlatformName'](_0xf8fbd4),'browserStackLogLevel':_0x3a7e5d['config']['logLevel'],'platformIndex':_0x45502e,'browserStackPercyOptions':_0x3b7f14,'platformCaps':Object[_0x4de39d(0x24d)]({'index':_0x45502e},_0x3a7e5d['config'][_0x4de39d(0x279)][_0x45502e])}});}),_0x166e84[_0x25f07a(0x223)](..._0x56d242);});else{const _0x402654=[];_0x572328[_0x16c1eb(0x1ca)]((_0x37db3a,_0x5eb18c)=>{const _0x2d2e05=_0x16c1eb;let _0xb0b032=Object['assign']({},_0x32b39d);testOpsHelper[_0x2d2e05(0x220)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0xb0b032={..._0xb0b032,'spec':[..._0x43157c]}),_0x402654[_0x2d2e05(0x223)]({'mochaOpts':_0xb0b032,'configuration':{'server':_0x16cf65,'capability':_0x37db3a,'proxySettings':_0x3a7e5d[_0x2d2e05(0x26b)][_0x2d2e05(0x29c)],'platform':helper[_0x2d2e05(0x251)](_0x37db3a),'browserStackLogLevel':_0x3a7e5d[_0x2d2e05(0x26b)][_0x2d2e05(0x248)],'platformIndex':_0x5eb18c,'browserStackPercyOptions':_0x3b7f14,'platformCaps':Object[_0x2d2e05(0x24d)]({'index':_0x5eb18c},_0x3a7e5d[_0x2d2e05(0x26b)][_0x2d2e05(0x279)][_0x5eb18c])}});}),_0x166e84[_0x16c1eb(0x223)](..._0x402654);}logger[_0x16c1eb(0x234)](_0x16c1eb(0x26c)+_0x3a7e5d['config']['platforms'][_0x16c1eb(0x27e)]+_0x16c1eb(0x267)),logger['info'](_0x73bb06['FHciq']);let _0x184ac0;_0x73bb06[_0x16c1eb(0x252)](parallelTestRun,_0x166e84,_0x57d98a,_0x3a7e5d)[_0x16c1eb(0x25a)](_0x2d8edb=>{const _0x1e2797=_0x16c1eb;PerformanceTester[_0x1e2797(0x247)](PerformanceEvents['SDK_CLEANUP']),_0x184ac0=_0x2d8edb,_0x73bb06[_0x1e2797(0x252)](printStats,_0x2d8edb,_0x474c66['reporter'],_0x474c66[_0x1e2797(0x2b3)]||_0x474c66[_0x73bb06[_0x1e2797(0x2a8)]]);})['finally'](async()=>{const _0x12396b=_0x16c1eb;PerformanceTester[_0x12396b(0x247)](PerformanceEvents[_0x12396b(0x224)]),_0x3a7e5d[_0x12396b(0x1f0)]=helper[_0x12396b(0x2b1)](_0x184ac0,_0x73bb06['UbVqa']),await utilities['finalExecution'](_0x3a7e5d),testOpsHelper[_0x12396b(0x1ed)]();});}}module[a28_0x55ec26(0x1c1)]=run;
2
+ 'use strict';const a28_0x13c82e=a28_0x22e2;(function(_0x4299f9,_0x14fbd4){const _0x3e8283=a28_0x22e2,_0x33a9d6=_0x4299f9();while(!![]){try{const _0x328fe6=parseInt(_0x3e8283(0x161))/0x1*(parseInt(_0x3e8283(0x132))/0x2)+parseInt(_0x3e8283(0x155))/0x3+parseInt(_0x3e8283(0x1a1))/0x4+-parseInt(_0x3e8283(0x15b))/0x5*(parseInt(_0x3e8283(0x227))/0x6)+parseInt(_0x3e8283(0x184))/0x7*(-parseInt(_0x3e8283(0x1f3))/0x8)+-parseInt(_0x3e8283(0x1de))/0x9+-parseInt(_0x3e8283(0x192))/0xa*(-parseInt(_0x3e8283(0x1b3))/0xb);if(_0x328fe6===_0x14fbd4)break;else _0x33a9d6['push'](_0x33a9d6['shift']());}catch(_0x17c117){_0x33a9d6['push'](_0x33a9d6['shift']());}}}(a28_0x164e,0xddbd3));function a28_0x164e(){const _0xd1fdde=['Couldn\x27t\x20write\x20json\x20result\x20to','DkWkG','platform','vGoAj','ofHCQ','finalExecution','title','XHmCp','15795505wgjatu','StayV','getHubUrl','errorMessage','failure','isNotUndefined','error\x20removing\x20tcg\x20config\x20file','showDiff','testcase','info','syEsn','qZTJH','retryTestsOnFailure','OpHhi','ysHAd','fullTitle','testsPassed','parallelsPerPlatform','length','../../helpers/utilities','red','MOCHA','accessibilityOptions','yellow','forEach','testsFailed','suiteName','cjs','printBuildLink','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/performance/constants','list','log','testSuites','titlePath','cliConfig','env','exitCode','logLevel','BROWSERSTACK_RERUN_TESTS','iTlWP','TdbGO','add','16101558NDReNw','extension','Now,\x20showing\x20logs\x20from\x20mocha','../utils/constants','isBrowserstackInfra','vKYUT','stack','RpNrt','isPending','WgoOS','stats','NKcMK','drWBn','testsuite','results','teHCO','rmdirSync','\x20passed','qkDoy','FtQLm','****\x20FAILURES\x20****','14378248mQHyTB','start','Tkhzc','framework','oMfYJ','CNCNi','initialize','EbVco','error','spvIo','spec','jiIvd','getPlatformName','validPlatformsPresent','platforms','reporter-option','generateDiff','mjs','QZjTt','SWVAP','ZtGkT','state','Total\x20Platforms:\x20','useColors','rdUXf','pending','parseFileNames','BROWSERSTACK_GRR_US_HUB_URL','aRyUr','toUTCString','rxqXh','duration','Ylxic','totalTests','tnEwI','PSSia','accessibility','IyPsU','get','size','getTCGConfigFilePaths','grusv','test','tkMje','vXGMd','bold','rerunTests','Total\x20Suites:\x20','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','prototype','BNENU','assign','57030UFchvV','cSTFJ','PcYrR','useW3C','output','map','shouldReRunObservabilityTests','YoCiQ','testObservability','currentRetry','parse','aeAFi','reporterOptions','speed','Couldn\x27t\x20write\x20xunit\x20result\x20to','20KosrrN','consoleLog','testsPending','PrtGu','unlinkSync','eOVqI','kNsPI','Writing\x20json\x20result\x20to\x20file','HZnmb','soaLl','oCzjj','notifyUpdate','hasOwnProperty','hideDiff','FPrez','../../helpers/helper','RqDZG','DKWxE','JIEZD','Mocha\x20Tests','zRCME','getOwnPropertyNames','TuqHI','HOWEA','reporter','json','YLJtA','eqMMT','OOItN','qlxCK','\x0a\x0a\x0a','stringify','writeFileSync','call','xunit','2028549ApGpmo','tfjaW','err','vNHCR','file','../../helpers/central-scanner/constants','695IlAqqb','MsJrl','getCentralUser','Running\x20your\x20mocha\x20tests\x20across\x20','gvOHy','failed','138603LkIdiK','gHPgH','doc','DOBjn','config','kdxZA','\x20failed','../test-runner','push','hogcy','passed','expected','join','chalk','gwJJh','object','min','passes','lxpCO','isTestObservabilitySession','isEmpty','titlePathV','pqQVa','getUserWorkerCount','skipped','Writing\x20xunit\x20result\x20to\x20file','NOoaa','indexOf','../../helpers/percy/utils','Tests:\x20\x20\x20\x20\x20\x20\x20','rootHooks','LlMNH','debug','QDwQP','parseTestOrchestrationOptions','7mdqPhR','finally','../../helpers/test-observability/utils','isUndefined','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Setting\x20non\x20exit\x20code\x20for\x20failures','suite','files','nCurn','setUserConfigPath','proxySettings','Listing\x20all\x20the\x20failures','then','tHebN','20zbfExs','zSDWG','XyRGX','tEVbg','Printing\x20stats\x20of\x20tests','pnmoe','hIdyL','green','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','JKgkO','\x20skipped','wDsbV','SDK_CLEANUP','IVKUg','../../helpers/logger','3526632ZfggeO','</testsuite>','../../helpers/performance/performance-tester','exports','mocha/lib/cli/collect-files.js','SDKTestSuccessful','launchBuild','handleApp','mocha','FRAMEWORKS'];a28_0x164e=function(){return _0xd1fdde;};return a28_0x164e();}const chalk=require(a28_0x13c82e(0x16e)),logger=require(a28_0x13c82e(0x1a0))['winstonLogger'],helper=require(a28_0x13c82e(0x141)),utilities=require(a28_0x13c82e(0x1c6)),testOpsHelper=require(a28_0x13c82e(0x186)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x13c82e(0x168)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x13c82e(0x17d)),Base=requireModule('mocha/lib/reporters/base.js',a28_0x13c82e(0x1a9)),collectFiles=requireModule(a28_0x13c82e(0x1a5),a28_0x13c82e(0x1a9)),constants=require(a28_0x13c82e(0x1e1)),PerformanceTester=require(a28_0x13c82e(0x1a3)),PerformanceEvents=require(a28_0x13c82e(0x1d1))['EVENTS'],centralScannerConstants=require(a28_0x13c82e(0x15a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),TestHubHandler=require('../../helpers/testhub/testhubHandler');function tag(_0x38e0e0,_0x36fd76,_0x1eee65,_0x3be511){const _0x79a5bc=a28_0x13c82e,_0x2194a4={'Ylxic':function(_0x52442d,_0x1d8792){return _0x52442d+_0x1d8792;},'tEVbg':function(_0x1f7e53,_0x24f86d){return _0x1f7e53(_0x24f86d);},'PcYrR':function(_0x50e9a6,_0x1e8996){return _0x50e9a6+_0x1e8996;},'XHmCp':function(_0x33aa83,_0x2666a3){return _0x33aa83+_0x2666a3;},'PSSia':function(_0x5640c3,_0x38d407){return _0x5640c3+_0x38d407;}},_0x50c3c4=_0x1eee65?'/>':'>',_0x1829e5=[];let _0x144ebb;for(const _0x558bea in _0x36fd76){Object[_0x79a5bc(0x224)][_0x79a5bc(0x13e)][_0x79a5bc(0x153)](_0x36fd76,_0x558bea)&&_0x1829e5[_0x79a5bc(0x169)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4[_0x79a5bc(0x213)](_0x558bea,'=\x22'),_0x2194a4[_0x79a5bc(0x195)](escape,_0x36fd76[_0x558bea])),'\x22'));}return _0x144ebb=_0x2194a4[_0x79a5bc(0x229)](_0x2194a4[_0x79a5bc(0x213)](_0x2194a4['PcYrR']('<',_0x38e0e0),_0x1829e5[_0x79a5bc(0x1c5)]?_0x2194a4[_0x79a5bc(0x1b2)]('\x20',_0x1829e5[_0x79a5bc(0x16d)]('\x20')):''),_0x50c3c4),_0x3be511&&(_0x144ebb+=_0x2194a4[_0x79a5bc(0x1b2)](_0x2194a4['Ylxic'](_0x2194a4[_0x79a5bc(0x216)](_0x3be511,'</'),_0x38e0e0),_0x50c3c4)),_0x144ebb;}let xunitContent='';function xunitWrite(_0x5f45d6){xunitContent+=_0x5f45d6;}function xunitTest(_0x1d502e,_0x398e26){const _0x22816e=a28_0x13c82e,_0x2fc47f={'Vinnf':function(_0x569e7e,_0x152d29){return _0x569e7e/_0x152d29;},'bgwlG':function(_0x2a0468,_0x5e66c7){return _0x2a0468===_0x5e66c7;},'StayV':_0x22816e(0x160),'CNCNi':function(_0xaeac7c,_0x47b548){return _0xaeac7c+_0x47b548;},'vNHCR':function(_0x46d4e9,_0x4e834a){return _0x46d4e9(_0x4e834a);},'teHCO':function(_0x232170,_0x314754,_0xfcb0e1,_0x298d2e,_0x240ac3){return _0x232170(_0x314754,_0xfcb0e1,_0x298d2e,_0x240ac3);},'ZtGkT':_0x22816e(0x1bb),'Tkhzc':_0x22816e(0x1b7),'TdbGO':function(_0x244416,_0x18981b){return _0x244416+_0x18981b;},'fiHbH':function(_0x1db35e,_0x3a44e5,_0x59040f,_0xf1a5df){return _0x1db35e(_0x3a44e5,_0x59040f,_0xf1a5df);},'RqDZG':_0x22816e(0x179),'ECdGS':function(_0x115c5d,_0x412954,_0x589ff4,_0x445783){return _0x115c5d(_0x412954,_0x589ff4,_0x445783);}};Base[_0x22816e(0x20a)]=![];var _0x497263={'classname':_0x1d502e[_0x22816e(0x1c2)],'name':_0x1d502e[_0x22816e(0x1b1)],'time':_0x2fc47f['Vinnf'](_0x1d502e[_0x22816e(0x212)],0x3e8)||0x0,'platform':_0x398e26};if(_0x2fc47f['bgwlG'](_0x1d502e[_0x22816e(0x208)],_0x2fc47f[_0x22816e(0x1b4)])){var _0x19e8f3=_0x1d502e[_0x22816e(0x157)],_0x58d1c4=!Base[_0x22816e(0x13f)]&&Base[_0x22816e(0x1ba)](_0x19e8f3)?_0x2fc47f['CNCNi']('\x0a',Base[_0x22816e(0x203)](_0x19e8f3['actual'],_0x19e8f3[_0x22816e(0x16c)])):'';_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f[_0x22816e(0x207)],_0x497263,![],_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f[_0x22816e(0x1f5)],{},![],_0x2fc47f['TdbGO'](_0x2fc47f[_0x22816e(0x1dc)](_0x2fc47f[_0x22816e(0x1f8)](_0x2fc47f[_0x22816e(0x158)](escape,_0x19e8f3['message']),_0x2fc47f[_0x22816e(0x158)](escape,_0x58d1c4)),'\x0a'),_0x2fc47f[_0x22816e(0x158)](escape,_0x19e8f3[_0x22816e(0x1e4)])))));}else _0x1d502e[_0x22816e(0x1e6)]?_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f[_0x22816e(0x1ed)](tag,_0x2fc47f['ZtGkT'],_0x497263,![],_0x2fc47f['fiHbH'](tag,_0x2fc47f[_0x22816e(0x142)],{},!![]))):_0x2fc47f[_0x22816e(0x158)](xunitWrite,_0x2fc47f['ECdGS'](tag,_0x2fc47f['ZtGkT'],_0x497263,!![]));};function getStats(_0x1a2fd6){const _0x2abfa3=a28_0x13c82e,_0x2291d4={};_0x2291d4['NmeHT']=_0x2abfa3(0x18a),_0x2291d4[_0x2abfa3(0x205)]=_0x2abfa3(0x16b),_0x2291d4[_0x2abfa3(0x1e7)]=_0x2abfa3(0x160),_0x2291d4[_0x2abfa3(0x1c0)]=_0x2abfa3(0x1ec);const _0x449a63=_0x2291d4,_0xef3481=Object['keys'](_0x1a2fd6);let _0x4f8de9=0x0,_0x44898b=0x0,_0x488f45=0x0,_0x1d78a0=0x0;const _0x427c00=new Set();_0xef3481['forEach'](_0x5095b9=>{const _0x416168=_0x2abfa3,_0x64ed3e={};_0x64ed3e['oMfYJ']=_0x449a63['NmeHT'],_0x64ed3e[_0x416168(0x162)]=_0x449a63['QZjTt'],_0x64ed3e[_0x416168(0x218)]=_0x449a63[_0x416168(0x1e7)];const _0x422519=_0x64ed3e;_0x1a2fd6[_0x5095b9][_0x449a63[_0x416168(0x1c0)]]['forEach'](_0x4e6bb2=>{const _0x6a36f9=_0x416168;_0x427c00[_0x6a36f9(0x1dd)](_0x4e6bb2[_0x422519[_0x6a36f9(0x1f7)]]),_0x4f8de9++;switch(_0x4e6bb2[_0x6a36f9(0x208)]){case _0x422519[_0x6a36f9(0x162)]:_0x488f45++;break;case _0x422519[_0x6a36f9(0x218)]:_0x44898b++;break;default:_0x1d78a0++;}});});const _0x3daffe={};return _0x3daffe[_0x2abfa3(0x1d4)]=_0x427c00[_0x2abfa3(0x21a)],_0x3daffe[_0x2abfa3(0x201)]=_0xef3481,_0x3daffe[_0x2abfa3(0x214)]=_0x4f8de9,_0x3daffe[_0x2abfa3(0x1cc)]=_0x44898b,_0x3daffe['testsPassed']=_0x488f45,_0x3daffe[_0x2abfa3(0x134)]=_0x1d78a0,_0x3daffe;}function errorJSON(_0x46e488){const _0x4c5283=a28_0x13c82e;var _0x23fbd5={};return Object[_0x4c5283(0x147)](_0x46e488)[_0x4c5283(0x1cb)](function(_0x3e5462){_0x23fbd5[_0x3e5462]=_0x46e488[_0x3e5462];},_0x46e488),_0x23fbd5;}function a28_0x22e2(_0x2d22ea,_0x1b5245){const _0x164e33=a28_0x164e();return a28_0x22e2=function(_0x22e20d,_0x4d03fa){_0x22e20d=_0x22e20d-0x12c;let _0x5cf425=_0x164e33[_0x22e20d];return _0x5cf425;},a28_0x22e2(_0x2d22ea,_0x1b5245);}function cleanCycles(_0x26c342){const _0x1ed412=a28_0x13c82e,_0x36e6a5={};_0x36e6a5['HOWEA']=function(_0x5e4db8,_0x24ad96){return _0x5e4db8===_0x24ad96;},_0x36e6a5[_0x1ed412(0x17b)]=_0x1ed412(0x170),_0x36e6a5[_0x1ed412(0x14f)]=function(_0x555450,_0x74bcb9){return _0x555450!==_0x74bcb9;},_0x36e6a5['FHBLe']=function(_0x54db9b,_0x3f6c03){return _0x54db9b+_0x3f6c03;};const _0x26dcc9=_0x36e6a5;var _0x392988=[];return JSON[_0x1ed412(0x12d)](JSON['stringify'](_0x26c342,function(_0x54146a,_0x255f78){const _0x27bf94=_0x1ed412;if(_0x26dcc9[_0x27bf94(0x149)](typeof _0x255f78,_0x26dcc9[_0x27bf94(0x17b)])&&_0x26dcc9[_0x27bf94(0x14f)](_0x255f78,null)){if(_0x26dcc9[_0x27bf94(0x14f)](_0x392988[_0x27bf94(0x17c)](_0x255f78),-0x1))return _0x26dcc9['FHBLe']('',_0x255f78);_0x392988[_0x27bf94(0x169)](_0x255f78);}return _0x255f78;}));}function clean(_0x4a1a82){const _0x1bd810=a28_0x13c82e,_0x39a25e={'SWVAP':function(_0x50fab6,_0x40a4ad){return _0x50fab6 instanceof _0x40a4ad;},'pqQVa':function(_0x52fc48,_0x34e52f){return _0x52fc48(_0x34e52f);},'FPrez':function(_0x1d0462,_0x51761f){return _0x1d0462(_0x51761f);}};var _0x548815=_0x4a1a82[_0x1bd810(0x157)]||{};return _0x39a25e[_0x1bd810(0x206)](_0x548815,Error)&&(_0x548815=_0x39a25e[_0x1bd810(0x177)](errorJSON,_0x548815)),{'title':_0x4a1a82[_0x1bd810(0x1b1)],'fullTitle':_0x4a1a82[_0x1bd810(0x1c2)],'file':_0x4a1a82[_0x1bd810(0x159)],'duration':_0x4a1a82['duration'],'currentRetry':_0x4a1a82[_0x1bd810(0x12c)],'speed':_0x4a1a82[_0x1bd810(0x130)],'err':_0x39a25e[_0x1bd810(0x140)](cleanCycles,_0x548815)};}function printStats(_0x1d50a2,_0xd0c09=a28_0x13c82e(0x1fd),_0x59ef8c={}){const _0x2efe9c=a28_0x13c82e,_0x2d2982={'RpNrt':function(_0x2f10f2,_0x188d63){return _0x2f10f2(_0x188d63);},'tkMje':function(_0x1f2e2,_0x18fcaf){return _0x1f2e2===_0x18fcaf;},'JKgkO':_0x2efe9c(0x16b),'VklBF':_0x2efe9c(0x172),'TuqHI':_0x2efe9c(0x160),'qkDoy':'failures','FtQLm':_0x2efe9c(0x20c),'vGoAj':_0x2efe9c(0x1ec),'PrtGu':function(_0x194056,_0x2917c9){return _0x194056===_0x2917c9;},'BNENU':function(_0x253a45,_0xcda877){return _0x253a45*_0xcda877;},'oCzjj':function(_0x53332a,_0x453a42,_0x274672){return _0x53332a(_0x453a42,_0x274672);},'FMqpW':function(_0x4f8536,_0x8ae802){return _0x4f8536===_0x8ae802;},'soaLl':function(_0x4b5796,_0x290256){return _0x4b5796>_0x290256;},'gwJJh':function(_0x2b4bc8){return _0x2b4bc8();},'syEsn':function(_0x263d92,_0x6ad900){return _0x263d92===_0x6ad900;},'hIdyL':_0x2efe9c(0x163),'IVKUg':function(_0x128dbc,_0x5a2ab3){return _0x128dbc>_0x5a2ab3;},'ysHAd':_0x2efe9c(0x189),'qZTJH':_0x2efe9c(0x196),'tnEwI':function(_0x2d873d,_0x250355){return _0x2d873d+_0x250355;},'XyRGX':_0x2efe9c(0x209),'EcBNL':function(_0x15be2f,_0x2cac71){return _0x15be2f+_0x2cac71;},'eqMMT':_0x2efe9c(0x222),'MsJrl':function(_0x31c053,_0x5abb2f){return _0x31c053+_0x5abb2f;},'vXGMd':function(_0x54f98c,_0x4a5bbf){return _0x54f98c+_0x4a5bbf;},'kNsPI':_0x2efe9c(0x17e),'fRgxq':function(_0x3e1c4a,_0x4d8b22){return _0x3e1c4a>_0x4d8b22;},'cSTFJ':function(_0x56562e,_0x3cb1e2){return _0x56562e>_0x3cb1e2;},'lxpCO':function(_0x44c4b9,_0x4e9c40){return _0x44c4b9+_0x4e9c40;},'VmfZT':function(_0x39639a,_0x22965e){return _0x39639a+_0x22965e;},'HZnmb':function(_0x1db48a,_0x5513a5){return _0x1db48a+_0x5513a5;},'npXHA':function(_0x314169,_0x56fdaa){return _0x314169+_0x56fdaa;},'kBOXJ':function(_0x2ec8a7,_0x3c40b7){return _0x2ec8a7+_0x3c40b7;},'aRyUr':_0x2efe9c(0x150),'oHChg':_0x2efe9c(0x14b),'kCflf':_0x2efe9c(0x139),'yKvsL':_0x2efe9c(0x1ab),'wDsbV':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','ofHCQ':function(_0x3d8947,_0x141e23){return _0x3d8947===_0x141e23;},'GOgdO':_0x2efe9c(0x154),'JNkHB':_0x2efe9c(0x145),'spvIo':function(_0x21e7f3,_0x14435f){return _0x21e7f3||_0x14435f;},'zSDWG':function(_0x2e5546,_0x213959,_0x599954,_0x379a60){return _0x2e5546(_0x213959,_0x599954,_0x379a60);},'hogcy':_0x2efe9c(0x1eb),'gmBie':function(_0x24cb36,_0x576341){return _0x24cb36-_0x576341;},'jsKPu':function(_0x1403b7,_0x39a215){return _0x1403b7-_0x39a215;},'eOVqI':function(_0xd7eb74,_0x1063f4){return _0xd7eb74/_0x1063f4;},'YoCiQ':_0x2efe9c(0x1a2),'rdUXf':_0x2efe9c(0x17a),'aRhWY':_0x2efe9c(0x131),'loboQ':_0x2efe9c(0x19a),'DKWxE':function(_0x3d530c,_0x370d3c){return _0x3d530c===_0x370d3c;},'grusv':_0x2efe9c(0x18f),'WmfGL':_0x2efe9c(0x1f2)};if(_0x2d2982[_0x2efe9c(0x1bd)](_0xd0c09,_0x2d2982[_0x2efe9c(0x198)]))return;const _0x28ba53=0x0,_0xa2eb0f=()=>{const _0x16e3f3=_0x2efe9c;return _0x2d2982['RpNrt'](Array,_0x28ba53)[_0x16e3f3(0x16d)]('\x20\x20');},{testSuites:_0x3b5f70,platforms:_0x7aa0fe,totalTests:_0x752694,testsFailed:_0x4e9012,testsPassed:_0x381029,testsPending:_0x20d493}=_0x2d2982[_0x2efe9c(0x1e5)](getStats,_0x1d50a2);_0x2d2982[_0x2efe9c(0x19f)](_0x4e9012,0x0)&&(logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x1c1)]),process[_0x2efe9c(0x1d8)]=Math[_0x2efe9c(0x171)](_0x4e9012,0xff));logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x1be)]);const _0x425d7d=''+_0x2d2982[_0x2efe9c(0x215)](chalk[_0x2efe9c(0x220)](_0x2d2982[_0x2efe9c(0x194)]),_0x7aa0fe[_0x2efe9c(0x1c5)]),_0x4c0e21=''+_0x2d2982['EcBNL'](chalk[_0x2efe9c(0x220)](_0x2d2982[_0x2efe9c(0x14d)]),_0x3b5f70),_0x423040=''+_0x2d2982['MsJrl'](_0x2d2982[_0x2efe9c(0x21f)](_0x2d2982[_0x2efe9c(0x15c)](chalk['bold'](_0x2d2982[_0x2efe9c(0x138)]),_0x2d2982['fRgxq'](_0x4e9012,0x0)?chalk[_0x2efe9c(0x220)][_0x2efe9c(0x1c7)](_0x4e9012+_0x2efe9c(0x167))+',\x20':''),_0x2d2982[_0x2efe9c(0x13b)](_0x20d493,0x0)?chalk[_0x2efe9c(0x220)][_0x2efe9c(0x1ca)](_0x20d493+_0x2efe9c(0x19c))+',\x20':''),_0x2d2982[_0x2efe9c(0x228)](_0x381029,0x0)?chalk['bold'][_0x2efe9c(0x199)](_0x381029+_0x2efe9c(0x1ef))+',\x20':'')+_0x752694+'\x20total';console[_0x2efe9c(0x1d3)](_0x2d2982[_0x2efe9c(0x173)](_0x2d2982['VmfZT'](_0x2d2982[_0x2efe9c(0x13a)](_0x2d2982['npXHA'](_0x2d2982['kBOXJ'](_0x2d2982[_0x2efe9c(0x20f)],_0x425d7d),'\x0a'),_0x4c0e21),'\x0a'),_0x423040));if(_0x2d2982[_0x2efe9c(0x135)](_0xd0c09,_0x2d2982['oHChg'])){const _0x572ca0={},_0x20bd86={};_0x20bd86['testSuites']=_0x3b5f70,_0x20bd86[_0x2efe9c(0x201)]=_0x7aa0fe,_0x20bd86['testsFailed']=_0x4e9012,_0x20bd86[_0x2efe9c(0x1c3)]=_0x381029,_0x20bd86['testsPending']=_0x20d493,_0x572ca0[_0x2efe9c(0x1e8)]=_0x20bd86,_0x7aa0fe['forEach'](_0x2ac380=>{const _0x3e79d8=_0x2efe9c,_0x325e73={'tHebN':function(_0x5e098f,_0x161340){return _0x2d2982['tkMje'](_0x5e098f,_0x161340);},'nCurn':_0x2d2982[_0x3e79d8(0x19b)],'OOItN':_0x2d2982['VklBF'],'LlMNH':function(_0x34ff7f,_0x44b0a5){return _0x2d2982['RpNrt'](_0x34ff7f,_0x44b0a5);},'pnmoe':_0x2d2982['TuqHI'],'BWxju':_0x2d2982[_0x3e79d8(0x1f0)],'kdxZA':function(_0x388ab2,_0x17ea03){const _0x52c695=_0x3e79d8;return _0x2d2982[_0x52c695(0x1e5)](_0x388ab2,_0x17ea03);},'iTlWP':_0x2d2982[_0x3e79d8(0x1f1)]};_0x572ca0[_0x2ac380]={'pending':[],'failures':[],'passes':[],'tests':_0x1d50a2[_0x2ac380][_0x2d2982[_0x3e79d8(0x1ae)]][_0x3e79d8(0x22c)](clean)},_0x1d50a2[_0x2ac380][_0x2d2982[_0x3e79d8(0x1ae)]][_0x3e79d8(0x1cb)](_0x1c971f=>{const _0x15ff42=_0x3e79d8;if(_0x325e73['tHebN'](_0x1c971f[_0x15ff42(0x208)],_0x325e73[_0x15ff42(0x18c)]))_0x572ca0[_0x2ac380][_0x325e73[_0x15ff42(0x14e)]][_0x15ff42(0x169)](_0x325e73[_0x15ff42(0x180)](clean,_0x1c971f));else _0x325e73[_0x15ff42(0x191)](_0x1c971f['state'],_0x325e73[_0x15ff42(0x197)])?_0x572ca0[_0x2ac380][_0x325e73['BWxju']]['push'](_0x325e73[_0x15ff42(0x166)](clean,_0x1c971f)):_0x572ca0[_0x2ac380][_0x325e73[_0x15ff42(0x1db)]]['push'](_0x325e73['LlMNH'](clean,_0x1c971f));});});if(_0x59ef8c['output'])try{logger['debug'](_0x2d2982['kCflf'],_0x59ef8c[_0x2efe9c(0x22b)]),fs['writeFileSync'](_0x59ef8c[_0x2efe9c(0x22b)],JSON[_0x2efe9c(0x151)](_0x572ca0,null,0x3));}catch(_0x22bbfe){logger[_0x2efe9c(0x1fb)](_0x2d2982['yKvsL'],_0x59ef8c[_0x2efe9c(0x22b)]),logger[_0x2efe9c(0x181)](_0x22bbfe);}else logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x19d)]),console['log'](JSON[_0x2efe9c(0x151)](_0x572ca0,null,0x3));}else{if(_0x2d2982[_0x2efe9c(0x1af)](_0xd0c09,_0x2d2982['GOgdO'])){let _0x206337;const _0x26b21f=_0x2d2982['JNkHB'];_0x59ef8c&&(_0x206337=_0x59ef8c[_0x2efe9c(0x1cd)]);_0x206337=_0x2d2982[_0x2efe9c(0x1fc)](_0x206337,_0x26b21f);let _0x4df3d3=0x0,_0x20ebc6=0x0,_0x476e40=0x0,_0x427f46=0x0;_0x7aa0fe['forEach'](_0x4e3e32=>{const _0x2e58f6=_0x2efe9c;_0x1d50a2[_0x4e3e32][_0x2d2982['vGoAj']][_0x2e58f6(0x1cb)](_0x4c0f1e=>{const _0x2f93ae=_0x2e58f6;if(_0x2d2982[_0x2f93ae(0x21e)](_0x4c0f1e['state'],_0x2d2982[_0x2f93ae(0x19b)]))_0x4df3d3++;else _0x2d2982[_0x2f93ae(0x135)](_0x4c0f1e[_0x2f93ae(0x208)],_0x2d2982[_0x2f93ae(0x148)])&&_0x20ebc6++;_0x476e40++,_0x427f46+=_0x2d2982[_0x2f93ae(0x225)](_0x4c0f1e['duration'],0x1);});}),_0x2d2982[_0x2efe9c(0x1e5)](xunitWrite,_0x2d2982[_0x2efe9c(0x193)](tag,_0x2d2982[_0x2efe9c(0x16a)],{'name':_0x206337,'tests':_0x476e40,'failures':0x0,'errors':_0x20ebc6,'skipped':_0x2d2982['gmBie'](_0x2d2982['jsKPu'](_0x476e40,_0x20ebc6),_0x4df3d3),'timestamp':new Date()[_0x2efe9c(0x210)](),'time':_0x2d2982[_0x2efe9c(0x137)](_0x427f46,0x3e8)||0x0},![])),_0x7aa0fe[_0x2efe9c(0x1cb)](_0x15705e=>{const _0x51aaf8=_0x2efe9c,_0x4cf920={'EbVco':function(_0xc97684,_0x1a138d,_0x35f325){const _0x4826d0=a28_0x22e2;return _0x2d2982[_0x4826d0(0x13c)](_0xc97684,_0x1a138d,_0x35f325);}};_0x1d50a2[_0x15705e][_0x2d2982['vGoAj']][_0x51aaf8(0x1cb)](_0x16b883=>{const _0x56edf0=_0x51aaf8;_0x4cf920[_0x56edf0(0x1fa)](xunitTest,_0x16b883,_0x15705e);});}),_0x2d2982[_0x2efe9c(0x1e5)](xunitWrite,_0x2d2982[_0x2efe9c(0x22e)]);if(_0x59ef8c[_0x2efe9c(0x22b)])try{logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x20b)],_0x59ef8c['output']),fs[_0x2efe9c(0x152)](_0x59ef8c['output'],xunitContent);}catch(_0x3d501f){logger[_0x2efe9c(0x1fb)](_0x2d2982['aRhWY'],_0x59ef8c[_0x2efe9c(0x22b)]),logger['debug'](_0x3d501f);}else logger[_0x2efe9c(0x181)](_0x2d2982['loboQ']),console[_0x2efe9c(0x1d3)](xunitContent);}else{if(_0x2d2982[_0x2efe9c(0x143)](_0x4e9012,0x0))return;console[_0x2efe9c(0x1d3)](),logger[_0x2efe9c(0x181)](_0x2d2982[_0x2efe9c(0x21c)]),console[_0x2efe9c(0x1d3)](chalk[_0x2efe9c(0x220)]['bgRedBright'](_0x2d2982['WmfGL'])),_0x7aa0fe[_0x2efe9c(0x1cb)](_0x592603=>{const _0x37c531=_0x2efe9c,_0x1fe124={'QDwQP':function(_0x518109,_0x414b98){return _0x2d2982['FMqpW'](_0x518109,_0x414b98);},'DOBjn':_0x2d2982[_0x37c531(0x148)]},_0x85116=[];_0x1d50a2[_0x592603][_0x2d2982[_0x37c531(0x1ae)]]['forEach'](_0x2614b2=>{const _0xdf2bf2=_0x37c531;_0x1fe124[_0xdf2bf2(0x182)](_0x2614b2[_0xdf2bf2(0x208)],_0x1fe124[_0xdf2bf2(0x164)])&&(_0x2614b2[_0xdf2bf2(0x1d5)]=()=>_0x2614b2[_0xdf2bf2(0x176)],_0x85116[_0xdf2bf2(0x169)](_0x2614b2));}),_0x2d2982[_0x37c531(0x13b)](_0x85116[_0x37c531(0x1c5)],0x0)&&(Base[_0x37c531(0x133)](),Base[_0x37c531(0x133)](_0x2d2982[_0x37c531(0x16f)](_0xa2eb0f),chalk[_0x37c531(0x220)]['bgBlueBright'](_0x592603)),Base[_0x37c531(0x1d2)](_0x85116));});}}}async function run(_0x5cc4cd,_0x28c961,_0x2fac3b){const _0x1ca1a2=a28_0x13c82e,_0x3a3f5b={'vKYUT':function(_0x521d26,_0x5c5ec3,_0x4064dc,_0x2325ef){return _0x521d26(_0x5c5ec3,_0x4064dc,_0x2325ef);},'YLJtA':_0x1ca1a2(0x202),'jnVea':_0x1ca1a2(0x1b9),'aeAFi':_0x1ca1a2(0x1a6),'ZzMej':'mocha','rxqXh':function(_0x3cd67a,_0x49f6c8){return _0x3cd67a!=_0x49f6c8;},'DkWkG':_0x1ca1a2(0x1ce),'gvOHy':_0x1ca1a2(0x204),'xYGRt':_0x1ca1a2(0x21d),'WrNjk':_0x1ca1a2(0x221),'NKcMK':function(_0x4ee594,_0x318922){return _0x4ee594(_0x318922);},'tfjaW':function(_0x5e7883,_0x255047,_0x51d023){return _0x5e7883(_0x255047,_0x51d023);},'jiIvd':_0x1ca1a2(0x18b),'drWBn':'Running\x20your\x20mocha\x20tests','zRCME':_0x1ca1a2(0x1e0),'qxIri':function(_0x3ba0d0,_0x2c5080,_0x4fb5eb,_0x49dd77){return _0x3ba0d0(_0x2c5080,_0x4fb5eb,_0x49dd77);},'JIEZD':function(_0x32b922,_0x1db56f){return _0x32b922*_0x1db56f;},'Gujyi':function(_0x155a38,_0x1f4a74){return _0x155a38(_0x1f4a74);},'OMPRt':function(_0x5b6fb0,_0x2b7fd6){return _0x5b6fb0!==_0x2b7fd6;},'hmjEw':function(_0xcd5a19,_0x218f04,_0x4e352c,_0x203ad4){return _0xcd5a19(_0x218f04,_0x4e352c,_0x203ad4);}};helper[_0x1ca1a2(0x18d)](_0x2fac3b['framework'],_0x5cc4cd);helper[_0x1ca1a2(0x1e2)]()?(await _0x2fac3b[_0x1ca1a2(0x1f9)](_0x5cc4cd),await helper[_0x1ca1a2(0x1a8)](_0x2fac3b[_0x1ca1a2(0x165)])):await _0x2fac3b['setupTCGAuth']();const _0x1729de=[];let _0x43f218=[];if(!_0x2fac3b[_0x1ca1a2(0x165)])return;!helper['isUndefined'](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c9)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1ca1a2(0x151)](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c9)]));const _0x524dc8=await TestHubHandler[_0x1ca1a2(0x1a7)](FRAMEWORKS[_0x1ca1a2(0x1c8)],_0x2fac3b);_0x3a3f5b[_0x1ca1a2(0x211)](_0x2fac3b[_0x1ca1a2(0x165)]['testObservability'],null)&&(process[_0x1ca1a2(0x1d7)][_0x1ca1a2(0x1d0)]=_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x22f)]);!helper['isUndefined'](_0x2fac3b['config'][_0x1ca1a2(0x217)])&&(process[_0x1ca1a2(0x1d7)][_0x1ca1a2(0x188)]=_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x217)]);const {extension:extension=['js',_0x3a3f5b[_0x1ca1a2(0x1ac)],_0x3a3f5b[_0x1ca1a2(0x15f)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3a3f5b['xYGRt']]}=_0x5cc4cd,_0x30b0d6={..._0x5cc4cd};_0x30b0d6[_0x1ca1a2(0x17f)]=null;const _0x373f8e=_0x30b0d6;let _0x149f6c;if(testOpsHelper[_0x1ca1a2(0x174)]()&&testOpsHelper[_0x1ca1a2(0x22d)]()){let _0x6a66cb=process['env'][_0x1ca1a2(0x1da)];!helper[_0x1ca1a2(0x187)](_0x2fac3b[_0x1ca1a2(0x1d6)])&&_0x2fac3b[_0x1ca1a2(0x1d6)]['has'](_0x3a3f5b['WrNjk'])&&(_0x6a66cb=_0x2fac3b[_0x1ca1a2(0x1d6)][_0x1ca1a2(0x219)](_0x3a3f5b['WrNjk'])),_0x149f6c=testOpsHelper[_0x1ca1a2(0x20d)](_0x6a66cb);}if(helper[_0x1ca1a2(0x187)](_0x149f6c)){const _0x440de4={};_0x440de4['ignore']=ignore,_0x440de4[_0x1ca1a2(0x1df)]=extension,_0x440de4[_0x1ca1a2(0x159)]=file,_0x440de4['recursive']=recursive,_0x440de4['sort']=sort,_0x440de4[_0x1ca1a2(0x1fd)]=spec,_0x149f6c=_0x3a3f5b[_0x1ca1a2(0x1e9)](collectFiles,_0x440de4),_0x3a3f5b[_0x1ca1a2(0x156)](nestedKeyValue,_0x149f6c,[_0x3a3f5b[_0x1ca1a2(0x1fe)]])&&(_0x149f6c=_0x149f6c['files']);}const _0x15036a=helper[_0x1ca1a2(0x183)](_0x2fac3b[_0x1ca1a2(0x165)]);!helper[_0x1ca1a2(0x175)](_0x15036a)&&helper[_0x1ca1a2(0x1b8)](_0x15036a[_0x1ca1a2(0x1bf)])&&(_0x373f8e['retries']=_0x15036a['retryTestsOnFailure']['maxRetries']);if(!helper[_0x1ca1a2(0x1e2)]()){const _0x5cd27d=0x1,_0x221826={..._0x373f8e};_0x221826[_0x1ca1a2(0x1fd)]=[..._0x149f6c],_0x1729de[_0x1ca1a2(0x169)]({'mochaOpts':_0x221826,'configuration':{'platform':os[_0x1ca1a2(0x1ad)]()}}),logger[_0x1ca1a2(0x1bc)](_0x3a3f5b[_0x1ca1a2(0x1ea)]),logger[_0x1ca1a2(0x1bc)](_0x3a3f5b[_0x1ca1a2(0x146)]),_0x3a3f5b['qxIri'](parallelTestRun,_0x1729de,_0x5cd27d,_0x2fac3b)[_0x1ca1a2(0x190)](_0x5864d5=>{const _0x45f1bf=_0x1ca1a2;PerformanceTester[_0x45f1bf(0x1f4)](PerformanceEvents[_0x45f1bf(0x19e)]),_0x3a3f5b['vKYUT'](printStats,_0x5864d5,_0x5cc4cd[_0x45f1bf(0x14a)],_0x5cc4cd[_0x45f1bf(0x12f)]||_0x5cc4cd[_0x3a3f5b[_0x45f1bf(0x14c)]]);})[_0x1ca1a2(0x185)](()=>{const _0x5c5b58=_0x1ca1a2;PerformanceTester[_0x5c5b58(0x1f4)](PerformanceEvents[_0x5c5b58(0x19e)]);try{const {browserstackFolderPath:_0x5910bf,tcgConfigPath:_0x386732}=helper[_0x5c5b58(0x21b)]();fs[_0x5c5b58(0x136)](_0x386732),fs[_0x5c5b58(0x1ee)](_0x5910bf);}catch(_0x214e19){logger[_0x5c5b58(0x181)](_0x3a3f5b['jnVea'],_0x214e19);}try{utilities['fireFunnelTestEvent'](_0x3a3f5b[_0x5c5b58(0x12e)],{},_0x2fac3b[_0x5c5b58(0x165)],_0x2fac3b[_0x5c5b58(0x1f6)]);}catch(_0x3e813c){logger[_0x5c5b58(0x181)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x3e813c['stack']);}try{helper[_0x5c5b58(0x13d)]();}catch(_0xfdc6dc){logger[_0x5c5b58(0x181)](_0x5c5b58(0x223)+_0xfdc6dc);}testOpsHelper['printBuildLink']();});}else{const _0x425f58=helper[_0x1ca1a2(0x22a)](_0x2fac3b[_0x1ca1a2(0x165)]);let _0x3e8d0f=helper[_0x1ca1a2(0x1b5)](_0x2fac3b[_0x1ca1a2(0x165)]);_0x43f218=helper['prepareCapabilities'](_0x2fac3b[_0x1ca1a2(0x165)],_0x425f58,constants[_0x1ca1a2(0x1aa)][_0x1ca1a2(0x1c8)]);helper[_0x1ca1a2(0x15d)]()['central_scanner']&&(_0x3e8d0f=centralScannerConstants[_0x1ca1a2(0x20e)]);let _0x28b02d;const _0x4c4050=_0x2fac3b['config'][_0x1ca1a2(0x1c4)]||helper[_0x1ca1a2(0x178)](_0x5cc4cd,_0x28c961,_0x2fac3b[_0x1ca1a2(0x165)],constants[_0x1ca1a2(0x1aa)]['MOCHA'])||0x1;helper[_0x1ca1a2(0x200)](_0x2fac3b[_0x1ca1a2(0x165)])?_0x28b02d=_0x3a3f5b[_0x1ca1a2(0x144)](_0x2fac3b['config'][_0x1ca1a2(0x201)][_0x1ca1a2(0x1c5)],_0x4c4050):_0x28b02d=_0x4c4050;const _0x295e33=_0x3a3f5b['Gujyi'](getPercyOptions,_0x2fac3b[_0x1ca1a2(0x165)]);if(_0x3a3f5b['OMPRt'](_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x1c4)],0x1))_0x149f6c[_0x1ca1a2(0x1cb)](_0x23f590=>{const _0x5056da=_0x1ca1a2,_0xd1bca9=[];_0x43f218[_0x5056da(0x1cb)]((_0x1dc644,_0x3ed88c)=>{const _0x2f4aad=_0x5056da,_0x51eef0={};_0x51eef0[_0x2f4aad(0x1fd)]=[_0x23f590],_0xd1bca9[_0x2f4aad(0x169)]({'mochaOpts':Object['assign']({},_0x373f8e,_0x51eef0),'configuration':{'server':_0x3e8d0f,'capability':_0x1dc644,'proxySettings':_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x18e)],'platform':helper[_0x2f4aad(0x1ff)](_0x1dc644),'browserStackLogLevel':_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x1d9)],'platformIndex':_0x3ed88c,'browserStackPercyOptions':_0x295e33,'platformCaps':Object[_0x2f4aad(0x226)]({'index':_0x3ed88c},_0x2fac3b[_0x2f4aad(0x165)][_0x2f4aad(0x201)][_0x3ed88c])}});}),_0x1729de[_0x5056da(0x169)](..._0xd1bca9);});else{const _0x2bf550=[];_0x43f218[_0x1ca1a2(0x1cb)]((_0x9c6031,_0x2779cc)=>{const _0x2ce00e=_0x1ca1a2;let _0x15b654=Object[_0x2ce00e(0x226)]({},_0x373f8e);testOpsHelper[_0x2ce00e(0x174)]()&&testOpsHelper[_0x2ce00e(0x22d)]()&&(_0x15b654={..._0x15b654,'spec':[..._0x149f6c]}),_0x2bf550[_0x2ce00e(0x169)]({'mochaOpts':_0x15b654,'configuration':{'server':_0x3e8d0f,'capability':_0x9c6031,'proxySettings':_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x18e)],'platform':helper[_0x2ce00e(0x1ff)](_0x9c6031),'browserStackLogLevel':_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x1d9)],'platformIndex':_0x2779cc,'browserStackPercyOptions':_0x295e33,'platformCaps':Object['assign']({'index':_0x2779cc},_0x2fac3b[_0x2ce00e(0x165)][_0x2ce00e(0x201)][_0x2779cc])}});}),_0x1729de['push'](..._0x2bf550);}logger[_0x1ca1a2(0x1bc)](_0x1ca1a2(0x15e)+_0x2fac3b[_0x1ca1a2(0x165)][_0x1ca1a2(0x201)][_0x1ca1a2(0x1c5)]+'\x20platforms'),logger['info'](_0x3a3f5b[_0x1ca1a2(0x146)]);let _0x5d9a6c;_0x3a3f5b['hmjEw'](parallelTestRun,_0x1729de,_0x28b02d,_0x2fac3b)[_0x1ca1a2(0x190)](_0x2eafe3=>{const _0x53b947=_0x1ca1a2;PerformanceTester[_0x53b947(0x1f4)](PerformanceEvents[_0x53b947(0x19e)]),_0x5d9a6c=_0x2eafe3,_0x3a3f5b[_0x53b947(0x1e3)](printStats,_0x2eafe3,_0x5cc4cd[_0x53b947(0x14a)],_0x5cc4cd[_0x53b947(0x12f)]||_0x5cc4cd[_0x3a3f5b[_0x53b947(0x14c)]]);})[_0x1ca1a2(0x185)](async()=>{const _0x501477=_0x1ca1a2;PerformanceTester[_0x501477(0x1f4)](PerformanceEvents[_0x501477(0x19e)]),_0x2fac3b[_0x501477(0x1b6)]=helper['getErrorMessageFromResults'](_0x5d9a6c,_0x3a3f5b['ZzMej']),await utilities[_0x501477(0x1b0)](_0x2fac3b),testOpsHelper[_0x501477(0x1cf)]();});}}module[a28_0x13c82e(0x1a4)]=run;
@@ -1 +1 @@
1
- function a29_0x11f6(_0x36019d,_0x3a45ab){const _0x2b5366=a29_0x2b53();return a29_0x11f6=function(_0x11f693,_0x43b2d4){_0x11f693=_0x11f693-0x7e;let _0x178313=_0x2b5366[_0x11f693];return _0x178313;},a29_0x11f6(_0x36019d,_0x3a45ab);}const a29_0x433a75=a29_0x11f6;function a29_0x2b53(){const _0x347e8c=['1107DmXltR','../../../helpers/accessibility-automation/helper','split','1095ExPjnT','send','firefoxOptions','optimalHubUrl','set','global','updateHubUrl','4|1|2|3|5|0','options_','capabilities_','10CunAUw','forEach','then','Proxy\x20set\x20to\x20','get','mergeDeep','nmzit','rmnBt','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','yrVXR','AFEgR','70vEvjFT','caps_','capability','hZiQR','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','/session','https://','JuEbZ','Wdlvv','edgeOptions_','setLogLevel','dEdNV','CZTjq','setCapabilities','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','se:ieOptions','storeOptimalHubUrl','keys','72JuZAah','Hub\x20url\x20set\x20to\x20','__setBrowserOptions','../../../helpers/logger','url_','requireHttpClient','1262855ATQUgI','nCoqM','info','newHubUrl','qLnjv','safari.options','kMKdh','krOvb','6168bkRciH','SBsDo','proxySettings','pCNdc','__driver','/wd/hub','originalBuilder','ieOptions_','hbplD','pFdmL','HttpClient','New\x20hub\x20url\x20set\x20to\x20','proxyUrl','oiHEm','goog:chromeOptions','../../../hubAllocationMethods','chromeOptions_','getHubUrl','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','chromeOptions','isAccessibilityPlatform','exports','browserstackAgentObservability','ZQwal','__drivers','Builder','705274SQRQeZ','CBHTJ','EdTju','ms:edgeOptions','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','isUndefined','debug','./helpers/patchHelper','NzWKL','hWypm','RVzHb','kAkPY','push','logLevel','ADXRl','CAPABILITY_KEY','1183705pRSXlC','getAccessibilityResults','getHttpAgent','isPacProxy','../../../helpers/globals','HbEto','12212bwjBly','setServer','build','path','overrideGet','bQAqs','gQRXT','error','qKpnd','getRequestOptions','quitCount_','VyqGH','firefoxOptions_','getAccessibilityResultsSummary','isBrowserstackInfra','proxy_','safariOptions_','3EKyPUw','ggpyW','session_','../accessibility-automation/helper','browserStackLogLevel','__driversArray','636942LlgDou','gAOUT','setGlobal','4101968qRiUuq','agent_'];a29_0x2b53=function(){return _0x347e8c;};return a29_0x2b53();}(function(_0x57b303,_0x526d35){const _0x68294b=a29_0x11f6,_0x378a5a=_0x57b303();while(!![]){try{const _0x1e2788=parseInt(_0x68294b(0xb1))/0x1+-parseInt(_0x68294b(0xa1))/0x2*(parseInt(_0x68294b(0xc8))/0x3)+parseInt(_0x68294b(0xb7))/0x4*(parseInt(_0x68294b(0xd6))/0x5)+parseInt(_0x68294b(0xce))/0x6*(parseInt(_0x68294b(0xeb))/0x7)+-parseInt(_0x68294b(0x87))/0x8*(-parseInt(_0x68294b(0xd3))/0x9)+parseInt(_0x68294b(0xe0))/0xa*(-parseInt(_0x68294b(0x7f))/0xb)+-parseInt(_0x68294b(0xfd))/0xc*(parseInt(_0x68294b(0xd1))/0xd);if(_0x1e2788===_0x526d35)break;else _0x378a5a['push'](_0x378a5a['shift']());}catch(_0x5bdf1c){_0x378a5a['push'](_0x378a5a['shift']());}}}(a29_0x2b53,0x9e379));const logger=require(a29_0x433a75(0x100))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x433a75(0x96)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x433a75(0xcb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x433a75(0xd4)),globals=require(a29_0x433a75(0xb5)),{overrideExecute}=require(a29_0x433a75(0xa8)),modify=(_0x37360a,_0x41210d=null,_0x23481b=![])=>{const _0x26b3ee=a29_0x433a75,_0x536dbc={'kAkPY':function(_0xfbf78b,_0x21a5f8){return _0xfbf78b!==_0x21a5f8;},'BfNRp':_0x26b3ee(0xf0),'pCNdc':function(_0x765f49,_0x5b8aef){return _0x765f49!==_0x5b8aef;},'Wdlvv':function(_0x1c1f01,_0xb2dd4){return _0x1c1f01+_0xb2dd4;},'gAOUT':function(_0x5222cb,_0x14ac3c){return _0x5222cb+_0x14ac3c;},'JuEbZ':_0x26b3ee(0xf1),'pFdmL':_0x26b3ee(0x8c),'hWypm':_0x26b3ee(0x95),'AFEgR':_0x26b3ee(0x9a),'hbplD':_0x26b3ee(0xa4),'IhZNS':'edgeOptions','gQRXT':'moz:firefoxOptions','cyoct':_0x26b3ee(0xd8),'cFZCJ':_0x26b3ee(0x84),'CBHTJ':_0x26b3ee(0xfa),'nCoqM':'ieOptions','HbEto':function(_0x2f3f96,_0x4bf23b){return _0x2f3f96===_0x4bf23b;},'ityHa':'object','nmzit':'Setting\x20Browserstack\x20capabilities','RVzHb':function(_0x5c3d36,_0xae859b,_0x14e75d){return _0x5c3d36(_0xae859b,_0x14e75d);},'dEdNV':_0x26b3ee(0xd9),'ZQwal':_0x26b3ee(0xe8),'oiHEm':function(_0x1af2ae,_0x59ca44){return _0x1af2ae(_0x59ca44);},'NzWKL':function(_0xa0b477,_0x1e4f2e,_0x2b4cfa){return _0xa0b477(_0x1e4f2e,_0x2b4cfa);},'rmnBt':_0x26b3ee(0xdd),'yrVXR':_0x26b3ee(0xf9),'hZiQR':function(_0x5b479b){return _0x5b479b();},'CZTjq':_0x26b3ee(0x9b),'SBsDo':function(_0x4fa2bf,_0x30140e,_0x78c701){return _0x4fa2bf(_0x30140e,_0x78c701);},'qKpnd':function(_0x330633,_0x903c4){return _0x330633(_0x903c4);},'kMKdh':function(_0x3d041b,_0x58da3d,_0x4a4306){return _0x3d041b(_0x58da3d,_0x4a4306);},'ADXRl':function(_0x43dd5d,_0x34a936){return _0x43dd5d!==_0x34a936;},'ggpyW':_0x26b3ee(0xef),'krOvb':'Modifying\x20webdriver\x20builder'},_0x38bc8a=helper[_0x26b3ee(0x7e)]();let _0x54ebf7;try{_0x54ebf7=helper['requireSeleniumWebdriver'](),_0x54ebf7[_0x26b3ee(0x8d)]&&(_0x54ebf7[_0x26b3ee(0xa0)]=_0x54ebf7[_0x26b3ee(0x8d)]);}catch(_0x6d77f0){return;}if(helper[_0x26b3ee(0xc5)]()){const _0x336f4f={};_0x336f4f[_0x26b3ee(0xae)]=_0x37360a[_0x26b3ee(0xcc)],helper[_0x26b3ee(0xf5)](_0x336f4f,new Map(),new Map()),logger[_0x26b3ee(0x81)](_0x536dbc[_0x26b3ee(0xc9)]),logger[_0x26b3ee(0xa7)](_0x536dbc[_0x26b3ee(0x86)]);}class _0x3eb4f6 extends _0x38bc8a['HttpClient']{['send'](_0x6e42d1){const _0x9d7fab=_0x26b3ee;if(_0x536dbc[_0x9d7fab(0xac)](_0x6e42d1[_0x9d7fab(0xba)],_0x536dbc['BfNRp'])&&_0x536dbc['pCNdc'](global[_0x9d7fab(0x82)],''))try{global['newHubUrl']=_0x536dbc[_0x9d7fab(0xf3)](_0x536dbc[_0x9d7fab(0xcf)](_0x536dbc[_0x9d7fab(0xf2)],global['newHubUrl']),_0x536dbc[_0x9d7fab(0x90)]),this[_0x9d7fab(0xde)]=hubAllocator[_0x9d7fab(0xc0)](global['newHubUrl']),logger[_0x9d7fab(0xa7)](_0x9d7fab(0x92)+global[_0x9d7fab(0x82)]),global['newHubUrl']='';}catch(_0x2a6d36){logger[_0x9d7fab(0xbe)](_0x2a6d36);}return super[_0x9d7fab(0xd7)](_0x6e42d1);}}class _0x11285f extends _0x54ebf7[_0x26b3ee(0xa0)]{[_0x26b3ee(0xb8)](){const _0x30c4fc=_0x26b3ee;return this[_0x30c4fc(0x101)]=helper[_0x30c4fc(0x98)](_0x37360a),logger[_0x30c4fc(0xa7)](_0x30c4fc(0xfe)+this['url_']),this;}['__setBrowserOptions'](_0x53ecb8){const _0x9db91d=_0x26b3ee;let _0x1195c5={};for(const _0x3cc0f5 in _0x53ecb8){switch(_0x3cc0f5){case _0x536dbc[_0x9db91d(0xaa)]:case _0x536dbc[_0x9db91d(0xea)]:this[_0x9db91d(0x97)]&&(_0x1195c5=this[_0x9db91d(0x97)]['get'](this[_0x9db91d(0x97)][_0x9db91d(0xb0)])||{},this[_0x9db91d(0x97)][_0x9db91d(0xda)](this[_0x9db91d(0x97)][_0x9db91d(0xb0)],helper[_0x9db91d(0xe5)](_0x1195c5,_0x53ecb8[_0x3cc0f5])));break;case _0x536dbc[_0x9db91d(0x8f)]:case _0x536dbc['IhZNS']:this[_0x9db91d(0xf4)]&&(_0x1195c5=this[_0x9db91d(0xf4)]['get'](this['edgeOptions_'][_0x9db91d(0xb0)])||{},this[_0x9db91d(0xf4)][_0x9db91d(0xda)](this[_0x9db91d(0xf4)]['CAPABILITY_KEY'],helper[_0x9db91d(0xe5)](_0x1195c5,_0x53ecb8[_0x3cc0f5])));break;case _0x536dbc[_0x9db91d(0xbd)]:case _0x536dbc['cyoct']:this[_0x9db91d(0xc3)]&&(_0x1195c5=this[_0x9db91d(0xc3)][_0x9db91d(0xe4)](this[_0x9db91d(0xc3)][_0x9db91d(0xb0)])||{},this[_0x9db91d(0xc3)][_0x9db91d(0xda)](this['firefoxOptions_'][_0x9db91d(0xb0)],helper[_0x9db91d(0xe5)](_0x1195c5,_0x53ecb8[_0x3cc0f5])));break;case _0x536dbc['cFZCJ']:this['safariOptions_']&&(_0x1195c5=this[_0x9db91d(0xc7)][_0x9db91d(0xe4)](this[_0x9db91d(0xc7)][_0x9db91d(0xb0)])||{},this[_0x9db91d(0xc7)]['set'](this[_0x9db91d(0xc7)][_0x9db91d(0xb0)],helper[_0x9db91d(0xe5)](_0x1195c5,_0x53ecb8[_0x3cc0f5])));break;case _0x536dbc[_0x9db91d(0xa2)]:case _0x536dbc[_0x9db91d(0x80)]:this[_0x9db91d(0x8e)]&&(_0x1195c5=this[_0x9db91d(0x8e)][_0x9db91d(0xe4)](this[_0x9db91d(0x8e)][_0x9db91d(0xb0)])||{},this[_0x9db91d(0x8e)]['set'](this[_0x9db91d(0x8e)]['CAPABILITY_KEY'],helper[_0x9db91d(0xe5)](_0x1195c5,_0x53ecb8[_0x3cc0f5])));break;}}}[_0x26b3ee(0xf8)](){const _0x22a2fc=_0x26b3ee;return logger['debug'](_0x536dbc[_0x22a2fc(0xe6)]),this[_0x22a2fc(0xff)](_0x37360a[_0x22a2fc(0xed)]),Object[_0x22a2fc(0xfc)](_0x37360a[_0x22a2fc(0xed)])[_0x22a2fc(0xe1)](_0x4b37c0=>{const _0x996170=_0x22a2fc,_0x10f6fd=this[_0x996170(0xdf)][_0x996170(0xe4)](_0x4b37c0);_0x536dbc[_0x996170(0xb6)](typeof _0x10f6fd,_0x536dbc['ityHa'])?this[_0x996170(0xdf)]['set'](_0x4b37c0,helper[_0x996170(0xe5)](_0x10f6fd,_0x37360a[_0x996170(0xed)][_0x4b37c0])):this[_0x996170(0xdf)][_0x996170(0xda)](_0x4b37c0,_0x37360a[_0x996170(0xed)][_0x4b37c0]);}),this;}[_0x26b3ee(0xb9)](){const _0x4d3cfb=_0x26b3ee,_0x2929d7={'uhsDa':_0x536dbc[_0x4d3cfb(0xf6)],'EdTju':_0x536dbc[_0x4d3cfb(0x9e)],'oCuRz':function(_0x24d21d,_0x4fc2b3,_0x2d5455){const _0x352dbb=_0x4d3cfb;return _0x536dbc[_0x352dbb(0xab)](_0x24d21d,_0x4fc2b3,_0x2d5455);},'bbdHx':function(_0x23f399,_0x386b39,_0x3dcf7e){const _0x406852=_0x4d3cfb;return _0x536dbc[_0x406852(0xab)](_0x23f399,_0x386b39,_0x3dcf7e);},'CQCSz':function(_0x24c24d,_0x4eb251){return _0x536dbc['oiHEm'](_0x24c24d,_0x4eb251);},'VyqGH':function(_0x4097db,_0x5d4083,_0x4f2701){const _0x1ce31d=_0x4d3cfb;return _0x536dbc[_0x1ce31d(0xa9)](_0x4097db,_0x5d4083,_0x4f2701);},'qLnjv':function(_0x20a33f,_0x50f0d8,_0x1c1cb2){const _0x4ae025=_0x4d3cfb;return _0x536dbc[_0x4ae025(0xab)](_0x20a33f,_0x50f0d8,_0x1c1cb2);}};if(helper[_0x4d3cfb(0xc5)]()){const _0x16344a=_0x536dbc[_0x4d3cfb(0xe7)][_0x4d3cfb(0xd5)]('|');let _0x471d1b=0x0;while(!![]){switch(_0x16344a[_0x471d1b++]){case'0':logger[_0x4d3cfb(0xa7)](_0x536dbc[_0x4d3cfb(0xe9)]);continue;case'1':this['setServer']();continue;case'2':this[_0x4d3cfb(0xf8)]();continue;case'3':if(helper[_0x4d3cfb(0xb4)](_0x37360a[_0x4d3cfb(0x89)][_0x4d3cfb(0x93)]))this[_0x4d3cfb(0xd2)]=helper[_0x4d3cfb(0xb3)](_0x37360a['proxySettings'][_0x4d3cfb(0x93)]);else _0x37360a['proxySettings'][_0x4d3cfb(0x93)]&&(this[_0x4d3cfb(0xc6)]=_0x37360a[_0x4d3cfb(0x89)][_0x4d3cfb(0x93)],logger[_0x4d3cfb(0xa7)](_0x4d3cfb(0xe3)+this[_0x4d3cfb(0xc6)]));continue;case'4':_0x536dbc[_0x4d3cfb(0xee)](isAccessibilityAutomationSession)&&_0x536dbc[_0x4d3cfb(0x94)](setAccessibilityCapabilities,_0x37360a);continue;case'5':globals['getGlobal'](_0x536dbc[_0x4d3cfb(0xf7)])&&(!_0x536dbc[_0x4d3cfb(0x88)](setExtension,this,_0x37360a)&&globals[_0x4d3cfb(0xd0)](_0x536dbc[_0x4d3cfb(0xf7)],![]));continue;}break;}}const _0x497ace=super[_0x4d3cfb(0xb9)]();return _0x497ace[_0x4d3cfb(0xca)]['then'](_0x567edc=>{const _0x30435e=_0x4d3cfb;try{const _0x2a0688=_0x567edc[_0x30435e(0xec)][_0x30435e(0xe4)](_0x2929d7['uhsDa']);_0x2a0688?(logger[_0x30435e(0xa7)](_0x30435e(0xa5)+_0x2a0688),hubAllocator[_0x30435e(0xdc)](_0x2a0688),helper[_0x30435e(0xfb)](_0x2a0688)):logger['debug'](_0x2929d7[_0x30435e(0xa3)]);}catch(_0x1078d7){logger[_0x30435e(0xa7)](_0x30435e(0x99)+_0x1078d7);}}),_0x497ace[_0x4d3cfb(0xc1)]=0x0,_0x497ace[_0x4d3cfb(0xe2)]&&_0x497ace[_0x4d3cfb(0xe2)](_0x4b2451=>{const _0x40d1c8=_0x4d3cfb,_0x31d18d={'bQAqs':function(_0x318971,_0x841c5e,_0x107644){return _0x2929d7['oCuRz'](_0x318971,_0x841c5e,_0x107644);}};_0x2929d7['bbdHx'](overrideQuit,_0x4b2451,_0x497ace),_0x2929d7['CQCSz'](overrideTakeScreenshot,_0x4b2451),helper[_0x40d1c8(0xbb)](_0x4b2451,_0x37360a),_0x2929d7[_0x40d1c8(0xc2)](overrideExecute,_0x4b2451,_0x37360a),_0x4b2451[_0x40d1c8(0xc4)]=async()=>{const _0x396cea=_0x40d1c8;return await _0x31d18d[_0x396cea(0xbc)](getAccessibilityResultsSummary,_0x4b2451,global);},_0x4b2451[_0x40d1c8(0xb2)]=async()=>{const _0x164e6f=_0x40d1c8;return await _0x31d18d[_0x164e6f(0xbc)](getAccessibilityResults,_0x4b2451,global);};}),_0x497ace['getAccessibilityResultsSummary']=async()=>{const _0x348e96=_0x4d3cfb;return await _0x2929d7[_0x348e96(0x83)](getAccessibilityResultsSummary,_0x497ace,global);},_0x497ace[_0x4d3cfb(0xb2)]=async()=>{return await _0x536dbc['RVzHb'](getAccessibilityResults,_0x497ace,global);},_0x536dbc['oiHEm'](overrideTakeScreenshot,_0x497ace),_0x536dbc[_0x4d3cfb(0xbf)](overrideQuit,_0x497ace),helper[_0x4d3cfb(0xbb)](_0x497ace,_0x37360a),_0x536dbc[_0x4d3cfb(0x85)](overrideExecute,_0x497ace,_0x37360a),helper[_0x4d3cfb(0xa6)](global['__driversArray'])&&(global[_0x4d3cfb(0xcd)]=[]),helper[_0x4d3cfb(0xa6)](global[_0x4d3cfb(0x9f)])&&(global['__drivers']=[]),global['__driversArray'][_0x4d3cfb(0xad)](_0x497ace),global[_0x4d3cfb(0x8b)]=_0x497ace,_0x536dbc[_0x4d3cfb(0x8a)](global['__drivers'],undefined)&&global['__drivers'][_0x4d3cfb(0xad)](_0x497ace),_0x41210d&&helper['isUndefined'](_0x41210d['global'][_0x4d3cfb(0xcd)])&&(_0x41210d['global'][_0x4d3cfb(0xcd)]=[]),_0x41210d&&_0x536dbc[_0x4d3cfb(0xaf)](_0x41210d[_0x4d3cfb(0xdb)][_0x4d3cfb(0x9f)],undefined)&&(_0x41210d['global'][_0x4d3cfb(0x9f)][_0x4d3cfb(0xad)](_0x497ace),_0x41210d[_0x4d3cfb(0xdb)][_0x4d3cfb(0xcd)]['push'](_0x497ace)),_0x497ace;}}return _0x54ebf7['originalBuilder']=_0x54ebf7[_0x26b3ee(0xa0)],_0x54ebf7[_0x26b3ee(0xa0)]=_0x11285f,_0x38bc8a[_0x26b3ee(0x91)]=_0x3eb4f6,_0x54ebf7;};module[a29_0x433a75(0x9c)][a29_0x433a75(0x9d)]=modify;
1
+ function a29_0x5d61(_0x755f67,_0x2c7c8e){const _0x3e0bf1=a29_0x3e0b();return a29_0x5d61=function(_0x5d61be,_0x4878fa){_0x5d61be=_0x5d61be-0x1c5;let _0x394927=_0x3e0bf1[_0x5d61be];return _0x394927;},a29_0x5d61(_0x755f67,_0x2c7c8e);}const a29_0x12d926=a29_0x5d61;function a29_0x3e0b(){const _0x2e6e59=['proxyUrl','imTsR','error','rpZmh','optimalHubUrl','DRPHb','DPsFL','object','__driversArray','safariOptions_','getAccessibilityResults','moz:firefoxOptions','Hub\x20url\x20set\x20to\x20','keys','__driver','storeOptimalHubUrl','__setBrowserOptions','311624rzZBHW','PZOqv','mergeDeep','809794FadqHG','../accessibility-automation/helper','firefoxOptions_','GMBeq','KurZF','__drivers','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','getGlobal','HttpClient','CAPABILITY_KEY','Ojcwo','1|0|2|4|5|3','chromeOptions','isAccessibilityPlatform','getRequestOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','setLogLevel','browserstackAgentObservability','requireHttpClient','370252cpZfuH','rUsvp','vAagb','qBkrF','quitCount_','capabilities_','Sfuoo','/session','capability','ZhSXN','originalBuilder','New\x20hub\x20url\x20set\x20to\x20','KKzUT','session_','requireSeleniumWebdriver','zhFgi','nvlFD','options_','getHttpAgent','info','UGtsY','pjXaM','1SSmfoL','split','edgeOptions_','get','goog:chromeOptions','send','../../../helpers/patchHelpers','proxySettings','../../../helpers/globals','fhSTg','chromeOptions_','overrideGet','KdWiN','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','../../../bin/utils/constants','7uftGvx','push','getHubUrl','YDuoN','ZYXzJ','forEach','hMJFW','Setting\x20Browserstack\x20capabilities','set','Builder','FSBYh','ms:edgeOptions','setCapabilities','2703321cmHXqR','se:ieOptions','updateHubUrl','isPacProxy','setServer','jPind','1613670VzjkBV','newHubUrl','global','then','rJBOP','tdCAG','pLGax','XpSXZ','isBrowserstackInfra','./helpers/patchHelper','isUndefined','debug','proxy_','20spEBKA','vVCuS','ieOptions_','logLevel','../../../helpers/helper','ieOptions','build','safari.options','Proxy\x20set\x20to\x20','YXXfe','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','yddjT','QYjVA','agent_','11294250MeDvTv','10485TqMSLb','url_','getAccessibilityResultsSummary','../../../helpers/accessibility-automation/helper','exports'];a29_0x3e0b=function(){return _0x2e6e59;};return a29_0x3e0b();}(function(_0x3c4871,_0x27ef76){const _0x6fc6c8=a29_0x5d61,_0x58096d=_0x3c4871();while(!![]){try{const _0x212ae6=-parseInt(_0x6fc6c8(0x222))/0x1*(-parseInt(_0x6fc6c8(0x1f9))/0x2)+parseInt(_0x6fc6c8(0x1e0))/0x3+-parseInt(_0x6fc6c8(0x20c))/0x4*(-parseInt(_0x6fc6c8(0x1d1))/0x5)+parseInt(_0x6fc6c8(0x244))/0x6+parseInt(_0x6fc6c8(0x231))/0x7*(parseInt(_0x6fc6c8(0x1f6))/0x8)+parseInt(_0x6fc6c8(0x23e))/0x9+-parseInt(_0x6fc6c8(0x1df))/0xa;if(_0x212ae6===_0x27ef76)break;else _0x58096d['push'](_0x58096d['shift']());}catch(_0x517673){_0x58096d['push'](_0x58096d['shift']());}}}(a29_0x3e0b,0x3edce));const logger=require('../../../helpers/logger')['winstonLogger'],helper=require(a29_0x12d926(0x1d5)),constants=require(a29_0x12d926(0x230)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x12d926(0x228)),{setAccessibilityCapabilities,setExtension}=require(a29_0x12d926(0x1fa)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x12d926(0x1e3)),globals=require(a29_0x12d926(0x22a)),{overrideExecute}=require(a29_0x12d926(0x1cd)),modify=(_0x3a7723,_0x3032d3=null,_0x5531f9=![])=>{const _0x29943b=a29_0x12d926,_0x4054a4={'QYjVA':function(_0x13f59d,_0x4b1786){return _0x13f59d!==_0x4b1786;},'IafHP':_0x29943b(0x213),'imTsR':function(_0x5b0bd2,_0x1f884a){return _0x5b0bd2+_0x1f884a;},'nvlFD':'https://','Sfuoo':'/wd/hub','vAagb':_0x29943b(0x226),'DihjV':_0x29943b(0x205),'JEkvB':_0x29943b(0x23c),'ZhSXN':'edgeOptions','KdWiN':_0x29943b(0x1f0),'pjXaM':'firefoxOptions','fhSTg':_0x29943b(0x1d8),'UGtsY':_0x29943b(0x23f),'XpSXZ':_0x29943b(0x1d6),'vVCuS':function(_0xbbb3c7,_0x5691a1){return _0xbbb3c7===_0x5691a1;},'YDuoN':_0x29943b(0x1ec),'ZYXzJ':_0x29943b(0x238),'tdCAG':_0x29943b(0x1e9),'pLGax':_0x29943b(0x208),'qBkrF':function(_0x26f05c,_0x4e2ca5,_0x440c61){return _0x26f05c(_0x4e2ca5,_0x440c61);},'yddjT':function(_0x4e9fe6,_0x4a1c10,_0x559561){return _0x4e9fe6(_0x4a1c10,_0x559561);},'rirjE':function(_0x55d76a,_0x487149){return _0x55d76a(_0x487149);},'FSBYh':function(_0x4eb649,_0x3a40e6,_0x1957ff){return _0x4eb649(_0x3a40e6,_0x1957ff);},'rUsvp':_0x29943b(0x204),'zhFgi':function(_0x1bd44e){return _0x1bd44e();},'GMBeq':function(_0x38f14f,_0x2a1102){return _0x38f14f(_0x2a1102);},'rJBOP':_0x29943b(0x22f),'KurZF':_0x29943b(0x206),'YXXfe':function(_0x579789,_0x182571){return _0x579789(_0x182571);},'Ojcwo':function(_0x51aca6,_0x257dc6){return _0x51aca6(_0x257dc6);},'QvMkP':function(_0x4e7edf,_0x321ae6,_0x407d87){return _0x4e7edf(_0x321ae6,_0x407d87);},'hMJFW':_0x29943b(0x1ff),'PZOqv':'Modifying\x20webdriver\x20builder'},_0x5d17e5=helper[_0x29943b(0x20b)]();let _0x2a2415;try{_0x2a2415=helper[_0x29943b(0x21a)](),_0x2a2415[_0x29943b(0x216)]&&(_0x2a2415[_0x29943b(0x23a)]=_0x2a2415[_0x29943b(0x216)]);}catch(_0x14f4a6){return;}if(helper[_0x29943b(0x1cc)]()){const _0x466c57={};_0x466c57[_0x29943b(0x1d4)]=_0x3a7723['browserStackLogLevel'],helper[_0x29943b(0x209)](_0x466c57,new Map(),new Map()),logger[_0x29943b(0x21f)](_0x4054a4[_0x29943b(0x237)]),logger[_0x29943b(0x1cf)](_0x4054a4[_0x29943b(0x1f7)]);}class _0x31920f extends _0x5d17e5[_0x29943b(0x201)]{['send'](_0x154767){const _0x25c040=_0x29943b;if(_0x4054a4[_0x25c040(0x1dd)](_0x154767['path'],_0x4054a4['IafHP'])&&_0x4054a4[_0x25c040(0x1dd)](global['newHubUrl'],''))try{global[_0x25c040(0x1c5)]=_0x4054a4[_0x25c040(0x1e6)](_0x4054a4['imTsR'](_0x4054a4[_0x25c040(0x21c)],global['newHubUrl']),_0x4054a4[_0x25c040(0x212)]),this[_0x25c040(0x21d)]=hubAllocator[_0x25c040(0x207)](global[_0x25c040(0x1c5)]),logger['debug'](_0x25c040(0x217)+global[_0x25c040(0x1c5)]),global[_0x25c040(0x1c5)]='';}catch(_0x48b82f){logger[_0x25c040(0x1e7)](_0x48b82f);}return super[_0x25c040(0x227)](_0x154767);}}class _0x16b892 extends _0x2a2415[_0x29943b(0x23a)]{[_0x29943b(0x242)](){const _0x1ac29c=_0x29943b;return this[_0x1ac29c(0x1e1)]=helper[_0x1ac29c(0x233)](_0x3a7723),logger[_0x1ac29c(0x1cf)](_0x1ac29c(0x1f1)+this[_0x1ac29c(0x1e1)]),this;}['__setBrowserOptions'](_0x3cef05){const _0x49da2e=_0x29943b;let _0x9af1fc={};for(const _0x407a6c in _0x3cef05){switch(_0x407a6c){case _0x4054a4[_0x49da2e(0x20e)]:case _0x4054a4['DihjV']:this[_0x49da2e(0x22c)]&&(_0x9af1fc=this['chromeOptions_'][_0x49da2e(0x225)](this[_0x49da2e(0x22c)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x49da2e(0x239)](this['chromeOptions_'][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4['JEkvB']:case _0x4054a4[_0x49da2e(0x215)]:this[_0x49da2e(0x224)]&&(_0x9af1fc=this[_0x49da2e(0x224)][_0x49da2e(0x225)](this['edgeOptions_'][_0x49da2e(0x202)])||{},this['edgeOptions_'][_0x49da2e(0x239)](this[_0x49da2e(0x224)][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x22e)]:case _0x4054a4[_0x49da2e(0x221)]:this['firefoxOptions_']&&(_0x9af1fc=this[_0x49da2e(0x1fb)][_0x49da2e(0x225)](this[_0x49da2e(0x1fb)][_0x49da2e(0x202)])||{},this['firefoxOptions_'][_0x49da2e(0x239)](this[_0x49da2e(0x1fb)][_0x49da2e(0x202)],helper['mergeDeep'](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x22b)]:this[_0x49da2e(0x1ee)]&&(_0x9af1fc=this[_0x49da2e(0x1ee)][_0x49da2e(0x225)](this[_0x49da2e(0x1ee)][_0x49da2e(0x202)])||{},this[_0x49da2e(0x1ee)]['set'](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;case _0x4054a4[_0x49da2e(0x220)]:case _0x4054a4[_0x49da2e(0x1cb)]:this[_0x49da2e(0x1d3)]&&(_0x9af1fc=this[_0x49da2e(0x1d3)][_0x49da2e(0x225)](this[_0x49da2e(0x1d3)][_0x49da2e(0x202)])||{},this[_0x49da2e(0x1d3)]['set'](this['ieOptions_'][_0x49da2e(0x202)],helper[_0x49da2e(0x1f8)](_0x9af1fc,_0x3cef05[_0x407a6c])));break;}}}[_0x29943b(0x23d)](){const _0x1e4384=_0x29943b,_0x598051={'jPind':function(_0xf5c9b7,_0x2f74e1){const _0x218d05=a29_0x5d61;return _0x4054a4[_0x218d05(0x1d2)](_0xf5c9b7,_0x2f74e1);},'rpZmh':_0x4054a4[_0x1e4384(0x234)]};return logger[_0x1e4384(0x1cf)](_0x4054a4[_0x1e4384(0x235)]),this[_0x1e4384(0x1f5)](_0x3a7723[_0x1e4384(0x214)]),Object[_0x1e4384(0x1f2)](_0x3a7723[_0x1e4384(0x214)])[_0x1e4384(0x236)](_0x51d13a=>{const _0xd13c80=_0x1e4384,_0x115a99=this[_0xd13c80(0x211)][_0xd13c80(0x225)](_0x51d13a);_0x598051[_0xd13c80(0x243)](typeof _0x115a99,_0x598051[_0xd13c80(0x1e8)])?this[_0xd13c80(0x211)][_0xd13c80(0x239)](_0x51d13a,helper['mergeDeep'](_0x115a99,_0x3a7723[_0xd13c80(0x214)][_0x51d13a])):this['capabilities_'][_0xd13c80(0x239)](_0x51d13a,_0x3a7723[_0xd13c80(0x214)][_0x51d13a]);}),this;}[_0x29943b(0x1d7)](){const _0x41436e=_0x29943b,_0x580158={'DRPHb':function(_0x261188,_0x4644f9,_0x443057){const _0x509006=a29_0x5d61;return _0x4054a4[_0x509006(0x20f)](_0x261188,_0x4644f9,_0x443057);},'KKzUT':function(_0x335a60,_0x52c79b,_0x1b37c9){const _0x24964f=a29_0x5d61;return _0x4054a4[_0x24964f(0x20f)](_0x335a60,_0x52c79b,_0x1b37c9);}};if(helper['isBrowserstackInfra']()){const _0x51db2e=_0x4054a4[_0x41436e(0x20d)][_0x41436e(0x223)]('|');let _0x4112a6=0x0;while(!![]){switch(_0x51db2e[_0x4112a6++]){case'0':this[_0x41436e(0x242)]();continue;case'1':_0x4054a4[_0x41436e(0x21b)](isAccessibilityAutomationSession)&&_0x4054a4[_0x41436e(0x1fc)](setAccessibilityCapabilities,_0x3a7723);continue;case'2':this[_0x41436e(0x23d)]();continue;case'3':logger[_0x41436e(0x1cf)](_0x4054a4[_0x41436e(0x1c8)]);continue;case'4':if(helper[_0x41436e(0x241)](_0x3a7723[_0x41436e(0x229)][_0x41436e(0x1e5)]))this[_0x41436e(0x1de)]=helper[_0x41436e(0x21e)](_0x3a7723[_0x41436e(0x229)]['proxyUrl']);else _0x3a7723[_0x41436e(0x229)]['proxyUrl']&&(this['proxy_']=_0x3a7723['proxySettings'][_0x41436e(0x1e5)],logger[_0x41436e(0x1cf)](_0x41436e(0x1d9)+this[_0x41436e(0x1d0)]));continue;case'5':globals[_0x41436e(0x200)](_0x4054a4[_0x41436e(0x1fd)])&&(!_0x4054a4[_0x41436e(0x20f)](setExtension,this,_0x3a7723)&&globals['setGlobal'](_0x4054a4['KurZF'],![]));continue;}break;}}const _0x18c8ea=super[_0x41436e(0x1d7)]();return _0x18c8ea[_0x41436e(0x219)][_0x41436e(0x1c7)](_0x499f25=>{const _0x8e43d2=_0x41436e;try{const _0x23f348=_0x499f25['caps_'][_0x8e43d2(0x225)](_0x4054a4[_0x8e43d2(0x1c9)]);_0x23f348?(logger[_0x8e43d2(0x1cf)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x23f348),hubAllocator[_0x8e43d2(0x240)](_0x23f348),helper[_0x8e43d2(0x1f4)](_0x23f348)):logger[_0x8e43d2(0x1cf)](_0x4054a4[_0x8e43d2(0x1ca)]);}catch(_0x2e4b8c){logger[_0x8e43d2(0x1cf)](_0x8e43d2(0x1db)+_0x2e4b8c);}}),_0x18c8ea[_0x41436e(0x210)]=0x0,_0x18c8ea[_0x41436e(0x1c7)]&&_0x18c8ea[_0x41436e(0x1c7)](_0x24dbf7=>{const _0xf5f37b=_0x41436e,_0x22faf1={'DPsFL':function(_0x1d432d,_0x1e4b6d,_0x10bbf6){return _0x4054a4['qBkrF'](_0x1d432d,_0x1e4b6d,_0x10bbf6);}};_0x4054a4[_0xf5f37b(0x1dc)](overrideQuit,_0x24dbf7,_0x18c8ea),_0x4054a4['rirjE'](overrideTakeScreenshot,_0x24dbf7),helper[_0xf5f37b(0x22d)](_0x24dbf7,_0x3a7723),_0x4054a4[_0xf5f37b(0x23b)](overrideExecute,_0x24dbf7,_0x3a7723),_0x24dbf7['getAccessibilityResultsSummary']=async()=>{const _0x27bd78=_0xf5f37b;return await _0x22faf1[_0x27bd78(0x1eb)](getAccessibilityResultsSummary,_0x24dbf7,global);},_0x24dbf7['getAccessibilityResults']=async()=>{const _0x26e6dd=_0xf5f37b;return await _0x22faf1[_0x26e6dd(0x1eb)](getAccessibilityResults,_0x24dbf7,global);};}),_0x18c8ea[_0x41436e(0x1e2)]=async()=>{const _0x23b62a=_0x41436e;return await _0x580158[_0x23b62a(0x1ea)](getAccessibilityResultsSummary,_0x18c8ea,global);},_0x18c8ea[_0x41436e(0x1ef)]=async()=>{const _0x5f0867=_0x41436e;return await _0x580158[_0x5f0867(0x218)](getAccessibilityResults,_0x18c8ea,global);},_0x4054a4[_0x41436e(0x1da)](overrideTakeScreenshot,_0x18c8ea),_0x4054a4[_0x41436e(0x203)](overrideQuit,_0x18c8ea),helper[_0x41436e(0x22d)](_0x18c8ea,_0x3a7723),_0x4054a4['QvMkP'](overrideExecute,_0x18c8ea,_0x3a7723),helper[_0x41436e(0x1ce)](global[_0x41436e(0x1ed)])&&(global[_0x41436e(0x1ed)]=[]),helper[_0x41436e(0x1ce)](global[_0x41436e(0x1fe)])&&(global[_0x41436e(0x1fe)]=[]),global['__driversArray']['push'](_0x18c8ea),global[_0x41436e(0x1f3)]=_0x18c8ea,_0x4054a4[_0x41436e(0x1dd)](global['__drivers'],undefined)&&global['__drivers']['push'](_0x18c8ea),_0x3032d3&&helper[_0x41436e(0x1ce)](_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)])&&(_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)]=[]),_0x3032d3&&_0x4054a4['QYjVA'](_0x3032d3[_0x41436e(0x1c6)]['__drivers'],undefined)&&(_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1fe)][_0x41436e(0x232)](_0x18c8ea),_0x3032d3[_0x41436e(0x1c6)][_0x41436e(0x1ed)]['push'](_0x18c8ea)),_0x18c8ea;}}return _0x2a2415['originalBuilder']=_0x2a2415[_0x29943b(0x23a)],_0x2a2415['Builder']=_0x16b892,_0x5d17e5[_0x29943b(0x201)]=_0x31920f,_0x2a2415;};module[a29_0x12d926(0x1e4)][a29_0x12d926(0x20a)]=modify;
@@ -1 +1 @@
1
- const a30_0x44dd79=a30_0x1877;function a30_0x1877(_0x5cfc41,_0x402c0a){const _0x279098=a30_0x2790();return a30_0x1877=function(_0x18771a,_0x4e89a4){_0x18771a=_0x18771a-0xc0;let _0x5c8893=_0x279098[_0x18771a];return _0x5c8893;},a30_0x1877(_0x5cfc41,_0x402c0a);}function a30_0x2790(){const _0x222c4d=['287658iaLYTY','../../../helpers/test-observability/utils','30zSBEGL','restore','908972dSlbve','25421RBUWwV','1203769ioUyjK','530168eWAgvV','1342359wBeqym','mochaHooks','../../../bin/utils/constants','10704hYLLNm','5GuagmB','10172180hQzBOz','1yycDHc','63mWmgMt'];a30_0x2790=function(){return _0x222c4d;};return a30_0x2790();}(function(_0x2210e7,_0x3b8fca){const _0x265148=a30_0x1877,_0x1d4f14=_0x2210e7();while(!![]){try{const _0x1ac1c9=-parseInt(_0x265148(0xcf))/0x1*(-parseInt(_0x265148(0xc1))/0x2)+parseInt(_0x265148(0xc9))/0x3+-parseInt(_0x265148(0xc5))/0x4*(-parseInt(_0x265148(0xcd))/0x5)+-parseInt(_0x265148(0xc3))/0x6*(parseInt(_0x265148(0xc7))/0x7)+-parseInt(_0x265148(0xc8))/0x8*(parseInt(_0x265148(0xc0))/0x9)+-parseInt(_0x265148(0xce))/0xa+parseInt(_0x265148(0xc6))/0xb*(parseInt(_0x265148(0xcc))/0xc);if(_0x1ac1c9===_0x3b8fca)break;else _0x1d4f14['push'](_0x1d4f14['shift']());}catch(_0x4e7b67){_0x1d4f14['push'](_0x1d4f14['shift']());}}}(a30_0x2790,0x8396b));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x44dd79(0xcb)),{addRequestSpy}=require(a30_0x44dd79(0xc2));exports[a30_0x44dd79(0xca)]={'beforeAll'(){const _0x2f6d40={'uOVpX':function(_0x3b1e4e){return _0x3b1e4e();}},_0x38c2da='browserstack internal helper hook';_0x2f6d40['uOVpX'](addRequestSpy);},'afterAll'(){const _0xf6bdef=a30_0x44dd79,_0x3017f2='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0xf6bdef(0xc4)]();}};
1
+ const a30_0x4daa23=a30_0x50f9;(function(_0x5a9a4a,_0x4d5d38){const _0x6dc131=a30_0x50f9,_0x22a4a3=_0x5a9a4a();while(!![]){try{const _0x1fcc55=parseInt(_0x6dc131(0x104))/0x1+-parseInt(_0x6dc131(0x10c))/0x2+parseInt(_0x6dc131(0x102))/0x3+parseInt(_0x6dc131(0x108))/0x4*(-parseInt(_0x6dc131(0x10d))/0x5)+parseInt(_0x6dc131(0x107))/0x6*(-parseInt(_0x6dc131(0x100))/0x7)+parseInt(_0x6dc131(0x10a))/0x8*(-parseInt(_0x6dc131(0x10e))/0x9)+parseInt(_0x6dc131(0x105))/0xa;if(_0x1fcc55===_0x4d5d38)break;else _0x22a4a3['push'](_0x22a4a3['shift']());}catch(_0x44e2f4){_0x22a4a3['push'](_0x22a4a3['shift']());}}}(a30_0x530f,0x96b95));function a30_0x50f9(_0x871a53,_0x164129){const _0x530f4a=a30_0x530f();return a30_0x50f9=function(_0x50f925,_0x2f7f82){_0x50f925=_0x50f925-0xff;let _0x23e20f=_0x530f4a[_0x50f925];return _0x23e20f;},a30_0x50f9(_0x871a53,_0x164129);}const requestSpy=require(a30_0x4daa23(0x101)),constants=require(a30_0x4daa23(0x103)),{addRequestSpy}=require(a30_0x4daa23(0x106));exports[a30_0x4daa23(0x109)]={'beforeAll'(){const _0x43d43c=a30_0x4daa23,_0x54a138={'xbouD':function(_0x4cb8f6){return _0x4cb8f6();}},_0x99348='browserstack internal helper hook';_0x54a138[_0x43d43c(0x10b)](addRequestSpy);},'afterAll'(){const _0x3f11ef=a30_0x4daa23,_0x51b79e='browserstack internal helper hook';this[_0x3f11ef(0xff)](0xea60),requestSpy[_0x3f11ef(0x10f)]();}};function a30_0x530f(){const _0x28f09a=['18474110xQIAKC','../../../helpers/test-observability/utils','1788558NtLjch','284UnrMfB','mochaHooks','40sJYNsh','xbouD','2243262DPceMq','4015aCUgYD','1222137Locoku','restore','timeout','14erqtrF','../../../helpers/request-spy','3391926eMiRJi','../../../bin/utils/constants','93107HVCQvH'];a30_0x530f=function(){return _0x28f09a;};return a30_0x530f();}
@@ -1 +1 @@
1
- function a31_0x482e(){const _0x297c5e=['nkvVT','Jzemm','toJSON','NOgkT','HDdiO','UrKJV','29731845WoKhhl','unknown_grid','../../../../package.json','getBrowserVersion','gAViB','concat','527545kTyLzM','parent','rKsSr','QEkxu','suites','RiNpF','1025020Illcty','getSession','pSXMr','js-','split','Oezrq','getHookDetails','getCapabilities','LXWPx','CbdlQ','uuid','VXEAw','emit','qWOxO','../../../helpers/helper','ZPEwY','reduce','ZJLeK','qWLvU','hook:','5958bLdWWD','platformVersion','tests','hook','forEach','type','../../../helpers/testhub/utils','HqdDx','brdtN','getHookSkippedTests','_afterAll','388lPBMMY','10HxBGmq','hookAnalyticsId','_beforeAll','35RaCMCn','guvEw','sendPlatformDetails','../../../helpers/test-observability/constants','16VumtLe','klNNb','string','__cloud_provider___','CFmeK','map_','filter','../../utils/logPatcher','Tijbv','GEtMK','bs:addPlatformDetails:','hEmvk','anYbN','getBrowserName','failed','indexOf','jpGwJ','slice','getHooksForTest','oMuEc','XCjQH','_beforeEach','markedStatus','9036531ZwscYT','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','5594712bWSiRY','push','../../../helpers/test-observability/utils','mapTestHooks','fromEntries','toISOString','generic','getPlatform','state','230168Macrux','chhwT','get'];a31_0x482e=function(){return _0x297c5e;};return a31_0x482e();}const a31_0x39c3f0=a31_0x1627;(function(_0x4cc4c1,_0x3a91c8){const _0x1e871d=a31_0x1627,_0x2a3453=_0x4cc4c1();while(!![]){try{const _0x5a4d69=-parseInt(_0x1e871d(0x72))/0x1+parseInt(_0x1e871d(0x97))/0x2*(-parseInt(_0x1e871d(0x8c))/0x3)+-parseInt(_0x1e871d(0x9f))/0x4*(-parseInt(_0x1e871d(0x78))/0x5)+-parseInt(_0x1e871d(0xb8))/0x6+parseInt(_0x1e871d(0x9b))/0x7*(-parseInt(_0x1e871d(0xc1))/0x8)+parseInt(_0x1e871d(0xb6))/0x9*(-parseInt(_0x1e871d(0x98))/0xa)+parseInt(_0x1e871d(0xca))/0xb;if(_0x5a4d69===_0x3a91c8)break;else _0x2a3453['push'](_0x2a3453['shift']());}catch(_0x310393){_0x2a3453['push'](_0x2a3453['shift']());}}}(a31_0x482e,0x81534));const {v4:uuidv4}=require(a31_0x39c3f0(0x82)),{name,version}=require(a31_0x39c3f0(0x6e)),logPatcher=require(a31_0x39c3f0(0xa6)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x39c3f0(0xba)),{consoleHolder}=require(a31_0x39c3f0(0x9e)),{getPlatformVersion}=require(a31_0x39c3f0(0x86)),{shouldProcessEventForTesthub}=require(a31_0x39c3f0(0x92)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0x39c3f0(0xba));function a31_0x1627(_0x59e74d,_0x20df4a){const _0x482ef7=a31_0x482e();return a31_0x1627=function(_0x1627db,_0x2bf113){_0x1627db=_0x1627db-0x6d;let _0x4b592a=_0x482ef7[_0x1627db];return _0x4b592a;},a31_0x1627(_0x59e74d,_0x20df4a);}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x418eb9=a31_0x39c3f0,_0x297012={'CFmeK':_0x418eb9(0xbe),'hEmvk':function(_0x37e373){return _0x37e373();}};return{'ci':_0x297012[_0x418eb9(0xa3)],'key':_0x297012[_0x418eb9(0xaa)](uuidv4),'version':version,'collector':_0x418eb9(0x7b)+name};},exports[a31_0x39c3f0(0x7e)]=_0x19f8d6=>{const _0x376c84=a31_0x39c3f0,_0x277ad4={};_0x277ad4[_0x376c84(0x8a)]=function(_0x13cf34,_0x5df6a4){return _0x13cf34!==_0x5df6a4;},_0x277ad4[_0x376c84(0xc2)]=_0x376c84(0xa1),_0x277ad4['qsJEg']=function(_0x357775,_0x1f3ab8){return _0x357775!==_0x1f3ab8;},_0x277ad4['UrKJV']=_0x376c84(0x8b),_0x277ad4[_0x376c84(0x70)]=function(_0x151788,_0x299099){return _0x151788!==_0x299099;},_0x277ad4[_0x376c84(0xa8)]=_0x376c84(0x8f);const _0x2c5139=_0x277ad4;if(!_0x19f8d6||_0x2c5139[_0x376c84(0x8a)](typeof _0x19f8d6,_0x2c5139[_0x376c84(0xc2)]))return[null,null];if(_0x2c5139['qsJEg'](_0x19f8d6['indexOf'](_0x2c5139[_0x376c84(0xc9)]),-0x1)){const _0x12c510=_0x19f8d6[_0x376c84(0x7c)](_0x2c5139['UrKJV']);return[_0x12c510[0x0][_0x376c84(0xb0)](0x0,-0x1)[_0x376c84(0x7c)]('\x22')[0x1],_0x12c510[0x1]['substring'](0x1)];}else{if(_0x2c5139['gAViB'](_0x19f8d6[_0x376c84(0xae)](_0x2c5139['GEtMK']),-0x1)){const _0x8e1c22=_0x19f8d6['split'](_0x2c5139['GEtMK']);return[_0x8e1c22[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x19f8d6];}}return[null,null];},exports[a31_0x39c3f0(0xb1)]=_0xa2e517=>{const _0x3abdae=a31_0x39c3f0,_0x40c05f={'brdtN':function(_0x24fae8,_0x2d6a8d){return _0x24fae8(_0x2d6a8d);},'XCjQH':'_beforeAll','Tijbv':'_afterAll','anYbN':_0x3abdae(0xb4),'ZJLeK':'_afterEach'};if(!_0xa2e517||!_0xa2e517[_0x3abdae(0x73)])return[];const _0x1cb95b=[];return[_0x40c05f[_0x3abdae(0xb3)],_0x40c05f[_0x3abdae(0xa7)],_0x40c05f[_0x3abdae(0xab)],_0x40c05f[_0x3abdae(0x89)]][_0x3abdae(0x90)](_0x2309b4=>{const _0x739204=_0x3abdae,_0x3136af={'klNNb':function(_0x26f4c6,_0x122ed7){const _0x3263a5=a31_0x1627;return _0x40c05f[_0x3263a5(0x94)](_0x26f4c6,_0x122ed7);}},_0x132e5e=_0xa2e517[_0x739204(0x73)][_0x2309b4]||[];_0x132e5e[_0x739204(0x90)](_0x557428=>{const _0x5499a6=_0x739204;_0x557428[_0x5499a6(0x99)]&&!_0x3136af[_0x5499a6(0xa0)](isInternalHook,_0x557428['fn'])&&_0x1cb95b[_0x5499a6(0xb9)](_0x557428[_0x5499a6(0x99)]);});}),[..._0x1cb95b,...exports[_0x3abdae(0xb1)](_0xa2e517[_0x3abdae(0x73)])];},exports[a31_0x39c3f0(0xbb)]=_0x14079b=>{const _0x32c69e=a31_0x39c3f0,_0x4f980a={'LXWPx':function(_0x16f315){return _0x16f315();},'rfoLc':function(_0x43571e,_0x8e7c9e){return _0x43571e===_0x8e7c9e;},'jpGwJ':'_afterEach','Jzemm':function(_0x4085b3){return _0x4085b3();},'qWOxO':_0x32c69e(0x9a),'CbdlQ':_0x32c69e(0x96),'pSXMr':_0x32c69e(0xb4)};if(!_0x14079b||!_0x14079b['parent'])return;[_0x4f980a[_0x32c69e(0x85)],_0x4f980a[_0x32c69e(0x81)],_0x4f980a[_0x32c69e(0x7a)],_0x4f980a[_0x32c69e(0xaf)]]['forEach'](_0x34398d=>{const _0x308e84=_0x32c69e,_0x5c166d={'HqdDx':function(_0x4cad6d){const _0xc73275=a31_0x1627;return _0x4f980a[_0xc73275(0x80)](_0x4cad6d);},'QEkxu':function(_0x3c7397,_0x299115){return _0x4f980a['rfoLc'](_0x3c7397,_0x299115);},'RiNpF':_0x4f980a['jpGwJ'],'nkvVT':function(_0x1fd995){const _0x394ea2=a31_0x1627;return _0x4f980a[_0x394ea2(0xc5)](_0x1fd995);}},_0x19ee4d=_0x14079b[_0x308e84(0x73)][_0x34398d]||[];_0x19ee4d[_0x308e84(0x90)](_0x58679f=>{const _0x182826=_0x308e84;if(!_0x58679f[_0x182826(0x99)])_0x58679f[_0x182826(0x99)]=_0x5c166d[_0x182826(0x93)](uuidv4);else _0x58679f[_0x182826(0xb5)]&&_0x5c166d[_0x182826(0x75)](_0x34398d,_0x5c166d[_0x182826(0x77)])&&(_0x58679f[_0x182826(0x99)]=_0x5c166d[_0x182826(0xc4)](uuidv4),delete _0x58679f['markedStatus']);});}),exports['mapTestHooks'](_0x14079b['parent']);},exports[a31_0x39c3f0(0x9d)]=async(_0x3abcbc,_0x209ebd)=>{const _0x1c1962=a31_0x39c3f0,_0xe2f886={'RYoNV':function(_0xae17f0){return _0xae17f0();},'oMuEc':function(_0x93a326,_0x442b60){return _0x93a326(_0x442b60);},'NOgkT':_0x1c1962(0x8d),'ZPEwY':function(_0x4205fa,_0x5170a1){return _0x4205fa===_0x5170a1;},'gZgfe':'browserstack','ZRSeM':_0x1c1962(0x6d),'guvEw':'TEST_PLATFORM'};try{if(!_0xe2f886['RYoNV'](shouldProcessEventForTesthub))return;const _0xad611f=await _0x3abcbc[_0x1c1962(0x7f)](),_0x305d2c=await _0x3abcbc[_0x1c1962(0x79)](),_0x4cc9db={},_0x546c14=Object[_0x1c1962(0xbc)](_0x305d2c[_0x1c1962(0x7f)]()[_0x1c1962(0xa4)]),_0x1d9879={'product':_0xe2f886[_0x1c1962(0xb2)](getObservabilityLinkedProductName,_0x546c14),'capabilities':_0x546c14,'platform':_0xad611f[_0x1c1962(0xbf)](),'platform_version':_0xad611f[_0x1c1962(0xc3)](_0xe2f886[_0x1c1962(0xc7)])?_0xad611f[_0x1c1962(0xc3)](_0xe2f886[_0x1c1962(0xc7)]):_0xe2f886[_0x1c1962(0xb2)](getPlatformVersion,_0xe2f886[_0x1c1962(0x87)](global['__cloud_provider___'],_0xe2f886['gZgfe'])),'browser':_0xad611f[_0x1c1962(0xac)](),'browser_version':_0xad611f[_0x1c1962(0x6f)](),'session_id':_0x305d2c[_0x1c1962(0xc6)]()};global['__cloud_provider___']?_0x4cc9db[global[_0x1c1962(0xa2)]]=_0x1d9879:_0x4cc9db[_0xe2f886['ZRSeM']]=_0x1d9879,process[_0x1c1962(0x84)](_0x1c1962(0xa9)+process['pid'],{'timestamp':new Date()[_0x1c1962(0xbd)](),'level':null,'message':null,'kind':_0xe2f886[_0x1c1962(0x9c)],'http_response':_0x4cc9db,'uuid':_0x209ebd});}catch(_0x365e7e){_0xe2f886[_0x1c1962(0xb2)](debug,_0x1c1962(0xb7)+_0x365e7e);}},exports[a31_0x39c3f0(0x95)]=_0xb6868e=>{const _0x2dfb7c=a31_0x39c3f0,_0x1e295a={};_0x1e295a[_0x2dfb7c(0xc8)]=function(_0x34828c,_0x12338c){return _0x34828c!==_0x12338c;},_0x1e295a[_0x2dfb7c(0x83)]='hook',_0x1e295a[_0x2dfb7c(0x7d)]='passed',_0x1e295a[_0x2dfb7c(0x74)]=_0x2dfb7c(0xad);const _0x147a07=_0x1e295a,_0xd666b=_0xb6868e[_0x2dfb7c(0x76)][_0x2dfb7c(0x88)]((_0x11ad96,_0x45d048)=>{const _0x16078a=_0x2dfb7c,_0x4590de=exports[_0x16078a(0x95)](_0x45d048);return _0x4590de&&(_0x11ad96=_0x11ad96[_0x16078a(0x71)](_0x4590de)),_0x11ad96;},[]),_0x15b556=_0xb6868e[_0x2dfb7c(0x8e)][_0x2dfb7c(0xa5)](_0x4b8e37=>{const _0x1563be=_0x2dfb7c,_0x335ecd=_0x147a07['HDdiO'](_0x4b8e37[_0x1563be(0x91)],_0x147a07[_0x1563be(0x83)])&&!_0x4b8e37[_0x1563be(0xb5)]&&_0x147a07[_0x1563be(0xc8)](_0x4b8e37['state'],_0x147a07[_0x1563be(0x7d)])&&_0x147a07[_0x1563be(0xc8)](_0x4b8e37[_0x1563be(0xc0)],_0x147a07[_0x1563be(0x74)])&&!_0x4b8e37['pending'];return _0x335ecd;});return _0x15b556['concat'](_0xd666b);};
1
+ const a31_0x2a9a21=a31_0x3726;function a31_0x3726(_0xa5c050,_0x40c4f3){const _0x3908b4=a31_0x3908();return a31_0x3726=function(_0x3726b0,_0x387dd6){_0x3726b0=_0x3726b0-0x16b;let _0x5e26a4=_0x3908b4[_0x3726b0];return _0x5e26a4;},a31_0x3726(_0xa5c050,_0x40c4f3);}function a31_0x3908(){const _0x545a79=['UgttX','fromEntries','pid','indexOf','oIceF','passed','unknown_grid','17416LPyjqt','concat','filter','hookAnalyticsId','divFT','wtlvA','emit','zWRAj','failed','XfxnC','getBrowserVersion','string','_afterEach','1140194RBuFSX','../../../helpers/testhub/utils','kHaMt','KOsjB','jKUiy','getHookSkippedTests','_beforeAll','tFwih','getCapabilities','../../../helpers/test-observability/constants','getPlatform','../../utils/logPatcher','mapTestHooks','get','DLYAy','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','toJSON','substring','HWmAd','rLiFZ','getHooksForTest','getTestEnv','2850462bdOzFr','5287845fxwSfz','1530393NrpFrT','RFLDq','pending','_beforeEach','split','bLdVZ','markedStatus','lodash','IaQze','TsRlm','144382nyDHbY','bs:addPlatformDetails:','type','4rZlOPt','qogKc','tests','browserstack','AnTiE','WgQob','FcutS','suites','hook','30UhukUq','../../../helpers/helper','__cloud_provider___','FXGoe','MEtxR','xQqiW','getHookDetails','parent','state','NVyOM','TEST_PLATFORM','1337LWUbyt','UxDXf','7uWpByr','nsIjm','_afterAll','CdwiV','LRvPI','pdWTi','reduce','../../../helpers/test-observability/utils','toISOString','../../../../package.json','platformVersion','6849783nxLFYr','forEach','slice'];a31_0x3908=function(){return _0x545a79;};return a31_0x3908();}(function(_0x49754a,_0x8c7be5){const _0x2fdc99=a31_0x3726,_0x3203d3=_0x49754a();while(!![]){try{const _0x105d08=-parseInt(_0x2fdc99(0x193))/0x1*(parseInt(_0x2fdc99(0x17a))/0x2)+parseInt(_0x2fdc99(0x170))/0x3+-parseInt(_0x2fdc99(0x17d))/0x4*(-parseInt(_0x2fdc99(0x16f))/0x5)+-parseInt(_0x2fdc99(0x16e))/0x6+-parseInt(_0x2fdc99(0x191))/0x7*(-parseInt(_0x2fdc99(0x1a8))/0x8)+-parseInt(_0x2fdc99(0x19e))/0x9+parseInt(_0x2fdc99(0x186))/0xa*(parseInt(_0x2fdc99(0x1b5))/0xb);if(_0x105d08===_0x8c7be5)break;else _0x3203d3['push'](_0x3203d3['shift']());}catch(_0x5a81fa){_0x3203d3['push'](_0x3203d3['shift']());}}}(a31_0x3908,0x87008));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x2a9a21(0x19c)),logPatcher=require(a31_0x2a9a21(0x1c0)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x2a9a21(0x19a)),{consoleHolder}=require(a31_0x2a9a21(0x1be)),{getPlatformVersion}=require(a31_0x2a9a21(0x187)),{shouldProcessEventForTesthub}=require(a31_0x2a9a21(0x1b6)),{isFunction}=require(a31_0x2a9a21(0x177)),{patchConsoleLogger}=require(a31_0x2a9a21(0x19a));patchConsoleLogger(),exports[a31_0x2a9a21(0x16d)]=()=>{const _0x591c7a=a31_0x2a9a21,_0x3d6721={'pdWTi':'generic','CdwiV':function(_0x4089c4){return _0x4089c4();}};return{'ci':_0x3d6721[_0x591c7a(0x198)],'key':_0x3d6721[_0x591c7a(0x196)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x2a9a21(0x18c)]=_0x27417f=>{const _0x306ffe=a31_0x2a9a21,_0x57f288={};_0x57f288['zWRAj']=function(_0x489824,_0x47ef1d){return _0x489824!==_0x47ef1d;},_0x57f288['JGStE']=_0x306ffe(0x1b3),_0x57f288[_0x306ffe(0x178)]='hook:',_0x57f288[_0x306ffe(0x1b9)]=_0x306ffe(0x185);const _0x42119d=_0x57f288;if(!_0x27417f||_0x42119d[_0x306ffe(0x1af)](typeof _0x27417f,_0x42119d['JGStE']))return[null,null];if(_0x42119d[_0x306ffe(0x1af)](_0x27417f[_0x306ffe(0x1a4)](_0x42119d[_0x306ffe(0x178)]),-0x1)){const _0x32e3ac=_0x27417f['split'](_0x42119d['IaQze']);return[_0x32e3ac[0x0]['slice'](0x0,-0x1)[_0x306ffe(0x174)]('\x22')[0x1],_0x32e3ac[0x1][_0x306ffe(0x1c6)](0x1)];}else{if(_0x42119d[_0x306ffe(0x1af)](_0x27417f[_0x306ffe(0x1a4)](_0x42119d[_0x306ffe(0x1b9)]),-0x1)){const _0xb58966=_0x27417f[_0x306ffe(0x174)](_0x42119d[_0x306ffe(0x1b9)]);return[_0xb58966[0x0][_0x306ffe(0x1a0)](0x0,-0x1)[_0x306ffe(0x174)]('\x22')[0x1],_0x27417f];}}return[null,null];},exports[a31_0x2a9a21(0x16c)]=_0x5698e4=>{const _0x255545=a31_0x2a9a21,_0x2419fe={'WWZkz':function(_0x31505f,_0x4d54f3){return _0x31505f(_0x4d54f3);},'UxDXf':'_beforeAll','NVyOM':_0x255545(0x195),'FcutS':_0x255545(0x173),'MEtxR':_0x255545(0x1b4)};if(!_0x5698e4||!_0x5698e4['parent'])return[];const _0x12ed0d=[];return[_0x2419fe[_0x255545(0x192)],_0x2419fe[_0x255545(0x18f)],_0x2419fe[_0x255545(0x183)],_0x2419fe[_0x255545(0x18a)]]['forEach'](_0x252c70=>{const _0x517335=_0x255545,_0x2001b1=_0x5698e4[_0x517335(0x18d)][_0x252c70]||[];_0x2001b1['forEach'](_0x757e79=>{const _0x2d00eb=_0x517335;_0x757e79['hookAnalyticsId']&&!_0x2419fe['WWZkz'](isInternalHook,_0x757e79['fn'])&&_0x12ed0d['push'](_0x757e79[_0x2d00eb(0x1ab)]);});}),[..._0x12ed0d,...exports[_0x255545(0x16c)](_0x5698e4[_0x255545(0x18d)])];},exports['mapTestHooks']=_0x365c8e=>{const _0x5307c6=a31_0x2a9a21,_0x288600={'TsRlm':function(_0x4ff511){return _0x4ff511();},'FXGoe':function(_0x4dc0c9,_0x5a642f){return _0x4dc0c9===_0x5a642f;},'WgQob':_0x5307c6(0x1b4),'qogKc':function(_0x39214e){return _0x39214e();},'oIceF':_0x5307c6(0x1bb),'nsIjm':'_afterAll','rLiFZ':'_beforeEach'};if(!_0x365c8e||!_0x365c8e[_0x5307c6(0x18d)])return;[_0x288600[_0x5307c6(0x1a5)],_0x288600[_0x5307c6(0x194)],_0x288600[_0x5307c6(0x16b)],_0x288600['WgQob']][_0x5307c6(0x19f)](_0x2a0c44=>{const _0x19bf3f=_0x5307c6,_0x1b1dda=_0x365c8e[_0x19bf3f(0x18d)][_0x2a0c44]||[];_0x1b1dda[_0x19bf3f(0x19f)](_0x2ba60d=>{const _0x5a5f54=_0x19bf3f;if(!_0x2ba60d['hookAnalyticsId'])_0x2ba60d[_0x5a5f54(0x1ab)]=_0x288600[_0x5a5f54(0x179)](uuidv4);else _0x2ba60d[_0x5a5f54(0x176)]&&_0x288600[_0x5a5f54(0x189)](_0x2a0c44,_0x288600[_0x5a5f54(0x182)])&&(_0x2ba60d[_0x5a5f54(0x1ab)]=_0x288600[_0x5a5f54(0x17e)](uuidv4),delete _0x2ba60d[_0x5a5f54(0x176)]);});}),exports[_0x5307c6(0x1c1)](_0x365c8e[_0x5307c6(0x18d)]);},exports['sendPlatformDetails']=async(_0x2ac5ac,_0x306a58)=>{const _0x27ff5c=a31_0x2a9a21,_0x2db345={'xQqiW':function(_0x26cfa3){return _0x26cfa3();},'LRvPI':function(_0x5aa4ae,_0x3098c2){return _0x5aa4ae(_0x3098c2);},'bLdVZ':_0x27ff5c(0x19d),'tFwih':function(_0x4d84a2,_0x186719){return _0x4d84a2===_0x186719;},'wtlvA':_0x27ff5c(0x180),'KOsjB':_0x27ff5c(0x1a7),'XfxnC':_0x27ff5c(0x190),'UgttX':function(_0x48157d,_0x24947d){return _0x48157d(_0x24947d);}};try{if(!_0x2db345[_0x27ff5c(0x18b)](shouldProcessEventForTesthub))return;const _0x6a6239=await _0x2ac5ac[_0x27ff5c(0x1bd)](),_0x2b3a94=await _0x2ac5ac['getSession'](),_0x2341c3={},_0x5c8f57=Object[_0x27ff5c(0x1a2)](_0x2b3a94['getCapabilities']()['map_']),_0x21758e={'product':_0x2db345[_0x27ff5c(0x197)](getObservabilityLinkedProductName,_0x5c8f57),'capabilities':_0x5c8f57,'platform':_0x6a6239[_0x27ff5c(0x1bf)](),'platform_version':_0x6a6239[_0x27ff5c(0x1c2)](_0x2db345[_0x27ff5c(0x175)])?_0x6a6239['get'](_0x2db345[_0x27ff5c(0x175)]):_0x2db345[_0x27ff5c(0x197)](getPlatformVersion,_0x2db345[_0x27ff5c(0x1bc)](global[_0x27ff5c(0x188)],_0x2db345[_0x27ff5c(0x1ad)])),'browser':_0x6a6239['getBrowserName'](),'browser_version':_0x6a6239[_0x27ff5c(0x1b2)](),'session_id':_0x2b3a94[_0x27ff5c(0x1c5)]()};global[_0x27ff5c(0x188)]?_0x2341c3[global[_0x27ff5c(0x188)]]=_0x21758e:_0x2341c3[_0x2db345[_0x27ff5c(0x1b8)]]=_0x21758e,process[_0x27ff5c(0x1ae)](_0x27ff5c(0x17b)+process[_0x27ff5c(0x1a3)],{'timestamp':new Date()[_0x27ff5c(0x19b)](),'level':null,'message':null,'kind':_0x2db345[_0x27ff5c(0x1b1)],'http_response':_0x2341c3,'uuid':_0x306a58});}catch(_0xc8df14){_0x2db345[_0x27ff5c(0x1a1)](debug,_0x27ff5c(0x1c4)+_0xc8df14);}},exports[a31_0x2a9a21(0x1ba)]=_0xe8f0b6=>{const _0x4abdcb=a31_0x2a9a21,_0x8ec36e={};_0x8ec36e[_0x4abdcb(0x181)]=function(_0xf030fb,_0x26f362){return _0xf030fb!==_0x26f362;},_0x8ec36e['kHaMt']=_0x4abdcb(0x185),_0x8ec36e[_0x4abdcb(0x1c3)]=function(_0x5968ea,_0x51f0ec){return _0x5968ea!==_0x51f0ec;},_0x8ec36e[_0x4abdcb(0x1c7)]=_0x4abdcb(0x1a6),_0x8ec36e[_0x4abdcb(0x1ac)]=function(_0x30ce13,_0x55e18f){return _0x30ce13!==_0x55e18f;},_0x8ec36e[_0x4abdcb(0x171)]=_0x4abdcb(0x1b0);const _0x35ef8b=_0x8ec36e,_0x2d7f7d=_0xe8f0b6[_0x4abdcb(0x184)][_0x4abdcb(0x199)]((_0x3f8e48,_0x33073a)=>{const _0x1dc508=_0x4abdcb,_0x24c3e7=exports[_0x1dc508(0x1ba)](_0x33073a);return _0x24c3e7&&(_0x3f8e48=_0x3f8e48[_0x1dc508(0x1a9)](_0x24c3e7)),_0x3f8e48;},[]),_0x2524d0=_0xe8f0b6[_0x4abdcb(0x17f)][_0x4abdcb(0x1aa)](_0x1b46b3=>{const _0x10d310=_0x4abdcb,_0x4e9a6e=_0x35ef8b[_0x10d310(0x181)](_0x1b46b3[_0x10d310(0x17c)],_0x35ef8b[_0x10d310(0x1b7)])&&!_0x1b46b3[_0x10d310(0x176)]&&_0x35ef8b[_0x10d310(0x1c3)](_0x1b46b3[_0x10d310(0x18e)],_0x35ef8b[_0x10d310(0x1c7)])&&_0x35ef8b[_0x10d310(0x1ac)](_0x1b46b3[_0x10d310(0x18e)],_0x35ef8b[_0x10d310(0x171)])&&!_0x1b46b3[_0x10d310(0x172)];return _0x4e9a6e;});return _0x2524d0[_0x4abdcb(0x1a9)](_0x2d7f7d);};
@@ -1 +1 @@
1
- const a32_0x5cab0f=a32_0x1c4a;function a32_0x1c4a(_0x10b2a2,_0xb339e7){const _0x3d9e6c=a32_0x3d9e();return a32_0x1c4a=function(_0x1c4ab2,_0x26147d){_0x1c4ab2=_0x1c4ab2-0x7c;let _0x3f789d=_0x3d9e6c[_0x1c4ab2];return _0x3f789d;},a32_0x1c4a(_0x10b2a2,_0xb339e7);}(function(_0x12142e,_0x529d00){const _0x1dafa2=a32_0x1c4a,_0x2f735f=_0x12142e();while(!![]){try{const _0x5d2ec0=-parseInt(_0x1dafa2(0xb1))/0x1*(parseInt(_0x1dafa2(0xf4))/0x2)+parseInt(_0x1dafa2(0x103))/0x3*(-parseInt(_0x1dafa2(0xeb))/0x4)+-parseInt(_0x1dafa2(0xb9))/0x5*(parseInt(_0x1dafa2(0xe5))/0x6)+-parseInt(_0x1dafa2(0xcf))/0x7*(parseInt(_0x1dafa2(0xb5))/0x8)+parseInt(_0x1dafa2(0xb8))/0x9*(-parseInt(_0x1dafa2(0xbb))/0xa)+-parseInt(_0x1dafa2(0xcb))/0xb+parseInt(_0x1dafa2(0xe4))/0xc*(parseInt(_0x1dafa2(0x127))/0xd);if(_0x5d2ec0===_0x529d00)break;else _0x2f735f['push'](_0x2f735f['shift']());}catch(_0x115e8f){_0x2f735f['push'](_0x2f735f['shift']());}}}(a32_0x3d9e,0x678aa));function a32_0x3d9e(){const _0x4f2005=['./test-observability/mochaUtils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','executeScript','beforeEach','SESSION_STATUS','NOEsQ','__sessionFailed','ohppf','../../helpers/percy/utils','HwIGr','afterEach','measureWrapper','tubCQ','isArray','info','sNfjc','testcase','app','wSKAE','__platformCaps','jktHy','7310RUCFui','lTXxf','xfvdk','now','1515784YoZMWO','executeAsyncScript','percyCaptureMode','9ObMHnV','130155cqoume','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','6493210fXsGyh','titlePath','SYNC','HgnSQ','error','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','.\x20Error\x20:','bstackA11yShouldScan','push','stringify','iqoil','http:','start','browserstackTestName','join','YaiCc','387442ZcqooW','capabilities','SehGX','Failed:\x20','7yxgFsY','currentTest','ptDsk','zcuOS','XmVGi','message','Dwahw','protocol','soyVk','../../helpers/accessibility-automation/helper','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','thlAa','../../helpers/globals','OiUGY','../../helpers/testhub/utils','CuYRf','OzLji','shouldScanTestForAccessibility','gDNSH','session_','ZkBnc','17388rmPAFp','126CHHhuW','bQxBu','testAnalyticsId','oMcpo','uPHma','ENV_VAR','233220FAWLeS','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','fujaU','SAVE_RESULTS','Zmyxe','\x20|\x20','vrspQ','\x20-\x20','uiFOG','98zvuuAA','../../helpers/performance/constants','sPSLV','gQyoP','then','vvbKL','err','length','index','NnvPb','UKzPj','exyjn','suWKa','isAccessibilityPlatform','mochaHooks','21MITXWH','appium:app','__error_messages__','../../helpers/accessibility-automation/scripts','fhmWa','thBuildUuid','QAaxy','kfZeO','afterAll','browserstackSessionName','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','BQjlq','util','Yjhnd','Failed\x20to\x20store\x20session\x20name:\x20','EFPza','oGshK','quitCount_','thJwtToken','Woqck','state','driverCleanup','finally','XtaYa','CqgAX','ePmHr','SDK_HOOK','Oolrn','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','__drivers','rNLTa','startMonitoring','ItFSr','SESSION_NAME','../../helpers/performance/performance-tester','shift','23426DxwKfi','Automate\x20test\x20case\x20execution\x20has\x20started.','TcydI','fCXvW','RcCtK','format','kHdVT','https:','bRAjA','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','sessionName','failed','debug','BROWSERSTACK_TESTHUB_JWT','fbfvL','getGlobal','\x22}}','VZsAK',',\x22level\x22:\x20\x22','timeout','../../helpers/testhub/constants','accessibilityScanStarted','beforeAll','__skipSessionName','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','DKphI','gzxJq','AUBvH','HjIHg','JWeMv','XEFbW','HhVnW','initQuit','sessionNameSet__','passed'];a32_0x3d9e=function(){return _0x4f2005;};return a32_0x3d9e();}const util=require(a32_0x5cab0f(0x10f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x5cab0f(0xd8)),{percyAutoCapture}=require(a32_0x5cab0f(0xa4)),{sendPlatformDetails}=require(a32_0x5cab0f(0x9b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x5cab0f(0x125)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x5cab0f(0xf5)),scripts=require(a32_0x5cab0f(0x106)),globals=require(a32_0x5cab0f(0xdb)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x5cab0f(0xdd)),testHubConstants=require(a32_0x5cab0f(0x8c));exports[a32_0x5cab0f(0x102)]={'beforeAll'(){const _0x230bab=a32_0x5cab0f,_0x17d7d7={'UKzPj':function(_0x4b4e58,_0x42f3de,_0x2d63da,_0x26e88f){return _0x4b4e58(_0x42f3de,_0x2d63da,_0x26e88f);},'ytMzZ':_0x230bab(0x83),'uPHma':_0x230bab(0xf0),'SehGX':function(_0x115033,_0x3e7b11,_0x33c984){return _0x115033(_0x3e7b11,_0x33c984);},'EFPza':_0x230bab(0x9a),'AUBvH':function(_0x1ce627){return _0x1ce627();},'OiUGY':function(_0x5bcc2d,_0x203a69,_0x144832){return _0x5bcc2d(_0x203a69,_0x144832);},'gDNSH':function(_0x15e72d,_0x423f41,_0x65517d){return _0x15e72d(_0x423f41,_0x65517d);},'fhmWa':_0x230bab(0xfc),'fXvzr':_0x230bab(0x8e)};PerformanceTester[_0x230bab(0x122)]();const _0x35e038='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x230bab(0x11d)],()=>{const _0x49d1d7=_0x230bab;global[_0x49d1d7(0x105)]=[],global[_0x49d1d7(0xa2)]=![],global[_0x49d1d7(0x118)]=async()=>{const _0x1ab577=_0x49d1d7;let _0x2de4f6=![];try{await global[_0x1ab577(0x120)][0x0][_0x1ab577(0xe2)],_0x2de4f6=!![],global[_0x1ab577(0xa2)]?await _0x17d7d7[_0x1ab577(0xfe)](markSessionStatus,global[_0x1ab577(0x120)][0x0],_0x17d7d7['ytMzZ'],global[_0x1ab577(0x105)]['join'](_0x17d7d7[_0x1ab577(0xe9)])):await _0x17d7d7[_0x1ab577(0xcd)](markSessionStatus,global[_0x1ab577(0x120)][0x0],_0x17d7d7[_0x1ab577(0x112)]);}catch(_0x1e3b9b){logger[_0x1ab577(0x84)](_0x1ab577(0x11f)+_0x1e3b9b);}global[_0x1ab577(0x105)]=[],global['__sessionFailed']=![];if(_0x2de4f6)try{try{_0x17d7d7[_0x1ab577(0x93)](shouldProcessEventForTesthub)&&(global[_0x1ab577(0x120)][0x0]&&await _0x17d7d7[_0x1ab577(0xdc)](sendPlatformDetails,global[_0x1ab577(0x120)][0x0],this[_0x1ab577(0xd0)]?this['currentTest'][_0x1ab577(0xe7)]:null));}catch(_0x13a5da){logger[_0x1ab577(0x84)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x13a5da);}await global[_0x1ab577(0x120)][0x0][_0x1ab577(0x98)]();}catch(_0x2593ff){logger[_0x1ab577(0x84)](_0x1ab577(0x81)+_0x2593ff);}};},{'platform':_0x17d7d7[_0x230bab(0xe1)](nestedKeyValue,global['__platformCaps'],[_0x17d7d7[_0x230bab(0x107)]]),'hookType':_0x17d7d7['fXvzr']})();},'beforeEach'(_0x349006){const _0x4a3823=a32_0x5cab0f,_0x3471d3={'XmVGi':function(_0x41e0e0){return _0x41e0e0();},'DKphI':function(_0x4957e1,_0x382c38){return _0x4957e1>_0x382c38;},'oMcpo':function(_0x3976bc,_0x598567){return _0x3976bc>_0x598567;},'BQjlq':_0x4a3823(0xf2),'ePmHr':function(_0x5b87bd,_0x489bcb,_0x2a5d7b){return _0x5b87bd(_0x489bcb,_0x2a5d7b);},'tubCQ':_0x4a3823(0xc2),'lTXxf':function(_0x2c2960){return _0x2c2960();},'fQNjy':function(_0x305449,_0x21bf52){return _0x305449>_0x21bf52;},'Dwahw':_0x4a3823(0x101),'sPSLV':function(_0xd0e91,_0x52134d){return _0xd0e91===_0x52134d;},'VZsAK':_0x4a3823(0xc6),'gQyoP':_0x4a3823(0x7f),'iqoil':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','XtaYa':_0x4a3823(0x128),'HhVnW':function(_0x27b64a){return _0x27b64a();},'CuYRf':_0x4a3823(0xc8),'ohppf':function(_0x58645f,_0x3fe020,_0x4fe6f4){return _0x58645f(_0x3fe020,_0x4fe6f4);},'OsKIq':_0x4a3823(0xfc),'RWIOk':_0x4a3823(0x9f)};globals['setGlobal'](_0x3471d3[_0x4a3823(0xde)],this[_0x4a3823(0xd0)][_0x4a3823(0xbc)]()['join'](_0x3471d3[_0x4a3823(0x10e)])),PerformanceTester[_0x4a3823(0xa7)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x34db3a=_0x4a3823,_0x4aa869={'gzxJq':function(_0x57e9e0,_0x3433dc){const _0x59408c=a32_0x1c4a;return _0x3471d3[_0x59408c(0x91)](_0x57e9e0,_0x3433dc);},'JWeMv':function(_0x359fcd,_0xa37b27){const _0x16de2f=a32_0x1c4a;return _0x3471d3[_0x16de2f(0xe8)](_0x359fcd,_0xa37b27);},'TcydI':_0x3471d3['BQjlq'],'tPrnP':function(_0x26d845,_0xd888b2,_0x24e6af){const _0x5b0b12=a32_0x1c4a;return _0x3471d3[_0x5b0b12(0x11c)](_0x26d845,_0xd888b2,_0x24e6af);},'wSKAE':_0x3471d3[_0x34db3a(0xa8)],'TQzXc':function(_0x1db452){const _0x50496d=_0x34db3a;return _0x3471d3[_0x50496d(0xb2)](_0x1db452);},'fowHw':function(_0xc2e124,_0x4b0468){return _0x3471d3['fQNjy'](_0xc2e124,_0x4b0468);},'NnvPb':_0x3471d3[_0x34db3a(0xd5)],'rNLTa':function(_0x416d93,_0x1669f0){const _0x3ef36c=_0x34db3a;return _0x3471d3[_0x3ef36c(0xf6)](_0x416d93,_0x1669f0);},'CqgAX':_0x3471d3[_0x34db3a(0x89)],'HgnSQ':function(_0x3f65f8,_0x3bee66){return _0x3471d3['sPSLV'](_0x3f65f8,_0x3bee66);},'Yjhnd':_0x3471d3[_0x34db3a(0xf7)],'YaiCc':_0x3471d3[_0x34db3a(0xc5)],'NOEsQ':_0x3471d3[_0x34db3a(0x11a)],'HjIHg':function(_0x1ab661){const _0x1ec2bf=_0x34db3a;return _0x3471d3[_0x1ec2bf(0x97)](_0x1ab661);}},_0x843483='browserstack internal helper hook';new Promise(async _0x2f3d1b=>{const _0x59d585=_0x34db3a;let _0x26846d=!![];try{_0x4aa869[_0x59d585(0x92)](global[_0x59d585(0x120)][_0x59d585(0xfb)],0x1)&&(await global[_0x59d585(0x118)](),global[_0x59d585(0x120)][_0x59d585(0x126)]()),_0x4aa869[_0x59d585(0x95)](global['__drivers'][0x0][_0x59d585(0x114)],0x0)&&(_0x26846d=![],await global[_0x59d585(0x118)]());}catch(_0x599d0c){logger[_0x59d585(0x84)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x599d0c);}try{Array[_0x59d585(0xa9)](global[_0x59d585(0x120)])&&global[_0x59d585(0x120)][0x0]&&(global[_0x59d585(0x120)][0x0][_0x59d585(0x10c)]=this[_0x59d585(0xd0)][_0x59d585(0xbc)]()[_0x59d585(0xc9)](_0x4aa869['TcydI'])),global[_0x59d585(0x10c)]=this['currentTest'][_0x59d585(0xbc)]()['join'](_0x4aa869[_0x59d585(0x129)]);}catch(_0x165af5){logger[_0x59d585(0x84)](_0x59d585(0x111)+_0x165af5);}this[_0x59d585(0xd0)]['shouldScanTestForAccessibility']=_0x4aa869['tPrnP'](shouldScanTestForAccessibility,this['currentTest'][_0x59d585(0xbc)](),!![]),globals['setGlobal'](_0x4aa869[_0x59d585(0xae)],this[_0x59d585(0xd0)][_0x59d585(0xe0)]),this[_0x59d585(0xd0)]['accessibilityScanStarted']=!![];if(_0x4aa869['TQzXc'](isAccessibilityAutomationSession)&&_0x26846d&&Array[_0x59d585(0xa9)](global[_0x59d585(0x120)])&&_0x4aa869['fowHw'](global['__drivers']['length'],0x0)&&globals[_0x59d585(0x87)](_0x4aa869[_0x59d585(0xfd)]))try{const _0x4e2706=await global[_0x59d585(0x120)][0x0]['session_'];if(_0x4e2706){let _0x5e80cf=!![];const _0x543f12=await global[_0x59d585(0x120)][0x0]['getCurrentUrl']();let _0x2a203c;try{_0x2a203c=new URL(_0x543f12);}catch(_0x37fec4){_0x5e80cf=![];}_0x5e80cf=_0x4aa869[_0x59d585(0x121)](_0x2a203c[_0x59d585(0xd6)],_0x4aa869[_0x59d585(0x11b)])||_0x4aa869[_0x59d585(0xbe)](_0x2a203c[_0x59d585(0xd6)],_0x4aa869[_0x59d585(0x110)]),_0x5e80cf&&(this[_0x59d585(0xd0)][_0x59d585(0xe0)]&&logger['info'](_0x4aa869[_0x59d585(0xca)])),this['currentTest']['accessibilityScanStarted']=this['currentTest'][_0x59d585(0xe0)],this[_0x59d585(0xd0)][_0x59d585(0xe0)]&&logger[_0x59d585(0xaa)](_0x4aa869[_0x59d585(0xa1)]);}}catch(_0x5ad676){logger[_0x59d585(0xbf)](_0x59d585(0x10d)+util[_0x59d585(0x7d)](_0x5ad676));}_0x4aa869[_0x59d585(0x94)](_0x2f3d1b);})[_0x34db3a(0xf8)](()=>{const _0x54edc1=_0x34db3a;_0x3471d3[_0x54edc1(0xd3)](_0x349006);});},{'platform':_0x3471d3[_0x4a3823(0xa3)](nestedKeyValue,global[_0x4a3823(0xaf)],[_0x3471d3['OsKIq']]),'hookType':_0x3471d3['RWIOk']})();},'afterEach'(_0x4e9a2f){const _0x57997a=a32_0x5cab0f,_0x6de2f6={'HwNJX':function(_0x1c91b0,_0x1089d5){return _0x1c91b0!==_0x1089d5;},'TciTX':'passed','HwIGr':function(_0x37938e,_0x5e93ff,_0x264ee1){return _0x37938e(_0x5e93ff,_0x264ee1);},'oDfJf':function(_0x40c926,_0x5e15de){return _0x40c926+_0x5e15de;},'abTpn':_0x57997a(0xce),'XEFbW':_0x57997a(0xbf),'sydTT':'Passed','OzLji':_0x57997a(0xaa),'kHdVT':function(_0x42ff42,_0x56bc5b){return _0x42ff42>_0x56bc5b;},'bQxBu':function(_0x43ef65,_0x2396c4){return _0x43ef65===_0x2396c4;},'Woqck':_0x57997a(0xac),'kfZeO':function(_0x1f1947,_0x55ab0e){return _0x1f1947>_0x55ab0e;},'xUJza':_0x57997a(0x104),'IYJRm':function(_0x46587c,_0x3a1442,_0x22c76b,_0x4bab7a){return _0x46587c(_0x3a1442,_0x22c76b,_0x4bab7a);},'suWKa':_0x57997a(0x101),'vvbKL':_0x57997a(0xc2),'NmKnQ':_0x57997a(0xec),'PZvWj':'Performing\x20scan\x20before\x20saving\x20results','fCXvW':'afterTest','bRAjA':_0x57997a(0x9d),'exyjn':function(_0x40d9c2){return _0x40d9c2();},'thlAa':function(_0x580d07,_0x43ed0f,_0x5c645a){return _0x580d07(_0x43ed0f,_0x5c645a);},'oGshK':_0x57997a(0x84),'Oolrn':function(_0x35f4ee,_0x4b3b3f){return _0x35f4ee>_0x4b3b3f;},'DfpkI':function(_0x5ca077){return _0x5ca077();},'fbfvL':'\x20-\x20','jktHy':function(_0x17e168){return _0x17e168();},'zcuOS':function(_0x29677f,_0x150989,_0x39afaa){return _0x29677f(_0x150989,_0x39afaa);},'hudDy':_0x57997a(0xfc),'sNfjc':_0x57997a(0xa6)},_0xf2a495='browserstack internal helper hook';this['timeout'](0xfde8),global[_0x57997a(0x82)]=this['currentTest'][_0x57997a(0xbc)]()['join'](_0x6de2f6[_0x57997a(0x86)]),PerformanceTester[_0x57997a(0xa7)](PerformanceSdkEvents[_0x57997a(0x11d)],()=>{const _0x589747=_0x57997a,_0x275214={'vrspQ':_0x6de2f6[_0x589747(0x86)],'QAaxy':function(_0x1a030d){const _0x8082f4=_0x589747;return _0x6de2f6[_0x8082f4(0xb0)](_0x1a030d);}},_0x51d1dc=async(_0x231b3b,_0xc41bae)=>{const _0x5fb74b=_0x589747;await global[_0x5fb74b(0x120)][0x0]['executeScript'](_0x5fb74b(0xd9)+_0x231b3b+_0x5fb74b(0x8a)+_0xc41bae+_0x5fb74b(0x88));};new Promise(async _0x47e2b1=>{const _0x5d8464=_0x589747,_0x1997ca={'ptDsk':function(_0x3b435b,_0x207887){return _0x6de2f6['HwNJX'](_0x3b435b,_0x207887);},'AnayP':_0x6de2f6['TciTX'],'ItFSr':function(_0x500896,_0xe78bf6,_0x501da7){const _0x101cf9=a32_0x1c4a;return _0x6de2f6[_0x101cf9(0xa5)](_0x500896,_0xe78bf6,_0x501da7);},'RcCtK':function(_0x19daae,_0x122aed){return _0x6de2f6['oDfJf'](_0x19daae,_0x122aed);},'fujaU':_0x6de2f6['abTpn'],'pusff':_0x6de2f6[_0x5d8464(0x96)],'uiFOG':_0x6de2f6['sydTT'],'NctMA':_0x6de2f6[_0x5d8464(0xdf)]};try{_0x6de2f6[_0x5d8464(0x7e)](global['__drivers'][_0x5d8464(0xfb)],0x1)&&(await global[_0x5d8464(0x118)](),global[_0x5d8464(0x120)][_0x5d8464(0x126)](),global[_0x5d8464(0x105)]=[],global[_0x5d8464(0xa2)]=![]);try{if(global['percy']&&_0x6de2f6[_0x5d8464(0xe6)](global[_0x5d8464(0xb7)],_0x6de2f6[_0x5d8464(0x116)])&&global['__drivers'][0x0]){const _0x3cbdfe=_0x6de2f6[_0x5d8464(0x10a)](global[_0x5d8464(0xcc)][_0x5d8464(0xfb)],0x0)?!!global[_0x5d8464(0xcc)][0x0][_0x5d8464(0xad)]||!!global[_0x5d8464(0xcc)][0x0][_0x6de2f6['xUJza']]:![],_0x3962ab={};_0x3962ab[_0x5d8464(0xad)]=_0x3cbdfe,await _0x6de2f6['IYJRm'](percyAutoCapture,global[_0x5d8464(0x120)][0x0],_0x6de2f6[_0x5d8464(0x116)],_0x3962ab);}}catch(_0x4b897c){logger[_0x5d8464(0x84)](_0x5d8464(0x90)+_0x4b897c);}!global[_0x5d8464(0x8f)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x5d8464(0x124)],async()=>{const _0x498d6c=_0x5d8464;await global[_0x498d6c(0x120)][0x0][_0x498d6c(0x9e)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x498d6c(0xc4)](this[_0x498d6c(0xd0)][_0x498d6c(0xbc)]()[_0x498d6c(0xc9)](_0x275214[_0x498d6c(0xf1)]))+'}}');})(),global[_0x5d8464(0x120)][0x0][_0x5d8464(0x99)]=!![]),await PerformanceTester[_0x5d8464(0xa7)](PerformanceAutEvents[_0x5d8464(0xa0)],async()=>{const _0x46f773=_0x5d8464,_0x10c9a9=_0x1997ca[_0x46f773(0xd1)](this[_0x46f773(0xd0)][_0x46f773(0x117)],_0x1997ca['AnayP']);_0x10c9a9?(global['__sessionFailed']=!![],global[_0x46f773(0x105)][_0x46f773(0xc3)](this['currentTest'][_0x46f773(0xfa)][_0x46f773(0xd4)]),await _0x1997ca['ItFSr'](_0x51d1dc,JSON[_0x46f773(0xc4)](_0x1997ca[_0x46f773(0x7c)](_0x1997ca[_0x46f773(0xed)],this['currentTest'][_0x46f773(0xfa)]['message'])),_0x1997ca['pusff'])):await _0x1997ca[_0x46f773(0x123)](_0x51d1dc,JSON['stringify'](_0x1997ca[_0x46f773(0xf3)]),_0x1997ca['NctMA']);})();}catch(_0x1bb676){logger[_0x5d8464(0x84)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x1bb676);}try{if(this[_0x5d8464(0xd0)][_0x5d8464(0x8d)]&&globals[_0x5d8464(0x87)](_0x6de2f6[_0x5d8464(0x100)])&&globals[_0x5d8464(0x87)](_0x6de2f6[_0x5d8464(0xf9)])){logger[_0x5d8464(0xaa)](_0x6de2f6['NmKnQ']);const _0x1800fd={};_0x1800fd['thTestRunUuid']=this[_0x5d8464(0xd0)]['testAnalyticsId'],_0x1800fd[_0x5d8464(0x108)]=process['env'][testHubConstants[_0x5d8464(0xea)]['BROWSERSTACK_TESTHUB_UUID']],_0x1800fd[_0x5d8464(0x115)]=process['env'][testHubConstants[_0x5d8464(0xea)][_0x5d8464(0x85)]];const _0x3e5036=_0x1800fd;logger[_0x5d8464(0x84)](_0x5d8464(0x9c)+JSON[_0x5d8464(0xc4)](_0x3e5036)),logger[_0x5d8464(0x84)](_0x6de2f6['PZvWj']);const _0x55be7c={};_0x55be7c['command']=_0x6de2f6[_0x5d8464(0x12a)],await PerformanceTester[_0x5d8464(0xa7)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2d9c56=_0x5d8464;logger[_0x2d9c56(0x84)](util[_0x2d9c56(0x7d)](await global[_0x2d9c56(0x120)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x2d9c56(0x10c)]})));},_0x55be7c)(),await PerformanceTester[_0x5d8464(0xa7)](PerformanceA11yEvents[_0x5d8464(0xee)],async()=>{const _0x39947e=_0x5d8464;await global[_0x39947e(0x120)][0x0][_0x39947e(0xb6)](scripts['saveTestResults'],_0x3e5036);})(),logger[_0x5d8464(0xaa)](_0x6de2f6[_0x5d8464(0x80)]);}}catch(_0x37b9a4){logger[_0x5d8464(0xbf)](_0x5d8464(0xba)+this[_0x5d8464(0xd0)][_0x5d8464(0xbc)]()+_0x5d8464(0xc1),_0x37b9a4);}try{try{if(_0x6de2f6[_0x5d8464(0xff)](shouldProcessEventForTesthub)){global[_0x5d8464(0x120)][0x0]&&await _0x6de2f6[_0x5d8464(0xa5)](sendPlatformDetails,global[_0x5d8464(0x120)][0x0],this[_0x5d8464(0xd0)]?this[_0x5d8464(0xd0)]['testAnalyticsId']:null);if(_0x6de2f6[_0x5d8464(0xff)](isBrowserstackInfra)){PerformanceTester[_0x5d8464(0xc7)](PerformanceO11yEvents[_0x5d8464(0xbd)]);const _0x2d5283='ObservabilitySync:'+Date[_0x5d8464(0xb4)]();await _0x6de2f6[_0x5d8464(0xda)](_0x51d1dc,JSON[_0x5d8464(0xc4)](_0x2d5283),_0x6de2f6[_0x5d8464(0x113)]),PerformanceTester['end'](PerformanceO11yEvents['SYNC']);}}}catch(_0x28afa3){logger['debug'](_0x5d8464(0xc0)+_0x28afa3),PerformanceTester['end'](PerformanceO11yEvents[_0x5d8464(0xbd)],![],_0x28afa3);}_0x6de2f6[_0x5d8464(0x11e)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x5d8464(0x118)]();}catch(_0x4cf076){logger['debug'](_0x5d8464(0x81)+_0x4cf076);}_0x6de2f6['DfpkI'](_0x47e2b1);})[_0x589747(0xf8)](()=>{const _0x5ccf3a=_0x589747;_0x275214[_0x5ccf3a(0x109)](_0x4e9a2f);});},{'platform':_0x6de2f6[_0x57997a(0xd2)](nestedKeyValue,global[_0x57997a(0xaf)],[_0x6de2f6['hudDy']]),'hookType':_0x6de2f6[_0x57997a(0xab)]})();},'afterAll'(_0x16ec1c){const _0x40b2d6=a32_0x5cab0f,_0x396436={'soyVk':function(_0x4d6368){return _0x4d6368();},'xfvdk':function(_0x297a69,_0x3e64df,_0x3e036e){return _0x297a69(_0x3e64df,_0x3e036e);},'ZkBnc':_0x40b2d6(0xfc),'eOzEl':_0x40b2d6(0x10b)},_0x3dc935='browserstack internal helper hook';this[_0x40b2d6(0x8b)](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x40b2d6(0x11d)],()=>{const _0x570620=_0x40b2d6,_0x2d6e72={'Zmyxe':function(_0x57660a){return _0x396436['soyVk'](_0x57660a);}};new Promise(async _0xc9c31c=>{const _0x430762=a32_0x1c4a;await global[_0x430762(0x118)](),_0x2d6e72[_0x430762(0xef)](_0xc9c31c);})[_0x570620(0xf8)]()[_0x570620(0x119)](()=>{const _0x143929=_0x570620;_0x396436[_0x143929(0xd7)](_0x16ec1c);});},{'platform':_0x396436[_0x40b2d6(0xb3)](nestedKeyValue,global[_0x40b2d6(0xaf)],[_0x396436[_0x40b2d6(0xe3)]]),'hookType':_0x396436['eOzEl']})();}};
1
+ function a32_0x1d49(_0x1e6ce9,_0x51d5e7){const _0x343eb5=a32_0x343e();return a32_0x1d49=function(_0x1d49f4,_0x26b28c){_0x1d49f4=_0x1d49f4-0x150;let _0x4a2e3c=_0x343eb5[_0x1d49f4];return _0x4a2e3c;},a32_0x1d49(_0x1e6ce9,_0x51d5e7);}function a32_0x343e(){const _0x5f47ce=['beforeEach','beforeAll','iIWaT','Failed:\x20','XYYWF','wBrkR','sessionNameSet__','afterAll','qExrD','kcwHa','currentTest','laiQm','bDYaB','wcAYo','executeScript','oKaxp','hrrvA','EvQjK','thJwtToken','uMHwO','cDirk','end','debug','shift','isArray','SYNC','../../helpers/logger','MRVVM','testAnalyticsId','getCurrentUrl','44DzJfIf','uNkOO','JCPJe','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','HDcNM','passed','join','../../helpers/percy/utils','roCTO','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','LellA','info','failed','percy','measureWrapper','command','NKVdw','./test-observability/mochaUtils','13987812NwPouM','SApIc','timeout','finally','then','__drivers','thTestRunUuid','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','http:','.\x20Error\x20:','__error_messages__','accessibilityScanStarted','QFSjY','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','env','winstonLogger','NTxLC','SDK_HOOK','TIrdK','VRnoZ','SYYBv','2670765oQfsQp','fFBYq','util','__sessionFailed','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','SfjCP','ieRJX','yyVwI','Automate\x20test\x20case\x20execution\x20has\x20started.','TRRKs','hDcHh','__skipSessionName','857254tFsawb','capabilities','BROWSERSTACK_TESTHUB_UUID','afterTest','paFIg','session_','index','bsVKS','nANVa','bstackA11yShouldScan','xYmwX','error','ViKnV','UafBy','jGnEA','4641872hQLdzE','zXVOm','RQNRb','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','FbRaK','mPdOu','../../helpers/performance/performance-tester','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','qjbeQ','865FmrBWQ','stringify','quitCount_','executeAsyncScript','RbAZU','../../helpers/testhub/utils','18vkUqGu','HaiOd','message','push','CVzup','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','now','tLFzo','SESSION_STATUS','hSOgn','../../helpers/performance/constants','app','isAccessibilityPlatform','ZASjj','mochaHooks','Passed','getGlobal','FxZCB','sessionName','POVhh','KTrFq','start','https:','BcLuw','jAPCG','KHaYf','jwDhK','titlePath','DQBcs','JisaO','WiOuP','zjBnD','18892xeZkMh','state','length','qBXzn','KzblU','vXtIT','VUSQx','ObservabilitySync:','684CNPKPB','3ZfWBON','../../helpers/testhub/constants','testcase','protocol','\x22}}','qlmwu','WDgYl','format','lhRSC','DJAoG','ENV_VAR','Performing\x20scan\x20before\x20saving\x20results','olcVr','appium:app','\x20-\x20','KOHAi','yESUV','102942MOjTjL','mSfwj','JlKVW','zMQeB','SVlez','Iwhbd','browserstackSessionName','setGlobal','QpQwf','DBCBr','../../helpers/helper','shouldScanTestForAccessibility','7605610ASUVzW','driverCleanup','__platformCaps','KHBGD'];a32_0x343e=function(){return _0x5f47ce;};return a32_0x343e();}const a32_0x3e7385=a32_0x1d49;(function(_0x18c698,_0x6e6c53){const _0x36a22e=a32_0x1d49,_0x4915ad=_0x18c698();while(!![]){try{const _0x37d9f3=parseInt(_0x36a22e(0x18e))/0x1*(parseInt(_0x36a22e(0x201))/0x2)+parseInt(_0x36a22e(0x1f4))/0x3+parseInt(_0x36a22e(0x185))/0x4*(parseInt(_0x36a22e(0x15f))/0x5)+parseInt(_0x36a22e(0x18d))/0x6*(parseInt(_0x36a22e(0x19f))/0x7)+-parseInt(_0x36a22e(0x156))/0x8+-parseInt(_0x36a22e(0x165))/0x9*(-parseInt(_0x36a22e(0x1ab))/0xa)+-parseInt(_0x36a22e(0x1cd))/0xb*(parseInt(_0x36a22e(0x1df))/0xc);if(_0x37d9f3===_0x6e6c53)break;else _0x4915ad['push'](_0x4915ad['shift']());}catch(_0x28eaf0){_0x4915ad['push'](_0x4915ad['shift']());}}}(a32_0x343e,0xe770f));const util=require(a32_0x3e7385(0x1f6)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x3e7385(0x1d4)),{sendPlatformDetails}=require(a32_0x3e7385(0x1de)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x3e7385(0x1a9)),PerformanceTester=require(a32_0x3e7385(0x15c)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x3e7385(0x16f)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),logger=require(a32_0x3e7385(0x1c9))[a32_0x3e7385(0x1ee)],{shouldProcessEventForTesthub}=require(a32_0x3e7385(0x164)),testHubConstants=require(a32_0x3e7385(0x18f));exports[a32_0x3e7385(0x173)]={'beforeAll'(){const _0xc30d66=a32_0x3e7385,_0x490d05={'LellA':function(_0xe16f54,_0x5c7375,_0x222261,_0x487eec){return _0xe16f54(_0x5c7375,_0x222261,_0x487eec);},'VUSQx':_0xc30d66(0x1d9),'IJtSp':'\x20|\x20','NKVdw':function(_0x145542,_0x1b74e8,_0x2a3ee4){return _0x145542(_0x1b74e8,_0x2a3ee4);},'ViKnV':_0xc30d66(0x1d2),'WDgYl':function(_0x477d1f){return _0x477d1f();},'ZASjj':'index','POVhh':_0xc30d66(0x1b0)};PerformanceTester['startMonitoring']();const _0xdebf89='browserstack internal helper hook';PerformanceTester[_0xc30d66(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4ea537=_0xc30d66;global[_0x4ea537(0x1e9)]=[],global[_0x4ea537(0x1f7)]=![],global[_0x4ea537(0x1ac)]=async()=>{const _0x263840=_0x4ea537;let _0x370910=![];try{await global[_0x263840(0x1e4)][0x0]['session_'],_0x370910=!![],global[_0x263840(0x1f7)]?await _0x490d05[_0x263840(0x1d7)](markSessionStatus,global['__drivers'][0x0],_0x490d05[_0x263840(0x18b)],global[_0x263840(0x1e9)][_0x263840(0x1d3)](_0x490d05['IJtSp'])):await _0x490d05['NKVdw'](markSessionStatus,global[_0x263840(0x1e4)][0x0],_0x490d05[_0x263840(0x153)]);}catch(_0x10706a){logger[_0x263840(0x1c5)](_0x263840(0x1ec)+_0x10706a);}global[_0x263840(0x1e9)]=[],global[_0x263840(0x1f7)]=![];if(_0x370910)try{try{_0x490d05[_0x263840(0x194)](shouldProcessEventForTesthub)&&(global[_0x263840(0x1e4)][0x0]&&await _0x490d05[_0x263840(0x1dd)](sendPlatformDetails,global['__drivers'][0x0],this[_0x263840(0x1b9)]?this['currentTest'][_0x263840(0x1cb)]:null));}catch(_0x26b6f6){logger['debug'](_0x263840(0x15d)+_0x26b6f6);}await global[_0x263840(0x1e4)][0x0]['initQuit']();}catch(_0x1a1869){logger['debug'](_0x263840(0x1f8)+_0x1a1869);}};},{'platform':_0x490d05[_0xc30d66(0x1dd)](nestedKeyValue,global[_0xc30d66(0x1ad)],[_0x490d05[_0xc30d66(0x172)]]),'hookType':_0x490d05[_0xc30d66(0x178)]})();},'beforeEach'(_0x484062){const _0x655cbf=a32_0x3e7385,_0x3cbc31={'bsVKS':function(_0x5d21e1,_0x2f390d){return _0x5d21e1>_0x2f390d;},'MRVVM':_0x655cbf(0x19c),'laiQm':function(_0x39f632,_0x838169,_0x147bcf){return _0x39f632(_0x838169,_0x147bcf);},'DJAoG':'bstackA11yShouldScan','RbAZU':function(_0x3423a0){return _0x3423a0();},'JCPJe':_0x655cbf(0x171),'oKaxp':function(_0x2285ec,_0x34c6a3){return _0x2285ec===_0x34c6a3;},'wBrkR':_0x655cbf(0x1e7),'qExrD':_0x655cbf(0x17b),'uNkOO':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','uMHwO':_0x655cbf(0x1fd),'fKxYt':function(_0x8e1daa){return _0x8e1daa();},'TIrdK':'browserstackTestName','olcVr':function(_0x4545ec,_0x2805a5,_0x5274ac){return _0x4545ec(_0x2805a5,_0x5274ac);},'vXtIT':'index','QpQwf':_0x655cbf(0x1af)};globals[_0x655cbf(0x1a6)](_0x3cbc31[_0x655cbf(0x1f1)],this[_0x655cbf(0x1b9)][_0x655cbf(0x180)]()[_0x655cbf(0x1d3)](_0x3cbc31[_0x655cbf(0x1ca)])),PerformanceTester[_0x655cbf(0x1db)](PerformanceSdkEvents[_0x655cbf(0x1f0)],()=>{const _0x41e836=_0x655cbf,_0x2f576e={'tLFzo':function(_0x4db6ba,_0x5e6293){const _0x117968=a32_0x1d49;return _0x3cbc31[_0x117968(0x208)](_0x4db6ba,_0x5e6293);},'FxZCB':_0x3cbc31[_0x41e836(0x1ca)],'hDcHh':function(_0x11fd01,_0x5139ee,_0x25d8f6){const _0x4e31cb=_0x41e836;return _0x3cbc31[_0x4e31cb(0x1ba)](_0x11fd01,_0x5139ee,_0x25d8f6);},'iIWaT':_0x3cbc31[_0x41e836(0x197)],'DQBcs':function(_0x95ec54){const _0x148431=_0x41e836;return _0x3cbc31[_0x148431(0x163)](_0x95ec54);},'SfjCP':_0x3cbc31[_0x41e836(0x1cf)],'KTrFq':function(_0x266310,_0x4c0455){const _0x2edc99=_0x41e836;return _0x3cbc31[_0x2edc99(0x1be)](_0x266310,_0x4c0455);},'IpRlO':_0x3cbc31[_0x41e836(0x1b4)],'zMQeB':_0x3cbc31[_0x41e836(0x1b7)],'CVzup':_0x3cbc31[_0x41e836(0x1ce)],'FbRaK':_0x3cbc31[_0x41e836(0x1c2)],'nVibK':function(_0x3baded){return _0x3cbc31['fKxYt'](_0x3baded);}},_0x5c1971='browserstack internal helper hook';new Promise(async _0x3236c1=>{const _0x4bb58e=_0x41e836;let _0x5ad9d4=!![];try{_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][_0x4bb58e(0x187)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x4bb58e(0x1c6)]()),_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][0x0][_0x4bb58e(0x161)],0x0)&&(_0x5ad9d4=![],await global[_0x4bb58e(0x1ac)]());}catch(_0x10cba1){logger[_0x4bb58e(0x1c5)](_0x4bb58e(0x1f8)+_0x10cba1);}try{Array[_0x4bb58e(0x1c7)](global[_0x4bb58e(0x1e4)])&&global['__drivers'][0x0]&&(global[_0x4bb58e(0x1e4)][0x0][_0x4bb58e(0x1a5)]=this[_0x4bb58e(0x1b9)][_0x4bb58e(0x180)]()[_0x4bb58e(0x1d3)](_0x2f576e['FxZCB'])),global[_0x4bb58e(0x1a5)]=this[_0x4bb58e(0x1b9)]['titlePath']()['join'](_0x2f576e[_0x4bb58e(0x176)]);}catch(_0xaa8a4b){logger[_0x4bb58e(0x1c5)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0xaa8a4b);}this[_0x4bb58e(0x1b9)]['shouldScanTestForAccessibility']=_0x2f576e[_0x4bb58e(0x1ff)](shouldScanTestForAccessibility,this[_0x4bb58e(0x1b9)][_0x4bb58e(0x180)](),!![]),globals[_0x4bb58e(0x1a6)](_0x2f576e[_0x4bb58e(0x1b1)],this[_0x4bb58e(0x1b9)]['shouldScanTestForAccessibility']),this[_0x4bb58e(0x1b9)][_0x4bb58e(0x1ea)]=!![];if(_0x2f576e['DQBcs'](isAccessibilityAutomationSession)&&_0x5ad9d4&&Array['isArray'](global[_0x4bb58e(0x1e4)])&&_0x2f576e[_0x4bb58e(0x16c)](global[_0x4bb58e(0x1e4)][_0x4bb58e(0x187)],0x0)&&globals[_0x4bb58e(0x175)](_0x2f576e[_0x4bb58e(0x1fa)]))try{const _0x4ee27f=await global['__drivers'][0x0][_0x4bb58e(0x206)];if(_0x4ee27f){let _0xfa34fd=!![];const _0x364445=await global['__drivers'][0x0][_0x4bb58e(0x1cc)]();let _0x700f32;try{_0x700f32=new URL(_0x364445);}catch(_0x15503d){_0xfa34fd=![];}_0xfa34fd=_0x2f576e['KTrFq'](_0x700f32[_0x4bb58e(0x191)],_0x2f576e['IpRlO'])||_0x2f576e[_0x4bb58e(0x179)](_0x700f32[_0x4bb58e(0x191)],_0x2f576e[_0x4bb58e(0x1a2)]),_0xfa34fd&&(this[_0x4bb58e(0x1b9)][_0x4bb58e(0x1aa)]&&logger['info'](_0x2f576e[_0x4bb58e(0x169)])),this['currentTest'][_0x4bb58e(0x1ea)]=this['currentTest'][_0x4bb58e(0x1aa)],this['currentTest'][_0x4bb58e(0x1aa)]&&logger['info'](_0x2f576e[_0x4bb58e(0x15a)]);}}catch(_0x4ffdf3){logger[_0x4bb58e(0x152)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4bb58e(0x195)](_0x4ffdf3));}_0x2f576e[_0x4bb58e(0x181)](_0x3236c1);})[_0x41e836(0x1e3)](()=>{_0x2f576e['nVibK'](_0x484062);});},{'platform':_0x3cbc31[_0x655cbf(0x19a)](nestedKeyValue,global[_0x655cbf(0x1ad)],[_0x3cbc31[_0x655cbf(0x18a)]]),'hookType':_0x3cbc31[_0x655cbf(0x1a7)]})();},'afterEach'(_0x28941b){const _0x161a5e=a32_0x3e7385,_0xf104bc={'HaiOd':function(_0x5431ad){return _0x5431ad();},'mPdOu':function(_0x497ae8,_0x43dde1){return _0x497ae8!==_0x43dde1;},'BcLuw':'passed','qBXzn':function(_0x4474b2,_0x5361c6,_0x608ebb){return _0x4474b2(_0x5361c6,_0x608ebb);},'mSfwj':function(_0x21e5fe,_0x3f60a4){return _0x21e5fe+_0x3f60a4;},'ieRJX':_0x161a5e(0x1b2),'fFBYq':_0x161a5e(0x152),'JlKVW':function(_0x2dfe2a,_0x2c6f8e,_0x36b91){return _0x2dfe2a(_0x2c6f8e,_0x36b91);},'SYYBv':_0x161a5e(0x174),'yyVwI':'info','lhRSC':_0x161a5e(0x19c),'LAmSI':function(_0x11efaf,_0x4fb257){return _0x11efaf>_0x4fb257;},'yESUV':function(_0x34fc5d,_0x5652e0){return _0x34fc5d===_0x5652e0;},'nANVa':_0x161a5e(0x190),'kcwHa':function(_0x16e8a9,_0x4eba1e){return _0x16e8a9>_0x4eba1e;},'RQNRb':_0x161a5e(0x19b),'hrrvA':function(_0x8316b7,_0x436699,_0x3c4670,_0x1df82d){return _0x8316b7(_0x436699,_0x3c4670,_0x1df82d);},'DBCBr':_0x161a5e(0x171),'jAPCG':_0x161a5e(0x150),'QFSjY':_0x161a5e(0x1d0),'AkylL':_0x161a5e(0x199),'HDcNM':_0x161a5e(0x204),'UafBy':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sLMOR':function(_0x26d10d){return _0x26d10d();},'VRnoZ':'debug','cDirk':function(_0x283070,_0x308519,_0x2c9b20){return _0x283070(_0x308519,_0x2c9b20);},'MxaCQ':_0x161a5e(0x207),'XYYWF':'afterEach'},_0x2d897f='browserstack internal helper hook';this[_0x161a5e(0x1e1)](0xfde8),global[_0x161a5e(0x177)]=this['currentTest']['titlePath']()[_0x161a5e(0x1d3)](_0xf104bc['lhRSC']),PerformanceTester[_0x161a5e(0x1db)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x12fd43=_0x161a5e,_0x24432b={'JcDYV':function(_0x3ae51e,_0x2c6faa){const _0xd3947=a32_0x1d49;return _0xf104bc[_0xd3947(0x15b)](_0x3ae51e,_0x2c6faa);},'Iwhbd':_0xf104bc[_0x12fd43(0x17c)],'Clqcn':function(_0x562337,_0x259365,_0x40a1fe){const _0x241e04=_0x12fd43;return _0xf104bc[_0x241e04(0x188)](_0x562337,_0x259365,_0x40a1fe);},'SApIc':function(_0x2c70ec,_0x15a7ec){const _0x85a22d=_0x12fd43;return _0xf104bc[_0x85a22d(0x1a0)](_0x2c70ec,_0x15a7ec);},'zjBnD':_0xf104bc[_0x12fd43(0x1fb)],'jGnEA':_0xf104bc[_0x12fd43(0x1f5)],'JisaO':function(_0x1877ba,_0x2177e6,_0x3e54b2){const _0x46f205=_0x12fd43;return _0xf104bc[_0x46f205(0x1a1)](_0x1877ba,_0x2177e6,_0x3e54b2);},'isciH':_0xf104bc[_0x12fd43(0x1f3)],'qlmwu':_0xf104bc[_0x12fd43(0x1fc)],'xsiLs':_0xf104bc[_0x12fd43(0x196)],'ZmVnE':function(_0x73848a,_0x1dd8a0){return _0xf104bc['LAmSI'](_0x73848a,_0x1dd8a0);},'jwDhK':function(_0x1de918,_0x485386){const _0x17b609=_0x12fd43;return _0xf104bc[_0x17b609(0x19e)](_0x1de918,_0x485386);},'wcAYo':_0xf104bc[_0x12fd43(0x209)],'NTxLC':function(_0x42886e,_0x3bb0f0){const _0x2f6ef9=_0x12fd43;return _0xf104bc[_0x2f6ef9(0x1b8)](_0x42886e,_0x3bb0f0);},'xYmwX':_0xf104bc[_0x12fd43(0x158)],'KOHAi':function(_0x8888d8,_0x3a5d36,_0x3a84c5,_0x255cce){const _0x3de732=_0x12fd43;return _0xf104bc[_0x3de732(0x1bf)](_0x8888d8,_0x3a5d36,_0x3a84c5,_0x255cce);},'ByAsa':_0xf104bc[_0x12fd43(0x1a8)],'roCTO':_0xf104bc[_0x12fd43(0x17d)],'EvQjK':_0xf104bc[_0x12fd43(0x1eb)],'xbvgo':_0xf104bc['AkylL'],'WiOuP':_0xf104bc[_0x12fd43(0x1d1)],'KzblU':_0xf104bc[_0x12fd43(0x154)],'hSOgn':function(_0x3b75c4){return _0xf104bc['sLMOR'](_0x3b75c4);},'SVlez':function(_0x32c65a,_0x57c920,_0x35909f){return _0xf104bc['JlKVW'](_0x32c65a,_0x57c920,_0x35909f);},'zXVOm':_0xf104bc[_0x12fd43(0x1f2)]},_0x760aa3=async(_0x5726be,_0x191d0e)=>{const _0x5a21cb=_0x12fd43;await global[_0x5a21cb(0x1e4)][0x0][_0x5a21cb(0x1bd)](_0x5a21cb(0x1f9)+_0x5726be+',\x22level\x22:\x20\x22'+_0x191d0e+_0x5a21cb(0x192));};new Promise(async _0xd3e74e=>{const _0x4c0047=_0x12fd43,_0x4d8b0c={};_0x4d8b0c['qjbeQ']=_0x24432b['xsiLs'];const _0x4b29d9=_0x4d8b0c;try{_0x24432b['ZmVnE'](global['__drivers']['length'],0x1)&&(await global[_0x4c0047(0x1ac)](),global[_0x4c0047(0x1e4)][_0x4c0047(0x1c6)](),global[_0x4c0047(0x1e9)]=[],global[_0x4c0047(0x1f7)]=![]);try{if(global[_0x4c0047(0x1da)]&&_0x24432b[_0x4c0047(0x17f)](global['percyCaptureMode'],_0x24432b[_0x4c0047(0x1bc)])&&global[_0x4c0047(0x1e4)][0x0]){const _0x3d20c7=_0x24432b['NTxLC'](global[_0x4c0047(0x202)][_0x4c0047(0x187)],0x0)?!!global[_0x4c0047(0x202)][0x0][_0x4c0047(0x170)]||!!global[_0x4c0047(0x202)][0x0][_0x24432b[_0x4c0047(0x151)]]:![],_0x573e6c={};_0x573e6c[_0x4c0047(0x170)]=_0x3d20c7,await _0x24432b[_0x4c0047(0x19d)](percyAutoCapture,global['__drivers'][0x0],_0x24432b[_0x4c0047(0x1bc)],_0x573e6c);}}catch(_0x31fbf6){logger[_0x4c0047(0x1c5)](_0x4c0047(0x159)+_0x31fbf6);}!global[_0x4c0047(0x200)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x7a0d52=_0x4c0047;await global[_0x7a0d52(0x1e4)][0x0]['executeScript'](_0x7a0d52(0x16a)+JSON[_0x7a0d52(0x160)](this[_0x7a0d52(0x1b9)][_0x7a0d52(0x180)]()[_0x7a0d52(0x1d3)](_0x4b29d9[_0x7a0d52(0x15e)]))+'}}');})(),global[_0x4c0047(0x1e4)][0x0][_0x4c0047(0x1b5)]=!![]),await PerformanceTester[_0x4c0047(0x1db)](PerformanceAutEvents[_0x4c0047(0x16d)],async()=>{const _0x48ba92=_0x4c0047,_0x1cf228=_0x24432b['JcDYV'](this[_0x48ba92(0x1b9)][_0x48ba92(0x186)],_0x24432b[_0x48ba92(0x1a4)]);_0x1cf228?(global['__sessionFailed']=!![],global[_0x48ba92(0x1e9)][_0x48ba92(0x168)](this['currentTest']['err'][_0x48ba92(0x167)]),await _0x24432b['Clqcn'](_0x760aa3,JSON[_0x48ba92(0x160)](_0x24432b[_0x48ba92(0x1e0)](_0x24432b[_0x48ba92(0x184)],this[_0x48ba92(0x1b9)]['err'][_0x48ba92(0x167)])),_0x24432b[_0x48ba92(0x155)])):await _0x24432b[_0x48ba92(0x182)](_0x760aa3,JSON[_0x48ba92(0x160)](_0x24432b['isciH']),_0x24432b[_0x48ba92(0x193)]);})();}catch(_0x5f0199){logger[_0x4c0047(0x1c5)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x5f0199);}try{if(this[_0x4c0047(0x1b9)]['accessibilityScanStarted']&&globals[_0x4c0047(0x175)](_0x24432b['ByAsa'])&&globals[_0x4c0047(0x175)](_0x24432b[_0x4c0047(0x1d5)])){logger[_0x4c0047(0x1d8)](_0x24432b[_0x4c0047(0x1c0)]);const _0x278628={};_0x278628[_0x4c0047(0x1e5)]=this[_0x4c0047(0x1b9)][_0x4c0047(0x1cb)],_0x278628['thBuildUuid']=process[_0x4c0047(0x1ed)][testHubConstants['ENV_VAR'][_0x4c0047(0x203)]],_0x278628[_0x4c0047(0x1c1)]=process[_0x4c0047(0x1ed)][testHubConstants[_0x4c0047(0x198)]['BROWSERSTACK_TESTHUB_JWT']];const _0x5178f8=_0x278628;logger[_0x4c0047(0x1c5)](_0x4c0047(0x1d6)+JSON[_0x4c0047(0x160)](_0x5178f8)),logger['debug'](_0x24432b['xbvgo']);const _0x2d8769={};_0x2d8769[_0x4c0047(0x1dc)]=_0x24432b[_0x4c0047(0x183)],await PerformanceTester[_0x4c0047(0x1db)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x42baaf=_0x4c0047;logger[_0x42baaf(0x1c5)](util['format'](await global['__drivers'][0x0][_0x42baaf(0x162)](scripts['performScan'],{'method':global[_0x42baaf(0x1a5)]})));},_0x2d8769)(),await PerformanceTester[_0x4c0047(0x1db)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0xb6f939=_0x4c0047;await global['__drivers'][0x0][_0xb6f939(0x162)](scripts['saveTestResults'],_0x5178f8);})(),logger[_0x4c0047(0x1d8)](_0x24432b[_0x4c0047(0x189)]);}}catch(_0x2a29b0){logger[_0x4c0047(0x152)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x4c0047(0x1b9)][_0x4c0047(0x180)]()+_0x4c0047(0x1e8),_0x2a29b0);}try{try{if(_0x24432b[_0x4c0047(0x16e)](shouldProcessEventForTesthub)){global[_0x4c0047(0x1e4)][0x0]&&await _0x24432b[_0x4c0047(0x1a3)](sendPlatformDetails,global[_0x4c0047(0x1e4)][0x0],this[_0x4c0047(0x1b9)]?this['currentTest'][_0x4c0047(0x1cb)]:null);if(_0x24432b['hSOgn'](isBrowserstackInfra)){PerformanceTester[_0x4c0047(0x17a)](PerformanceO11yEvents[_0x4c0047(0x1c8)]);const _0xfa6035=_0x4c0047(0x18c)+Date[_0x4c0047(0x16b)]();await _0x24432b[_0x4c0047(0x1a3)](_0x760aa3,JSON[_0x4c0047(0x160)](_0xfa6035),_0x24432b[_0x4c0047(0x157)]),PerformanceTester[_0x4c0047(0x1c4)](PerformanceO11yEvents[_0x4c0047(0x1c8)]);}}}catch(_0x7239fe){logger[_0x4c0047(0x1c5)](_0x4c0047(0x1e6)+_0x7239fe),PerformanceTester[_0x4c0047(0x1c4)](PerformanceO11yEvents[_0x4c0047(0x1c8)],![],_0x7239fe);}_0x24432b[_0x4c0047(0x1ef)](global[_0x4c0047(0x1e4)][0x0]['quitCount_'],0x0)&&await global[_0x4c0047(0x1ac)]();}catch(_0x3d8a3a){logger[_0x4c0047(0x1c5)](_0x4c0047(0x1f8)+_0x3d8a3a);}_0x24432b[_0x4c0047(0x16e)](_0xd3e74e);})['then'](()=>{const _0x28b8f9=_0x12fd43;_0xf104bc[_0x28b8f9(0x166)](_0x28941b);});},{'platform':_0xf104bc[_0x161a5e(0x1c3)](nestedKeyValue,global[_0x161a5e(0x1ad)],[_0xf104bc['MxaCQ']]),'hookType':_0xf104bc[_0x161a5e(0x1b3)]})();},'afterAll'(_0x1d8937){const _0x4a3c9a=a32_0x3e7385,_0xac9eb5={'KHBGD':function(_0x3a153e){return _0x3a153e();},'paFIg':function(_0x4a48ab,_0x36e327,_0x2df152){return _0x4a48ab(_0x36e327,_0x2df152);},'KHaYf':_0x4a3c9a(0x207),'TRRKs':_0x4a3c9a(0x1b6)},_0x361b42='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester[_0x4a3c9a(0x1db)](PerformanceSdkEvents[_0x4a3c9a(0x1f0)],()=>{const _0x2d6d89=_0x4a3c9a,_0x20b92f={'bDYaB':function(_0x4f9451){const _0x25e47f=a32_0x1d49;return _0xac9eb5[_0x25e47f(0x1ae)](_0x4f9451);}};new Promise(async _0x3a60b8=>{const _0x38918c=a32_0x1d49;await global[_0x38918c(0x1ac)](),_0x20b92f[_0x38918c(0x1bb)](_0x3a60b8);})[_0x2d6d89(0x1e3)]()[_0x2d6d89(0x1e2)](()=>{const _0x550a99=_0x2d6d89;_0x20b92f[_0x550a99(0x1bb)](_0x1d8937);});},{'platform':_0xac9eb5[_0x4a3c9a(0x205)](nestedKeyValue,global['__platformCaps'],[_0xac9eb5[_0x4a3c9a(0x17e)]]),'hookType':_0xac9eb5[_0x4a3c9a(0x1fe)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x364d42=a33_0x2d8f;(function(_0x4cdda1,_0x2196a1){const _0x288cf5=a33_0x2d8f,_0x595975=_0x4cdda1();while(!![]){try{const _0x838cef=parseInt(_0x288cf5(0x177))/0x1+-parseInt(_0x288cf5(0x16c))/0x2+parseInt(_0x288cf5(0x18e))/0x3*(parseInt(_0x288cf5(0x17b))/0x4)+-parseInt(_0x288cf5(0x196))/0x5+parseInt(_0x288cf5(0x15a))/0x6*(-parseInt(_0x288cf5(0x193))/0x7)+parseInt(_0x288cf5(0x173))/0x8*(parseInt(_0x288cf5(0x174))/0x9)+-parseInt(_0x288cf5(0x158))/0xa*(-parseInt(_0x288cf5(0x170))/0xb);if(_0x838cef===_0x2196a1)break;else _0x595975['push'](_0x595975['shift']());}catch(_0x575acc){_0x595975['push'](_0x595975['shift']());}}}(a33_0x2483,0x82c4b));function a33_0x2d8f(_0x46c8ab,_0x321386){const _0x2483cd=a33_0x2483();return a33_0x2d8f=function(_0x2d8fab,_0x1cc385){_0x2d8fab=_0x2d8fab-0x156;let _0x214258=_0x2483cd[_0x2d8fab];return _0x214258;},a33_0x2d8f(_0x46c8ab,_0x321386);}function a33_0x2483(){const _0x1f3b41=['test_settings','child\x20process\x20exited\x20with\x20code\x20','4031126oNaiuU','inherit','modifyBrowserStackCaps','2064xGjNev','6453aDDjEM','UWJJk','desiredCapabilities','361438lANtBh','filter','winstonLogger','forEach','4AQBIPj','push','../../helpers/helper','gxufV','mergeDeep','hub.browserstack.com','fyYor','close','useW3C','dagqA','trim','--config','env','test','JhuoT','ppMde','rLFLf','../../helpers/BrowserStackSetup','QbvSo','1791450DGfpmQ','existsSync','length','eGOyJ','--env','7GSzHGh','child_process','getPlatformName','1307430kPlNem','host','cwd','nightwatch.json','pANEj','findIndex','UNLaZ','port','kldIS','30HYoems','isUndefined','3649434xKUJKV','path','config','webdriver','platforms','BQGFR','stringify','Deleting\x20','join','selenium','../../helpers/logger','splice','now','../utils/constants','info','start_process','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch','1675240uVFwkl','Getting\x20your\x20nightwatch\x20configs\x20from\x20'];a33_0x2483=function(){return _0x1f3b41;};return a33_0x2483();}const fs=require('fs'),path=require(a33_0x364d42(0x15b)),{spawn}=require(a33_0x364d42(0x194)),logger=require(a33_0x364d42(0x164))[a33_0x364d42(0x179)],{default:BrowserStackSetup}=require(a33_0x364d42(0x18c)),helper=require(a33_0x364d42(0x17d)),constants=require(a33_0x364d42(0x167)),getUserNightwatchConfigs=(_0xde778d,_0x5dfd2f)=>{const _0x328aa7=a33_0x364d42,_0x5c591d={'UWJJk':'nightwatch.conf.js','eGOyJ':_0x328aa7(0x199),'GzGqp':function(_0x5e61c8,_0x380c5a){return _0x5e61c8(_0x380c5a);},'JqvOM':_0x328aa7(0x16a)};let _0x9c9016=null,_0x4ab772={};const _0x1673fb=_0x5dfd2f[_0x328aa7(0x19b)](_0x2ebe47=>_0x2ebe47===_0x328aa7(0x186));if(!helper[_0x328aa7(0x159)](_0xde778d[_0x328aa7(0x15c)])&&fs['existsSync'](path[_0x328aa7(0x162)](process['cwd'](),_0xde778d['config'])))_0x9c9016=path[_0x328aa7(0x162)](process['cwd'](),_0xde778d['config']),_0x5dfd2f['splice'](_0x1673fb,0x2);else{if(fs['existsSync'](path[_0x328aa7(0x162)](process[_0x328aa7(0x198)](),_0x5c591d[_0x328aa7(0x175)])))_0x9c9016=path[_0x328aa7(0x162)](process[_0x328aa7(0x198)](),_0x5c591d[_0x328aa7(0x175)]);else fs[_0x328aa7(0x18f)](path[_0x328aa7(0x162)](process[_0x328aa7(0x198)](),_0x5c591d[_0x328aa7(0x191)]))&&(_0x9c9016=path[_0x328aa7(0x162)](process[_0x328aa7(0x198)](),_0x5c591d[_0x328aa7(0x191)]));}return _0x9c9016?(logger[_0x328aa7(0x168)](_0x328aa7(0x16d)+_0x9c9016),_0x4ab772=_0x5c591d['GzGqp'](require,_0x9c9016)):logger['info'](_0x5c591d['JqvOM']),_0x4ab772;},removeExistingEnvs=_0x5566bb=>{const _0x91fd90=a33_0x364d42,_0x2ee0b7={};_0x2ee0b7[_0x91fd90(0x184)]=function(_0x3c8f08,_0x5700e9){return _0x3c8f08>_0x5700e9;},_0x2ee0b7['QbvSo']=function(_0x4e7b25,_0x547ee8){return _0x4e7b25>_0x547ee8;};const _0x442feb=_0x2ee0b7;let _0x48a83f=_0x5566bb['findIndex'](_0x3f56d6=>_0x3f56d6===_0x91fd90(0x192));_0x442feb[_0x91fd90(0x184)](_0x48a83f,-0x1)&&_0x5566bb[_0x91fd90(0x165)](_0x48a83f,0x2),_0x48a83f=_0x5566bb['findIndex'](_0xa58e18=>_0xa58e18==='-e'),_0x442feb[_0x91fd90(0x18d)](_0x48a83f,-0x1)&&_0x5566bb[_0x91fd90(0x165)](_0x48a83f,0x2);};function run(_0x4e8efa,_0x5c2fee,_0xd3497){const _0x10471d=a33_0x364d42,_0x329ede={'rLFLf':_0x10471d(0x16b),'UGrBl':function(_0x34506c,_0x16be90){return _0x34506c+_0x16be90;},'fyYor':_0x10471d(0x16e),'pSeUD':function(_0x5f1018,_0x519c9c,_0x439983){return _0x5f1018(_0x519c9c,_0x439983);},'kldIS':_0x10471d(0x180),'tfWSg':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','NUkNR':function(_0x7faf90,_0x2157aa){return _0x7faf90===_0x2157aa;},'gxufV':'nightwatch-browserstack.json','BQGFR':function(_0x2db0a8,_0x8730f2){return _0x2db0a8(_0x8730f2);},'ppMde':function(_0x1efd1d,_0x591b36,_0x1032f3,_0x281517){return _0x1efd1d(_0x591b36,_0x1032f3,_0x281517);},'HfJam':'nightwatch.cmd','pANEj':'--config','NNFQA':'--env','UNLaZ':_0x10471d(0x171),'JhuoT':_0x10471d(0x182)};if(!_0xd3497['config'])return;const _0x5c7cc3=_0x329ede['pSeUD'](getUserNightwatchConfigs,_0x4e8efa,_0x5c2fee),_0x467d0c={};_0x467d0c[_0x10471d(0x169)]=![];const _0x2aa7f2={};_0x2aa7f2[_0x10471d(0x197)]=_0x329ede[_0x10471d(0x157)],_0x2aa7f2[_0x10471d(0x156)]=0x1bb;const _0xa2ee4f={};_0xa2ee4f[_0x10471d(0x15d)]=_0x467d0c,_0xa2ee4f[_0x10471d(0x163)]=_0x2aa7f2;const _0x4a157f=_0xa2ee4f;logger[_0x10471d(0x168)](_0x329ede['tfWSg']);const _0x2e19b4={..._0x5c7cc3},_0x10130f=_0x2e19b4,_0x976013=helper[_0x10471d(0x183)](_0xd3497['config']),_0x3fb7f2=[];_0xd3497[_0x10471d(0x15c)][_0x10471d(0x15e)][_0x10471d(0x17a)]((_0x2d0e75,_0xe16407)=>{const _0x5a3392=_0x10471d;_0x976013?_0x3fb7f2[_0x5a3392(0x17c)](helper['modifyBrowserStackW3CCaps'](_0xd3497[_0x5a3392(0x15c)],_0x329ede[_0x5a3392(0x18b)],_0xe16407)):_0x3fb7f2['push'](helper[_0x5a3392(0x172)](_0xd3497[_0x5a3392(0x15c)],_0x329ede[_0x5a3392(0x18b)],_0xe16407));});const _0x27582c={},_0x1bacae=[];_0x4e8efa['env']=_0x4e8efa[_0x10471d(0x187)]||_0x4e8efa['e'];const _0x55befc=_0x4e8efa[_0x10471d(0x187)]?_0x4e8efa[_0x10471d(0x187)]['trim']()['split'](',')['map'](_0x5c66b7=>_0x5c66b7[_0x10471d(0x185)]())[_0x10471d(0x178)](_0x54d4c5=>_0x54d4c5!==''):[''];_0x329ede['NUkNR'](_0x55befc[_0x10471d(0x190)],0x0)&&_0x55befc[_0x10471d(0x17c)]('');_0x55befc['forEach'](_0x1365a6=>{const _0x193b2e=_0x10471d;_0x3fb7f2[_0x193b2e(0x17a)](_0x18c75b=>{const _0x4726d8=_0x193b2e;let _0x3f410a=_0x329ede['UGrBl'](helper[_0x4726d8(0x195)](_0x18c75b,'_'),'_'+Date[_0x4726d8(0x166)]());_0x1365a6&&(_0x3f410a+='_'+_0x1365a6);if(_0x1365a6&&(!_0x5c7cc3[_0x329ede['fyYor']]||!_0x5c7cc3[_0x329ede[_0x4726d8(0x181)]][_0x1365a6]))return;const _0x1474ce={..._0x4a157f};_0x1474ce[_0x4726d8(0x176)]=_0x18c75b;const _0x1000a9=_0x1474ce;_0x27582c[_0x3f410a]=_0x1365a6?helper[_0x4726d8(0x17f)](_0x5c7cc3[_0x329ede[_0x4726d8(0x181)]][_0x1365a6],_0x1000a9):_0x1000a9,_0x1bacae[_0x4726d8(0x17c)](_0x3f410a);});});!_0x10130f[_0x10471d(0x16e)]&&(_0x10130f[_0x10471d(0x16e)]={});_0x10130f[_0x10471d(0x16e)]={..._0x10130f[_0x10471d(0x16e)],..._0x27582c};const _0x48fbab=path[_0x10471d(0x162)](__dirname,_0x329ede[_0x10471d(0x17e)]);fs['writeFileSync'](_0x48fbab,JSON[_0x10471d(0x160)](_0x10130f)),_0x329ede[_0x10471d(0x15f)](removeExistingEnvs,_0x5c2fee);const _0x233a71=_0x329ede[_0x10471d(0x18a)](spawn,/^win/[_0x10471d(0x188)](process['platform'])?_0x329ede['HfJam']:_0x329ede[_0x10471d(0x18b)],[_0x329ede[_0x10471d(0x19a)],_0x48fbab,..._0x5c2fee['slice'](0x1),_0x329ede['NNFQA'],_0x1bacae['join'](',')],{'stdio':_0x329ede[_0x10471d(0x19c)]});_0x233a71['on'](_0x329ede[_0x10471d(0x189)],async _0x167db7=>{const _0x42c355=_0x10471d;logger['debug'](_0x42c355(0x16f)+_0x167db7),logger[_0x42c355(0x168)](_0x42c355(0x161)+_0x48fbab),fs['unlinkSync'](_0x48fbab);});}module['exports']=run;
2
+ 'use strict';const a33_0x2284fc=a33_0x415c;(function(_0x53c399,_0x2ad835){const _0xdba107=a33_0x415c,_0xfb69b7=_0x53c399();while(!![]){try{const _0x4cd4f2=parseInt(_0xdba107(0x171))/0x1+parseInt(_0xdba107(0x142))/0x2+parseInt(_0xdba107(0x13f))/0x3+parseInt(_0xdba107(0x136))/0x4+-parseInt(_0xdba107(0x141))/0x5*(parseInt(_0xdba107(0x166))/0x6)+parseInt(_0xdba107(0x13c))/0x7*(parseInt(_0xdba107(0x146))/0x8)+-parseInt(_0xdba107(0x173))/0x9;if(_0x4cd4f2===_0x2ad835)break;else _0xfb69b7['push'](_0xfb69b7['shift']());}catch(_0x382b74){_0xfb69b7['push'](_0xfb69b7['shift']());}}}(a33_0x4dc0,0xb8905));const fs=require('fs'),path=require(a33_0x2284fc(0x177)),{spawn}=require(a33_0x2284fc(0x16f)),logger=require(a33_0x2284fc(0x145))[a33_0x2284fc(0x156)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a33_0x2284fc(0x158)),getUserNightwatchConfigs=(_0x5518f4,_0x32aebd)=>{const _0x1e4bf6=a33_0x2284fc,_0x153cd3={'gIMhK':_0x1e4bf6(0x178),'VomFl':'nightwatch.json','lKSxc':function(_0xac2399,_0x593c0b){return _0xac2399(_0x593c0b);},'TXeQE':_0x1e4bf6(0x170)};let _0x15a3a7=null,_0x31bf0c={};const _0x15ce8e=_0x32aebd[_0x1e4bf6(0x149)](_0x144104=>_0x144104===_0x1e4bf6(0x15d));if(!helper[_0x1e4bf6(0x150)](_0x5518f4['config'])&&fs['existsSync'](path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x5518f4[_0x1e4bf6(0x14b)])))_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x5518f4[_0x1e4bf6(0x14b)]),_0x32aebd[_0x1e4bf6(0x165)](_0x15ce8e,0x2);else{if(fs['existsSync'](path[_0x1e4bf6(0x13d)](process['cwd'](),_0x153cd3[_0x1e4bf6(0x174)])))_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x153cd3['gIMhK']);else fs[_0x1e4bf6(0x13e)](path['join'](process[_0x1e4bf6(0x172)](),_0x153cd3[_0x1e4bf6(0x159)]))&&(_0x15a3a7=path[_0x1e4bf6(0x13d)](process[_0x1e4bf6(0x172)](),_0x153cd3[_0x1e4bf6(0x159)]));}return _0x15a3a7?(logger[_0x1e4bf6(0x16c)](_0x1e4bf6(0x137)+_0x15a3a7),_0x31bf0c=_0x153cd3[_0x1e4bf6(0x164)](require,_0x15a3a7)):logger[_0x1e4bf6(0x16c)](_0x153cd3[_0x1e4bf6(0x14f)]),_0x31bf0c;},removeExistingEnvs=_0x6ac4=>{const _0x191d5c=a33_0x2284fc,_0x265298={};_0x265298['GDUng']=function(_0x533ee9,_0x40cfac){return _0x533ee9>_0x40cfac;};const _0xb02ce0=_0x265298;let _0x1e6391=_0x6ac4['findIndex'](_0x5ae285=>_0x5ae285==='--env');_0xb02ce0[_0x191d5c(0x160)](_0x1e6391,-0x1)&&_0x6ac4['splice'](_0x1e6391,0x2),_0x1e6391=_0x6ac4[_0x191d5c(0x149)](_0x13e1b6=>_0x13e1b6==='-e'),_0xb02ce0[_0x191d5c(0x160)](_0x1e6391,-0x1)&&_0x6ac4[_0x191d5c(0x165)](_0x1e6391,0x2);};function run(_0x5eca8e,_0x13e734,_0x2c2ec7){const _0x33127c=a33_0x2284fc,_0x9f0a54={'ICiLs':_0x33127c(0x176),'QbyEL':function(_0x43840a,_0x4bd41b){return _0x43840a+_0x4bd41b;},'OhHfK':_0x33127c(0x144),'Ffnbu':function(_0x4fba72,_0x5f5136,_0x1b426c){return _0x4fba72(_0x5f5136,_0x1b426c);},'lWPwA':_0x33127c(0x157),'sERUh':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SUPxN':function(_0x2f80eb,_0x1af113){return _0x2f80eb===_0x1af113;},'PjfZa':_0x33127c(0x13b),'MPceU':function(_0xd49cff,_0x4fa92c){return _0xd49cff(_0x4fa92c);},'rfHuZ':function(_0x3d0676,_0x48d425,_0x5772f8,_0x4122e0){return _0x3d0676(_0x48d425,_0x5772f8,_0x4122e0);},'FjcNo':_0x33127c(0x140),'AVVnT':_0x33127c(0x15d),'lTFFY':'--env','iddGj':_0x33127c(0x135),'utZnv':'close'};if(!_0x2c2ec7['config'])return;const _0x5f37cd=_0x9f0a54[_0x33127c(0x162)](getUserNightwatchConfigs,_0x5eca8e,_0x13e734),_0x5047bb={};_0x5047bb[_0x33127c(0x152)]=![];const _0x35d709={};_0x35d709[_0x33127c(0x17c)]=_0x9f0a54[_0x33127c(0x139)],_0x35d709['port']=0x1bb;const _0x56f769={};_0x56f769[_0x33127c(0x175)]=_0x5047bb,_0x56f769[_0x33127c(0x167)]=_0x35d709;const _0x26923e=_0x56f769;logger[_0x33127c(0x16c)](_0x9f0a54[_0x33127c(0x15f)]);const _0x45255e={..._0x5f37cd},_0x54aa95=_0x45255e,_0x3f779c=helper[_0x33127c(0x14a)](_0x2c2ec7[_0x33127c(0x14b)]),_0xecd564=[];_0x2c2ec7[_0x33127c(0x14b)][_0x33127c(0x15b)][_0x33127c(0x16e)]((_0x976811,_0x51e8b3)=>{const _0x25c603=_0x33127c;_0x3f779c?_0xecd564[_0x25c603(0x17a)](helper[_0x25c603(0x16a)](_0x2c2ec7['config'],_0x9f0a54[_0x25c603(0x13a)],_0x51e8b3)):_0xecd564[_0x25c603(0x17a)](helper[_0x25c603(0x17d)](_0x2c2ec7['config'],_0x9f0a54[_0x25c603(0x13a)],_0x51e8b3));});const _0x4cc0f2={},_0x2cd62a=[];_0x5eca8e[_0x33127c(0x147)]=_0x5eca8e[_0x33127c(0x147)]||_0x5eca8e['e'];const _0x238fc6=_0x5eca8e[_0x33127c(0x147)]?_0x5eca8e[_0x33127c(0x147)][_0x33127c(0x154)]()[_0x33127c(0x14d)](',')[_0x33127c(0x148)](_0x10c3b0=>_0x10c3b0[_0x33127c(0x154)]())[_0x33127c(0x143)](_0x8ad5a5=>_0x8ad5a5!==''):[''];_0x9f0a54[_0x33127c(0x153)](_0x238fc6[_0x33127c(0x16b)],0x0)&&_0x238fc6['push']('');_0x238fc6[_0x33127c(0x16e)](_0xec72b7=>{const _0x433231=_0x33127c;_0xecd564[_0x433231(0x16e)](_0x41d3d1=>{const _0x1a5f79=_0x433231;let _0x3fa4d1=_0x9f0a54['QbyEL'](helper[_0x1a5f79(0x151)](_0x41d3d1,'_'),'_'+Date[_0x1a5f79(0x168)]());_0xec72b7&&(_0x3fa4d1+='_'+_0xec72b7);if(_0xec72b7&&(!_0x5f37cd[_0x9f0a54[_0x1a5f79(0x14c)]]||!_0x5f37cd[_0x9f0a54['OhHfK']][_0xec72b7]))return;const _0x31bc7d={..._0x26923e};_0x31bc7d['desiredCapabilities']=_0x41d3d1;const _0x3f00f1=_0x31bc7d;_0x4cc0f2[_0x3fa4d1]=_0xec72b7?helper['mergeDeep'](_0x5f37cd[_0x9f0a54['OhHfK']][_0xec72b7],_0x3f00f1):_0x3f00f1,_0x2cd62a[_0x1a5f79(0x17a)](_0x3fa4d1);});});!_0x54aa95[_0x33127c(0x144)]&&(_0x54aa95[_0x33127c(0x144)]={});_0x54aa95[_0x33127c(0x144)]={..._0x54aa95[_0x33127c(0x144)],..._0x4cc0f2};const _0xbc756c=path[_0x33127c(0x13d)](__dirname,_0x9f0a54['PjfZa']);fs[_0x33127c(0x14e)](_0xbc756c,JSON[_0x33127c(0x15a)](_0x54aa95)),_0x9f0a54[_0x33127c(0x161)](removeExistingEnvs,_0x13e734);const _0x31c27=_0x9f0a54['rfHuZ'](spawn,/^win/[_0x33127c(0x169)](process[_0x33127c(0x163)])?_0x9f0a54[_0x33127c(0x134)]:_0x9f0a54[_0x33127c(0x13a)],[_0x9f0a54['AVVnT'],_0xbc756c,..._0x13e734[_0x33127c(0x179)](0x1),_0x9f0a54[_0x33127c(0x138)],_0x2cd62a[_0x33127c(0x13d)](',')],{'stdio':_0x9f0a54[_0x33127c(0x16d)]});_0x31c27['on'](_0x9f0a54['utZnv'],async _0x52e380=>{const _0x39fd71=_0x33127c;logger[_0x39fd71(0x155)](_0x39fd71(0x17b)+_0x52e380),logger['info']('Deleting\x20'+_0xbc756c),fs[_0x39fd71(0x15c)](_0xbc756c);});}function a33_0x415c(_0x28213c,_0x4ef03e){const _0x4dc040=a33_0x4dc0();return a33_0x415c=function(_0x415c2b,_0x4d0b32){_0x415c2b=_0x415c2b-0x134;let _0x27b96b=_0x4dc040[_0x415c2b];return _0x27b96b;},a33_0x415c(_0x28213c,_0x4ef03e);}function a33_0x4dc0(){const _0x504676=['filter','test_settings','../../helpers/logger','349224FvebKv','env','map','findIndex','useW3C','config','OhHfK','split','writeFileSync','TXeQE','isUndefined','getPlatformName','start_process','SUPxN','trim','debug','winstonLogger','hub.browserstack.com','../utils/constants','VomFl','stringify','platforms','unlinkSync','--config','exports','sERUh','GDUng','MPceU','Ffnbu','platform','lKSxc','splice','235362ViYshW','selenium','now','test','modifyBrowserStackW3CCaps','length','info','iddGj','forEach','child_process','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','309288AmCHrQ','cwd','17351865UZuPWA','gIMhK','webdriver','nightwatch','path','nightwatch.conf.js','slice','push','child\x20process\x20exited\x20with\x20code\x20','host','modifyBrowserStackCaps','FjcNo','inherit','3580012uUCJWT','Getting\x20your\x20nightwatch\x20configs\x20from\x20','lTFFY','lWPwA','ICiLs','nightwatch-browserstack.json','133YWbpfa','join','existsSync','961713CbgjEY','nightwatch.cmd','105pGBpul','2306912bfTIuc'];a33_0x4dc0=function(){return _0x504676;};return a33_0x4dc0();}module[a33_0x2284fc(0x15e)]=run;