browserstack-node-sdk 1.35.9 → 1.35.10

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_0x4c2383=a28_0x3612;(function(_0x20d3cb,_0x44aa1a){const _0x1f5ee3=a28_0x3612,_0x579a85=_0x20d3cb();while(!![]){try{const _0x573292=parseInt(_0x1f5ee3(0x1da))/0x1*(parseInt(_0x1f5ee3(0x20a))/0x2)+-parseInt(_0x1f5ee3(0x25a))/0x3*(-parseInt(_0x1f5ee3(0x237))/0x4)+parseInt(_0x1f5ee3(0x1e9))/0x5*(-parseInt(_0x1f5ee3(0x235))/0x6)+-parseInt(_0x1f5ee3(0x1b2))/0x7+parseInt(_0x1f5ee3(0x1dc))/0x8+parseInt(_0x1f5ee3(0x22f))/0x9*(parseInt(_0x1f5ee3(0x1ad))/0xa)+-parseInt(_0x1f5ee3(0x228))/0xb*(parseInt(_0x1f5ee3(0x24c))/0xc);if(_0x573292===_0x44aa1a)break;else _0x579a85['push'](_0x579a85['shift']());}catch(_0x2a8c38){_0x579a85['push'](_0x579a85['shift']());}}}(a28_0x51da,0x43c8a));const chalk=require(a28_0x4c2383(0x240)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a28_0x4c2383(0x1f0)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x4c2383(0x251)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4c2383(0x247)),{requireModule,nestedKeyValue}=require(a28_0x4c2383(0x1f0)),{getPercyOptions}=require(a28_0x4c2383(0x278)),Base=requireModule(a28_0x4c2383(0x1f7),a28_0x4c2383(0x232)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x4c2383(0x232)),constants=require(a28_0x4c2383(0x262)),PerformanceTester=require(a28_0x4c2383(0x275)),PerformanceEvents=require(a28_0x4c2383(0x242))['EVENTS'],centralScannerConstants=require(a28_0x4c2383(0x1b8)),{FRAMEWORKS}=require(a28_0x4c2383(0x241)),TestHubHandler=require(a28_0x4c2383(0x1fe));function tag(_0x5cfcf4,_0x6393e1,_0x320f6c,_0xb9f2f6){const _0x2459e7=a28_0x4c2383,_0x26ea13={'CaeuT':function(_0x2ebec2,_0x2f5cc9){return _0x2ebec2+_0x2f5cc9;},'DVfVL':function(_0x128fe9,_0x2b92c5){return _0x128fe9(_0x2b92c5);},'CeHIG':function(_0x16ce95,_0x3882ef){return _0x16ce95+_0x3882ef;},'xTVVK':function(_0x3fd60d,_0x5825c7){return _0x3fd60d+_0x5825c7;},'gnTpI':function(_0xe6ae95,_0x5586b9){return _0xe6ae95+_0x5586b9;},'cGujS':function(_0x156fe4,_0x58b57d){return _0x156fe4+_0x58b57d;}},_0x30472b=_0x320f6c?'/>':'>',_0x1ba3c1=[];let _0x1af640;for(const _0x5d4eb2 in _0x6393e1){Object[_0x2459e7(0x1d3)][_0x2459e7(0x21e)][_0x2459e7(0x244)](_0x6393e1,_0x5d4eb2)&&_0x1ba3c1['push'](_0x26ea13[_0x2459e7(0x23a)](_0x26ea13[_0x2459e7(0x23a)](_0x26ea13[_0x2459e7(0x23a)](_0x5d4eb2,'=\x22'),_0x26ea13[_0x2459e7(0x24a)](escape,_0x6393e1[_0x5d4eb2])),'\x22'));}return _0x1af640=_0x26ea13[_0x2459e7(0x23a)](_0x26ea13[_0x2459e7(0x296)](_0x26ea13[_0x2459e7(0x214)]('<',_0x5cfcf4),_0x1ba3c1[_0x2459e7(0x1bb)]?_0x26ea13[_0x2459e7(0x1bc)]('\x20',_0x1ba3c1[_0x2459e7(0x264)]('\x20')):''),_0x30472b),_0xb9f2f6&&(_0x1af640+=_0x26ea13[_0x2459e7(0x296)](_0x26ea13[_0x2459e7(0x214)](_0x26ea13[_0x2459e7(0x22a)](_0xb9f2f6,'</'),_0x5cfcf4),_0x30472b)),_0x1af640;}let xunitContent='';function xunitWrite(_0x2128d0){xunitContent+=_0x2128d0;}function xunitTest(_0x1a8a61,_0x1edf70){const _0x1c8b75=a28_0x4c2383,_0x4de5a8={'BnjLz':function(_0x568076,_0x5584a8){return _0x568076/_0x5584a8;},'MVEbI':function(_0xc7cebc,_0x3843b4){return _0xc7cebc===_0x3843b4;},'axkOk':_0x1c8b75(0x209),'qsGFh':function(_0x39445e,_0x30ded9){return _0x39445e+_0x30ded9;},'LSXSE':function(_0x2afc46,_0x387859){return _0x2afc46(_0x387859);},'xXWPu':function(_0x49bc47,_0x2d6a0e,_0x5713fd,_0x34fe77,_0x21898a){return _0x49bc47(_0x2d6a0e,_0x5713fd,_0x34fe77,_0x21898a);},'vKAOr':_0x1c8b75(0x1ae),'JkMGJ':function(_0x443397,_0x393831,_0x2d14eb,_0x12d48b,_0x292fd2){return _0x443397(_0x393831,_0x2d14eb,_0x12d48b,_0x292fd2);},'JsEJy':_0x1c8b75(0x24e),'aWKaR':function(_0x9d4307,_0x4bdcd8){return _0x9d4307+_0x4bdcd8;},'CMpDd':function(_0x543793,_0x2b711d){return _0x543793+_0x2b711d;},'hJlru':function(_0x4e157e,_0xc073c0){return _0x4e157e(_0xc073c0);},'uozBp':function(_0x2c7cfc,_0x1acc24){return _0x2c7cfc(_0x1acc24);},'YHEKt':function(_0xbdc9c2,_0x23f973,_0x5a65e3,_0x47e839,_0x5b2701){return _0xbdc9c2(_0x23f973,_0x5a65e3,_0x47e839,_0x5b2701);},'mnNWB':function(_0x2429ff,_0x13686d,_0x532524,_0x2bc0ff){return _0x2429ff(_0x13686d,_0x532524,_0x2bc0ff);},'bNxll':_0x1c8b75(0x229),'ZFQpT':function(_0x1ae32c,_0xbfdf2f){return _0x1ae32c(_0xbfdf2f);}};Base['useColors']=![];var _0x52b0ed={'classname':_0x1a8a61['fullTitle'],'name':_0x1a8a61[_0x1c8b75(0x28b)],'time':_0x4de5a8[_0x1c8b75(0x204)](_0x1a8a61[_0x1c8b75(0x219)],0x3e8)||0x0,'platform':_0x1edf70};if(_0x4de5a8['MVEbI'](_0x1a8a61[_0x1c8b75(0x1e5)],_0x4de5a8[_0x1c8b75(0x225)])){var _0x128cbb=_0x1a8a61['err'],_0x473cec=!Base[_0x1c8b75(0x24b)]&&Base['showDiff'](_0x128cbb)?_0x4de5a8[_0x1c8b75(0x205)]('\x0a',Base['generateDiff'](_0x128cbb['actual'],_0x128cbb[_0x1c8b75(0x20e)])):'';_0x4de5a8[_0x1c8b75(0x1dd)](xunitWrite,_0x4de5a8[_0x1c8b75(0x1be)](tag,_0x4de5a8['vKAOr'],_0x52b0ed,![],_0x4de5a8[_0x1c8b75(0x1c6)](tag,_0x4de5a8[_0x1c8b75(0x207)],{},![],_0x4de5a8[_0x1c8b75(0x205)](_0x4de5a8[_0x1c8b75(0x1d5)](_0x4de5a8[_0x1c8b75(0x1fd)](_0x4de5a8['LSXSE'](escape,_0x128cbb['message']),_0x4de5a8['hJlru'](escape,_0x473cec)),'\x0a'),_0x4de5a8[_0x1c8b75(0x1dd)](escape,_0x128cbb['stack'])))));}else _0x1a8a61[_0x1c8b75(0x1bd)]?_0x4de5a8[_0x1c8b75(0x1b4)](xunitWrite,_0x4de5a8[_0x1c8b75(0x270)](tag,_0x4de5a8[_0x1c8b75(0x21d)],_0x52b0ed,![],_0x4de5a8[_0x1c8b75(0x280)](tag,_0x4de5a8[_0x1c8b75(0x269)],{},!![]))):_0x4de5a8['ZFQpT'](xunitWrite,_0x4de5a8['mnNWB'](tag,_0x4de5a8[_0x1c8b75(0x21d)],_0x52b0ed,!![]));};function a28_0x51da(){const _0x39faac=['info','handleApp','titlePath','FkjpA','platforms','accessibility','kcaYc','title','output','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','push','hAgpr','red','NWnxa','stack','\x20failed','assign','Writing\x20xunit\x20result\x20to\x20file','CeHIG','jyiSD','testsPending','OXrrf','dzUKw','pQxYz','nkzQg','finally','VaBFF','nMBli','stringify','eAAVk','getOwnPropertyNames','BROWSERSTACK_TEST_OBSERVABILITY_YML','Total\x20Suites:\x20','79660GCusfo','testcase','LSeMb','reporter','ikuoA','2731876nPwifG','TppvI','uozBp','WRlUC','nETGH','JWOjt','../../helpers/central-scanner/constants','POGdn','azqQU','length','gnTpI','isPending','xXWPu','fQZrK','tuVzA','testObservability','getPlatformName','stats','add','writeFileSync','JkMGJ','JGtjO','parse','exports','getErrorMessageFromResults','Running\x20your\x20mocha\x20tests\x20across\x20','meIYW','setUserConfigPath','fGYEj','hKLFn','trjVR','vpzel','JVvGo','prototype','Running\x20your\x20mocha\x20tests','aWKaR','testsPassed','yellow','BxOks','Total\x20Platforms:\x20','482BOTWyG','debug','1170536ItOdOj','LSXSE','spec','DARej','accessibilityOptions','files','rmdirSync','jkRSF','getTCGConfigFilePaths','state','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','framework','size','30595dwAtTq','results','testsFailed','reporterOptions','printBuildLink','VrIQo','osmOu','../../helpers/helper','JKwcU','start','recursive','extension','Couldn\x27t\x20write\x20xunit\x20result\x20to','currentRetry','mocha/lib/reporters/base.js','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','</testsuite>','\x0a\x0a\x0a','CwLdD','Now,\x20showing\x20logs\x20from\x20mocha','CMpDd','../../helpers/testhub/testhubHandler','UqElT','EBSAc','wyYEZ','sort','suite','BnjLz','qsGFh','MOCHA','JsEJy','Tests:\x20\x20\x20\x20\x20\x20\x20','failed','890dVTZqM','\x20total','IvGAA','errorMessage','expected','err','failures','Listing\x20all\x20the\x20failures','BROWSERSTACK_RERUN_TESTS','exitCode','xTVVK','env','Writing\x20json\x20result\x20to\x20file','ignore','bold','duration','neKOB','doc','FRAMEWORKS','vKAOr','hasOwnProperty','WVoMs','uAokG','proxySettings','file','keys','yptvF','axkOk','cjs','whOXB','18953ONlYht','skipped','cGujS','eSgtm','validPlatformsPresent','NUnHA','json','144UxYYPU','uptfn','gNcKH','mocha','isBrowserstackInfra','then','6AriLcf','TtpVk','1749296jPbuVt','\x20skipped','iuZiY','CaeuT','isTestObservabilitySession','AZLpq','testSuites','map','BMoNC','chalk','../../helpers/test-observability/constants','../../helpers/performance/constants','retryTestsOnFailure','call','SThAh','min','../test-runner','rootHooks','fullTitle','DVfVL','hideDiff','1752gWbapv','kigPN','failure','Jqxjr','getCentralUser','../../helpers/test-observability/utils','mBnFk','COgnL','parseFileNames','SDK_CLEANUP','launchBuild','bgRedBright','notifyUpdate','shouldReRunObservabilityTests','3qqjpRF','suiteName','gkaMq','Setting\x20non\x20exit\x20code\x20for\x20failures','config','vrakn','maxRetries','KMinX','../utils/constants','isUndefined','join','consoleLog','****\x20FAILURES\x20****','SDKTestSuccessful','rerunTests','bNxll','logLevel','pending','green','parallelsPerPlatform','retries','log','YHEKt','error','cliConfig','mswkX','iMSFT','../../helpers/performance/performance-tester','passed','object','../../helpers/percy/utils','MfXnV','FPHEf','seGkG','IhMpb','fTHGB','uQIeN','list','mnNWB','gqvTu','forEach','FUjEX'];a28_0x51da=function(){return _0x39faac;};return a28_0x51da();}function getStats(_0x510f0a){const _0x102d0f=a28_0x4c2383,_0x15bd4d={};_0x15bd4d[_0x102d0f(0x1c7)]=_0x102d0f(0x203),_0x15bd4d[_0x102d0f(0x283)]=_0x102d0f(0x276),_0x15bd4d['hAgpr']='failed',_0x15bd4d['WVoMs']=_0x102d0f(0x1ea);const _0x15afdf=_0x15bd4d,_0x2e48b0=Object[_0x102d0f(0x223)](_0x510f0a);let _0x5495f4=0x0,_0x392a58=0x0,_0x28373a=0x0,_0x58dc7c=0x0;const _0x1c630b=new Set();_0x2e48b0['forEach'](_0x56e184=>{const _0x500fc4=_0x102d0f;_0x510f0a[_0x56e184][_0x15afdf[_0x500fc4(0x21f)]][_0x500fc4(0x282)](_0x1fc081=>{const _0x2999d5=_0x500fc4;_0x1c630b[_0x2999d5(0x1c4)](_0x1fc081[_0x15afdf[_0x2999d5(0x1c7)]]),_0x5495f4++;switch(_0x1fc081[_0x2999d5(0x1e5)]){case _0x15afdf['FUjEX']:_0x28373a++;break;case _0x15afdf[_0x2999d5(0x28f)]:_0x392a58++;break;default:_0x58dc7c++;}});});const _0x2b6ab5={};return _0x2b6ab5[_0x102d0f(0x23d)]=_0x1c630b[_0x102d0f(0x1e8)],_0x2b6ab5['platforms']=_0x2e48b0,_0x2b6ab5['totalTests']=_0x5495f4,_0x2b6ab5['testsFailed']=_0x392a58,_0x2b6ab5[_0x102d0f(0x1d6)]=_0x28373a,_0x2b6ab5[_0x102d0f(0x1a0)]=_0x58dc7c,_0x2b6ab5;}function errorJSON(_0x53f285){const _0x25a8e1=a28_0x4c2383;var _0x4b4dc8={};return Object[_0x25a8e1(0x1aa)](_0x53f285)[_0x25a8e1(0x282)](function(_0x56d384){_0x4b4dc8[_0x56d384]=_0x53f285[_0x56d384];},_0x53f285),_0x4b4dc8;}function cleanCycles(_0x3e4248){const _0x1e1bc6=a28_0x4c2383,_0x558d4d={};_0x558d4d[_0x1e1bc6(0x1e3)]=function(_0x24ecb4,_0xcdefb){return _0x24ecb4===_0xcdefb;},_0x558d4d[_0x1e1bc6(0x1cf)]=_0x1e1bc6(0x277),_0x558d4d[_0x1e1bc6(0x1b6)]=function(_0x25e67d,_0x49e649){return _0x25e67d!==_0x49e649;},_0x558d4d[_0x1e1bc6(0x21a)]=function(_0x23b084,_0x540234){return _0x23b084+_0x540234;};const _0x23db3c=_0x558d4d;var _0x3b1147=[];return JSON[_0x1e1bc6(0x1c8)](JSON['stringify'](_0x3e4248,function(_0x2aa930,_0x569609){const _0x5d729b=_0x1e1bc6;if(_0x23db3c[_0x5d729b(0x1e3)](typeof _0x569609,_0x23db3c[_0x5d729b(0x1cf)])&&_0x23db3c[_0x5d729b(0x1b6)](_0x569609,null)){if(_0x23db3c[_0x5d729b(0x1b6)](_0x3b1147['indexOf'](_0x569609),-0x1))return _0x23db3c['neKOB']('',_0x569609);_0x3b1147[_0x5d729b(0x28e)](_0x569609);}return _0x569609;}));}function clean(_0x1f4d14){const _0x35b39c=a28_0x4c2383,_0x5848c7={'cBTnp':function(_0x3ebb34,_0x318856){return _0x3ebb34 instanceof _0x318856;},'BMoNC':function(_0x2e1e0e,_0x4b1a4c){return _0x2e1e0e(_0x4b1a4c);}};var _0x29222f=_0x1f4d14[_0x35b39c(0x20f)]||{};return _0x5848c7['cBTnp'](_0x29222f,Error)&&(_0x29222f=_0x5848c7[_0x35b39c(0x23f)](errorJSON,_0x29222f)),{'title':_0x1f4d14[_0x35b39c(0x28b)],'fullTitle':_0x1f4d14[_0x35b39c(0x249)],'file':_0x1f4d14['file'],'duration':_0x1f4d14['duration'],'currentRetry':_0x1f4d14[_0x35b39c(0x1f6)],'speed':_0x1f4d14['speed'],'err':_0x5848c7[_0x35b39c(0x23f)](cleanCycles,_0x29222f)};}function printStats(_0x454d40,_0x3d0c04=a28_0x4c2383(0x1de),_0x459799={}){const _0x220c57=a28_0x4c2383,_0xf79304={'NUnHA':function(_0xa703c3,_0x1a1618){return _0xa703c3(_0x1a1618);},'inwRc':function(_0x334737,_0x4b1643){return _0x334737===_0x4b1643;},'FPHEf':_0x220c57(0x276),'WRlUC':'passes','fQZrK':function(_0x665c87,_0x47da84){return _0x665c87(_0x47da84);},'JKwcU':function(_0x3508f9,_0x3a55f8){return _0x3508f9===_0x3a55f8;},'KMinX':_0x220c57(0x209),'qHOsn':_0x220c57(0x210),'rQXoh':_0x220c57(0x26b),'nMBli':function(_0x47d69f,_0x1818bf){return _0x47d69f(_0x1818bf);},'UqElT':_0x220c57(0x1ea),'qfsKQ':function(_0x4ef572,_0x3eb056){return _0x4ef572===_0x3eb056;},'IvGAA':function(_0x1a249a,_0x502733){return _0x1a249a*_0x502733;},'LSeMb':function(_0x44fcef,_0x345741,_0x3ae231){return _0x44fcef(_0x345741,_0x3ae231);},'gvAAf':function(_0x41dd77,_0xffc883){return _0x41dd77===_0xffc883;},'fTHGB':function(_0x5a8350,_0x4d7e00){return _0x5a8350>_0x4d7e00;},'ikuoA':function(_0x3c4d1){return _0x3c4d1();},'uptfn':function(_0x6b96aa,_0x1522f4){return _0x6b96aa===_0x1522f4;},'jyiSD':_0x220c57(0x21b),'Jqxjr':function(_0x174133,_0x2d82ac){return _0x174133(_0x2d82ac);},'meIYW':function(_0x19f806,_0x58cbb6){return _0x19f806>_0x58cbb6;},'xPMdo':_0x220c57(0x25d),'VaBFF':'Printing\x20stats\x20of\x20tests','BxOks':function(_0x5a4753,_0xb86a8b){return _0x5a4753+_0xb86a8b;},'IhMpb':_0x220c57(0x1d9),'gNcKH':_0x220c57(0x1ac),'iuZiY':_0x220c57(0x208),'TppvI':function(_0x388fb0,_0x322ed6){return _0x388fb0+_0x322ed6;},'trjVR':function(_0x3f7540,_0x15e949){return _0x3f7540+_0x15e949;},'wyYEZ':function(_0x3c4216,_0x4b8a87){return _0x3c4216+_0x4b8a87;},'BrveU':_0x220c57(0x1fa),'NWnxa':function(_0x131247,_0x3e243e){return _0x131247===_0x3e243e;},'PGWzs':_0x220c57(0x22e),'FkjpA':_0x220c57(0x216),'azqQU':'Couldn\x27t\x20write\x20json\x20result\x20to','fGYEj':_0x220c57(0x1e6),'MVDrv':function(_0x1421a6,_0x299386){return _0x1421a6===_0x299386;},'seGkG':'xunit','POGdn':'Mocha\x20Tests','mBnFk':function(_0x31c090,_0x16a832){return _0x31c090||_0x16a832;},'CwLdD':function(_0x4e119b,_0x260f23,_0x5d8702,_0x335946){return _0x4e119b(_0x260f23,_0x5d8702,_0x335946);},'gkaMq':'testsuite','MfXnV':function(_0x1b762d,_0x99c6c4){return _0x1b762d-_0x99c6c4;},'tuVzA':function(_0x42507b,_0x3f8f14){return _0x42507b-_0x3f8f14;},'SThAh':function(_0x2b38cf,_0x27067a){return _0x2b38cf/_0x27067a;},'vrakn':function(_0xe0e218,_0x37d7bc){return _0xe0e218(_0x37d7bc);},'pQxYz':_0x220c57(0x1f9),'uQIeN':_0x220c57(0x295),'COgnL':_0x220c57(0x1f5),'eAAVk':_0x220c57(0x1f8),'nkzQg':_0x220c57(0x211),'AZLpq':_0x220c57(0x266)};if(_0xf79304[_0x220c57(0x230)](_0x3d0c04,_0xf79304[_0x220c57(0x297)]))return;const _0xa406b=0x0,_0x3fa0db=()=>{const _0x4d6737=_0x220c57;return _0xf79304[_0x4d6737(0x22d)](Array,_0xa406b)[_0x4d6737(0x264)]('\x20\x20');},{testSuites:_0x114643,platforms:_0xc67634,totalTests:_0x55dc89,testsFailed:_0x53eee2,testsPassed:_0x579bdf,testsPending:_0x1f524e}=_0xf79304[_0x220c57(0x24f)](getStats,_0x454d40);_0xf79304[_0x220c57(0x1cc)](_0x53eee2,0x0)&&(logger[_0x220c57(0x1db)](_0xf79304['xPMdo']),process[_0x220c57(0x213)]=Math[_0x220c57(0x246)](_0x53eee2,0xff));logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x1a6)]);const _0x1f94f7=''+_0xf79304[_0x220c57(0x1d8)](chalk[_0x220c57(0x218)](_0xf79304[_0x220c57(0x27c)]),_0xc67634[_0x220c57(0x1bb)]),_0x26af18=''+_0xf79304[_0x220c57(0x1d8)](chalk[_0x220c57(0x218)](_0xf79304[_0x220c57(0x231)]),_0x114643),_0x160446=''+_0xf79304[_0x220c57(0x1d8)](_0xf79304[_0x220c57(0x1d8)](_0xf79304[_0x220c57(0x1d8)](chalk[_0x220c57(0x218)](_0xf79304[_0x220c57(0x239)]),_0xf79304['meIYW'](_0x53eee2,0x0)?chalk[_0x220c57(0x218)][_0x220c57(0x290)](_0x53eee2+_0x220c57(0x293))+',\x20':''),_0xf79304[_0x220c57(0x27d)](_0x1f524e,0x0)?chalk['bold'][_0x220c57(0x1d7)](_0x1f524e+_0x220c57(0x238))+',\x20':''),_0xf79304['meIYW'](_0x579bdf,0x0)?chalk[_0x220c57(0x218)][_0x220c57(0x26c)](_0x579bdf+'\x20passed')+',\x20':'')+_0x55dc89+_0x220c57(0x20b);console[_0x220c57(0x26f)](_0xf79304[_0x220c57(0x1d8)](_0xf79304[_0x220c57(0x1b3)](_0xf79304[_0x220c57(0x1d0)](_0xf79304[_0x220c57(0x201)](_0xf79304[_0x220c57(0x1b3)](_0xf79304['BrveU'],_0x1f94f7),'\x0a'),_0x26af18),'\x0a'),_0x160446));if(_0xf79304[_0x220c57(0x291)](_0x3d0c04,_0xf79304['PGWzs'])){const _0x1ed1d4={},_0x52cca4={};_0x52cca4[_0x220c57(0x23d)]=_0x114643,_0x52cca4[_0x220c57(0x288)]=_0xc67634,_0x52cca4[_0x220c57(0x1eb)]=_0x53eee2,_0x52cca4['testsPassed']=_0x579bdf,_0x52cca4[_0x220c57(0x1a0)]=_0x1f524e,_0x1ed1d4[_0x220c57(0x1c3)]=_0x52cca4,_0xc67634['forEach'](_0x109fd7=>{const _0x3b6b8d=_0x220c57,_0x1fab44={'osmOu':function(_0x344bac,_0x310836){return _0xf79304['inwRc'](_0x344bac,_0x310836);},'DARej':_0xf79304[_0x3b6b8d(0x27a)],'whOXB':_0xf79304[_0x3b6b8d(0x1b5)],'qNelV':function(_0x38e93b,_0x41c4eb){const _0x30fb1a=_0x3b6b8d;return _0xf79304[_0x30fb1a(0x1bf)](_0x38e93b,_0x41c4eb);},'rCBxT':function(_0xb3ada2,_0x3a0f2a){return _0xf79304['JKwcU'](_0xb3ada2,_0x3a0f2a);},'UfBlw':_0xf79304[_0x3b6b8d(0x261)],'EBSAc':_0xf79304['qHOsn'],'zvpCW':_0xf79304['rQXoh'],'kcaYc':function(_0x2a8052,_0xbd7074){const _0x1e8aa0=_0x3b6b8d;return _0xf79304[_0x1e8aa0(0x1a7)](_0x2a8052,_0xbd7074);}};_0x1ed1d4[_0x109fd7]={'pending':[],'failures':[],'passes':[],'tests':_0x454d40[_0x109fd7][_0xf79304['UqElT']][_0x3b6b8d(0x23e)](clean)},_0x454d40[_0x109fd7][_0xf79304['UqElT']][_0x3b6b8d(0x282)](_0x2bd184=>{const _0x5c57e0=_0x3b6b8d;if(_0x1fab44[_0x5c57e0(0x1ef)](_0x2bd184['state'],_0x1fab44[_0x5c57e0(0x1df)]))_0x1ed1d4[_0x109fd7][_0x1fab44[_0x5c57e0(0x227)]]['push'](_0x1fab44['qNelV'](clean,_0x2bd184));else _0x1fab44['rCBxT'](_0x2bd184[_0x5c57e0(0x1e5)],_0x1fab44['UfBlw'])?_0x1ed1d4[_0x109fd7][_0x1fab44[_0x5c57e0(0x200)]][_0x5c57e0(0x28e)](_0x1fab44['qNelV'](clean,_0x2bd184)):_0x1ed1d4[_0x109fd7][_0x1fab44['zvpCW']]['push'](_0x1fab44[_0x5c57e0(0x28a)](clean,_0x2bd184));});});if(_0x459799['output'])try{logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x287)],_0x459799[_0x220c57(0x28c)]),fs['writeFileSync'](_0x459799[_0x220c57(0x28c)],JSON[_0x220c57(0x1a8)](_0x1ed1d4,null,0x3));}catch(_0x3e27af){logger[_0x220c57(0x271)](_0xf79304[_0x220c57(0x1ba)],_0x459799[_0x220c57(0x28c)]),logger[_0x220c57(0x1db)](_0x3e27af);}else logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x1ce)]),console['log'](JSON[_0x220c57(0x1a8)](_0x1ed1d4,null,0x3));}else{if(_0xf79304['MVDrv'](_0x3d0c04,_0xf79304[_0x220c57(0x27b)])){let _0x593a77;const _0x46d188=_0xf79304[_0x220c57(0x1b9)];_0x459799&&(_0x593a77=_0x459799[_0x220c57(0x25b)]);_0x593a77=_0xf79304[_0x220c57(0x252)](_0x593a77,_0x46d188);let _0x167e4c=0x0,_0x229f10=0x0,_0x10dba1=0x0,_0x54767e=0x0;_0xc67634[_0x220c57(0x282)](_0x38316d=>{const _0x2f87fa=_0x220c57;_0x454d40[_0x38316d][_0xf79304['UqElT']][_0x2f87fa(0x282)](_0x281af7=>{const _0x4d7d49=_0x2f87fa;if(_0xf79304['JKwcU'](_0x281af7[_0x4d7d49(0x1e5)],_0xf79304['FPHEf']))_0x167e4c++;else _0xf79304['qfsKQ'](_0x281af7[_0x4d7d49(0x1e5)],_0xf79304['KMinX'])&&_0x229f10++;_0x10dba1++,_0x54767e+=_0xf79304[_0x4d7d49(0x20c)](_0x281af7[_0x4d7d49(0x219)],0x1);});}),_0xf79304[_0x220c57(0x1a7)](xunitWrite,_0xf79304[_0x220c57(0x1fb)](tag,_0xf79304[_0x220c57(0x25c)],{'name':_0x593a77,'tests':_0x10dba1,'failures':0x0,'errors':_0x229f10,'skipped':_0xf79304[_0x220c57(0x279)](_0xf79304[_0x220c57(0x1c0)](_0x10dba1,_0x229f10),_0x167e4c),'timestamp':new Date()['toUTCString'](),'time':_0xf79304[_0x220c57(0x245)](_0x54767e,0x3e8)||0x0},![])),_0xc67634['forEach'](_0x5d665d=>{const _0x26d350=_0x220c57,_0x1b0139={'JWOjt':function(_0x31ebd6,_0x4b4981,_0x23bbd6){const _0x24bc8a=a28_0x3612;return _0xf79304[_0x24bc8a(0x1af)](_0x31ebd6,_0x4b4981,_0x23bbd6);}};_0x454d40[_0x5d665d][_0xf79304[_0x26d350(0x1ff)]][_0x26d350(0x282)](_0x266908=>{const _0xc9f67d=_0x26d350;_0x1b0139[_0xc9f67d(0x1b7)](xunitTest,_0x266908,_0x5d665d);});}),_0xf79304[_0x220c57(0x25f)](xunitWrite,_0xf79304[_0x220c57(0x1a3)]);if(_0x459799['output'])try{logger['debug'](_0xf79304[_0x220c57(0x27e)],_0x459799[_0x220c57(0x28c)]),fs[_0x220c57(0x1c5)](_0x459799['output'],xunitContent);}catch(_0x40d28e){logger[_0x220c57(0x271)](_0xf79304[_0x220c57(0x253)],_0x459799[_0x220c57(0x28c)]),logger[_0x220c57(0x1db)](_0x40d28e);}else logger['debug'](_0xf79304[_0x220c57(0x1a9)]),console[_0x220c57(0x26f)](xunitContent);}else{if(_0xf79304[_0x220c57(0x1f1)](_0x53eee2,0x0))return;console['log'](),logger[_0x220c57(0x1db)](_0xf79304[_0x220c57(0x1a4)]),console[_0x220c57(0x26f)](chalk[_0x220c57(0x218)][_0x220c57(0x257)](_0xf79304[_0x220c57(0x23c)])),_0xc67634[_0x220c57(0x282)](_0x2facc0=>{const _0x5efb7a=_0x220c57,_0x10ab0e=[];_0x454d40[_0x2facc0][_0xf79304[_0x5efb7a(0x1ff)]][_0x5efb7a(0x282)](_0x4bc7e3=>{const _0x368290=_0x5efb7a;_0xf79304['gvAAf'](_0x4bc7e3[_0x368290(0x1e5)],_0xf79304[_0x368290(0x261)])&&(_0x4bc7e3[_0x368290(0x286)]=()=>_0x4bc7e3['titlePathV'],_0x10ab0e['push'](_0x4bc7e3));}),_0xf79304[_0x5efb7a(0x27d)](_0x10ab0e[_0x5efb7a(0x1bb)],0x0)&&(Base[_0x5efb7a(0x265)](),Base[_0x5efb7a(0x265)](_0xf79304[_0x5efb7a(0x1b1)](_0x3fa0db),chalk[_0x5efb7a(0x218)]['bgBlueBright'](_0x2facc0)),Base[_0x5efb7a(0x27f)](_0x10ab0e));});}}}async function run(_0x2fab20,_0x45e60e,_0x12641a){const _0xf94103=a28_0x4c2383,_0x33b54f={'OXrrf':function(_0x50add5,_0x13aa7f,_0x278f0c,_0x3b9962){return _0x50add5(_0x13aa7f,_0x278f0c,_0x3b9962);},'kigPN':'reporter-option','yptvF':'error\x20removing\x20tcg\x20config\x20file','BqDLz':_0xf94103(0x267),'TtpVk':_0xf94103(0x232),'gqvTu':function(_0x23ef11,_0x1729a8){return _0x23ef11!=_0x1729a8;},'vpzel':_0xf94103(0x226),'JVvGo':'mjs','eSgtm':'test','iMSFT':_0xf94103(0x268),'znyzu':function(_0x48adba,_0x3c730e){return _0x48adba(_0x3c730e);},'GQGlt':function(_0x1c86f5,_0x16b583,_0x1a0f1b){return _0x1c86f5(_0x16b583,_0x1a0f1b);},'mswkX':_0xf94103(0x1e1),'VrIQo':_0xf94103(0x1d4),'KtZat':_0xf94103(0x1fc),'wBsRS':function(_0x3a39f4,_0x5b9adb){return _0x3a39f4*_0x5b9adb;},'uAokG':function(_0x1d6aa9,_0x35a0bb){return _0x1d6aa9!==_0x35a0bb;},'dzUKw':function(_0x345461,_0x41174f,_0x214aba,_0x201025){return _0x345461(_0x41174f,_0x214aba,_0x201025);}};helper[_0xf94103(0x1cd)](_0x12641a['framework'],_0x2fab20);helper['isBrowserstackInfra']()?(await _0x12641a['initialize'](_0x2fab20),await helper[_0xf94103(0x285)](_0x12641a['config'])):await _0x12641a['setupTCGAuth']();const _0x41b634=[];let _0x19dbdb=[];if(!_0x12641a[_0xf94103(0x25e)])return;!helper[_0xf94103(0x263)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1e0)])&&(process[_0xf94103(0x215)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xf94103(0x1a8)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1e0)]));const _0x235f92=await TestHubHandler[_0xf94103(0x256)](FRAMEWORKS['MOCHA'],_0x12641a);_0x33b54f[_0xf94103(0x281)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1c1)],null)&&(process['env'][_0xf94103(0x1ab)]=_0x12641a[_0xf94103(0x25e)][_0xf94103(0x1c1)]);!helper[_0xf94103(0x263)](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x289)])&&(process[_0xf94103(0x215)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x12641a[_0xf94103(0x25e)]['accessibility']);const {extension:extension=['js',_0x33b54f[_0xf94103(0x1d1)],_0x33b54f[_0xf94103(0x1d2)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x33b54f[_0xf94103(0x22b)]]}=_0x2fab20,_0x175256={..._0x2fab20};_0x175256[_0xf94103(0x248)]=null;const _0x1f2aa3=_0x175256;let _0x52ac8e;if(testOpsHelper[_0xf94103(0x23b)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x24ac44=process[_0xf94103(0x215)][_0xf94103(0x212)];!helper[_0xf94103(0x263)](_0x12641a[_0xf94103(0x272)])&&_0x12641a[_0xf94103(0x272)]['has'](_0x33b54f[_0xf94103(0x274)])&&(_0x24ac44=_0x12641a['cliConfig']['get'](_0x33b54f[_0xf94103(0x274)])),_0x52ac8e=testOpsHelper[_0xf94103(0x254)](_0x24ac44);}if(helper['isUndefined'](_0x52ac8e)){const _0x5b48c5={};_0x5b48c5[_0xf94103(0x217)]=ignore,_0x5b48c5[_0xf94103(0x1f4)]=extension,_0x5b48c5[_0xf94103(0x222)]=file,_0x5b48c5[_0xf94103(0x1f3)]=recursive,_0x5b48c5[_0xf94103(0x202)]=sort,_0x5b48c5[_0xf94103(0x1de)]=spec,_0x52ac8e=_0x33b54f['znyzu'](collectFiles,_0x5b48c5),_0x33b54f['GQGlt'](nestedKeyValue,_0x52ac8e,[_0x33b54f[_0xf94103(0x273)]])&&(_0x52ac8e=_0x52ac8e['files']);}const _0x527bd4=helper['parseTestOrchestrationOptions'](_0x12641a[_0xf94103(0x25e)]);!helper['isEmpty'](_0x527bd4)&&helper['isNotUndefined'](_0x527bd4[_0xf94103(0x243)])&&(_0x1f2aa3[_0xf94103(0x26e)]=_0x527bd4[_0xf94103(0x243)][_0xf94103(0x260)]);if(!helper[_0xf94103(0x233)]()){const _0x316e8b=0x1,_0x375779={..._0x1f2aa3};_0x375779['spec']=[..._0x52ac8e],_0x41b634[_0xf94103(0x28e)]({'mochaOpts':_0x375779,'configuration':{'platform':os['platform']()}}),logger[_0xf94103(0x284)](_0x33b54f[_0xf94103(0x1ee)]),logger[_0xf94103(0x284)](_0x33b54f['KtZat']),_0x33b54f[_0xf94103(0x1a1)](parallelTestRun,_0x41b634,_0x316e8b,_0x12641a)[_0xf94103(0x234)](_0x27d4fa=>{const _0x33fff7=_0xf94103;PerformanceTester[_0x33fff7(0x1f2)](PerformanceEvents[_0x33fff7(0x255)]),_0x33b54f[_0x33fff7(0x1a1)](printStats,_0x27d4fa,_0x2fab20[_0x33fff7(0x1b0)],_0x2fab20[_0x33fff7(0x1ec)]||_0x2fab20[_0x33b54f[_0x33fff7(0x24d)]]);})[_0xf94103(0x1a5)](()=>{const _0x2acbfc=_0xf94103;PerformanceTester[_0x2acbfc(0x1f2)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x3802eb,tcgConfigPath:_0xca13f3}=helper[_0x2acbfc(0x1e4)]();fs['unlinkSync'](_0xca13f3),fs[_0x2acbfc(0x1e2)](_0x3802eb);}catch(_0x4e3edd){logger['debug'](_0x33b54f[_0x2acbfc(0x224)],_0x4e3edd);}try{utilities['fireFunnelTestEvent'](_0x33b54f['BqDLz'],{},_0x12641a[_0x2acbfc(0x25e)],_0x12641a[_0x2acbfc(0x1e7)]);}catch(_0x1c3302){logger[_0x2acbfc(0x1db)](_0x2acbfc(0x28d)+_0x1c3302[_0x2acbfc(0x292)]);}try{helper[_0x2acbfc(0x258)]();}catch(_0x5a6f31){logger['debug']('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x5a6f31);}testOpsHelper[_0x2acbfc(0x1ed)]();});}else{const _0x545456=helper['useW3C'](_0x12641a[_0xf94103(0x25e)]);let _0x45660d=helper['getHubUrl'](_0x12641a[_0xf94103(0x25e)]);_0x19dbdb=helper['prepareCapabilities'](_0x12641a['config'],_0x545456,constants[_0xf94103(0x21c)]['MOCHA']);helper[_0xf94103(0x250)]()['central_scanner']&&(_0x45660d=centralScannerConstants['BROWSERSTACK_GRR_US_HUB_URL']);let _0x42ff07;const _0x1b83de=_0x12641a[_0xf94103(0x25e)][_0xf94103(0x26d)]||helper['getUserWorkerCount'](_0x2fab20,_0x45e60e,_0x12641a[_0xf94103(0x25e)],constants[_0xf94103(0x21c)][_0xf94103(0x206)])||0x1;helper[_0xf94103(0x22c)](_0x12641a[_0xf94103(0x25e)])?_0x42ff07=_0x33b54f['wBsRS'](_0x12641a[_0xf94103(0x25e)][_0xf94103(0x288)][_0xf94103(0x1bb)],_0x1b83de):_0x42ff07=_0x1b83de;const _0x40f6f6=_0x33b54f['znyzu'](getPercyOptions,_0x12641a[_0xf94103(0x25e)]);if(_0x33b54f[_0xf94103(0x220)](_0x12641a['config'][_0xf94103(0x26d)],0x1))_0x52ac8e[_0xf94103(0x282)](_0x5667f3=>{const _0x9928f9=_0xf94103,_0x58043e=[];_0x19dbdb[_0x9928f9(0x282)]((_0x3c97a4,_0x19fd53)=>{const _0x493a4e=_0x9928f9,_0x12db1e={};_0x12db1e[_0x493a4e(0x1de)]=[_0x5667f3],_0x58043e[_0x493a4e(0x28e)]({'mochaOpts':Object[_0x493a4e(0x294)]({},_0x1f2aa3,_0x12db1e),'configuration':{'server':_0x45660d,'capability':_0x3c97a4,'proxySettings':_0x12641a[_0x493a4e(0x25e)]['proxySettings'],'platform':helper[_0x493a4e(0x1c2)](_0x3c97a4),'browserStackLogLevel':_0x12641a[_0x493a4e(0x25e)][_0x493a4e(0x26a)],'platformIndex':_0x19fd53,'browserStackPercyOptions':_0x40f6f6,'platformCaps':Object[_0x493a4e(0x294)]({'index':_0x19fd53},_0x12641a[_0x493a4e(0x25e)]['platforms'][_0x19fd53])}});}),_0x41b634['push'](..._0x58043e);});else{const _0x2ad41b=[];_0x19dbdb[_0xf94103(0x282)]((_0x3ddb0b,_0x3603b7)=>{const _0x5b4ade=_0xf94103;let _0x3ddd14=Object['assign']({},_0x1f2aa3);testOpsHelper[_0x5b4ade(0x23b)]()&&testOpsHelper[_0x5b4ade(0x259)]()&&(_0x3ddd14={..._0x3ddd14,'spec':[..._0x52ac8e]}),_0x2ad41b[_0x5b4ade(0x28e)]({'mochaOpts':_0x3ddd14,'configuration':{'server':_0x45660d,'capability':_0x3ddb0b,'proxySettings':_0x12641a[_0x5b4ade(0x25e)][_0x5b4ade(0x221)],'platform':helper[_0x5b4ade(0x1c2)](_0x3ddb0b),'browserStackLogLevel':_0x12641a[_0x5b4ade(0x25e)][_0x5b4ade(0x26a)],'platformIndex':_0x3603b7,'browserStackPercyOptions':_0x40f6f6,'platformCaps':Object[_0x5b4ade(0x294)]({'index':_0x3603b7},_0x12641a[_0x5b4ade(0x25e)][_0x5b4ade(0x288)][_0x3603b7])}});}),_0x41b634[_0xf94103(0x28e)](..._0x2ad41b);}logger[_0xf94103(0x284)](_0xf94103(0x1cb)+_0x12641a[_0xf94103(0x25e)]['platforms']['length']+'\x20platforms'),logger[_0xf94103(0x284)](_0x33b54f['KtZat']);let _0x2bbb60;_0x33b54f[_0xf94103(0x1a2)](parallelTestRun,_0x41b634,_0x42ff07,_0x12641a)[_0xf94103(0x234)](_0x6a0113=>{const _0xad6870=_0xf94103;PerformanceTester[_0xad6870(0x1f2)](PerformanceEvents[_0xad6870(0x255)]),_0x2bbb60=_0x6a0113,_0x33b54f[_0xad6870(0x1a1)](printStats,_0x6a0113,_0x2fab20['reporter'],_0x2fab20[_0xad6870(0x1ec)]||_0x2fab20[_0x33b54f[_0xad6870(0x24d)]]);})['finally'](async()=>{const _0x489ae4=_0xf94103;PerformanceTester['start'](PerformanceEvents[_0x489ae4(0x255)]),_0x12641a[_0x489ae4(0x20d)]=helper[_0x489ae4(0x1ca)](_0x2bbb60,_0x33b54f[_0x489ae4(0x236)]),await utilities['finalExecution'](_0x12641a),testOpsHelper['printBuildLink']();});}}function a28_0x3612(_0x2cc650,_0x257ecc){const _0x51da2b=a28_0x51da();return a28_0x3612=function(_0x3612b3,_0x4a266f){_0x3612b3=_0x3612b3-0x1a0;let _0xfc975a=_0x51da2b[_0x3612b3];return _0xfc975a;},a28_0x3612(_0x2cc650,_0x257ecc);}module[a28_0x4c2383(0x1c9)]=run;
2
+ 'use strict';const a28_0x109b11=a28_0x5454;(function(_0x306160,_0x21f5df){const _0x27d163=a28_0x5454,_0xdfffbb=_0x306160();while(!![]){try{const _0x42aa31=parseInt(_0x27d163(0x1d3))/0x1+-parseInt(_0x27d163(0x24e))/0x2*(parseInt(_0x27d163(0x241))/0x3)+-parseInt(_0x27d163(0x1d8))/0x4*(-parseInt(_0x27d163(0x172))/0x5)+parseInt(_0x27d163(0x1f3))/0x6*(-parseInt(_0x27d163(0x1d2))/0x7)+-parseInt(_0x27d163(0x1ca))/0x8+parseInt(_0x27d163(0x1bf))/0x9*(-parseInt(_0x27d163(0x16a))/0xa)+parseInt(_0x27d163(0x217))/0xb*(parseInt(_0x27d163(0x1c1))/0xc);if(_0x42aa31===_0x21f5df)break;else _0xdfffbb['push'](_0xdfffbb['shift']());}catch(_0x26c540){_0xdfffbb['push'](_0xdfffbb['shift']());}}}(a28_0x2b34,0x4d097));function a28_0x2b34(){const _0x43bfef=['files','parse','duration','getHubUrl','../../helpers/central-scanner/constants','WqPZM','pILns','config','hgvsN','sort','FRAMEWORKS','showDiff','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','MWoZR','maxRetries','writeFileSync','AtNTf','bJRnY','../../helpers/test-observability/utils','toUTCString','parseTestOrchestrationOptions','PRTLg','cliConfig','doc','IEoUq','IejYu','2971859LPrHKp','platforms','sUCdU','retries','Now,\x20showing\x20logs\x20from\x20mocha','BQdoe','JcmFx','QZQNB','message','ignore','cjs','ezcvT','BROWSERSTACK_GRR_US_HUB_URL','hrtye','bgBlueBright','Mocha\x20Tests','ZjLSf','hideDiff','xExwm','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','skipped','pFdyX','fAkEf','env','err','suite','Writing\x20json\x20result\x20to\x20file','WKJyG','Total\x20Platforms:\x20','****\x20FAILURES\x20****','hXIbo','Listing\x20all\x20the\x20failures','title','SDK_CLEANUP','jyRsB','join','parallelsPerPlatform','lKjkT','ZBHnk','XOeGn','isUndefined','hGior','13767EEAqOW','hqIyu','output','dvlWU','keys','FRdQo','stringify','VUiMQ','eijpj','mocha/lib/reporters/base.js','hDKBn','then','../../helpers/helper','118igGYHZ','log','length','bxkpl','GnwrS','rootHooks','yellow','XLQPU','state','pending','YItAC','Running\x20your\x20mocha\x20tests','Ukylt','get','PcRXo','gXhMb','forEach','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','kadCx','Printing\x20stats\x20of\x20tests','PJVIi','stats','hasOwnProperty','getPlatformName','NCpkw','testsuite','accessibility','getUserWorkerCount','info','json','recursive','../../helpers/performance/performance-tester','debug','list','OQhje','IMnjP','passed','framework','ooTjO','10KAvaDK','rerunTests','fullTitle','mOkNG','parseFileNames','accessibilityOptions','BxZwW','finally','1442495fFGHrv','totalTests','BROWSERSTACK_TEST_ACCESSIBILITY_YML','titlePath','size','SDKTestSuccessful','proxySettings','Zgdda','oxeaC','mocha','tSXIh','reporter-option','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','../utils/constants','Vyqbc','finalExecution','ftiec','file','ryosa','BsMRX','xThgT','hEqRt','isTestObservabilitySession','wJIbh','KqojQ','IYBYH','printBuildLink','bold','getErrorMessageFromResults','getTCGConfigFilePaths','lSKvV','launchBuild','zlVcS','object','mjs','KiiDg','retryTestsOnFailure','push','failures','\x20skipped','failed','WJSvE','PilzQ','ppCzZ','Duvfb','Writing\x20xunit\x20result\x20to\x20file','AvjbU','testObservability','\x20passed','currentRetry','\x20platforms','nyhZn','SPgys','\x0a\x0a\x0a','ScoaW','jXHHq','map','spec','IBtLG','platform','dCEJF','ZjSLf','\x20failed','indexOf','OSpno','bCUGV','start','call','Couldn\x27t\x20write\x20xunit\x20result\x20to','NyWmx','Total\x20Suites:\x20','testSuites','AGdEq','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','useColors','kdKrL','aGfXi','1190520cPkdNd','testcase','24LnVtMh','chalk','exports','error\x20removing\x20tcg\x20config\x20file','yzRtz','prototype','titlePathV','jlNmz','reporterOptions','4089096TqawVx','isBrowserstackInfra','BROWSERSTACK_RERUN_TESTS','QohiT','EVENTS','MOCHA','RnuSe','logLevel','1631nbwFQk','152684qcPYum','hbeHk','isEmpty','stack','bgJsv','8QfVNVk','BXkyY','kANVa','UFpgQ','../../helpers/test-observability/constants','results','consoleLog','BROWSERSTACK_TEST_OBSERVABILITY_YML','min','iijbP','getOwnPropertyNames','isPending','../../helpers/logger','YrDku','kDyIh','suiteName','handleApp','reporter','red','rmdirSync','extension','zfNdf','Peoyb','generateDiff','setupTCGAuth','YvmPC','green','1038knhNbU','Tests:\x20\x20\x20\x20\x20\x20\x20','testsPending','KkHPI','assign','uEBiD','shouldReRunObservabilityTests','notifyUpdate','has','passes'];a28_0x2b34=function(){return _0x43bfef;};return a28_0x2b34();}const chalk=require(a28_0x109b11(0x1c2)),logger=require(a28_0x109b11(0x1e4))['winstonLogger'],helper=require(a28_0x109b11(0x24d)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x109b11(0x20f)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x109b11(0x24d)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x109b11(0x24a),a28_0x109b11(0x17b)),collectFiles=requireModule('mocha/lib/cli/collect-files.js',a28_0x109b11(0x17b)),constants=require(a28_0x109b11(0x17f)),PerformanceTester=require(a28_0x109b11(0x162)),PerformanceEvents=require('../../helpers/performance/constants')[a28_0x109b11(0x1ce)],centralScannerConstants=require(a28_0x109b11(0x201)),{FRAMEWORKS}=require(a28_0x109b11(0x1dc)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a28_0x5454(_0x46f1e7,_0x513fb7){const _0x2b34f6=a28_0x2b34();return a28_0x5454=function(_0x54542b,_0x592527){_0x54542b=_0x54542b-0x156;let _0x55b03b=_0x2b34f6[_0x54542b];return _0x55b03b;},a28_0x5454(_0x46f1e7,_0x513fb7);}function tag(_0x446d53,_0x40f4e8,_0x5b625b,_0x3a0134){const _0xa745=a28_0x109b11,_0x27d071={'zfNdf':function(_0x13d856,_0x55be65){return _0x13d856+_0x55be65;},'fAkEf':function(_0x563226,_0x197311){return _0x563226+_0x197311;},'hXIbo':function(_0x4d1aaa,_0x202d67){return _0x4d1aaa(_0x202d67);},'ZjLSf':function(_0x41c430,_0x2187a5){return _0x41c430+_0x2187a5;},'PJVIi':function(_0x4f9ea3,_0x4ab0d0){return _0x4f9ea3+_0x4ab0d0;},'WJSvE':function(_0x4541d5,_0x16c5ab){return _0x4541d5+_0x16c5ab;}},_0x10a515=_0x5b625b?'/>':'>',_0x5f262e=[];let _0x446f39;for(const _0x2b0c18 in _0x40f4e8){Object[_0xa745(0x1c6)][_0xa745(0x159)][_0xa745(0x1b5)](_0x40f4e8,_0x2b0c18)&&_0x5f262e[_0xa745(0x197)](_0x27d071[_0xa745(0x1ed)](_0x27d071[_0xa745(0x22d)](_0x27d071[_0xa745(0x22d)](_0x2b0c18,'=\x22'),_0x27d071[_0xa745(0x235)](escape,_0x40f4e8[_0x2b0c18])),'\x22'));}return _0x446f39=_0x27d071[_0xa745(0x1ed)](_0x27d071['ZjLSf'](_0x27d071[_0xa745(0x227)]('<',_0x446d53),_0x5f262e['length']?_0x27d071[_0xa745(0x157)]('\x20',_0x5f262e[_0xa745(0x23a)]('\x20')):''),_0x10a515),_0x3a0134&&(_0x446f39+=_0x27d071[_0xa745(0x157)](_0x27d071[_0xa745(0x19b)](_0x27d071['zfNdf'](_0x3a0134,'</'),_0x446d53),_0x10a515)),_0x446f39;}let xunitContent='';function xunitWrite(_0x5c85a1){xunitContent+=_0x5c85a1;}function xunitTest(_0x1db88b,_0x5b46d5){const _0x44eade=a28_0x109b11,_0x5a6876={'Duvfb':function(_0xfdc387,_0x57c39c){return _0xfdc387/_0x57c39c;},'BxZwW':function(_0x1ec4ab,_0x7c2fa8){return _0x1ec4ab===_0x7c2fa8;},'sUCdU':_0x44eade(0x19a),'jXHHq':function(_0x377099,_0x38706e){return _0x377099+_0x38706e;},'ppCzZ':function(_0x4dd93e,_0x29d46a){return _0x4dd93e(_0x29d46a);},'FRdQo':function(_0x9304ad,_0x5c5032,_0x155d38,_0x5e1af3,_0x17a695){return _0x9304ad(_0x5c5032,_0x155d38,_0x5e1af3,_0x17a695);},'KqojQ':_0x44eade(0x1c0),'pFdyX':function(_0x38d8b7,_0x58db93,_0x300ad2,_0xd3ff09,_0x48828b){return _0x38d8b7(_0x58db93,_0x300ad2,_0xd3ff09,_0x48828b);},'IEoUq':'failure','chutE':function(_0x52ea76,_0x3fe667){return _0x52ea76+_0x3fe667;},'QohiT':function(_0x494807,_0x1e0735){return _0x494807+_0x1e0735;},'vYTmf':function(_0x3c82f0,_0x23bd05){return _0x3c82f0+_0x23bd05;},'NyWmx':function(_0xd8a1a7,_0x378841){return _0xd8a1a7(_0x378841);},'bgrnJ':function(_0x237840,_0x55bbb3,_0x24d5f3,_0x593303,_0x4e68ba){return _0x237840(_0x55bbb3,_0x24d5f3,_0x593303,_0x4e68ba);},'ZjSLf':function(_0xeca07,_0xa54d4e,_0x5e7acc,_0x204b2b){return _0xeca07(_0xa54d4e,_0x5e7acc,_0x204b2b);},'OSpno':_0x44eade(0x22b),'xExwm':function(_0x1b15e4,_0x50034d){return _0x1b15e4(_0x50034d);}};Base[_0x44eade(0x1bc)]=![];var _0x1bfef1={'classname':_0x1db88b[_0x44eade(0x16c)],'name':_0x1db88b[_0x44eade(0x237)],'time':_0x5a6876[_0x44eade(0x19e)](_0x1db88b[_0x44eade(0x1ff)],0x3e8)||0x0,'platform':_0x5b46d5};if(_0x5a6876[_0x44eade(0x170)](_0x1db88b[_0x44eade(0x256)],_0x5a6876[_0x44eade(0x219)])){var _0x253840=_0x1db88b[_0x44eade(0x22f)],_0x1eef8d=!Base[_0x44eade(0x228)]&&Base[_0x44eade(0x208)](_0x253840)?_0x5a6876[_0x44eade(0x1a9)]('\x0a',Base[_0x44eade(0x1ef)](_0x253840['actual'],_0x253840['expected'])):'';_0x5a6876[_0x44eade(0x19d)](xunitWrite,_0x5a6876[_0x44eade(0x246)](tag,_0x5a6876[_0x44eade(0x18a)],_0x1bfef1,![],_0x5a6876[_0x44eade(0x22c)](tag,_0x5a6876[_0x44eade(0x215)],{},![],_0x5a6876['chutE'](_0x5a6876[_0x44eade(0x1cd)](_0x5a6876['vYTmf'](_0x5a6876[_0x44eade(0x19d)](escape,_0x253840[_0x44eade(0x21f)]),_0x5a6876['ppCzZ'](escape,_0x1eef8d)),'\x0a'),_0x5a6876[_0x44eade(0x1b7)](escape,_0x253840['stack'])))));}else _0x1db88b[_0x44eade(0x1e3)]?_0x5a6876['ppCzZ'](xunitWrite,_0x5a6876['bgrnJ'](tag,_0x5a6876[_0x44eade(0x18a)],_0x1bfef1,![],_0x5a6876[_0x44eade(0x1af)](tag,_0x5a6876[_0x44eade(0x1b2)],{},!![]))):_0x5a6876[_0x44eade(0x229)](xunitWrite,_0x5a6876[_0x44eade(0x1af)](tag,_0x5a6876[_0x44eade(0x18a)],_0x1bfef1,!![]));};function getStats(_0x31b8d4){const _0x37ce4f=a28_0x109b11,_0x168a44={};_0x168a44[_0x37ce4f(0x1a5)]=_0x37ce4f(0x230),_0x168a44[_0x37ce4f(0x21e)]=_0x37ce4f(0x167),_0x168a44['MWoZR']=_0x37ce4f(0x19a),_0x168a44[_0x37ce4f(0x1f1)]=_0x37ce4f(0x1dd);const _0x38ac55=_0x168a44,_0x2a9657=Object[_0x37ce4f(0x245)](_0x31b8d4);let _0x12faa9=0x0,_0x4922c2=0x0,_0x4d6fcd=0x0,_0xb38bed=0x0;const _0x15e3a9=new Set();_0x2a9657[_0x37ce4f(0x25e)](_0x4fccab=>{const _0x1fd08c=_0x37ce4f,_0x2ece92={};_0x2ece92[_0x1fd08c(0x21d)]=_0x38ac55[_0x1fd08c(0x1a5)],_0x2ece92[_0x1fd08c(0x1f8)]=_0x38ac55['QZQNB'],_0x2ece92[_0x1fd08c(0x1d9)]=_0x38ac55[_0x1fd08c(0x20a)];const _0x48e449=_0x2ece92;_0x31b8d4[_0x4fccab][_0x38ac55[_0x1fd08c(0x1f1)]][_0x1fd08c(0x25e)](_0x49b3c5=>{const _0xa66626=_0x1fd08c;_0x15e3a9['add'](_0x49b3c5[_0x48e449[_0xa66626(0x21d)]]),_0x12faa9++;switch(_0x49b3c5['state']){case _0x48e449[_0xa66626(0x1f8)]:_0x4d6fcd++;break;case _0x48e449[_0xa66626(0x1d9)]:_0x4922c2++;break;default:_0xb38bed++;}});});const _0x46a465={};return _0x46a465['testSuites']=_0x15e3a9[_0x37ce4f(0x176)],_0x46a465['platforms']=_0x2a9657,_0x46a465[_0x37ce4f(0x173)]=_0x12faa9,_0x46a465['testsFailed']=_0x4922c2,_0x46a465['testsPassed']=_0x4d6fcd,_0x46a465[_0x37ce4f(0x1f5)]=_0xb38bed,_0x46a465;}function errorJSON(_0x27d10d){const _0x50fcd8=a28_0x109b11;var _0x16daa8={};return Object[_0x50fcd8(0x1e2)](_0x27d10d)[_0x50fcd8(0x25e)](function(_0x1bba27){_0x16daa8[_0x1bba27]=_0x27d10d[_0x1bba27];},_0x27d10d),_0x16daa8;}function cleanCycles(_0x5b6fba){const _0x5d1a10=a28_0x109b11,_0x4204e2={};_0x4204e2['ScoaW']=function(_0x945023,_0x1cb38a){return _0x945023===_0x1cb38a;},_0x4204e2[_0x5d1a10(0x240)]=_0x5d1a10(0x193),_0x4204e2[_0x5d1a10(0x1ee)]=function(_0x4ec0aa,_0x2bd92e){return _0x4ec0aa!==_0x2bd92e;},_0x4204e2[_0x5d1a10(0x244)]=function(_0x4287d5,_0x170a1a){return _0x4287d5!==_0x170a1a;},_0x4204e2['wnoLg']=function(_0x10b33d,_0x1da9f7){return _0x10b33d+_0x1da9f7;};const _0x3975c0=_0x4204e2;var _0x5bca05=[];return JSON[_0x5d1a10(0x1fe)](JSON[_0x5d1a10(0x247)](_0x5b6fba,function(_0x34f41c,_0xff65df){const _0x1cd561=_0x5d1a10;if(_0x3975c0[_0x1cd561(0x1a8)](typeof _0xff65df,_0x3975c0[_0x1cd561(0x240)])&&_0x3975c0[_0x1cd561(0x1ee)](_0xff65df,null)){if(_0x3975c0[_0x1cd561(0x244)](_0x5bca05[_0x1cd561(0x1b1)](_0xff65df),-0x1))return _0x3975c0['wnoLg']('',_0xff65df);_0x5bca05['push'](_0xff65df);}return _0xff65df;}));}function clean(_0x28a2d1){const _0x480daf=a28_0x109b11,_0x43fed2={'WqPZM':function(_0x557e36,_0x7bac8a){return _0x557e36 instanceof _0x7bac8a;},'NCpkw':function(_0x4c9da7,_0x3d86b1){return _0x4c9da7(_0x3d86b1);},'OQhje':function(_0x3d6350,_0x40fc8b){return _0x3d6350(_0x40fc8b);}};var _0x29cf75=_0x28a2d1[_0x480daf(0x22f)]||{};return _0x43fed2[_0x480daf(0x202)](_0x29cf75,Error)&&(_0x29cf75=_0x43fed2[_0x480daf(0x15b)](errorJSON,_0x29cf75)),{'title':_0x28a2d1['title'],'fullTitle':_0x28a2d1['fullTitle'],'file':_0x28a2d1[_0x480daf(0x183)],'duration':_0x28a2d1[_0x480daf(0x1ff)],'currentRetry':_0x28a2d1[_0x480daf(0x1a3)],'speed':_0x28a2d1['speed'],'err':_0x43fed2[_0x480daf(0x165)](cleanCycles,_0x29cf75)};}function printStats(_0x32e3bf,_0x43c514=a28_0x109b11(0x1ab),_0x396094={}){const _0x4904e6=a28_0x109b11,_0x3dc8be={'PilzQ':function(_0xd6c8c0,_0x1e9803){return _0xd6c8c0(_0x1e9803);},'dCEJF':function(_0x596e33,_0x1d687d){return _0x596e33===_0x1d687d;},'lSKvV':_0x4904e6(0x167),'lcgCA':_0x4904e6(0x1fc),'AtNTf':'failed','gQGYQ':_0x4904e6(0x198),'kANVa':function(_0x308357,_0x2c1f11){return _0x308357(_0x2c1f11);},'oxeaC':_0x4904e6(0x257),'Zgdda':_0x4904e6(0x1dd),'gXhMb':function(_0x3a33ba,_0x4de571){return _0x3a33ba*_0x4de571;},'BsMRX':function(_0x1c33d8,_0xee0fb0,_0x1b1627){return _0x1c33d8(_0xee0fb0,_0x1b1627);},'lICSY':function(_0x952bd8,_0x431c42){return _0x952bd8===_0x431c42;},'kDyIh':function(_0x41928d,_0x55e506){return _0x41928d>_0x55e506;},'XOeGn':function(_0x156e67){return _0x156e67();},'IYBYH':_0x4904e6(0x214),'kmVoh':function(_0x19ee15,_0x27b12e){return _0x19ee15(_0x27b12e);},'yzRtz':function(_0x5a2f43,_0x315b66){return _0x5a2f43>_0x315b66;},'lKjkT':'Setting\x20non\x20exit\x20code\x20for\x20failures','eijpj':_0x4904e6(0x156),'IejYu':function(_0x55ad16,_0x123890){return _0x55ad16+_0x123890;},'aqqDV':_0x4904e6(0x233),'zlVcS':function(_0x2533e9,_0x4115a5){return _0x2533e9+_0x4115a5;},'hrtye':_0x4904e6(0x1b8),'VUiMQ':function(_0x33340a,_0x3775e0){return _0x33340a+_0x3775e0;},'NduJp':function(_0x4b1f1b,_0x28e6b9){return _0x4b1f1b+_0x28e6b9;},'YrDku':_0x4904e6(0x1f4),'hbeHk':function(_0x30902a,_0x52a42d){return _0x30902a>_0x52a42d;},'KiiDg':function(_0x245c6c,_0x50fd4b){return _0x245c6c>_0x50fd4b;},'jlNmz':function(_0xe40362,_0x250c95){return _0xe40362+_0x250c95;},'mOkNG':function(_0x372f7a,_0x1a82ff){return _0x372f7a+_0x1a82ff;},'bxkpl':function(_0x30b7f3,_0x532d49){return _0x30b7f3+_0x532d49;},'cfDhw':_0x4904e6(0x1a7),'XLQPU':function(_0x4d67ec,_0x41c5ed){return _0x4d67ec===_0x41c5ed;},'SPgys':_0x4904e6(0x160),'hDKBn':_0x4904e6(0x231),'iijbP':'Couldn\x27t\x20write\x20json\x20result\x20to','hqIyu':_0x4904e6(0x22a),'ooTjO':function(_0x21e869,_0x4ba990){return _0x21e869===_0x4ba990;},'wJIbh':'xunit','AGdEq':_0x4904e6(0x226),'tSXIh':function(_0x145fff,_0x29e424){return _0x145fff||_0x29e424;},'BQdoe':function(_0x5ac42a,_0x138a7e){return _0x5ac42a(_0x138a7e);},'SHyNc':function(_0xd671bb,_0x31aadc,_0x377552,_0x54608c){return _0xd671bb(_0x31aadc,_0x377552,_0x54608c);},'KkHPI':_0x4904e6(0x15c),'ezcvT':function(_0x33c9d9,_0x19ce4){return _0x33c9d9-_0x19ce4;},'YMkRz':function(_0x8480ed,_0x1ce1c9){return _0x8480ed-_0x1ce1c9;},'bgJsv':function(_0x308146,_0x28bcaa){return _0x308146/_0x28bcaa;},'qIBoA':'</testsuite>','hgvsN':_0x4904e6(0x19f),'PRTLg':_0x4904e6(0x1b6),'Vyqbc':_0x4904e6(0x25f),'PcRXo':function(_0x258a2e,_0x54675e){return _0x258a2e===_0x54675e;},'DiqSB':_0x4904e6(0x236),'ftiec':_0x4904e6(0x234)};if(_0x3dc8be[_0x4904e6(0x1ae)](_0x43c514,_0x3dc8be[_0x4904e6(0x18b)]))return;const _0x43e8e6=0x0,_0x5ae87a=()=>{const _0x1b18d=_0x4904e6;return _0x3dc8be[_0x1b18d(0x19c)](Array,_0x43e8e6)[_0x1b18d(0x23a)]('\x20\x20');},{testSuites:_0x57c8eb,platforms:_0x123f3f,totalTests:_0x4f7e81,testsFailed:_0x3e6397,testsPassed:_0x25b39b,testsPending:_0x1234f9}=_0x3dc8be['kmVoh'](getStats,_0x32e3bf);_0x3dc8be[_0x4904e6(0x1c5)](_0x3e6397,0x0)&&(logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x23c)]),process['exitCode']=Math[_0x4904e6(0x1e0)](_0x3e6397,0xff));logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x249)]);const _0x535bc8=''+_0x3dc8be[_0x4904e6(0x216)](chalk[_0x4904e6(0x18d)](_0x3dc8be['aqqDV']),_0x123f3f[_0x4904e6(0x250)]),_0x45358f=''+_0x3dc8be[_0x4904e6(0x192)](chalk[_0x4904e6(0x18d)](_0x3dc8be[_0x4904e6(0x224)]),_0x57c8eb),_0x2a5b5c=''+_0x3dc8be[_0x4904e6(0x248)](_0x3dc8be['NduJp'](_0x3dc8be['zlVcS'](chalk[_0x4904e6(0x18d)](_0x3dc8be[_0x4904e6(0x1e5)]),_0x3dc8be[_0x4904e6(0x1d4)](_0x3e6397,0x0)?chalk[_0x4904e6(0x18d)][_0x4904e6(0x1ea)](_0x3e6397+_0x4904e6(0x1b0))+',\x20':''),_0x3dc8be[_0x4904e6(0x1e6)](_0x1234f9,0x0)?chalk[_0x4904e6(0x18d)][_0x4904e6(0x254)](_0x1234f9+_0x4904e6(0x199))+',\x20':''),_0x3dc8be[_0x4904e6(0x195)](_0x25b39b,0x0)?chalk[_0x4904e6(0x18d)][_0x4904e6(0x1f2)](_0x25b39b+_0x4904e6(0x1a2))+',\x20':'')+_0x4f7e81+'\x20total';console[_0x4904e6(0x24f)](_0x3dc8be[_0x4904e6(0x1c8)](_0x3dc8be[_0x4904e6(0x16d)](_0x3dc8be[_0x4904e6(0x251)](_0x3dc8be[_0x4904e6(0x251)](_0x3dc8be['bxkpl'](_0x3dc8be['cfDhw'],_0x535bc8),'\x0a'),_0x45358f),'\x0a'),_0x2a5b5c));if(_0x3dc8be[_0x4904e6(0x255)](_0x43c514,_0x3dc8be[_0x4904e6(0x1a6)])){const _0x4f5de7={},_0x536d1e={};_0x536d1e[_0x4904e6(0x1b9)]=_0x57c8eb,_0x536d1e[_0x4904e6(0x218)]=_0x123f3f,_0x536d1e['testsFailed']=_0x3e6397,_0x536d1e['testsPassed']=_0x25b39b,_0x536d1e[_0x4904e6(0x1f5)]=_0x1234f9,_0x4f5de7[_0x4904e6(0x158)]=_0x536d1e,_0x123f3f[_0x4904e6(0x25e)](_0x35178d=>{const _0x2addbf=_0x4904e6,_0xac255f={'dnjIA':function(_0x23475a,_0x4329ac){const _0x2bbdc2=a28_0x5454;return _0x3dc8be[_0x2bbdc2(0x1ae)](_0x23475a,_0x4329ac);},'kadCx':_0x3dc8be[_0x2addbf(0x190)],'jyRsB':_0x3dc8be['lcgCA'],'WKJyG':function(_0x5553f6,_0x5751fb){const _0xf87c5e=_0x2addbf;return _0x3dc8be[_0xf87c5e(0x19c)](_0x5553f6,_0x5751fb);},'pILns':_0x3dc8be[_0x2addbf(0x20d)],'kdKrL':_0x3dc8be['gQGYQ'],'YItAC':function(_0xc68b72,_0x8b0844){const _0x592694=_0x2addbf;return _0x3dc8be[_0x592694(0x1da)](_0xc68b72,_0x8b0844);},'IMnjP':_0x3dc8be[_0x2addbf(0x17a)]};_0x4f5de7[_0x35178d]={'pending':[],'failures':[],'passes':[],'tests':_0x32e3bf[_0x35178d][_0x3dc8be[_0x2addbf(0x179)]][_0x2addbf(0x1aa)](clean)},_0x32e3bf[_0x35178d][_0x3dc8be['Zgdda']][_0x2addbf(0x25e)](_0x4d19fe=>{const _0x52a14c=_0x2addbf;if(_0xac255f['dnjIA'](_0x4d19fe[_0x52a14c(0x256)],_0xac255f[_0x52a14c(0x260)]))_0x4f5de7[_0x35178d][_0xac255f[_0x52a14c(0x239)]][_0x52a14c(0x197)](_0xac255f[_0x52a14c(0x232)](clean,_0x4d19fe));else _0xac255f['dnjIA'](_0x4d19fe[_0x52a14c(0x256)],_0xac255f[_0x52a14c(0x203)])?_0x4f5de7[_0x35178d][_0xac255f[_0x52a14c(0x1bd)]][_0x52a14c(0x197)](_0xac255f[_0x52a14c(0x258)](clean,_0x4d19fe)):_0x4f5de7[_0x35178d][_0xac255f[_0x52a14c(0x166)]][_0x52a14c(0x197)](_0xac255f['WKJyG'](clean,_0x4d19fe));});});if(_0x396094[_0x4904e6(0x243)])try{logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x24b)],_0x396094[_0x4904e6(0x243)]),fs[_0x4904e6(0x20c)](_0x396094[_0x4904e6(0x243)],JSON[_0x4904e6(0x247)](_0x4f5de7,null,0x3));}catch(_0x1612cd){logger['error'](_0x3dc8be[_0x4904e6(0x1e1)],_0x396094[_0x4904e6(0x243)]),logger['debug'](_0x1612cd);}else logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x242)]),console[_0x4904e6(0x24f)](JSON[_0x4904e6(0x247)](_0x4f5de7,null,0x3));}else{if(_0x3dc8be[_0x4904e6(0x169)](_0x43c514,_0x3dc8be[_0x4904e6(0x189)])){let _0x245bc8;const _0x415a13=_0x3dc8be[_0x4904e6(0x1ba)];_0x396094&&(_0x245bc8=_0x396094[_0x4904e6(0x1e7)]);_0x245bc8=_0x3dc8be[_0x4904e6(0x17c)](_0x245bc8,_0x415a13);let _0x366ea3=0x0,_0x32f0d0=0x0,_0x4104d4=0x0,_0x218ddd=0x0;_0x123f3f['forEach'](_0x530318=>{const _0x271c96=_0x4904e6,_0x210b50={'hEqRt':function(_0x10588d,_0x2e18c5){const _0x438f43=a28_0x5454;return _0x3dc8be[_0x438f43(0x1ae)](_0x10588d,_0x2e18c5);},'ryosa':_0x3dc8be[_0x271c96(0x190)],'RnuSe':function(_0x55d8ea,_0x22e895){const _0x45d5ef=_0x271c96;return _0x3dc8be[_0x45d5ef(0x1ae)](_0x55d8ea,_0x22e895);},'bJRnY':_0x3dc8be[_0x271c96(0x20d)],'Lpxna':function(_0x14e2bf,_0xe2f423){const _0x4ad26c=_0x271c96;return _0x3dc8be[_0x4ad26c(0x25d)](_0x14e2bf,_0xe2f423);}};_0x32e3bf[_0x530318][_0x3dc8be['Zgdda']][_0x271c96(0x25e)](_0x521ba8=>{const _0xae4e1a=_0x271c96;if(_0x210b50[_0xae4e1a(0x187)](_0x521ba8['state'],_0x210b50[_0xae4e1a(0x184)]))_0x366ea3++;else _0x210b50[_0xae4e1a(0x1d0)](_0x521ba8[_0xae4e1a(0x256)],_0x210b50[_0xae4e1a(0x20e)])&&_0x32f0d0++;_0x4104d4++,_0x218ddd+=_0x210b50['Lpxna'](_0x521ba8['duration'],0x1);});}),_0x3dc8be[_0x4904e6(0x21c)](xunitWrite,_0x3dc8be['SHyNc'](tag,_0x3dc8be[_0x4904e6(0x1f6)],{'name':_0x245bc8,'tests':_0x4104d4,'failures':0x0,'errors':_0x32f0d0,'skipped':_0x3dc8be[_0x4904e6(0x222)](_0x3dc8be['YMkRz'](_0x4104d4,_0x32f0d0),_0x366ea3),'timestamp':new Date()[_0x4904e6(0x210)](),'time':_0x3dc8be[_0x4904e6(0x1d7)](_0x218ddd,0x3e8)||0x0},![])),_0x123f3f['forEach'](_0x26cb93=>{const _0x27a22f=_0x4904e6;_0x32e3bf[_0x26cb93][_0x3dc8be['Zgdda']][_0x27a22f(0x25e)](_0x2817ab=>{const _0x55f362=_0x27a22f;_0x3dc8be[_0x55f362(0x185)](xunitTest,_0x2817ab,_0x26cb93);});}),_0x3dc8be['kmVoh'](xunitWrite,_0x3dc8be['qIBoA']);if(_0x396094[_0x4904e6(0x243)])try{logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x205)],_0x396094[_0x4904e6(0x243)]),fs['writeFileSync'](_0x396094['output'],xunitContent);}catch(_0x3d79be){logger['error'](_0x3dc8be[_0x4904e6(0x212)],_0x396094[_0x4904e6(0x243)]),logger[_0x4904e6(0x163)](_0x3d79be);}else logger[_0x4904e6(0x163)](_0x3dc8be[_0x4904e6(0x180)]),console[_0x4904e6(0x24f)](xunitContent);}else{if(_0x3dc8be[_0x4904e6(0x25c)](_0x3e6397,0x0))return;console[_0x4904e6(0x24f)](),logger[_0x4904e6(0x163)](_0x3dc8be['DiqSB']),console[_0x4904e6(0x24f)](chalk['bold']['bgRedBright'](_0x3dc8be[_0x4904e6(0x182)])),_0x123f3f[_0x4904e6(0x25e)](_0x159dac=>{const _0x4062a1=_0x4904e6,_0x51f6c1=[];_0x32e3bf[_0x159dac][_0x3dc8be[_0x4062a1(0x179)]]['forEach'](_0x45249d=>{const _0x1ea17a=_0x4062a1;_0x3dc8be['lICSY'](_0x45249d['state'],_0x3dc8be[_0x1ea17a(0x20d)])&&(_0x45249d[_0x1ea17a(0x175)]=()=>_0x45249d[_0x1ea17a(0x1c7)],_0x51f6c1[_0x1ea17a(0x197)](_0x45249d));}),_0x3dc8be[_0x4062a1(0x1e6)](_0x51f6c1[_0x4062a1(0x250)],0x0)&&(Base[_0x4062a1(0x1de)](),Base['consoleLog'](_0x3dc8be[_0x4062a1(0x23e)](_0x5ae87a),chalk[_0x4062a1(0x18d)][_0x4062a1(0x225)](_0x159dac)),Base[_0x4062a1(0x164)](_0x51f6c1));});}}}async function run(_0x476e71,_0x2a6398,_0x330f63){const _0x4054e4=a28_0x109b11,_0x9feaf1={'xThgT':function(_0x1100b7,_0x1c6d8d,_0x2bca97,_0x502dd8){return _0x1100b7(_0x1c6d8d,_0x2bca97,_0x502dd8);},'wESJx':_0x4054e4(0x17d),'jmYaP':_0x4054e4(0x1c4),'IBtLG':_0x4054e4(0x177),'PbOOG':function(_0x4d1cd0,_0x23cc37,_0x27d68a,_0x1c4294){return _0x4d1cd0(_0x23cc37,_0x27d68a,_0x1c4294);},'zkJLR':_0x4054e4(0x17b),'PQwWU':function(_0x505535,_0x55f88b){return _0x505535!=_0x55f88b;},'bCUGV':_0x4054e4(0x221),'AvjbU':_0x4054e4(0x194),'IUFXI':'test','UFpgQ':_0x4054e4(0x16b),'aGfXi':function(_0x3ed7b1,_0x4a2b69){return _0x3ed7b1(_0x4a2b69);},'GnwrS':function(_0x5217e9,_0x549ac2,_0x4c2aaa){return _0x5217e9(_0x549ac2,_0x4c2aaa);},'xkxbL':'files','NvEHl':_0x4054e4(0x259),'Ukylt':_0x4054e4(0x21b),'QPiOA':function(_0x56dbba,_0xfec7b1){return _0x56dbba*_0xfec7b1;},'ZBHnk':function(_0x21d6fa,_0x43338b){return _0x21d6fa!==_0x43338b;}};helper['setUserConfigPath'](_0x330f63[_0x4054e4(0x168)],_0x476e71);helper[_0x4054e4(0x1cb)]()?(await _0x330f63['initialize'](_0x476e71),await helper[_0x4054e4(0x1e8)](_0x330f63[_0x4054e4(0x204)])):await _0x330f63[_0x4054e4(0x1f0)]();const _0x44e06b=[];let _0x5c939d=[];if(!_0x330f63['config'])return;!helper[_0x4054e4(0x23f)](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x16f)])&&(process[_0x4054e4(0x22e)][_0x4054e4(0x209)]=JSON[_0x4054e4(0x247)](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x16f)]));const _0x37fec2=await TestHubHandler[_0x4054e4(0x191)](FRAMEWORKS['MOCHA'],_0x330f63);_0x9feaf1['PQwWU'](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x1a1)],null)&&(process[_0x4054e4(0x22e)][_0x4054e4(0x1df)]=_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x1a1)]);!helper[_0x4054e4(0x23f)](_0x330f63[_0x4054e4(0x204)]['accessibility'])&&(process['env'][_0x4054e4(0x174)]=_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x15d)]);const {extension:extension=['js',_0x9feaf1[_0x4054e4(0x1b3)],_0x9feaf1[_0x4054e4(0x1a0)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x9feaf1['IUFXI']]}=_0x476e71,_0x402709={..._0x476e71};_0x402709[_0x4054e4(0x253)]=null;const _0x18d488=_0x402709;let _0x1d4095;if(testOpsHelper[_0x4054e4(0x188)]()&&testOpsHelper[_0x4054e4(0x1f9)]()){let _0x591ac5=process['env'][_0x4054e4(0x1cc)];!helper[_0x4054e4(0x23f)](_0x330f63[_0x4054e4(0x213)])&&_0x330f63['cliConfig'][_0x4054e4(0x1fb)](_0x9feaf1['UFpgQ'])&&(_0x591ac5=_0x330f63['cliConfig'][_0x4054e4(0x25b)](_0x9feaf1[_0x4054e4(0x1db)])),_0x1d4095=testOpsHelper[_0x4054e4(0x16e)](_0x591ac5);}if(helper[_0x4054e4(0x23f)](_0x1d4095)){const _0x3f4a22={};_0x3f4a22[_0x4054e4(0x220)]=ignore,_0x3f4a22[_0x4054e4(0x1ec)]=extension,_0x3f4a22[_0x4054e4(0x183)]=file,_0x3f4a22[_0x4054e4(0x161)]=recursive,_0x3f4a22[_0x4054e4(0x206)]=sort,_0x3f4a22['spec']=spec,_0x1d4095=_0x9feaf1[_0x4054e4(0x1be)](collectFiles,_0x3f4a22),_0x9feaf1[_0x4054e4(0x252)](nestedKeyValue,_0x1d4095,[_0x9feaf1['xkxbL']])&&(_0x1d4095=_0x1d4095[_0x4054e4(0x1fd)]);}const _0x3359ec=helper[_0x4054e4(0x211)](_0x330f63[_0x4054e4(0x204)]);!helper[_0x4054e4(0x1d5)](_0x3359ec)&&helper['isNotUndefined'](_0x3359ec[_0x4054e4(0x196)])&&(_0x18d488[_0x4054e4(0x21a)]=_0x3359ec[_0x4054e4(0x196)][_0x4054e4(0x20b)]);if(!helper[_0x4054e4(0x1cb)]()){const _0x287167=0x1,_0x2b671d={..._0x18d488};_0x2b671d[_0x4054e4(0x1ab)]=[..._0x1d4095],_0x44e06b[_0x4054e4(0x197)]({'mochaOpts':_0x2b671d,'configuration':{'platform':os[_0x4054e4(0x1ad)]()}}),logger[_0x4054e4(0x15f)](_0x9feaf1['NvEHl']),logger[_0x4054e4(0x15f)](_0x9feaf1[_0x4054e4(0x25a)]),_0x9feaf1[_0x4054e4(0x186)](parallelTestRun,_0x44e06b,_0x287167,_0x330f63)[_0x4054e4(0x24c)](_0x2d926c=>{const _0x4f6d0c=_0x4054e4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x9feaf1['xThgT'](printStats,_0x2d926c,_0x476e71[_0x4f6d0c(0x1e9)],_0x476e71[_0x4f6d0c(0x1c9)]||_0x476e71[_0x9feaf1['wESJx']]);})[_0x4054e4(0x171)](()=>{const _0x386bb4=_0x4054e4;PerformanceTester[_0x386bb4(0x1b4)](PerformanceEvents[_0x386bb4(0x238)]);try{const {browserstackFolderPath:_0x5b8ede,tcgConfigPath:_0xa6003}=helper[_0x386bb4(0x18f)]();fs['unlinkSync'](_0xa6003),fs[_0x386bb4(0x1eb)](_0x5b8ede);}catch(_0x273087){logger[_0x386bb4(0x163)](_0x9feaf1['jmYaP'],_0x273087);}try{utilities['fireFunnelTestEvent'](_0x9feaf1[_0x386bb4(0x1ac)],{},_0x330f63[_0x386bb4(0x204)],_0x330f63[_0x386bb4(0x168)]);}catch(_0x292506){logger[_0x386bb4(0x163)](_0x386bb4(0x17e)+_0x292506[_0x386bb4(0x1d6)]);}try{helper[_0x386bb4(0x1fa)]();}catch(_0x2093c5){logger[_0x386bb4(0x163)](_0x386bb4(0x1bb)+_0x2093c5);}testOpsHelper[_0x386bb4(0x18c)]();});}else{const _0x8740f4=helper['useW3C'](_0x330f63[_0x4054e4(0x204)]);let _0x733428=helper[_0x4054e4(0x200)](_0x330f63[_0x4054e4(0x204)]);_0x5c939d=helper['prepareCapabilities'](_0x330f63[_0x4054e4(0x204)],_0x8740f4,constants[_0x4054e4(0x207)][_0x4054e4(0x1cf)]);helper['getCentralUser']()['central_scanner']&&(_0x733428=centralScannerConstants[_0x4054e4(0x223)]);let _0x3ae5a8;const _0x50ee6c=_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x23b)]||helper[_0x4054e4(0x15e)](_0x476e71,_0x2a6398,_0x330f63['config'],constants[_0x4054e4(0x207)][_0x4054e4(0x1cf)])||0x1;helper['validPlatformsPresent'](_0x330f63[_0x4054e4(0x204)])?_0x3ae5a8=_0x9feaf1['QPiOA'](_0x330f63[_0x4054e4(0x204)][_0x4054e4(0x218)][_0x4054e4(0x250)],_0x50ee6c):_0x3ae5a8=_0x50ee6c;const _0x364da1=_0x9feaf1['aGfXi'](getPercyOptions,_0x330f63[_0x4054e4(0x204)]);if(_0x9feaf1[_0x4054e4(0x23d)](_0x330f63[_0x4054e4(0x204)]['parallelsPerPlatform'],0x1))_0x1d4095[_0x4054e4(0x25e)](_0x345bc4=>{const _0x3e071a=_0x4054e4,_0x3dceb4=[];_0x5c939d['forEach']((_0xf1cb5f,_0x2be802)=>{const _0x2d268d=a28_0x5454,_0x6fd3da={};_0x6fd3da[_0x2d268d(0x1ab)]=[_0x345bc4],_0x3dceb4[_0x2d268d(0x197)]({'mochaOpts':Object[_0x2d268d(0x1f7)]({},_0x18d488,_0x6fd3da),'configuration':{'server':_0x733428,'capability':_0xf1cb5f,'proxySettings':_0x330f63['config']['proxySettings'],'platform':helper[_0x2d268d(0x15a)](_0xf1cb5f),'browserStackLogLevel':_0x330f63[_0x2d268d(0x204)][_0x2d268d(0x1d1)],'platformIndex':_0x2be802,'browserStackPercyOptions':_0x364da1,'platformCaps':Object[_0x2d268d(0x1f7)]({'index':_0x2be802},_0x330f63['config'][_0x2d268d(0x218)][_0x2be802])}});}),_0x44e06b[_0x3e071a(0x197)](..._0x3dceb4);});else{const _0x572280=[];_0x5c939d[_0x4054e4(0x25e)]((_0x48b197,_0x2f0c08)=>{const _0x5d89bb=_0x4054e4;let _0x26fc2d=Object['assign']({},_0x18d488);testOpsHelper[_0x5d89bb(0x188)]()&&testOpsHelper[_0x5d89bb(0x1f9)]()&&(_0x26fc2d={..._0x26fc2d,'spec':[..._0x1d4095]}),_0x572280[_0x5d89bb(0x197)]({'mochaOpts':_0x26fc2d,'configuration':{'server':_0x733428,'capability':_0x48b197,'proxySettings':_0x330f63[_0x5d89bb(0x204)][_0x5d89bb(0x178)],'platform':helper[_0x5d89bb(0x15a)](_0x48b197),'browserStackLogLevel':_0x330f63[_0x5d89bb(0x204)][_0x5d89bb(0x1d1)],'platformIndex':_0x2f0c08,'browserStackPercyOptions':_0x364da1,'platformCaps':Object[_0x5d89bb(0x1f7)]({'index':_0x2f0c08},_0x330f63[_0x5d89bb(0x204)][_0x5d89bb(0x218)][_0x2f0c08])}});}),_0x44e06b['push'](..._0x572280);}logger[_0x4054e4(0x15f)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x330f63[_0x4054e4(0x204)]['platforms'][_0x4054e4(0x250)]+_0x4054e4(0x1a4)),logger[_0x4054e4(0x15f)](_0x9feaf1[_0x4054e4(0x25a)]);let _0x3bf0d8;_0x9feaf1[_0x4054e4(0x186)](parallelTestRun,_0x44e06b,_0x3ae5a8,_0x330f63)[_0x4054e4(0x24c)](_0x543f72=>{const _0x15b566=_0x4054e4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x3bf0d8=_0x543f72,_0x9feaf1['PbOOG'](printStats,_0x543f72,_0x476e71[_0x15b566(0x1e9)],_0x476e71[_0x15b566(0x1c9)]||_0x476e71[_0x9feaf1['wESJx']]);})[_0x4054e4(0x171)](async()=>{const _0x47aa91=_0x4054e4;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x330f63['errorMessage']=helper[_0x47aa91(0x18e)](_0x3bf0d8,_0x9feaf1['zkJLR']),await utilities[_0x47aa91(0x181)](_0x330f63),testOpsHelper['printBuildLink']();});}}module[a28_0x109b11(0x1c3)]=run;
@@ -1 +1 @@
1
- function a29_0x23a8(){const _0x2ab34d=['__setBrowserOptions','ms:edgeOptions','mBGJj','chromeOptions','__driversArray','capabilities_','Proxy\x20set\x20to\x20','logLevel','safari.options','dVMRd','proxyUrl','split','safariOptions_','tQHeC','send','../../../bin/utils/constants','getHubUrl','isUndefined','EZdqg','TKywB','CAPABILITY_KEY','ChVDc','qqRWs','XdoUs','quitCount_','optimalHubUrl','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','browserstackAgentObservability','moz:firefoxOptions','__driver','se:ieOptions','Setting\x20Browserstack\x20capabilities','SBElH','forEach','nkKLx','ieOptions','708eSnxoP','585261tiJpJI','VECYf','2|3|4|5|0|1','kESSm','JpCmD','then','New\x20hub\x20url\x20set\x20to\x20','build','global','getAccessibilityResultsSummary','storeOptimalHubUrl','setGlobal','chromeOptions_','keys','SazEY','2181494WeTZMe','updateHubUrl','__drivers','set','newHubUrl','setServer','vSHLx','YiBuz','Hub\x20url\x20set\x20to\x20','url_','proxy_','ieOptions_','5862534jlEWrY','error','getRequestOptions','cWXgE','VDgbW','winstonLogger','setCapabilities','path','originalBuilder','Wcgcz','../../../helpers/logger','../../../hubAllocationMethods','KGEsT','mergeDeep','get','isPacProxy','overrideGet','getAccessibilityResults','https://','kXwAE','isBrowserstackInfra','push','firefoxOptions_','1096733njmayX','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','capability','XcmpW','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','THfgo','setLogLevel','goog:chromeOptions','NtzFN','isAccessibilityPlatform','tZcDb','SVmrf','caps_','gINOd','./helpers/patchHelper','XJvwp','../../../helpers/accessibility-automation/helper','Builder','77826YlbzEk','exports','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','7730IQsumR','gWxWG','Gpajk','getHttpAgent','HttpClient','13168hgqFUr','/wd/hub','agent_','session_','yflgC','YSAwy','edgeOptions_','160yVhWRM','../../../helpers/globals','debug','uTQFP','info','browserStackLogLevel','proxySettings','DGKlz','options_'];a29_0x23a8=function(){return _0x2ab34d;};return a29_0x23a8();}const a29_0x458fcd=a29_0x420b;(function(_0x3360d1,_0x490e3a){const _0x310ceb=a29_0x420b,_0x5b6aa2=_0x3360d1();while(!![]){try{const _0x574853=parseInt(_0x310ceb(0x1ee))/0x1+-parseInt(_0x310ceb(0x208))/0x2+-parseInt(_0x310ceb(0x200))/0x3+-parseInt(_0x310ceb(0x23c))/0x4*(parseInt(_0x310ceb(0x203))/0x5)+parseInt(_0x310ceb(0x1d7))/0x6+parseInt(_0x310ceb(0x24c))/0x7+-parseInt(_0x310ceb(0x20f))/0x8*(parseInt(_0x310ceb(0x23d))/0x9);if(_0x574853===_0x490e3a)break;else _0x5b6aa2['push'](_0x5b6aa2['shift']());}catch(_0x37d673){_0x5b6aa2['push'](_0x5b6aa2['shift']());}}}(a29_0x23a8,0xbe1dc));const logger=require(a29_0x458fcd(0x1e1))[a29_0x458fcd(0x1dc)],helper=require('../../../helpers/helper'),constants=require(a29_0x458fcd(0x227)),hubAllocator=require(a29_0x458fcd(0x1e2)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x458fcd(0x1fe)),globals=require(a29_0x458fcd(0x210)),{overrideExecute}=require(a29_0x458fcd(0x1fc)),modify=(_0x2eb75e,_0x3f7f83=null,_0x3c1993=![])=>{const _0x264dac=a29_0x458fcd,_0x2d8b4a={'SVmrf':function(_0x4bae04,_0x2b81bc){return _0x4bae04!==_0x2b81bc;},'XcmpW':'/session','SazEY':function(_0x208da0,_0x59a5de){return _0x208da0!==_0x59a5de;},'rwcDO':function(_0x3582fb,_0x54d63f){return _0x3582fb+_0x54d63f;},'THfgo':_0x264dac(0x1e9),'jtguZ':_0x264dac(0x209),'GXiSe':_0x264dac(0x1f5),'vSHLx':_0x264dac(0x21b),'QlBwT':_0x264dac(0x219),'Gpajk':'edgeOptions','cWXgE':_0x264dac(0x234),'XdoUs':'firefoxOptions','pvAdb':_0x264dac(0x220),'EZdqg':_0x264dac(0x236),'kXwAE':_0x264dac(0x23b),'tZcDb':function(_0x3ea5e6,_0x371874){return _0x3ea5e6===_0x371874;},'Wcgcz':'object','VECYf':_0x264dac(0x237),'JOoaC':_0x264dac(0x231),'XJvwp':_0x264dac(0x1ef),'TKywB':function(_0x39cae2,_0x57e7f5,_0x16e2ba){return _0x39cae2(_0x57e7f5,_0x16e2ba);},'KGEsT':function(_0x46adb9,_0x584bd9){return _0x46adb9(_0x584bd9);},'YSAwy':function(_0x15055d,_0x3c8987,_0x465e43){return _0x15055d(_0x3c8987,_0x465e43);},'VDgbW':_0x264dac(0x23f),'mBGJj':_0x264dac(0x1f7),'gINOd':_0x264dac(0x232),'SBElH':function(_0x79fba0){return _0x79fba0();},'dVMRd':function(_0x2c320e,_0x189194){return _0x2c320e(_0x189194);},'uTQFP':function(_0x5d2f3a,_0x2cf6fd,_0x3c6b74){return _0x5d2f3a(_0x2cf6fd,_0x3c6b74);},'nkKLx':function(_0xe12c04,_0x8965c4){return _0xe12c04!==_0x8965c4;},'NtzFN':function(_0x556457,_0x482c36){return _0x556457!==_0x482c36;},'kESSm':_0x264dac(0x202),'qqRWs':'Modifying\x20webdriver\x20builder'},_0x2c1941=helper['requireHttpClient']();let _0x446d26;try{_0x446d26=helper['requireSeleniumWebdriver'](),_0x446d26[_0x264dac(0x1df)]&&(_0x446d26[_0x264dac(0x1ff)]=_0x446d26['originalBuilder']);}catch(_0x76017c){return;}if(helper['isBrowserstackInfra']()){const _0x3f1fc3={};_0x3f1fc3[_0x264dac(0x21f)]=_0x2eb75e[_0x264dac(0x214)],helper[_0x264dac(0x1f4)](_0x3f1fc3,new Map(),new Map()),logger[_0x264dac(0x213)](_0x2d8b4a[_0x264dac(0x240)]),logger[_0x264dac(0x211)](_0x2d8b4a[_0x264dac(0x22e)]);}class _0x58265b extends _0x2c1941['HttpClient']{[_0x264dac(0x226)](_0x59a135){const _0x297d63=_0x264dac;if(_0x2d8b4a[_0x297d63(0x1f9)](_0x59a135[_0x297d63(0x1de)],_0x2d8b4a[_0x297d63(0x1f1)])&&_0x2d8b4a[_0x297d63(0x24b)](global[_0x297d63(0x250)],''))try{global[_0x297d63(0x250)]=_0x2d8b4a['rwcDO'](_0x2d8b4a['rwcDO'](_0x2d8b4a[_0x297d63(0x1f3)],global[_0x297d63(0x250)]),_0x2d8b4a['jtguZ']),this[_0x297d63(0x217)]=hubAllocator[_0x297d63(0x1d9)](global['newHubUrl']),logger['debug'](_0x297d63(0x243)+global['newHubUrl']),global[_0x297d63(0x250)]='';}catch(_0x2a9bf2){logger[_0x297d63(0x1d8)](_0x2a9bf2);}return super[_0x297d63(0x226)](_0x59a135);}}class _0x89b2ee extends _0x446d26[_0x264dac(0x1ff)]{[_0x264dac(0x251)](){const _0x54d6e6=_0x264dac;return this[_0x54d6e6(0x255)]=helper[_0x54d6e6(0x228)](_0x2eb75e),logger['debug'](_0x54d6e6(0x254)+this[_0x54d6e6(0x255)]),this;}[_0x264dac(0x218)](_0x2f8f9a){const _0x4094c5=_0x264dac;let _0x3c34f6={};for(const _0x16ab5e in _0x2f8f9a){switch(_0x16ab5e){case _0x2d8b4a['GXiSe']:case _0x2d8b4a[_0x4094c5(0x252)]:this[_0x4094c5(0x249)]&&(_0x3c34f6=this[_0x4094c5(0x249)][_0x4094c5(0x1e5)](this[_0x4094c5(0x249)][_0x4094c5(0x22c)])||{},this[_0x4094c5(0x249)][_0x4094c5(0x24f)](this[_0x4094c5(0x249)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a['QlBwT']:case _0x2d8b4a[_0x4094c5(0x205)]:this[_0x4094c5(0x20e)]&&(_0x3c34f6=this[_0x4094c5(0x20e)][_0x4094c5(0x1e5)](this[_0x4094c5(0x20e)][_0x4094c5(0x22c)])||{},this[_0x4094c5(0x20e)][_0x4094c5(0x24f)](this[_0x4094c5(0x20e)][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a[_0x4094c5(0x1da)]:case _0x2d8b4a[_0x4094c5(0x22f)]:this[_0x4094c5(0x1ed)]&&(_0x3c34f6=this[_0x4094c5(0x1ed)][_0x4094c5(0x1e5)](this['firefoxOptions_'][_0x4094c5(0x22c)])||{},this['firefoxOptions_'][_0x4094c5(0x24f)](this[_0x4094c5(0x1ed)][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a['pvAdb']:this[_0x4094c5(0x224)]&&(_0x3c34f6=this[_0x4094c5(0x224)][_0x4094c5(0x1e5)](this[_0x4094c5(0x224)][_0x4094c5(0x22c)])||{},this['safariOptions_'][_0x4094c5(0x24f)](this[_0x4094c5(0x224)][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;case _0x2d8b4a[_0x4094c5(0x22a)]:case _0x2d8b4a[_0x4094c5(0x1ea)]:this[_0x4094c5(0x1d6)]&&(_0x3c34f6=this['ieOptions_'][_0x4094c5(0x1e5)](this[_0x4094c5(0x1d6)][_0x4094c5(0x22c)])||{},this['ieOptions_'][_0x4094c5(0x24f)](this['ieOptions_'][_0x4094c5(0x22c)],helper[_0x4094c5(0x1e4)](_0x3c34f6,_0x2f8f9a[_0x16ab5e])));break;}}}[_0x264dac(0x1dd)](){const _0x5f01e7=_0x264dac;return logger[_0x5f01e7(0x211)](_0x2d8b4a[_0x5f01e7(0x23e)]),this[_0x5f01e7(0x218)](_0x2eb75e['capability']),Object[_0x5f01e7(0x24a)](_0x2eb75e[_0x5f01e7(0x1f0)])[_0x5f01e7(0x239)](_0x57c6da=>{const _0x36d5b5=_0x5f01e7,_0x2a39fa=this['capabilities_'][_0x36d5b5(0x1e5)](_0x57c6da);_0x2d8b4a[_0x36d5b5(0x1f8)](typeof _0x2a39fa,_0x2d8b4a[_0x36d5b5(0x1e0)])?this[_0x36d5b5(0x21d)][_0x36d5b5(0x24f)](_0x57c6da,helper[_0x36d5b5(0x1e4)](_0x2a39fa,_0x2eb75e[_0x36d5b5(0x1f0)][_0x57c6da])):this['capabilities_'][_0x36d5b5(0x24f)](_0x57c6da,_0x2eb75e[_0x36d5b5(0x1f0)][_0x57c6da]);}),this;}['build'](){const _0x3397c0=_0x264dac,_0x4cabd4={'YiBuz':_0x2d8b4a['JOoaC'],'JpCmD':_0x2d8b4a[_0x3397c0(0x1fd)],'tQHeC':function(_0x5aaacb,_0x9d2236,_0x4da281){const _0x369150=_0x3397c0;return _0x2d8b4a[_0x369150(0x22b)](_0x5aaacb,_0x9d2236,_0x4da281);},'DGKlz':function(_0x238561,_0x52fc78,_0x381ba2){const _0x4a3a42=_0x3397c0;return _0x2d8b4a[_0x4a3a42(0x22b)](_0x238561,_0x52fc78,_0x381ba2);},'ChVDc':function(_0x26fdbc,_0x5e5b55){const _0xe46163=_0x3397c0;return _0x2d8b4a[_0xe46163(0x1e3)](_0x26fdbc,_0x5e5b55);},'Ozqqf':function(_0x1c5ffd,_0x5410cc,_0x34b4e3){const _0x40e3bf=_0x3397c0;return _0x2d8b4a[_0x40e3bf(0x20d)](_0x1c5ffd,_0x5410cc,_0x34b4e3);},'yflgC':function(_0x8aeaca,_0x57f8ed,_0x377371){const _0x1c1ad1=_0x3397c0;return _0x2d8b4a[_0x1c1ad1(0x22b)](_0x8aeaca,_0x57f8ed,_0x377371);}};if(helper[_0x3397c0(0x1eb)]()){const _0x57dfca=_0x2d8b4a[_0x3397c0(0x1db)][_0x3397c0(0x223)]('|');let _0x16e43c=0x0;while(!![]){switch(_0x57dfca[_0x16e43c++]){case'0':globals['getGlobal'](_0x2d8b4a['mBGJj'])&&(!_0x2d8b4a['YSAwy'](setExtension,this,_0x2eb75e)&&globals[_0x3397c0(0x248)](_0x2d8b4a[_0x3397c0(0x21a)],![]));continue;case'1':logger['debug'](_0x2d8b4a[_0x3397c0(0x1fb)]);continue;case'2':_0x2d8b4a[_0x3397c0(0x238)](isAccessibilityAutomationSession)&&_0x2d8b4a[_0x3397c0(0x1e3)](setAccessibilityCapabilities,_0x2eb75e);continue;case'3':this[_0x3397c0(0x251)]();continue;case'4':this['setCapabilities']();continue;case'5':if(helper[_0x3397c0(0x1e6)](_0x2eb75e[_0x3397c0(0x215)][_0x3397c0(0x222)]))this[_0x3397c0(0x20a)]=helper[_0x3397c0(0x206)](_0x2eb75e[_0x3397c0(0x215)][_0x3397c0(0x222)]);else _0x2eb75e[_0x3397c0(0x215)]['proxyUrl']&&(this[_0x3397c0(0x1d5)]=_0x2eb75e[_0x3397c0(0x215)][_0x3397c0(0x222)],logger[_0x3397c0(0x211)](_0x3397c0(0x21e)+this[_0x3397c0(0x1d5)]));continue;}break;}}const _0x256c52=super[_0x3397c0(0x244)]();return _0x256c52[_0x3397c0(0x20b)]['then'](_0x3585c5=>{const _0xb1208e=_0x3397c0;try{const _0x1cd6b3=_0x3585c5[_0xb1208e(0x1fa)]['get'](_0x4cabd4[_0xb1208e(0x253)]);_0x1cd6b3?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1cd6b3),hubAllocator[_0xb1208e(0x24d)](_0x1cd6b3),helper[_0xb1208e(0x247)](_0x1cd6b3)):logger[_0xb1208e(0x211)](_0x4cabd4[_0xb1208e(0x241)]);}catch(_0x3de047){logger[_0xb1208e(0x211)](_0xb1208e(0x1f2)+_0x3de047);}}),_0x256c52[_0x3397c0(0x230)]=0x0,_0x256c52[_0x3397c0(0x242)]&&_0x256c52[_0x3397c0(0x242)](_0x31188e=>{const _0x2805c0=_0x3397c0,_0x462ce0={'gWxWG':function(_0x459ff0,_0x4c8202,_0x4755d5){const _0x372196=a29_0x420b;return _0x4cabd4[_0x372196(0x225)](_0x459ff0,_0x4c8202,_0x4755d5);}};_0x4cabd4[_0x2805c0(0x216)](overrideQuit,_0x31188e,_0x256c52),_0x4cabd4[_0x2805c0(0x22d)](overrideTakeScreenshot,_0x31188e),helper[_0x2805c0(0x1e7)](_0x31188e,_0x2eb75e),_0x4cabd4['DGKlz'](overrideExecute,_0x31188e,_0x2eb75e),_0x31188e[_0x2805c0(0x246)]=async()=>{const _0x49ce0f=_0x2805c0;return await _0x462ce0[_0x49ce0f(0x204)](getAccessibilityResultsSummary,_0x31188e,global);},_0x31188e[_0x2805c0(0x1e8)]=async()=>{const _0x22a18a=_0x2805c0;return await _0x462ce0[_0x22a18a(0x204)](getAccessibilityResults,_0x31188e,global);};}),_0x256c52[_0x3397c0(0x246)]=async()=>{return await _0x4cabd4['Ozqqf'](getAccessibilityResultsSummary,_0x256c52,global);},_0x256c52[_0x3397c0(0x1e8)]=async()=>{const _0x256d44=_0x3397c0;return await _0x4cabd4[_0x256d44(0x20c)](getAccessibilityResults,_0x256c52,global);},_0x2d8b4a[_0x3397c0(0x1e3)](overrideTakeScreenshot,_0x256c52),_0x2d8b4a[_0x3397c0(0x221)](overrideQuit,_0x256c52),helper[_0x3397c0(0x1e7)](_0x256c52,_0x2eb75e),_0x2d8b4a[_0x3397c0(0x212)](overrideExecute,_0x256c52,_0x2eb75e),helper[_0x3397c0(0x229)](global[_0x3397c0(0x21c)])&&(global[_0x3397c0(0x21c)]=[]),helper[_0x3397c0(0x229)](global[_0x3397c0(0x24e)])&&(global['__drivers']=[]),global[_0x3397c0(0x21c)][_0x3397c0(0x1ec)](_0x256c52),global[_0x3397c0(0x235)]=_0x256c52,_0x2d8b4a[_0x3397c0(0x23a)](global['__drivers'],undefined)&&global[_0x3397c0(0x24e)][_0x3397c0(0x1ec)](_0x256c52),_0x3f7f83&&helper['isUndefined'](_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x21c)])&&(_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x21c)]=[]),_0x3f7f83&&_0x2d8b4a[_0x3397c0(0x1f6)](_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x24e)],undefined)&&(_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x24e)][_0x3397c0(0x1ec)](_0x256c52),_0x3f7f83[_0x3397c0(0x245)][_0x3397c0(0x21c)][_0x3397c0(0x1ec)](_0x256c52)),_0x256c52;}}return _0x446d26[_0x264dac(0x1df)]=_0x446d26[_0x264dac(0x1ff)],_0x446d26['Builder']=_0x89b2ee,_0x2c1941[_0x264dac(0x207)]=_0x58265b,_0x446d26;};function a29_0x420b(_0x30f44c,_0x1d342b){const _0x23a837=a29_0x23a8();return a29_0x420b=function(_0x420b15,_0x51a6f4){_0x420b15=_0x420b15-0x1d5;let _0x4065e7=_0x23a837[_0x420b15];return _0x4065e7;},a29_0x420b(_0x30f44c,_0x1d342b);}module[a29_0x458fcd(0x201)][a29_0x458fcd(0x233)]=modify;
1
+ function a29_0x1808(){const _0x59634b=['UqdVx','MAnGz','requireHttpClient','getHttpAgent','DCQcK','__drivers','capability','rUZcl','OhDvS','/wd/hub','object','proxySettings','setGlobal','edgeOptions','DPRbI','lRzKS','set','moz:firefoxOptions','../../../helpers/logger','proxyUrl','2JhhWuS','capabilities_','isAccessibilityPlatform','setServer','../../../helpers/globals','firefoxOptions_','../../../bin/utils/constants','updateHubUrl','__setBrowserOptions','originalBuilder','ieOptions','FGhqo','Modifying\x20webdriver\x20builder','204715zWGJjC','KTLDe','agent_','edgeOptions_','OGvBt','chromeOptions_','827637LGOoqN','keys','safariOptions_','error','exzBg','proxy_','EXyeu','options_','Proxy\x20set\x20to\x20','UjSEH','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','setCapabilities','pDJWu','crHlE','isPacProxy','then','shAPY','kypuE','faAGe','hQxJc','33335tXVJWW','global','../../../helpers/accessibility-automation/helper','get','chromeOptions','mergeDeep','path','send','requireSeleniumWebdriver','mGMqw','ttepI','egRaU','quitCount_','./helpers/patchHelper','1428304mnDkTM','xpKUp','getAccessibilityResults','url_','106131DJcTlD','ieOptions_','NhnNR','bFSEI','ueoFw','getRequestOptions','8509864psjQxt','LsMYl','overrideGet','browserstackAgentObservability','forEach','safari.options','RxDHL','3|2|5|4|0|1','isUndefined','winstonLogger','isBrowserstackInfra','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','exports','newHubUrl','split','27tsCvvt','wmXos','vfeOH','setLogLevel','dukmd','__driversArray','debug','hbpfo','LmRcv','HttpClient','mFGlP','44rhjUoD','ms:edgeOptions','huZOa','xcpdZ','DxcZT','108Yzokye','build','New\x20hub\x20url\x20set\x20to\x20','CAPABILITY_KEY','VWXlR','push','dXgNc','goog:chromeOptions','getGlobal','Builder','__driver','HNYaB','session_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','2434010xOWQhH'];a29_0x1808=function(){return _0x59634b;};return a29_0x1808();}const a29_0x31bf60=a29_0x2fc0;(function(_0x1283c8,_0xcdac46){const _0x29c124=a29_0x2fc0,_0x33cd8b=_0x1283c8();while(!![]){try{const _0x17d47e=parseInt(_0x29c124(0x19e))/0x1*(parseInt(_0x29c124(0x165))/0x2)+-parseInt(_0x29c124(0x178))/0x3+parseInt(_0x29c124(0x1be))/0x4*(-parseInt(_0x29c124(0x18c))/0x5)+-parseInt(_0x29c124(0x142))/0x6*(-parseInt(_0x29c124(0x172))/0x7)+parseInt(_0x29c124(0x19a))/0x8+parseInt(_0x29c124(0x1b3))/0x9*(parseInt(_0x29c124(0x150))/0xa)+-parseInt(_0x29c124(0x1a4))/0xb;if(_0x17d47e===_0xcdac46)break;else _0x33cd8b['push'](_0x33cd8b['shift']());}catch(_0x3103e0){_0x33cd8b['push'](_0x33cd8b['shift']());}}}(a29_0x1808,0x6628a));const logger=require(a29_0x31bf60(0x163))[a29_0x31bf60(0x1ad)],helper=require('../../../helpers/helper'),constants=require(a29_0x31bf60(0x16b)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x31bf60(0x18e)),globals=require(a29_0x31bf60(0x169)),{overrideExecute}=require(a29_0x31bf60(0x199)),modify=(_0x521f6c,_0x2e0e23=null,_0x40de66=![])=>{const _0x4091e2=a29_0x31bf60,_0x1556ba={'MAnGz':function(_0x44518e,_0x30205a){return _0x44518e!==_0x30205a;},'EXyeu':'/session','OhDvS':function(_0x285c11,_0xd47253){return _0x285c11!==_0xd47253;},'shAPY':function(_0x4f1060,_0x4e41ae){return _0x4f1060+_0x4e41ae;},'pDJWu':function(_0x19fcaf,_0x291cb5){return _0x19fcaf+_0x291cb5;},'dukmd':'https://','LsMYl':_0x4091e2(0x15a),'egRaU':_0x4091e2(0x149),'mGMqw':_0x4091e2(0x190),'mFGlP':_0x4091e2(0x1bf),'nnKBd':_0x4091e2(0x15e),'HNYaB':_0x4091e2(0x162),'wmXos':'firefoxOptions','ueoFw':_0x4091e2(0x1a9),'KTLDe':'se:ieOptions','UjSEH':_0x4091e2(0x16f),'rUZcl':function(_0x158981,_0x383a58){return _0x158981===_0x383a58;},'DroPW':_0x4091e2(0x15b),'vfeOH':'Setting\x20Browserstack\x20capabilities','RxDHL':function(_0x5c857e,_0x149549,_0x292d84){return _0x5c857e(_0x149549,_0x292d84);},'VWXlR':'optimalHubUrl','UNUiW':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','UzcoJ':function(_0x39e49c,_0x5b57b2,_0x341b0b){return _0x39e49c(_0x5b57b2,_0x341b0b);},'ttepI':function(_0x346cfb,_0x4419bb,_0x1b9921){return _0x346cfb(_0x4419bb,_0x1b9921);},'OGvBt':'4|1|3|2|0|5','faAGe':function(_0x34a069,_0x3fe38d){return _0x34a069(_0x3fe38d);},'lRzKS':function(_0xa34b54,_0x112263,_0x1aed2e){return _0xa34b54(_0x112263,_0x1aed2e);},'UqdVx':function(_0x5dcf65,_0x57baef,_0xf08516){return _0x5dcf65(_0x57baef,_0xf08516);},'xcpdZ':_0x4091e2(0x1ab),'huZOa':_0x4091e2(0x167),'dXgNc':function(_0x3184e6,_0x5a811d,_0x277b41){return _0x3184e6(_0x5a811d,_0x277b41);},'LmRcv':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','DxcZT':function(_0x252f95){return _0x252f95();},'xpKUp':function(_0x2a1957,_0xbad7a3){return _0x2a1957(_0xbad7a3);},'crHlE':function(_0x2f25f2,_0x15c17c){return _0x2f25f2(_0x15c17c);},'hbpfo':function(_0x17a052,_0x32300b,_0x2246fa){return _0x17a052(_0x32300b,_0x2246fa);},'DCQcK':_0x4091e2(0x14f),'NhnNR':_0x4091e2(0x171)},_0x54f93f=helper[_0x4091e2(0x153)]();let _0x2a2b62;try{_0x2a2b62=helper[_0x4091e2(0x194)](),_0x2a2b62[_0x4091e2(0x16e)]&&(_0x2a2b62[_0x4091e2(0x14b)]=_0x2a2b62[_0x4091e2(0x16e)]);}catch(_0x23baab){return;}if(helper[_0x4091e2(0x1ae)]()){const _0x3e4eac={};_0x3e4eac['logLevel']=_0x521f6c['browserStackLogLevel'],helper[_0x4091e2(0x1b6)](_0x3e4eac,new Map(),new Map()),logger['info'](_0x1556ba[_0x4091e2(0x155)]),logger[_0x4091e2(0x1b9)](_0x1556ba[_0x4091e2(0x1a0)]);}class _0x526e46 extends _0x54f93f[_0x4091e2(0x1bc)]{[_0x4091e2(0x193)](_0x16c4c3){const _0x509fcc=_0x4091e2;if(_0x1556ba[_0x509fcc(0x152)](_0x16c4c3[_0x509fcc(0x192)],_0x1556ba[_0x509fcc(0x17e)])&&_0x1556ba[_0x509fcc(0x159)](global[_0x509fcc(0x1b1)],''))try{global[_0x509fcc(0x1b1)]=_0x1556ba[_0x509fcc(0x188)](_0x1556ba[_0x509fcc(0x184)](_0x1556ba[_0x509fcc(0x1b7)],global[_0x509fcc(0x1b1)]),_0x1556ba[_0x509fcc(0x1a5)]),this[_0x509fcc(0x17f)]=hubAllocator[_0x509fcc(0x1a3)](global[_0x509fcc(0x1b1)]),logger['debug'](_0x509fcc(0x144)+global['newHubUrl']),global[_0x509fcc(0x1b1)]='';}catch(_0x3b1daf){logger[_0x509fcc(0x17b)](_0x3b1daf);}return super[_0x509fcc(0x193)](_0x16c4c3);}}class _0xeb605f extends _0x2a2b62[_0x4091e2(0x14b)]{[_0x4091e2(0x168)](){const _0x4b3913=_0x4091e2;return this[_0x4b3913(0x19d)]=helper['getHubUrl'](_0x521f6c),logger[_0x4b3913(0x1b9)]('Hub\x20url\x20set\x20to\x20'+this[_0x4b3913(0x19d)]),this;}[_0x4091e2(0x16d)](_0xc53962){const _0x578799=_0x4091e2;let _0x32d123={};for(const _0x361809 in _0xc53962){switch(_0x361809){case _0x1556ba[_0x578799(0x197)]:case _0x1556ba[_0x578799(0x195)]:this[_0x578799(0x177)]&&(_0x32d123=this[_0x578799(0x177)][_0x578799(0x18f)](this[_0x578799(0x177)][_0x578799(0x145)])||{},this[_0x578799(0x177)][_0x578799(0x161)](this[_0x578799(0x177)][_0x578799(0x145)],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x1bd)]:case _0x1556ba['nnKBd']:this[_0x578799(0x175)]&&(_0x32d123=this[_0x578799(0x175)][_0x578799(0x18f)](this[_0x578799(0x175)][_0x578799(0x145)])||{},this[_0x578799(0x175)][_0x578799(0x161)](this[_0x578799(0x175)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x14d)]:case _0x1556ba[_0x578799(0x1b4)]:this['firefoxOptions_']&&(_0x32d123=this['firefoxOptions_'][_0x578799(0x18f)](this[_0x578799(0x16a)]['CAPABILITY_KEY'])||{},this[_0x578799(0x16a)][_0x578799(0x161)](this[_0x578799(0x16a)][_0x578799(0x145)],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x1a2)]:this['safariOptions_']&&(_0x32d123=this[_0x578799(0x17a)]['get'](this[_0x578799(0x17a)][_0x578799(0x145)])||{},this[_0x578799(0x17a)]['set'](this[_0x578799(0x17a)][_0x578799(0x145)],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;case _0x1556ba[_0x578799(0x173)]:case _0x1556ba[_0x578799(0x181)]:this['ieOptions_']&&(_0x32d123=this['ieOptions_'][_0x578799(0x18f)](this[_0x578799(0x19f)][_0x578799(0x145)])||{},this['ieOptions_'][_0x578799(0x161)](this[_0x578799(0x19f)]['CAPABILITY_KEY'],helper[_0x578799(0x191)](_0x32d123,_0xc53962[_0x361809])));break;}}}['setCapabilities'](){const _0x32f0cc=_0x4091e2,_0x420e26={'bFSEI':function(_0x7e37d1,_0x2c1d86){const _0x23bb2b=a29_0x2fc0;return _0x1556ba[_0x23bb2b(0x158)](_0x7e37d1,_0x2c1d86);},'hQxJc':_0x1556ba['DroPW']};return logger[_0x32f0cc(0x1b9)](_0x1556ba[_0x32f0cc(0x1b5)]),this['__setBrowserOptions'](_0x521f6c[_0x32f0cc(0x157)]),Object[_0x32f0cc(0x179)](_0x521f6c['capability'])[_0x32f0cc(0x1a8)](_0xf418e8=>{const _0x1aeaaf=_0x32f0cc,_0x434f6c=this[_0x1aeaaf(0x166)]['get'](_0xf418e8);_0x420e26[_0x1aeaaf(0x1a1)](typeof _0x434f6c,_0x420e26[_0x1aeaaf(0x18b)])?this[_0x1aeaaf(0x166)][_0x1aeaaf(0x161)](_0xf418e8,helper[_0x1aeaaf(0x191)](_0x434f6c,_0x521f6c[_0x1aeaaf(0x157)][_0xf418e8])):this[_0x1aeaaf(0x166)][_0x1aeaaf(0x161)](_0xf418e8,_0x521f6c[_0x1aeaaf(0x157)][_0xf418e8]);}),this;}[_0x4091e2(0x143)](){const _0x269871=_0x4091e2,_0xc47a4b={'OFUZZ':_0x1556ba[_0x269871(0x146)],'IDhNd':_0x1556ba['UNUiW'],'FGhqo':function(_0x450508,_0x5f069f,_0x310188){return _0x1556ba['UzcoJ'](_0x450508,_0x5f069f,_0x310188);},'kypuE':function(_0x4059f6,_0x339e0b,_0x4e0187){const _0xa78902=_0x269871;return _0x1556ba[_0xa78902(0x196)](_0x4059f6,_0x339e0b,_0x4e0187);},'DPRbI':_0x1556ba[_0x269871(0x176)],'tqonH':function(_0x1237c2,_0x1731ea){const _0xa57b94=_0x269871;return _0x1556ba[_0xa57b94(0x18a)](_0x1237c2,_0x1731ea);},'FYVji':function(_0x2a796f,_0x1473a9,_0x5a8299){const _0x5898ed=_0x269871;return _0x1556ba[_0x5898ed(0x160)](_0x2a796f,_0x1473a9,_0x5a8299);},'exzBg':function(_0x35ec07,_0x576a5d,_0x4a2693){const _0x3a3cea=_0x269871;return _0x1556ba[_0x3a3cea(0x151)](_0x35ec07,_0x576a5d,_0x4a2693);}};if(helper[_0x269871(0x1ae)]()){const _0xdd05c5=_0x1556ba[_0x269871(0x1c1)]['split']('|');let _0x192415=0x0;while(!![]){switch(_0xdd05c5[_0x192415++]){case'0':globals[_0x269871(0x14a)](_0x1556ba[_0x269871(0x1c0)])&&(!_0x1556ba[_0x269871(0x148)](setExtension,this,_0x521f6c)&&globals[_0x269871(0x15d)](_0x1556ba['huZOa'],![]));continue;case'1':logger['debug'](_0x1556ba[_0x269871(0x1bb)]);continue;case'2':this[_0x269871(0x168)]();continue;case'3':_0x1556ba[_0x269871(0x1c2)](isAccessibilityAutomationSession)&&_0x1556ba[_0x269871(0x18a)](setAccessibilityCapabilities,_0x521f6c);continue;case'4':if(helper[_0x269871(0x186)](_0x521f6c['proxySettings'][_0x269871(0x164)]))this[_0x269871(0x174)]=helper[_0x269871(0x154)](_0x521f6c[_0x269871(0x15c)][_0x269871(0x164)]);else _0x521f6c['proxySettings'][_0x269871(0x164)]&&(this[_0x269871(0x17d)]=_0x521f6c['proxySettings']['proxyUrl'],logger[_0x269871(0x1b9)](_0x269871(0x180)+this[_0x269871(0x17d)]));continue;case'5':this[_0x269871(0x183)]();continue;}break;}}const _0x1b6005=super[_0x269871(0x143)]();return _0x1b6005[_0x269871(0x14e)][_0x269871(0x187)](_0x24087f=>{const _0x5351f5=_0x269871;try{const _0x166bd6=_0x24087f['caps_'][_0x5351f5(0x18f)](_0xc47a4b['OFUZZ']);_0x166bd6?(logger[_0x5351f5(0x1b9)](_0x5351f5(0x1af)+_0x166bd6),hubAllocator[_0x5351f5(0x16c)](_0x166bd6),helper['storeOptimalHubUrl'](_0x166bd6)):logger[_0x5351f5(0x1b9)](_0xc47a4b['IDhNd']);}catch(_0x51f215){logger[_0x5351f5(0x1b9)](_0x5351f5(0x182)+_0x51f215);}}),_0x1b6005[_0x269871(0x198)]=0x0,_0x1b6005[_0x269871(0x187)]&&_0x1b6005['then'](_0x332e5f=>{const _0x5b4a36=_0x269871,_0x2270a1=_0xc47a4b[_0x5b4a36(0x15f)][_0x5b4a36(0x1b2)]('|');let _0x2d4c27=0x0;while(!![]){switch(_0x2270a1[_0x2d4c27++]){case'0':_0x332e5f['getAccessibilityResultsSummary']=async()=>{const _0x39a79a=_0x5b4a36;return await _0xc47a4b[_0x39a79a(0x170)](getAccessibilityResultsSummary,_0x332e5f,global);};continue;case'1':_0xc47a4b['tqonH'](overrideTakeScreenshot,_0x332e5f);continue;case'2':_0xc47a4b['FYVji'](overrideExecute,_0x332e5f,_0x521f6c);continue;case'3':helper[_0x5b4a36(0x1a6)](_0x332e5f,_0x521f6c);continue;case'4':_0xc47a4b[_0x5b4a36(0x17c)](overrideQuit,_0x332e5f,_0x1b6005);continue;case'5':_0x332e5f[_0x5b4a36(0x19c)]=async()=>{const _0x349dff=_0x5b4a36;return await _0xc47a4b[_0x349dff(0x189)](getAccessibilityResults,_0x332e5f,global);};continue;}break;}}),_0x1b6005['getAccessibilityResultsSummary']=async()=>{const _0x4fa355=_0x269871;return await _0xc47a4b[_0x4fa355(0x170)](getAccessibilityResultsSummary,_0x1b6005,global);},_0x1b6005['getAccessibilityResults']=async()=>{const _0xad5bfc=_0x269871;return await _0x1556ba[_0xad5bfc(0x1aa)](getAccessibilityResults,_0x1b6005,global);},_0x1556ba[_0x269871(0x19b)](overrideTakeScreenshot,_0x1b6005),_0x1556ba[_0x269871(0x185)](overrideQuit,_0x1b6005),helper[_0x269871(0x1a6)](_0x1b6005,_0x521f6c),_0x1556ba[_0x269871(0x1ba)](overrideExecute,_0x1b6005,_0x521f6c),helper[_0x269871(0x1ac)](global[_0x269871(0x1b8)])&&(global['__driversArray']=[]),helper['isUndefined'](global['__drivers'])&&(global[_0x269871(0x156)]=[]),global[_0x269871(0x1b8)][_0x269871(0x147)](_0x1b6005),global[_0x269871(0x14c)]=_0x1b6005,_0x1556ba[_0x269871(0x152)](global[_0x269871(0x156)],undefined)&&global[_0x269871(0x156)][_0x269871(0x147)](_0x1b6005),_0x2e0e23&&helper['isUndefined'](_0x2e0e23[_0x269871(0x18d)][_0x269871(0x1b8)])&&(_0x2e0e23[_0x269871(0x18d)]['__driversArray']=[]),_0x2e0e23&&_0x1556ba[_0x269871(0x152)](_0x2e0e23[_0x269871(0x18d)][_0x269871(0x156)],undefined)&&(_0x2e0e23['global'][_0x269871(0x156)][_0x269871(0x147)](_0x1b6005),_0x2e0e23[_0x269871(0x18d)][_0x269871(0x1b8)][_0x269871(0x147)](_0x1b6005)),_0x1b6005;}}return _0x2a2b62[_0x4091e2(0x16e)]=_0x2a2b62[_0x4091e2(0x14b)],_0x2a2b62['Builder']=_0xeb605f,_0x54f93f[_0x4091e2(0x1bc)]=_0x526e46,_0x2a2b62;};function a29_0x2fc0(_0x229b01,_0x5cdeef){const _0x18083b=a29_0x1808();return a29_0x2fc0=function(_0x2fc003,_0x218edd){_0x2fc003=_0x2fc003-0x142;let _0x4802b5=_0x18083b[_0x2fc003];return _0x4802b5;},a29_0x2fc0(_0x229b01,_0x5cdeef);}module[a29_0x31bf60(0x1b0)][a29_0x31bf60(0x1a7)]=modify;
@@ -1 +1 @@
1
- function a30_0x922e(_0x2c6825,_0x12bffa){const _0x318721=a30_0x3187();return a30_0x922e=function(_0x922e1a,_0x3db754){_0x922e1a=_0x922e1a-0x1ae;let _0x3f953a=_0x318721[_0x922e1a];return _0x3f953a;},a30_0x922e(_0x2c6825,_0x12bffa);}const a30_0x14d787=a30_0x922e;(function(_0x57ad71,_0x2dcd23){const _0x3998cd=a30_0x922e,_0xdc75bd=_0x57ad71();while(!![]){try{const _0x5d1dab=-parseInt(_0x3998cd(0x1b7))/0x1*(parseInt(_0x3998cd(0x1af))/0x2)+-parseInt(_0x3998cd(0x1b1))/0x3+parseInt(_0x3998cd(0x1b3))/0x4*(parseInt(_0x3998cd(0x1ae))/0x5)+-parseInt(_0x3998cd(0x1bd))/0x6*(parseInt(_0x3998cd(0x1b6))/0x7)+-parseInt(_0x3998cd(0x1ba))/0x8*(-parseInt(_0x3998cd(0x1bc))/0x9)+-parseInt(_0x3998cd(0x1b2))/0xa*(-parseInt(_0x3998cd(0x1b5))/0xb)+-parseInt(_0x3998cd(0x1b8))/0xc;if(_0x5d1dab===_0x2dcd23)break;else _0xdc75bd['push'](_0xdc75bd['shift']());}catch(_0x1b01be){_0xdc75bd['push'](_0xdc75bd['shift']());}}}(a30_0x3187,0xc7be5));const requestSpy=require(a30_0x14d787(0x1bf)),constants=require(a30_0x14d787(0x1b0)),{addRequestSpy}=require(a30_0x14d787(0x1b9));function a30_0x3187(){const _0x19361b=['restore','11goidjZ','948619ojlxmx','35sOaHBB','9640284JqTvBW','../../../helpers/test-observability/utils','8542544Jxwcky','timeout','9NlhYvF','6bxrfgh','mochaHooks','../../../helpers/request-spy','5abgUtg','34642UCiCVs','../../../bin/utils/constants','1479645cftBYz','5366420tPQIKf','5008052nCDOGW'];a30_0x3187=function(){return _0x19361b;};return a30_0x3187();}exports[a30_0x14d787(0x1be)]={'beforeAll'(){const _0x496db2={'wNLUF':function(_0x3a37c4){return _0x3a37c4();}},_0x111258='browserstack internal helper hook';_0x496db2['wNLUF'](addRequestSpy);},'afterAll'(){const _0x393021=a30_0x14d787,_0x5ce449='browserstack internal helper hook';this[_0x393021(0x1bb)](0xea60),requestSpy[_0x393021(0x1b4)]();}};
1
+ function a30_0x2fa2(_0x3f5e14,_0x53fced){const _0x1e88dd=a30_0x1e88();return a30_0x2fa2=function(_0x2fa2bf,_0x5c90b8){_0x2fa2bf=_0x2fa2bf-0x14f;let _0xbcb8cb=_0x1e88dd[_0x2fa2bf];return _0xbcb8cb;},a30_0x2fa2(_0x3f5e14,_0x53fced);}const a30_0x3fadb6=a30_0x2fa2;(function(_0x49ee7e,_0x5173d8){const _0x15c074=a30_0x2fa2,_0x58c7b5=_0x49ee7e();while(!![]){try{const _0x13add1=-parseInt(_0x15c074(0x14f))/0x1+-parseInt(_0x15c074(0x15e))/0x2*(parseInt(_0x15c074(0x15c))/0x3)+parseInt(_0x15c074(0x158))/0x4*(-parseInt(_0x15c074(0x157))/0x5)+-parseInt(_0x15c074(0x159))/0x6+-parseInt(_0x15c074(0x151))/0x7*(parseInt(_0x15c074(0x156))/0x8)+parseInt(_0x15c074(0x15a))/0x9+-parseInt(_0x15c074(0x15d))/0xa*(-parseInt(_0x15c074(0x155))/0xb);if(_0x13add1===_0x5173d8)break;else _0x58c7b5['push'](_0x58c7b5['shift']());}catch(_0x3c0ec3){_0x58c7b5['push'](_0x58c7b5['shift']());}}}(a30_0x1e88,0x4e420));function a30_0x1e88(){const _0x3f1c08=['6SoQEuo','320eblEUH','611654Ableon','233322ebqfnl','../../../helpers/test-observability/utils','14PgPivz','mochaHooks','cYyeV','../../../bin/utils/constants','577984nVLKxP','319344masUbP','55wZaBlu','198488fFyYiZ','1149018SjMaMn','2711637qxnBrN','timeout'];a30_0x1e88=function(){return _0x3f1c08;};return a30_0x1e88();}const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x3fadb6(0x154)),{addRequestSpy}=require(a30_0x3fadb6(0x150));exports[a30_0x3fadb6(0x152)]={'beforeAll'(){const _0x24e8f2=a30_0x3fadb6,_0x4c82f8={'cYyeV':function(_0x3b352f){return _0x3b352f();}},_0x390aff='browserstack internal helper hook';_0x4c82f8[_0x24e8f2(0x153)](addRequestSpy);},'afterAll'(){const _0x4032c7=a30_0x3fadb6,_0x2d60c0='browserstack internal helper hook';this[_0x4032c7(0x15b)](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a31_0x6e5408=a31_0x55a3;(function(_0x14b3c1,_0xc55309){const _0x82bd1b=a31_0x55a3,_0x541621=_0x14b3c1();while(!![]){try{const _0x53379f=parseInt(_0x82bd1b(0x1ba))/0x1+parseInt(_0x82bd1b(0x1be))/0x2*(parseInt(_0x82bd1b(0x1e7))/0x3)+parseInt(_0x82bd1b(0x1e2))/0x4+parseInt(_0x82bd1b(0x1b4))/0x5+parseInt(_0x82bd1b(0x1aa))/0x6*(-parseInt(_0x82bd1b(0x1b3))/0x7)+-parseInt(_0x82bd1b(0x1d8))/0x8*(-parseInt(_0x82bd1b(0x1c0))/0x9)+-parseInt(_0x82bd1b(0x1d7))/0xa;if(_0x53379f===_0xc55309)break;else _0x541621['push'](_0x541621['shift']());}catch(_0xd15c17){_0x541621['push'](_0x541621['shift']());}}}(a31_0x3ccf,0xb4a71));function a31_0x3ccf(){const _0x28e647=['mdGjt','type','12537oUbmsX','toISOString','split','getHooksForTest','ZkURK','failed','hqYJK','string','mapTestHooks','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','sfZNU','getHookDetails','getTestEnv','NnJDn','filter','concat','fiQAN','uuid','parent','unknown_grid','QAukW','xHfPz','alfih','_beforeAll','aFZKK','slice','forEach','getCapabilities','241734kMUqKi','passed','generic','markedStatus','getBrowserName','getHookSkippedTests','QQwem','_afterEach','rQSSb','238tIWJfd','4542895dQxqLu','pid','QfUXm','hookAnalyticsId','_beforeEach','fromEntries','600251ZPjljx','../../../helpers/testhub/utils','getSession','toJSON','278CgwjEY','yZNAn','297225cEhnXo','vWVGr','../../../helpers/test-observability/constants','state','../../../helpers/test-observability/utils','lodash','zyaxE','WPnXI','getPlatform','UJbzP','get','indexOf','browserstack','VXfkJ','getBrowserVersion','../../utils/logPatcher','_afterAll','aXiIb','__cloud_provider___','PtVSq','LhPQA','hook:','mAbHm','22493830HZtJBY','280WZfaDI','hook','ZhzOs','LAbAx','sendPlatformDetails','js-','xwsKO','qpxeo','nlreA','suites','4454304OyOGcx','bs:addPlatformDetails:','SyhYO'];a31_0x3ccf=function(){return _0x28e647;};return a31_0x3ccf();}function a31_0x55a3(_0x88ed65,_0x3c8a66){const _0x3ccf44=a31_0x3ccf();return a31_0x55a3=function(_0x55a3de,_0x572118){_0x55a3de=_0x55a3de-0x199;let _0x48ae33=_0x3ccf44[_0x55a3de];return _0x48ae33;},a31_0x55a3(_0x88ed65,_0x3c8a66);}const {v4:uuidv4}=require(a31_0x6e5408(0x19f)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x6e5408(0x1cf)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x6e5408(0x1c4)),{consoleHolder}=require(a31_0x6e5408(0x1c2)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x6e5408(0x1bb)),{isFunction}=require(a31_0x6e5408(0x1c5)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a31_0x6e5408(0x19a)]=()=>{const _0x1d4f9d=a31_0x6e5408,_0x5b4f64={'LhPQA':_0x1d4f9d(0x1ac),'mAbHm':function(_0x596219){return _0x596219();}};return{'ci':_0x5b4f64[_0x1d4f9d(0x1d4)],'key':_0x5b4f64[_0x1d4f9d(0x1d6)](uuidv4),'version':version,'collector':_0x1d4f9d(0x1dd)+name};},exports[a31_0x6e5408(0x199)]=_0x4f2564=>{const _0x34f1d0=a31_0x6e5408,_0x58db9e={};_0x58db9e[_0x34f1d0(0x1b2)]=function(_0x414dd7,_0x3671b3){return _0x414dd7!==_0x3671b3;},_0x58db9e['SyhYO']=_0x34f1d0(0x1ee),_0x58db9e[_0x34f1d0(0x1c9)]=_0x34f1d0(0x1d5),_0x58db9e[_0x34f1d0(0x1da)]=function(_0x2bdebc,_0x1f2989){return _0x2bdebc!==_0x1f2989;},_0x58db9e[_0x34f1d0(0x1e5)]=_0x34f1d0(0x1d9);const _0x528480=_0x58db9e;if(!_0x4f2564||_0x528480[_0x34f1d0(0x1b2)](typeof _0x4f2564,_0x528480[_0x34f1d0(0x1e4)]))return[null,null];if(_0x528480[_0x34f1d0(0x1b2)](_0x4f2564['indexOf'](_0x528480[_0x34f1d0(0x1c9)]),-0x1)){const _0x2367e8=_0x4f2564[_0x34f1d0(0x1e9)](_0x528480['UJbzP']);return[_0x2367e8[0x0][_0x34f1d0(0x1a7)](0x0,-0x1)[_0x34f1d0(0x1e9)]('\x22')[0x1],_0x2367e8[0x1]['substring'](0x1)];}else{if(_0x528480[_0x34f1d0(0x1da)](_0x4f2564[_0x34f1d0(0x1cb)](_0x528480[_0x34f1d0(0x1e5)]),-0x1)){const _0x4c40ba=_0x4f2564[_0x34f1d0(0x1e9)](_0x528480[_0x34f1d0(0x1e5)]);return[_0x4c40ba[0x0][_0x34f1d0(0x1a7)](0x0,-0x1)[_0x34f1d0(0x1e9)]('\x22')[0x1],_0x4f2564];}}return[null,null];},exports['getHooksForTest']=_0x12f861=>{const _0x751c9d=a31_0x6e5408,_0x2bd467={'VXfkJ':function(_0x4f9e34,_0x3cbd93){return _0x4f9e34(_0x3cbd93);},'xwsKO':_0x751c9d(0x1a5),'hqYJK':'_afterAll','QAukW':_0x751c9d(0x1b8),'zyaxE':_0x751c9d(0x1b1)};if(!_0x12f861||!_0x12f861['parent'])return[];const _0x4a8ebd=[];return[_0x2bd467[_0x751c9d(0x1de)],_0x2bd467[_0x751c9d(0x1ed)],_0x2bd467[_0x751c9d(0x1a2)],_0x2bd467[_0x751c9d(0x1c6)]][_0x751c9d(0x1a8)](_0x16147f=>{const _0x209e1e=_0x751c9d,_0x292fdb=_0x12f861['parent'][_0x16147f]||[];_0x292fdb[_0x209e1e(0x1a8)](_0x5a25c1=>{const _0x193d58=_0x209e1e;_0x5a25c1[_0x193d58(0x1b7)]&&!_0x2bd467[_0x193d58(0x1cd)](isInternalHook,_0x5a25c1['fn'])&&_0x4a8ebd['push'](_0x5a25c1[_0x193d58(0x1b7)]);});}),[..._0x4a8ebd,...exports[_0x751c9d(0x1ea)](_0x12f861[_0x751c9d(0x1a0)])];},exports[a31_0x6e5408(0x1ef)]=_0xd6a59d=>{const _0x194112=a31_0x6e5408,_0x429904={'sfZNU':function(_0xfd9a9f){return _0xfd9a9f();},'nlreA':function(_0xd1bf5,_0xb51a58){return _0xd1bf5===_0xb51a58;},'vWVGr':'_afterEach','xBXhB':function(_0x2f9e98){return _0x2f9e98();},'QQwem':_0x194112(0x1a5),'WPnXI':_0x194112(0x1d0),'LAbAx':_0x194112(0x1b8)};if(!_0xd6a59d||!_0xd6a59d[_0x194112(0x1a0)])return;[_0x429904[_0x194112(0x1b0)],_0x429904[_0x194112(0x1c7)],_0x429904[_0x194112(0x1db)],_0x429904[_0x194112(0x1c1)]][_0x194112(0x1a8)](_0x1cae15=>{const _0x9f395=_0x194112,_0x2138a3={'kRCnz':function(_0x118d63){const _0x4347b7=a31_0x55a3;return _0x429904[_0x4347b7(0x1f1)](_0x118d63);},'yZNAn':function(_0xf82003,_0x3e2659){const _0x2f0a63=a31_0x55a3;return _0x429904[_0x2f0a63(0x1e0)](_0xf82003,_0x3e2659);},'QfUXm':_0x429904[_0x9f395(0x1c1)],'PtVSq':function(_0x309534){return _0x429904['xBXhB'](_0x309534);}},_0x21d4fa=_0xd6a59d[_0x9f395(0x1a0)][_0x1cae15]||[];_0x21d4fa[_0x9f395(0x1a8)](_0x4024d9=>{const _0x11f7fb=_0x9f395;if(!_0x4024d9[_0x11f7fb(0x1b7)])_0x4024d9[_0x11f7fb(0x1b7)]=_0x2138a3['kRCnz'](uuidv4);else _0x4024d9[_0x11f7fb(0x1ad)]&&_0x2138a3[_0x11f7fb(0x1bf)](_0x1cae15,_0x2138a3[_0x11f7fb(0x1b6)])&&(_0x4024d9['hookAnalyticsId']=_0x2138a3[_0x11f7fb(0x1d3)](uuidv4),delete _0x4024d9['markedStatus']);});}),exports[_0x194112(0x1ef)](_0xd6a59d[_0x194112(0x1a0)]);},exports[a31_0x6e5408(0x1dc)]=async(_0x2229da,_0x1fc334)=>{const _0x57f855=a31_0x6e5408,_0x5466a={'ZkURK':function(_0x35f7ea){return _0x35f7ea();},'xHfPz':function(_0x272bac,_0x340d4a){return _0x272bac(_0x340d4a);},'fiQAN':'platformVersion','ekoYI':function(_0xf5e5aa,_0x574c0d){return _0xf5e5aa(_0x574c0d);},'NnJDn':function(_0x2d95d5,_0x2f5058){return _0x2d95d5===_0x2f5058;},'PpnvM':_0x57f855(0x1cc),'CgLbH':_0x57f855(0x1a1),'HwLBU':'TEST_PLATFORM'};try{if(!_0x5466a[_0x57f855(0x1eb)](shouldProcessEventForTesthub))return;const _0x525c33=await _0x2229da[_0x57f855(0x1a9)](),_0x340359=await _0x2229da[_0x57f855(0x1bc)](),_0xf8803={},_0xe508ae=Object[_0x57f855(0x1b9)](_0x340359['getCapabilities']()['map_']),_0x503870={'product':_0x5466a['xHfPz'](getObservabilityLinkedProductName,_0xe508ae),'capabilities':_0xe508ae,'platform':_0x525c33[_0x57f855(0x1c8)](),'platform_version':_0x525c33[_0x57f855(0x1ca)](_0x5466a['fiQAN'])?_0x525c33[_0x57f855(0x1ca)](_0x5466a[_0x57f855(0x19e)]):_0x5466a['ekoYI'](getPlatformVersion,_0x5466a[_0x57f855(0x19b)](global[_0x57f855(0x1d2)],_0x5466a['PpnvM'])),'browser':_0x525c33[_0x57f855(0x1ae)](),'browser_version':_0x525c33[_0x57f855(0x1ce)](),'session_id':_0x340359[_0x57f855(0x1bd)]()};global[_0x57f855(0x1d2)]?_0xf8803[global['__cloud_provider___']]=_0x503870:_0xf8803[_0x5466a['CgLbH']]=_0x503870,process['emit'](_0x57f855(0x1e3)+process[_0x57f855(0x1b5)],{'timestamp':new Date()[_0x57f855(0x1e8)](),'level':null,'message':null,'kind':_0x5466a['HwLBU'],'http_response':_0xf8803,'uuid':_0x1fc334});}catch(_0x43b7f8){_0x5466a[_0x57f855(0x1a3)](debug,_0x57f855(0x1f0)+_0x43b7f8);}},exports[a31_0x6e5408(0x1af)]=_0x3bf2c8=>{const _0xaca2a9=a31_0x6e5408,_0x12b56c={};_0x12b56c[_0xaca2a9(0x1a4)]=function(_0x45cab3,_0x5711ba){return _0x45cab3!==_0x5711ba;},_0x12b56c[_0xaca2a9(0x1df)]=_0xaca2a9(0x1d9),_0x12b56c[_0xaca2a9(0x1d1)]=_0xaca2a9(0x1ab),_0x12b56c['aFZKK']=_0xaca2a9(0x1ec);const _0x42f6d8=_0x12b56c,_0x15c328=_0x3bf2c8[_0xaca2a9(0x1e1)]['reduce']((_0x57fe23,_0x2c6244)=>{const _0x2bb712=_0xaca2a9,_0x4de870=exports['getHookSkippedTests'](_0x2c6244);return _0x4de870&&(_0x57fe23=_0x57fe23[_0x2bb712(0x19d)](_0x4de870)),_0x57fe23;},[]),_0x259326=_0x3bf2c8['tests'][_0xaca2a9(0x19c)](_0x2e4978=>{const _0x517f9b=_0xaca2a9,_0x25a1c9=_0x42f6d8[_0x517f9b(0x1a4)](_0x2e4978[_0x517f9b(0x1e6)],_0x42f6d8[_0x517f9b(0x1df)])&&!_0x2e4978[_0x517f9b(0x1ad)]&&_0x42f6d8[_0x517f9b(0x1a4)](_0x2e4978['state'],_0x42f6d8[_0x517f9b(0x1d1)])&&_0x42f6d8[_0x517f9b(0x1a4)](_0x2e4978[_0x517f9b(0x1c3)],_0x42f6d8[_0x517f9b(0x1a6)])&&!_0x2e4978['pending'];return _0x25a1c9;});return _0x259326['concat'](_0x15c328);};
1
+ function a31_0x3651(_0x2fe3b7,_0x21d070){const _0xb3c1e4=a31_0xb3c1();return a31_0x3651=function(_0x36512f,_0x17aa46){_0x36512f=_0x36512f-0x111;let _0x597a81=_0xb3c1e4[_0x36512f];return _0x597a81;},a31_0x3651(_0x2fe3b7,_0x21d070);}function a31_0xb3c1(){const _0x4b7cfd=['fFWqK','getTestEnv','XXYRL','iiGDM','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','reduce','pending','XgQaO','749020pBiutZ','57078whlwEl','347473EaNvPu','NHGDV','../../../helpers/test-observability/utils','zRfRE','wvKQC','failed','_beforeEach','IXmvn','9XfaLoV','oehTb','30656qUfdVY','sendPlatformDetails','lodash','../../../helpers/testhub/utils','string','get','cxtfi','getCapabilities','HFaZQ','onapv','lShUN','state','ydjBV','browserstack','hook:','TlgxR','getHookDetails','vQDJR','slice','getBrowserName','filter','split','uuid','substring','TEST_PLATFORM','suites','../../../../package.json','getHookSkippedTests','type','unknown_grid','mapTestHooks','toISOString','774EqDMZN','indexOf','42TQjoZw','ScIXR','../../utils/logPatcher','__cloud_provider___','qYUnp','forEach','5916890mKxwpK','EAyMW','rPZhz','_afterEach','markedStatus','LvHxD','getSession','push','getHooksForTest','concat','CuecG','EBLQj','../../../helpers/test-observability/constants','hookAnalyticsId','tests','XeLuT','getBrowserVersion','37856rsiIYt','../../../helpers/helper','platformVersion','5rvaCGR','_beforeAll','fromEntries','parent','ejmPq','Rhhvr','KGZMe','hook','bs:addPlatformDetails:','3779171LsvBKw','_afterAll'];a31_0xb3c1=function(){return _0x4b7cfd;};return a31_0xb3c1();}const a31_0x228f07=a31_0x3651;(function(_0x3df56f,_0x143d22){const _0x268571=a31_0x3651,_0x24e924=_0x3df56f();while(!![]){try{const _0x247846=parseInt(_0x268571(0x157))/0x1+-parseInt(_0x268571(0x162))/0x2*(parseInt(_0x268571(0x160))/0x3)+-parseInt(_0x268571(0x156))/0x4*(parseInt(_0x268571(0x143))/0x5)+-parseInt(_0x268571(0x129))/0x6*(-parseInt(_0x268571(0x158))/0x7)+parseInt(_0x268571(0x140))/0x8*(parseInt(_0x268571(0x127))/0x9)+-parseInt(_0x268571(0x12f))/0xa+parseInt(_0x268571(0x14c))/0xb;if(_0x247846===_0x143d22)break;else _0x24e924['push'](_0x24e924['shift']());}catch(_0xd839e1){_0x24e924['push'](_0x24e924['shift']());}}}(a31_0xb3c1,0x50998));const {v4:uuidv4}=require(a31_0x228f07(0x11d)),{name,version}=require(a31_0x228f07(0x121)),logPatcher=require(a31_0x228f07(0x12b)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x228f07(0x15a)),{consoleHolder}=require(a31_0x228f07(0x13b)),{getPlatformVersion}=require(a31_0x228f07(0x141)),{shouldProcessEventForTesthub}=require(a31_0x228f07(0x165)),{isFunction}=require(a31_0x228f07(0x164)),{patchConsoleLogger}=require(a31_0x228f07(0x15a));patchConsoleLogger(),exports[a31_0x228f07(0x14f)]=()=>{const _0x29ebd8=a31_0x228f07,_0x1a87d9={'ScIXR':'generic','wvKQC':function(_0x23e248){return _0x23e248();}};return{'ci':_0x1a87d9[_0x29ebd8(0x12a)],'key':_0x1a87d9[_0x29ebd8(0x15c)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x228f07(0x117)]=_0x2c4cfd=>{const _0x2decf3=a31_0x228f07,_0x2161b3={};_0x2161b3['cxtfi']=function(_0x4d6344,_0x595554){return _0x4d6344!==_0x595554;},_0x2161b3['JWPXv']=_0x2decf3(0x166),_0x2161b3[_0x2decf3(0x151)]=_0x2decf3(0x115),_0x2161b3[_0x2decf3(0x149)]=_0x2decf3(0x14a);const _0x20c9f0=_0x2161b3;if(!_0x2c4cfd||_0x20c9f0['cxtfi'](typeof _0x2c4cfd,_0x20c9f0['JWPXv']))return[null,null];if(_0x20c9f0[_0x2decf3(0x168)](_0x2c4cfd[_0x2decf3(0x128)](_0x20c9f0[_0x2decf3(0x151)]),-0x1)){const _0x3929d3=_0x2c4cfd[_0x2decf3(0x11c)](_0x20c9f0[_0x2decf3(0x151)]);return[_0x3929d3[0x0][_0x2decf3(0x119)](0x0,-0x1)[_0x2decf3(0x11c)]('\x22')[0x1],_0x3929d3[0x1][_0x2decf3(0x11e)](0x1)];}else{if(_0x20c9f0[_0x2decf3(0x168)](_0x2c4cfd['indexOf'](_0x20c9f0[_0x2decf3(0x149)]),-0x1)){const _0x3f388a=_0x2c4cfd[_0x2decf3(0x11c)](_0x20c9f0[_0x2decf3(0x149)]);return[_0x3f388a[0x0][_0x2decf3(0x119)](0x0,-0x1)[_0x2decf3(0x11c)]('\x22')[0x1],_0x2c4cfd];}}return[null,null];},exports['getHooksForTest']=_0x28707a=>{const _0x30e6f4=a31_0x228f07,_0x33a3e4={'oehTb':function(_0x1614dc,_0x43baaa){return _0x1614dc(_0x43baaa);},'XgQaO':_0x30e6f4(0x144),'wYIue':_0x30e6f4(0x14d),'fZQdp':_0x30e6f4(0x15e),'HFaZQ':_0x30e6f4(0x132)};if(!_0x28707a||!_0x28707a[_0x30e6f4(0x146)])return[];const _0x360a8f=[];return[_0x33a3e4[_0x30e6f4(0x155)],_0x33a3e4['wYIue'],_0x33a3e4['fZQdp'],_0x33a3e4[_0x30e6f4(0x16a)]]['forEach'](_0x5d63d4=>{const _0x5ed8d9=_0x30e6f4,_0x2d3571=_0x28707a[_0x5ed8d9(0x146)][_0x5d63d4]||[];_0x2d3571['forEach'](_0x2e96f5=>{const _0x306769=_0x5ed8d9;_0x2e96f5[_0x306769(0x13c)]&&!_0x33a3e4[_0x306769(0x161)](isInternalHook,_0x2e96f5['fn'])&&_0x360a8f[_0x306769(0x136)](_0x2e96f5[_0x306769(0x13c)]);});}),[..._0x360a8f,...exports[_0x30e6f4(0x137)](_0x28707a[_0x30e6f4(0x146)])];},exports[a31_0x228f07(0x125)]=_0x1324f7=>{const _0x5a27e1=a31_0x228f07,_0x32fba5={'Rhhvr':function(_0x4b6b19){return _0x4b6b19();},'tefdl':function(_0x325566,_0xb0c809){return _0x325566===_0xb0c809;},'IXmvn':'_afterEach','NHGDV':function(_0x2632d9){return _0x2632d9();},'TlgxR':_0x5a27e1(0x144),'onapv':_0x5a27e1(0x14d),'vQDJR':_0x5a27e1(0x15e)};if(!_0x1324f7||!_0x1324f7['parent'])return;[_0x32fba5[_0x5a27e1(0x116)],_0x32fba5[_0x5a27e1(0x16b)],_0x32fba5[_0x5a27e1(0x118)],_0x32fba5[_0x5a27e1(0x15f)]][_0x5a27e1(0x12e)](_0x5971a5=>{const _0x2f5f58=_0x5a27e1,_0x3a11d5=_0x1324f7[_0x2f5f58(0x146)][_0x5971a5]||[];_0x3a11d5[_0x2f5f58(0x12e)](_0x5b6ec1=>{const _0x52d3d6=_0x2f5f58;if(!_0x5b6ec1[_0x52d3d6(0x13c)])_0x5b6ec1[_0x52d3d6(0x13c)]=_0x32fba5[_0x52d3d6(0x148)](uuidv4);else _0x5b6ec1[_0x52d3d6(0x133)]&&_0x32fba5['tefdl'](_0x5971a5,_0x32fba5[_0x52d3d6(0x15f)])&&(_0x5b6ec1[_0x52d3d6(0x13c)]=_0x32fba5[_0x52d3d6(0x159)](uuidv4),delete _0x5b6ec1['markedStatus']);});}),exports[_0x5a27e1(0x125)](_0x1324f7[_0x5a27e1(0x146)]);},exports[a31_0x228f07(0x163)]=async(_0x4fbe03,_0x303594)=>{const _0x1ccd79=a31_0x228f07,_0x2da430={'zRfRE':function(_0x4f151e){return _0x4f151e();},'XeLuT':function(_0x356531,_0x5a7bd3){return _0x356531(_0x5a7bd3);},'ydjBV':_0x1ccd79(0x142),'XXYRL':function(_0x3f5945,_0x3eaaf2){return _0x3f5945(_0x3eaaf2);},'EBLQj':function(_0x7cf09b,_0x54d7a2){return _0x7cf09b===_0x54d7a2;},'rPZhz':_0x1ccd79(0x114),'LvHxD':_0x1ccd79(0x124),'CuecG':_0x1ccd79(0x11f)};try{if(!_0x2da430[_0x1ccd79(0x15b)](shouldProcessEventForTesthub))return;const _0x42c4ba=await _0x4fbe03[_0x1ccd79(0x169)](),_0x1866b9=await _0x4fbe03[_0x1ccd79(0x135)](),_0x226eab={},_0x3f0a14=Object[_0x1ccd79(0x145)](_0x1866b9['getCapabilities']()['map_']),_0x59c954={'product':_0x2da430[_0x1ccd79(0x13e)](getObservabilityLinkedProductName,_0x3f0a14),'capabilities':_0x3f0a14,'platform':_0x42c4ba['getPlatform'](),'platform_version':_0x42c4ba[_0x1ccd79(0x167)](_0x2da430['ydjBV'])?_0x42c4ba[_0x1ccd79(0x167)](_0x2da430[_0x1ccd79(0x113)]):_0x2da430[_0x1ccd79(0x150)](getPlatformVersion,_0x2da430[_0x1ccd79(0x13a)](global[_0x1ccd79(0x12c)],_0x2da430[_0x1ccd79(0x131)])),'browser':_0x42c4ba[_0x1ccd79(0x11a)](),'browser_version':_0x42c4ba[_0x1ccd79(0x13f)](),'session_id':_0x1866b9['toJSON']()};global[_0x1ccd79(0x12c)]?_0x226eab[global['__cloud_provider___']]=_0x59c954:_0x226eab[_0x2da430[_0x1ccd79(0x134)]]=_0x59c954,process['emit'](_0x1ccd79(0x14b)+process['pid'],{'timestamp':new Date()[_0x1ccd79(0x126)](),'level':null,'message':null,'kind':_0x2da430[_0x1ccd79(0x139)],'http_response':_0x226eab,'uuid':_0x303594});}catch(_0x4a8cb8){_0x2da430[_0x1ccd79(0x13e)](debug,_0x1ccd79(0x152)+_0x4a8cb8);}},exports['getHookSkippedTests']=_0x3e5b7f=>{const _0x48bc93=a31_0x228f07,_0x561d4d={};_0x561d4d[_0x48bc93(0x12d)]=function(_0x5efe99,_0x18e8c5){return _0x5efe99!==_0x18e8c5;},_0x561d4d['lShUN']=_0x48bc93(0x14a),_0x561d4d[_0x48bc93(0x14e)]='passed',_0x561d4d[_0x48bc93(0x147)]=function(_0x5deff0,_0x25365b){return _0x5deff0!==_0x25365b;},_0x561d4d[_0x48bc93(0x130)]=_0x48bc93(0x15d);const _0x15713a=_0x561d4d,_0x578305=_0x3e5b7f[_0x48bc93(0x120)][_0x48bc93(0x153)]((_0xcd57f7,_0x49dc84)=>{const _0x141e6c=_0x48bc93,_0x1d0dcb=exports[_0x141e6c(0x122)](_0x49dc84);return _0x1d0dcb&&(_0xcd57f7=_0xcd57f7[_0x141e6c(0x138)](_0x1d0dcb)),_0xcd57f7;},[]),_0x405bf0=_0x3e5b7f[_0x48bc93(0x13d)][_0x48bc93(0x11b)](_0x5c8be8=>{const _0x3bfdb3=_0x48bc93,_0x2d2f86=_0x15713a[_0x3bfdb3(0x12d)](_0x5c8be8[_0x3bfdb3(0x123)],_0x15713a[_0x3bfdb3(0x111)])&&!_0x5c8be8[_0x3bfdb3(0x133)]&&_0x15713a['qYUnp'](_0x5c8be8[_0x3bfdb3(0x112)],_0x15713a[_0x3bfdb3(0x14e)])&&_0x15713a[_0x3bfdb3(0x147)](_0x5c8be8[_0x3bfdb3(0x112)],_0x15713a['EAyMW'])&&!_0x5c8be8[_0x3bfdb3(0x154)];return _0x2d2f86;});return _0x405bf0[_0x48bc93(0x138)](_0x578305);};
@@ -1 +1 @@
1
- function a32_0x5eb1(){const _0x4ced95=['titlePath','Failed\x20to\x20store\x20session\x20name:\x20','8xZfLRU','49670UJknRX','thBuildUuid','startMonitoring','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','thTestRunUuid','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','PwkuY','1sKWEkb','stringify','BMAnN','isArray','index','BROWSERSTACK_TESTHUB_UUID','hvldL','push','78HrJdxW','afterAll','qkZpF','ZGiZB','TOJBv','ENV_VAR','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','__drivers','now','err','driverCleanup','currentTest','capabilities','env','FOCuk','./test-observability/mochaUtils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','vbUQN','vuTJh','HhxEd','wyxwO','1878610gWYEHO','browserstackTestName','../../helpers/accessibility-automation/scripts','ZsrvX','length','Passed','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','command','start','hUzMO','join','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','ZbIYl','OMzCG','PERFORM_SCAN','RmsyM','GYAmT','afterTest','isAccessibilityPlatform','RCZye','310814wCXfGH','format','1233873fwVoEh','WwZAk','end','../../helpers/logger','gOecO','__platformCaps','MVHkD','bstackA11yShouldScan','PFPMY','debug','SESSION_NAME','.\x20Error\x20:',',\x22level\x22:\x20\x22','app','nrVfg','finally','__error_messages__','session_','BXACd','browserstackSessionName','toMWj','gFFoV','847398vGapKv','SDK_HOOK','\x20-\x20','Hqqha','fpXks','../../helpers/accessibility-automation/helper','info','eGOfT','shift','OEKjB','quitCount_','performScan','VtwWe','afterEach','OLWUn','WgMRH','Automate\x20test\x20case\x20execution\x20has\x20started.','hwuNl','../../helpers/globals','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','TLNzO','wARUc','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','eAvBW','gPjNN','\x22}}','SYNC','UCQvV','state','IqLoU','util','ixBlw','sylkt','UBYQF','pwFKY','winstonLogger','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','measureWrapper','getCurrentUrl','OIEmm','KTTpp','rItXi','testcase','passed','executeScript','LFmwP','__sessionFailed','XKNxD','VFpYh','WgkKf','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','beforeAll','error','setGlobal','BROWSERSTACK_TESTHUB_JWT','testAnalyticsId','getGlobal','fZLDN','then','percyCaptureMode','1740347iGCZPZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','executeAsyncScript','http:','failed','HtdSe','\x20|\x20','lqFon','accessibilityScanStarted','292036EKGhZi','mOpDn','__skipSessionName','fbZMf','dvGZn','initQuit','CQuzZ','iwckY','dBhGE','tMUQg','shouldScanTestForAccessibility','tGYKP','saveTestResults','hCsVe','Failed:\x20','https:'];a32_0x5eb1=function(){return _0x4ced95;};return a32_0x5eb1();}const a32_0x3481ad=a32_0x2e41;(function(_0x2b1e7d,_0x54470b){const _0x5a0ca5=a32_0x2e41,_0x30e9f1=_0x2b1e7d();while(!![]){try{const _0x4ae46b=-parseInt(_0x5a0ca5(0x201))/0x1*(-parseInt(_0x5a0ca5(0x232))/0x2)+parseInt(_0x5a0ca5(0x24a))/0x3+-parseInt(_0x5a0ca5(0x1e7))/0x4+-parseInt(_0x5a0ca5(0x1fa))/0x5*(parseInt(_0x5a0ca5(0x209))/0x6)+-parseInt(_0x5a0ca5(0x286))/0x7*(-parseInt(_0x5a0ca5(0x1f9))/0x8)+-parseInt(_0x5a0ca5(0x234))/0x9+-parseInt(_0x5a0ca5(0x21e))/0xa;if(_0x4ae46b===_0x54470b)break;else _0x30e9f1['push'](_0x30e9f1['shift']());}catch(_0x21762a){_0x30e9f1['push'](_0x30e9f1['shift']());}}}(a32_0x5eb1,0x26e99));const util=require(a32_0x3481ad(0x268)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x3481ad(0x24f)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x3481ad(0x218)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x3481ad(0x220)),globals=require(a32_0x3481ad(0x25c)),logger=require(a32_0x3481ad(0x237))[a32_0x3481ad(0x26d)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');function a32_0x2e41(_0x12f6e2,_0x4613cd){const _0x5eb107=a32_0x5eb1();return a32_0x2e41=function(_0x2e416b,_0x4e4aee){_0x2e416b=_0x2e416b-0x1e2;let _0x45ba49=_0x5eb107[_0x2e416b];return _0x45ba49;},a32_0x2e41(_0x12f6e2,_0x4613cd);}exports['mochaHooks']={'beforeAll'(){const _0x331210=a32_0x3481ad,_0x37e9ae={'iwckY':function(_0x5cdf37,_0x35576d,_0x59807f,_0x26996f){return _0x5cdf37(_0x35576d,_0x59807f,_0x26996f);},'ZGiZB':_0x331210(0x1e2),'BXACd':_0x331210(0x1e4),'gPjNN':function(_0xde871f,_0x236e62,_0x434ed5){return _0xde871f(_0x236e62,_0x434ed5);},'GYAmT':_0x331210(0x275),'eGOfT':function(_0x41d3e5){return _0x41d3e5();},'UCQvV':function(_0x2b06dc,_0x5bae29,_0x1d2b97){return _0x2b06dc(_0x5bae29,_0x1d2b97);},'SqflN':_0x331210(0x205),'tGYKP':_0x331210(0x27d)};PerformanceTester[_0x331210(0x1fc)]();const _0x3c7dcb='browserstack internal helper hook';PerformanceTester[_0x331210(0x26f)](PerformanceSdkEvents[_0x331210(0x24b)],()=>{const _0x14766c=_0x331210,_0x5ebfb3={'zrCHd':function(_0x273c1a,_0x2a06a0,_0x4797ba,_0xe1054b){const _0x2b03b8=a32_0x2e41;return _0x37e9ae[_0x2b03b8(0x1ee)](_0x273c1a,_0x2a06a0,_0x4797ba,_0xe1054b);},'HhxEd':_0x37e9ae[_0x14766c(0x20c)],'EmDAV':_0x37e9ae[_0x14766c(0x246)],'OIEmm':function(_0xf5e7c8,_0x18fb9d,_0xc4af2e){const _0x4ba3ca=_0x14766c;return _0x37e9ae[_0x4ba3ca(0x262)](_0xf5e7c8,_0x18fb9d,_0xc4af2e);},'rItXi':_0x37e9ae[_0x14766c(0x22e)],'nrVfg':function(_0x41ae2b){const _0x4c7163=_0x14766c;return _0x37e9ae[_0x4c7163(0x251)](_0x41ae2b);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x14766c(0x213)]=async()=>{const _0x219df0=_0x14766c;let _0xc4de3c=![];try{await global[_0x219df0(0x210)][0x0][_0x219df0(0x245)],_0xc4de3c=!![],global['__sessionFailed']?await _0x5ebfb3['zrCHd'](markSessionStatus,global[_0x219df0(0x210)][0x0],_0x5ebfb3[_0x219df0(0x21c)],global[_0x219df0(0x244)][_0x219df0(0x228)](_0x5ebfb3['EmDAV'])):await _0x5ebfb3['OIEmm'](markSessionStatus,global[_0x219df0(0x210)][0x0],_0x5ebfb3[_0x219df0(0x273)]);}catch(_0x381169){logger[_0x219df0(0x23d)](_0x219df0(0x224)+_0x381169);}global[_0x219df0(0x244)]=[],global[_0x219df0(0x278)]=![];if(_0xc4de3c)try{try{_0x5ebfb3[_0x219df0(0x242)](shouldProcessEventForTesthub)&&(global[_0x219df0(0x210)][0x0]&&await _0x5ebfb3[_0x219df0(0x271)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x219df0(0x214)]['testAnalyticsId']:null));}catch(_0x52dee9){logger[_0x219df0(0x23d)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x52dee9);}await global[_0x219df0(0x210)][0x0][_0x219df0(0x1ec)]();}catch(_0x3c99ef){logger[_0x219df0(0x23d)](_0x219df0(0x260)+_0x3c99ef);}};},{'platform':_0x37e9ae[_0x331210(0x265)](nestedKeyValue,global[_0x331210(0x239)],[_0x37e9ae['SqflN']]),'hookType':_0x37e9ae[_0x331210(0x1f2)]})();},'beforeEach'(_0x34923d){const _0x221b16=a32_0x3481ad,_0x36975f={'ZsrvX':function(_0x5e62f2,_0xd12fb1){return _0x5e62f2>_0xd12fb1;},'WwZAk':_0x221b16(0x24c),'XKNxD':function(_0x2390dc,_0x4a91f1,_0x23c30b){return _0x2390dc(_0x4a91f1,_0x23c30b);},'CQuzZ':'bstackA11yShouldScan','VFpYh':function(_0x29e8d0){return _0x29e8d0();},'BMAnN':function(_0x16ea35,_0x38a454){return _0x16ea35>_0x38a454;},'ZbIYl':_0x221b16(0x230),'orNDs':function(_0x337960,_0x3a4856){return _0x337960===_0x3a4856;},'eAvBW':_0x221b16(0x289),'sylkt':function(_0x3623c8,_0x406fb1){return _0x3623c8===_0x406fb1;},'fZLDN':_0x221b16(0x1f6),'wyxwO':_0x221b16(0x26e),'cUWEo':_0x221b16(0x25a),'tMUQg':function(_0x443ce7){return _0x443ce7();},'SGwxa':_0x221b16(0x21f),'ZGyDO':function(_0x590753,_0x5c9330,_0x43d0a6){return _0x590753(_0x5c9330,_0x43d0a6);},'ZmzhT':_0x221b16(0x205),'hUzMO':'beforeEach'};globals[_0x221b16(0x27f)](_0x36975f['SGwxa'],this[_0x221b16(0x214)][_0x221b16(0x1f7)]()[_0x221b16(0x228)](_0x36975f['WwZAk'])),PerformanceTester[_0x221b16(0x26f)](PerformanceSdkEvents[_0x221b16(0x24b)],()=>{const _0x4b7d05=_0x221b16,_0x4336c2='browserstack internal helper hook';new Promise(async _0x185c07=>{const _0x5a74c4=a32_0x2e41;let _0x54e111=!![];try{_0x36975f[_0x5a74c4(0x221)](global[_0x5a74c4(0x210)][_0x5a74c4(0x222)],0x1)&&(await global[_0x5a74c4(0x213)](),global[_0x5a74c4(0x210)][_0x5a74c4(0x252)]()),_0x36975f['ZsrvX'](global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x254)],0x0)&&(_0x54e111=![],await global[_0x5a74c4(0x213)]());}catch(_0x191d72){logger['debug'](_0x5a74c4(0x260)+_0x191d72);}try{Array[_0x5a74c4(0x204)](global[_0x5a74c4(0x210)])&&global[_0x5a74c4(0x210)][0x0]&&(global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x247)]=this[_0x5a74c4(0x214)][_0x5a74c4(0x1f7)]()[_0x5a74c4(0x228)](_0x36975f[_0x5a74c4(0x235)])),global['browserstackSessionName']=this['currentTest'][_0x5a74c4(0x1f7)]()[_0x5a74c4(0x228)](_0x36975f[_0x5a74c4(0x235)]);}catch(_0x1a855e){logger[_0x5a74c4(0x23d)](_0x5a74c4(0x1f8)+_0x1a855e);}this[_0x5a74c4(0x214)][_0x5a74c4(0x1f1)]=_0x36975f[_0x5a74c4(0x279)](shouldScanTestForAccessibility,this['currentTest'][_0x5a74c4(0x1f7)](),!![]),globals[_0x5a74c4(0x27f)](_0x36975f[_0x5a74c4(0x1ed)],this[_0x5a74c4(0x214)][_0x5a74c4(0x1f1)]),this['currentTest'][_0x5a74c4(0x1e6)]=!![];if(_0x36975f[_0x5a74c4(0x27a)](isAccessibilityAutomationSession)&&_0x54e111&&Array[_0x5a74c4(0x204)](global[_0x5a74c4(0x210)])&&_0x36975f[_0x5a74c4(0x203)](global['__drivers'][_0x5a74c4(0x222)],0x0)&&globals[_0x5a74c4(0x282)](_0x36975f[_0x5a74c4(0x22a)]))try{const _0x11460a=await global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x245)];if(_0x11460a){let _0x4556d4=!![];const _0x664e80=await global[_0x5a74c4(0x210)][0x0][_0x5a74c4(0x270)]();let _0x95d958;try{_0x95d958=new URL(_0x664e80);}catch(_0x6a29d9){_0x4556d4=![];}_0x4556d4=_0x36975f['orNDs'](_0x95d958['protocol'],_0x36975f[_0x5a74c4(0x261)])||_0x36975f[_0x5a74c4(0x26a)](_0x95d958['protocol'],_0x36975f[_0x5a74c4(0x283)]),_0x4556d4&&(this[_0x5a74c4(0x214)]['shouldScanTestForAccessibility']&&logger['info'](_0x36975f[_0x5a74c4(0x21d)])),this[_0x5a74c4(0x214)][_0x5a74c4(0x1e6)]=this['currentTest'][_0x5a74c4(0x1f1)],this[_0x5a74c4(0x214)][_0x5a74c4(0x1f1)]&&logger[_0x5a74c4(0x250)](_0x36975f['cUWEo']);}}catch(_0x47daf8){logger[_0x5a74c4(0x27e)](_0x5a74c4(0x1fd)+util[_0x5a74c4(0x233)](_0x47daf8));}_0x36975f['tMUQg'](_0x185c07);})[_0x4b7d05(0x284)](()=>{const _0x4ff228=_0x4b7d05;_0x36975f[_0x4ff228(0x1f0)](_0x34923d);});},{'platform':_0x36975f['ZGyDO'](nestedKeyValue,global[_0x221b16(0x239)],[_0x36975f['ZmzhT']]),'hookType':_0x36975f[_0x221b16(0x227)]})();},'afterEach'(_0x4d5654){const _0x353cd3=a32_0x3481ad,_0x323c12={'KTTpp':_0x353cd3(0x24c),'gFFoV':function(_0x44fc23,_0x540e0e){return _0x44fc23>_0x540e0e;},'OLWUn':function(_0x59b798,_0x1ea019){return _0x59b798===_0x1ea019;},'toMWj':_0x353cd3(0x274),'TOJBv':'appium:app','ixBlw':function(_0x13941e,_0x4651db,_0x314dd0,_0x54508b){return _0x13941e(_0x4651db,_0x314dd0,_0x54508b);},'PFPMY':_0x353cd3(0x230),'mOpDn':_0x353cd3(0x23b),'fbZMf':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','aXlGo':'Performing\x20scan\x20before\x20saving\x20results','SVJfB':_0x353cd3(0x22f),'WgMRH':_0x353cd3(0x287),'ItzIO':function(_0x40f4f6){return _0x40f4f6();},'UBYQF':function(_0x55fea8,_0x37d59a,_0x2a9a82){return _0x55fea8(_0x37d59a,_0x2a9a82);},'FOCuk':function(_0x5d5c40){return _0x5d5c40();},'LFmwP':function(_0x41ebc6,_0x3efa95,_0x5d60b9){return _0x41ebc6(_0x3efa95,_0x5d60b9);},'vuTJh':_0x353cd3(0x23d),'HbLKg':function(_0x5b6464,_0x190723){return _0x5b6464>_0x190723;},'Cvqjy':function(_0x575094){return _0x575094();},'hwuNl':function(_0x3d642c,_0x466c21){return _0x3d642c!==_0x466c21;},'dBhGE':_0x353cd3(0x275),'lqFon':function(_0x32e4d7,_0x1c6a5e){return _0x32e4d7+_0x1c6a5e;},'RCZye':_0x353cd3(0x1f5),'hhptB':_0x353cd3(0x27e),'Hqqha':function(_0xdda8e5,_0x24117e,_0x46d749){return _0xdda8e5(_0x24117e,_0x46d749);},'HtdSe':_0x353cd3(0x223),'RmsyM':_0x353cd3(0x250),'XhpHg':function(_0x5cd643){return _0x5cd643();},'OEKjB':_0x353cd3(0x205),'dvGZn':_0x353cd3(0x257)},_0x58d49b='browserstack internal helper hook';this['timeout'](0xfde8),global['sessionName']=this[_0x353cd3(0x214)][_0x353cd3(0x1f7)]()['join'](_0x323c12[_0x353cd3(0x272)]),PerformanceTester[_0x353cd3(0x26f)](PerformanceSdkEvents[_0x353cd3(0x24b)],()=>{const _0x1e6cf8=_0x353cd3,_0x1c30a2={'pUJwk':function(_0x1714ee,_0x3ad4f0){const _0x3933dc=a32_0x2e41;return _0x323c12[_0x3933dc(0x25b)](_0x1714ee,_0x3ad4f0);},'fpXks':_0x323c12[_0x1e6cf8(0x1ef)],'vbUQN':function(_0x3d98e6,_0x238162,_0x3718a6){const _0x29ad11=_0x1e6cf8;return _0x323c12[_0x29ad11(0x277)](_0x3d98e6,_0x238162,_0x3718a6);},'wARUc':function(_0x5eb782,_0x37c954){const _0x1f3664=_0x1e6cf8;return _0x323c12[_0x1f3664(0x1e5)](_0x5eb782,_0x37c954);},'WgkKf':_0x323c12[_0x1e6cf8(0x231)],'qkZpF':_0x323c12['hhptB'],'pwFKY':function(_0x2aec85,_0x61f09a,_0x473916){const _0x1cacf2=_0x1e6cf8;return _0x323c12[_0x1cacf2(0x24d)](_0x2aec85,_0x61f09a,_0x473916);},'OMzCG':_0x323c12[_0x1e6cf8(0x1e3)],'OqIaY':_0x323c12[_0x1e6cf8(0x22d)],'MVHkD':function(_0x1b2437){return _0x323c12['XhpHg'](_0x1b2437);}},_0x22b5ae=async(_0x4e59a3,_0x31475f)=>{const _0x1994b2=_0x1e6cf8;await global[_0x1994b2(0x210)][0x0][_0x1994b2(0x276)](_0x1994b2(0x20f)+_0x4e59a3+_0x1994b2(0x240)+_0x31475f+_0x1994b2(0x263));};new Promise(async _0x48f706=>{const _0x4c20d4=_0x1e6cf8,_0x4fcfd8={};_0x4fcfd8[_0x4c20d4(0x238)]=_0x323c12[_0x4c20d4(0x272)];const _0x39f06f=_0x4fcfd8;try{_0x323c12[_0x4c20d4(0x249)](global[_0x4c20d4(0x210)]['length'],0x1)&&(await global[_0x4c20d4(0x213)](),global[_0x4c20d4(0x210)][_0x4c20d4(0x252)](),global[_0x4c20d4(0x244)]=[],global[_0x4c20d4(0x278)]=![]);try{if(global['percy']&&_0x323c12[_0x4c20d4(0x258)](global[_0x4c20d4(0x285)],_0x323c12[_0x4c20d4(0x248)])&&global[_0x4c20d4(0x210)][0x0]){const _0x37f5d6=_0x323c12[_0x4c20d4(0x249)](global['capabilities'][_0x4c20d4(0x222)],0x0)?!!global[_0x4c20d4(0x215)][0x0][_0x4c20d4(0x241)]||!!global[_0x4c20d4(0x215)][0x0][_0x323c12[_0x4c20d4(0x20d)]]:![],_0x1015a4={};_0x1015a4[_0x4c20d4(0x241)]=_0x37f5d6,await _0x323c12[_0x4c20d4(0x269)](percyAutoCapture,global[_0x4c20d4(0x210)][0x0],_0x323c12[_0x4c20d4(0x248)],_0x1015a4);}}catch(_0x3e9004){logger[_0x4c20d4(0x23d)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x3e9004);}!global[_0x4c20d4(0x1e9)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x4c20d4(0x23e)],async()=>{const _0x7e7fb1=_0x4c20d4;await global[_0x7e7fb1(0x210)][0x0][_0x7e7fb1(0x276)](_0x7e7fb1(0x1ff)+JSON['stringify'](this[_0x7e7fb1(0x214)][_0x7e7fb1(0x1f7)]()[_0x7e7fb1(0x228)](_0x39f06f[_0x7e7fb1(0x238)]))+'}}');})(),global[_0x4c20d4(0x210)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x4c20d4(0x26f)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2cbd1a=_0x4c20d4,_0x17336f=_0x1c30a2['pUJwk'](this[_0x2cbd1a(0x214)][_0x2cbd1a(0x266)],_0x1c30a2[_0x2cbd1a(0x24e)]);_0x17336f?(global['__sessionFailed']=!![],global[_0x2cbd1a(0x244)][_0x2cbd1a(0x208)](this[_0x2cbd1a(0x214)][_0x2cbd1a(0x212)]['message']),await _0x1c30a2[_0x2cbd1a(0x21a)](_0x22b5ae,JSON['stringify'](_0x1c30a2[_0x2cbd1a(0x25f)](_0x1c30a2[_0x2cbd1a(0x27b)],this['currentTest']['err']['message'])),_0x1c30a2[_0x2cbd1a(0x20b)])):await _0x1c30a2[_0x2cbd1a(0x26c)](_0x22b5ae,JSON[_0x2cbd1a(0x202)](_0x1c30a2[_0x2cbd1a(0x22b)]),_0x1c30a2['OqIaY']);})();}catch(_0x10101b){logger[_0x4c20d4(0x23d)](_0x4c20d4(0x27c)+_0x10101b);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x4c20d4(0x282)](_0x323c12[_0x4c20d4(0x23c)])&&globals['getGlobal'](_0x323c12[_0x4c20d4(0x1e8)])){logger[_0x4c20d4(0x250)](_0x323c12[_0x4c20d4(0x1ea)]);const _0x2c5c6e={};_0x2c5c6e[_0x4c20d4(0x1fe)]=this[_0x4c20d4(0x214)][_0x4c20d4(0x281)],_0x2c5c6e[_0x4c20d4(0x1fb)]=process[_0x4c20d4(0x216)][testHubConstants[_0x4c20d4(0x20e)][_0x4c20d4(0x206)]],_0x2c5c6e['thJwtToken']=process[_0x4c20d4(0x216)][testHubConstants[_0x4c20d4(0x20e)][_0x4c20d4(0x280)]];const _0x21a59b=_0x2c5c6e;logger[_0x4c20d4(0x23d)](_0x4c20d4(0x219)+JSON[_0x4c20d4(0x202)](_0x21a59b)),logger[_0x4c20d4(0x23d)](_0x323c12['aXlGo']);const _0x4df71d={};_0x4df71d[_0x4c20d4(0x225)]=_0x323c12['SVJfB'],await PerformanceTester[_0x4c20d4(0x26f)](PerformanceA11yEvents[_0x4c20d4(0x22c)],async()=>{const _0x138421=_0x4c20d4;logger[_0x138421(0x23d)](util['format'](await global['__drivers'][0x0][_0x138421(0x288)](scripts[_0x138421(0x255)],{'method':global[_0x138421(0x247)]})));},_0x4df71d)(),await PerformanceTester[_0x4c20d4(0x26f)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x45bad8=_0x4c20d4;await global[_0x45bad8(0x210)][0x0]['executeAsyncScript'](scripts[_0x45bad8(0x1f3)],_0x21a59b);})(),logger[_0x4c20d4(0x250)](_0x323c12[_0x4c20d4(0x259)]);}}catch(_0x4c7fb7){logger[_0x4c20d4(0x27e)](_0x4c20d4(0x25d)+this[_0x4c20d4(0x214)][_0x4c20d4(0x1f7)]()+_0x4c20d4(0x23f),_0x4c7fb7);}try{try{if(_0x323c12['ItzIO'](shouldProcessEventForTesthub)){global[_0x4c20d4(0x210)][0x0]&&await _0x323c12[_0x4c20d4(0x26b)](sendPlatformDetails,global[_0x4c20d4(0x210)][0x0],this[_0x4c20d4(0x214)]?this[_0x4c20d4(0x214)]['testAnalyticsId']:null);if(_0x323c12[_0x4c20d4(0x217)](isBrowserstackInfra)){PerformanceTester[_0x4c20d4(0x226)](PerformanceO11yEvents['SYNC']);const _0xce5e70='ObservabilitySync:'+Date[_0x4c20d4(0x211)]();await _0x323c12[_0x4c20d4(0x277)](_0x22b5ae,JSON[_0x4c20d4(0x202)](_0xce5e70),_0x323c12[_0x4c20d4(0x21b)]),PerformanceTester[_0x4c20d4(0x236)](PerformanceO11yEvents[_0x4c20d4(0x264)]);}}}catch(_0x3589eb){logger[_0x4c20d4(0x23d)](_0x4c20d4(0x229)+_0x3589eb),PerformanceTester[_0x4c20d4(0x236)](PerformanceO11yEvents[_0x4c20d4(0x264)],![],_0x3589eb);}_0x323c12['HbLKg'](global[_0x4c20d4(0x210)][0x0][_0x4c20d4(0x254)],0x0)&&await global[_0x4c20d4(0x213)]();}catch(_0x42ae5b){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x42ae5b);}_0x323c12['Cvqjy'](_0x48f706);})[_0x1e6cf8(0x284)](()=>{const _0x17fefa=_0x1e6cf8;_0x1c30a2[_0x17fefa(0x23a)](_0x4d5654);});},{'platform':_0x323c12[_0x353cd3(0x24d)](nestedKeyValue,global[_0x353cd3(0x239)],[_0x323c12[_0x353cd3(0x253)]]),'hookType':_0x323c12[_0x353cd3(0x1eb)]})();},'afterAll'(_0x5b6e9d){const _0xb63984=a32_0x3481ad,_0x1ff137={'IqLoU':function(_0x543e01){return _0x543e01();},'hCsVe':function(_0x3e255f){return _0x3e255f();},'TLNzO':function(_0x436360,_0x4368c5,_0x272be4){return _0x436360(_0x4368c5,_0x272be4);},'VtwWe':_0xb63984(0x205),'hvldL':_0xb63984(0x20a)},_0x949053='browserstack internal helper hook';this['timeout'](0xfde8),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x37629c=_0xb63984,_0x5104c8={'PwkuY':function(_0xd21fd7){const _0x5b0f4f=a32_0x2e41;return _0x1ff137[_0x5b0f4f(0x1f4)](_0xd21fd7);}};new Promise(async _0x594c0d=>{const _0x56b495=a32_0x2e41;await global[_0x56b495(0x213)](),_0x5104c8[_0x56b495(0x200)](_0x594c0d);})[_0x37629c(0x284)]()[_0x37629c(0x243)](()=>{const _0x35ed39=_0x37629c;_0x1ff137[_0x35ed39(0x267)](_0x5b6e9d);});},{'platform':_0x1ff137[_0xb63984(0x25e)](nestedKeyValue,global[_0xb63984(0x239)],[_0x1ff137[_0xb63984(0x256)]]),'hookType':_0x1ff137[_0xb63984(0x207)]})();}};
1
+ const a32_0x1942db=a32_0xe27a;function a32_0xe27a(_0x42e29f,_0x1fa066){const _0x3a1102=a32_0x3a11();return a32_0xe27a=function(_0xe27a7c,_0x52ca03){_0xe27a7c=_0xe27a7c-0x110;let _0xae5aad=_0x3a1102[_0xe27a7c];return _0xae5aad;},a32_0xe27a(_0x42e29f,_0x1fa066);}function a32_0x3a11(){const _0x9dbaf3=['jDjES','LHpUi','start','protocol','euZMp','accessibilityScanStarted','dUDWP','mZKCl','Performing\x20scan\x20before\x20saving\x20results','MNIXS','TPihe','afterTest','TUkec','Failed:\x20','../../helpers/percy/utils','winstonLogger','Qdmhl','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','quitCount_','saveTestResults','yNMxp','shouldScanTestForAccessibility','SAVE_RESULTS','index','../../helpers/logger','shift','dUuFq','SYNC','gATJl','sessionName','push','message','getGlobal','measureWrapper','info','error','MKZJb','nuhaD','isAccessibilityPlatform','thBuildUuid','rCKha','browserstackTestName','end','performScan','IQhUl',',\x22level\x22:\x20\x22','initQuit','executeScript','./test-observability/mochaUtils','\x20-\x20','format','pVApw','currentTest','PAbwL','thTestRunUuid','\x20|\x20','percy','bstackA11yShouldScan','RgAys','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','PKtiS','HyrVt','vpWKB','afterAll','ICceZ','finally','testcase','executeAsyncScript','6670125PegdWk','__platformCaps','HYfJv','uvNDZ','bQBap','Passed','xVsCV','command','timeout','rFpwe','BROWSERSTACK_TESTHUB_UUID','XkyeD','../../helpers/accessibility-automation/scripts','ENV_VAR','../../helpers/globals','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','eWAJc','__error_messages__','.\x20Error\x20:','passed','debug','BROWSERSTACK_TESTHUB_JWT','FFvIe','rNDVe','PERFORM_SCAN','length','xdYtC','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','orlvu','err','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','beforeEach','SESSION_STATUS','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','fZLOC','RvLvt','EkHGI','tCyGE','testAnalyticsId','uAneo','appium:app','../../helpers/performance/performance-tester','__drivers','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','zgSlf','__skipSessionName','browserstackSessionName','session_','state','__sessionFailed','rYrmV','driverCleanup','then','join','capabilities','25536049CACYZX','2400094LNYvJi','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','titlePath','5684416lJYflN','afterEach','sWcup','142545AYZKgp','vPxxd','DQXgY','setGlobal','VjJyh','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','SDK_HOOK','DCdsB','1366097WyMTFx','312540qrOEms','SESSION_NAME','app','PLAXL','LQRXY','irNpt','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','stringify','rRsvX','../../helpers/testhub/utils'];a32_0x3a11=function(){return _0x9dbaf3;};return a32_0x3a11();}(function(_0x3981de,_0x212fc4){const _0x3b89af=a32_0xe27a,_0x14f52d=_0x3981de();while(!![]){try{const _0x5eeaf8=-parseInt(_0x3b89af(0x11b))/0x1+parseInt(_0x3b89af(0x1a3))/0x2+-parseInt(_0x3b89af(0x113))/0x3+-parseInt(_0x3b89af(0x110))/0x4+-parseInt(_0x3b89af(0x16a))/0x5+parseInt(_0x3b89af(0x11c))/0x6+parseInt(_0x3b89af(0x1a2))/0x7;if(_0x5eeaf8===_0x212fc4)break;else _0x14f52d['push'](_0x14f52d['shift']());}catch(_0x538988){_0x14f52d['push'](_0x14f52d['shift']());}}}(a32_0x3a11,0xb290b));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x1942db(0x134)),{sendPlatformDetails}=require(a32_0x1942db(0x156)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a32_0x1942db(0x194)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x1942db(0x176)),globals=require(a32_0x1942db(0x178)),logger=require(a32_0x1942db(0x13e))[a32_0x1942db(0x135)],{shouldProcessEventForTesthub}=require(a32_0x1942db(0x125)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0x29a0b6=a32_0x1942db,_0x437374={'SHTah':function(_0x5ca5a5,_0x591a5f,_0x356ac6,_0x1a1cf6){return _0x5ca5a5(_0x591a5f,_0x356ac6,_0x1a1cf6);},'bQBap':'failed','zgSlf':_0x29a0b6(0x15d),'FFvIe':function(_0x1c6a47,_0x32d870,_0x209214){return _0x1c6a47(_0x32d870,_0x209214);},'rRsvX':_0x29a0b6(0x17d),'eIiYC':function(_0x2ad263){return _0x2ad263();},'BDSbn':_0x29a0b6(0x13d),'yNMxp':'beforeAll'};PerformanceTester['startMonitoring']();const _0x41634f='browserstack internal helper hook';PerformanceTester[_0x29a0b6(0x147)](PerformanceSdkEvents[_0x29a0b6(0x119)],()=>{const _0x304c8d=_0x29a0b6;global[_0x304c8d(0x17b)]=[],global['__sessionFailed']=![],global[_0x304c8d(0x19e)]=async()=>{const _0x32a222=_0x304c8d;let _0x1405c1=![];try{await global[_0x32a222(0x195)][0x0][_0x32a222(0x19a)],_0x1405c1=!![],global[_0x32a222(0x19c)]?await _0x437374['SHTah'](markSessionStatus,global['__drivers'][0x0],_0x437374[_0x32a222(0x16e)],global[_0x32a222(0x17b)][_0x32a222(0x1a0)](_0x437374[_0x32a222(0x197)])):await _0x437374[_0x32a222(0x180)](markSessionStatus,global[_0x32a222(0x195)][0x0],_0x437374[_0x32a222(0x124)]);}catch(_0x5850b4){logger[_0x32a222(0x17e)](_0x32a222(0x122)+_0x5850b4);}global[_0x32a222(0x17b)]=[],global[_0x32a222(0x19c)]=![];if(_0x1405c1)try{try{_0x437374['eIiYC'](shouldProcessEventForTesthub)&&(global[_0x32a222(0x195)][0x0]&&await _0x437374['FFvIe'](sendPlatformDetails,global[_0x32a222(0x195)][0x0],this['currentTest']?this[_0x32a222(0x15a)][_0x32a222(0x191)]:null));}catch(_0x35b1e8){logger['debug']('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x35b1e8);}await global['__drivers'][0x0][_0x32a222(0x154)]();}catch(_0x7b5182){logger[_0x32a222(0x17e)](_0x32a222(0x188)+_0x7b5182);}};},{'platform':_0x437374[_0x29a0b6(0x180)](nestedKeyValue,global['__platformCaps'],[_0x437374['BDSbn']]),'hookType':_0x437374[_0x29a0b6(0x13a)]})();},'beforeEach'(_0x333370){const _0x5de5ba=a32_0x1942db,_0x48bb91={'JXNcv':function(_0x1b964e,_0x29dc93){return _0x1b964e>_0x29dc93;},'gBCWZ':function(_0x22285e,_0x57559f){return _0x22285e>_0x57559f;},'RgAys':'\x20-\x20','mZKCl':function(_0x5f1540,_0x4003ef,_0x5053fb){return _0x5f1540(_0x4003ef,_0x5053fb);},'vpWKB':'bstackA11yShouldScan','irNpt':function(_0x3ea7a1){return _0x3ea7a1();},'XkyeD':function(_0x166fc6,_0x1393b5){return _0x166fc6>_0x1393b5;},'PKtiS':_0x5de5ba(0x14c),'ekQSS':function(_0x3df63b,_0x433342){return _0x3df63b===_0x433342;},'LHpUi':'http:','dUuFq':function(_0x324103,_0x46c7f8){return _0x324103===_0x46c7f8;},'HYfJv':'https:','GETol':_0x5de5ba(0x189),'uvNDZ':'Automate\x20test\x20case\x20execution\x20has\x20started.','xivEb':function(_0x2cfd69){return _0x2cfd69();},'xdYtC':_0x5de5ba(0x14f),'QHEZf':_0x5de5ba(0x13d),'rCKha':_0x5de5ba(0x18a)};globals[_0x5de5ba(0x116)](_0x48bb91[_0x5de5ba(0x184)],this['currentTest'][_0x5de5ba(0x1a5)]()['join'](_0x48bb91[_0x5de5ba(0x160)])),PerformanceTester[_0x5de5ba(0x147)](PerformanceSdkEvents[_0x5de5ba(0x119)],()=>{const _0x4adeef=_0x5de5ba,_0xcf7e57='browserstack internal helper hook';new Promise(async _0x3d0bec=>{const _0xceb58a=a32_0xe27a;let _0xb3c939=!![];try{_0x48bb91['JXNcv'](global[_0xceb58a(0x195)][_0xceb58a(0x183)],0x1)&&(await global[_0xceb58a(0x19e)](),global[_0xceb58a(0x195)][_0xceb58a(0x13f)]()),_0x48bb91['gBCWZ'](global[_0xceb58a(0x195)][0x0]['quitCount_'],0x0)&&(_0xb3c939=![],await global[_0xceb58a(0x19e)]());}catch(_0x3d3710){logger[_0xceb58a(0x17e)](_0xceb58a(0x188)+_0x3d3710);}try{Array['isArray'](global['__drivers'])&&global[_0xceb58a(0x195)][0x0]&&(global[_0xceb58a(0x195)][0x0][_0xceb58a(0x199)]=this['currentTest'][_0xceb58a(0x1a5)]()['join'](_0x48bb91[_0xceb58a(0x160)])),global[_0xceb58a(0x199)]=this[_0xceb58a(0x15a)][_0xceb58a(0x1a5)]()[_0xceb58a(0x1a0)](_0x48bb91['RgAys']);}catch(_0x2148ac){logger[_0xceb58a(0x17e)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x2148ac);}this[_0xceb58a(0x15a)][_0xceb58a(0x13b)]=_0x48bb91['mZKCl'](shouldScanTestForAccessibility,this['currentTest']['titlePath'](),!![]),globals['setGlobal'](_0x48bb91[_0xceb58a(0x164)],this[_0xceb58a(0x15a)][_0xceb58a(0x13b)]),this['currentTest'][_0xceb58a(0x12b)]=!![];if(_0x48bb91[_0xceb58a(0x121)](isAccessibilityAutomationSession)&&_0xb3c939&&Array['isArray'](global[_0xceb58a(0x195)])&&_0x48bb91[_0xceb58a(0x175)](global[_0xceb58a(0x195)][_0xceb58a(0x183)],0x0)&&globals['getGlobal'](_0x48bb91[_0xceb58a(0x162)]))try{const _0x526923=await global[_0xceb58a(0x195)][0x0]['session_'];if(_0x526923){let _0x1d0b26=!![];const _0x49aa2d=await global[_0xceb58a(0x195)][0x0]['getCurrentUrl']();let _0x37f2d3;try{_0x37f2d3=new URL(_0x49aa2d);}catch(_0x411065){_0x1d0b26=![];}_0x1d0b26=_0x48bb91['ekQSS'](_0x37f2d3[_0xceb58a(0x129)],_0x48bb91[_0xceb58a(0x127)])||_0x48bb91[_0xceb58a(0x140)](_0x37f2d3[_0xceb58a(0x129)],_0x48bb91[_0xceb58a(0x16c)]),_0x1d0b26&&(this['currentTest'][_0xceb58a(0x13b)]&&logger[_0xceb58a(0x148)](_0x48bb91['GETol'])),this[_0xceb58a(0x15a)][_0xceb58a(0x12b)]=this['currentTest'][_0xceb58a(0x13b)],this[_0xceb58a(0x15a)]['shouldScanTestForAccessibility']&&logger[_0xceb58a(0x148)](_0x48bb91[_0xceb58a(0x16d)]);}}catch(_0x298f55){logger[_0xceb58a(0x149)](_0xceb58a(0x179)+util[_0xceb58a(0x158)](_0x298f55));}_0x48bb91[_0xceb58a(0x121)](_0x3d0bec);})[_0x4adeef(0x19f)](()=>{_0x48bb91['xivEb'](_0x333370);});},{'platform':_0x48bb91[_0x5de5ba(0x12d)](nestedKeyValue,global[_0x5de5ba(0x16b)],[_0x48bb91['QHEZf']]),'hookType':_0x48bb91[_0x5de5ba(0x14e)]})();},'afterEach'(_0x36ec65){const _0x39dac3=a32_0x1942db,_0x487b36={'OkLik':function(_0xe5b0b3,_0x9ef076){return _0xe5b0b3!==_0x9ef076;},'YgYhG':_0x39dac3(0x17d),'MKZJb':function(_0x433d41,_0x372c90,_0xccddc5){return _0x433d41(_0x372c90,_0xccddc5);},'TUkec':function(_0x48c65d,_0x2e24c3){return _0x48c65d+_0x2e24c3;},'orlvu':_0x39dac3(0x133),'ICceZ':_0x39dac3(0x149),'MNIXS':_0x39dac3(0x16f),'lurif':_0x39dac3(0x148),'nuhaD':function(_0x42cfb6,_0x551ec6){return _0x42cfb6>_0x551ec6;},'dUDWP':function(_0x522824,_0x2577f0){return _0x522824===_0x2577f0;},'sWcup':_0x39dac3(0x168),'pVApw':function(_0x10661c,_0x4ff9b0){return _0x10661c>_0x4ff9b0;},'IQhUl':_0x39dac3(0x193),'rYrmV':function(_0x46eb8b,_0x3e2040,_0x32e27f,_0x23a649){return _0x46eb8b(_0x3e2040,_0x32e27f,_0x23a649);},'tCyGE':_0x39dac3(0x14c),'rNDVe':_0x39dac3(0x15f),'jcooE':_0x39dac3(0x1a4),'jDjES':_0x39dac3(0x12e),'EkHGI':_0x39dac3(0x131),'ncFdc':_0x39dac3(0x185),'gyYer':function(_0x4ed4d7){return _0x4ed4d7();},'DCdsB':function(_0x551c37,_0x2c903c,_0x49a2f7){return _0x551c37(_0x2c903c,_0x49a2f7);},'rmLsR':function(_0x41910f){return _0x41910f();},'rFpwe':_0x39dac3(0x17e),'gATJl':function(_0x1a2485,_0x254004){return _0x1a2485>_0x254004;},'Qdmhl':function(_0x2fc663){return _0x2fc663();},'veIOS':function(_0x3c63b2){return _0x3c63b2();},'LQRXY':_0x39dac3(0x157),'PAbwL':function(_0x29f003,_0x410360,_0x11a203){return _0x29f003(_0x410360,_0x11a203);},'uAneo':'index','PLAXL':_0x39dac3(0x111)},_0x52267b='browserstack internal helper hook';this['timeout'](0xfde8),global[_0x39dac3(0x143)]=this[_0x39dac3(0x15a)][_0x39dac3(0x1a5)]()[_0x39dac3(0x1a0)](_0x487b36[_0x39dac3(0x120)]),PerformanceTester[_0x39dac3(0x147)](PerformanceSdkEvents[_0x39dac3(0x119)],()=>{const _0x2a2d2a=_0x39dac3,_0xbcc0a3={};_0xbcc0a3[_0x2a2d2a(0x17a)]=_0x487b36[_0x2a2d2a(0x120)];const _0x3cdaea=_0xbcc0a3,_0x394098=async(_0x387d57,_0x6cec3c)=>{const _0x124f99=_0x2a2d2a;await global[_0x124f99(0x195)][0x0][_0x124f99(0x155)](_0x124f99(0x161)+_0x387d57+_0x124f99(0x153)+_0x6cec3c+'\x22}}');};new Promise(async _0x43bfb1=>{const _0xd739c4=_0x2a2d2a,_0x1eee01={'VjJyh':function(_0x706b40,_0x9011e3){return _0x487b36['OkLik'](_0x706b40,_0x9011e3);},'LrfTM':_0x487b36['YgYhG'],'TPihe':function(_0x3e0b4f,_0x2a9350,_0x4f35eb){const _0x55df13=a32_0xe27a;return _0x487b36[_0x55df13(0x14a)](_0x3e0b4f,_0x2a9350,_0x4f35eb);},'vPxxd':function(_0xeeaaa9,_0x178e34){const _0x560393=a32_0xe27a;return _0x487b36[_0x560393(0x132)](_0xeeaaa9,_0x178e34);},'WIASg':_0x487b36[_0xd739c4(0x186)],'fZLOC':_0x487b36[_0xd739c4(0x166)],'DQXgY':_0x487b36[_0xd739c4(0x12f)],'MtZNK':_0x487b36['lurif']};try{_0x487b36[_0xd739c4(0x14b)](global['__drivers'][_0xd739c4(0x183)],0x1)&&(await global[_0xd739c4(0x19e)](),global[_0xd739c4(0x195)][_0xd739c4(0x13f)](),global['__error_messages__']=[],global[_0xd739c4(0x19c)]=![]);try{if(global[_0xd739c4(0x15e)]&&_0x487b36[_0xd739c4(0x12c)](global['percyCaptureMode'],_0x487b36[_0xd739c4(0x112)])&&global[_0xd739c4(0x195)][0x0]){const _0xcb1ab4=_0x487b36[_0xd739c4(0x159)](global['capabilities']['length'],0x0)?!!global[_0xd739c4(0x1a1)][0x0][_0xd739c4(0x11e)]||!!global[_0xd739c4(0x1a1)][0x0][_0x487b36[_0xd739c4(0x152)]]:![],_0x423ad8={};_0x423ad8[_0xd739c4(0x11e)]=_0xcb1ab4,await _0x487b36[_0xd739c4(0x19d)](percyAutoCapture,global['__drivers'][0x0],_0x487b36[_0xd739c4(0x112)],_0x423ad8);}}catch(_0x5d44e5){logger[_0xd739c4(0x17e)](_0xd739c4(0x137)+_0x5d44e5);}!global[_0xd739c4(0x198)]&&(await PerformanceTester[_0xd739c4(0x147)](PerformanceAutEvents[_0xd739c4(0x11d)],async()=>{const _0x2aad6d=_0xd739c4;await global[_0x2aad6d(0x195)][0x0]['executeScript'](_0x2aad6d(0x196)+JSON[_0x2aad6d(0x123)](this[_0x2aad6d(0x15a)][_0x2aad6d(0x1a5)]()['join'](_0x3cdaea[_0x2aad6d(0x17a)]))+'}}');})(),global[_0xd739c4(0x195)][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0xd739c4(0x147)](PerformanceAutEvents[_0xd739c4(0x18b)],async()=>{const _0x19f9b6=_0xd739c4,_0x34b22d=_0x1eee01[_0x19f9b6(0x117)](this['currentTest'][_0x19f9b6(0x19b)],_0x1eee01['LrfTM']);_0x34b22d?(global[_0x19f9b6(0x19c)]=!![],global[_0x19f9b6(0x17b)][_0x19f9b6(0x144)](this[_0x19f9b6(0x15a)][_0x19f9b6(0x187)][_0x19f9b6(0x145)]),await _0x1eee01['TPihe'](_0x394098,JSON[_0x19f9b6(0x123)](_0x1eee01[_0x19f9b6(0x114)](_0x1eee01['WIASg'],this['currentTest'][_0x19f9b6(0x187)][_0x19f9b6(0x145)])),_0x1eee01[_0x19f9b6(0x18d)])):await _0x1eee01[_0x19f9b6(0x130)](_0x394098,JSON[_0x19f9b6(0x123)](_0x1eee01[_0x19f9b6(0x115)]),_0x1eee01['MtZNK']);})();}catch(_0x1bf765){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x1bf765);}try{if(this[_0xd739c4(0x15a)][_0xd739c4(0x12b)]&&globals['getGlobal'](_0x487b36[_0xd739c4(0x190)])&&globals[_0xd739c4(0x146)](_0x487b36[_0xd739c4(0x181)])){logger[_0xd739c4(0x148)](_0x487b36['jcooE']);const _0x4de371={};_0x4de371[_0xd739c4(0x15c)]=this['currentTest'][_0xd739c4(0x191)],_0x4de371[_0xd739c4(0x14d)]=process['env'][testHubConstants[_0xd739c4(0x177)][_0xd739c4(0x174)]],_0x4de371['thJwtToken']=process['env'][testHubConstants[_0xd739c4(0x177)][_0xd739c4(0x17f)]];const _0x339747=_0x4de371;logger[_0xd739c4(0x17e)](_0xd739c4(0x118)+JSON['stringify'](_0x339747)),logger[_0xd739c4(0x17e)](_0x487b36[_0xd739c4(0x126)]);const _0x2dcce5={};_0x2dcce5[_0xd739c4(0x171)]=_0x487b36[_0xd739c4(0x18f)],await PerformanceTester[_0xd739c4(0x147)](PerformanceA11yEvents[_0xd739c4(0x182)],async()=>{const _0x1aa2bf=_0xd739c4;logger[_0x1aa2bf(0x17e)](util[_0x1aa2bf(0x158)](await global[_0x1aa2bf(0x195)][0x0]['executeAsyncScript'](scripts[_0x1aa2bf(0x151)],{'method':global[_0x1aa2bf(0x199)]})));},_0x2dcce5)(),await PerformanceTester[_0xd739c4(0x147)](PerformanceA11yEvents[_0xd739c4(0x13c)],async()=>{const _0x9377ac=_0xd739c4;await global[_0x9377ac(0x195)][0x0][_0x9377ac(0x169)](scripts[_0x9377ac(0x139)],_0x339747);})(),logger[_0xd739c4(0x148)](_0x487b36['ncFdc']);}}catch(_0x45ed46){logger[_0xd739c4(0x149)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0xd739c4(0x15a)][_0xd739c4(0x1a5)]()+_0xd739c4(0x17c),_0x45ed46);}try{try{if(_0x487b36['gyYer'](shouldProcessEventForTesthub)){global[_0xd739c4(0x195)][0x0]&&await _0x487b36[_0xd739c4(0x11a)](sendPlatformDetails,global[_0xd739c4(0x195)][0x0],this[_0xd739c4(0x15a)]?this['currentTest'][_0xd739c4(0x191)]:null);if(_0x487b36['rmLsR'](isBrowserstackInfra)){PerformanceTester[_0xd739c4(0x128)](PerformanceO11yEvents[_0xd739c4(0x141)]);const _0x305abc='ObservabilitySync:'+Date['now']();await _0x487b36[_0xd739c4(0x14a)](_0x394098,JSON[_0xd739c4(0x123)](_0x305abc),_0x487b36[_0xd739c4(0x173)]),PerformanceTester['end'](PerformanceO11yEvents[_0xd739c4(0x141)]);}}}catch(_0x5b3743){logger[_0xd739c4(0x17e)](_0xd739c4(0x18c)+_0x5b3743),PerformanceTester[_0xd739c4(0x150)](PerformanceO11yEvents[_0xd739c4(0x141)],![],_0x5b3743);}_0x487b36[_0xd739c4(0x142)](global[_0xd739c4(0x195)][0x0][_0xd739c4(0x138)],0x0)&&await global[_0xd739c4(0x19e)]();}catch(_0x43c309){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x43c309);}_0x487b36[_0xd739c4(0x136)](_0x43bfb1);})[_0x2a2d2a(0x19f)](()=>{_0x487b36['veIOS'](_0x36ec65);});},{'platform':_0x487b36[_0x39dac3(0x15b)](nestedKeyValue,global[_0x39dac3(0x16b)],[_0x487b36[_0x39dac3(0x192)]]),'hookType':_0x487b36[_0x39dac3(0x11f)]})();},'afterAll'(_0xd2bc5c){const _0x2202bc=a32_0x1942db,_0x4875dd={'HyrVt':function(_0x474666){return _0x474666();},'RvLvt':function(_0x206be4,_0x36c344,_0x227e32){return _0x206be4(_0x36c344,_0x227e32);},'xVsCV':_0x2202bc(0x13d),'euZMp':_0x2202bc(0x165)},_0xa0c524='browserstack internal helper hook';this[_0x2202bc(0x172)](0xfde8),PerformanceTester[_0x2202bc(0x147)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x39839f=_0x2202bc;new Promise(async _0x2ee9cc=>{const _0x3febc2=a32_0xe27a;await global['driverCleanup'](),_0x4875dd[_0x3febc2(0x163)](_0x2ee9cc);})[_0x39839f(0x19f)]()[_0x39839f(0x167)](()=>{_0x4875dd['HyrVt'](_0xd2bc5c);});},{'platform':_0x4875dd[_0x2202bc(0x18e)](nestedKeyValue,global['__platformCaps'],[_0x4875dd[_0x2202bc(0x170)]]),'hookType':_0x4875dd[_0x2202bc(0x12a)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x1192bb=a33_0x24e6;function a33_0x46e0(){const _0x5a48ea=['nightwatch','isUndefined','5256216dyfmNW','inherit','test_settings','../../helpers/logger','getPlatformName','join','splice','34vCHpNL','child\x20process\x20exited\x20with\x20code\x20','JmfUy','winstonLogger','map','UIbPs','hub.browserstack.com','69939dmTkvY','forEach','test','POcLq','cwd','aKPCi','filter','../../helpers/BrowserStackSetup','NCufO','env','close','eQAvI','--env','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','GLDLj','3667385comLNv','fUtJp','5840rnbtce','nightwatch.cmd','modifyBrowserStackCaps','../../helpers/helper','unlinkSync','child_process','Nregx','findIndex','trim','existsSync','nightwatch.conf.js','qMYtn','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','--config','xrEmR','mergeDeep','writeFileSync','Getting\x20your\x20nightwatch\x20configs\x20from\x20','useW3C','xIhXP','4ltPeoa','Deleting\x20','path','length','25680140hjRVJU','platform','lIUpX','1271172PFIOCo','10051272MnGDuu','push','info','sXvCi','cKFgQ','3409zkwNbM','fdMrY','stringify','config','modifyBrowserStackW3CCaps','platforms','hthrR','nightwatch.json','start_process'];a33_0x46e0=function(){return _0x5a48ea;};return a33_0x46e0();}(function(_0x171afc,_0x4a85ce){const _0xcd3152=a33_0x24e6,_0x4142f0=_0x171afc();while(!![]){try{const _0x10c9ce=parseInt(_0xcd3152(0x1dc))/0x1+-parseInt(_0xcd3152(0x1f4))/0x2*(-parseInt(_0xcd3152(0x1fb))/0x3)+-parseInt(_0xcd3152(0x1d5))/0x4*(parseInt(_0xcd3152(0x20a))/0x5)+parseInt(_0xcd3152(0x1dd))/0x6+-parseInt(_0xcd3152(0x1e2))/0x7*(-parseInt(_0xcd3152(0x20c))/0x8)+parseInt(_0xcd3152(0x1ed))/0x9+-parseInt(_0xcd3152(0x1d9))/0xa;if(_0x10c9ce===_0x4a85ce)break;else _0x4142f0['push'](_0x4142f0['shift']());}catch(_0x5bed4c){_0x4142f0['push'](_0x4142f0['shift']());}}}(a33_0x46e0,0xef70c));function a33_0x24e6(_0x298fcd,_0x40b151){const _0x46e0e6=a33_0x46e0();return a33_0x24e6=function(_0x24e696,_0x473867){_0x24e696=_0x24e696-0x1c9;let _0x4272c9=_0x46e0e6[_0x24e696];return _0x4272c9;},a33_0x24e6(_0x298fcd,_0x40b151);}const fs=require('fs'),path=require(a33_0x1192bb(0x1d7)),{spawn}=require(a33_0x1192bb(0x211)),logger=require(a33_0x1192bb(0x1f0))[a33_0x1192bb(0x1f7)],{default:BrowserStackSetup}=require(a33_0x1192bb(0x202)),helper=require(a33_0x1192bb(0x20f)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x52a90,_0x48aaa8)=>{const _0x500e69=a33_0x1192bb,_0x357617={'sXvCi':_0x500e69(0x1cb),'NCufO':_0x500e69(0x1e9),'xIhXP':function(_0x5d86e9,_0x31caf5){return _0x5d86e9(_0x31caf5);},'lIUpX':_0x500e69(0x1cd)};let _0x310e5b=null,_0x26fd58={};const _0x4c3d1b=_0x48aaa8[_0x500e69(0x213)](_0x215e80=>_0x215e80==='--config');if(!helper[_0x500e69(0x1ec)](_0x52a90[_0x500e69(0x1e5)])&&fs[_0x500e69(0x1ca)](path[_0x500e69(0x1f2)](process['cwd'](),_0x52a90[_0x500e69(0x1e5)])))_0x310e5b=path[_0x500e69(0x1f2)](process[_0x500e69(0x1ff)](),_0x52a90['config']),_0x48aaa8['splice'](_0x4c3d1b,0x2);else{if(fs['existsSync'](path['join'](process[_0x500e69(0x1ff)](),_0x357617[_0x500e69(0x1e0)])))_0x310e5b=path[_0x500e69(0x1f2)](process[_0x500e69(0x1ff)](),_0x357617[_0x500e69(0x1e0)]);else fs[_0x500e69(0x1ca)](path[_0x500e69(0x1f2)](process['cwd'](),_0x357617['NCufO']))&&(_0x310e5b=path['join'](process[_0x500e69(0x1ff)](),_0x357617[_0x500e69(0x203)]));}return _0x310e5b?(logger[_0x500e69(0x1df)](_0x500e69(0x1d2)+_0x310e5b),_0x26fd58=_0x357617[_0x500e69(0x1d4)](require,_0x310e5b)):logger['info'](_0x357617[_0x500e69(0x1db)]),_0x26fd58;},removeExistingEnvs=_0x565d3b=>{const _0x42bc48=a33_0x1192bb,_0xf005bc={};_0xf005bc[_0x42bc48(0x1f6)]=function(_0x7458a7,_0x130b54){return _0x7458a7>_0x130b54;},_0xf005bc[_0x42bc48(0x212)]=function(_0x40c1cc,_0x229683){return _0x40c1cc>_0x229683;};const _0x46e656=_0xf005bc;let _0x54d94e=_0x565d3b[_0x42bc48(0x213)](_0x2afb26=>_0x2afb26===_0x42bc48(0x207));_0x46e656[_0x42bc48(0x1f6)](_0x54d94e,-0x1)&&_0x565d3b['splice'](_0x54d94e,0x2),_0x54d94e=_0x565d3b[_0x42bc48(0x213)](_0xe89f37=>_0xe89f37==='-e'),_0x46e656[_0x42bc48(0x212)](_0x54d94e,-0x1)&&_0x565d3b[_0x42bc48(0x1f3)](_0x54d94e,0x2);};function run(_0x36c60a,_0x2ff311,_0x51ba48){const _0x44e94d=a33_0x1192bb,_0x50481e={'fUtJp':_0x44e94d(0x1eb),'uhNiI':function(_0x292216,_0x32872a){return _0x292216+_0x32872a;},'xrEmR':_0x44e94d(0x1ef),'kpfvh':function(_0x1e00d3,_0x2cda56,_0x47be18){return _0x1e00d3(_0x2cda56,_0x47be18);},'gwFhV':_0x44e94d(0x1fa),'GLDLj':_0x44e94d(0x208),'qMYtn':function(_0x319e4d,_0x3381fa){return _0x319e4d===_0x3381fa;},'UIbPs':'nightwatch-browserstack.json','eQAvI':function(_0x169bb6,_0x565602){return _0x169bb6(_0x565602);},'hthrR':function(_0x1e071f,_0x4d3c85,_0xecefcb,_0x405642){return _0x1e071f(_0x4d3c85,_0xecefcb,_0x405642);},'aKPCi':_0x44e94d(0x20d),'sWTBE':_0x44e94d(0x1ce),'fdMrY':_0x44e94d(0x207),'POcLq':_0x44e94d(0x1ee),'cKFgQ':_0x44e94d(0x205)};if(!_0x51ba48[_0x44e94d(0x1e5)])return;const _0x354bec=_0x50481e['kpfvh'](getUserNightwatchConfigs,_0x36c60a,_0x2ff311),_0x4038a9={};_0x4038a9[_0x44e94d(0x1ea)]=![];const _0x4e9c39={};_0x4e9c39['host']=_0x50481e['gwFhV'],_0x4e9c39['port']=0x1bb;const _0x189fc9={};_0x189fc9['webdriver']=_0x4038a9,_0x189fc9['selenium']=_0x4e9c39;const _0x5a5cef=_0x189fc9;logger[_0x44e94d(0x1df)](_0x50481e[_0x44e94d(0x209)]);const _0x2a3dca={..._0x354bec},_0x17b8a4=_0x2a3dca,_0xc8a75f=helper[_0x44e94d(0x1d3)](_0x51ba48['config']),_0x22ef23=[];_0x51ba48[_0x44e94d(0x1e5)][_0x44e94d(0x1e7)][_0x44e94d(0x1fc)]((_0xebd249,_0x56938b)=>{const _0x3e0ae3=_0x44e94d;_0xc8a75f?_0x22ef23[_0x3e0ae3(0x1de)](helper[_0x3e0ae3(0x1e6)](_0x51ba48[_0x3e0ae3(0x1e5)],_0x50481e[_0x3e0ae3(0x20b)],_0x56938b)):_0x22ef23[_0x3e0ae3(0x1de)](helper[_0x3e0ae3(0x20e)](_0x51ba48['config'],_0x50481e[_0x3e0ae3(0x20b)],_0x56938b));});const _0x1cc819={},_0x3b8173=[];_0x36c60a[_0x44e94d(0x204)]=_0x36c60a[_0x44e94d(0x204)]||_0x36c60a['e'];const _0x177fc7=_0x36c60a[_0x44e94d(0x204)]?_0x36c60a[_0x44e94d(0x204)][_0x44e94d(0x1c9)]()['split'](',')[_0x44e94d(0x1f8)](_0x25e49b=>_0x25e49b[_0x44e94d(0x1c9)]())[_0x44e94d(0x201)](_0x340522=>_0x340522!==''):[''];_0x50481e[_0x44e94d(0x1cc)](_0x177fc7[_0x44e94d(0x1d8)],0x0)&&_0x177fc7[_0x44e94d(0x1de)]('');_0x177fc7['forEach'](_0x3e8c80=>{const _0x1ba319=_0x44e94d;_0x22ef23[_0x1ba319(0x1fc)](_0xbf9f02=>{const _0x5b44ca=_0x1ba319;let _0x3e3a6a=_0x50481e['uhNiI'](helper[_0x5b44ca(0x1f1)](_0xbf9f02,'_'),'_'+Date['now']());_0x3e8c80&&(_0x3e3a6a+='_'+_0x3e8c80);if(_0x3e8c80&&(!_0x354bec[_0x50481e[_0x5b44ca(0x1cf)]]||!_0x354bec[_0x50481e[_0x5b44ca(0x1cf)]][_0x3e8c80]))return;const _0x28917a={..._0x5a5cef};_0x28917a['desiredCapabilities']=_0xbf9f02;const _0x4a7799=_0x28917a;_0x1cc819[_0x3e3a6a]=_0x3e8c80?helper[_0x5b44ca(0x1d0)](_0x354bec[_0x50481e[_0x5b44ca(0x1cf)]][_0x3e8c80],_0x4a7799):_0x4a7799,_0x3b8173['push'](_0x3e3a6a);});});!_0x17b8a4[_0x44e94d(0x1ef)]&&(_0x17b8a4[_0x44e94d(0x1ef)]={});_0x17b8a4[_0x44e94d(0x1ef)]={..._0x17b8a4[_0x44e94d(0x1ef)],..._0x1cc819};const _0x1dd886=path[_0x44e94d(0x1f2)](__dirname,_0x50481e[_0x44e94d(0x1f9)]);fs[_0x44e94d(0x1d1)](_0x1dd886,JSON[_0x44e94d(0x1e4)](_0x17b8a4)),_0x50481e[_0x44e94d(0x206)](removeExistingEnvs,_0x2ff311);const _0x18cc38=_0x50481e[_0x44e94d(0x1e8)](spawn,/^win/[_0x44e94d(0x1fd)](process[_0x44e94d(0x1da)])?_0x50481e[_0x44e94d(0x200)]:_0x50481e[_0x44e94d(0x20b)],[_0x50481e['sWTBE'],_0x1dd886,..._0x2ff311['slice'](0x1),_0x50481e[_0x44e94d(0x1e3)],_0x3b8173[_0x44e94d(0x1f2)](',')],{'stdio':_0x50481e[_0x44e94d(0x1fe)]});_0x18cc38['on'](_0x50481e[_0x44e94d(0x1e1)],async _0x5aaa59=>{const _0x38e4b3=_0x44e94d;logger['debug'](_0x38e4b3(0x1f5)+_0x5aaa59),logger[_0x38e4b3(0x1df)](_0x38e4b3(0x1d6)+_0x1dd886),fs[_0x38e4b3(0x210)](_0x1dd886);});}module['exports']=run;
2
+ 'use strict';function a33_0x2986(_0x19fc5c,_0x4eef87){const _0x53aa4c=a33_0x53aa();return a33_0x2986=function(_0x298677,_0x417b46){_0x298677=_0x298677-0xbd;let _0x287ac6=_0x53aa4c[_0x298677];return _0x287ac6;},a33_0x2986(_0x19fc5c,_0x4eef87);}const a33_0x456aed=a33_0x2986;(function(_0x4a92c9,_0x5d2b79){const _0x4f73cd=a33_0x2986,_0xe49997=_0x4a92c9();while(!![]){try{const _0x193d10=-parseInt(_0x4f73cd(0xe8))/0x1+-parseInt(_0x4f73cd(0xd8))/0x2+-parseInt(_0x4f73cd(0xe6))/0x3+parseInt(_0x4f73cd(0xc5))/0x4*(-parseInt(_0x4f73cd(0xe0))/0x5)+parseInt(_0x4f73cd(0xc9))/0x6+-parseInt(_0x4f73cd(0xe7))/0x7*(-parseInt(_0x4f73cd(0xe5))/0x8)+-parseInt(_0x4f73cd(0xfe))/0x9*(-parseInt(_0x4f73cd(0xf9))/0xa);if(_0x193d10===_0x5d2b79)break;else _0xe49997['push'](_0xe49997['shift']());}catch(_0x4f85be){_0xe49997['push'](_0xe49997['shift']());}}}(a33_0x53aa,0x6941b));const fs=require('fs'),path=require(a33_0x456aed(0xf0)),{spawn}=require(a33_0x456aed(0xe4)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a33_0x456aed(0xf2)),getUserNightwatchConfigs=(_0x425601,_0x1fe144)=>{const _0x3d0d31=a33_0x456aed,_0x5104df={'XDpxs':'nightwatch.conf.js','UtQxO':_0x3d0d31(0xc7),'kmhYD':function(_0x448707,_0x45f72b){return _0x448707(_0x45f72b);},'lGAXt':_0x3d0d31(0xd4)};let _0x4f0905=null,_0x47707c={};const _0x31c533=_0x1fe144[_0x3d0d31(0x101)](_0x7f7190=>_0x7f7190===_0x3d0d31(0x102));if(!helper[_0x3d0d31(0xdf)](_0x425601['config'])&&fs[_0x3d0d31(0xc2)](path[_0x3d0d31(0xf3)](process[_0x3d0d31(0xdd)](),_0x425601[_0x3d0d31(0xec)])))_0x4f0905=path[_0x3d0d31(0xf3)](process[_0x3d0d31(0xdd)](),_0x425601['config']),_0x1fe144[_0x3d0d31(0xca)](_0x31c533,0x2);else{if(fs[_0x3d0d31(0xc2)](path[_0x3d0d31(0xf3)](process[_0x3d0d31(0xdd)](),_0x5104df[_0x3d0d31(0xd9)])))_0x4f0905=path[_0x3d0d31(0xf3)](process[_0x3d0d31(0xdd)](),_0x5104df[_0x3d0d31(0xd9)]);else fs[_0x3d0d31(0xc2)](path['join'](process[_0x3d0d31(0xdd)](),_0x5104df[_0x3d0d31(0xeb)]))&&(_0x4f0905=path[_0x3d0d31(0xf3)](process[_0x3d0d31(0xdd)](),_0x5104df['UtQxO']));}return _0x4f0905?(logger[_0x3d0d31(0xbf)](_0x3d0d31(0xc1)+_0x4f0905),_0x47707c=_0x5104df[_0x3d0d31(0xc6)](require,_0x4f0905)):logger[_0x3d0d31(0xbf)](_0x5104df[_0x3d0d31(0xcb)]),_0x47707c;},removeExistingEnvs=_0x2d7d26=>{const _0x345b13=a33_0x456aed,_0x381a1f={};_0x381a1f[_0x345b13(0xdb)]=function(_0x4f4d65,_0x52dd22){return _0x4f4d65>_0x52dd22;};const _0x49a3d2=_0x381a1f;let _0x56f1ce=_0x2d7d26[_0x345b13(0x101)](_0x32bf69=>_0x32bf69===_0x345b13(0xbe));_0x49a3d2[_0x345b13(0xdb)](_0x56f1ce,-0x1)&&_0x2d7d26[_0x345b13(0xca)](_0x56f1ce,0x2),_0x56f1ce=_0x2d7d26[_0x345b13(0x101)](_0x4dba2c=>_0x4dba2c==='-e'),_0x49a3d2['mZbIZ'](_0x56f1ce,-0x1)&&_0x2d7d26[_0x345b13(0xca)](_0x56f1ce,0x2);};function run(_0x368388,_0x5aa33c,_0x10e129){const _0x1ccbff=a33_0x456aed,_0x3e520a={'MarFI':_0x1ccbff(0xe3),'QjILh':function(_0x416299,_0x55480f){return _0x416299+_0x55480f;},'JfzKX':_0x1ccbff(0xf7),'buuhI':function(_0x37aa5c,_0x590c29,_0x23fdd0){return _0x37aa5c(_0x590c29,_0x23fdd0);},'gwZEo':'hub.browserstack.com','OJgCN':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','tVpjW':function(_0x47edfd,_0x382f67){return _0x47edfd===_0x382f67;},'NaNWK':'nightwatch-browserstack.json','kTGaq':function(_0x59708f,_0x64f8ae){return _0x59708f(_0x64f8ae);},'SdyZT':function(_0x7b8e31,_0x59801,_0x279d6f,_0x3ce73b){return _0x7b8e31(_0x59801,_0x279d6f,_0x3ce73b);},'TQVcT':_0x1ccbff(0x100),'KKHpb':_0x1ccbff(0x102),'hqWvr':_0x1ccbff(0xbe),'YjVvJ':_0x1ccbff(0xcd),'TVNFY':'close'};if(!_0x10e129[_0x1ccbff(0xec)])return;const _0x3796e6=_0x3e520a[_0x1ccbff(0xd0)](getUserNightwatchConfigs,_0x368388,_0x5aa33c),_0x9c1eea={};_0x9c1eea[_0x1ccbff(0xcf)]=![];const _0x2b8e2c={};_0x2b8e2c['host']=_0x3e520a[_0x1ccbff(0xc4)],_0x2b8e2c[_0x1ccbff(0xef)]=0x1bb;const _0x3a0ff0={};_0x3a0ff0[_0x1ccbff(0xd2)]=_0x9c1eea,_0x3a0ff0[_0x1ccbff(0xee)]=_0x2b8e2c;const _0x3058a6=_0x3a0ff0;logger[_0x1ccbff(0xbf)](_0x3e520a['OJgCN']);const _0x4cc866={..._0x3796e6},_0x3b4ee7=_0x4cc866,_0x56a0ae=helper[_0x1ccbff(0xf4)](_0x10e129['config']),_0x4848d4=[];_0x10e129['config'][_0x1ccbff(0xed)][_0x1ccbff(0xce)]((_0x5a9a07,_0x2c537d)=>{const _0x2c1ebe=_0x1ccbff;_0x56a0ae?_0x4848d4[_0x2c1ebe(0xfd)](helper[_0x2c1ebe(0xc3)](_0x10e129['config'],_0x3e520a[_0x2c1ebe(0xfc)],_0x2c537d)):_0x4848d4[_0x2c1ebe(0xfd)](helper['modifyBrowserStackCaps'](_0x10e129[_0x2c1ebe(0xec)],_0x3e520a[_0x2c1ebe(0xfc)],_0x2c537d));});const _0xcad95a={},_0x34c976=[];_0x368388[_0x1ccbff(0xd1)]=_0x368388[_0x1ccbff(0xd1)]||_0x368388['e'];const _0x38279a=_0x368388[_0x1ccbff(0xd1)]?_0x368388[_0x1ccbff(0xd1)]['trim']()[_0x1ccbff(0xe2)](',')['map'](_0x51dfcd=>_0x51dfcd[_0x1ccbff(0xf1)]())[_0x1ccbff(0xe1)](_0x49c038=>_0x49c038!==''):[''];_0x3e520a[_0x1ccbff(0xdc)](_0x38279a[_0x1ccbff(0xd3)],0x0)&&_0x38279a[_0x1ccbff(0xfd)]('');_0x38279a['forEach'](_0x229068=>{const _0x1bda46=_0x1ccbff,_0x15c2a2={'gSXYS':function(_0x1306d5,_0x1277de){const _0x536cea=a33_0x2986;return _0x3e520a[_0x536cea(0xd7)](_0x1306d5,_0x1277de);},'fxndy':_0x3e520a['JfzKX']};_0x4848d4[_0x1bda46(0xce)](_0x4e52c1=>{const _0x10b565=_0x1bda46;let _0x1fa94f=_0x15c2a2['gSXYS'](helper[_0x10b565(0xd5)](_0x4e52c1,'_'),'_'+Date[_0x10b565(0xde)]());_0x229068&&(_0x1fa94f+='_'+_0x229068);if(_0x229068&&(!_0x3796e6[_0x15c2a2[_0x10b565(0xf8)]]||!_0x3796e6[_0x15c2a2[_0x10b565(0xf8)]][_0x229068]))return;const _0x4c4c99={..._0x3058a6};_0x4c4c99['desiredCapabilities']=_0x4e52c1;const _0x3cecab=_0x4c4c99;_0xcad95a[_0x1fa94f]=_0x229068?helper[_0x10b565(0xc8)](_0x3796e6[_0x15c2a2[_0x10b565(0xf8)]][_0x229068],_0x3cecab):_0x3cecab,_0x34c976[_0x10b565(0xfd)](_0x1fa94f);});});!_0x3b4ee7[_0x1ccbff(0xf7)]&&(_0x3b4ee7[_0x1ccbff(0xf7)]={});_0x3b4ee7[_0x1ccbff(0xf7)]={..._0x3b4ee7[_0x1ccbff(0xf7)],..._0xcad95a};const _0xc3f58a=path['join'](__dirname,_0x3e520a['NaNWK']);fs[_0x1ccbff(0xf6)](_0xc3f58a,JSON[_0x1ccbff(0xfb)](_0x3b4ee7)),_0x3e520a['kTGaq'](removeExistingEnvs,_0x5aa33c);const _0x15c996=_0x3e520a[_0x1ccbff(0xff)](spawn,/^win/[_0x1ccbff(0xea)](process[_0x1ccbff(0xbd)])?_0x3e520a[_0x1ccbff(0xc0)]:_0x3e520a['MarFI'],[_0x3e520a['KKHpb'],_0xc3f58a,..._0x5aa33c[_0x1ccbff(0xfa)](0x1),_0x3e520a['hqWvr'],_0x34c976[_0x1ccbff(0xf3)](',')],{'stdio':_0x3e520a[_0x1ccbff(0xcc)]});_0x15c996['on'](_0x3e520a[_0x1ccbff(0xe9)],async _0x293fb4=>{const _0x10c8d7=_0x1ccbff;logger[_0x10c8d7(0xf5)]('child\x20process\x20exited\x20with\x20code\x20'+_0x293fb4),logger[_0x10c8d7(0xbf)](_0x10c8d7(0xd6)+_0xc3f58a),fs[_0x10c8d7(0x103)](_0xc3f58a);});}function a33_0x53aa(){const _0x167d47=['forEach','start_process','buuhI','env','webdriver','length','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','getPlatformName','Deleting\x20','QjILh','391502PMrqEs','XDpxs','exports','mZbIZ','tVpjW','cwd','now','isUndefined','135EuFoUw','filter','split','nightwatch','child_process','43832teFxng','703413DmEAam','679nRqCaQ','658267JTVpsG','TVNFY','test','UtQxO','config','platforms','selenium','port','path','trim','../utils/constants','join','useW3C','debug','writeFileSync','test_settings','fxndy','20cwmSLJ','slice','stringify','MarFI','push','2131290CfYkuW','SdyZT','nightwatch.cmd','findIndex','--config','unlinkSync','platform','--env','info','TQVcT','Getting\x20your\x20nightwatch\x20configs\x20from\x20','existsSync','modifyBrowserStackW3CCaps','gwZEo','45716OqwVre','kmhYD','nightwatch.json','mergeDeep','4938720ASJDOZ','splice','lGAXt','YjVvJ','inherit'];a33_0x53aa=function(){return _0x167d47;};return a33_0x53aa();}module[a33_0x456aed(0xda)]=run;