browserstack-node-sdk 1.34.54 → 1.34.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -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_0x3bc820=a28_0x15b3;(function(_0x326ab3,_0x334ad2){const _0x3c081d=a28_0x15b3,_0x2a7d11=_0x326ab3();while(!![]){try{const _0x2cc12a=-parseInt(_0x3c081d(0x155))/0x1+-parseInt(_0x3c081d(0x1c9))/0x2*(parseInt(_0x3c081d(0x218))/0x3)+-parseInt(_0x3c081d(0x244))/0x4+parseInt(_0x3c081d(0x1dc))/0x5*(parseInt(_0x3c081d(0x192))/0x6)+parseInt(_0x3c081d(0x14f))/0x7*(-parseInt(_0x3c081d(0x1cd))/0x8)+parseInt(_0x3c081d(0x176))/0x9*(parseInt(_0x3c081d(0x1a4))/0xa)+-parseInt(_0x3c081d(0x206))/0xb*(-parseInt(_0x3c081d(0x1c4))/0xc);if(_0x2cc12a===_0x334ad2)break;else _0x2a7d11['push'](_0x2a7d11['shift']());}catch(_0x56ddad){_0x2a7d11['push'](_0x2a7d11['shift']());}}}(a28_0x4af4,0xe1432));function a28_0x15b3(_0x3d8e01,_0x152e1c){const _0x4af47a=a28_0x4af4();return a28_0x15b3=function(_0x15b35c,_0x28d288){_0x15b35c=_0x15b35c-0x146;let _0x118e24=_0x4af47a[_0x15b35c];return _0x118e24;},a28_0x15b3(_0x3d8e01,_0x152e1c);}const chalk=require('chalk'),logger=require(a28_0x3bc820(0x18f))[a28_0x3bc820(0x1c0)],{default:BrowserStackSetup}=require(a28_0x3bc820(0x1c7)),helper=require(a28_0x3bc820(0x150)),utilities=require(a28_0x3bc820(0x174)),testOpsHelper=require(a28_0x3bc820(0x14b)),fs=require('fs'),os=require('os'),{parallelTestRun}=require('../test-runner'),{requireModule,nestedKeyValue}=require(a28_0x3bc820(0x150)),{getPercyOptions}=require(a28_0x3bc820(0x17c)),Base=requireModule('mocha/lib/reporters/base.js','mocha'),collectFiles=requireModule(a28_0x3bc820(0x1d6),a28_0x3bc820(0x1c1)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a28_0x3bc820(0x1b1))[a28_0x3bc820(0x195)],centralScannerConstants=require(a28_0x3bc820(0x18d));function tag(_0x35690c,_0x1863e2,_0x22d876,_0x136be5){const _0x3407c4=a28_0x3bc820,_0x4e6592={'GhEvk':function(_0x51c6b4,_0x2c1b07){return _0x51c6b4+_0x2c1b07;},'utwoZ':function(_0x3233f7,_0x186bb6){return _0x3233f7+_0x186bb6;},'vanBA':function(_0x52c59b,_0x285ed9){return _0x52c59b+_0x285ed9;},'AxrDH':function(_0x521bfd,_0x15e3ea){return _0x521bfd(_0x15e3ea);},'oKdIX':function(_0x2ed901,_0x490fcc){return _0x2ed901+_0x490fcc;},'FGOWD':function(_0x15165c,_0x1407a3){return _0x15165c+_0x1407a3;},'rNLgE':function(_0x31dc62,_0x5a9b20){return _0x31dc62+_0x5a9b20;}},_0x43edda=_0x22d876?'/>':'>',_0x555dfd=[];let _0x35ee30;for(const _0x1fbf42 in _0x1863e2){Object[_0x3407c4(0x1a6)][_0x3407c4(0x21c)]['call'](_0x1863e2,_0x1fbf42)&&_0x555dfd[_0x3407c4(0x207)](_0x4e6592[_0x3407c4(0x22d)](_0x4e6592[_0x3407c4(0x214)](_0x4e6592[_0x3407c4(0x17f)](_0x1fbf42,'=\x22'),_0x4e6592[_0x3407c4(0x158)](escape,_0x1863e2[_0x1fbf42])),'\x22'));}return _0x35ee30=_0x4e6592['utwoZ'](_0x4e6592[_0x3407c4(0x24a)](_0x4e6592['oKdIX']('<',_0x35690c),_0x555dfd[_0x3407c4(0x222)]?_0x4e6592[_0x3407c4(0x214)]('\x20',_0x555dfd['join']('\x20')):''),_0x43edda),_0x136be5&&(_0x35ee30+=_0x4e6592['FGOWD'](_0x4e6592['rNLgE'](_0x4e6592[_0x3407c4(0x17f)](_0x136be5,'</'),_0x35690c),_0x43edda)),_0x35ee30;}let xunitContent='';function xunitWrite(_0xbe33ef){xunitContent+=_0xbe33ef;}function xunitTest(_0x2a49de,_0x59ce39){const _0x5e0be3=a28_0x3bc820,_0x592513={'aZrex':function(_0x2e2893,_0x1cfd1a){return _0x2e2893/_0x1cfd1a;},'KnkOk':function(_0x2799c2,_0x2ae46b){return _0x2799c2===_0x2ae46b;},'lnlTR':_0x5e0be3(0x17e),'TSzFo':function(_0x14166d,_0x5b5e1f){return _0x14166d+_0x5b5e1f;},'JILbx':function(_0x257d0b,_0x3b6f3f){return _0x257d0b(_0x3b6f3f);},'jxqrM':function(_0x452b85,_0x3f44ac,_0xf9ab66,_0x361dcb,_0x19693a){return _0x452b85(_0x3f44ac,_0xf9ab66,_0x361dcb,_0x19693a);},'AaIHf':_0x5e0be3(0x1af),'NpFDM':'failure','BQDOZ':function(_0x2c536a,_0x564917,_0x5eaf65,_0x509015){return _0x2c536a(_0x564917,_0x5eaf65,_0x509015);},'MKrzl':'skipped','FYWjb':function(_0x2589bc,_0xdce88f){return _0x2589bc(_0xdce88f);}};Base[_0x5e0be3(0x1f7)]=![];var _0x400774={'classname':_0x2a49de[_0x5e0be3(0x1b6)],'name':_0x2a49de[_0x5e0be3(0x1b4)],'time':_0x592513[_0x5e0be3(0x188)](_0x2a49de[_0x5e0be3(0x15b)],0x3e8)||0x0,'platform':_0x59ce39};if(_0x592513['KnkOk'](_0x2a49de[_0x5e0be3(0x21d)],_0x592513[_0x5e0be3(0x1ad)])){var _0x2b2743=_0x2a49de[_0x5e0be3(0x1e2)],_0x5982dd=!Base['hideDiff']&&Base['showDiff'](_0x2b2743)?_0x592513['TSzFo']('\x0a',Base[_0x5e0be3(0x231)](_0x2b2743[_0x5e0be3(0x1dd)],_0x2b2743[_0x5e0be3(0x233)])):'';_0x592513['JILbx'](xunitWrite,_0x592513[_0x5e0be3(0x1fb)](tag,_0x592513['AaIHf'],_0x400774,![],_0x592513[_0x5e0be3(0x1fb)](tag,_0x592513[_0x5e0be3(0x247)],{},![],_0x592513[_0x5e0be3(0x1ae)](_0x592513[_0x5e0be3(0x1ae)](_0x592513[_0x5e0be3(0x1ae)](_0x592513[_0x5e0be3(0x228)](escape,_0x2b2743['message']),_0x592513[_0x5e0be3(0x228)](escape,_0x5982dd)),'\x0a'),_0x592513[_0x5e0be3(0x228)](escape,_0x2b2743[_0x5e0be3(0x22f)])))));}else _0x2a49de['isPending']?_0x592513[_0x5e0be3(0x228)](xunitWrite,_0x592513[_0x5e0be3(0x1fb)](tag,_0x592513[_0x5e0be3(0x21b)],_0x400774,![],_0x592513[_0x5e0be3(0x1c8)](tag,_0x592513['MKrzl'],{},!![]))):_0x592513['FYWjb'](xunitWrite,_0x592513[_0x5e0be3(0x1c8)](tag,_0x592513[_0x5e0be3(0x21b)],_0x400774,!![]));}function a28_0x4af4(){const _0x3137fa=['AaIHf','hasOwnProperty','state','toUTCString','Writing\x20json\x20result\x20to\x20file','bgBlueBright','ndiZU','length','join','isBrowserstackInfra','suiteName','dxeHC','Couldn\x27t\x20write\x20json\x20result\x20to','JILbx','qqwWq','xayIS','MTkHv','cjs','GhEvk','info','stack','AZkAr','generateDiff','hzyQK','expected','cIDoD','eEoNO','testsFailed','getCentralUser','Listing\x20all\x20the\x20failures','useW3C','ygiCO','parse','getTCGConfigFilePaths','reporterOptions','notifyUpdate','map','DlBIb','pgzag','DENCH','passed','3672464niIwlJ','json','Mocha\x20Tests','NpFDM','BROWSERSTACK_TEST_OBSERVABILITY_YML','rMtge','oKdIX','files','eZFZh','parseFileNames','Qekyy','xunit','zUTkJ','\x0a\x0a\x0a','../../helpers/test-observability/utils','then','setUserConfigPath','esxbO','133eaVqEP','../../helpers/helper','sort','SDKTestSuccessful','finalExecution','errorMessage','1452811ZhUZrc','xgFrK','currentRetry','AxrDH','config','parallelsPerPlatform','duration','env','bold','zdjcQ','Couldn\x27t\x20write\x20xunit\x20result\x20to','getOwnPropertyNames','rmdirSync','jjrGl','red','error','pyYwk','output','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Nzivz','start','getHubUrl','getUserWorkerCount','log','testsPending','writeFileSync','BROWSERSTACK_GRR_US_HUB_URL','NukQi','cliConfig','Tests:\x20\x20\x20\x20\x20\x20\x20','mlAIG','../../helpers/utilities','shouldReRunObservabilityTests','9dOBEQF','musgx','SDK_CLEANUP','Ikbui','InpwO','nyELa','../../helpers/percy/utils','PKhqV','failed','vanBA','iPVhE','zHZoU','logLevel','\x20skipped','error\x20removing\x20tcg\x20config\x20file','has','file','results','aZrex','stringify','CmhZy','IVQir','PhCJV','../../helpers/central-scanner/constants','forEach','../../helpers/logger','****\x20FAILURES\x20****','finally','42RwTDzb','yNyon','uqhqn','EVENTS','ORAzI','titlePathV','hMlqN','prepareCapabilities','validPlatformsPresent','pending','totalTests','testsuite','BROWSERSTACK_TEST_ACCESSIBILITY_YML','WspQm','IYRcV','PFHgj','includes','DVuNL','15861940fvmxCX','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','prototype','isUndefined','DFITC','fireFunnelTestEvent','XGFLs','SFRhi','rootHooks','lnlTR','TSzFo','testcase','kxthS','../../helpers/performance/constants','failures','central_scanner','title','jxJro','fullTitle','argv','isTestObservabilitySession','--disable-test-observability','rKnuq','pJHqF','gsnUG','FRAMEWORKS','cvzem','hicVN','winstonLogger','mocha','handleApp','hOYFd','40034052wVntpH','list','yrmDK','../../helpers/BrowserStackSetup','BQDOZ','266966pjpjov','Setting\x20non\x20exit\x20code\x20for\x20failures','qLnOK','chNSj','682344kyOqtC','AznUl','\x20failed','spec','framework','MOCHA','Akiso','jySvu','ShUYQ','mocha/lib/cli/collect-files.js','WTftI','titlePath','debug','</testsuite>','--disable-browserstack-automation','756905RHgLeO','actual','keys','add','recursive','reporter','err','UkdtG','lthTY','green','platforms','jPDAC','object','gwKgg','testSuites','JLnHN','indexOf','lWUsO','JHsxY','WDuCR','RQrdQ','lEHtt','test','consoleLog','fwjax','getPlatformName','bgRedBright','useColors','BROWSERSTACK_TEST_OBSERVABILITY','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','Printing\x20stats\x20of\x20tests','jxqrM','testsPassed','\x20total','setupTCGAuth','cxPRq','accessibilityOptions','YaIno','jOlMa','otwCn','LsrqN','Now,\x20showing\x20logs\x20from\x20mocha','11RexsVa','push','OPNpy','QrVbK','FdAKN','exitCode','extension','nnvKL','kujIt','QEKYK','printBuildLink','Total\x20Suites:\x20','zyMMG','doc','utwoZ','cdcWh','testObservability','accessibility','24Enebsk','BROWSERSTACK_RERUN_TESTS','yqtxH'];a28_0x4af4=function(){return _0x3137fa;};return a28_0x4af4();};function getStats(_0x1eac2c){const _0xd66c12=a28_0x3bc820,_0x398e87={};_0x398e87[_0xd66c12(0x235)]='suite',_0x398e87[_0xd66c12(0x249)]=_0xd66c12(0x243),_0x398e87['Qekyy']=_0xd66c12(0x17e),_0x398e87['InpwO']=_0xd66c12(0x187);const _0x5c0344=_0x398e87,_0xf2f96d=Object[_0xd66c12(0x1de)](_0x1eac2c);let _0x552ce9=0x0,_0x46bc89=0x0,_0x1fb6db=0x0,_0x1162e1=0x0;const _0x20cff3=new Set();_0xf2f96d[_0xd66c12(0x18e)](_0x33208c=>{const _0x10d3f0=_0xd66c12,_0x3173fe={};_0x3173fe[_0x10d3f0(0x1be)]=_0x5c0344[_0x10d3f0(0x235)],_0x3173fe[_0x10d3f0(0x173)]=_0x5c0344[_0x10d3f0(0x249)],_0x3173fe[_0x10d3f0(0x1e9)]=_0x5c0344[_0x10d3f0(0x147)];const _0x2ee3be=_0x3173fe;_0x1eac2c[_0x33208c][_0x5c0344[_0x10d3f0(0x17a)]][_0x10d3f0(0x18e)](_0x502599=>{const _0x1a8a5b=_0x10d3f0;_0x20cff3[_0x1a8a5b(0x1df)](_0x502599[_0x2ee3be[_0x1a8a5b(0x1be)]]),_0x552ce9++;switch(_0x502599['state']){case _0x2ee3be[_0x1a8a5b(0x173)]:_0x1fb6db++;break;case _0x2ee3be[_0x1a8a5b(0x1e9)]:_0x46bc89++;break;default:_0x1162e1++;}});});const _0x115e7a={};return _0x115e7a[_0xd66c12(0x1ea)]=_0x20cff3['size'],_0x115e7a[_0xd66c12(0x1e6)]=_0xf2f96d,_0x115e7a[_0xd66c12(0x19c)]=_0x552ce9,_0x115e7a[_0xd66c12(0x236)]=_0x46bc89,_0x115e7a['testsPassed']=_0x1fb6db,_0x115e7a['testsPending']=_0x1162e1,_0x115e7a;}function errorJSON(_0x27f991){const _0x2b7e7c=a28_0x3bc820;var _0x258da1={};return Object[_0x2b7e7c(0x160)](_0x27f991)[_0x2b7e7c(0x18e)](function(_0x5c7ff6){_0x258da1[_0x5c7ff6]=_0x27f991[_0x5c7ff6];},_0x27f991),_0x258da1;}function cleanCycles(_0x22b6bd){const _0x946e13=a28_0x3bc820,_0x19ce50={};_0x19ce50[_0x946e13(0x149)]=function(_0x3ac2f8,_0xd01592){return _0x3ac2f8===_0xd01592;},_0x19ce50[_0x946e13(0x193)]=_0x946e13(0x1e8),_0x19ce50[_0x946e13(0x1a8)]=function(_0x2992f7,_0x28a249){return _0x2992f7!==_0x28a249;},_0x19ce50[_0x946e13(0x24c)]=function(_0x5e1faa,_0x2b5f67){return _0x5e1faa!==_0x2b5f67;},_0x19ce50['JLnHN']=function(_0xfad429,_0x1da9e9){return _0xfad429+_0x1da9e9;};const _0x4ea088=_0x19ce50;var _0x3d3636=[];return JSON[_0x946e13(0x23b)](JSON[_0x946e13(0x189)](_0x22b6bd,function(_0x47fdbe,_0x3fd2d3){const _0x1d8592=_0x946e13;if(_0x4ea088[_0x1d8592(0x149)](typeof _0x3fd2d3,_0x4ea088[_0x1d8592(0x193)])&&_0x4ea088[_0x1d8592(0x1a8)](_0x3fd2d3,null)){if(_0x4ea088[_0x1d8592(0x24c)](_0x3d3636[_0x1d8592(0x1ec)](_0x3fd2d3),-0x1))return _0x4ea088[_0x1d8592(0x1eb)]('',_0x3fd2d3);_0x3d3636['push'](_0x3fd2d3);}return _0x3fd2d3;}));}function clean(_0x144ae2){const _0x3627e9=a28_0x3bc820,_0x4d9617={'pJHqF':function(_0x4d628e,_0x240ca1){return _0x4d628e instanceof _0x240ca1;},'DENCH':function(_0x1688f5,_0x32e58d){return _0x1688f5(_0x32e58d);}};var _0x4a2404=_0x144ae2['err']||{};return _0x4d9617[_0x3627e9(0x1bb)](_0x4a2404,Error)&&(_0x4a2404=_0x4d9617['DENCH'](errorJSON,_0x4a2404)),{'title':_0x144ae2[_0x3627e9(0x1b4)],'fullTitle':_0x144ae2[_0x3627e9(0x1b6)],'file':_0x144ae2[_0x3627e9(0x186)],'duration':_0x144ae2[_0x3627e9(0x15b)],'currentRetry':_0x144ae2[_0x3627e9(0x157)],'speed':_0x144ae2['speed'],'err':_0x4d9617[_0x3627e9(0x242)](cleanCycles,_0x4a2404)};}function printStats(_0x763527,_0x1ee7c4='spec',_0xd6bfe8={}){const _0x53e2c8=a28_0x3bc820,_0x491527={'OPNpy':function(_0x6cff21,_0x591e12){return _0x6cff21(_0x591e12);},'hMlqN':function(_0x23a250,_0x42f67f){return _0x23a250===_0x42f67f;},'dxeHC':_0x53e2c8(0x243),'hOYFd':'passes','kujIt':function(_0x120fcf,_0x4261a8){return _0x120fcf(_0x4261a8);},'MTkHv':'failed','zHZoU':_0x53e2c8(0x1b2),'otwCn':function(_0x3983e1,_0x437423){return _0x3983e1(_0x437423);},'cIDoD':_0x53e2c8(0x19b),'WDuCR':_0x53e2c8(0x187),'jxJro':function(_0x52b6c4,_0x2f7130){return _0x52b6c4===_0x2f7130;},'abnYK':function(_0x2dea2b,_0x5324be){return _0x2dea2b*_0x5324be;},'IVQir':function(_0x57da18,_0x41c7ad,_0x774861){return _0x57da18(_0x41c7ad,_0x774861);},'UkdtG':function(_0x272dfa,_0x2198e0){return _0x272dfa===_0x2198e0;},'yqtxH':function(_0x583e6c,_0x3acf8e){return _0x583e6c>_0x3acf8e;},'CmhZy':function(_0x1f7a03){return _0x1f7a03();},'JHsxY':_0x53e2c8(0x213),'AZkAr':function(_0x579e72,_0x1d671a){return _0x579e72>_0x1d671a;},'lthTY':_0x53e2c8(0x1ca),'jjrGl':_0x53e2c8(0x1fa),'zHqqg':function(_0x1bac44,_0x33293a){return _0x1bac44+_0x33293a;},'PhCJV':'Total\x20Platforms:\x20','qLnOK':function(_0x4be0eb,_0x215db4){return _0x4be0eb+_0x215db4;},'gsnUG':_0x53e2c8(0x211),'yrmDK':function(_0x4adcc4,_0x4b5bdf){return _0x4adcc4+_0x4b5bdf;},'fOvVT':_0x53e2c8(0x172),'fwjax':function(_0x1f1803,_0x4756dd){return _0x1f1803+_0x4756dd;},'ShUYQ':function(_0x243e40,_0x5f5600){return _0x243e40+_0x5f5600;},'BMeDV':_0x53e2c8(0x14a),'XLJoE':function(_0xcc8f38,_0xb5f2f2){return _0xcc8f38===_0xb5f2f2;},'QrVbK':_0x53e2c8(0x245),'YaIno':_0x53e2c8(0x21f),'jPDAC':_0x53e2c8(0x227),'NukQi':_0x53e2c8(0x1f9),'Ikbui':function(_0x2833c7,_0x5e8d1b){return _0x2833c7===_0x5e8d1b;},'pyYwk':_0x53e2c8(0x148),'SFRhi':_0x53e2c8(0x246),'jAHKk':function(_0x5ae31b,_0x2c6629){return _0x5ae31b||_0x2c6629;},'nyELa':function(_0x223b8f,_0x6ad49){return _0x223b8f(_0x6ad49);},'iPVhE':function(_0x3640ef,_0x52f975,_0x43e309,_0x322ddf){return _0x3640ef(_0x52f975,_0x43e309,_0x322ddf);},'PFHgj':_0x53e2c8(0x19d),'cdcWh':function(_0x41429c,_0x1365a5){return _0x41429c-_0x1365a5;},'FdAKN':function(_0x4e8d5b,_0x1b70ac){return _0x4e8d5b-_0x1b70ac;},'IYRcV':function(_0x25b3eb,_0x33f9d5){return _0x25b3eb/_0x33f9d5;},'WTftI':function(_0x3ef822,_0xe4d512){return _0x3ef822(_0xe4d512);},'kxthS':_0x53e2c8(0x1da),'tUSIn':'Writing\x20xunit\x20result\x20to\x20file','DVuNL':_0x53e2c8(0x15f),'jySvu':_0x53e2c8(0x1a5),'ORAzI':function(_0x50b2cb,_0x1ac98b){return _0x50b2cb===_0x1ac98b;},'pgzag':_0x53e2c8(0x238),'EaMJr':_0x53e2c8(0x190)};if(_0x491527['UkdtG'](_0x1ee7c4,_0x491527[_0x53e2c8(0x1ee)]))return;const _0x3a6361=0x0,_0x242fd6=()=>{const _0x29555a=_0x53e2c8;return _0x491527[_0x29555a(0x208)](Array,_0x3a6361)[_0x29555a(0x223)]('\x20\x20');},{testSuites:_0x6b402,platforms:_0x41055c,totalTests:_0xcac4a9,testsFailed:_0x42dedf,testsPassed:_0x40f27f,testsPending:_0x5f4870}=_0x491527[_0x53e2c8(0x20e)](getStats,_0x763527);_0x491527[_0x53e2c8(0x230)](_0x42dedf,0x0)&&(logger[_0x53e2c8(0x1d9)](_0x491527[_0x53e2c8(0x1e4)]),process[_0x53e2c8(0x20b)]=Math['min'](_0x42dedf,0xff));logger['debug'](_0x491527[_0x53e2c8(0x162)]);const _0x46549b=''+_0x491527['zHqqg'](chalk[_0x53e2c8(0x15d)](_0x491527[_0x53e2c8(0x18c)]),_0x41055c[_0x53e2c8(0x222)]),_0x55b8ed=''+_0x491527[_0x53e2c8(0x1cb)](chalk[_0x53e2c8(0x15d)](_0x491527[_0x53e2c8(0x1bc)]),_0x6b402),_0xd55b8d=''+_0x491527[_0x53e2c8(0x1cb)](_0x491527[_0x53e2c8(0x1cb)](_0x491527[_0x53e2c8(0x1c6)](chalk[_0x53e2c8(0x15d)](_0x491527['fOvVT']),_0x491527[_0x53e2c8(0x21a)](_0x42dedf,0x0)?chalk['bold'][_0x53e2c8(0x163)](_0x42dedf+_0x53e2c8(0x1cf))+',\x20':''),_0x491527[_0x53e2c8(0x230)](_0x5f4870,0x0)?chalk[_0x53e2c8(0x15d)]['yellow'](_0x5f4870+_0x53e2c8(0x183))+',\x20':''),_0x491527[_0x53e2c8(0x230)](_0x40f27f,0x0)?chalk[_0x53e2c8(0x15d)][_0x53e2c8(0x1e5)](_0x40f27f+'\x20passed')+',\x20':'')+_0xcac4a9+_0x53e2c8(0x1fd);console[_0x53e2c8(0x16c)](_0x491527[_0x53e2c8(0x1f4)](_0x491527['zHqqg'](_0x491527[_0x53e2c8(0x1d5)](_0x491527[_0x53e2c8(0x1f4)](_0x491527[_0x53e2c8(0x1cb)](_0x491527['BMeDV'],_0x46549b),'\x0a'),_0x55b8ed),'\x0a'),_0xd55b8d));if(_0x491527['XLJoE'](_0x1ee7c4,_0x491527[_0x53e2c8(0x209)])){const _0x3ed4fd={},_0x29aae2={};_0x29aae2[_0x53e2c8(0x1ea)]=_0x6b402,_0x29aae2['platforms']=_0x41055c,_0x29aae2['testsFailed']=_0x42dedf,_0x29aae2[_0x53e2c8(0x1fc)]=_0x40f27f,_0x29aae2[_0x53e2c8(0x16d)]=_0x5f4870,_0x3ed4fd['stats']=_0x29aae2,_0x41055c[_0x53e2c8(0x18e)](_0x14191f=>{const _0x52db05=_0x53e2c8,_0x304cfa={'AznUl':function(_0x27cba2,_0x3efc15){const _0x2391af=a28_0x15b3;return _0x491527[_0x2391af(0x198)](_0x27cba2,_0x3efc15);},'uqhqn':_0x491527[_0x52db05(0x226)],'ygiCO':_0x491527[_0x52db05(0x1c3)],'jiRAJ':function(_0x35e0dc,_0x387b47){const _0x429ccd=_0x52db05;return _0x491527[_0x429ccd(0x20e)](_0x35e0dc,_0x387b47);},'wGgPb':_0x491527[_0x52db05(0x22b)],'pwhUk':_0x491527[_0x52db05(0x181)],'xayIS':function(_0x47f40c,_0x4caa57){const _0x2b8313=_0x52db05;return _0x491527[_0x2b8313(0x203)](_0x47f40c,_0x4caa57);},'lWUsO':_0x491527[_0x52db05(0x234)],'WspQm':function(_0x129284,_0x3951ed){return _0x491527['kujIt'](_0x129284,_0x3951ed);}};_0x3ed4fd[_0x14191f]={'pending':[],'failures':[],'passes':[],'tests':_0x763527[_0x14191f][_0x491527[_0x52db05(0x1ef)]][_0x52db05(0x23f)](clean)},_0x763527[_0x14191f][_0x491527[_0x52db05(0x1ef)]][_0x52db05(0x18e)](_0x45bf76=>{const _0x2975a5=_0x52db05;if(_0x304cfa[_0x2975a5(0x1ce)](_0x45bf76[_0x2975a5(0x21d)],_0x304cfa[_0x2975a5(0x194)]))_0x3ed4fd[_0x14191f][_0x304cfa[_0x2975a5(0x23a)]][_0x2975a5(0x207)](_0x304cfa['jiRAJ'](clean,_0x45bf76));else _0x304cfa['AznUl'](_0x45bf76[_0x2975a5(0x21d)],_0x304cfa['wGgPb'])?_0x3ed4fd[_0x14191f][_0x304cfa['pwhUk']][_0x2975a5(0x207)](_0x304cfa[_0x2975a5(0x22a)](clean,_0x45bf76)):_0x3ed4fd[_0x14191f][_0x304cfa[_0x2975a5(0x1ed)]]['push'](_0x304cfa[_0x2975a5(0x19f)](clean,_0x45bf76));});});if(_0xd6bfe8[_0x53e2c8(0x166)])try{logger['debug'](_0x491527[_0x53e2c8(0x201)],_0xd6bfe8[_0x53e2c8(0x166)]),fs[_0x53e2c8(0x16e)](_0xd6bfe8[_0x53e2c8(0x166)],JSON[_0x53e2c8(0x189)](_0x3ed4fd,null,0x3));}catch(_0x545e30){logger['error'](_0x491527[_0x53e2c8(0x1e7)],_0xd6bfe8[_0x53e2c8(0x166)]),logger[_0x53e2c8(0x1d9)](_0x545e30);}else logger[_0x53e2c8(0x1d9)](_0x491527[_0x53e2c8(0x170)]),console[_0x53e2c8(0x16c)](JSON[_0x53e2c8(0x189)](_0x3ed4fd,null,0x3));}else{if(_0x491527[_0x53e2c8(0x179)](_0x1ee7c4,_0x491527[_0x53e2c8(0x165)])){let _0x874edd;const _0x499c3c=_0x491527[_0x53e2c8(0x1ab)];_0xd6bfe8&&(_0x874edd=_0xd6bfe8[_0x53e2c8(0x225)]);_0x874edd=_0x491527['jAHKk'](_0x874edd,_0x499c3c);let _0xeb977b=0x0,_0x321b27=0x0,_0x3d450d=0x0,_0x3d5557=0x0;_0x41055c[_0x53e2c8(0x18e)](_0x28291f=>{const _0x295846=_0x53e2c8,_0xe915c5={'ndiZU':function(_0x364ebe,_0x4af802){const _0xbb1b27=a28_0x15b3;return _0x491527[_0xbb1b27(0x1b5)](_0x364ebe,_0x4af802);},'NczAA':_0x491527[_0x295846(0x226)],'RQrdQ':function(_0x52d701,_0x5aec8d){return _0x491527['hMlqN'](_0x52d701,_0x5aec8d);},'lEHtt':_0x491527['MTkHv'],'musgx':function(_0x55abed,_0x23fae9){return _0x491527['abnYK'](_0x55abed,_0x23fae9);}};_0x763527[_0x28291f][_0x491527['WDuCR']]['forEach'](_0x1691f4=>{const _0x3e9a5f=_0x295846;if(_0xe915c5[_0x3e9a5f(0x221)](_0x1691f4['state'],_0xe915c5['NczAA']))_0xeb977b++;else _0xe915c5[_0x3e9a5f(0x1f0)](_0x1691f4[_0x3e9a5f(0x21d)],_0xe915c5[_0x3e9a5f(0x1f1)])&&_0x321b27++;_0x3d450d++,_0x3d5557+=_0xe915c5[_0x3e9a5f(0x177)](_0x1691f4['duration'],0x1);});}),_0x491527[_0x53e2c8(0x17b)](xunitWrite,_0x491527[_0x53e2c8(0x180)](tag,_0x491527[_0x53e2c8(0x1a1)],{'name':_0x874edd,'tests':_0x3d450d,'failures':0x0,'errors':_0x321b27,'skipped':_0x491527[_0x53e2c8(0x215)](_0x491527[_0x53e2c8(0x20a)](_0x3d450d,_0x321b27),_0xeb977b),'timestamp':new Date()[_0x53e2c8(0x21e)](),'time':_0x491527[_0x53e2c8(0x1a0)](_0x3d5557,0x3e8)||0x0},![])),_0x41055c[_0x53e2c8(0x18e)](_0x4be855=>{const _0x12e7ef=_0x53e2c8;_0x763527[_0x4be855][_0x491527[_0x12e7ef(0x1ef)]][_0x12e7ef(0x18e)](_0x37a2d2=>{const _0xd67047=_0x12e7ef;_0x491527[_0xd67047(0x18b)](xunitTest,_0x37a2d2,_0x4be855);});}),_0x491527[_0x53e2c8(0x1d7)](xunitWrite,_0x491527[_0x53e2c8(0x1b0)]);if(_0xd6bfe8['output'])try{logger[_0x53e2c8(0x1d9)](_0x491527['tUSIn'],_0xd6bfe8[_0x53e2c8(0x166)]),fs[_0x53e2c8(0x16e)](_0xd6bfe8[_0x53e2c8(0x166)],xunitContent);}catch(_0x37403d){logger[_0x53e2c8(0x164)](_0x491527[_0x53e2c8(0x1a3)],_0xd6bfe8[_0x53e2c8(0x166)]),logger[_0x53e2c8(0x1d9)](_0x37403d);}else logger[_0x53e2c8(0x1d9)](_0x491527[_0x53e2c8(0x1d4)]),console[_0x53e2c8(0x16c)](xunitContent);}else{if(_0x491527[_0x53e2c8(0x196)](_0x42dedf,0x0))return;console[_0x53e2c8(0x16c)](),logger['debug'](_0x491527[_0x53e2c8(0x241)]),console[_0x53e2c8(0x16c)](chalk[_0x53e2c8(0x15d)][_0x53e2c8(0x1f6)](_0x491527['EaMJr'])),_0x41055c[_0x53e2c8(0x18e)](_0x1441f2=>{const _0x41313e=_0x53e2c8,_0x51bf3e=[];_0x763527[_0x1441f2][_0x491527[_0x41313e(0x1ef)]][_0x41313e(0x18e)](_0x13cb4d=>{const _0x1dc954=_0x41313e;_0x491527[_0x1dc954(0x1e3)](_0x13cb4d[_0x1dc954(0x21d)],_0x491527['MTkHv'])&&(_0x13cb4d[_0x1dc954(0x1d8)]=()=>_0x13cb4d[_0x1dc954(0x197)],_0x51bf3e[_0x1dc954(0x207)](_0x13cb4d));}),_0x491527[_0x41313e(0x21a)](_0x51bf3e['length'],0x0)&&(Base['consoleLog'](),Base[_0x41313e(0x1f3)](_0x491527[_0x41313e(0x18a)](_0x242fd6),chalk[_0x41313e(0x15d)][_0x41313e(0x220)](_0x1441f2)),Base[_0x41313e(0x1c5)](_0x51bf3e));});}}}async function run(_0x5700bc,_0x5579d6){const _0x352466=a28_0x3bc820,_0x2e4c8f={'QEKYK':function(_0x1be44f,_0x4846ce,_0x4af8ca,_0xa70cc0){return _0x1be44f(_0x4846ce,_0x4af8ca,_0xa70cc0);},'hzyQK':'reporter-option','hicVN':_0x352466(0x184),'lijJZ':_0x352466(0x152),'chNSj':function(_0x14d3ca,_0x3a55f3,_0x2785e5,_0x2d0d26){return _0x14d3ca(_0x3a55f3,_0x2785e5,_0x2d0d26);},'Nzivz':_0x352466(0x1c1),'Akiso':_0x352466(0x1b9),'zyMMG':_0x352466(0x1db),'qqwWq':function(_0x44ff97,_0x53d911){return _0x44ff97!=_0x53d911;},'PKhqV':_0x352466(0x22c),'XGFLs':'mjs','jOlMa':_0x352466(0x1f2),'zdjcQ':'rerunTests','esxbO':function(_0x184153,_0x12393e){return _0x184153(_0x12393e);},'xgFrK':function(_0x9acd2e,_0xebc0fa,_0x34f34a){return _0x9acd2e(_0xebc0fa,_0x34f34a);},'nnvKL':_0x352466(0x24b),'rKnuq':'Running\x20your\x20mocha\x20tests','LsrqN':_0x352466(0x205),'DlBIb':function(_0x32adef,_0x21467f){return _0x32adef*_0x21467f;},'cxPRq':function(_0x4c7f8e,_0x11d543){return _0x4c7f8e(_0x11d543);},'FURTi':function(_0x46e6c1,_0x1e366c){return _0x46e6c1!==_0x1e366c;}};process[_0x352466(0x1b7)][_0x352466(0x1a2)](_0x2e4c8f[_0x352466(0x1d3)])&&(process[_0x352466(0x15c)][_0x352466(0x1f8)]=![]);process['argv'][_0x352466(0x1a2)](_0x2e4c8f[_0x352466(0x212)])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x1de1b6=new BrowserStackSetup(_0x5700bc,_0x2e4c8f[_0x352466(0x168)]);helper[_0x352466(0x14d)](_0x1de1b6[_0x352466(0x1d1)],_0x5700bc);helper['isBrowserstackInfra']()?(await _0x1de1b6['initialize'](),await helper[_0x352466(0x1c2)](_0x1de1b6[_0x352466(0x159)])):await _0x1de1b6[_0x352466(0x1fe)]();const _0x1c6ff3=[];let _0x3211cb=[];if(!_0x1de1b6[_0x352466(0x159)])return;_0x2e4c8f[_0x352466(0x229)](_0x1de1b6['config'][_0x352466(0x216)],null)&&(process[_0x352466(0x15c)][_0x352466(0x248)]=_0x1de1b6[_0x352466(0x159)][_0x352466(0x216)]);!helper[_0x352466(0x1a7)](_0x1de1b6['config'][_0x352466(0x217)])&&(process[_0x352466(0x15c)][_0x352466(0x19e)]=_0x1de1b6[_0x352466(0x159)][_0x352466(0x217)]);!helper['isUndefined'](_0x1de1b6[_0x352466(0x159)][_0x352466(0x200)])&&(process[_0x352466(0x15c)][_0x352466(0x167)]=JSON['stringify'](_0x1de1b6[_0x352466(0x159)][_0x352466(0x200)]));const {extension:extension=['js',_0x2e4c8f[_0x352466(0x17d)],_0x2e4c8f[_0x352466(0x1aa)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2e4c8f[_0x352466(0x202)]]}=_0x5700bc,_0x58691a={..._0x5700bc};_0x58691a[_0x352466(0x1ac)]=null;const _0xc62c50=_0x58691a;let _0x45746f;if(testOpsHelper[_0x352466(0x1b8)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x535ebc=process[_0x352466(0x15c)][_0x352466(0x219)];!helper[_0x352466(0x1a7)](_0x1de1b6[_0x352466(0x171)])&&_0x1de1b6[_0x352466(0x171)][_0x352466(0x185)](_0x2e4c8f[_0x352466(0x15e)])&&(_0x535ebc=_0x1de1b6['cliConfig']['get'](_0x2e4c8f[_0x352466(0x15e)])),_0x45746f=testOpsHelper[_0x352466(0x146)](_0x535ebc);}if(helper[_0x352466(0x1a7)](_0x45746f)){const _0x291fe1={};_0x291fe1['ignore']=ignore,_0x291fe1[_0x352466(0x20c)]=extension,_0x291fe1['file']=file,_0x291fe1[_0x352466(0x1e0)]=recursive,_0x291fe1[_0x352466(0x151)]=sort,_0x291fe1[_0x352466(0x1d0)]=spec,_0x45746f=_0x2e4c8f[_0x352466(0x14e)](collectFiles,_0x291fe1),_0x2e4c8f[_0x352466(0x156)](nestedKeyValue,_0x45746f,[_0x2e4c8f[_0x352466(0x20d)]])&&(_0x45746f=_0x45746f[_0x352466(0x24b)]);}if(!helper[_0x352466(0x224)]()){const _0xc4926=0x1,_0xbb5fe6={..._0xc62c50};_0xbb5fe6[_0x352466(0x1d0)]=[..._0x45746f],_0x1c6ff3['push']({'mochaOpts':_0xbb5fe6,'configuration':{'platform':os['platform']()}}),logger['info'](_0x2e4c8f[_0x352466(0x1ba)]),logger[_0x352466(0x22e)](_0x2e4c8f['LsrqN']),_0x2e4c8f['QEKYK'](parallelTestRun,_0x1c6ff3,_0xc4926,_0x1de1b6)[_0x352466(0x14c)](_0x1230fb=>{const _0x1d5510=_0x352466;PerformanceTester[_0x1d5510(0x169)](PerformanceEvents[_0x1d5510(0x178)]),_0x2e4c8f[_0x1d5510(0x20f)](printStats,_0x1230fb,_0x5700bc[_0x1d5510(0x1e1)],_0x5700bc[_0x1d5510(0x23d)]||_0x5700bc[_0x2e4c8f[_0x1d5510(0x232)]]);})[_0x352466(0x191)](()=>{const _0x193bbd=_0x352466;PerformanceTester[_0x193bbd(0x169)](PerformanceEvents[_0x193bbd(0x178)]);try{const {browserstackFolderPath:_0x5be83a,tcgConfigPath:_0x8c73fe}=helper[_0x193bbd(0x23c)]();fs['unlinkSync'](_0x8c73fe),fs[_0x193bbd(0x161)](_0x5be83a);}catch(_0x23f541){logger[_0x193bbd(0x1d9)](_0x2e4c8f[_0x193bbd(0x1bf)],_0x23f541);}try{utilities[_0x193bbd(0x1a9)](_0x2e4c8f['lijJZ'],{},_0x1de1b6[_0x193bbd(0x159)],_0x1de1b6['framework']);}catch(_0x2b18ac){logger['debug']('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x2b18ac[_0x193bbd(0x22f)]);}try{helper[_0x193bbd(0x23e)]();}catch(_0x407633){logger[_0x193bbd(0x1d9)]('Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20'+_0x407633);}testOpsHelper['printBuildLink']();});}else{const _0x236f7a=helper[_0x352466(0x239)](_0x1de1b6['config']);let _0x23e100=helper[_0x352466(0x16a)](_0x1de1b6['config']);_0x3211cb=helper[_0x352466(0x199)](_0x1de1b6[_0x352466(0x159)],_0x236f7a,constants[_0x352466(0x1bd)][_0x352466(0x1d2)]);helper[_0x352466(0x237)]()[_0x352466(0x1b3)]&&(_0x23e100=centralScannerConstants[_0x352466(0x16f)]);let _0x4d3fca;const _0x5e8ac7=_0x1de1b6[_0x352466(0x159)]['parallelsPerPlatform']||helper[_0x352466(0x16b)](_0x5700bc,_0x5579d6,_0x1de1b6[_0x352466(0x159)],constants[_0x352466(0x1bd)][_0x352466(0x1d2)])||0x1;helper[_0x352466(0x19a)](_0x1de1b6[_0x352466(0x159)])?_0x4d3fca=_0x2e4c8f[_0x352466(0x240)](_0x1de1b6['config']['platforms']['length'],_0x5e8ac7):_0x4d3fca=_0x5e8ac7;const _0x144ec5=_0x2e4c8f[_0x352466(0x1ff)](getPercyOptions,_0x1de1b6[_0x352466(0x159)]);if(_0x2e4c8f['FURTi'](_0x1de1b6['config'][_0x352466(0x15a)],0x1))_0x45746f[_0x352466(0x18e)](_0x4ae257=>{const _0x3b24b3=_0x352466,_0x32014b=[];_0x3211cb[_0x3b24b3(0x18e)]((_0x522c8a,_0x4f5d05)=>{const _0x18039f=_0x3b24b3,_0x62b84f={};_0x62b84f[_0x18039f(0x1d0)]=[_0x4ae257],_0x32014b[_0x18039f(0x207)]({'mochaOpts':Object['assign']({},_0xc62c50,_0x62b84f),'configuration':{'server':_0x23e100,'capability':_0x522c8a,'proxySettings':_0x1de1b6[_0x18039f(0x159)]['proxySettings'],'platform':helper[_0x18039f(0x1f5)](_0x522c8a),'browserStackLogLevel':_0x1de1b6[_0x18039f(0x159)][_0x18039f(0x182)],'platformIndex':_0x4f5d05,'browserStackPercyOptions':_0x144ec5,'platformCaps':Object['assign']({'index':_0x4f5d05},_0x1de1b6[_0x18039f(0x159)][_0x18039f(0x1e6)][_0x4f5d05])}});}),_0x1c6ff3['push'](..._0x32014b);});else{const _0x5089ac=[];_0x3211cb[_0x352466(0x18e)]((_0x127b52,_0x413557)=>{const _0x200ae1=_0x352466;let _0x44cce9=Object['assign']({},_0xc62c50);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x200ae1(0x175)]()&&(_0x44cce9={..._0x44cce9,'spec':[..._0x45746f]}),_0x5089ac[_0x200ae1(0x207)]({'mochaOpts':_0x44cce9,'configuration':{'server':_0x23e100,'capability':_0x127b52,'proxySettings':_0x1de1b6[_0x200ae1(0x159)]['proxySettings'],'platform':helper[_0x200ae1(0x1f5)](_0x127b52),'browserStackLogLevel':_0x1de1b6[_0x200ae1(0x159)]['logLevel'],'platformIndex':_0x413557,'browserStackPercyOptions':_0x144ec5,'platformCaps':Object['assign']({'index':_0x413557},_0x1de1b6[_0x200ae1(0x159)][_0x200ae1(0x1e6)][_0x413557])}});}),_0x1c6ff3[_0x352466(0x207)](..._0x5089ac);}logger['info']('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x1de1b6['config'][_0x352466(0x1e6)][_0x352466(0x222)]+'\x20platforms'),logger[_0x352466(0x22e)](_0x2e4c8f[_0x352466(0x204)]);let _0xb80ca7;_0x2e4c8f[_0x352466(0x1cc)](parallelTestRun,_0x1c6ff3,_0x4d3fca,_0x1de1b6)['then'](_0x398991=>{const _0x2f2462=_0x352466;PerformanceTester[_0x2f2462(0x169)](PerformanceEvents[_0x2f2462(0x178)]),_0xb80ca7=_0x398991,_0x2e4c8f[_0x2f2462(0x1cc)](printStats,_0x398991,_0x5700bc['reporter'],_0x5700bc[_0x2f2462(0x23d)]||_0x5700bc[_0x2e4c8f[_0x2f2462(0x232)]]);})['finally'](async()=>{const _0x288646=_0x352466;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x1de1b6[_0x288646(0x154)]=helper['getErrorMessageFromResults'](_0xb80ca7,_0x2e4c8f[_0x288646(0x168)]),await utilities[_0x288646(0x153)](_0x1de1b6),testOpsHelper[_0x288646(0x210)]();});}}module['exports']=run;
2
+ 'use strict';const a28_0x2addf4=a28_0x2b67;(function(_0x2f80fc,_0x41b491){const _0xfa72df=a28_0x2b67,_0x1350f1=_0x2f80fc();while(!![]){try{const _0x197085=-parseInt(_0xfa72df(0x166))/0x1+-parseInt(_0xfa72df(0x173))/0x2+parseInt(_0xfa72df(0x1e1))/0x3+-parseInt(_0xfa72df(0x163))/0x4+parseInt(_0xfa72df(0x115))/0x5+parseInt(_0xfa72df(0x146))/0x6+parseInt(_0xfa72df(0x1d6))/0x7*(parseInt(_0xfa72df(0x139))/0x8);if(_0x197085===_0x41b491)break;else _0x1350f1['push'](_0x1350f1['shift']());}catch(_0x1d0d3f){_0x1350f1['push'](_0x1350f1['shift']());}}}(a28_0x3033,0x7bed8));const chalk=require(a28_0x2addf4(0x1ed)),logger=require(a28_0x2addf4(0x1a6))[a28_0x2addf4(0x148)],{default:BrowserStackSetup}=require(a28_0x2addf4(0x1aa)),helper=require(a28_0x2addf4(0x11e)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x2addf4(0x187)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x2addf4(0x10b)),{requireModule,nestedKeyValue}=require('../../helpers/helper'),{getPercyOptions}=require(a28_0x2addf4(0x1bf)),Base=requireModule(a28_0x2addf4(0x19a),a28_0x2addf4(0x1db)),collectFiles=requireModule(a28_0x2addf4(0x152),a28_0x2addf4(0x1db)),constants=require(a28_0x2addf4(0x1bc)),PerformanceTester=require(a28_0x2addf4(0x13d)),PerformanceEvents=require(a28_0x2addf4(0x123))[a28_0x2addf4(0x1cf)],centralScannerConstants=require(a28_0x2addf4(0x195));function tag(_0x38e62b,_0x435b33,_0xa7139c,_0x8f3ca8){const _0x3b8ac4=a28_0x2addf4,_0x5c41f6={'AZOKa':function(_0x30d634,_0xc976df){return _0x30d634+_0xc976df;},'dpMjL':function(_0x3a7841,_0x3db1b6){return _0x3a7841+_0x3db1b6;},'ZgraS':function(_0x48135e,_0xeaa1a4){return _0x48135e+_0xeaa1a4;},'qVDOr':function(_0x2a70eb,_0x45713e){return _0x2a70eb(_0x45713e);},'dIZfb':function(_0x495a1a,_0x8db6d){return _0x495a1a+_0x8db6d;},'UvZgo':function(_0x385ab1,_0x4074cd){return _0x385ab1+_0x4074cd;},'JvGUM':function(_0x4810a3,_0x2553e3){return _0x4810a3+_0x2553e3;},'yKzZv':function(_0x2f90df,_0x2beba5){return _0x2f90df+_0x2beba5;}},_0x537afd=_0xa7139c?'/>':'>',_0x1e9c8b=[];let _0x58154d;for(const _0x13e8df in _0x435b33){Object[_0x3b8ac4(0x1a3)]['hasOwnProperty'][_0x3b8ac4(0x1b6)](_0x435b33,_0x13e8df)&&_0x1e9c8b[_0x3b8ac4(0x1d9)](_0x5c41f6['AZOKa'](_0x5c41f6[_0x3b8ac4(0x126)](_0x5c41f6['ZgraS'](_0x13e8df,'=\x22'),_0x5c41f6[_0x3b8ac4(0x1b0)](escape,_0x435b33[_0x13e8df])),'\x22'));}return _0x58154d=_0x5c41f6[_0x3b8ac4(0x126)](_0x5c41f6[_0x3b8ac4(0x126)](_0x5c41f6[_0x3b8ac4(0x200)]('<',_0x38e62b),_0x1e9c8b[_0x3b8ac4(0x1cc)]?_0x5c41f6[_0x3b8ac4(0x1e5)]('\x20',_0x1e9c8b[_0x3b8ac4(0x188)]('\x20')):''),_0x537afd),_0x8f3ca8&&(_0x58154d+=_0x5c41f6[_0x3b8ac4(0x140)](_0x5c41f6[_0x3b8ac4(0x16f)](_0x5c41f6['yKzZv'](_0x8f3ca8,'</'),_0x38e62b),_0x537afd)),_0x58154d;}let xunitContent='';function a28_0x3033(){const _0x4870fe=['add','ZoBBo','title','length','WVrHU','ZtaLB','EVENTS','object','Couldn\x27t\x20write\x20xunit\x20result\x20to','LcKPr','fireFunnelTestEvent','extension','get','1351zDpDWj','stats','UtkCk','push','\x20failed','mocha','LwFfP','PtOzg','file','tRhfY','rootHooks','240426gBNSYU','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','Running\x20your\x20mocha\x20tests','info','ZgraS','totalTests','testsPending','state','yGXXT','yellow','forEach','FRAMEWORKS','chalk','xunit','sBTdU','mdlaj','stack','tKRsV','platforms','exitCode','start','Gjukj','ApTNy','proxySettings','stringify','Hqsds','lYYDL','eHOzY','Printing\x20stats\x20of\x20tests','log','XBqAn','dIZfb','UVMOl','argv','testSuites','XVOjM','ValrV','sort','\x20platforms','VkmOV','kOJtc','suiteName','icfcn','QqrHZ','UbmWL','Tests:\x20\x20\x20\x20\x20\x20\x20','../test-runner','writeFileSync','jKrMb','parseFileNames','tBEMT','SHUVL','Cnosk','rmdirSync','useW3C','isUndefined','511850EajXum','passes','BROWSERSTACK_AUTOMATION','error\x20removing\x20tcg\x20config\x20file','cjs','getErrorMessageFromResults','\x20skipped','fJTbf','eFiUD','../../helpers/helper','GlNRz','UdLQC','SDKTestSuccessful','****\x20FAILURES\x20****','../../helpers/performance/constants','shouldReRunObservabilityTests','txoxi','dpMjL','testsuite','printBuildLink','VmXdE','cliConfig','rOuET','--disable-test-observability','qRlfs','nClFI','BROWSERSTACK_GRR_US_HUB_URL','indexOf','toUTCString','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','pNOuc','orEcD','failures','WpmgP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','doc','14008KUmOVX','Setting\x20non\x20exit\x20code\x20for\x20failures','BROWSERSTACK_TEST_ACCESSIBILITY_YML','red','../../helpers/performance/performance-tester','bgRedBright','showDiff','UvZgo','fullTitle','assign','hQvWA','EnBIv','iNGko','4432314eLQvsJ','KQkbl','winstonLogger','debug','Yigdk','setUserConfigPath','size','PHUpK','rtFOJ','aOZym','pending','SDK_CLEANUP','mocha/lib/cli/collect-files.js','dhkIg','iEqmR','min','logLevel','err','includes','consoleLog','lToib','egkWm','IVjYP','qYgoU','useColors','\x20passed','bold','dBVpu','errorMessage','737368rMgWTx','wMNdP','StmCc','562750SMcEQf','error','validPlatformsPresent','reporterOptions','isPending','RPMrR','isBrowserstackInfra','qwGPX','unlinkSync','JvGUM','exports','Running\x20your\x20mocha\x20tests\x20across\x20','Total\x20Suites:\x20','8948iXiADr','KtQIH','testsPassed','wyctb','results','JLmBE','getOwnPropertyNames','yLgpM','CvDBQ','JePSq','accessibilityOptions','ZHcoD','failed','failure','\x0a\x0a\x0a','generateDiff','UGCOg','finally','passed','hTmln','../../helpers/test-observability/utils','join','QcHFU','dWeMq','getPlatformName','iNAHj','sQgNw','reporter','getTCGConfigFilePaths','ignore','notifyUpdate','then','BROWSERSTACK_RERUN_TESTS','preHB','../../helpers/central-scanner/constants','axgJw','output','env','titlePath','mocha/lib/reporters/base.js','IVJkR','gQqXO','djySQ','parallelsPerPlatform','recursive','rerunTests','Listing\x20all\x20the\x20failures','duration','prototype','Total\x20Platforms:\x20','VEmzE','../../helpers/logger','TTycr','accessibility','blpMV','../../helpers/BrowserStackSetup','iUrbj','zvlNg','ElCeQ','</testsuite>','XTUkN','qVDOr','qrlRK','fTxhB','suite','testObservability','nXWqk','call','getHubUrl','fCnKL','finalExecution','uWZPo','parse','../utils/constants','config','skipped','../../helpers/percy/utils','testcase','has','actual','testsFailed','lykep','ZjWWO','spec','--disable-browserstack-automation','framework'];a28_0x3033=function(){return _0x4870fe;};return a28_0x3033();}function xunitWrite(_0x58c643){xunitContent+=_0x58c643;}function xunitTest(_0x5ad6d7,_0x67fbd8){const _0x35494b=a28_0x2addf4,_0x11bb8c={'iNAHj':function(_0x1b75de,_0x55e7bb){return _0x1b75de/_0x55e7bb;},'LwFfP':function(_0x2404a1,_0x56ad81){return _0x2404a1===_0x56ad81;},'StmCc':'failed','UGCOg':function(_0x49f5bd,_0x11f5dd){return _0x49f5bd+_0x11f5dd;},'tKRsV':function(_0x181ec1,_0x1fa62d){return _0x181ec1(_0x1fa62d);},'PtOzg':function(_0x27998b,_0x2b1c30,_0x5c7f9d,_0x4fad92,_0x361964){return _0x27998b(_0x2b1c30,_0x5c7f9d,_0x4fad92,_0x361964);},'dWeMq':_0x35494b(0x1c0),'egkWm':_0x35494b(0x180),'UbmWL':function(_0x4cba44,_0x53af6b){return _0x4cba44+_0x53af6b;},'SHUVL':function(_0x28279a,_0xe01b1c){return _0x28279a(_0xe01b1c);},'lykep':function(_0x1cbb7d,_0x6fa3aa){return _0x1cbb7d(_0x6fa3aa);},'SsruZ':function(_0x3faacf,_0x5aa61f,_0x355f58,_0x4326c9,_0x3737c5){return _0x3faacf(_0x5aa61f,_0x355f58,_0x4326c9,_0x3737c5);},'qYgoU':function(_0x3a4aa9,_0x429c3f,_0x7449a6,_0x1bd906){return _0x3a4aa9(_0x429c3f,_0x7449a6,_0x1bd906);},'UdLQC':_0x35494b(0x1be)};Base[_0x35494b(0x15e)]=![];var _0x5014d3={'classname':_0x5ad6d7[_0x35494b(0x141)],'name':_0x5ad6d7['title'],'time':_0x11bb8c[_0x35494b(0x18c)](_0x5ad6d7[_0x35494b(0x1a2)],0x3e8)||0x0,'platform':_0x67fbd8};if(_0x11bb8c[_0x35494b(0x1dc)](_0x5ad6d7['state'],_0x11bb8c[_0x35494b(0x165)])){var _0x44c8cb=_0x5ad6d7[_0x35494b(0x157)],_0x2a0fbd=!Base['hideDiff']&&Base[_0x35494b(0x13f)](_0x44c8cb)?_0x11bb8c['UGCOg']('\x0a',Base[_0x35494b(0x182)](_0x44c8cb[_0x35494b(0x1c2)],_0x44c8cb['expected'])):'';_0x11bb8c[_0x35494b(0x1f2)](xunitWrite,_0x11bb8c[_0x35494b(0x1dd)](tag,_0x11bb8c[_0x35494b(0x18a)],_0x5014d3,![],_0x11bb8c[_0x35494b(0x1dd)](tag,_0x11bb8c[_0x35494b(0x15b)],{},![],_0x11bb8c[_0x35494b(0x183)](_0x11bb8c[_0x35494b(0x183)](_0x11bb8c[_0x35494b(0x109)](_0x11bb8c[_0x35494b(0x110)](escape,_0x44c8cb['message']),_0x11bb8c[_0x35494b(0x1f2)](escape,_0x2a0fbd)),'\x0a'),_0x11bb8c[_0x35494b(0x1c4)](escape,_0x44c8cb['stack'])))));}else _0x5ad6d7[_0x35494b(0x16a)]?_0x11bb8c[_0x35494b(0x1c4)](xunitWrite,_0x11bb8c['SsruZ'](tag,_0x11bb8c[_0x35494b(0x18a)],_0x5014d3,![],_0x11bb8c[_0x35494b(0x15d)](tag,_0x11bb8c[_0x35494b(0x120)],{},!![]))):_0x11bb8c[_0x35494b(0x1f2)](xunitWrite,_0x11bb8c[_0x35494b(0x15d)](tag,_0x11bb8c[_0x35494b(0x18a)],_0x5014d3,!![]));};function getStats(_0x1f16b1){const _0x470906=a28_0x2addf4,_0x2d4f14={};_0x2d4f14[_0x470906(0x205)]=_0x470906(0x1b3),_0x2d4f14[_0x470906(0x194)]=_0x470906(0x185),_0x2d4f14[_0x470906(0x18d)]='failed',_0x2d4f14[_0x470906(0x1ba)]=_0x470906(0x177);const _0x245f16=_0x2d4f14,_0x313f4f=Object['keys'](_0x1f16b1);let _0x1a85e9=0x0,_0x359616=0x0,_0x5bf722=0x0,_0x1a6f2c=0x0;const _0x2a4903=new Set();_0x313f4f[_0x470906(0x1eb)](_0x766f2a=>{const _0x2e7b3f=_0x470906;_0x1f16b1[_0x766f2a][_0x245f16['uWZPo']][_0x2e7b3f(0x1eb)](_0x122060=>{const _0x417dd0=_0x2e7b3f;_0x2a4903[_0x417dd0(0x1c9)](_0x122060[_0x245f16[_0x417dd0(0x205)]]),_0x1a85e9++;switch(_0x122060[_0x417dd0(0x1e8)]){case _0x245f16[_0x417dd0(0x194)]:_0x5bf722++;break;case _0x245f16[_0x417dd0(0x18d)]:_0x359616++;break;default:_0x1a6f2c++;}});});const _0x34117d={};return _0x34117d[_0x470906(0x203)]=_0x2a4903[_0x470906(0x14c)],_0x34117d[_0x470906(0x1f3)]=_0x313f4f,_0x34117d[_0x470906(0x1e6)]=_0x1a85e9,_0x34117d[_0x470906(0x1c3)]=_0x359616,_0x34117d[_0x470906(0x175)]=_0x5bf722,_0x34117d['testsPending']=_0x1a6f2c,_0x34117d;}function a28_0x2b67(_0x313934,_0x424173){const _0x303390=a28_0x3033();return a28_0x2b67=function(_0x2b6769,_0x201686){_0x2b6769=_0x2b6769-0x107;let _0xeb81d4=_0x303390[_0x2b6769];return _0xeb81d4;},a28_0x2b67(_0x313934,_0x424173);}function errorJSON(_0x27606b){const _0xcd2f67=a28_0x2addf4;var _0x5a5406={};return Object[_0xcd2f67(0x179)](_0x27606b)[_0xcd2f67(0x1eb)](function(_0x3bda59){_0x5a5406[_0x3bda59]=_0x27606b[_0x3bda59];},_0x27606b),_0x5a5406;}function cleanCycles(_0x279346){const _0x2e4c74=a28_0x2addf4,_0x1a3352={};_0x1a3352[_0x2e4c74(0x19c)]=function(_0x29c7e8,_0x2d9a8b){return _0x29c7e8===_0x2d9a8b;},_0x1a3352[_0x2e4c74(0x14a)]=_0x2e4c74(0x1d0),_0x1a3352[_0x2e4c74(0x1fa)]=function(_0x4f1b83,_0x3ff929){return _0x4f1b83!==_0x3ff929;},_0x1a3352['axgJw']=function(_0xf3efb6,_0x1f68f1){return _0xf3efb6!==_0x1f68f1;},_0x1a3352[_0x2e4c74(0x11f)]=function(_0x1ed8c9,_0x14d1a2){return _0x1ed8c9+_0x14d1a2;};const _0x40757=_0x1a3352;var _0x2812c8=[];return JSON[_0x2e4c74(0x1bb)](JSON[_0x2e4c74(0x1f9)](_0x279346,function(_0x281cd3,_0x586521){const _0x21cdc8=_0x2e4c74;if(_0x40757[_0x21cdc8(0x19c)](typeof _0x586521,_0x40757[_0x21cdc8(0x14a)])&&_0x40757[_0x21cdc8(0x1fa)](_0x586521,null)){if(_0x40757[_0x21cdc8(0x196)](_0x2812c8[_0x21cdc8(0x130)](_0x586521),-0x1))return _0x40757[_0x21cdc8(0x11f)]('',_0x586521);_0x2812c8[_0x21cdc8(0x1d9)](_0x586521);}return _0x586521;}));}function clean(_0x531c01){const _0x5ce192=a28_0x2addf4,_0x89b20e={'WpmgP':function(_0x29dc95,_0x257100){return _0x29dc95 instanceof _0x257100;},'PHUpK':function(_0x5e9c37,_0x34da83){return _0x5e9c37(_0x34da83);}};var _0x34e817=_0x531c01[_0x5ce192(0x157)]||{};return _0x89b20e[_0x5ce192(0x136)](_0x34e817,Error)&&(_0x34e817=_0x89b20e[_0x5ce192(0x14d)](errorJSON,_0x34e817)),{'title':_0x531c01[_0x5ce192(0x1cb)],'fullTitle':_0x531c01[_0x5ce192(0x141)],'file':_0x531c01['file'],'duration':_0x531c01[_0x5ce192(0x1a2)],'currentRetry':_0x531c01['currentRetry'],'speed':_0x531c01['speed'],'err':_0x89b20e[_0x5ce192(0x14d)](cleanCycles,_0x34e817)};}function printStats(_0x343254,_0xcb319c='spec',_0x46cf57={}){const _0x49c224=a28_0x2addf4,_0x401614={'jKrMb':function(_0x497be4,_0x551d04){return _0x497be4(_0x551d04);},'WVrHU':function(_0xa23a53,_0x358b69){return _0xa23a53===_0x358b69;},'UVMOl':_0x49c224(0x185),'pNOuc':_0x49c224(0x116),'yGXXT':function(_0x595afa,_0x2b4a55){return _0x595afa(_0x2b4a55);},'dBVpu':_0x49c224(0x17f),'Fgzlj':_0x49c224(0x135),'XTUkN':_0x49c224(0x150),'djySQ':function(_0x3a0b61,_0x5733ed){return _0x3a0b61(_0x5733ed);},'KQkbl':_0x49c224(0x177),'nXWqk':function(_0x3a1a8c,_0x1b8c9f){return _0x3a1a8c===_0x1b8c9f;},'JePSq':function(_0x4d6a24,_0x2b8d60){return _0x4d6a24===_0x2b8d60;},'EEPoD':function(_0x28e488,_0x4bcdd4){return _0x28e488*_0x4bcdd4;},'ApTNy':function(_0x497c40,_0x2935b6,_0x32e79b){return _0x497c40(_0x2935b6,_0x32e79b);},'wMNdP':function(_0x1019ef,_0xae0702){return _0x1019ef===_0xae0702;},'aOZym':function(_0x177043,_0x20716d){return _0x177043>_0x20716d;},'sBTdU':function(_0x302b4f){return _0x302b4f();},'aTeOE':_0x49c224(0x138),'iEqmR':_0x49c224(0x13a),'beVcw':_0x49c224(0x1fd),'qwGPX':function(_0x2ebbdb,_0x16745d){return _0x2ebbdb+_0x16745d;},'KtQIH':_0x49c224(0x1a4),'iUrbj':function(_0x5b4135,_0x2bc3d2){return _0x5b4135+_0x2bc3d2;},'blpMV':_0x49c224(0x172),'ZtaLB':function(_0x327448,_0x4725f3){return _0x327448+_0x4725f3;},'TTycr':_0x49c224(0x10a),'EnBIv':function(_0x3df359,_0x387e47){return _0x3df359>_0x387e47;},'iNGko':function(_0x109cd1,_0x1c9a71){return _0x109cd1>_0x1c9a71;},'sqSHf':function(_0x3d395a,_0x446578){return _0x3d395a>_0x446578;},'Cnosk':function(_0x4f72da,_0x316082){return _0x4f72da+_0x316082;},'mdlaj':function(_0x1ae3a7,_0x46e359){return _0x1ae3a7+_0x46e359;},'ElCeQ':function(_0x5546dd,_0x455173){return _0x5546dd+_0x455173;},'XVOjM':_0x49c224(0x181),'zvlNg':function(_0x15977a,_0x44d759){return _0x15977a===_0x44d759;},'fJTbf':'json','XBqAn':'Writing\x20json\x20result\x20to\x20file','IVjYP':'Couldn\x27t\x20write\x20json\x20result\x20to','VEmzE':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','qrlRK':_0x49c224(0x1ee),'zkkZQ':'Mocha\x20Tests','tRhfY':function(_0x491ad1,_0x2e8a1f){return _0x491ad1||_0x2e8a1f;},'liHjy':function(_0x3be536,_0x4ac730,_0xb23348,_0x1613c0){return _0x3be536(_0x4ac730,_0xb23348,_0x1613c0);},'yLgpM':_0x49c224(0x127),'hQvWA':function(_0x524dd3,_0x24ac74){return _0x524dd3-_0x24ac74;},'AzDDQ':function(_0x1478d1,_0x5ed972){return _0x1478d1-_0x5ed972;},'qRlfs':function(_0x38de1e,_0x375d65){return _0x38de1e/_0x375d65;},'ZjWWO':_0x49c224(0x1ae),'nClFI':'Writing\x20xunit\x20result\x20to\x20file','RPMrR':_0x49c224(0x1d1),'trUhT':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','eHOzY':_0x49c224(0x1a1),'QcHFU':_0x49c224(0x122)};if(_0x401614[_0x49c224(0x1b5)](_0xcb319c,_0x401614['aTeOE']))return;const _0x4672f4=0x0,_0x4dbb1=()=>{const _0x1d6ca5=_0x49c224;return _0x401614['jKrMb'](Array,_0x4672f4)[_0x1d6ca5(0x188)]('\x20\x20');},{testSuites:_0x27410d,platforms:_0xa015d8,totalTests:_0xd58cc2,testsFailed:_0x344728,testsPassed:_0x5ca24d,testsPending:_0x10ddd9}=_0x401614[_0x49c224(0x10d)](getStats,_0x343254);_0x401614[_0x49c224(0x14f)](_0x344728,0x0)&&(logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x154)]),process[_0x49c224(0x1f4)]=Math[_0x49c224(0x155)](_0x344728,0xff));logger['debug'](_0x401614['beVcw']);const _0x56e0b7=''+_0x401614[_0x49c224(0x16d)](chalk[_0x49c224(0x160)](_0x401614[_0x49c224(0x174)]),_0xa015d8['length']),_0x435fbc=''+_0x401614[_0x49c224(0x1ab)](chalk[_0x49c224(0x160)](_0x401614[_0x49c224(0x1a9)]),_0x27410d),_0x209ce6=''+_0x401614['ZtaLB'](_0x401614['qwGPX'](_0x401614[_0x49c224(0x1ce)](chalk['bold'](_0x401614[_0x49c224(0x1a7)]),_0x401614[_0x49c224(0x144)](_0x344728,0x0)?chalk[_0x49c224(0x160)][_0x49c224(0x13c)](_0x344728+_0x49c224(0x1da))+',\x20':''),_0x401614[_0x49c224(0x145)](_0x10ddd9,0x0)?chalk['bold'][_0x49c224(0x1ea)](_0x10ddd9+_0x49c224(0x11b))+',\x20':''),_0x401614['sqSHf'](_0x5ca24d,0x0)?chalk[_0x49c224(0x160)]['green'](_0x5ca24d+_0x49c224(0x15f))+',\x20':'')+_0xd58cc2+'\x20total';console[_0x49c224(0x1fe)](_0x401614[_0x49c224(0x111)](_0x401614['Cnosk'](_0x401614[_0x49c224(0x1f0)](_0x401614[_0x49c224(0x1ad)](_0x401614[_0x49c224(0x111)](_0x401614[_0x49c224(0x204)],_0x56e0b7),'\x0a'),_0x435fbc),'\x0a'),_0x209ce6));if(_0x401614[_0x49c224(0x1ac)](_0xcb319c,_0x401614[_0x49c224(0x11c)])){const _0x2bc618={},_0x25f0c6={};_0x25f0c6[_0x49c224(0x203)]=_0x27410d,_0x25f0c6[_0x49c224(0x1f3)]=_0xa015d8,_0x25f0c6[_0x49c224(0x1c3)]=_0x344728,_0x25f0c6[_0x49c224(0x175)]=_0x5ca24d,_0x25f0c6[_0x49c224(0x1e7)]=_0x10ddd9,_0x2bc618[_0x49c224(0x1d7)]=_0x25f0c6,_0xa015d8[_0x49c224(0x1eb)](_0x3fdfa7=>{const _0x364f89=_0x49c224,_0x16888c={'dhkIg':function(_0x2d4125,_0x25103c){const _0x23d790=a28_0x2b67;return _0x401614[_0x23d790(0x1cd)](_0x2d4125,_0x25103c);},'lYYDL':_0x401614[_0x364f89(0x201)],'IVJkR':_0x401614[_0x364f89(0x133)],'VkmOV':function(_0x4b1f46,_0x11b736){const _0x49f899=_0x364f89;return _0x401614[_0x49f899(0x1e9)](_0x4b1f46,_0x11b736);},'rOuET':_0x401614[_0x364f89(0x161)],'rtFOJ':_0x401614['Fgzlj'],'ZoBBo':_0x401614[_0x364f89(0x1af)],'fCnKL':function(_0x4592ed,_0x462805){const _0x36625c=_0x364f89;return _0x401614[_0x36625c(0x19d)](_0x4592ed,_0x462805);}};_0x2bc618[_0x3fdfa7]={'pending':[],'failures':[],'passes':[],'tests':_0x343254[_0x3fdfa7][_0x401614[_0x364f89(0x147)]]['map'](clean)},_0x343254[_0x3fdfa7][_0x401614[_0x364f89(0x147)]]['forEach'](_0x5d4bf9=>{const _0x584712=_0x364f89;if(_0x16888c[_0x584712(0x153)](_0x5d4bf9['state'],_0x16888c[_0x584712(0x1fb)]))_0x2bc618[_0x3fdfa7][_0x16888c[_0x584712(0x19b)]][_0x584712(0x1d9)](_0x16888c['VkmOV'](clean,_0x5d4bf9));else _0x16888c['dhkIg'](_0x5d4bf9[_0x584712(0x1e8)],_0x16888c[_0x584712(0x12b)])?_0x2bc618[_0x3fdfa7][_0x16888c[_0x584712(0x14e)]][_0x584712(0x1d9)](_0x16888c[_0x584712(0x208)](clean,_0x5d4bf9)):_0x2bc618[_0x3fdfa7][_0x16888c[_0x584712(0x1ca)]][_0x584712(0x1d9)](_0x16888c[_0x584712(0x1b8)](clean,_0x5d4bf9));});});if(_0x46cf57[_0x49c224(0x197)])try{logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x1ff)],_0x46cf57[_0x49c224(0x197)]),fs[_0x49c224(0x10c)](_0x46cf57[_0x49c224(0x197)],JSON[_0x49c224(0x1f9)](_0x2bc618,null,0x3));}catch(_0x399345){logger[_0x49c224(0x167)](_0x401614[_0x49c224(0x15c)],_0x46cf57[_0x49c224(0x197)]),logger['debug'](_0x399345);}else logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x1a5)]),console['log'](JSON['stringify'](_0x2bc618,null,0x3));}else{if(_0x401614[_0x49c224(0x164)](_0xcb319c,_0x401614[_0x49c224(0x1b1)])){let _0xec4a7d;const _0x2a32bf=_0x401614['zkkZQ'];_0x46cf57&&(_0xec4a7d=_0x46cf57[_0x49c224(0x20a)]);_0xec4a7d=_0x401614[_0x49c224(0x1df)](_0xec4a7d,_0x2a32bf);let _0x44ed0d=0x0,_0x250454=0x0,_0x434609=0x0,_0x5b0780=0x0;_0xa015d8[_0x49c224(0x1eb)](_0x1c1ce=>{const _0x38180c=_0x49c224;_0x343254[_0x1c1ce][_0x401614[_0x38180c(0x147)]]['forEach'](_0x37097a=>{const _0x14e766=_0x38180c;if(_0x401614['nXWqk'](_0x37097a[_0x14e766(0x1e8)],_0x401614['UVMOl']))_0x44ed0d++;else _0x401614[_0x14e766(0x17c)](_0x37097a[_0x14e766(0x1e8)],_0x401614['dBVpu'])&&_0x250454++;_0x434609++,_0x5b0780+=_0x401614['EEPoD'](_0x37097a['duration'],0x1);});}),_0x401614[_0x49c224(0x1e9)](xunitWrite,_0x401614['liHjy'](tag,_0x401614[_0x49c224(0x17a)],{'name':_0xec4a7d,'tests':_0x434609,'failures':0x0,'errors':_0x250454,'skipped':_0x401614[_0x49c224(0x143)](_0x401614['AzDDQ'](_0x434609,_0x250454),_0x44ed0d),'timestamp':new Date()[_0x49c224(0x131)](),'time':_0x401614[_0x49c224(0x12d)](_0x5b0780,0x3e8)||0x0},![])),_0xa015d8[_0x49c224(0x1eb)](_0x32d751=>{const _0x5e7f9f=_0x49c224,_0x2877c3={'JLmBE':function(_0x49ac87,_0x53bd60,_0x32aca8){const _0x707b7c=a28_0x2b67;return _0x401614[_0x707b7c(0x1f7)](_0x49ac87,_0x53bd60,_0x32aca8);}};_0x343254[_0x32d751][_0x401614['KQkbl']][_0x5e7f9f(0x1eb)](_0x407d50=>{const _0x45a9fd=_0x5e7f9f;_0x2877c3[_0x45a9fd(0x178)](xunitTest,_0x407d50,_0x32d751);});}),_0x401614[_0x49c224(0x10d)](xunitWrite,_0x401614[_0x49c224(0x1c5)]);if(_0x46cf57[_0x49c224(0x197)])try{logger['debug'](_0x401614[_0x49c224(0x12e)],_0x46cf57[_0x49c224(0x197)]),fs[_0x49c224(0x10c)](_0x46cf57['output'],xunitContent);}catch(_0x43984c){logger[_0x49c224(0x167)](_0x401614[_0x49c224(0x16b)],_0x46cf57[_0x49c224(0x197)]),logger[_0x49c224(0x149)](_0x43984c);}else logger[_0x49c224(0x149)](_0x401614['trUhT']),console['log'](xunitContent);}else{if(_0x401614['zvlNg'](_0x344728,0x0))return;console[_0x49c224(0x1fe)](),logger[_0x49c224(0x149)](_0x401614[_0x49c224(0x1fc)]),console[_0x49c224(0x1fe)](chalk['bold'][_0x49c224(0x13e)](_0x401614[_0x49c224(0x189)])),_0xa015d8[_0x49c224(0x1eb)](_0x4fd07c=>{const _0x39bb9b=_0x49c224,_0x1cec5b=[];_0x343254[_0x4fd07c][_0x401614['KQkbl']][_0x39bb9b(0x1eb)](_0x44a019=>{const _0x32ccf3=_0x39bb9b;_0x401614['wMNdP'](_0x44a019[_0x32ccf3(0x1e8)],_0x401614[_0x32ccf3(0x161)])&&(_0x44a019[_0x32ccf3(0x199)]=()=>_0x44a019['titlePathV'],_0x1cec5b[_0x32ccf3(0x1d9)](_0x44a019));}),_0x401614[_0x39bb9b(0x14f)](_0x1cec5b[_0x39bb9b(0x1cc)],0x0)&&(Base[_0x39bb9b(0x159)](),Base[_0x39bb9b(0x159)](_0x401614[_0x39bb9b(0x1ef)](_0x4dbb1),chalk[_0x39bb9b(0x160)]['bgBlueBright'](_0x4fd07c)),Base['list'](_0x1cec5b));});}}}async function run(_0x3257f9,_0x245669){const _0x220798=a28_0x2addf4,_0x2dbac7={'icfcn':function(_0x468618,_0x1de5bc,_0x28f337,_0x432b34){return _0x468618(_0x1de5bc,_0x28f337,_0x432b34);},'ZHcoD':'reporter-option','ZRUXc':_0x220798(0x118),'txoxi':_0x220798(0x121),'wyctb':function(_0x5c5798,_0x54d2bd,_0x599906,_0x3e32dc){return _0x5c5798(_0x54d2bd,_0x599906,_0x3e32dc);},'QqrHZ':_0x220798(0x1db),'Gjukj':_0x220798(0x12c),'lToib':_0x220798(0x1c7),'cRkmb':function(_0x50e213,_0x257d27){return _0x50e213!=_0x257d27;},'VZlbu':_0x220798(0x119),'CvDBQ':'mjs','kOJtc':'test','VmXdE':_0x220798(0x1a0),'orEcD':function(_0x157389,_0x4fdc43){return _0x157389(_0x4fdc43);},'tBEMT':function(_0x4f4cd9,_0x49646d,_0x128c73){return _0x4f4cd9(_0x49646d,_0x128c73);},'hTmln':'files','eFiUD':_0x220798(0x1e3),'fTxhB':'Now,\x20showing\x20logs\x20from\x20mocha','UtkCk':function(_0x37a562,_0x48ad92){return _0x37a562*_0x48ad92;},'uipiS':function(_0x1d06db,_0x127d8e){return _0x1d06db(_0x127d8e);},'LcKPr':function(_0x3518c8,_0x5ed893){return _0x3518c8!==_0x5ed893;}};process[_0x220798(0x202)][_0x220798(0x158)](_0x2dbac7[_0x220798(0x1f6)])&&(process[_0x220798(0x198)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process['argv'][_0x220798(0x158)](_0x2dbac7[_0x220798(0x15a)])&&(process[_0x220798(0x198)][_0x220798(0x117)]=![]);const _0x4b1b92=new BrowserStackSetup(_0x3257f9,_0x2dbac7[_0x220798(0x108)]);helper[_0x220798(0x14b)](_0x4b1b92[_0x220798(0x1c8)],_0x3257f9);helper[_0x220798(0x16c)]()?(await _0x4b1b92['initialize'](),await helper['handleApp'](_0x4b1b92['config'])):await _0x4b1b92['setupTCGAuth']();const _0x1b287c=[];let _0x1ecf31=[];if(!_0x4b1b92[_0x220798(0x1bd)])return;_0x2dbac7['cRkmb'](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x1b4)],null)&&(process[_0x220798(0x198)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4b1b92[_0x220798(0x1bd)]['testObservability']);!helper['isUndefined'](_0x4b1b92['config'][_0x220798(0x1a8)])&&(process[_0x220798(0x198)][_0x220798(0x13b)]=_0x4b1b92[_0x220798(0x1bd)]['accessibility']);!helper['isUndefined'](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x17d)])&&(process[_0x220798(0x198)][_0x220798(0x137)]=JSON['stringify'](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x17d)]));const {extension:extension=['js',_0x2dbac7['VZlbu'],_0x2dbac7[_0x220798(0x17b)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2dbac7[_0x220798(0x209)]]}=_0x3257f9,_0x9c3353={..._0x3257f9};_0x9c3353[_0x220798(0x1e0)]=null;const _0x2e3c96=_0x9c3353;let _0xf551ef;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x3c3f4f=process[_0x220798(0x198)][_0x220798(0x193)];!helper[_0x220798(0x114)](_0x4b1b92[_0x220798(0x12a)])&&_0x4b1b92['cliConfig'][_0x220798(0x1c1)](_0x2dbac7[_0x220798(0x129)])&&(_0x3c3f4f=_0x4b1b92[_0x220798(0x12a)][_0x220798(0x1d5)](_0x2dbac7['VmXdE'])),_0xf551ef=testOpsHelper[_0x220798(0x10e)](_0x3c3f4f);}if(helper[_0x220798(0x114)](_0xf551ef)){const _0x53fca6={};_0x53fca6[_0x220798(0x190)]=ignore,_0x53fca6[_0x220798(0x1d4)]=extension,_0x53fca6[_0x220798(0x1de)]=file,_0x53fca6[_0x220798(0x19f)]=recursive,_0x53fca6[_0x220798(0x206)]=sort,_0x53fca6[_0x220798(0x1c6)]=spec,_0xf551ef=_0x2dbac7[_0x220798(0x134)](collectFiles,_0x53fca6),_0x2dbac7[_0x220798(0x10f)](nestedKeyValue,_0xf551ef,[_0x2dbac7[_0x220798(0x186)]])&&(_0xf551ef=_0xf551ef['files']);}if(!helper[_0x220798(0x16c)]()){const _0x51126f=0x1,_0x46da17={..._0x2e3c96};_0x46da17[_0x220798(0x1c6)]=[..._0xf551ef],_0x1b287c[_0x220798(0x1d9)]({'mochaOpts':_0x46da17,'configuration':{'platform':os['platform']()}}),logger[_0x220798(0x1e4)](_0x2dbac7[_0x220798(0x11d)]),logger[_0x220798(0x1e4)](_0x2dbac7[_0x220798(0x1b2)]),_0x2dbac7[_0x220798(0x176)](parallelTestRun,_0x1b287c,_0x51126f,_0x4b1b92)['then'](_0x3b5f59=>{const _0x4e7526=_0x220798;PerformanceTester[_0x4e7526(0x1f5)](PerformanceEvents[_0x4e7526(0x151)]),_0x2dbac7[_0x4e7526(0x107)](printStats,_0x3b5f59,_0x3257f9['reporter'],_0x3257f9['reporterOptions']||_0x3257f9[_0x2dbac7['ZHcoD']]);})[_0x220798(0x184)](()=>{const _0x3a7e1e=_0x220798;PerformanceTester['start'](PerformanceEvents[_0x3a7e1e(0x151)]);try{const {browserstackFolderPath:_0x53159b,tcgConfigPath:_0x2ec224}=helper[_0x3a7e1e(0x18f)]();fs[_0x3a7e1e(0x16e)](_0x2ec224),fs[_0x3a7e1e(0x112)](_0x53159b);}catch(_0xc3cf7b){logger[_0x3a7e1e(0x149)](_0x2dbac7['ZRUXc'],_0xc3cf7b);}try{utilities[_0x3a7e1e(0x1d3)](_0x2dbac7[_0x3a7e1e(0x125)],{},_0x4b1b92['config'],_0x4b1b92[_0x3a7e1e(0x1c8)]);}catch(_0x3aaf39){logger[_0x3a7e1e(0x149)](_0x3a7e1e(0x132)+_0x3aaf39[_0x3a7e1e(0x1f1)]);}try{helper[_0x3a7e1e(0x191)]();}catch(_0xcd17c0){logger['debug'](_0x3a7e1e(0x1e2)+_0xcd17c0);}testOpsHelper[_0x3a7e1e(0x128)]();});}else{const _0x50efbe=helper[_0x220798(0x113)](_0x4b1b92[_0x220798(0x1bd)]);let _0x37cd59=helper[_0x220798(0x1b7)](_0x4b1b92[_0x220798(0x1bd)]);_0x1ecf31=helper['prepareCapabilities'](_0x4b1b92[_0x220798(0x1bd)],_0x50efbe,constants[_0x220798(0x1ec)]['MOCHA']);helper['getCentralUser']()['central_scanner']&&(_0x37cd59=centralScannerConstants[_0x220798(0x12f)]);let _0x217330;const _0x371061=_0x4b1b92[_0x220798(0x1bd)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x3257f9,_0x245669,_0x4b1b92[_0x220798(0x1bd)],constants[_0x220798(0x1ec)]['MOCHA'])||0x1;helper[_0x220798(0x168)](_0x4b1b92[_0x220798(0x1bd)])?_0x217330=_0x2dbac7[_0x220798(0x1d8)](_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x1f3)][_0x220798(0x1cc)],_0x371061):_0x217330=_0x371061;const _0x7a9a10=_0x2dbac7['uipiS'](getPercyOptions,_0x4b1b92[_0x220798(0x1bd)]);if(_0x2dbac7[_0x220798(0x1d2)](_0x4b1b92['config'][_0x220798(0x19e)],0x1))_0xf551ef[_0x220798(0x1eb)](_0x462b71=>{const _0x48c106=_0x220798,_0x26e9c1=[];_0x1ecf31['forEach']((_0xe5e2fa,_0x13613d)=>{const _0xce7831=a28_0x2b67,_0x2d7b58={};_0x2d7b58[_0xce7831(0x1c6)]=[_0x462b71],_0x26e9c1[_0xce7831(0x1d9)]({'mochaOpts':Object[_0xce7831(0x142)]({},_0x2e3c96,_0x2d7b58),'configuration':{'server':_0x37cd59,'capability':_0xe5e2fa,'proxySettings':_0x4b1b92[_0xce7831(0x1bd)][_0xce7831(0x1f8)],'platform':helper['getPlatformName'](_0xe5e2fa),'browserStackLogLevel':_0x4b1b92['config']['logLevel'],'platformIndex':_0x13613d,'browserStackPercyOptions':_0x7a9a10,'platformCaps':Object['assign']({'index':_0x13613d},_0x4b1b92[_0xce7831(0x1bd)][_0xce7831(0x1f3)][_0x13613d])}});}),_0x1b287c[_0x48c106(0x1d9)](..._0x26e9c1);});else{const _0x44abb6=[];_0x1ecf31[_0x220798(0x1eb)]((_0x3bb939,_0x2c4b96)=>{const _0x7a4b57=_0x220798;let _0x35565e=Object[_0x7a4b57(0x142)]({},_0x2e3c96);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x7a4b57(0x124)]()&&(_0x35565e={..._0x35565e,'spec':[..._0xf551ef]}),_0x44abb6[_0x7a4b57(0x1d9)]({'mochaOpts':_0x35565e,'configuration':{'server':_0x37cd59,'capability':_0x3bb939,'proxySettings':_0x4b1b92[_0x7a4b57(0x1bd)][_0x7a4b57(0x1f8)],'platform':helper[_0x7a4b57(0x18b)](_0x3bb939),'browserStackLogLevel':_0x4b1b92[_0x7a4b57(0x1bd)][_0x7a4b57(0x156)],'platformIndex':_0x2c4b96,'browserStackPercyOptions':_0x7a9a10,'platformCaps':Object[_0x7a4b57(0x142)]({'index':_0x2c4b96},_0x4b1b92['config'][_0x7a4b57(0x1f3)][_0x2c4b96])}});}),_0x1b287c['push'](..._0x44abb6);}logger[_0x220798(0x1e4)](_0x220798(0x171)+_0x4b1b92[_0x220798(0x1bd)][_0x220798(0x1f3)][_0x220798(0x1cc)]+_0x220798(0x207)),logger['info'](_0x2dbac7[_0x220798(0x1b2)]);let _0x434bf3;_0x2dbac7[_0x220798(0x176)](parallelTestRun,_0x1b287c,_0x217330,_0x4b1b92)[_0x220798(0x192)](_0x4f1192=>{const _0x4d527c=_0x220798;PerformanceTester[_0x4d527c(0x1f5)](PerformanceEvents['SDK_CLEANUP']),_0x434bf3=_0x4f1192,_0x2dbac7['wyctb'](printStats,_0x4f1192,_0x3257f9[_0x4d527c(0x18e)],_0x3257f9[_0x4d527c(0x169)]||_0x3257f9[_0x2dbac7[_0x4d527c(0x17e)]]);})[_0x220798(0x184)](async()=>{const _0x5a9449=_0x220798;PerformanceTester[_0x5a9449(0x1f5)](PerformanceEvents[_0x5a9449(0x151)]),_0x4b1b92[_0x5a9449(0x162)]=helper[_0x5a9449(0x11a)](_0x434bf3,_0x2dbac7['QqrHZ']),await utilities[_0x5a9449(0x1b9)](_0x4b1b92),testOpsHelper[_0x5a9449(0x128)]();});}}module[a28_0x2addf4(0x170)]=run;
@@ -1 +1 @@
1
- const a29_0x4defd4=a29_0x4f32;function a29_0x381a(){const _0x3b721d=['getAccessibilityResultsSummary','2241385jcQZgs','build','proxySettings','TDNqk','overrideGet','quitCount_','push','chromeOptions','set','jMHRA','capabilities_','proxy_','requireHttpClient','bYMaX','__driver','3814284ZTLFfv','./helpers/patchHelper','winstonLogger','CAPABILITY_KEY','ieOptions_','../../../helpers/helper','newHubUrl','edgeOptions','KAqwR','storeOptimalHubUrl','yGQza','ieOptions','gTDym','mergeDeep','firefoxOptions','ekJfQ','YUEli','uKgaA','browserstackAgentObservability','se:ieOptions','23690259xumGXA','HqNKF','8nnvitJ','safariOptions_','capability','Mxzpc','SSRew','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','GMGtQ','getAccessibilityResults','New\x20hub\x20url\x20set\x20to\x20','../../../helpers/logger','options_','VQCDw','setCapabilities','../accessibility-automation/helper','GzyGp','isPacProxy','__driversArray','get','0|1|4|3|2|5','error','https://','POiwB','pUWge','LFObA','path','send','updateHubUrl','originalBuilder','forEach','global','16GMruLD','edBDF','logLevel','vIaPI','504678aGdbrK','exports','proxyUrl','BMxDV','caps_','keys','VnNDZ','AorPI','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','2146501AIvzUn','KcbTB','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','uEgbs','eITDR','Builder','LUAuy','getGlobal','HGJmE','__setBrowserOptions','TOaqQ','AmYSR','optimalHubUrl','debug','setServer','../../../hubAllocationMethods','242178ABvhMQ','isBrowserstackInfra','ACmBB','then','Proxy\x20set\x20to\x20','ms:edgeOptions','885253evbkWz','isUndefined','rmPmq','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','session_','__drivers','agent_','isAccessibilityPlatform','firefoxOptions_','info','getHubUrl','../../../bin/utils/constants','url_','SGLLS','bVCaF','safari.options','edgeOptions_','setLogLevel','../../../helpers/accessibility-automation/helper','nMVKV','KYXXm','chromeOptions_','/wd/hub','moz:firefoxOptions','HttpClient'];a29_0x381a=function(){return _0x3b721d;};return a29_0x381a();}(function(_0x4eb9d4,_0x392c41){const _0x12a5f9=a29_0x4f32,_0x492a89=_0x4eb9d4();while(!![]){try{const _0x830b8b=-parseInt(_0x12a5f9(0xb3))/0x1+parseInt(_0x12a5f9(0x114))/0x2+-parseInt(_0x12a5f9(0xad))/0x3*(-parseInt(_0x12a5f9(0xf2))/0x4)+-parseInt(_0x12a5f9(0xcd))/0x5+-parseInt(_0x12a5f9(0xdc))/0x6+-parseInt(_0x12a5f9(0x11e))/0x7*(parseInt(_0x12a5f9(0x110))/0x8)+parseInt(_0x12a5f9(0xf0))/0x9;if(_0x830b8b===_0x392c41)break;else _0x492a89['push'](_0x492a89['shift']());}catch(_0x3ad68c){_0x492a89['push'](_0x492a89['shift']());}}}(a29_0x381a,0x71298));const logger=require(a29_0x4defd4(0xfb))[a29_0x4defd4(0xde)],helper=require(a29_0x4defd4(0xe1)),constants=require(a29_0x4defd4(0xbe)),hubAllocator=require(a29_0x4defd4(0xac)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x4defd4(0xff)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x4defd4(0xc5)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x4defd4(0xdd)),modify=(_0x308928,_0x5329cd=null,_0x50c3b1=![])=>{const _0x1c9bec=a29_0x4defd4,_0x3b856a={'HGJmE':function(_0x2d322e,_0x375779){return _0x2d322e!==_0x375779;},'edBDF':'/session','LUAuy':function(_0x47cc21,_0x5dffd0){return _0x47cc21+_0x5dffd0;},'uKgaA':_0x1c9bec(0x106),'bYMaX':_0x1c9bec(0xc9),'KcbTB':'goog:chromeOptions','vIaPI':_0x1c9bec(0xd4),'rXPpB':_0x1c9bec(0xb2),'ACmBB':_0x1c9bec(0xe3),'YUEli':_0x1c9bec(0xca),'KYXXm':_0x1c9bec(0xea),'GMGtQ':_0x1c9bec(0xc2),'SSRew':_0x1c9bec(0xef),'uEgbs':_0x1c9bec(0xe7),'pUWge':function(_0x44922f,_0x1c5ef1){return _0x44922f===_0x1c5ef1;},'jMHRA':'object','yGQza':'Setting\x20Browserstack\x20capabilities','BMxDV':_0x1c9bec(0xa9),'AorPI':_0x1c9bec(0x11c),'VQCDw':function(_0x2da37e,_0x3d15f2,_0x4fd9b2){return _0x2da37e(_0x3d15f2,_0x4fd9b2);},'pXXyo':function(_0x4798be,_0x3220d6){return _0x4798be(_0x3220d6);},'LFObA':_0x1c9bec(0x104),'eITDR':function(_0x56cd59){return _0x56cd59();},'TOaqQ':function(_0x3ae6d4,_0x1dc411){return _0x3ae6d4(_0x1dc411);},'POiwB':_0x1c9bec(0xba),'hDDFZ':_0x1c9bec(0xf7),'bVCaF':function(_0x2d9356,_0x2578d6){return _0x2d9356(_0x2578d6);},'Mxzpc':function(_0x363de1,_0x57b9de,_0x1f2245){return _0x363de1(_0x57b9de,_0x1f2245);},'rmPmq':function(_0x449c15,_0x4fe59e){return _0x449c15!==_0x4fe59e;},'gTDym':_0x1c9bec(0xb6),'AmYSR':'Modifying\x20webdriver\x20builder'},_0x3e2893=helper[_0x1c9bec(0xd9)]();let _0xdcf116;try{_0xdcf116=helper['requireSeleniumWebdriver'](),_0xdcf116['originalBuilder']&&(_0xdcf116[_0x1c9bec(0x123)]=_0xdcf116[_0x1c9bec(0x10d)]);}catch(_0x1ef194){return;}if(helper[_0x1c9bec(0xae)]()){const _0x45f71c={};_0x45f71c[_0x1c9bec(0x112)]=_0x308928['browserStackLogLevel'],helper[_0x1c9bec(0xc4)](_0x45f71c,new Map(),new Map()),logger[_0x1c9bec(0xbc)](_0x3b856a[_0x1c9bec(0xe8)]),logger['debug'](_0x3b856a[_0x1c9bec(0xa8)]);}class _0xe50736 extends _0x3e2893[_0x1c9bec(0xcb)]{['send'](_0x50a2f0){const _0xeba32f=_0x1c9bec;if(_0x3b856a[_0xeba32f(0xa5)](_0x50a2f0[_0xeba32f(0x10a)],_0x3b856a[_0xeba32f(0x111)])&&_0x3b856a[_0xeba32f(0xa5)](global[_0xeba32f(0xe2)],''))try{global['newHubUrl']=_0x3b856a[_0xeba32f(0xa3)](_0x3b856a['LUAuy'](_0x3b856a[_0xeba32f(0xed)],global[_0xeba32f(0xe2)]),_0x3b856a[_0xeba32f(0xda)]),this[_0xeba32f(0xfc)]=hubAllocator['getRequestOptions'](global[_0xeba32f(0xe2)]),logger[_0xeba32f(0xaa)](_0xeba32f(0xfa)+global[_0xeba32f(0xe2)]),global[_0xeba32f(0xe2)]='';}catch(_0x2e5bc9){logger[_0xeba32f(0x105)](_0x2e5bc9);}return super[_0xeba32f(0x10b)](_0x50a2f0);}}class _0x25c67d extends _0xdcf116[_0x1c9bec(0x123)]{[_0x1c9bec(0xab)](){const _0x1ddc5a=_0x1c9bec;return this[_0x1ddc5a(0xbf)]=helper[_0x1ddc5a(0xbd)](_0x308928),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x1ddc5a(0xbf)]),this;}[_0x1c9bec(0xa6)](_0x92fd4f){const _0x180c07=_0x1c9bec;let _0x59018e={};for(const _0x47cf92 in _0x92fd4f){switch(_0x47cf92){case _0x3b856a[_0x180c07(0x11f)]:case _0x3b856a[_0x180c07(0x113)]:this['chromeOptions_']&&(_0x59018e=this[_0x180c07(0xc8)][_0x180c07(0x103)](this[_0x180c07(0xc8)][_0x180c07(0xdf)])||{},this[_0x180c07(0xc8)][_0x180c07(0xd5)](this['chromeOptions_'][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a['rXPpB']:case _0x3b856a[_0x180c07(0xaf)]:this[_0x180c07(0xc3)]&&(_0x59018e=this[_0x180c07(0xc3)][_0x180c07(0x103)](this[_0x180c07(0xc3)][_0x180c07(0xdf)])||{},this[_0x180c07(0xc3)][_0x180c07(0xd5)](this[_0x180c07(0xc3)]['CAPABILITY_KEY'],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a[_0x180c07(0xec)]:case _0x3b856a[_0x180c07(0xc7)]:this['firefoxOptions_']&&(_0x59018e=this[_0x180c07(0xbb)]['get'](this[_0x180c07(0xbb)][_0x180c07(0xdf)])||{},this[_0x180c07(0xbb)][_0x180c07(0xd5)](this[_0x180c07(0xbb)][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a[_0x180c07(0xf8)]:this[_0x180c07(0xf3)]&&(_0x59018e=this['safariOptions_'][_0x180c07(0x103)](this[_0x180c07(0xf3)][_0x180c07(0xdf)])||{},this['safariOptions_']['set'](this[_0x180c07(0xf3)][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;case _0x3b856a[_0x180c07(0xf6)]:case _0x3b856a[_0x180c07(0x121)]:this[_0x180c07(0xe0)]&&(_0x59018e=this['ieOptions_'][_0x180c07(0x103)](this['ieOptions_']['CAPABILITY_KEY'])||{},this['ieOptions_'][_0x180c07(0xd5)](this[_0x180c07(0xe0)][_0x180c07(0xdf)],helper[_0x180c07(0xe9)](_0x59018e,_0x92fd4f[_0x47cf92])));break;}}}[_0x1c9bec(0xfe)](){const _0xb4ff7d=_0x1c9bec,_0x4eb8a9={'TDNqk':function(_0x161490,_0x155880){const _0x3797c7=a29_0x4f32;return _0x3b856a[_0x3797c7(0x108)](_0x161490,_0x155880);},'nMVKV':_0x3b856a[_0xb4ff7d(0xd6)]};return logger[_0xb4ff7d(0xaa)](_0x3b856a[_0xb4ff7d(0xe6)]),this['__setBrowserOptions'](_0x308928[_0xb4ff7d(0xf4)]),Object[_0xb4ff7d(0x119)](_0x308928[_0xb4ff7d(0xf4)])[_0xb4ff7d(0x10e)](_0x5d482f=>{const _0x1f58df=_0xb4ff7d,_0x4be91d=this[_0x1f58df(0xd7)][_0x1f58df(0x103)](_0x5d482f);_0x4eb8a9[_0x1f58df(0xd0)](typeof _0x4be91d,_0x4eb8a9[_0x1f58df(0xc6)])?this[_0x1f58df(0xd7)][_0x1f58df(0xd5)](_0x5d482f,helper['mergeDeep'](_0x4be91d,_0x308928[_0x1f58df(0xf4)][_0x5d482f])):this['capabilities_'][_0x1f58df(0xd5)](_0x5d482f,_0x308928[_0x1f58df(0xf4)][_0x5d482f]);}),this;}[_0x1c9bec(0xce)](){const _0x5a4109=_0x1c9bec,_0x2c0579={'SGLLS':function(_0x44442a,_0x913fd2,_0x25d1af){const _0x37b152=a29_0x4f32;return _0x3b856a[_0x37b152(0xfd)](_0x44442a,_0x913fd2,_0x25d1af);},'ekJfQ':function(_0x2654bd,_0x2a48fd,_0x40435a){const _0x53f6ad=a29_0x4f32;return _0x3b856a[_0x53f6ad(0xfd)](_0x2654bd,_0x2a48fd,_0x40435a);},'VnNDZ':function(_0x4883f1,_0x1b5ec9,_0x3a34a7){const _0x46dd23=a29_0x4f32;return _0x3b856a[_0x46dd23(0xfd)](_0x4883f1,_0x1b5ec9,_0x3a34a7);},'KAqwR':function(_0x2612bf,_0x9a03eb){return _0x3b856a['pXXyo'](_0x2612bf,_0x9a03eb);},'HqNKF':function(_0x4a2063,_0x37cb7,_0x41f55c){const _0x3bc93d=a29_0x4f32;return _0x3b856a[_0x3bc93d(0xfd)](_0x4a2063,_0x37cb7,_0x41f55c);}};if(helper[_0x5a4109(0xae)]()){const _0x5114de=_0x3b856a[_0x5a4109(0x109)]['split']('|');let _0x3ae21e=0x0;while(!![]){switch(_0x5114de[_0x3ae21e++]){case'0':_0x3b856a[_0x5a4109(0x122)](isAccessibilityAutomationSession)&&_0x3b856a[_0x5a4109(0xa7)](setAccessibilityCapabilities,_0x308928);continue;case'1':this[_0x5a4109(0xab)]();continue;case'2':globals[_0x5a4109(0xa4)](_0x3b856a[_0x5a4109(0x107)])&&(!_0x3b856a[_0x5a4109(0xfd)](setExtension,this,_0x308928)&&globals['setGlobal'](_0x3b856a[_0x5a4109(0x107)],![]));continue;case'3':if(helper[_0x5a4109(0x101)](_0x308928[_0x5a4109(0xcf)][_0x5a4109(0x116)]))this[_0x5a4109(0xb9)]=helper['getHttpAgent'](_0x308928['proxySettings'][_0x5a4109(0x116)]);else _0x308928[_0x5a4109(0xcf)][_0x5a4109(0x116)]&&(this[_0x5a4109(0xd8)]=_0x308928[_0x5a4109(0xcf)][_0x5a4109(0x116)],logger[_0x5a4109(0xaa)](_0x5a4109(0xb1)+this['proxy_']));continue;case'4':this[_0x5a4109(0xfe)]();continue;case'5':logger['debug'](_0x3b856a['hDDFZ']);continue;}break;}}const _0x42066c=super[_0x5a4109(0xce)]();return _0x42066c[_0x5a4109(0xb7)][_0x5a4109(0xb0)](_0x1cb22c=>{const _0x276f29=_0x5a4109;try{const _0x3169cc=_0x1cb22c[_0x276f29(0x118)][_0x276f29(0x103)](_0x3b856a[_0x276f29(0x117)]);_0x3169cc?(logger[_0x276f29(0xaa)](_0x276f29(0x11d)+_0x3169cc),hubAllocator[_0x276f29(0x10c)](_0x3169cc),helper[_0x276f29(0xe5)](_0x3169cc)):logger[_0x276f29(0xaa)](_0x3b856a[_0x276f29(0x11b)]);}catch(_0x32942f){logger['debug'](_0x276f29(0x120)+_0x32942f);}}),_0x42066c[_0x5a4109(0xd2)]=0x0,_0x42066c[_0x5a4109(0xb0)]&&_0x42066c[_0x5a4109(0xb0)](_0x59f11f=>{const _0x42f32b=_0x5a4109,_0x5a6fd8={'GzyGp':function(_0x585973,_0x1d5d93,_0x271bb0){const _0x6a72f3=a29_0x4f32;return _0x2c0579[_0x6a72f3(0xeb)](_0x585973,_0x1d5d93,_0x271bb0);}};_0x2c0579[_0x42f32b(0x11a)](overrideQuit,_0x59f11f,_0x42066c),_0x2c0579[_0x42f32b(0xe4)](overrideTakeScreenshot,_0x59f11f),helper['overrideGet'](_0x59f11f,_0x308928),_0x2c0579[_0x42f32b(0x11a)](overrideExecute,_0x59f11f,_0x308928),_0x59f11f[_0x42f32b(0xcc)]=async()=>{const _0x157790=_0x42f32b;return await _0x5a6fd8[_0x157790(0x100)](getAccessibilityResultsSummary,_0x59f11f,global);},_0x59f11f[_0x42f32b(0xf9)]=async()=>{const _0x5a3d08=_0x42f32b;return await _0x2c0579[_0x5a3d08(0xc0)](getAccessibilityResults,_0x59f11f,global);};}),_0x42066c[_0x5a4109(0xcc)]=async()=>{const _0x227503=_0x5a4109;return await _0x2c0579[_0x227503(0xeb)](getAccessibilityResultsSummary,_0x42066c,global);},_0x42066c[_0x5a4109(0xf9)]=async()=>{const _0x191dbf=_0x5a4109;return await _0x2c0579[_0x191dbf(0xf1)](getAccessibilityResults,_0x42066c,global);},_0x3b856a[_0x5a4109(0xa7)](overrideTakeScreenshot,_0x42066c),_0x3b856a[_0x5a4109(0xc1)](overrideQuit,_0x42066c),helper[_0x5a4109(0xd1)](_0x42066c,_0x308928),_0x3b856a[_0x5a4109(0xf5)](overrideExecute,_0x42066c,_0x308928),helper['isUndefined'](global['__driversArray'])&&(global[_0x5a4109(0x102)]=[]),helper[_0x5a4109(0xb4)](global[_0x5a4109(0xb8)])&&(global[_0x5a4109(0xb8)]=[]),global[_0x5a4109(0x102)][_0x5a4109(0xd3)](_0x42066c),global[_0x5a4109(0xdb)]=_0x42066c,_0x3b856a[_0x5a4109(0xb5)](global[_0x5a4109(0xb8)],undefined)&&global[_0x5a4109(0xb8)][_0x5a4109(0xd3)](_0x42066c),_0x5329cd&&helper['isUndefined'](_0x5329cd['global'][_0x5a4109(0x102)])&&(_0x5329cd[_0x5a4109(0x10f)]['__driversArray']=[]),_0x5329cd&&_0x3b856a[_0x5a4109(0xb5)](_0x5329cd[_0x5a4109(0x10f)]['__drivers'],undefined)&&(_0x5329cd['global'][_0x5a4109(0xb8)][_0x5a4109(0xd3)](_0x42066c),_0x5329cd[_0x5a4109(0x10f)][_0x5a4109(0x102)][_0x5a4109(0xd3)](_0x42066c)),_0x42066c;}}return _0xdcf116['originalBuilder']=_0xdcf116['Builder'],_0xdcf116['Builder']=_0x25c67d,_0x3e2893[_0x1c9bec(0xcb)]=_0xe50736,_0xdcf116;};function a29_0x4f32(_0x17a391,_0x533f1e){const _0x381a92=a29_0x381a();return a29_0x4f32=function(_0x4f3264,_0xa28e30){_0x4f3264=_0x4f3264-0xa3;let _0x668e6e=_0x381a92[_0x4f3264];return _0x668e6e;},a29_0x4f32(_0x17a391,_0x533f1e);}module[a29_0x4defd4(0x115)][a29_0x4defd4(0xee)]=modify;
1
+ function a29_0xc46e(){const _0x5099b3=['safariOptions_','edgeOptions_','agent_','setGlobal','10VWVygp','126576gWcgDY','Modifying\x20webdriver\x20builder','ieOptions_','Gkams','keys','__drivers','send','capabilities_','overrideGet','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','NVbpN','logLevel','goog:chromeOptions','object','firefoxOptions','adPef','/session','PHHmw','hCICA','CAPABILITY_KEY','firefoxOptions_','UTxmh','uYvpR','QbXuz','proxyUrl','176xdqIHG','Hub\x20url\x20set\x20to\x20','../../../helpers/globals','browserstackAgentObservability','requireSeleniumWebdriver','3203022lOyZAu','browserStackLogLevel','updateHubUrl','safari.options','54474OfaLdg','tOcTP','2|3|0|1|5|4','then','Oxukd','requireHttpClient','Ulubx','../../../bin/utils/constants','../../../helpers/logger','qOMoQ','set','czxrd','options_','ms:edgeOptions','Tfsvq','Builder','DkIRG','PfJUM','build','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','path','winstonLogger','isUndefined','getAccessibilityResults','mergeDeep','OBPsu','optimalHubUrl','WBcgv','error','setLogLevel','SDsSL','proxySettings','sblaV','debug','Otjfr','quitCount_','exports','getAccessibilityResultsSummary','voUdk','caps_','Proxy\x20set\x20to\x20','__driversArray','isBrowserstackInfra','newHubUrl','push','getRequestOptions','0|2|4|3|5|1','forEach','global','Setting\x20Browserstack\x20capabilities','HttpClient','session_','isPacProxy','ieOptions','EjZgg','4633344KQQNrd','chromeOptions_','url_','AoSmF','split','get','moz:firefoxOptions','pEHuJ','/wd/hub','isAccessibilityPlatform','../../../helpers/patchHelpers','capability','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','AZvjF','proxy_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','se:ieOptions','__driver','originalBuilder','setCapabilities','edgeOptions','636236iqXBvq','chromeOptions','storeOptimalHubUrl','23443416jxiqVn','2495146RBSFRY'];a29_0xc46e=function(){return _0x5099b3;};return a29_0xc46e();}function a29_0x1ab3(_0x40318a,_0x3d6e62){const _0xc46e76=a29_0xc46e();return a29_0x1ab3=function(_0x1ab353,_0x4c4fa2){_0x1ab353=_0x1ab353-0x101;let _0x30d70f=_0xc46e76[_0x1ab353];return _0x30d70f;},a29_0x1ab3(_0x40318a,_0x3d6e62);}const a29_0x53e7f4=a29_0x1ab3;(function(_0x5a22c9,_0x2cc0f5){const _0x1a4dca=a29_0x1ab3,_0x4704bb=_0x5a22c9();while(!![]){try{const _0xaeb2bd=-parseInt(_0x1a4dca(0x110))/0x1+parseInt(_0x1a4dca(0x10a))/0x2+parseInt(_0x1a4dca(0x169))/0x3+-parseInt(_0x1a4dca(0x106))/0x4+-parseInt(_0x1a4dca(0x10f))/0x5*(-parseInt(_0x1a4dca(0x12e))/0x6)+parseInt(_0x1a4dca(0x132))/0x7*(-parseInt(_0x1a4dca(0x129))/0x8)+-parseInt(_0x1a4dca(0x109))/0x9;if(_0xaeb2bd===_0x2cc0f5)break;else _0x4704bb['push'](_0x4704bb['shift']());}catch(_0x46854a){_0x4704bb['push'](_0x4704bb['shift']());}}}(a29_0xc46e,0xc2d50));const logger=require(a29_0x53e7f4(0x13a))[a29_0x53e7f4(0x147)],helper=require('../../../helpers/helper'),constants=require(a29_0x53e7f4(0x139)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x53e7f4(0x173)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x53e7f4(0x12b)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x1c9873,_0x4959a8=null,_0x22cc26=![])=>{const _0x55e63e=a29_0x53e7f4,_0x33dbfc={'Gkams':function(_0x1f79b5,_0x566a20){return _0x1f79b5!==_0x566a20;},'Ulubx':_0x55e63e(0x120),'AZvjF':function(_0x451297,_0x3548fb){return _0x451297+_0x3548fb;},'Oxukd':function(_0x334b22,_0x55a6de){return _0x334b22+_0x55a6de;},'ESgUs':'https://','KREsV':_0x55e63e(0x171),'qOMoQ':_0x55e63e(0x11c),'OBPsu':_0x55e63e(0x107),'adPef':_0x55e63e(0x13f),'PHHmw':_0x55e63e(0x105),'Yjaxw':_0x55e63e(0x16f),'uYvpR':_0x55e63e(0x11e),'WBcgv':_0x55e63e(0x131),'vEWht':_0x55e63e(0x101),'czxrd':_0x55e63e(0x167),'Tfsvq':function(_0x1694a9,_0x44ee65){return _0x1694a9===_0x44ee65;},'uswNm':_0x55e63e(0x11d),'pEHuJ':_0x55e63e(0x163),'dfNyF':_0x55e63e(0x14c),'EjZgg':_0x55e63e(0x145),'Otjfr':_0x55e63e(0x160),'hCICA':function(_0x178c3e,_0x563e4e,_0x5dda50){return _0x178c3e(_0x563e4e,_0x5dda50);},'DkIRG':function(_0x4ac069,_0x32f2ea){return _0x4ac069(_0x32f2ea);},'SDsSL':function(_0x38c71d,_0x1e443c,_0xa10c3){return _0x38c71d(_0x1e443c,_0xa10c3);},'xIxUv':function(_0x585996,_0xb8fa5b,_0x7f35ce){return _0x585996(_0xb8fa5b,_0x7f35ce);},'PfJUM':function(_0x29c435,_0x501746,_0x538d41){return _0x29c435(_0x501746,_0x538d41);},'QbXuz':_0x55e63e(0x134),'egXiJ':function(_0x3f64ba){return _0x3f64ba();},'voUdk':_0x55e63e(0x119),'AoSmF':_0x55e63e(0x172),'UVShz':function(_0x30a2ce,_0x4c3406,_0x26434a){return _0x30a2ce(_0x4c3406,_0x26434a);},'UTxmh':_0x55e63e(0x178),'tOcTP':_0x55e63e(0x111)},_0x37d806=helper[_0x55e63e(0x137)]();let _0x1c3de6;try{_0x1c3de6=helper[_0x55e63e(0x12d)](),_0x1c3de6[_0x55e63e(0x103)]&&(_0x1c3de6[_0x55e63e(0x141)]=_0x1c3de6['originalBuilder']);}catch(_0xa91f3e){return;}if(helper[_0x55e63e(0x15c)]()){const _0x48e453={};_0x48e453[_0x55e63e(0x11b)]=_0x1c9873[_0x55e63e(0x12f)],helper[_0x55e63e(0x14f)](_0x48e453,new Map(),new Map()),logger['info'](_0x33dbfc[_0x55e63e(0x125)]),logger[_0x55e63e(0x153)](_0x33dbfc[_0x55e63e(0x133)]);}class _0x200777 extends _0x37d806[_0x55e63e(0x164)]{[_0x55e63e(0x116)](_0x2f253f){const _0x1d399e=_0x55e63e;if(_0x33dbfc[_0x1d399e(0x113)](_0x2f253f[_0x1d399e(0x146)],_0x33dbfc[_0x1d399e(0x138)])&&_0x33dbfc['Gkams'](global['newHubUrl'],''))try{global[_0x1d399e(0x15d)]=_0x33dbfc[_0x1d399e(0x176)](_0x33dbfc[_0x1d399e(0x136)](_0x33dbfc['ESgUs'],global['newHubUrl']),_0x33dbfc['KREsV']),this[_0x1d399e(0x13e)]=hubAllocator[_0x1d399e(0x15f)](global[_0x1d399e(0x15d)]),logger[_0x1d399e(0x153)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x1d399e(0x15d)]),global[_0x1d399e(0x15d)]='';}catch(_0x41f9b0){logger[_0x1d399e(0x14e)](_0x41f9b0);}return super[_0x1d399e(0x116)](_0x2f253f);}}class _0x49823a extends _0x1c3de6[_0x55e63e(0x141)]{['setServer'](){const _0x346ff3=_0x55e63e;return this['url_']=helper['getHubUrl'](_0x1c9873),logger[_0x346ff3(0x153)](_0x346ff3(0x12a)+this[_0x346ff3(0x16b)]),this;}['__setBrowserOptions'](_0x135df5){const _0x4db49e=_0x55e63e;let _0x18c901={};for(const _0x2d6f4 in _0x135df5){switch(_0x2d6f4){case _0x33dbfc[_0x4db49e(0x13b)]:case _0x33dbfc[_0x4db49e(0x14b)]:this[_0x4db49e(0x16a)]&&(_0x18c901=this[_0x4db49e(0x16a)][_0x4db49e(0x16e)](this[_0x4db49e(0x16a)][_0x4db49e(0x123)])||{},this['chromeOptions_'][_0x4db49e(0x13c)](this[_0x4db49e(0x16a)][_0x4db49e(0x123)],helper[_0x4db49e(0x14a)](_0x18c901,_0x135df5[_0x2d6f4])));break;case _0x33dbfc[_0x4db49e(0x11f)]:case _0x33dbfc[_0x4db49e(0x121)]:this[_0x4db49e(0x10c)]&&(_0x18c901=this[_0x4db49e(0x10c)][_0x4db49e(0x16e)](this[_0x4db49e(0x10c)]['CAPABILITY_KEY'])||{},this[_0x4db49e(0x10c)][_0x4db49e(0x13c)](this[_0x4db49e(0x10c)][_0x4db49e(0x123)],helper[_0x4db49e(0x14a)](_0x18c901,_0x135df5[_0x2d6f4])));break;case _0x33dbfc['Yjaxw']:case _0x33dbfc[_0x4db49e(0x126)]:this['firefoxOptions_']&&(_0x18c901=this[_0x4db49e(0x124)][_0x4db49e(0x16e)](this[_0x4db49e(0x124)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x4db49e(0x13c)](this[_0x4db49e(0x124)][_0x4db49e(0x123)],helper['mergeDeep'](_0x18c901,_0x135df5[_0x2d6f4])));break;case _0x33dbfc[_0x4db49e(0x14d)]:this[_0x4db49e(0x10b)]&&(_0x18c901=this[_0x4db49e(0x10b)][_0x4db49e(0x16e)](this['safariOptions_'][_0x4db49e(0x123)])||{},this[_0x4db49e(0x10b)]['set'](this[_0x4db49e(0x10b)][_0x4db49e(0x123)],helper[_0x4db49e(0x14a)](_0x18c901,_0x135df5[_0x2d6f4])));break;case _0x33dbfc['vEWht']:case _0x33dbfc[_0x4db49e(0x13d)]:this['ieOptions_']&&(_0x18c901=this[_0x4db49e(0x112)][_0x4db49e(0x16e)](this[_0x4db49e(0x112)]['CAPABILITY_KEY'])||{},this[_0x4db49e(0x112)][_0x4db49e(0x13c)](this[_0x4db49e(0x112)][_0x4db49e(0x123)],helper['mergeDeep'](_0x18c901,_0x135df5[_0x2d6f4])));break;}}}['setCapabilities'](){const _0x52c2d6=_0x55e63e;return logger[_0x52c2d6(0x153)](_0x33dbfc[_0x52c2d6(0x170)]),this['__setBrowserOptions'](_0x1c9873[_0x52c2d6(0x174)]),Object[_0x52c2d6(0x114)](_0x1c9873[_0x52c2d6(0x174)])[_0x52c2d6(0x161)](_0x49855b=>{const _0x3267ab=_0x52c2d6,_0x159145=this[_0x3267ab(0x117)][_0x3267ab(0x16e)](_0x49855b);_0x33dbfc[_0x3267ab(0x140)](typeof _0x159145,_0x33dbfc['uswNm'])?this[_0x3267ab(0x117)][_0x3267ab(0x13c)](_0x49855b,helper[_0x3267ab(0x14a)](_0x159145,_0x1c9873[_0x3267ab(0x174)][_0x49855b])):this[_0x3267ab(0x117)][_0x3267ab(0x13c)](_0x49855b,_0x1c9873[_0x3267ab(0x174)][_0x49855b]);}),this;}[_0x55e63e(0x144)](){const _0x5b6177=_0x55e63e,_0x36c96b={'NVbpN':function(_0x551d8f,_0x70ac56,_0x2fea5c){const _0xec6b89=a29_0x1ab3;return _0x33dbfc[_0xec6b89(0x122)](_0x551d8f,_0x70ac56,_0x2fea5c);},'ChBPC':function(_0x56a596,_0x153504,_0x3f404b){return _0x33dbfc['xIxUv'](_0x56a596,_0x153504,_0x3f404b);},'sblaV':function(_0x5109b1,_0x34f82c,_0x35ee5e){const _0x84f1b7=a29_0x1ab3;return _0x33dbfc[_0x84f1b7(0x143)](_0x5109b1,_0x34f82c,_0x35ee5e);}};if(helper['isBrowserstackInfra']()){const _0xd7c4d5=_0x33dbfc[_0x5b6177(0x127)][_0x5b6177(0x16d)]('|');let _0x965c7b=0x0;while(!![]){switch(_0xd7c4d5[_0x965c7b++]){case'0':this[_0x5b6177(0x104)]();continue;case'1':if(helper[_0x5b6177(0x166)](_0x1c9873[_0x5b6177(0x151)][_0x5b6177(0x128)]))this[_0x5b6177(0x10d)]=helper['getHttpAgent'](_0x1c9873['proxySettings'][_0x5b6177(0x128)]);else _0x1c9873[_0x5b6177(0x151)]['proxyUrl']&&(this[_0x5b6177(0x177)]=_0x1c9873[_0x5b6177(0x151)]['proxyUrl'],logger[_0x5b6177(0x153)](_0x5b6177(0x15a)+this['proxy_']));continue;case'2':_0x33dbfc['egXiJ'](isAccessibilityAutomationSession)&&_0x33dbfc['DkIRG'](setAccessibilityCapabilities,_0x1c9873);continue;case'3':this['setServer']();continue;case'4':logger[_0x5b6177(0x153)](_0x33dbfc[_0x5b6177(0x158)]);continue;case'5':globals['getGlobal'](_0x33dbfc[_0x5b6177(0x16c)])&&(!_0x33dbfc['UVShz'](setExtension,this,_0x1c9873)&&globals[_0x5b6177(0x10e)](_0x33dbfc[_0x5b6177(0x16c)],![]));continue;}break;}}const _0x26baeb=super['build']();return _0x26baeb[_0x5b6177(0x165)][_0x5b6177(0x135)](_0x18db9f=>{const _0x2ee572=_0x5b6177;try{const _0x45e986=_0x18db9f[_0x2ee572(0x159)][_0x2ee572(0x16e)](_0x33dbfc['dfNyF']);_0x45e986?(logger[_0x2ee572(0x153)](_0x2ee572(0x175)+_0x45e986),hubAllocator[_0x2ee572(0x130)](_0x45e986),helper[_0x2ee572(0x108)](_0x45e986)):logger[_0x2ee572(0x153)](_0x33dbfc[_0x2ee572(0x168)]);}catch(_0x2472ff){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x2472ff);}}),_0x26baeb[_0x5b6177(0x155)]=0x0,_0x26baeb['then']&&_0x26baeb[_0x5b6177(0x135)](_0x3ad55f=>{const _0x1a3757=_0x5b6177,_0x485a50=_0x33dbfc[_0x1a3757(0x154)][_0x1a3757(0x16d)]('|');let _0xcad1e0=0x0;while(!![]){switch(_0x485a50[_0xcad1e0++]){case'0':_0x33dbfc[_0x1a3757(0x122)](overrideQuit,_0x3ad55f,_0x26baeb);continue;case'1':_0x3ad55f[_0x1a3757(0x149)]=async()=>{return await _0x36c96b['ChBPC'](getAccessibilityResults,_0x3ad55f,global);};continue;case'2':_0x33dbfc['DkIRG'](overrideTakeScreenshot,_0x3ad55f);continue;case'3':_0x33dbfc[_0x1a3757(0x122)](overrideExecute,_0x3ad55f,_0x1c9873);continue;case'4':helper[_0x1a3757(0x118)](_0x3ad55f,_0x1c9873);continue;case'5':_0x3ad55f[_0x1a3757(0x157)]=async()=>{const _0x39863d=_0x1a3757;return await _0x36c96b[_0x39863d(0x11a)](getAccessibilityResultsSummary,_0x3ad55f,global);};continue;}break;}}),_0x26baeb[_0x5b6177(0x157)]=async()=>{const _0x27e86e=_0x5b6177;return await _0x33dbfc[_0x27e86e(0x150)](getAccessibilityResultsSummary,_0x26baeb,global);},_0x26baeb[_0x5b6177(0x149)]=async()=>{const _0x5a45eb=_0x5b6177;return await _0x36c96b[_0x5a45eb(0x152)](getAccessibilityResults,_0x26baeb,global);},_0x33dbfc[_0x5b6177(0x142)](overrideTakeScreenshot,_0x26baeb),_0x33dbfc[_0x5b6177(0x142)](overrideQuit,_0x26baeb),helper['overrideGet'](_0x26baeb,_0x1c9873),_0x33dbfc[_0x5b6177(0x150)](overrideExecute,_0x26baeb,_0x1c9873),helper[_0x5b6177(0x148)](global[_0x5b6177(0x15b)])&&(global[_0x5b6177(0x15b)]=[]),helper[_0x5b6177(0x148)](global[_0x5b6177(0x115)])&&(global[_0x5b6177(0x115)]=[]),global['__driversArray']['push'](_0x26baeb),global[_0x5b6177(0x102)]=_0x26baeb,_0x33dbfc[_0x5b6177(0x113)](global[_0x5b6177(0x115)],undefined)&&global[_0x5b6177(0x115)][_0x5b6177(0x15e)](_0x26baeb),_0x4959a8&&helper['isUndefined'](_0x4959a8['global'][_0x5b6177(0x15b)])&&(_0x4959a8[_0x5b6177(0x162)][_0x5b6177(0x15b)]=[]),_0x4959a8&&_0x33dbfc['Gkams'](_0x4959a8[_0x5b6177(0x162)][_0x5b6177(0x115)],undefined)&&(_0x4959a8[_0x5b6177(0x162)]['__drivers'][_0x5b6177(0x15e)](_0x26baeb),_0x4959a8['global']['__driversArray']['push'](_0x26baeb)),_0x26baeb;}}return _0x1c3de6[_0x55e63e(0x103)]=_0x1c3de6['Builder'],_0x1c3de6[_0x55e63e(0x141)]=_0x49823a,_0x37d806['HttpClient']=_0x200777,_0x1c3de6;};module[a29_0x53e7f4(0x156)][a29_0x53e7f4(0x12c)]=modify;
@@ -1 +1 @@
1
- const a30_0x498b3b=a30_0x3fd0;function a30_0x428b(){const _0xd0f6d9=['mochaHooks','11249OZQSxU','6544MFUjPK','PZDCY','2714305hVwULc','2027919dcMcSn','../../../helpers/test-observability/utils','8lzMPxh','../../../bin/utils/constants','../../../helpers/request-spy','311708cfejuD','3145506IlfpwX','3968972SfxlcS','8079678unGeLf','timeout'];a30_0x428b=function(){return _0xd0f6d9;};return a30_0x428b();}(function(_0x434671,_0x4e8952){const _0x4778d8=a30_0x3fd0,_0x25e069=_0x434671();while(!![]){try{const _0x19fa2a=-parseInt(_0x4778d8(0x1fb))/0x1*(-parseInt(_0x4778d8(0x1f8))/0x2)+parseInt(_0x4778d8(0x1f6))/0x3+parseInt(_0x4778d8(0x1fd))/0x4+parseInt(_0x4778d8(0x1f5))/0x5+-parseInt(_0x4778d8(0x1fc))/0x6+-parseInt(_0x4778d8(0x1f2))/0x7*(parseInt(_0x4778d8(0x1f3))/0x8)+-parseInt(_0x4778d8(0x1fe))/0x9;if(_0x19fa2a===_0x4e8952)break;else _0x25e069['push'](_0x25e069['shift']());}catch(_0x36061d){_0x25e069['push'](_0x25e069['shift']());}}}(a30_0x428b,0xb01ee));const requestSpy=require(a30_0x498b3b(0x1fa)),constants=require(a30_0x498b3b(0x1f9)),{addRequestSpy}=require(a30_0x498b3b(0x1f7));function a30_0x3fd0(_0x454731,_0x339517){const _0x428b7e=a30_0x428b();return a30_0x3fd0=function(_0x3fd04c,_0x5e8b14){_0x3fd04c=_0x3fd04c-0x1f0;let _0x19703e=_0x428b7e[_0x3fd04c];return _0x19703e;},a30_0x3fd0(_0x454731,_0x339517);}exports[a30_0x498b3b(0x1f1)]={'beforeAll'(){const _0x258b21=a30_0x498b3b,_0x37d8d0={'PZDCY':function(_0x360e81){return _0x360e81();}},_0x1f0fcf='browserstack internal helper hook';_0x37d8d0[_0x258b21(0x1f4)](addRequestSpy);},'afterAll'(){const _0x1c3103=a30_0x498b3b,_0x37f33d='browserstack internal helper hook';this[_0x1c3103(0x1f0)](0xea60),requestSpy['restore']();}};
1
+ function a30_0x62c5(_0x4cc91c,_0x1c294a){const _0x3d54b0=a30_0x3d54();return a30_0x62c5=function(_0x62c573,_0x10e282){_0x62c573=_0x62c573-0x170;let _0x5a64c4=_0x3d54b0[_0x62c573];return _0x5a64c4;},a30_0x62c5(_0x4cc91c,_0x1c294a);}const a30_0x4f1a21=a30_0x62c5;function a30_0x3d54(){const _0x101532=['3298002FmOhST','108lfKkzC','451698OHhaux','684776XumhFo','1145481bimTZk','9243860qmAuYu','../../../helpers/request-spy','243960yXhqqp','14OyhoZS','timeout','115IBJSSY','../../../helpers/test-observability/utils','15yOzEOp','restore','mochaHooks','27592059gHntnR'];a30_0x3d54=function(){return _0x101532;};return a30_0x3d54();}(function(_0x335563,_0x2a7648){const _0xde2ede=a30_0x62c5,_0x419147=_0x335563();while(!![]){try{const _0x30c9e2=-parseInt(_0xde2ede(0x175))/0x1+-parseInt(_0xde2ede(0x173))/0x2*(-parseInt(_0xde2ede(0x17d))/0x3)+parseInt(_0xde2ede(0x178))/0x4*(parseInt(_0xde2ede(0x17b))/0x5)+parseInt(_0xde2ede(0x171))/0x6*(-parseInt(_0xde2ede(0x179))/0x7)+parseInt(_0xde2ede(0x174))/0x8*(-parseInt(_0xde2ede(0x172))/0x9)+-parseInt(_0xde2ede(0x176))/0xa+parseInt(_0xde2ede(0x170))/0xb;if(_0x30c9e2===_0x2a7648)break;else _0x419147['push'](_0x419147['shift']());}catch(_0x198e9c){_0x419147['push'](_0x419147['shift']());}}}(a30_0x3d54,0xce0f3));const requestSpy=require(a30_0x4f1a21(0x177)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x4f1a21(0x17c));exports[a30_0x4f1a21(0x17f)]={'beforeAll'(){const _0x50944b={'MzmQp':function(_0x5243c9){return _0x5243c9();}},_0x3e1ed5='browserstack internal helper hook';_0x50944b['MzmQp'](addRequestSpy);},'afterAll'(){const _0x9f7e5c=a30_0x4f1a21,_0x4c50ae='browserstack internal helper hook';this[_0x9f7e5c(0x17a)](0xea60),requestSpy[_0x9f7e5c(0x17e)]();}};
@@ -1 +1 @@
1
- function a31_0x2372(_0x2a9c40,_0x281f7d){const _0x439781=a31_0x4397();return a31_0x2372=function(_0x23720b,_0x1c7f0d){_0x23720b=_0x23720b-0x80;let _0x17b696=_0x439781[_0x23720b];return _0x17b696;},a31_0x2372(_0x2a9c40,_0x281f7d);}const a31_0x2ebdb3=a31_0x2372;(function(_0x3f917e,_0xcd9f2e){const _0x49f80d=a31_0x2372,_0x557584=_0x3f917e();while(!![]){try{const _0x2eb7d9=-parseInt(_0x49f80d(0xa4))/0x1+parseInt(_0x49f80d(0x8b))/0x2+-parseInt(_0x49f80d(0xb2))/0x3+-parseInt(_0x49f80d(0x85))/0x4+-parseInt(_0x49f80d(0x8a))/0x5*(-parseInt(_0x49f80d(0x98))/0x6)+-parseInt(_0x49f80d(0xb6))/0x7+parseInt(_0x49f80d(0xd0))/0x8;if(_0x2eb7d9===_0xcd9f2e)break;else _0x557584['push'](_0x557584['shift']());}catch(_0x535b9d){_0x557584['push'](_0x557584['shift']());}}}(a31_0x4397,0x418f1));function a31_0x4397(){const _0x4a5257=['755770OPmWuV','RIbtk','getHooksForTest','rbIQE','_beforeEach','split','ubDyp','hookAnalyticsId','mapTestHooks','VKgnW','getSession','substring','KKUkX','6942yVxtij','hook','jhmIs','../../../helpers/test-observability/utils','_afterEach','failed','quvIE','unknown_grid','../../../../package.json','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','state','js-','33058tiWvma','pending','JUqoU','get','hook:','PCKwS','viCJa','getHookDetails','getBrowserName','toISOString','vLukc','getPlatform','filter','../../../helpers/test-observability/constants','305349gHlnne','iLUks','tests','MZzuK','1135281DpxCKF','__cloud_provider___','PCYux','../../../helpers/testhub/utils','ejTVb','../../../helpers/helper','emit','tRyPq','parent','rbznw','getCapabilities','pid','suites','fHIXz','getTestEnv','concat','fromEntries','indexOf','PAZWJ','ZClYj','forEach','Qtpgy','suble','mVCKt','iEDMu','CJreM','705736llRgEg','passed','markedStatus','map_','type','TEST_PLATFORM','_beforeAll','getHookSkippedTests','uuid','push','WLXYj','slice','fuzmk','browserstack','893408ANVUMF','platformVersion','YZNea','sendPlatformDetails','reduce','1395tWLbda'];a31_0x4397=function(){return _0x4a5257;};return a31_0x4397();}const {v4:uuidv4}=require(a31_0x2ebdb3(0xd8)),{name,version}=require(a31_0x2ebdb3(0xa0)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x2ebdb3(0x9b)),{consoleHolder}=require(a31_0x2ebdb3(0xb1)),{getPlatformVersion}=require(a31_0x2ebdb3(0xbb)),{shouldProcessEventForTesthub}=require(a31_0x2ebdb3(0xb9)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0x2ebdb3(0x9b));patchConsoleLogger(),exports[a31_0x2ebdb3(0xc4)]=()=>{const _0x3b0a43=a31_0x2ebdb3,_0x1658ef={'rbIQE':'generic','ejTVb':function(_0x23b85a){return _0x23b85a();}};return{'ci':_0x1658ef[_0x3b0a43(0x8e)],'key':_0x1658ef[_0x3b0a43(0xba)](uuidv4),'version':version,'collector':_0x3b0a43(0xa3)+name};},exports[a31_0x2ebdb3(0xab)]=_0x38d85b=>{const _0x592e6e=a31_0x2ebdb3,_0x13d39e={};_0x13d39e['mVCKt']=function(_0x1b6377,_0x466568){return _0x1b6377!==_0x466568;},_0x13d39e[_0x592e6e(0x97)]='string',_0x13d39e['fuzmk']=function(_0x5d2fdd,_0x290774){return _0x5d2fdd!==_0x290774;},_0x13d39e[_0x592e6e(0xc3)]=_0x592e6e(0xa8),_0x13d39e[_0x592e6e(0xcb)]=function(_0x93c5c7,_0x2fad5b){return _0x93c5c7!==_0x2fad5b;},_0x13d39e[_0x592e6e(0x91)]='hook';const _0x5991fd=_0x13d39e;if(!_0x38d85b||_0x5991fd[_0x592e6e(0xcd)](typeof _0x38d85b,_0x5991fd[_0x592e6e(0x97)]))return[null,null];if(_0x5991fd[_0x592e6e(0x83)](_0x38d85b[_0x592e6e(0xc7)](_0x5991fd[_0x592e6e(0xc3)]),-0x1)){const _0x3cb7dc=_0x38d85b[_0x592e6e(0x90)](_0x5991fd[_0x592e6e(0xc3)]);return[_0x3cb7dc[0x0][_0x592e6e(0x82)](0x0,-0x1)[_0x592e6e(0x90)]('\x22')[0x1],_0x3cb7dc[0x1][_0x592e6e(0x96)](0x1)];}else{if(_0x5991fd['Qtpgy'](_0x38d85b[_0x592e6e(0xc7)](_0x5991fd[_0x592e6e(0x91)]),-0x1)){const _0x1e3198=_0x38d85b['split'](_0x5991fd[_0x592e6e(0x91)]);return[_0x1e3198[0x0][_0x592e6e(0x82)](0x0,-0x1)['split']('\x22')[0x1],_0x38d85b];}}return[null,null];},exports[a31_0x2ebdb3(0x8d)]=_0x2bcedb=>{const _0x3b160f=a31_0x2ebdb3,_0x5f49f7={'YZNea':function(_0x81a217,_0x5cc3f3){return _0x81a217(_0x5cc3f3);},'PAZWJ':_0x3b160f(0xd6),'WLXYj':'_afterAll','iEDMu':'_beforeEach','QUieG':_0x3b160f(0x9c)};if(!_0x2bcedb||!_0x2bcedb[_0x3b160f(0xbe)])return[];const _0x2e7dc6=[];return[_0x5f49f7[_0x3b160f(0xc8)],_0x5f49f7[_0x3b160f(0x81)],_0x5f49f7[_0x3b160f(0xce)],_0x5f49f7['QUieG']][_0x3b160f(0xca)](_0x422472=>{const _0x29c5c2=_0x3b160f,_0x13f827=_0x2bcedb['parent'][_0x422472]||[];_0x13f827[_0x29c5c2(0xca)](_0x206df7=>{const _0x269bc8=_0x29c5c2;_0x206df7[_0x269bc8(0x92)]&&!_0x5f49f7[_0x269bc8(0x87)](isInternalHook,_0x206df7['fn'])&&_0x2e7dc6[_0x269bc8(0x80)](_0x206df7[_0x269bc8(0x92)]);});}),[..._0x2e7dc6,...exports['getHooksForTest'](_0x2bcedb[_0x3b160f(0xbe)])];},exports[a31_0x2ebdb3(0x93)]=_0x4637bb=>{const _0x4a2567=a31_0x2ebdb3,_0x48b673={'EvJoZ':function(_0x17bb17){return _0x17bb17();},'VKgnW':function(_0x2a4064,_0x470887){return _0x2a4064===_0x470887;},'Bplqz':_0x4a2567(0x9c),'PCYux':function(_0x3aa581){return _0x3aa581();},'PCKwS':_0x4a2567(0xd6),'tRyPq':'_afterAll','JUqoU':_0x4a2567(0x8f)};if(!_0x4637bb||!_0x4637bb[_0x4a2567(0xbe)])return;[_0x48b673[_0x4a2567(0xa9)],_0x48b673[_0x4a2567(0xbd)],_0x48b673[_0x4a2567(0xa6)],_0x48b673['Bplqz']][_0x4a2567(0xca)](_0x1636ab=>{const _0x9973e=_0x4a2567,_0x32df4d=_0x4637bb[_0x9973e(0xbe)][_0x1636ab]||[];_0x32df4d[_0x9973e(0xca)](_0x5c5baa=>{const _0x5befa3=_0x9973e;if(!_0x5c5baa[_0x5befa3(0x92)])_0x5c5baa[_0x5befa3(0x92)]=_0x48b673['EvJoZ'](uuidv4);else _0x5c5baa[_0x5befa3(0xd2)]&&_0x48b673[_0x5befa3(0x94)](_0x1636ab,_0x48b673['Bplqz'])&&(_0x5c5baa[_0x5befa3(0x92)]=_0x48b673[_0x5befa3(0xb8)](uuidv4),delete _0x5c5baa[_0x5befa3(0xd2)]);});}),exports[_0x4a2567(0x93)](_0x4637bb['parent']);},exports[a31_0x2ebdb3(0x88)]=async(_0xa5f37a,_0x426a20)=>{const _0x44da42=a31_0x2ebdb3,_0x6cc3f8={'rbznw':function(_0x51acd5){return _0x51acd5();},'suble':function(_0x5951b4,_0x3f82b6){return _0x5951b4(_0x3f82b6);},'MZzuK':_0x44da42(0x86),'ZClYj':function(_0x38a02d,_0x5308c2){return _0x38a02d(_0x5308c2);},'viCJa':function(_0x3f8f05,_0x1d6b13){return _0x3f8f05===_0x1d6b13;},'CJreM':_0x44da42(0x84),'vLukc':_0x44da42(0x9f),'cDvEe':_0x44da42(0xd5)};try{if(!_0x6cc3f8[_0x44da42(0xbf)](shouldProcessEventForTesthub))return;const _0x4151d8=await _0xa5f37a[_0x44da42(0xc0)](),_0x4d6b56=await _0xa5f37a[_0x44da42(0x95)](),_0x48e387={},_0x33721e=Object[_0x44da42(0xc6)](_0x4d6b56[_0x44da42(0xc0)]()[_0x44da42(0xd3)]),_0x258d68={'product':_0x6cc3f8[_0x44da42(0xcc)](getObservabilityLinkedProductName,_0x33721e),'capabilities':_0x33721e,'platform':_0x4151d8[_0x44da42(0xaf)](),'platform_version':_0x4151d8[_0x44da42(0xa7)](_0x6cc3f8[_0x44da42(0xb5)])?_0x4151d8[_0x44da42(0xa7)](_0x6cc3f8[_0x44da42(0xb5)]):_0x6cc3f8[_0x44da42(0xc9)](getPlatformVersion,_0x6cc3f8[_0x44da42(0xaa)](global[_0x44da42(0xb7)],_0x6cc3f8[_0x44da42(0xcf)])),'browser':_0x4151d8[_0x44da42(0xac)](),'browser_version':_0x4151d8['getBrowserVersion'](),'session_id':_0x4d6b56['toJSON']()};global['__cloud_provider___']?_0x48e387[global[_0x44da42(0xb7)]]=_0x258d68:_0x48e387[_0x6cc3f8[_0x44da42(0xae)]]=_0x258d68,process[_0x44da42(0xbc)]('bs:addPlatformDetails:'+process[_0x44da42(0xc1)],{'timestamp':new Date()[_0x44da42(0xad)](),'level':null,'message':null,'kind':_0x6cc3f8['cDvEe'],'http_response':_0x48e387,'uuid':_0x426a20});}catch(_0xbafbbc){_0x6cc3f8[_0x44da42(0xcc)](debug,_0x44da42(0xa1)+_0xbafbbc);}},exports[a31_0x2ebdb3(0xd7)]=_0x3bcb83=>{const _0x1a8b54=a31_0x2ebdb3,_0x33411c={};_0x33411c[_0x1a8b54(0x8c)]=function(_0x30ddd6,_0x9772db){return _0x30ddd6!==_0x9772db;},_0x33411c[_0x1a8b54(0x9a)]=_0x1a8b54(0x99),_0x33411c['quvIE']=_0x1a8b54(0xd1),_0x33411c[_0x1a8b54(0xb3)]=_0x1a8b54(0x9d);const _0x5ad77e=_0x33411c,_0x1a0bfe=_0x3bcb83[_0x1a8b54(0xc2)][_0x1a8b54(0x89)]((_0xda6ab6,_0x3f3bad)=>{const _0x1e7b74=_0x1a8b54,_0xa6abe8=exports[_0x1e7b74(0xd7)](_0x3f3bad);return _0xa6abe8&&(_0xda6ab6=_0xda6ab6[_0x1e7b74(0xc5)](_0xa6abe8)),_0xda6ab6;},[]),_0x1bdc32=_0x3bcb83[_0x1a8b54(0xb4)][_0x1a8b54(0xb0)](_0x3ce296=>{const _0xcc6f88=_0x1a8b54,_0x457040=_0x5ad77e[_0xcc6f88(0x8c)](_0x3ce296[_0xcc6f88(0xd4)],_0x5ad77e['jhmIs'])&&!_0x3ce296['markedStatus']&&_0x5ad77e['RIbtk'](_0x3ce296['state'],_0x5ad77e[_0xcc6f88(0x9e)])&&_0x5ad77e[_0xcc6f88(0x8c)](_0x3ce296[_0xcc6f88(0xa2)],_0x5ad77e[_0xcc6f88(0xb3)])&&!_0x3ce296[_0xcc6f88(0xa5)];return _0x457040;});return _0x1bdc32[_0x1a8b54(0xc5)](_0x1a0bfe);};
1
+ const a31_0x4ecdd4=a31_0x1fc7;function a31_0xf6fa(){const _0x4a60e5=['IVhQt','passed','TEST_PLATFORM','mSvCn','hook','_beforeAll','indexOf','emit','lodash','LKQLF','8yMYrMA','OqFtH','34941zmQtCM','sendPlatformDetails','__cloud_provider___','1283520CEGoSs','zxWuG','KeURX','parent','../../utils/logPatcher','lJjnz','_afterAll','browserstack','hookAnalyticsId','877348TRmGgw','filter','bs:addPlatformDetails:','WqbBJ','getBrowserName','js-','getBrowserVersion','../../../helpers/helper','toJSON','ryoBR','1983428HlyQoE','push','getTestEnv','pid','iCCtp','wlYHA','map_','1542HGkOGP','getCapabilities','hook:','tltUM','14273XZwsAh','forEach','mapTestHooks','RsgSc','generic','JBzLr','get','../../../helpers/testhub/utils','88CBHqCZ','_afterEach','concat','QbYws','jolDO','TzMJn','getSession','yLbyv','fromEntries','kwAFL','YXPso','failed','mrwAK','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getHookSkippedTests','getHooksForTest','string','state','OhLcr','DxNnh','939753rKugoV','markedStatus','split','zGFIB','_beforeEach','VtlYf','BmGWn','ZOxMY','unknown_grid','toISOString','JZxaM','getHookDetails','platformVersion','DwICi','14770710GZjymH'];a31_0xf6fa=function(){return _0x4a60e5;};return a31_0xf6fa();}function a31_0x1fc7(_0x1a74f2,_0x5d4dc8){const _0xf6fabc=a31_0xf6fa();return a31_0x1fc7=function(_0x1fc7fa,_0x46e126){_0x1fc7fa=_0x1fc7fa-0x90;let _0x1b9a1a=_0xf6fabc[_0x1fc7fa];return _0x1b9a1a;},a31_0x1fc7(_0x1a74f2,_0x5d4dc8);}(function(_0x7c0f8f,_0x2d0046){const _0x2a69bb=a31_0x1fc7,_0x37f035=_0x7c0f8f();while(!![]){try{const _0x5efbcf=parseInt(_0x2a69bb(0xda))/0x1+-parseInt(_0x2a69bb(0xe4))/0x2+-parseInt(_0x2a69bb(0xce))/0x3*(-parseInt(_0x2a69bb(0x9f))/0x4)+-parseInt(_0x2a69bb(0xd1))/0x5+-parseInt(_0x2a69bb(0x93))/0x6*(parseInt(_0x2a69bb(0x97))/0x7)+-parseInt(_0x2a69bb(0xcc))/0x8*(parseInt(_0x2a69bb(0xb3))/0x9)+parseInt(_0x2a69bb(0xc1))/0xa;if(_0x5efbcf===_0x2d0046)break;else _0x37f035['push'](_0x37f035['shift']());}catch(_0x3f5b59){_0x37f035['push'](_0x37f035['shift']());}}}(a31_0xf6fa,0xb3263));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x4ecdd4(0xd5)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x4ecdd4(0xe1)),{shouldProcessEventForTesthub}=require(a31_0x4ecdd4(0x9e)),{isFunction}=require(a31_0x4ecdd4(0xca)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a31_0x4ecdd4(0xe6)]=()=>{const _0x4d3723=a31_0x4ecdd4,_0x1e12a2={'QbYws':_0x4d3723(0x9b),'iCCtp':function(_0x4efeaf){return _0x4efeaf();}};return{'ci':_0x1e12a2[_0x4d3723(0xa2)],'key':_0x1e12a2[_0x4d3723(0x90)](uuidv4),'version':version,'collector':_0x4d3723(0xdf)+name};},exports[a31_0x4ecdd4(0xbe)]=_0x3ef078=>{const _0x5aab9a=a31_0x4ecdd4,_0x314f50={};_0x314f50[_0x5aab9a(0x9a)]=function(_0x54ade3,_0x1db771){return _0x54ade3!==_0x1db771;},_0x314f50[_0x5aab9a(0xba)]=_0x5aab9a(0xaf),_0x314f50[_0x5aab9a(0xc2)]=function(_0x1db86e,_0x58075c){return _0x1db86e!==_0x58075c;},_0x314f50['lJjnz']=_0x5aab9a(0x95),_0x314f50[_0x5aab9a(0x9c)]='hook';const _0x49e0a9=_0x314f50;if(!_0x3ef078||_0x49e0a9[_0x5aab9a(0x9a)](typeof _0x3ef078,_0x49e0a9[_0x5aab9a(0xba)]))return[null,null];if(_0x49e0a9[_0x5aab9a(0xc2)](_0x3ef078['indexOf'](_0x49e0a9[_0x5aab9a(0xd6)]),-0x1)){const _0x6d0237=_0x3ef078[_0x5aab9a(0xb5)](_0x49e0a9['lJjnz']);return[_0x6d0237[0x0]['slice'](0x0,-0x1)[_0x5aab9a(0xb5)]('\x22')[0x1],_0x6d0237[0x1]['substring'](0x1)];}else{if(_0x49e0a9[_0x5aab9a(0x9a)](_0x3ef078[_0x5aab9a(0xc8)](_0x49e0a9[_0x5aab9a(0x9c)]),-0x1)){const _0x2b8d61=_0x3ef078['split'](_0x49e0a9[_0x5aab9a(0x9c)]);return[_0x2b8d61[0x0]['slice'](0x0,-0x1)[_0x5aab9a(0xb5)]('\x22')[0x1],_0x3ef078];}}return[null,null];},exports[a31_0x4ecdd4(0xae)]=_0x3d68c1=>{const _0x548e33=a31_0x4ecdd4,_0x3178f9={'mrwAK':function(_0x282532,_0xc38a17){return _0x282532(_0xc38a17);},'KeURX':'_beforeAll','ZUGKs':'_afterAll','dbuKe':_0x548e33(0xb7),'jolDO':_0x548e33(0xa0)};if(!_0x3d68c1||!_0x3d68c1[_0x548e33(0xd4)])return[];const _0x2a8a8b=[];return[_0x3178f9[_0x548e33(0xd3)],_0x3178f9['ZUGKs'],_0x3178f9['dbuKe'],_0x3178f9[_0x548e33(0xa3)]][_0x548e33(0x98)](_0x24c18c=>{const _0x8fc417=_0x548e33,_0x304702=_0x3d68c1['parent'][_0x24c18c]||[];_0x304702[_0x8fc417(0x98)](_0x46285a=>{const _0x1d31d2=_0x8fc417;_0x46285a[_0x1d31d2(0xd9)]&&!_0x3178f9[_0x1d31d2(0xab)](isInternalHook,_0x46285a['fn'])&&_0x2a8a8b[_0x1d31d2(0xe5)](_0x46285a['hookAnalyticsId']);});}),[..._0x2a8a8b,...exports[_0x548e33(0xae)](_0x3d68c1[_0x548e33(0xd4)])];},exports[a31_0x4ecdd4(0x99)]=_0x30d3fd=>{const _0x1e66c3=a31_0x4ecdd4,_0x8fd80f={'wlYHA':function(_0x10bc70){return _0x10bc70();},'hyKXy':function(_0x3d195e,_0x4b44b9){return _0x3d195e===_0x4b44b9;},'tltUM':_0x1e66c3(0xa0),'OqFtH':_0x1e66c3(0xc7),'VtlYf':_0x1e66c3(0xd7),'WqbBJ':_0x1e66c3(0xb7)};if(!_0x30d3fd||!_0x30d3fd['parent'])return;[_0x8fd80f[_0x1e66c3(0xcd)],_0x8fd80f[_0x1e66c3(0xb8)],_0x8fd80f[_0x1e66c3(0xdd)],_0x8fd80f[_0x1e66c3(0x96)]][_0x1e66c3(0x98)](_0x2445b7=>{const _0x51b095=_0x1e66c3,_0x12a4b2={'ryoBR':function(_0xb06afe){const _0x424319=a31_0x1fc7;return _0x8fd80f[_0x424319(0x91)](_0xb06afe);},'zGFIB':function(_0x2dff36,_0x5004c5){return _0x8fd80f['hyKXy'](_0x2dff36,_0x5004c5);},'kwAFL':_0x8fd80f[_0x51b095(0x96)],'zxWuG':function(_0x340514){const _0x4aca27=_0x51b095;return _0x8fd80f[_0x4aca27(0x91)](_0x340514);}},_0x526487=_0x30d3fd[_0x51b095(0xd4)][_0x2445b7]||[];_0x526487[_0x51b095(0x98)](_0x442d2d=>{const _0x571d3c=_0x51b095;if(!_0x442d2d['hookAnalyticsId'])_0x442d2d['hookAnalyticsId']=_0x12a4b2[_0x571d3c(0xe3)](uuidv4);else _0x442d2d['markedStatus']&&_0x12a4b2[_0x571d3c(0xb6)](_0x2445b7,_0x12a4b2[_0x571d3c(0xa8)])&&(_0x442d2d[_0x571d3c(0xd9)]=_0x12a4b2[_0x571d3c(0xd2)](uuidv4),delete _0x442d2d['markedStatus']);});}),exports[_0x1e66c3(0x99)](_0x30d3fd[_0x1e66c3(0xd4)]);},exports[a31_0x4ecdd4(0xcf)]=async(_0x31aa05,_0x440a4c)=>{const _0x12ceee=a31_0x4ecdd4,_0x3e4d53={'mSvCn':function(_0xcf5c4b){return _0xcf5c4b();},'JZxaM':function(_0x3d0ee1,_0x12627e){return _0x3d0ee1(_0x12627e);},'DwICi':_0x12ceee(0xbf),'TkMRH':function(_0x2a1d5d,_0x4e7a9f){return _0x2a1d5d===_0x4e7a9f;},'BmGWn':_0x12ceee(0xd8),'LKQLF':_0x12ceee(0xbb),'fByTw':_0x12ceee(0xc4),'YXPso':function(_0x44ea1f,_0x3ea99f){return _0x44ea1f(_0x3ea99f);}};try{if(!_0x3e4d53[_0x12ceee(0xc5)](shouldProcessEventForTesthub))return;const _0x4e4875=await _0x31aa05['getCapabilities'](),_0x1d4379=await _0x31aa05[_0x12ceee(0xa5)](),_0x1cdf4d={},_0x809db7=Object[_0x12ceee(0xa7)](_0x1d4379[_0x12ceee(0x94)]()[_0x12ceee(0x92)]),_0x230477={'product':_0x3e4d53['JZxaM'](getObservabilityLinkedProductName,_0x809db7),'capabilities':_0x809db7,'platform':_0x4e4875['getPlatform'](),'platform_version':_0x4e4875[_0x12ceee(0x9d)](_0x3e4d53[_0x12ceee(0xc0)])?_0x4e4875['get'](_0x3e4d53[_0x12ceee(0xc0)]):_0x3e4d53[_0x12ceee(0xbd)](getPlatformVersion,_0x3e4d53['TkMRH'](global[_0x12ceee(0xd0)],_0x3e4d53[_0x12ceee(0xb9)])),'browser':_0x4e4875[_0x12ceee(0xde)](),'browser_version':_0x4e4875[_0x12ceee(0xe0)](),'session_id':_0x1d4379[_0x12ceee(0xe2)]()};global[_0x12ceee(0xd0)]?_0x1cdf4d[global[_0x12ceee(0xd0)]]=_0x230477:_0x1cdf4d[_0x3e4d53[_0x12ceee(0xcb)]]=_0x230477,process[_0x12ceee(0xc9)](_0x12ceee(0xdc)+process[_0x12ceee(0xe7)],{'timestamp':new Date()[_0x12ceee(0xbc)](),'level':null,'message':null,'kind':_0x3e4d53['fByTw'],'http_response':_0x1cdf4d,'uuid':_0x440a4c});}catch(_0x170f85){_0x3e4d53[_0x12ceee(0xa9)](debug,_0x12ceee(0xac)+_0x170f85);}},exports[a31_0x4ecdd4(0xad)]=_0x4ff24d=>{const _0x397765=a31_0x4ecdd4,_0x2afe06={};_0x2afe06[_0x397765(0xb1)]=function(_0x4d49d4,_0x31c922){return _0x4d49d4!==_0x31c922;},_0x2afe06[_0x397765(0xb2)]=_0x397765(0xc6),_0x2afe06[_0x397765(0xa6)]=function(_0x397eec,_0x25253f){return _0x397eec!==_0x25253f;},_0x2afe06['karhz']=_0x397765(0xc3),_0x2afe06[_0x397765(0xa4)]=_0x397765(0xaa);const _0x4252e0=_0x2afe06,_0x79ef1d=_0x4ff24d['suites']['reduce']((_0x3ac654,_0xd399e3)=>{const _0x124d1f=_0x397765,_0x1f34ef=exports[_0x124d1f(0xad)](_0xd399e3);return _0x1f34ef&&(_0x3ac654=_0x3ac654[_0x124d1f(0xa1)](_0x1f34ef)),_0x3ac654;},[]),_0x4f72a9=_0x4ff24d['tests'][_0x397765(0xdb)](_0x275b10=>{const _0x283204=_0x397765,_0x474556=_0x4252e0[_0x283204(0xb1)](_0x275b10['type'],_0x4252e0[_0x283204(0xb2)])&&!_0x275b10[_0x283204(0xb4)]&&_0x4252e0[_0x283204(0xa6)](_0x275b10['state'],_0x4252e0['karhz'])&&_0x4252e0[_0x283204(0xa6)](_0x275b10[_0x283204(0xb0)],_0x4252e0['TzMJn'])&&!_0x275b10['pending'];return _0x474556;});return _0x4f72a9[_0x397765(0xa1)](_0x79ef1d);};
@@ -1 +1 @@
1
- function a32_0x343c(){const _0x5f3f13=['tBzeJ','fFoqL','eZLBb','NJZtX','427896LdyDHq','state','sessionNameSet__','driverCleanup','./test-observability/mochaUtils','__platformCaps','5aGLCUj','../../helpers/globals','isAccessibilityPlatform','browserstackTestName','oePil','InkSJ','qaRZp','capabilities','OutJN','181640osfSSb','https:','eGdwD','protocol','Wecjz','accessibilityScanStarted','EFXTO','saveTestResults','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','percyCaptureMode','../../helpers/testhub/utils','SyRRp','passed','startMonitoring','HUjHm','testcase','command','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','JUXBZ','message','../../helpers/testhub/constants','ENV_VAR','908280qktiWq','error','zUTia','\x20|\x20','PaJpq','RHaWg','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ucztV','KWGIe','../../helpers/accessibility-automation/helper','testAnalyticsId','../../helpers/accessibility-automation/scripts','Performing\x20scan\x20before\x20saving\x20results','executeAsyncScript','XHqJn','QmyoW','fGWdN','wWuhR','cdukQ','AjJTz','1089570LcGbxw','ahpwK','thDpg','appium:app','err','UuZcN','DHcSV','join','GTBaQ','ObservabilitySync:','quitCount_','executeScript','failed','BROWSERSTACK_TESTHUB_UUID','winstonLogger','MdnYp','sessionName','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','jUWVR','SAVE_RESULTS','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','CEpTU','push','SDK_HOOK','mwGIf','app','shouldScanTestForAccessibility','TznBm','DJgKG','start','\x20-\x20','fDyGp','../../helpers/performance/performance-tester','EPwNw','rRQfZ','getGlobal','__error_messages__','beforeEach','browserstackSessionName','BROWSERSTACK_TESTHUB_JWT','311563uUklND','env','fxaRZ','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','SESSION_STATUS','bstackA11yShouldScan','thJwtToken','afterEach','getCurrentUrl','../../helpers/performance/constants','SYNC','pOgtB','../../helpers/helper','session_','now','__skipSessionName','inpEw','923847BMdmrf','PERFORM_SCAN','../../helpers/percy/utils','timeout','__drivers','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','IbrEX','SwyHI','__sessionFailed','initQuit','FgCcl','\x22}}','end','Dnhoi','DYphy','format','beforeAll','Xvevl','fVnVf','mochaHooks','mpWpM','then','PFUNc','info','currentTest','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','wKBFc','measureWrapper','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','rzAXJ','neUvu','shift','percy','index','vKsqB','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','WbfOA','VRukz','TONxu','acAqj','CkMwc','.\x20Error\x20:',',\x22level\x22:\x20\x22','mRLvb','titlePath','JNvgn','setGlobal','YaaNK','afterTest','debug','40QInRUW','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','4106637EXPzGR','IBZtx','util','Failed:\x20','stringify'];a32_0x343c=function(){return _0x5f3f13;};return a32_0x343c();}const a32_0x39b74c=a32_0x2336;(function(_0x18dab9,_0x5a24f0){const _0x28ffca=a32_0x2336,_0xf1a78d=_0x18dab9();while(!![]){try{const _0x3cf957=-parseInt(_0x28ffca(0x83))/0x1+parseInt(_0x28ffca(0x92))/0x2+parseInt(_0x28ffca(0xf6))/0x3+parseInt(_0x28ffca(0xa8))/0x4+-parseInt(_0x28ffca(0x89))/0x5*(parseInt(_0x28ffca(0xbc))/0x6)+-parseInt(_0x28ffca(0xe4))/0x7*(parseInt(_0x28ffca(0x78))/0x8)+parseInt(_0x28ffca(0x7a))/0x9;if(_0x3cf957===_0x5a24f0)break;else _0xf1a78d['push'](_0xf1a78d['shift']());}catch(_0x49c396){_0xf1a78d['push'](_0xf1a78d['shift']());}}}(a32_0x343c,0x3d0f0));const util=require(a32_0x39b74c(0x7c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x39b74c(0xb1)),{percyAutoCapture}=require(a32_0x39b74c(0xf8)),{sendPlatformDetails}=require(a32_0x39b74c(0x87)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x39b74c(0xf1)),PerformanceTester=require(a32_0x39b74c(0xdc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x39b74c(0xee)),scripts=require(a32_0x39b74c(0xb3)),globals=require(a32_0x39b74c(0x8a)),logger=require('../../helpers/logger')[a32_0x39b74c(0xca)],{shouldProcessEventForTesthub}=require(a32_0x39b74c(0x9c)),testHubConstants=require(a32_0x39b74c(0xa6));function a32_0x2336(_0x131d32,_0x33a001){const _0x343c63=a32_0x343c();return a32_0x2336=function(_0x233631,_0x507ac4){_0x233631=_0x233631-0x6f;let _0x33712d=_0x343c63[_0x233631];return _0x33712d;},a32_0x2336(_0x131d32,_0x33a001);}exports[a32_0x39b74c(0x109)]={'beforeAll'(){const _0x1398a4=a32_0x39b74c,_0x4b10a8={'JUXBZ':function(_0x47373c,_0x4e6bdc,_0x179471,_0xecbaa6){return _0x47373c(_0x4e6bdc,_0x179471,_0xecbaa6);},'Wecjz':_0x1398a4(0xc8),'mwGIf':_0x1398a4(0xab),'oZeJo':function(_0xc8935a,_0x57d43e,_0x3a2421){return _0xc8935a(_0x57d43e,_0x3a2421);},'XHqJn':_0x1398a4(0x9e),'PaJpq':function(_0x4cb211){return _0x4cb211();},'ucztV':function(_0x1508e1,_0x501db0,_0x469ac6){return _0x1508e1(_0x501db0,_0x469ac6);},'AjJTz':_0x1398a4(0x117),'SyRRp':_0x1398a4(0x106)};PerformanceTester[_0x1398a4(0x9f)]();const _0x5c17e0='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1398a4(0xd3)],()=>{const _0x276521=_0x1398a4;global[_0x276521(0xe0)]=[],global[_0x276521(0xfe)]=![],global['driverCleanup']=async()=>{const _0x483fe0=_0x276521;let _0x271ee4=![];try{await global[_0x483fe0(0xfa)][0x0][_0x483fe0(0xf2)],_0x271ee4=!![],global[_0x483fe0(0xfe)]?await _0x4b10a8[_0x483fe0(0xa4)](markSessionStatus,global[_0x483fe0(0xfa)][0x0],_0x4b10a8[_0x483fe0(0x96)],global['__error_messages__']['join'](_0x4b10a8[_0x483fe0(0xd4)])):await _0x4b10a8['oZeJo'](markSessionStatus,global[_0x483fe0(0xfa)][0x0],_0x4b10a8[_0x483fe0(0xb6)]);}catch(_0x37e5ef){logger[_0x483fe0(0x77)](_0x483fe0(0xd0)+_0x37e5ef);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x271ee4)try{try{_0x4b10a8[_0x483fe0(0xac)](shouldProcessEventForTesthub)&&(global[_0x483fe0(0xfa)][0x0]&&await _0x4b10a8[_0x483fe0(0xaf)](sendPlatformDetails,global[_0x483fe0(0xfa)][0x0],this[_0x483fe0(0x10e)]?this[_0x483fe0(0x10e)]['testAnalyticsId']:null));}catch(_0x29b41e){logger[_0x483fe0(0x77)](_0x483fe0(0xa3)+_0x29b41e);}await global[_0x483fe0(0xfa)][0x0][_0x483fe0(0xff)]();}catch(_0x4c40f2){logger[_0x483fe0(0x77)](_0x483fe0(0x10f)+_0x4c40f2);}};},{'platform':_0x4b10a8[_0x1398a4(0xaf)](nestedKeyValue,global[_0x1398a4(0x88)],[_0x4b10a8[_0x1398a4(0xbb)]]),'hookType':_0x4b10a8[_0x1398a4(0x9d)]})();},'beforeEach'(_0x332e7c){const _0xba745d=a32_0x39b74c,_0x3a9165={'VYImy':function(_0x10c625,_0x2e8e86){return _0x10c625>_0x2e8e86;},'JIjPH':function(_0x5f1b00,_0x413e64){return _0x5f1b00>_0x413e64;},'MdnYp':_0xba745d(0xda),'fxaRZ':function(_0x528a5d,_0x498492,_0x4da302){return _0x528a5d(_0x498492,_0x4da302);},'InkSJ':_0xba745d(0xea),'oePil':function(_0x561087){return _0x561087();},'mpWpM':function(_0x289ba4,_0x3c3d3f){return _0x289ba4>_0x3c3d3f;},'NJZtX':_0xba745d(0x8b),'EFXTO':function(_0x3b5759,_0x261189){return _0x3b5759===_0x261189;},'HUjHm':'http:','TznBm':_0xba745d(0x93),'Dnhoi':_0xba745d(0x112),'PFUNc':'Automate\x20test\x20case\x20execution\x20has\x20started.','thDpg':_0xba745d(0x8c),'nQEng':_0xba745d(0x117),'JNvgn':_0xba745d(0xe1)};globals[_0xba745d(0x74)](_0x3a9165[_0xba745d(0xbe)],this[_0xba745d(0x10e)][_0xba745d(0x72)]()[_0xba745d(0xc3)](_0x3a9165[_0xba745d(0xcb)])),PerformanceTester[_0xba745d(0x111)](PerformanceSdkEvents[_0xba745d(0xd3)],()=>{const _0x5f4e8a=_0xba745d,_0x42b987={'vKsqB':function(_0x386d44){const _0x41b83e=a32_0x2336;return _0x3a9165[_0x41b83e(0x8d)](_0x386d44);}},_0x2bae5d='browserstack internal helper hook';new Promise(async _0xb73cb0=>{const _0xcf3ac2=a32_0x2336;let _0x42984b=!![];try{_0x3a9165['VYImy'](global['__drivers']['length'],0x1)&&(await global[_0xcf3ac2(0x86)](),global[_0xcf3ac2(0xfa)][_0xcf3ac2(0x115)]()),_0x3a9165['JIjPH'](global[_0xcf3ac2(0xfa)][0x0][_0xcf3ac2(0xc6)],0x0)&&(_0x42984b=![],await global['driverCleanup']());}catch(_0x357a6c){logger[_0xcf3ac2(0x77)](_0xcf3ac2(0x10f)+_0x357a6c);}try{Array['isArray'](global[_0xcf3ac2(0xfa)])&&global[_0xcf3ac2(0xfa)][0x0]&&(global[_0xcf3ac2(0xfa)][0x0][_0xcf3ac2(0xe2)]=this['currentTest'][_0xcf3ac2(0x72)]()['join'](_0x3a9165[_0xcf3ac2(0xcb)])),global[_0xcf3ac2(0xe2)]=this[_0xcf3ac2(0x10e)][_0xcf3ac2(0x72)]()[_0xcf3ac2(0xc3)](_0x3a9165[_0xcf3ac2(0xcb)]);}catch(_0x5c04f7){logger[_0xcf3ac2(0x77)](_0xcf3ac2(0xe8)+_0x5c04f7);}this[_0xcf3ac2(0x10e)][_0xcf3ac2(0xd6)]=_0x3a9165[_0xcf3ac2(0xe6)](shouldScanTestForAccessibility,this[_0xcf3ac2(0x10e)]['titlePath'](),!![]),globals['setGlobal'](_0x3a9165[_0xcf3ac2(0x8e)],this['currentTest']['shouldScanTestForAccessibility']),this[_0xcf3ac2(0x10e)][_0xcf3ac2(0x97)]=!![];if(_0x3a9165[_0xcf3ac2(0x8d)](isAccessibilityAutomationSession)&&_0x42984b&&Array['isArray'](global[_0xcf3ac2(0xfa)])&&_0x3a9165[_0xcf3ac2(0x10a)](global[_0xcf3ac2(0xfa)]['length'],0x0)&&globals[_0xcf3ac2(0xdf)](_0x3a9165[_0xcf3ac2(0x82)]))try{const _0x30d5dc=await global[_0xcf3ac2(0xfa)][0x0][_0xcf3ac2(0xf2)];if(_0x30d5dc){let _0x596a93=!![];const _0x4254f8=await global['__drivers'][0x0][_0xcf3ac2(0xed)]();let _0x5c2720;try{_0x5c2720=new URL(_0x4254f8);}catch(_0x471080){_0x596a93=![];}_0x596a93=_0x3a9165[_0xcf3ac2(0x98)](_0x5c2720[_0xcf3ac2(0x95)],_0x3a9165[_0xcf3ac2(0xa0)])||_0x3a9165[_0xcf3ac2(0x98)](_0x5c2720[_0xcf3ac2(0x95)],_0x3a9165[_0xcf3ac2(0xd7)]),_0x596a93&&(this[_0xcf3ac2(0x10e)][_0xcf3ac2(0xd6)]&&logger[_0xcf3ac2(0x10d)](_0x3a9165[_0xcf3ac2(0x103)])),this['currentTest']['accessibilityScanStarted']=this[_0xcf3ac2(0x10e)]['shouldScanTestForAccessibility'],this[_0xcf3ac2(0x10e)][_0xcf3ac2(0xd6)]&&logger[_0xcf3ac2(0x10d)](_0x3a9165[_0xcf3ac2(0x10c)]);}}catch(_0x5f259b){logger[_0xcf3ac2(0xa9)](_0xcf3ac2(0x9a)+util[_0xcf3ac2(0x105)](_0x5f259b));}_0x3a9165[_0xcf3ac2(0x8d)](_0xb73cb0);})[_0x5f4e8a(0x10b)](()=>{const _0x557bbb=_0x5f4e8a;_0x42b987[_0x557bbb(0x118)](_0x332e7c);});},{'platform':_0x3a9165[_0xba745d(0xe6)](nestedKeyValue,global['__platformCaps'],[_0x3a9165['nQEng']]),'hookType':_0x3a9165[_0xba745d(0x73)]})();},'afterEach'(_0x5b8f24){const _0x3d5dfc=a32_0x39b74c,_0x896451={'SwyHI':function(_0x29dadf){return _0x29dadf();},'ZtfuA':function(_0x5ba670,_0x4abc9e){return _0x5ba670!==_0x4abc9e;},'eGdwD':_0x3d5dfc(0x9e),'DYphy':function(_0x2104bd,_0x5c4f41,_0x43bc1a){return _0x2104bd(_0x5c4f41,_0x43bc1a);},'rzAXJ':function(_0x1cc225,_0x22dadf){return _0x1cc225+_0x22dadf;},'QmyoW':_0x3d5dfc(0x7d),'uoOQv':_0x3d5dfc(0xa9),'RHaWg':'Passed','ZNawy':_0x3d5dfc(0x10d),'joOYY':_0x3d5dfc(0xda),'fGWdN':function(_0x2cce4e,_0x58c29b){return _0x2cce4e>_0x58c29b;},'hsNJw':function(_0x34f3f1,_0x49909b){return _0x34f3f1===_0x49909b;},'DJgKG':_0x3d5dfc(0xa1),'IbrEX':_0x3d5dfc(0xbf),'pOgtB':function(_0x595105,_0x1d0a0d,_0x2f80fa,_0x165b1d){return _0x595105(_0x1d0a0d,_0x2f80fa,_0x165b1d);},'Xvevl':'isAccessibilityPlatform','fFoqL':'bstackA11yShouldScan','eZLBb':_0x3d5dfc(0x79),'EPwNw':_0x3d5dfc(0xb4),'KWGIe':_0x3d5dfc(0x76),'FgCcl':_0x3d5dfc(0xae),'wKBFc':function(_0x329853){return _0x329853();},'jUWVR':_0x3d5dfc(0x77),'fDyGp':function(_0x4c27e9,_0x5e8562,_0x2f3881){return _0x4c27e9(_0x5e8562,_0x2f3881);},'uoSUW':'index','LerNV':_0x3d5dfc(0xec)},_0x5a71d9='browserstack internal helper hook';this[_0x3d5dfc(0xf9)](0xfde8),global[_0x3d5dfc(0xcc)]=this[_0x3d5dfc(0x10e)][_0x3d5dfc(0x72)]()[_0x3d5dfc(0xc3)](_0x896451['joOYY']),PerformanceTester[_0x3d5dfc(0x111)](PerformanceSdkEvents[_0x3d5dfc(0xd3)],()=>{const _0x2fc455=_0x3d5dfc,_0xe31f51={'rRQfZ':function(_0x4b9851,_0x52af8a){return _0x896451['ZtfuA'](_0x4b9851,_0x52af8a);},'WbfOA':_0x896451[_0x2fc455(0x94)],'tBzeJ':function(_0xc12572,_0x337c58,_0x30f407){return _0x896451['DYphy'](_0xc12572,_0x337c58,_0x30f407);},'wQZnf':function(_0x487769,_0x539340){const _0x9178c2=_0x2fc455;return _0x896451[_0x9178c2(0x113)](_0x487769,_0x539340);},'TONxu':_0x896451[_0x2fc455(0xb7)],'ljFWW':_0x896451['uoOQv'],'kQbhr':_0x896451[_0x2fc455(0xad)],'qaRZp':_0x896451['ZNawy'],'YaaNK':_0x896451['joOYY'],'fVnVf':function(_0xaccf0a,_0xa0416a){const _0x25a979=_0x2fc455;return _0x896451[_0x25a979(0xb8)](_0xaccf0a,_0xa0416a);},'neUvu':function(_0x511114,_0x1a6adb){return _0x896451['hsNJw'](_0x511114,_0x1a6adb);},'VRukz':_0x896451[_0x2fc455(0xd8)],'acAqj':_0x896451[_0x2fc455(0xfc)],'CEpTU':function(_0x25c2f2,_0x189a4b,_0x48c831,_0x162965){const _0xd53993=_0x2fc455;return _0x896451[_0xd53993(0xf0)](_0x25c2f2,_0x189a4b,_0x48c831,_0x162965);},'wWuhR':_0x896451[_0x2fc455(0x107)],'ahpwK':_0x896451[_0x2fc455(0x80)],'GEPPK':_0x896451[_0x2fc455(0x81)],'UuZcN':_0x896451[_0x2fc455(0xdd)],'cdukQ':_0x896451[_0x2fc455(0xb0)],'inpEw':_0x896451[_0x2fc455(0x100)],'IBZtx':function(_0xd1b175){const _0x58e06e=_0x2fc455;return _0x896451[_0x58e06e(0x110)](_0xd1b175);},'mRLvb':function(_0x28e60c,_0x389037,_0x3cad8b){const _0xe086d2=_0x2fc455;return _0x896451[_0xe086d2(0x104)](_0x28e60c,_0x389037,_0x3cad8b);},'ddiAF':_0x896451[_0x2fc455(0xce)],'GTBaQ':function(_0xc927d,_0x2fe562){const _0xaa010e=_0x2fc455;return _0x896451[_0xaa010e(0xb8)](_0xc927d,_0x2fe562);}},_0x1d3e24=async(_0x3deae6,_0x3b1856)=>{const _0x23e22f=_0x2fc455;await global['__drivers'][0x0][_0x23e22f(0xc7)](_0x23e22f(0x119)+_0x3deae6+_0x23e22f(0x70)+_0x3b1856+_0x23e22f(0x101));};new Promise(async _0x47f2f5=>{const _0x1495d7=_0x2fc455,_0x59ec7f={};_0x59ec7f[_0x1495d7(0xc2)]=_0xe31f51[_0x1495d7(0x75)];const _0x2e49c1=_0x59ec7f;try{_0xe31f51[_0x1495d7(0x108)](global[_0x1495d7(0xfa)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x1495d7(0xfa)]['shift'](),global[_0x1495d7(0xe0)]=[],global[_0x1495d7(0xfe)]=![]);try{if(global[_0x1495d7(0x116)]&&_0xe31f51[_0x1495d7(0x114)](global[_0x1495d7(0x9b)],_0xe31f51[_0x1495d7(0x11b)])&&global[_0x1495d7(0xfa)][0x0]){const _0x426094=_0xe31f51[_0x1495d7(0x108)](global[_0x1495d7(0x90)]['length'],0x0)?!!global['capabilities'][0x0][_0x1495d7(0xd5)]||!!global[_0x1495d7(0x90)][0x0][_0xe31f51[_0x1495d7(0x11d)]]:![],_0x28570c={};_0x28570c[_0x1495d7(0xd5)]=_0x426094,await _0xe31f51[_0x1495d7(0xd1)](percyAutoCapture,global[_0x1495d7(0xfa)][0x0],_0xe31f51[_0x1495d7(0x11b)],_0x28570c);}}catch(_0x3defa4){logger[_0x1495d7(0x77)](_0x1495d7(0xcd)+_0x3defa4);}!global[_0x1495d7(0xf4)]&&(await PerformanceTester[_0x1495d7(0x111)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0xc66e7b=_0x1495d7;await global['__drivers'][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0xc66e7b(0x7e)](this['currentTest'][_0xc66e7b(0x72)]()['join'](_0x2e49c1[_0xc66e7b(0xc2)]))+'}}');})(),global['__drivers'][0x0][_0x1495d7(0x85)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x1495d7(0xe9)],async()=>{const _0x2f2a5f=_0x1495d7,_0xdd9afe=_0xe31f51[_0x2f2a5f(0xde)](this[_0x2f2a5f(0x10e)][_0x2f2a5f(0x84)],_0xe31f51[_0x2f2a5f(0x11a)]);_0xdd9afe?(global[_0x2f2a5f(0xfe)]=!![],global['__error_messages__'][_0x2f2a5f(0xd2)](this[_0x2f2a5f(0x10e)][_0x2f2a5f(0xc0)][_0x2f2a5f(0xa5)]),await _0xe31f51[_0x2f2a5f(0x7f)](_0x1d3e24,JSON[_0x2f2a5f(0x7e)](_0xe31f51['wQZnf'](_0xe31f51[_0x2f2a5f(0x11c)],this[_0x2f2a5f(0x10e)][_0x2f2a5f(0xc0)][_0x2f2a5f(0xa5)])),_0xe31f51['ljFWW'])):await _0xe31f51[_0x2f2a5f(0x7f)](_0x1d3e24,JSON[_0x2f2a5f(0x7e)](_0xe31f51['kQbhr']),_0xe31f51[_0x2f2a5f(0x8f)]);})();}catch(_0x440ead){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x440ead);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x1495d7(0xdf)](_0xe31f51[_0x1495d7(0xb9)])&&globals[_0x1495d7(0xdf)](_0xe31f51[_0x1495d7(0xbd)])){logger[_0x1495d7(0x10d)](_0xe31f51['GEPPK']);const _0x5b7649={};_0x5b7649['thTestRunUuid']=this['currentTest']['testAnalyticsId'],_0x5b7649['thBuildUuid']=process[_0x1495d7(0xe5)][testHubConstants[_0x1495d7(0xa7)][_0x1495d7(0xc9)]],_0x5b7649[_0x1495d7(0xeb)]=process[_0x1495d7(0xe5)][testHubConstants[_0x1495d7(0xa7)][_0x1495d7(0xe3)]];const _0x44c61d=_0x5b7649;logger[_0x1495d7(0x77)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x1495d7(0x7e)](_0x44c61d)),logger['debug'](_0xe31f51[_0x1495d7(0xc1)]);const _0x4131f4={};_0x4131f4[_0x1495d7(0xa2)]=_0xe31f51[_0x1495d7(0xba)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x1495d7(0xf7)],async()=>{const _0x22ca03=_0x1495d7;logger[_0x22ca03(0x77)](util['format'](await global[_0x22ca03(0xfa)][0x0][_0x22ca03(0xb5)](scripts['performScan'],{'method':global[_0x22ca03(0xe2)]})));},_0x4131f4)(),await PerformanceTester[_0x1495d7(0x111)](PerformanceA11yEvents[_0x1495d7(0xcf)],async()=>{const _0x4f71c6=_0x1495d7;await global[_0x4f71c6(0xfa)][0x0][_0x4f71c6(0xb5)](scripts[_0x4f71c6(0x99)],_0x44c61d);})(),logger[_0x1495d7(0x10d)](_0xe31f51[_0x1495d7(0xf5)]);}}catch(_0x2e58c6){logger[_0x1495d7(0xa9)](_0x1495d7(0xfb)+this[_0x1495d7(0x10e)][_0x1495d7(0x72)]()+_0x1495d7(0x6f),_0x2e58c6);}try{try{if(_0xe31f51['IBZtx'](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xe31f51[_0x1495d7(0x71)](sendPlatformDetails,global[_0x1495d7(0xfa)][0x0],this[_0x1495d7(0x10e)]?this[_0x1495d7(0x10e)][_0x1495d7(0xb2)]:null);if(_0xe31f51['IBZtx'](isBrowserstackInfra)){PerformanceTester[_0x1495d7(0xd9)](PerformanceO11yEvents[_0x1495d7(0xef)]);const _0x4853bc=_0x1495d7(0xc5)+Date[_0x1495d7(0xf3)]();await _0xe31f51['mRLvb'](_0x1d3e24,JSON[_0x1495d7(0x7e)](_0x4853bc),_0xe31f51['ddiAF']),PerformanceTester[_0x1495d7(0x102)](PerformanceO11yEvents[_0x1495d7(0xef)]);}}}catch(_0x51f763){logger[_0x1495d7(0x77)](_0x1495d7(0xe7)+_0x51f763),PerformanceTester[_0x1495d7(0x102)](PerformanceO11yEvents[_0x1495d7(0xef)],![],_0x51f763);}_0xe31f51[_0x1495d7(0xc4)](global[_0x1495d7(0xfa)][0x0][_0x1495d7(0xc6)],0x0)&&await global[_0x1495d7(0x86)]();}catch(_0x51a8a9){logger[_0x1495d7(0x77)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x51a8a9);}_0xe31f51[_0x1495d7(0x7b)](_0x47f2f5);})[_0x2fc455(0x10b)](()=>{const _0x3892ff=_0x2fc455;_0x896451[_0x3892ff(0xfd)](_0x5b8f24);});},{'platform':_0x896451[_0x3d5dfc(0xdb)](nestedKeyValue,global['__platformCaps'],[_0x896451['uoSUW']]),'hookType':_0x896451['LerNV']})();},'afterAll'(_0x3cf887){const _0xff9027=a32_0x39b74c,_0x57244e={'CkMwc':function(_0x248745){return _0x248745();},'JFhby':function(_0xf618ba){return _0xf618ba();},'dgxbM':function(_0x2a7358,_0x31fa75,_0xa06db8){return _0x2a7358(_0x31fa75,_0xa06db8);},'zUTia':'index','OutJN':'afterAll'},_0x1c19f5='browserstack internal helper hook';this[_0xff9027(0xf9)](0xfde8),PerformanceTester[_0xff9027(0x111)](PerformanceSdkEvents[_0xff9027(0xd3)],()=>{const _0x49f37b={'hPlWd':function(_0x3599d4){return _0x57244e['JFhby'](_0x3599d4);}};new Promise(async _0x3a908b=>{const _0xec7ba1=a32_0x2336;await global[_0xec7ba1(0x86)](),_0x49f37b['hPlWd'](_0x3a908b);})['then']()['finally'](()=>{const _0x42bdd3=a32_0x2336;_0x57244e[_0x42bdd3(0x11e)](_0x3cf887);});},{'platform':_0x57244e['dgxbM'](nestedKeyValue,global[_0xff9027(0x88)],[_0x57244e[_0xff9027(0xaa)]]),'hookType':_0x57244e[_0xff9027(0x91)]})();}};
1
+ const a32_0x3fbd23=a32_0x1e0d;function a32_0x1e0d(_0x511e30,_0x244994){const _0x29485b=a32_0x2948();return a32_0x1e0d=function(_0x1e0da8,_0x1f9a91){_0x1e0da8=_0x1e0da8-0x12a;let _0x475be7=_0x29485b[_0x1e0da8];return _0x475be7;},a32_0x1e0d(_0x511e30,_0x244994);}(function(_0x54ea50,_0x337e12){const _0x408ec0=a32_0x1e0d,_0x1b2a21=_0x54ea50();while(!![]){try{const _0x588b4d=-parseInt(_0x408ec0(0x19f))/0x1+-parseInt(_0x408ec0(0x158))/0x2+-parseInt(_0x408ec0(0x1c6))/0x3+-parseInt(_0x408ec0(0x18a))/0x4*(-parseInt(_0x408ec0(0x14b))/0x5)+parseInt(_0x408ec0(0x174))/0x6+parseInt(_0x408ec0(0x19b))/0x7*(parseInt(_0x408ec0(0x12d))/0x8)+parseInt(_0x408ec0(0x151))/0x9;if(_0x588b4d===_0x337e12)break;else _0x1b2a21['push'](_0x1b2a21['shift']());}catch(_0x2afb3c){_0x1b2a21['push'](_0x1b2a21['shift']());}}}(a32_0x2948,0x56d8b));const util=require(a32_0x3fbd23(0x18e)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x3fbd23(0x132)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x3fbd23(0x14d)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x3fbd23(0x1ac)),PerformanceTester=require(a32_0x3fbd23(0x12a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),scripts=require(a32_0x3fbd23(0x1c3)),globals=require(a32_0x3fbd23(0x1d7)),logger=require(a32_0x3fbd23(0x139))[a32_0x3fbd23(0x171)],{shouldProcessEventForTesthub}=require(a32_0x3fbd23(0x1ad)),testHubConstants=require(a32_0x3fbd23(0x18c));function a32_0x2948(){const _0xe50a1a=['browserstackSessionName','index','631956LNPuiL','error','bstackA11yShouldScan','UsZXa','kOHKG','BROWSERSTACK_TESTHUB_UUID','afterEach','capabilities','avvlm','nUnTR','thBuildUuid','testcase','isArray','__platformCaps','__skipSessionName','protocol','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','end','wEFOg','FfoHV','info','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','8492Icjfsr','wtehM','../../helpers/testhub/constants','appium:app','util','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','RRyzb','.\x20Error\x20:','sGcEi','AQiNh','executeScript','dRFZX','debug','finally','WatdH','QcoPd','1811453MHLQWT','driverCleanup','hzoLr','elcQp','479008hnRELu','FxNsK','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Passed','mWjEw','__error_messages__','MlYMH','eZpJU','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sessionNameSet__','shift','bezbY','../../helpers/helper','../../helpers/testhub/utils','tyxEa','measureWrapper','setGlobal','\x22}}','currentTest','UGYHm','yTlCB','http:','passed','ZjGpC','PERFORM_SCAN','afterTest','getGlobal','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','iNWWs','TNPJZ','timeout','OjXNh','zjPgT','testAnalyticsId','accessibilityScanStarted','../../helpers/accessibility-automation/scripts','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','command','1294434OInhlb','join','beforeAll','hKEBE','Failed\x20to\x20store\x20session\x20name:\x20','shouldScanTestForAccessibility','yAbhD','tBvOG','Failed:\x20','__sessionFailed','WBbis','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','err','getCurrentUrl','executeAsyncScript','FNnaW','VYYZE','../../helpers/globals','SjNOL','../../helpers/performance/performance-tester','rWHmb','aCjOT','8xQcIWc','crPbm','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BROWSERSTACK_TESTHUB_JWT','__drivers','../../helpers/accessibility-automation/helper','qlKfb','saveTestResults','length','LHPIZ','thTestRunUuid','Performing\x20scan\x20before\x20saving\x20results','../../helpers/logger','percy','Automate\x20test\x20case\x20execution\x20has\x20started.','SDK_HOOK','format','isAccessibilityPlatform','SYNC','IFlPM','cIRbV','SESSION_NAME','browserstackTestName','XKPRK','thJwtToken','ObservabilitySync:','WRTBk','mochaHooks','jidjG','KhsRg','360jcGVhx','dGflg','./test-observability/mochaUtils','VEwne','SAVE_RESULTS','session_','9167616towcaV','sessionName','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','quitCount_','ROwYF','start','app','538752tydoUO','SukGC','beforeEach','UZmWY','Iezde','push','FumSi','pJJUx','performScan','message','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','ywIPJ','env','now','cirEU','ofYvX','stringify','BdgAF','\x20-\x20','initQuit','TFaVH','percyCaptureMode','titlePath','ZpgJY','OSwco','winstonLogger'];a32_0x2948=function(){return _0xe50a1a;};return a32_0x2948();}exports[a32_0x3fbd23(0x148)]={'beforeAll'(){const _0x40343a=a32_0x3fbd23,_0x301b94={'avvlm':function(_0x204b66,_0x3b9c38,_0x5ec2a5,_0x4dc117){return _0x204b66(_0x3b9c38,_0x5ec2a5,_0x4dc117);},'BWYQB':'failed','RVWSL':'\x20|\x20','dGflg':function(_0x29a672,_0x177bca,_0x14f90c){return _0x29a672(_0x177bca,_0x14f90c);},'AQiNh':'passed','jidjG':function(_0x129145){return _0x129145();},'FxNsK':function(_0x5d0359,_0x5e1f0c,_0x2127d9){return _0x5d0359(_0x5e1f0c,_0x2127d9);},'bZMGF':_0x40343a(0x173),'Iezde':_0x40343a(0x1c8)};PerformanceTester['startMonitoring']();const _0x564cb7='browserstack internal helper hook';PerformanceTester[_0x40343a(0x1af)](PerformanceSdkEvents[_0x40343a(0x13c)],()=>{const _0x26491c=_0x40343a;global['__error_messages__']=[],global[_0x26491c(0x1cf)]=![],global[_0x26491c(0x19c)]=async()=>{const _0x1fdbd1=_0x26491c;let _0x6f104e=![];try{await global[_0x1fdbd1(0x131)][0x0][_0x1fdbd1(0x150)],_0x6f104e=!![],global[_0x1fdbd1(0x1cf)]?await _0x301b94[_0x1fdbd1(0x17c)](markSessionStatus,global['__drivers'][0x0],_0x301b94['BWYQB'],global['__error_messages__'][_0x1fdbd1(0x1c7)](_0x301b94['RVWSL'])):await _0x301b94[_0x1fdbd1(0x14c)](markSessionStatus,global[_0x1fdbd1(0x131)][0x0],_0x301b94[_0x1fdbd1(0x194)]);}catch(_0x5ae9f3){logger[_0x1fdbd1(0x197)](_0x1fdbd1(0x153)+_0x5ae9f3);}global['__error_messages__']=[],global[_0x1fdbd1(0x1cf)]=![];if(_0x6f104e)try{try{_0x301b94[_0x1fdbd1(0x149)](shouldProcessEventForTesthub)&&(global[_0x1fdbd1(0x131)][0x0]&&await _0x301b94[_0x1fdbd1(0x14c)](sendPlatformDetails,global[_0x1fdbd1(0x131)][0x0],this[_0x1fdbd1(0x1b2)]?this[_0x1fdbd1(0x1b2)][_0x1fdbd1(0x1c1)]:null));}catch(_0x1d809c){logger[_0x1fdbd1(0x197)](_0x1fdbd1(0x18f)+_0x1d809c);}await global['__drivers'][0x0][_0x1fdbd1(0x16b)]();}catch(_0x59284e){logger[_0x1fdbd1(0x197)](_0x1fdbd1(0x184)+_0x59284e);}};},{'platform':_0x301b94[_0x40343a(0x1a0)](nestedKeyValue,global[_0x40343a(0x181)],[_0x301b94['bZMGF']]),'hookType':_0x301b94[_0x40343a(0x15c)]})();},'beforeEach'(_0x1ccca6){const _0x33da29=a32_0x3fbd23,_0x58cc84={'UgmtD':function(_0x587809){return _0x587809();},'yTlCB':function(_0x86fbeb,_0x3c04d3){return _0x86fbeb>_0x3c04d3;},'OjXNh':_0x33da29(0x16a),'wSZKE':function(_0x245a7b,_0x117619,_0x31ad42){return _0x245a7b(_0x117619,_0x31ad42);},'QcoPd':_0x33da29(0x176),'tyxEa':_0x33da29(0x13e),'SukGC':function(_0x534997,_0x1ad641){return _0x534997===_0x1ad641;},'hzoLr':_0x33da29(0x1b5),'eZpJU':'https:','oSdCg':_0x33da29(0x189),'KhsRg':_0x33da29(0x13b),'fqBWT':_0x33da29(0x143),'TFaVH':_0x33da29(0x173),'IFlPM':_0x33da29(0x15a)};globals['setGlobal'](_0x58cc84['fqBWT'],this[_0x33da29(0x1b2)][_0x33da29(0x16e)]()[_0x33da29(0x1c7)](_0x58cc84['OjXNh'])),PerformanceTester[_0x33da29(0x1af)](PerformanceSdkEvents[_0x33da29(0x13c)],()=>{const _0x46adf7=_0x33da29,_0x4863fe={'UGYHm':function(_0x452379,_0x89d5e7){const _0x8b5758=a32_0x1e0d;return _0x58cc84[_0x8b5758(0x1b4)](_0x452379,_0x89d5e7);},'RuMPY':_0x58cc84[_0x46adf7(0x1bf)],'AppQY':function(_0x56f3bb,_0x3810bc,_0x101ccc){return _0x58cc84['wSZKE'](_0x56f3bb,_0x3810bc,_0x101ccc);},'NgqxT':_0x58cc84[_0x46adf7(0x19a)],'RRyzb':function(_0x3a19a0){return _0x58cc84['UgmtD'](_0x3a19a0);},'IifSi':function(_0x581292,_0x5f292d){const _0x25fcbb=_0x46adf7;return _0x58cc84[_0x25fcbb(0x1b4)](_0x581292,_0x5f292d);},'XKPRK':_0x58cc84[_0x46adf7(0x1ae)],'bezbY':function(_0xe2f477,_0x4356b1){const _0x17d79e=_0x46adf7;return _0x58cc84[_0x17d79e(0x159)](_0xe2f477,_0x4356b1);},'FumSi':_0x58cc84[_0x46adf7(0x19d)],'zjPgT':_0x58cc84[_0x46adf7(0x1a6)],'EiAET':_0x58cc84['oSdCg'],'PGahx':_0x58cc84[_0x46adf7(0x14a)]},_0x30b5bc='browserstack internal helper hook';new Promise(async _0x3ca681=>{const _0x3ab79d=_0x46adf7;let _0x578621=!![];try{_0x4863fe[_0x3ab79d(0x1b3)](global['__drivers'][_0x3ab79d(0x135)],0x1)&&(await global[_0x3ab79d(0x19c)](),global[_0x3ab79d(0x131)][_0x3ab79d(0x1aa)]()),_0x4863fe[_0x3ab79d(0x1b3)](global['__drivers'][0x0][_0x3ab79d(0x154)],0x0)&&(_0x578621=![],await global[_0x3ab79d(0x19c)]());}catch(_0x55020a){logger[_0x3ab79d(0x197)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x55020a);}try{Array[_0x3ab79d(0x180)](global[_0x3ab79d(0x131)])&&global[_0x3ab79d(0x131)][0x0]&&(global[_0x3ab79d(0x131)][0x0][_0x3ab79d(0x172)]=this[_0x3ab79d(0x1b2)][_0x3ab79d(0x16e)]()['join'](_0x4863fe['RuMPY'])),global[_0x3ab79d(0x172)]=this[_0x3ab79d(0x1b2)][_0x3ab79d(0x16e)]()[_0x3ab79d(0x1c7)](_0x4863fe['RuMPY']);}catch(_0x55188f){logger[_0x3ab79d(0x197)](_0x3ab79d(0x1ca)+_0x55188f);}this[_0x3ab79d(0x1b2)][_0x3ab79d(0x1cb)]=_0x4863fe['AppQY'](shouldScanTestForAccessibility,this[_0x3ab79d(0x1b2)]['titlePath'](),!![]),globals[_0x3ab79d(0x1b0)](_0x4863fe['NgqxT'],this[_0x3ab79d(0x1b2)]['shouldScanTestForAccessibility']),this[_0x3ab79d(0x1b2)][_0x3ab79d(0x1c2)]=!![];if(_0x4863fe[_0x3ab79d(0x191)](isAccessibilityAutomationSession)&&_0x578621&&Array[_0x3ab79d(0x180)](global[_0x3ab79d(0x131)])&&_0x4863fe['IifSi'](global[_0x3ab79d(0x131)][_0x3ab79d(0x135)],0x0)&&globals['getGlobal'](_0x4863fe[_0x3ab79d(0x144)]))try{const _0x34b5ec=await global[_0x3ab79d(0x131)][0x0][_0x3ab79d(0x150)];if(_0x34b5ec){let _0x31f11b=!![];const _0x19c838=await global[_0x3ab79d(0x131)][0x0][_0x3ab79d(0x1d3)]();let _0x45b8ae;try{_0x45b8ae=new URL(_0x19c838);}catch(_0x4f31a1){_0x31f11b=![];}_0x31f11b=_0x4863fe[_0x3ab79d(0x1ab)](_0x45b8ae[_0x3ab79d(0x183)],_0x4863fe[_0x3ab79d(0x15e)])||_0x4863fe[_0x3ab79d(0x1ab)](_0x45b8ae[_0x3ab79d(0x183)],_0x4863fe[_0x3ab79d(0x1c0)]),_0x31f11b&&(this[_0x3ab79d(0x1b2)]['shouldScanTestForAccessibility']&&logger[_0x3ab79d(0x188)](_0x4863fe['EiAET'])),this['currentTest'][_0x3ab79d(0x1c2)]=this[_0x3ab79d(0x1b2)]['shouldScanTestForAccessibility'],this['currentTest'][_0x3ab79d(0x1cb)]&&logger[_0x3ab79d(0x188)](_0x4863fe['PGahx']);}}catch(_0xf78c40){logger['error'](_0x3ab79d(0x1d1)+util[_0x3ab79d(0x13d)](_0xf78c40));}_0x4863fe[_0x3ab79d(0x191)](_0x3ca681);})['then'](()=>{_0x58cc84['UgmtD'](_0x1ccca6);});},{'platform':_0x58cc84['wSZKE'](nestedKeyValue,global[_0x33da29(0x181)],[_0x58cc84[_0x33da29(0x16c)]]),'hookType':_0x58cc84[_0x33da29(0x140)]})();},'afterEach'(_0x5a55d8){const _0x591455=a32_0x3fbd23,_0x52e5b5={'LGeYX':function(_0x4abda6,_0x1ff234){return _0x4abda6>_0x1ff234;},'UsZXa':function(_0x28e3db,_0x57ba1f){return _0x28e3db===_0x57ba1f;},'wtehM':_0x591455(0x17f),'FNnaW':function(_0x2e889d,_0x443692){return _0x2e889d>_0x443692;},'mWjEw':_0x591455(0x18d),'pJJUx':function(_0x2d5743,_0x17cab2,_0xd87c6,_0x549063){return _0x2d5743(_0x17cab2,_0xd87c6,_0x549063);},'nUnTR':'isAccessibilityPlatform','UUuyv':'bstackA11yShouldScan','ywIPJ':_0x591455(0x1a1),'SjNOL':_0x591455(0x138),'xrcxI':_0x591455(0x1b9),'ofYvX':_0x591455(0x1a8),'UZmWY':function(_0x13a980){return _0x13a980();},'wEFOg':function(_0x2c64a4,_0x43db1b,_0x45a1bf){return _0x2c64a4(_0x43db1b,_0x45a1bf);},'cirEU':_0x591455(0x197),'dRFZX':function(_0x3d434e,_0x35210c){return _0x3d434e>_0x35210c;},'sGcEi':_0x591455(0x16a),'FfoHV':function(_0x5bf9ce,_0x3cf71a){return _0x5bf9ce!==_0x3cf71a;},'tBvOG':_0x591455(0x1b6),'yAbhD':function(_0x1cd4d1,_0xbc340d){return _0x1cd4d1+_0xbc340d;},'hKEBE':_0x591455(0x1ce),'crPbm':_0x591455(0x175),'cIRbV':_0x591455(0x1a2),'ZjGpC':_0x591455(0x188),'ZpgJY':'index','kOHKG':_0x591455(0x17a)},_0x34a3af='browserstack internal helper hook';this[_0x591455(0x1be)](0xfde8),global[_0x591455(0x152)]=this[_0x591455(0x1b2)][_0x591455(0x16e)]()[_0x591455(0x1c7)](_0x52e5b5['sGcEi']),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x591455(0x13c)],()=>{const _0x54ac19=_0x591455,_0x2b76b9={'iNWWs':_0x52e5b5[_0x54ac19(0x193)],'rWHmb':function(_0x51088d,_0xae0e15){const _0x1f4636=_0x54ac19;return _0x52e5b5[_0x1f4636(0x187)](_0x51088d,_0xae0e15);},'elcQp':_0x52e5b5[_0x54ac19(0x1cd)],'VYYZE':function(_0x24678e,_0x2f4fa8,_0xd928e1){const _0x1647c0=_0x54ac19;return _0x52e5b5[_0x1647c0(0x186)](_0x24678e,_0x2f4fa8,_0xd928e1);},'WBbis':function(_0x4d6ed4,_0x69d065){const _0xa9e1c6=_0x54ac19;return _0x52e5b5[_0xa9e1c6(0x1cc)](_0x4d6ed4,_0x69d065);},'qlKfb':_0x52e5b5[_0x54ac19(0x1c9)],'MTvUs':_0x52e5b5[_0x54ac19(0x12e)],'ROwYF':function(_0x5557aa,_0x2c41bc,_0x23b222){const _0x3bc61f=_0x54ac19;return _0x52e5b5[_0x3bc61f(0x186)](_0x5557aa,_0x2c41bc,_0x23b222);},'MlYMH':_0x52e5b5[_0x54ac19(0x141)],'BdgAF':_0x52e5b5[_0x54ac19(0x1b7)],'WatdH':function(_0x2516e2){const _0x49645d=_0x54ac19;return _0x52e5b5[_0x49645d(0x15b)](_0x2516e2);}},_0x29703a=async(_0x17dd42,_0x5bcc72)=>{const _0x34d5b1=_0x54ac19;await global[_0x34d5b1(0x131)][0x0][_0x34d5b1(0x195)](_0x34d5b1(0x12f)+_0x17dd42+',\x22level\x22:\x20\x22'+_0x5bcc72+_0x34d5b1(0x1b1));};new Promise(async _0x544305=>{const _0x3f3274=_0x54ac19;try{_0x52e5b5['LGeYX'](global[_0x3f3274(0x131)][_0x3f3274(0x135)],0x1)&&(await global[_0x3f3274(0x19c)](),global['__drivers'][_0x3f3274(0x1aa)](),global[_0x3f3274(0x1a4)]=[],global['__sessionFailed']=![]);try{if(global[_0x3f3274(0x13a)]&&_0x52e5b5[_0x3f3274(0x177)](global[_0x3f3274(0x16d)],_0x52e5b5[_0x3f3274(0x18b)])&&global['__drivers'][0x0]){const _0x32edc1=_0x52e5b5[_0x3f3274(0x1d5)](global[_0x3f3274(0x17b)][_0x3f3274(0x135)],0x0)?!!global[_0x3f3274(0x17b)][0x0][_0x3f3274(0x157)]||!!global[_0x3f3274(0x17b)][0x0][_0x52e5b5[_0x3f3274(0x1a3)]]:![],_0x56640b={};_0x56640b[_0x3f3274(0x157)]=_0x32edc1,await _0x52e5b5[_0x3f3274(0x15f)](percyAutoCapture,global[_0x3f3274(0x131)][0x0],_0x52e5b5[_0x3f3274(0x18b)],_0x56640b);}}catch(_0xab1962){logger[_0x3f3274(0x197)](_0x3f3274(0x162)+_0xab1962);}!global[_0x3f3274(0x182)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x3f3274(0x142)],async()=>{const _0x19526e=_0x3f3274;await global['__drivers'][0x0][_0x19526e(0x195)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x19526e(0x168)](this[_0x19526e(0x1b2)][_0x19526e(0x16e)]()['join'](_0x2b76b9[_0x19526e(0x1bc)]))+'}}');})(),global[_0x3f3274(0x131)][0x0][_0x3f3274(0x1a9)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0xfa86dc=_0x3f3274,_0x2c568e=_0x2b76b9[_0xfa86dc(0x12b)](this[_0xfa86dc(0x1b2)]['state'],_0x2b76b9[_0xfa86dc(0x19e)]);_0x2c568e?(global[_0xfa86dc(0x1cf)]=!![],global[_0xfa86dc(0x1a4)][_0xfa86dc(0x15d)](this[_0xfa86dc(0x1b2)][_0xfa86dc(0x1d2)][_0xfa86dc(0x161)]),await _0x2b76b9[_0xfa86dc(0x1d6)](_0x29703a,JSON['stringify'](_0x2b76b9[_0xfa86dc(0x1d0)](_0x2b76b9[_0xfa86dc(0x133)],this[_0xfa86dc(0x1b2)][_0xfa86dc(0x1d2)]['message'])),_0x2b76b9['MTvUs'])):await _0x2b76b9[_0xfa86dc(0x155)](_0x29703a,JSON[_0xfa86dc(0x168)](_0x2b76b9[_0xfa86dc(0x1a5)]),_0x2b76b9[_0xfa86dc(0x169)]);})();}catch(_0x14ff36){logger[_0x3f3274(0x197)](_0x3f3274(0x190)+_0x14ff36);}try{if(this[_0x3f3274(0x1b2)][_0x3f3274(0x1c2)]&&globals[_0x3f3274(0x1ba)](_0x52e5b5[_0x3f3274(0x17d)])&&globals[_0x3f3274(0x1ba)](_0x52e5b5['UUuyv'])){logger['info'](_0x52e5b5[_0x3f3274(0x163)]);const _0x40cd13={};_0x40cd13[_0x3f3274(0x137)]=this[_0x3f3274(0x1b2)]['testAnalyticsId'],_0x40cd13[_0x3f3274(0x17e)]=process[_0x3f3274(0x164)][testHubConstants['ENV_VAR'][_0x3f3274(0x179)]],_0x40cd13[_0x3f3274(0x145)]=process[_0x3f3274(0x164)][testHubConstants['ENV_VAR'][_0x3f3274(0x130)]];const _0x237117=_0x40cd13;logger[_0x3f3274(0x197)](_0x3f3274(0x1c4)+JSON[_0x3f3274(0x168)](_0x237117)),logger[_0x3f3274(0x197)](_0x52e5b5[_0x3f3274(0x1d8)]);const _0x588ea9={};_0x588ea9[_0x3f3274(0x1c5)]=_0x52e5b5['xrcxI'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3f3274(0x1b8)],async()=>{const _0x1f6511=_0x3f3274;logger[_0x1f6511(0x197)](util['format'](await global[_0x1f6511(0x131)][0x0][_0x1f6511(0x1d4)](scripts[_0x1f6511(0x160)],{'method':global['browserstackSessionName']})));},_0x588ea9)(),await PerformanceTester[_0x3f3274(0x1af)](PerformanceA11yEvents[_0x3f3274(0x14f)],async()=>{const _0x454c1d=_0x3f3274;await global[_0x454c1d(0x131)][0x0][_0x454c1d(0x1d4)](scripts[_0x454c1d(0x134)],_0x237117);})(),logger[_0x3f3274(0x188)](_0x52e5b5[_0x3f3274(0x167)]);}}catch(_0x4be007){logger[_0x3f3274(0x175)](_0x3f3274(0x1bb)+this[_0x3f3274(0x1b2)][_0x3f3274(0x16e)]()+_0x3f3274(0x192),_0x4be007);}try{try{if(_0x52e5b5[_0x3f3274(0x15b)](shouldProcessEventForTesthub)){global[_0x3f3274(0x131)][0x0]&&await _0x52e5b5[_0x3f3274(0x186)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3f3274(0x1b2)]?this[_0x3f3274(0x1b2)][_0x3f3274(0x1c1)]:null);if(_0x52e5b5[_0x3f3274(0x15b)](isBrowserstackInfra)){PerformanceTester[_0x3f3274(0x156)](PerformanceO11yEvents[_0x3f3274(0x13f)]);const _0x141882=_0x3f3274(0x146)+Date[_0x3f3274(0x165)]();await _0x52e5b5[_0x3f3274(0x186)](_0x29703a,JSON[_0x3f3274(0x168)](_0x141882),_0x52e5b5[_0x3f3274(0x166)]),PerformanceTester[_0x3f3274(0x185)](PerformanceO11yEvents['SYNC']);}}}catch(_0x56d961){logger['debug'](_0x3f3274(0x1a7)+_0x56d961),PerformanceTester[_0x3f3274(0x185)](PerformanceO11yEvents['SYNC'],![],_0x56d961);}_0x52e5b5[_0x3f3274(0x196)](global[_0x3f3274(0x131)][0x0][_0x3f3274(0x154)],0x0)&&await global['driverCleanup']();}catch(_0x2accfd){logger[_0x3f3274(0x197)](_0x3f3274(0x184)+_0x2accfd);}_0x52e5b5['UZmWY'](_0x544305);})['then'](()=>{const _0x46756d=_0x54ac19;_0x2b76b9[_0x46756d(0x199)](_0x5a55d8);});},{'platform':_0x52e5b5[_0x591455(0x186)](nestedKeyValue,global[_0x591455(0x181)],[_0x52e5b5[_0x591455(0x16f)]]),'hookType':_0x52e5b5[_0x591455(0x178)]})();},'afterAll'(_0x5ef006){const _0x5effd0=a32_0x3fbd23,_0x2e0836={'aCjOT':function(_0x3308f4){return _0x3308f4();},'LHPIZ':function(_0x1c08ad){return _0x1c08ad();},'WRTBk':function(_0x102b90,_0x5cf89f,_0x466d4f){return _0x102b90(_0x5cf89f,_0x466d4f);},'VEwne':_0x5effd0(0x173),'OSwco':'afterAll'},_0x398ccf='browserstack internal helper hook';this[_0x5effd0(0x1be)](0xfde8),PerformanceTester[_0x5effd0(0x1af)](PerformanceSdkEvents[_0x5effd0(0x13c)],()=>{const _0x4a6df9=_0x5effd0,_0x2641d3={'TNPJZ':function(_0x12f34f){const _0x4ee820=a32_0x1e0d;return _0x2e0836[_0x4ee820(0x136)](_0x12f34f);}};new Promise(async _0x4f9a83=>{const _0x17e372=a32_0x1e0d;await global[_0x17e372(0x19c)](),_0x2641d3[_0x17e372(0x1bd)](_0x4f9a83);})['then']()[_0x4a6df9(0x198)](()=>{const _0x2cffb0=_0x4a6df9;_0x2e0836[_0x2cffb0(0x12c)](_0x5ef006);});},{'platform':_0x2e0836[_0x5effd0(0x147)](nestedKeyValue,global['__platformCaps'],[_0x2e0836[_0x5effd0(0x14e)]]),'hookType':_0x2e0836[_0x5effd0(0x170)]})();}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x411a(){const _0x1ae119=['lBqDJ','test_settings','stringify','slice','debug','unlinkSync','110424whXTRv','../utils/constants','isUndefined','writeFileSync','info','../../helpers/BrowserStackSetup','NBIZD','split','DHmdI','SoGbn','koAFv','WzGdj','child_process','18UMGVnz','Getting\x20your\x20nightwatch\x20configs\x20from\x20','start_process','config','splice','platform','78917spCNoA','7pICbJB','filter','DHiIV','1568360dEAsQd','length','mTydn','Ohdjb','CjUNO','nightwatch.json','existsSync','now','close','../../helpers/logger','uLJsV','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','JAlHH','431528rqTNqE','trim','mergeDeep','getPlatformName','modifyBrowserStackW3CCaps','LnKVQ','test','webdriver','jkOum','platforms','modifyBrowserStackCaps','114250zzjVij','3bENCtM','push','useW3C','winstonLogger','child\x20process\x20exited\x20with\x20code\x20','join','cwd','nightwatch.conf.js','1706935VKFQdF','map','NcKWF','zBOvE','nightwatch.cmd','dUwNg','exports','--env','WdYvF','AGbVt','host','inherit','--config','path','fAzSS','hub.browserstack.com','env','findIndex','5608850Fqqfon','selenium','forEach'];a33_0x411a=function(){return _0x1ae119;};return a33_0x411a();}const a33_0x5c426a=a33_0x3dce;(function(_0x5dc534,_0x2b9587){const _0x56f762=a33_0x3dce,_0x25b63f=_0x5dc534();while(!![]){try{const _0x3e94ab=parseInt(_0x56f762(0xbf))/0x1+-parseInt(_0x56f762(0x88))/0x2*(parseInt(_0x56f762(0x89))/0x3)+-parseInt(_0x56f762(0xc3))/0x4+-parseInt(_0x56f762(0x91))/0x5+-parseInt(_0x56f762(0xac))/0x6+-parseInt(_0x56f762(0xc0))/0x7*(parseInt(_0x56f762(0x7d))/0x8)+-parseInt(_0x56f762(0xb9))/0x9*(-parseInt(_0x56f762(0xa3))/0xa);if(_0x3e94ab===_0x2b9587)break;else _0x25b63f['push'](_0x25b63f['shift']());}catch(_0x400e13){_0x25b63f['push'](_0x25b63f['shift']());}}}(a33_0x411a,0x5274c));function a33_0x3dce(_0x234d36,_0x59855b){const _0x411a64=a33_0x411a();return a33_0x3dce=function(_0x3dcebb,_0x226bda){_0x3dcebb=_0x3dcebb-0x7b;let _0x8f5c5a=_0x411a64[_0x3dcebb];return _0x8f5c5a;},a33_0x3dce(_0x234d36,_0x59855b);}const fs=require('fs'),path=require(a33_0x5c426a(0x9e)),{spawn}=require(a33_0x5c426a(0xb8)),logger=require(a33_0x5c426a(0xcc))[a33_0x5c426a(0x8c)],{default:BrowserStackSetup}=require(a33_0x5c426a(0xb1)),helper=require('../../helpers/helper'),constants=require(a33_0x5c426a(0xad)),getUserNightwatchConfigs=(_0x500ffe,_0x5afffd)=>{const _0x1b5303=a33_0x5c426a,_0x34ac2d={'DHiIV':_0x1b5303(0x90),'Ohdjb':_0x1b5303(0xc8),'AGbVt':function(_0xed227b,_0x50cc12){return _0xed227b(_0x50cc12);},'koAFv':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x1e6dca=null,_0x556f83={};const _0x42a78d=_0x5afffd[_0x1b5303(0xa2)](_0x35b3ed=>_0x35b3ed===_0x1b5303(0x9d));if(!helper[_0x1b5303(0xae)](_0x500ffe[_0x1b5303(0xbc)])&&fs[_0x1b5303(0xc9)](path['join'](process[_0x1b5303(0x8f)](),_0x500ffe['config'])))_0x1e6dca=path[_0x1b5303(0x8e)](process[_0x1b5303(0x8f)](),_0x500ffe[_0x1b5303(0xbc)]),_0x5afffd[_0x1b5303(0xbd)](_0x42a78d,0x2);else{if(fs[_0x1b5303(0xc9)](path[_0x1b5303(0x8e)](process[_0x1b5303(0x8f)](),_0x34ac2d['DHiIV'])))_0x1e6dca=path[_0x1b5303(0x8e)](process['cwd'](),_0x34ac2d[_0x1b5303(0xc2)]);else fs[_0x1b5303(0xc9)](path[_0x1b5303(0x8e)](process[_0x1b5303(0x8f)](),_0x34ac2d['Ohdjb']))&&(_0x1e6dca=path['join'](process[_0x1b5303(0x8f)](),_0x34ac2d[_0x1b5303(0xc6)]));}return _0x1e6dca?(logger[_0x1b5303(0xb0)](_0x1b5303(0xba)+_0x1e6dca),_0x556f83=_0x34ac2d[_0x1b5303(0x9a)](require,_0x1e6dca)):logger[_0x1b5303(0xb0)](_0x34ac2d[_0x1b5303(0xb6)]),_0x556f83;},removeExistingEnvs=_0x1572dc=>{const _0x222609=a33_0x5c426a,_0x32051d={};_0x32051d[_0x222609(0xb7)]=function(_0x51d6b4,_0x22b8ea){return _0x51d6b4>_0x22b8ea;},_0x32051d[_0x222609(0x99)]=function(_0x2eb494,_0x305682){return _0x2eb494>_0x305682;};const _0x39fb1f=_0x32051d;let _0x5c3089=_0x1572dc[_0x222609(0xa2)](_0x18a0d5=>_0x18a0d5==='--env');_0x39fb1f[_0x222609(0xb7)](_0x5c3089,-0x1)&&_0x1572dc[_0x222609(0xbd)](_0x5c3089,0x2),_0x5c3089=_0x1572dc['findIndex'](_0x134eb5=>_0x134eb5==='-e'),_0x39fb1f[_0x222609(0x99)](_0x5c3089,-0x1)&&_0x1572dc[_0x222609(0xbd)](_0x5c3089,0x2);};function run(_0x2f2f33,_0x5ef326){const _0x55b310=a33_0x5c426a,_0x1a10f1={'mTydn':'nightwatch','CjUNO':function(_0x4a8311,_0x28122c){return _0x4a8311+_0x28122c;},'zBOvE':_0x55b310(0xa7),'NcKWF':function(_0x4d8144,_0xa86248,_0x14762b){return _0x4d8144(_0xa86248,_0x14762b);},'NBIZD':_0x55b310(0xa0),'vUjfF':_0x55b310(0x7b),'lBqDJ':function(_0x4741f2,_0x30ddb9){return _0x4741f2===_0x30ddb9;},'LnKVQ':'nightwatch-browserstack.json','fAzSS':function(_0x3c9238,_0x484a8f){return _0x3c9238(_0x484a8f);},'uLJsV':function(_0x4fc46f,_0x141376,_0x38c935,_0x5cc91c){return _0x4fc46f(_0x141376,_0x38c935,_0x5cc91c);},'DHmdI':_0x55b310(0x95),'VRaIe':_0x55b310(0x9d),'SoGbn':_0x55b310(0x98),'KeLny':_0x55b310(0x9c),'JAlHH':_0x55b310(0xcb)},_0x4130bd=new BrowserStackSetup(_0x2f2f33);if(!_0x4130bd[_0x55b310(0xbc)])return;const _0xace3ff=_0x1a10f1[_0x55b310(0x93)](getUserNightwatchConfigs,_0x2f2f33,_0x5ef326),_0x3b0c55={};_0x3b0c55[_0x55b310(0xbb)]=![];const _0x3b81b8={};_0x3b81b8[_0x55b310(0x9b)]=_0x1a10f1[_0x55b310(0xb2)],_0x3b81b8['port']=0x1bb;const _0x532858={};_0x532858[_0x55b310(0x84)]=_0x3b0c55,_0x532858[_0x55b310(0xa4)]=_0x3b81b8;const _0x507bf1=_0x532858;logger['info'](_0x1a10f1['vUjfF']);const _0x3d2b47={..._0xace3ff},_0x100ea5=_0x3d2b47,_0x5cd4a4=helper[_0x55b310(0x8b)](_0x4130bd[_0x55b310(0xbc)]),_0xfac1fa=[];_0x4130bd[_0x55b310(0xbc)][_0x55b310(0x86)][_0x55b310(0xa5)]((_0x16560d,_0x55d9e6)=>{const _0x1671fa=_0x55b310;_0x5cd4a4?_0xfac1fa[_0x1671fa(0x8a)](helper[_0x1671fa(0x81)](_0x4130bd['config'],_0x1a10f1['mTydn'],_0x55d9e6)):_0xfac1fa[_0x1671fa(0x8a)](helper[_0x1671fa(0x87)](_0x4130bd[_0x1671fa(0xbc)],_0x1a10f1[_0x1671fa(0xc5)],_0x55d9e6));});const _0x31293e={},_0x328657=[];_0x2f2f33['env']=_0x2f2f33['env']||_0x2f2f33['e'];const _0x518fc8=_0x2f2f33['env']?_0x2f2f33[_0x55b310(0xa1)][_0x55b310(0x7e)]()[_0x55b310(0xb3)](',')[_0x55b310(0x92)](_0x26d398=>_0x26d398[_0x55b310(0x7e)]())[_0x55b310(0xc1)](_0x4b76fb=>_0x4b76fb!==''):[''];_0x1a10f1[_0x55b310(0xa6)](_0x518fc8[_0x55b310(0xc4)],0x0)&&_0x518fc8[_0x55b310(0x8a)]('');_0x518fc8['forEach'](_0x118952=>{const _0x51a284=_0x55b310,_0x2db394={'jkOum':function(_0x1b0d90,_0x26872f){const _0x2f5613=a33_0x3dce;return _0x1a10f1[_0x2f5613(0xc7)](_0x1b0d90,_0x26872f);},'dUwNg':_0x1a10f1[_0x51a284(0x94)]};_0xfac1fa['forEach'](_0x2bcd18=>{const _0x120ccf=_0x51a284;let _0xdecc59=_0x2db394[_0x120ccf(0x85)](helper[_0x120ccf(0x80)](_0x2bcd18,'_'),'_'+Date[_0x120ccf(0xca)]());_0x118952&&(_0xdecc59+='_'+_0x118952);if(_0x118952&&(!_0xace3ff[_0x2db394[_0x120ccf(0x96)]]||!_0xace3ff[_0x2db394[_0x120ccf(0x96)]][_0x118952]))return;const _0x3516cc={..._0x507bf1};_0x3516cc['desiredCapabilities']=_0x2bcd18;const _0x33b27c=_0x3516cc;_0x31293e[_0xdecc59]=_0x118952?helper[_0x120ccf(0x7f)](_0xace3ff[_0x2db394[_0x120ccf(0x96)]][_0x118952],_0x33b27c):_0x33b27c,_0x328657[_0x120ccf(0x8a)](_0xdecc59);});});!_0x100ea5[_0x55b310(0xa7)]&&(_0x100ea5['test_settings']={});_0x100ea5[_0x55b310(0xa7)]={..._0x100ea5[_0x55b310(0xa7)],..._0x31293e};const _0x26d9c3=path[_0x55b310(0x8e)](__dirname,_0x1a10f1[_0x55b310(0x82)]);fs[_0x55b310(0xaf)](_0x26d9c3,JSON[_0x55b310(0xa8)](_0x100ea5)),_0x1a10f1[_0x55b310(0x9f)](removeExistingEnvs,_0x5ef326);const _0x33c6d0=_0x1a10f1[_0x55b310(0xcd)](spawn,/^win/[_0x55b310(0x83)](process[_0x55b310(0xbe)])?_0x1a10f1[_0x55b310(0xb4)]:_0x1a10f1['mTydn'],[_0x1a10f1['VRaIe'],_0x26d9c3,..._0x5ef326[_0x55b310(0xa9)](0x1),_0x1a10f1[_0x55b310(0xb5)],_0x328657[_0x55b310(0x8e)](',')],{'stdio':_0x1a10f1['KeLny']});_0x33c6d0['on'](_0x1a10f1[_0x55b310(0x7c)],async _0x4fb148=>{const _0x4429cb=_0x55b310;logger[_0x4429cb(0xaa)](_0x4429cb(0x8d)+_0x4fb148),logger[_0x4429cb(0xb0)]('Deleting\x20'+_0x26d9c3),fs[_0x4429cb(0xab)](_0x26d9c3);});}module[a33_0x5c426a(0x97)]=run;
2
+ 'use strict';const a33_0x181927=a33_0x30d7;(function(_0x151a94,_0x3c61ca){const _0x1a1123=a33_0x30d7,_0x44cfdb=_0x151a94();while(!![]){try{const _0x4896f4=parseInt(_0x1a1123(0x77))/0x1*(-parseInt(_0x1a1123(0x82))/0x2)+parseInt(_0x1a1123(0xb2))/0x3+parseInt(_0x1a1123(0x90))/0x4*(-parseInt(_0x1a1123(0x86))/0x5)+-parseInt(_0x1a1123(0xaa))/0x6*(parseInt(_0x1a1123(0x91))/0x7)+-parseInt(_0x1a1123(0x97))/0x8+-parseInt(_0x1a1123(0xac))/0x9*(parseInt(_0x1a1123(0xba))/0xa)+parseInt(_0x1a1123(0x9f))/0xb*(parseInt(_0x1a1123(0x7b))/0xc);if(_0x4896f4===_0x3c61ca)break;else _0x44cfdb['push'](_0x44cfdb['shift']());}catch(_0x16b169){_0x44cfdb['push'](_0x44cfdb['shift']());}}}(a33_0x1a51,0xc809e));const fs=require('fs'),path=require(a33_0x181927(0x85)),{spawn}=require(a33_0x181927(0x6b)),logger=require('../../helpers/logger')[a33_0x181927(0x70)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x181927(0xb7)),constants=require(a33_0x181927(0xb0)),getUserNightwatchConfigs=(_0x3b58ed,_0x2f294e)=>{const _0x128a12=a33_0x181927,_0x1a25dd={'WUlhA':_0x128a12(0x6e),'LhPRu':'nightwatch.json','afkfE':function(_0x4ba81c,_0x20cca0){return _0x4ba81c(_0x20cca0);},'tgUgE':_0x128a12(0x98)};let _0x3eddd7=null,_0x43d2d0={};const _0x3a161a=_0x2f294e[_0x128a12(0xb6)](_0x211756=>_0x211756===_0x128a12(0xb3));if(!helper[_0x128a12(0x6c)](_0x3b58ed[_0x128a12(0x92)])&&fs['existsSync'](path[_0x128a12(0xa3)](process[_0x128a12(0x71)](),_0x3b58ed['config'])))_0x3eddd7=path[_0x128a12(0xa3)](process[_0x128a12(0x71)](),_0x3b58ed[_0x128a12(0x92)]),_0x2f294e[_0x128a12(0x99)](_0x3a161a,0x2);else{if(fs[_0x128a12(0x9e)](path['join'](process[_0x128a12(0x71)](),_0x1a25dd[_0x128a12(0x94)])))_0x3eddd7=path[_0x128a12(0xa3)](process[_0x128a12(0x71)](),_0x1a25dd[_0x128a12(0x94)]);else fs['existsSync'](path[_0x128a12(0xa3)](process[_0x128a12(0x71)](),_0x1a25dd['LhPRu']))&&(_0x3eddd7=path[_0x128a12(0xa3)](process[_0x128a12(0x71)](),_0x1a25dd['LhPRu']));}return _0x3eddd7?(logger[_0x128a12(0x8a)](_0x128a12(0x9a)+_0x3eddd7),_0x43d2d0=_0x1a25dd[_0x128a12(0xaf)](require,_0x3eddd7)):logger['info'](_0x1a25dd[_0x128a12(0x7c)]),_0x43d2d0;},removeExistingEnvs=_0x4646b4=>{const _0x378a10=a33_0x181927,_0x20d751={};_0x20d751[_0x378a10(0x80)]=function(_0x526607,_0x46ea80){return _0x526607>_0x46ea80;},_0x20d751[_0x378a10(0x89)]=function(_0x59cf25,_0x2bea45){return _0x59cf25>_0x2bea45;};const _0xb30b71=_0x20d751;let _0x19b7aa=_0x4646b4['findIndex'](_0x40745b=>_0x40745b===_0x378a10(0xb9));_0xb30b71[_0x378a10(0x80)](_0x19b7aa,-0x1)&&_0x4646b4[_0x378a10(0x99)](_0x19b7aa,0x2),_0x19b7aa=_0x4646b4[_0x378a10(0xb6)](_0x218495=>_0x218495==='-e'),_0xb30b71[_0x378a10(0x89)](_0x19b7aa,-0x1)&&_0x4646b4[_0x378a10(0x99)](_0x19b7aa,0x2);};function a33_0x30d7(_0x299151,_0x3b37e1){const _0x1a51b2=a33_0x1a51();return a33_0x30d7=function(_0x30d755,_0x362143){_0x30d755=_0x30d755-0x69;let _0xb2bdec=_0x1a51b2[_0x30d755];return _0xb2bdec;},a33_0x30d7(_0x299151,_0x3b37e1);}function run(_0x34b260,_0x41d4f8){const _0x1c17c0=a33_0x181927,_0x159fab={'XxzRR':_0x1c17c0(0x75),'ELNTS':function(_0x3e1ac7,_0x2c8470){return _0x3e1ac7+_0x2c8470;},'PTYxy':'test_settings','EgGbl':function(_0x1662c7,_0x2064c2,_0x93d87){return _0x1662c7(_0x2064c2,_0x93d87);},'SlmIV':'hub.browserstack.com','fXZao':_0x1c17c0(0x9b),'SaKXf':function(_0x116cd1,_0x5f463a){return _0x116cd1===_0x5f463a;},'CCcXH':_0x1c17c0(0x83),'EJvdY':function(_0x54480f,_0x9185f2){return _0x54480f(_0x9185f2);},'qfBEU':function(_0x1950fe,_0x525785,_0x511e3f,_0x4ff443){return _0x1950fe(_0x525785,_0x511e3f,_0x4ff443);},'IvTqW':_0x1c17c0(0x6f),'YONxO':_0x1c17c0(0xb3),'wrLLW':_0x1c17c0(0xb9),'YGUIh':_0x1c17c0(0x78),'hPWUN':_0x1c17c0(0x73)},_0x57a4ff=new BrowserStackSetup(_0x34b260);if(!_0x57a4ff[_0x1c17c0(0x92)])return;const _0x17d5e5=_0x159fab[_0x1c17c0(0x7d)](getUserNightwatchConfigs,_0x34b260,_0x41d4f8),_0xccb269={};_0xccb269[_0x1c17c0(0xad)]=![];const _0x4384fa={};_0x4384fa[_0x1c17c0(0xb4)]=_0x159fab['SlmIV'],_0x4384fa['port']=0x1bb;const _0x16d9dd={};_0x16d9dd[_0x1c17c0(0x9c)]=_0xccb269,_0x16d9dd[_0x1c17c0(0xa8)]=_0x4384fa;const _0x41491c=_0x16d9dd;logger['info'](_0x159fab[_0x1c17c0(0x7f)]);const _0x1e9a97={..._0x17d5e5},_0x13ef42=_0x1e9a97,_0x4a758f=helper[_0x1c17c0(0x8f)](_0x57a4ff[_0x1c17c0(0x92)]),_0x585eb6=[];_0x57a4ff['config'][_0x1c17c0(0x6d)][_0x1c17c0(0x84)]((_0x4eec8b,_0x317dc8)=>{const _0x42dc34=_0x1c17c0;_0x4a758f?_0x585eb6['push'](helper[_0x42dc34(0x88)](_0x57a4ff['config'],_0x159fab['XxzRR'],_0x317dc8)):_0x585eb6['push'](helper[_0x42dc34(0x72)](_0x57a4ff[_0x42dc34(0x92)],_0x159fab['XxzRR'],_0x317dc8));});const _0x20f1c7={},_0xb337a1=[];_0x34b260[_0x1c17c0(0x76)]=_0x34b260[_0x1c17c0(0x76)]||_0x34b260['e'];const _0x4dce54=_0x34b260[_0x1c17c0(0x76)]?_0x34b260[_0x1c17c0(0x76)][_0x1c17c0(0x8c)]()[_0x1c17c0(0x7a)](',')['map'](_0x30df93=>_0x30df93['trim']())['filter'](_0x579b1e=>_0x579b1e!==''):[''];_0x159fab[_0x1c17c0(0xa9)](_0x4dce54[_0x1c17c0(0x8e)],0x0)&&_0x4dce54[_0x1c17c0(0x79)]('');_0x4dce54['forEach'](_0x2ad0bd=>{const _0x2c7490=_0x1c17c0;_0x585eb6[_0x2c7490(0x84)](_0x4780f9=>{const _0x2b63b8=_0x2c7490;let _0x353b16=_0x159fab[_0x2b63b8(0x96)](helper[_0x2b63b8(0xa4)](_0x4780f9,'_'),'_'+Date['now']());_0x2ad0bd&&(_0x353b16+='_'+_0x2ad0bd);if(_0x2ad0bd&&(!_0x17d5e5[_0x159fab[_0x2b63b8(0x74)]]||!_0x17d5e5[_0x159fab[_0x2b63b8(0x74)]][_0x2ad0bd]))return;const _0x41246a={..._0x41491c};_0x41246a[_0x2b63b8(0xab)]=_0x4780f9;const _0x2b6c99=_0x41246a;_0x20f1c7[_0x353b16]=_0x2ad0bd?helper[_0x2b63b8(0x81)](_0x17d5e5[_0x159fab[_0x2b63b8(0x74)]][_0x2ad0bd],_0x2b6c99):_0x2b6c99,_0xb337a1['push'](_0x353b16);});});!_0x13ef42['test_settings']&&(_0x13ef42[_0x1c17c0(0xb1)]={});_0x13ef42[_0x1c17c0(0xb1)]={..._0x13ef42[_0x1c17c0(0xb1)],..._0x20f1c7};const _0x4eaad7=path['join'](__dirname,_0x159fab[_0x1c17c0(0x8d)]);fs[_0x1c17c0(0x7e)](_0x4eaad7,JSON[_0x1c17c0(0x6a)](_0x13ef42)),_0x159fab[_0x1c17c0(0xb8)](removeExistingEnvs,_0x41d4f8);const _0x58fa4d=_0x159fab[_0x1c17c0(0xa1)](spawn,/^win/[_0x1c17c0(0x69)](process[_0x1c17c0(0xb5)])?_0x159fab[_0x1c17c0(0xae)]:_0x159fab[_0x1c17c0(0x8b)],[_0x159fab[_0x1c17c0(0xa0)],_0x4eaad7,..._0x41d4f8[_0x1c17c0(0x95)](0x1),_0x159fab[_0x1c17c0(0x87)],_0xb337a1[_0x1c17c0(0xa3)](',')],{'stdio':_0x159fab['YGUIh']});_0x58fa4d['on'](_0x159fab[_0x1c17c0(0xa6)],async _0x213a7f=>{const _0x22713c=_0x1c17c0;logger[_0x22713c(0x9d)](_0x22713c(0xa5)+_0x213a7f),logger['info'](_0x22713c(0x93)+_0x4eaad7),fs[_0x22713c(0xa2)](_0x4eaad7);});}function a33_0x1a51(){const _0x2c58a7=['debug','existsSync','1419AZohkR','YONxO','qfBEU','unlinkSync','join','getPlatformName','child\x20process\x20exited\x20with\x20code\x20','hPWUN','exports','selenium','SaKXf','102eGaspJ','desiredCapabilities','8973emPTvw','start_process','IvTqW','afkfE','../utils/constants','test_settings','3799575QeWxFw','--config','host','platform','findIndex','../../helpers/helper','EJvdY','--env','6340hnKVUs','test','stringify','child_process','isUndefined','platforms','nightwatch.conf.js','nightwatch.cmd','winstonLogger','cwd','modifyBrowserStackCaps','close','PTYxy','nightwatch','env','66517jxhJQp','inherit','push','split','352068uCuKkW','tgUgE','EgGbl','writeFileSync','fXZao','PaSAX','mergeDeep','24nqeoEp','nightwatch-browserstack.json','forEach','path','255IWWzhv','wrLLW','modifyBrowserStackW3CCaps','PWwZV','info','XxzRR','trim','CCcXH','length','useW3C','126536HdetJs','63077ZTVxNC','config','Deleting\x20','WUlhA','slice','ELNTS','8280600dzzQNU','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','splice','Getting\x20your\x20nightwatch\x20configs\x20from\x20','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','webdriver'];a33_0x1a51=function(){return _0x2c58a7;};return a33_0x1a51();}module[a33_0x181927(0xa7)]=run;
@@ -1 +1 @@
1
- function a34_0x383d(){const _0xb8819c=['accessibilityOptions.includeIssueType.needsReview','jbSJD','getAccessibilityResultsSummary','replace','accessibilityPlatform','accessibilityOptions','ylsnR','AOaYh','8632344KBIbYQ','dWHtR','processAccessibilityCaps','../../helpers/accessibility-automation/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','testInfo','parse','wcagVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browser_version','No\x20accessibility\x20results\x20were\x20found.','ZjJgj','wFLip','KGqas','../../helpers/performance/constants','project','getAccessibilityResults','browserstack.accessibility','fSmCT','8mnpBfd','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','RzYxl','zAcdm','DMWjU','stringify','zWVqR','accessibilityOptions.wcagVersion','2631710xSHjrz','QVAjm','5TFaWud','browserStackExecuteDriver','33qzkBFu','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','browserStackEvaluate','No\x20summaryResults\x20found.','env','includeIssueType','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wiuei','name','Ndcex','../../helpers/logger','tOeXS','platformValidation','wjbjM','PERFORM_SCAN','qusxV','837540lkfkvX','debug','latest','35153240NyBTBL','bestPractice','use','performScan','BS_A11Y_JWT','rKevJ','73971fbzcaL','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','util','RSUGI','VqOdU','5433386zUglCS','qJTWH','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/helper','accessibilityOptions.includeIssueType.bestPractice','qTuBv','Fskpa','hQJVp','error','browser','warn','accessibilityOptions.authToken','executeScript','constructor','Playwright','MMpvg','browserName','playwright-chromium','command','needsReview','../../helpers/performance/performance-tester','gxpAF','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','accessibilityOptions.scannerVersion','format','connectOptions','evaluate','kMnPJ','deviceName','wsEndpoint','PcWDG','Vyshb','winstonLogger','563212yJptYU','QDafL','eeNmX','chrome','SElIp','ZMNkP','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','\x0a\x20\x20\x20\x20})\x0a\x20\x20})('];a34_0x383d=function(){return _0xb8819c;};return a34_0x383d();}const a34_0x2c50be=a34_0x5555;(function(_0x566b3d,_0x12c6be){const _0x523742=a34_0x5555,_0x4c1c03=_0x566b3d();while(!![]){try{const _0x183604=parseInt(_0x523742(0x129))/0x1+-parseInt(_0x523742(0x115))/0x2+-parseInt(_0x523742(0x119))/0x3*(parseInt(_0x523742(0x159))/0x4)+-parseInt(_0x523742(0x117))/0x5*(parseInt(_0x523742(0xf9))/0x6)+parseInt(_0x523742(0x137))/0x7*(parseInt(_0x523742(0x10c))/0x8)+-parseInt(_0x523742(0x132))/0x9+parseInt(_0x523742(0x12c))/0xa;if(_0x183604===_0x12c6be)break;else _0x4c1c03['push'](_0x4c1c03['shift']());}catch(_0x1fda58){_0x4c1c03['push'](_0x4c1c03['shift']());}}}(a34_0x383d,0xc7917));function a34_0x5555(_0x5194da,_0xb3198d){const _0x383dec=a34_0x383d();return a34_0x5555=function(_0x555570,_0x3b8fca){_0x555570=_0x555570-0xf7;let _0x168d7a=_0x383dec[_0x555570];return _0x168d7a;},a34_0x5555(_0x5194da,_0xb3198d);}const util=require(a34_0x2c50be(0x134)),logger=require(a34_0x2c50be(0x123))[a34_0x2c50be(0x158)],{isAccessibilityAutomationSession}=require(a34_0x2c50be(0xfc)),{isUndefined}=require(a34_0x2c50be(0x13b)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a34_0x2c50be(0x14c)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2c50be(0x107));exports[a34_0x2c50be(0x11b)]=async(_0x19f4b5,_0xec7575,_0x2f4d55={})=>{const _0x496d1d=a34_0x2c50be,_0x4c0c7f={};_0x4c0c7f[_0x496d1d(0x116)]='bstackSdkArgs';const _0x2ddd17=_0x4c0c7f;return await _0x19f4b5[_0x496d1d(0x152)](_0x496d1d(0x14e)+_0xec7575[_0x496d1d(0x164)](/arguments/g,_0x2ddd17[_0x496d1d(0x116)])+_0x496d1d(0x160)+JSON[_0x496d1d(0x112)](_0x2f4d55)+')');},exports[a34_0x2c50be(0x118)]=async(_0x326378,_0x58f225,_0x355549={})=>{const _0x1a451d=a34_0x2c50be,_0xeea177={};_0xeea177[_0x1a451d(0x122)]=function(_0x4e3860,_0x3bc14d){return _0x4e3860===_0x3bc14d;},_0xeea177['wjbjM']='WebDriver',_0xeea177[_0x1a451d(0x135)]=function(_0x5650be,_0x316f66){return _0x5650be===_0x316f66;},_0xeea177[_0x1a451d(0xfa)]=_0x1a451d(0x146),_0xeea177[_0x1a451d(0x153)]='bstackSdkArgs';const _0x3e6138=_0xeea177;if(_0x3e6138[_0x1a451d(0x122)](_0x326378[_0x1a451d(0x145)][_0x1a451d(0x121)],_0x3e6138[_0x1a451d(0x126)]))return await _0x326378['executeAsyncScript'](_0x58f225,_0x355549);else{if(_0x3e6138['RSUGI'](_0x326378['constructor'][_0x1a451d(0x121)],_0x3e6138[_0x1a451d(0xfa)]))return await _0x326378[_0x1a451d(0x144)](_0x1a451d(0x133)+_0x58f225[_0x1a451d(0x164)](/arguments/g,_0x3e6138['kMnPJ'])+_0x1a451d(0x11f)+JSON[_0x1a451d(0x112)](_0x355549)+')');}},exports['setAccessibilityCapabilities']=async _0x3d99d7=>{const _0x36f96c=a34_0x2c50be,_0x412d8f={};_0x412d8f[_0x36f96c(0x124)]=_0x36f96c(0x114),_0x412d8f[_0x36f96c(0x14d)]='accessibilityOptions.scannerProcessingTimeout',_0x412d8f[_0x36f96c(0x128)]=_0x36f96c(0x13c),_0x412d8f[_0x36f96c(0x162)]=_0x36f96c(0x161),_0x412d8f['rKevJ']=_0x36f96c(0x143),_0x412d8f[_0x36f96c(0x110)]=_0x36f96c(0x14f);const _0xf54024=_0x412d8f;_0x3d99d7[_0x36f96c(0x166)]&&(_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x100)]&&(_0x3d99d7[_0xf54024[_0x36f96c(0x124)]]=_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x100)]),_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x10e)]&&(_0x3d99d7[_0xf54024[_0x36f96c(0x14d)]]=_0x3d99d7[_0x36f96c(0x166)]['scannerProcessingTimeout']),_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x11e)]&&(_0x3d99d7[_0xf54024['qusxV']]=_0x3d99d7[_0x36f96c(0x166)][_0x36f96c(0x11e)][_0x36f96c(0x12d)],_0x3d99d7[_0xf54024[_0x36f96c(0x162)]]=_0x3d99d7[_0x36f96c(0x166)]['includeIssueType'][_0x36f96c(0x14b)]));const _0x3239fa=JSON[_0x36f96c(0xff)](process[_0x36f96c(0x11d)][_0x36f96c(0x101)])['scannerVersion'];_0x3d99d7[_0xf54024[_0x36f96c(0x131)]]=process[_0x36f96c(0x11d)][_0x36f96c(0x130)],_0x3d99d7[_0xf54024[_0x36f96c(0x110)]]=_0x3239fa,delete _0x3d99d7['accessibilityOptions'];},exports[a34_0x2c50be(0x109)]=async _0x5d1ed9=>{const _0x49c201=a34_0x2c50be,_0x51b24c={};_0x51b24c[_0x49c201(0x113)]=_0x49c201(0x103),_0x51b24c['ZMNkP']=_0x49c201(0x15f);const _0x14ee31=_0x51b24c;if(global[_0x49c201(0x165)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5d1ed9,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5d1ed9,scripts.getResults);})();return res;}catch{return logger[_0x49c201(0x140)](_0x14ee31['zWVqR']),[];}else return logger[_0x49c201(0x142)](_0x14ee31[_0x49c201(0x15e)]),[];},exports[a34_0x2c50be(0x12f)]=async(_0x465ae7,_0x2acaa8='')=>{const _0x2d44b6=a34_0x2c50be;if(global[_0x2d44b6(0x165)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x2d44b6(0x127)],async()=>{const _0x31e78c=_0x2d44b6,_0x5766d9={};_0x5766d9[_0x31e78c(0x14a)]=_0x2acaa8,await exports[_0x31e78c(0x11b)](_0x465ae7,scripts[_0x31e78c(0x12f)],_0x5766d9);},{'command':_0x2acaa8})();},exports[a34_0x2c50be(0x163)]=async _0xfe0eeb=>{const _0x5c10e7=a34_0x2c50be,_0x258e2d={};_0x258e2d[_0x5c10e7(0x13f)]=_0x5c10e7(0x11c),_0x258e2d[_0x5c10e7(0x15d)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x1a222f=_0x258e2d;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xfe0eeb,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0xfe0eeb,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x5c10e7(0x12a)](_0x1a222f[_0x5c10e7(0x13f)]),{};}else return logger['warn'](_0x1a222f[_0x5c10e7(0x15d)]),{};},exports[a34_0x2c50be(0x125)]=async _0x427404=>{const _0x4ae59f=a34_0x2c50be,_0x2c45b4={'huXrW':function(_0x4d5c7f,_0x2e503f){return _0x4d5c7f!==_0x2e503f;},'qJTWH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','VqOdU':function(_0x3d2f70,_0x780b06){return _0x3d2f70===_0x780b06;},'wFLip':_0x4ae59f(0x15c),'ylsnR':_0x4ae59f(0x149),'fSmCT':_0x4ae59f(0xfd),'PYTwU':function(_0x27de27,_0x590f41){return _0x27de27(_0x590f41);},'ZjJgj':function(_0x5cfccf,_0x283885){return _0x5cfccf===_0x283885;},'pQUJk':_0x4ae59f(0x12b),'PcWDG':function(_0x32228f,_0x3ec955){return _0x32228f>_0x3ec955;},'eeNmX':_0x4ae59f(0x10d)};try{if(!_0x2c45b4['huXrW'](_0x427404[_0x4ae59f(0x154)],''))return logger[_0x4ae59f(0x142)](_0x2c45b4[_0x4ae59f(0x138)]),![];const _0x46c5ac=_0x427404[_0x4ae59f(0x141)];if(!(_0x2c45b4[_0x4ae59f(0x136)](_0x46c5ac,_0x2c45b4[_0x4ae59f(0x105)])||_0x2c45b4[_0x4ae59f(0x136)](_0x46c5ac,_0x2c45b4[_0x4ae59f(0xf7)])))return logger[_0x4ae59f(0x142)](_0x2c45b4[_0x4ae59f(0x10b)]),![];const _0x985cdd=_0x2c45b4['PYTwU'](parseInt,_0x427404[_0x4ae59f(0x102)]);if(!(_0x2c45b4[_0x4ae59f(0x104)](_0x985cdd,_0x2c45b4['pQUJk'])||_0x2c45b4[_0x4ae59f(0x156)](_0x985cdd,0x5e)))return logger[_0x4ae59f(0x142)](_0x2c45b4[_0x4ae59f(0x15b)]),![];}catch(_0x49c39f){logger[_0x4ae59f(0x12a)](_0x4ae59f(0x11a)+util[_0x4ae59f(0x150)](_0x49c39f));}return!![];},exports[a34_0x2c50be(0xfb)]=(_0x53e0ab,_0x32b3c0,_0x4be11e)=>{const _0xd33d29=a34_0x2c50be,_0x2f99a1={'qTuBv':function(_0x3cbeb5){return _0x3cbeb5();},'QDafL':_0xd33d29(0x10a),'AOaYh':function(_0x443d6d,_0x39564c){return _0x443d6d===_0x39564c;},'MMpvg':_0xd33d29(0x15c),'Fskpa':_0xd33d29(0x149),'KGqas':_0xd33d29(0xfd),'jztkW':function(_0x1b9ee8,_0x1001ee){return _0x1b9ee8===_0x1001ee;},'MiFGL':_0xd33d29(0x12b),'oIYaj':function(_0x159f1d,_0x480bb1){return _0x159f1d>_0x480bb1;},'wiuei':_0xd33d29(0x10d),'Vyshb':function(_0x1b360b,_0x15372b){return _0x1b360b(_0x15372b);},'DMWjU':_0xd33d29(0x13a),'RzYxl':function(_0x5b4191,_0x1df6e5){return _0x5b4191+_0x1df6e5;}};try{if(_0x2f99a1[_0xd33d29(0x13d)](isAccessibilityAutomationSession)){global[_0xd33d29(0x165)]=!![];!_0x53e0ab[_0x2f99a1[_0xd33d29(0x15a)]]&&(global['accessibilityPlatform']=![]);!(_0x2f99a1[_0xd33d29(0xf8)](_0x53e0ab['browserName'],_0x2f99a1[_0xd33d29(0x147)])||_0x2f99a1[_0xd33d29(0xf8)](_0x53e0ab[_0xd33d29(0x148)],_0x2f99a1[_0xd33d29(0x13e)]))&&(logger[_0xd33d29(0x142)](_0x2f99a1[_0xd33d29(0x106)]),global[_0xd33d29(0x165)]=![]);!(_0x2f99a1['jztkW'](_0x53e0ab[_0xd33d29(0x102)],_0x2f99a1['MiFGL'])||_0x2f99a1['oIYaj'](_0x53e0ab[_0xd33d29(0x102)],0x5e))&&(logger[_0xd33d29(0x142)](_0x2f99a1[_0xd33d29(0x120)]),global[_0xd33d29(0x165)]=![]);!_0x2f99a1[_0xd33d29(0x157)](isUndefined,_0x53e0ab[_0xd33d29(0x154)])&&(logger[_0xd33d29(0x142)](_0x2f99a1[_0xd33d29(0x111)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x53e0ab[_0x2f99a1[_0xd33d29(0x15a)]]=![];const _0x26acae=_0x2f99a1[_0xd33d29(0x10f)](_0x32b3c0,_0x2f99a1['Vyshb'](encodeURIComponent,JSON['stringify'](_0x53e0ab)));_0x4be11e&&(_0x4be11e['currentTest'][_0xd33d29(0xfe)][_0xd33d29(0x108)][_0xd33d29(0x12e)][_0xd33d29(0x151)]['wsEndpoint']=_0x26acae,_0x4be11e['workerInfo'][_0xd33d29(0x108)][_0xd33d29(0x12e)][_0xd33d29(0x151)][_0xd33d29(0x155)]=_0x26acae);}}}catch(_0x3eb207){logger[_0xd33d29(0x12a)](_0xd33d29(0x139)+util['format'](_0x3eb207));}};
1
+ const a34_0x2205d2=a34_0x5610;function a34_0x5610(_0x1029ae,_0x16ce28){const _0xfcb6c4=a34_0xfcb6();return a34_0x5610=function(_0x561063,_0x59a10a){_0x561063=_0x561063-0x76;let _0x38fb3d=_0xfcb6c4[_0x561063];return _0x38fb3d;},a34_0x5610(_0x1029ae,_0x16ce28);}function a34_0xfcb6(){const _0x2ba91e=['setAccessibilityCapabilities','accessibilityPlatform','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','OARoO','cMvzt','207796pQKula','needsReview','../../helpers/logger','WofGq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','qYUPX','18bLwbKl','../../helpers/accessibility-automation/scripts','jvmWV','measureWrapper','browserstack.accessibility','66YijLCD','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','project','qshXK','xTZul','392322JVkexP','orqXy','performScan','3117726EvvgRV','browser','playwright-chromium','browser_version','scannerVersion','name','No\x20accessibility\x20results\x20were\x20found.','RXjJG','UNKvX','kWCNo','platformValidation','dvMby','EfvRA','bestPractice','147219yryXxD','includeIssueType','26tpWPOt','VdVnY','QbFQY','accessibilityOptions.scannerVersion','viFdP','warn','wsEndpoint','browserStackExecuteDriver','No\x20summaryResults\x20found.','accessibilityOptions.includeIssueType.bestPractice','stringify','env','thCOf','gCgGe','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','CUYrs','22tBUmhZ','BS_A11Y_JWT','accessibilityOptions.includeIssueType.needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','FyXJI','chrome','use','deviceName','parse','accessibilityOptions.scannerProcessingTimeout','IOQNg','27890MqdDBO','4748424fHWLBh','FkOgh','accessibilityOptions','scannerProcessingTimeout','constructor','AkjRx','getAccessibilityResultsSummary','XVYmR','khKMf','CUSHX','debug','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','executeAsyncScript','tpeto','processAccessibilityCaps','hLIpm','../../helpers/performance/performance-tester','OkyMp','accessibilityOptions.authToken','latest','gYkgh','wcagVersion','error','browserName','../../helpers/performance/constants','vglWd','currentTest','replace','testInfo','3729mzZdlr','../../helpers/accessibility-automation/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kttiQ','format','12989268RMHIOr','WebDriver','browserStackEvaluate','5BOmVdC'];a34_0xfcb6=function(){return _0x2ba91e;};return a34_0xfcb6();}(function(_0x19deaa,_0x4ca732){const _0x1a048c=a34_0x5610,_0x2951d6=_0x19deaa();while(!![]){try{const _0x5aa66b=parseInt(_0x1a048c(0xd1))/0x1*(parseInt(_0x1a048c(0x78))/0x2)+parseInt(_0x1a048c(0xbb))/0x3*(parseInt(_0x1a048c(0xaf))/0x4)+-parseInt(_0x1a048c(0xa9))/0x5*(-parseInt(_0x1a048c(0xc3))/0x6)+-parseInt(_0x1a048c(0xc0))/0x7+parseInt(_0x1a048c(0x84))/0x8*(-parseInt(_0x1a048c(0xb6))/0x9)+parseInt(_0x1a048c(0x83))/0xa*(parseInt(_0x1a048c(0xa1))/0xb)+parseInt(_0x1a048c(0xa6))/0xc*(-parseInt(_0x1a048c(0xd3))/0xd);if(_0x5aa66b===_0x4ca732)break;else _0x2951d6['push'](_0x2951d6['shift']());}catch(_0x423805){_0x2951d6['push'](_0x2951d6['shift']());}}}(a34_0xfcb6,0xc8095));const util=require('util'),logger=require(a34_0x2205d2(0xb1))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x2205d2(0xa2)),{isUndefined}=require('../../helpers/helper'),scripts=require(a34_0x2205d2(0xb7)),PerformanceTester=require(a34_0x2205d2(0x94)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x2205d2(0x9c));exports[a34_0x2205d2(0xa8)]=async(_0x1964b9,_0x2240e8,_0x50c00c={})=>{const _0x3ae53f=a34_0x2205d2,_0x350db7={};_0x350db7[_0x3ae53f(0xc1)]='bstackSdkArgs';const _0x17d6a4=_0x350db7;return await _0x1964b9['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x2240e8['replace'](/arguments/g,_0x17d6a4['orqXy'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x3ae53f(0xdd)](_0x50c00c)+')');},exports[a34_0x2205d2(0xda)]=async(_0x5c2f4e,_0x4e302c,_0x10706b={})=>{const _0x42d4e2=a34_0x2205d2,_0x318d25={};_0x318d25['gCgGe']=function(_0x486643,_0x5a8fe4){return _0x486643===_0x5a8fe4;},_0x318d25[_0x42d4e2(0x77)]=_0x42d4e2(0xa7),_0x318d25[_0x42d4e2(0x89)]='Playwright',_0x318d25['QbFQY']='bstackSdkArgs';const _0x5b6c34=_0x318d25;if(_0x5b6c34[_0x42d4e2(0xe0)](_0x5c2f4e[_0x42d4e2(0x88)][_0x42d4e2(0xc8)],_0x5b6c34['CUYrs']))return await _0x5c2f4e[_0x42d4e2(0x90)](_0x4e302c,_0x10706b);else{if(_0x5b6c34['gCgGe'](_0x5c2f4e[_0x42d4e2(0x88)][_0x42d4e2(0xc8)],_0x5b6c34[_0x42d4e2(0x89)]))return await _0x5c2f4e['executeScript'](_0x42d4e2(0x8f)+_0x4e302c[_0x42d4e2(0x9f)](/arguments/g,_0x5b6c34[_0x42d4e2(0xd5)])+_0x42d4e2(0xac)+JSON[_0x42d4e2(0xdd)](_0x10706b)+')');}},exports[a34_0x2205d2(0xaa)]=async _0x5985a1=>{const _0x22753=a34_0x2205d2,_0x3eb37a={};_0x3eb37a[_0x22753(0x9d)]='accessibilityOptions.wcagVersion',_0x3eb37a['cMvzt']=_0x22753(0x81),_0x3eb37a['UNKvX']=_0x22753(0xdc),_0x3eb37a['ZNXGv']=_0x22753(0x7a),_0x3eb37a[_0x22753(0x82)]=_0x22753(0x96),_0x3eb37a[_0x22753(0xd4)]=_0x22753(0xd6);const _0x3c0855=_0x3eb37a;_0x5985a1['accessibilityOptions']&&(_0x5985a1['accessibilityOptions']['wcagVersion']&&(_0x5985a1[_0x3c0855[_0x22753(0x9d)]]=_0x5985a1[_0x22753(0x86)][_0x22753(0x99)]),_0x5985a1[_0x22753(0x86)]['scannerProcessingTimeout']&&(_0x5985a1[_0x3c0855[_0x22753(0xae)]]=_0x5985a1['accessibilityOptions'][_0x22753(0x87)]),_0x5985a1['accessibilityOptions']['includeIssueType']&&(_0x5985a1[_0x3c0855[_0x22753(0xcb)]]=_0x5985a1[_0x22753(0x86)][_0x22753(0xd2)][_0x22753(0xd0)],_0x5985a1[_0x3c0855['ZNXGv']]=_0x5985a1[_0x22753(0x86)][_0x22753(0xd2)][_0x22753(0xb0)]));const _0x3ef6fa=JSON[_0x22753(0x80)](process[_0x22753(0xde)][_0x22753(0xa3)])[_0x22753(0xc7)];_0x5985a1[_0x3c0855[_0x22753(0x82)]]=process[_0x22753(0xde)][_0x22753(0x79)],_0x5985a1[_0x3c0855[_0x22753(0xd4)]]=_0x3ef6fa,delete _0x5985a1[_0x22753(0x86)];},exports['getAccessibilityResults']=async _0x2cbad2=>{const _0x2a45c6=a34_0x2205d2,_0x39105a={};_0x39105a[_0x2a45c6(0xb5)]=_0x2a45c6(0xc9),_0x39105a['XaXBJ']=_0x2a45c6(0xb4);const _0x37e09f=_0x39105a;if(global[_0x2a45c6(0xab)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2cbad2,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2cbad2,scripts.getResults);})();return res;}catch{return logger[_0x2a45c6(0x9a)](_0x37e09f['qYUPX']),[];}else return logger[_0x2a45c6(0xd8)](_0x37e09f['XaXBJ']),[];},exports[a34_0x2205d2(0xc2)]=async(_0x473dcb,_0x1f9d45='')=>{const _0x330e71=a34_0x2205d2;if(global['accessibilityPlatform'])return await PerformanceTester[_0x330e71(0xb9)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xe74f54=_0x330e71,_0x468d6c={};_0x468d6c['command']=_0x1f9d45,await exports[_0xe74f54(0xa8)](_0x473dcb,scripts['performScan'],_0x468d6c);},{'command':_0x1f9d45})();},exports[a34_0x2205d2(0x8a)]=async _0x1d12e6=>{const _0x3c14d1=a34_0x2205d2,_0x579b8d={};_0x579b8d['khKMf']=_0x3c14d1(0xdb),_0x579b8d[_0x3c14d1(0x93)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x49e50c=_0x579b8d;if(global[_0x3c14d1(0xab)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1d12e6,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1d12e6,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x3c14d1(0x8e)](_0x49e50c[_0x3c14d1(0x8c)]),{};}else return logger[_0x3c14d1(0xd8)](_0x49e50c[_0x3c14d1(0x93)]),{};},exports[a34_0x2205d2(0xcd)]=async _0x13972f=>{const _0x5d52f0=a34_0x2205d2,_0x2c9456={'NqNjY':function(_0x95ac35,_0x2de48f){return _0x95ac35!==_0x2de48f;},'FkOgh':_0x5d52f0(0x7b),'RXjJG':function(_0x39cb07,_0x3a74f3){return _0x39cb07===_0x3a74f3;},'thCOf':_0x5d52f0(0x7d),'kWCNo':function(_0x532590,_0x4b39cf){return _0x532590===_0x4b39cf;},'viFdP':_0x5d52f0(0xc5),'dvMby':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','WofGq':function(_0x420020,_0xedd13b){return _0x420020(_0xedd13b);},'OARoO':function(_0x42ae12,_0x55d669){return _0x42ae12===_0x55d669;},'FyXJI':'latest','KpYbH':function(_0x5905a9,_0x595d9b){return _0x5905a9>_0x595d9b;},'kttiQ':_0x5d52f0(0xb3)};try{if(!_0x2c9456['NqNjY'](_0x13972f[_0x5d52f0(0x7f)],''))return logger[_0x5d52f0(0xd8)](_0x2c9456[_0x5d52f0(0x85)]),![];const _0x47f3b0=_0x13972f[_0x5d52f0(0xc4)];if(!(_0x2c9456[_0x5d52f0(0xca)](_0x47f3b0,_0x2c9456[_0x5d52f0(0xdf)])||_0x2c9456[_0x5d52f0(0xcc)](_0x47f3b0,_0x2c9456[_0x5d52f0(0xd7)])))return logger[_0x5d52f0(0xd8)](_0x2c9456[_0x5d52f0(0xce)]),![];const _0x1492d3=_0x2c9456[_0x5d52f0(0xb2)](parseInt,_0x13972f[_0x5d52f0(0xc6)]);if(!(_0x2c9456[_0x5d52f0(0xad)](_0x1492d3,_0x2c9456[_0x5d52f0(0x7c)])||_0x2c9456['KpYbH'](_0x1492d3,0x5e)))return logger[_0x5d52f0(0xd8)](_0x2c9456[_0x5d52f0(0xa4)]),![];}catch(_0x4da474){logger['debug']('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x4da474));}return!![];},exports[a34_0x2205d2(0x92)]=(_0x18b111,_0x5d0579,_0x199520)=>{const _0x38a2f7=a34_0x2205d2,_0x1112cc={'XVYmR':function(_0x4b6b7c){return _0x4b6b7c();},'tpeto':_0x38a2f7(0xba),'jvmWV':function(_0xa4b927,_0x12a60d){return _0xa4b927===_0x12a60d;},'dUjXK':_0x38a2f7(0x7d),'qshXK':'playwright-chromium','gYkgh':_0x38a2f7(0xbc),'OkyMp':_0x38a2f7(0x97),'CUSHX':function(_0x2f7e59,_0x157633){return _0x2f7e59>_0x157633;},'EfvRA':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','GJGUY':function(_0x43f43f,_0x236358){return _0x43f43f(_0x236358);},'hFABY':_0x38a2f7(0x7b),'hYNAU':function(_0x40c0d2,_0x42e8df){return _0x40c0d2+_0x42e8df;},'xTZul':function(_0x2dd751,_0x175e75){return _0x2dd751(_0x175e75);}};try{if(_0x1112cc[_0x38a2f7(0x8b)](isAccessibilityAutomationSession)){global[_0x38a2f7(0xab)]=!![];!_0x18b111[_0x1112cc[_0x38a2f7(0x91)]]&&(global[_0x38a2f7(0xab)]=![]);!(_0x1112cc['jvmWV'](_0x18b111[_0x38a2f7(0x9b)],_0x1112cc['dUjXK'])||_0x1112cc[_0x38a2f7(0xb8)](_0x18b111[_0x38a2f7(0x9b)],_0x1112cc[_0x38a2f7(0xbe)]))&&(logger[_0x38a2f7(0xd8)](_0x1112cc[_0x38a2f7(0x98)]),global[_0x38a2f7(0xab)]=![]);!(_0x1112cc['jvmWV'](_0x18b111[_0x38a2f7(0xc6)],_0x1112cc[_0x38a2f7(0x95)])||_0x1112cc[_0x38a2f7(0x8d)](_0x18b111[_0x38a2f7(0xc6)],0x5e))&&(logger[_0x38a2f7(0xd8)](_0x1112cc[_0x38a2f7(0xcf)]),global[_0x38a2f7(0xab)]=![]);!_0x1112cc['GJGUY'](isUndefined,_0x18b111['deviceName'])&&(logger[_0x38a2f7(0xd8)](_0x1112cc['hFABY']),global[_0x38a2f7(0xab)]=![]);if(!global[_0x38a2f7(0xab)]){_0x18b111[_0x1112cc[_0x38a2f7(0x91)]]=![];const _0x2d3437=_0x1112cc['hYNAU'](_0x5d0579,_0x1112cc[_0x38a2f7(0xbf)](encodeURIComponent,JSON[_0x38a2f7(0xdd)](_0x18b111)));_0x199520&&(_0x199520[_0x38a2f7(0x9e)][_0x38a2f7(0xa0)][_0x38a2f7(0xbd)]['use']['connectOptions'][_0x38a2f7(0xd9)]=_0x2d3437,_0x199520['workerInfo'][_0x38a2f7(0xbd)][_0x38a2f7(0x7e)]['connectOptions'][_0x38a2f7(0xd9)]=_0x2d3437);}}}catch(_0x1583f0){logger[_0x38a2f7(0x8e)](_0x38a2f7(0x76)+util[_0x38a2f7(0xa5)](_0x1583f0));}};