browserstack-node-sdk 1.34.3 → 1.34.4

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 (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -0
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x504819=a1_0x44d2;(function(_0x201eeb,_0x253f37){const _0x212b73=a1_0x44d2,_0x4fe543=_0x201eeb();while(!![]){try{const _0x10d5e1=parseInt(_0x212b73(0xad))/0x1+parseInt(_0x212b73(0xcd))/0x2*(-parseInt(_0x212b73(0xb8))/0x3)+parseInt(_0x212b73(0xb4))/0x4+parseInt(_0x212b73(0x113))/0x5+parseInt(_0x212b73(0xb5))/0x6*(-parseInt(_0x212b73(0xff))/0x7)+parseInt(_0x212b73(0xa6))/0x8*(parseInt(_0x212b73(0xc7))/0x9)+-parseInt(_0x212b73(0xe2))/0xa;if(_0x10d5e1===_0x253f37)break;else _0x4fe543['push'](_0x4fe543['shift']());}catch(_0x5d55b9){_0x4fe543['push'](_0x4fe543['shift']());}}}(a1_0x1b98,0x430d8));function a1_0x44d2(_0x3cca17,_0x4bdd42){const _0x1b981a=a1_0x1b98();return a1_0x44d2=function(_0x44d2a3,_0x3bc810){_0x44d2a3=_0x44d2a3-0x9d;let _0xb5932b=_0x1b981a[_0x44d2a3];return _0xb5932b;},a1_0x44d2(_0x3cca17,_0x4bdd42);}function a1_0x1b98(){const _0x49e12b=['Suite','setSessionStatus','BROWSERSTACK_TESTHUB_UUID','before','dispatcher','slice','2519850Ekwdzo','contexts','Jpgls','../../bin/playwright/sessionDetails','CQmoS','./o11yHelper','HOOK_RUN_FINISHED','MHHRG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','sEeNE','forEach','OITQQ','performScan','skipSessionName','FtzbU','bs:addLog:','./helper.js','BS_TESTOPS_ALLOW_SCREENSHOTS','after','screenshotOutputFolder','../../bin/playwright/accessibility-helper','SlfeN','add','QTQnM','TXnnE','captureEvent','hook','start','NuqML','7lbuJLf','warn','catch','skipSessionStatus','getResults','class','../../helpers/test-observability/utils','overwriteCommand','debug','rqIEt','fireEvent','title','fWgzm','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','captureError','executeScript','started','name','Element','../../helpers/helper','168590QEGAti','getResultsSummary','RoTnt','failed','find','FwDWg','../../helpers/logger','stringify','apply','AjPDD','action','WDtox','initSaveScreenshot','saveScreenshot','helpers','codeceptjs/lib/utils.js','exports','codeceptjs/lib/helper/WebDriver.js','qtbON','XHjOg','../../helpers/request-spy','status','iKiOp','HOOK_RUN_STARTED','ABPfB','browserContext','bind','prototype','TEST_RUN_SKIPPED','wSnYh','format','constructor','container','ENV_VAR','FQhbS','codeceptjs/lib/index.js','TEST_RUN_STARTED','fbHwu','rDMUY','UbYAt','bstackAllyScanning','bddStep','Playwright','TEST_RUN_FINISHED','WebDriver','event','JEMtQ','TEST_LOG','accessibilityPlatform','getSyncScript','emit','arguments','oubQa','Performing\x20scan\x20for\x20','3055704EqukdJ','LQrio','_before','browserstack_executor:\x20','step','toString','addRequestSpy','147717hgAyAZ','test','../../helpers/accessibility-automation/helper','testAnalyticsId','comment','Mvyij','titlePath','969308tufXvd','960546HhYSSb','nCoQy','startMonitoring','9XrgVyd','BBeMb','USPTm','passed','util','stop','thBuildUuid','reason','browser','codeceptjs/lib/recorder.js','TEST_SCREENSHOT','codeceptjs/lib/helper/Playwright.js','kdrPJ','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Puppeteer','9ffzHwo','patchSaveScreenshot','enabled','restore','browserStackExecuteDriver','__workerDetails','79334fcwMNx','setSessionName','all','kejcW','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','call','qfaGU','SrNKA','ctx','base64','toISOString','stopMonitoring','__skipSessionStatus','uNPvB','BROWSERSTACK_TESTHUB_JWT'];a1_0x1b98=function(){return _0x49e12b;};return a1_0x1b98();}const fs=require('fs'),util=require(a1_0x504819(0xbc)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x504819(0x112)),logger=require(a1_0x504819(0x119))['winstonLogger'],testOpsHelper=require(a1_0x504819(0x105)),requestSpy=require(a1_0x504819(0x127)),PlaywrightSessionDetails=require(a1_0x504819(0xe5)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x504819(0xe7)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x504819(0xaf)),AccessibilityHelper=require(a1_0x504819(0xf6)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance-tester'),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x504819(0xf2)),testHubConstants=require('../../helpers/testhub/constants.js'),CodeceptJS=requireModule(a1_0x504819(0x136)),CodeceptUtils=requireModule(a1_0x504819(0x122)),CodeceptWebDriver=requireModule(a1_0x504819(0x124)),CodeceptRecorder=requireModule(a1_0x504819(0xc1)),CodeceptPlaywright=requireModule(a1_0x504819(0xc3)),playwrightMarkSessionStatus=(_0x27f9fb,_0x21147e,_0x22990c)=>{const _0x501497=a1_0x504819,_0x25be60={'kdrPJ':_0x501497(0xdd),'yweJU':function(_0x4c8606,_0xe2b96f){return _0x4c8606(_0xe2b96f);}},_0x530dae={};_0x530dae[_0x501497(0x128)]=_0x21147e;const _0x48506e={};_0x48506e[_0x501497(0x11d)]=_0x25be60[_0x501497(0xc4)],_0x48506e['arguments']=_0x530dae;const _0x4b4771=_0x48506e;return!_0x25be60['yweJU'](isUndefined,_0x22990c)&&(_0x4b4771[_0x501497(0xa3)][_0x501497(0xbf)]=JSON['stringify'](_0x22990c)),_0x27f9fb['executeScript'](()=>{},'browserstack_executor:\x20'+JSON[_0x501497(0x11a)](_0x4b4771));},o11ySync=async _0x1167dd=>{const _0x1f5bb6=a1_0x504819,_0x1419bf={};_0x1419bf[_0x1f5bb6(0xfa)]=function(_0x15ce0a,_0x4b8c62){return _0x15ce0a===_0x4b8c62;},_0x1419bf[_0x1f5bb6(0xed)]='Playwright';const _0x147e3d=_0x1419bf;_0x147e3d[_0x1f5bb6(0xfa)](_0x1167dd['constructor'][_0x1f5bb6(0x110)],_0x147e3d[_0x1f5bb6(0xed)])?await _0x1167dd[_0x1f5bb6(0x10e)](_0x526959=>{},testOpsHelper['getSyncScript']()):await _0x1167dd[_0x1f5bb6(0x10e)](testOpsHelper[_0x1f5bb6(0xa1)]());},markSessionName=async(_0x4b79ae,_0x33e692)=>{const _0x4cdab7=a1_0x504819,_0x1e76a4={};_0x1e76a4['sEeNE']=_0x4cdab7(0xce),_0x1e76a4[_0x4cdab7(0x135)]=function(_0x4613fc,_0x449aca){return _0x4613fc===_0x449aca;},_0x1e76a4[_0x4cdab7(0x125)]='Playwright';const _0x52a7f8=_0x1e76a4,_0x2b6bba={};_0x2b6bba['name']=_0x33e692;const _0x46c90a={};_0x46c90a[_0x4cdab7(0x11d)]=_0x52a7f8[_0x4cdab7(0xeb)],_0x46c90a[_0x4cdab7(0xa3)]=_0x2b6bba;const _0x1dca2e=_0x46c90a;_0x52a7f8[_0x4cdab7(0x135)](_0x4b79ae[_0x4cdab7(0x132)][_0x4cdab7(0x110)],_0x52a7f8[_0x4cdab7(0x125)])?await _0x4b79ae[_0x4cdab7(0x10e)](()=>{},_0x4cdab7(0xa9)+JSON[_0x4cdab7(0x11a)](_0x1dca2e)):await _0x4b79ae[_0x4cdab7(0x10e)](_0x4cdab7(0xa9)+JSON[_0x4cdab7(0x11a)](_0x1dca2e));},patchSaveScreenshot=_0x58ecef=>{const _0x11a898=a1_0x504819,_0x3519c7={'fWgzm':_0x11a898(0xd6),'SlfeN':_0x11a898(0xc2),'WDtox':function(_0x2c19a5){return _0x2c19a5();},'uNPvB':function(_0x469f79,_0x34aabe){return _0x469f79(_0x34aabe);}};_0x3519c7[_0x11a898(0xda)](isTrue,process['env'][_0x11a898(0xf3)])&&!_0x58ecef[_0x11a898(0xc8)]&&(_0x58ecef['patchSaveScreenshot']=!![],_0x58ecef[_0x11a898(0x11f)]=_0x58ecef[_0x11a898(0x120)],_0x58ecef['saveScreenshot']=(_0x276bbc,_0x4ed229=![])=>{const _0x58c1bc=_0x11a898,_0x9ace60={'USPTm':_0x3519c7[_0x58c1bc(0x10b)],'uPbLl':_0x3519c7[_0x58c1bc(0xf7)],'UbYAt':function(_0x5b0c95){const _0x3af8e2=_0x58c1bc;return _0x3519c7[_0x3af8e2(0x11e)](_0x5b0c95);}};return new Promise(function(_0x5a807f,_0x4aba05){const _0x973c0d=_0x58c1bc;_0x58ecef[_0x973c0d(0x11f)](_0x276bbc,_0x4ed229)['then'](()=>{const _0x8d153c=_0x973c0d,_0x3623ea=CodeceptUtils[_0x8d153c(0xf5)](_0x276bbc),_0x7dba41=fs['readFileSync'](_0x3623ea);process[_0x8d153c(0xa2)](_0x8d153c(0xf1)+process['pid'],{'timestamp':new Date()[_0x8d153c(0xd7)](),'message':_0x7dba41[_0x8d153c(0xab)](_0x9ace60[_0x8d153c(0xba)]),'kind':_0x9ace60['uPbLl']}),_0x9ace60[_0x8d153c(0x13a)](_0x5a807f);})[_0x973c0d(0x101)](()=>null);});});},patchWebDriverBefore=_0x1305fd=>{const _0x292e85=a1_0x504819,_0x500ce9={'FwDWg':function(_0x5e5b26){return _0x5e5b26();},'MHHRG':function(_0x28dbf7,_0x45901d){return _0x28dbf7(_0x45901d);},'HoVKa':function(_0x47f31d,_0xf05278){return _0x47f31d===_0xf05278;},'FtzbU':_0x292e85(0x111)},_0x113144=async function(_0x4dabc9,_0x54ad1b){const _0x33e951=_0x292e85;return _0x500ce9[_0x33e951(0x118)](isAccessibilityAutomationSession)&&!global[_0x33e951(0x13b)]&&global['accessibilityPlatform']&&scripts['shouldWrapCommand'](_0x4dabc9[_0x33e951(0x110)])&&_0x500ce9[_0x33e951(0xe9)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],logger[_0x33e951(0x107)](_0x33e951(0xa5)+_0x4dabc9[_0x33e951(0x104)]+'\x20'+_0x4dabc9[_0x33e951(0x110)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x1305fd,scripts[_0x33e951(0xee)])),global[_0x33e951(0x13b)]=![],_0x54ad1b[_0x33e951(0x11b)](this,Array[_0x33e951(0x12e)][_0x33e951(0xe1)][_0x33e951(0xd2)](arguments,0x2));},_0x4db5ff=CodeceptWebDriver[_0x292e85(0x12e)][_0x292e85(0xa8)];CodeceptWebDriver[_0x292e85(0x12e)]['_before']=async function(){const _0x2e5eb8=_0x292e85;await _0x4db5ff[_0x2e5eb8(0x11b)](this,arguments),scripts['commandsToWrap']['filter'](_0x204561=>_0x204561[_0x2e5eb8(0x110)]&&_0x204561[_0x2e5eb8(0x104)])[_0x2e5eb8(0xec)](_0x4a8715=>{const _0x131027=_0x2e5eb8;this['browser'][_0x131027(0x106)](_0x4a8715[_0x131027(0x110)],_0x113144[_0x131027(0x12d)](this,_0x4a8715),_0x500ce9['HoVKa'](_0x4a8715[_0x131027(0x104)],_0x500ce9[_0x131027(0xf0)]));}),_0x500ce9[_0x2e5eb8(0xe9)](processWebDriverConfig,_0x1305fd);};},patchPlaywrightBefore=()=>{const _0x4a6191=a1_0x504819;PlaywrightSessionDetails['patch']();const _0x4738f3=CodeceptPlaywright[_0x4a6191(0x12e)]['_before'];CodeceptPlaywright['prototype']['_before']=async function(){const _0x594164=_0x4a6191;this[_0x594164(0x12c)]=await this[_0x594164(0xc0)][_0x594164(0xe3)]()[0x0],await _0x4738f3[_0x594164(0x11b)](this,arguments);};},getCodeceptDriver=()=>{const _0x572de6=a1_0x504819,_0xa2e1da={};_0xa2e1da[_0x572de6(0x139)]=_0x572de6(0x13f),_0xa2e1da['CQmoS']='Playwright',_0xa2e1da[_0x572de6(0x129)]=_0x572de6(0xc6),_0xa2e1da[_0x572de6(0x130)]='TestCafe';const _0x5da533=_0xa2e1da,_0x47317b=[_0x5da533[_0x572de6(0x139)],_0x5da533[_0x572de6(0xe6)],_0x5da533[_0x572de6(0x129)],_0x5da533[_0x572de6(0x130)]],_0x27dece=_0x47317b[_0x572de6(0x117)](_0x1d1555=>!!CodeceptJS['container'][_0x572de6(0x121)](_0x1d1555));if(!_0x27dece)return null;return CodeceptJS[_0x572de6(0x133)][_0x572de6(0x121)](_0x27dece);};module[a1_0x504819(0x123)]=function(_0x46855c){const _0x4ef642=a1_0x504819,_0x4ea8c2={'qHdnv':_0x4ef642(0x10c),'QTQnM':_0x4ef642(0xea),'Jpgls':function(_0x195e58){return _0x195e58();},'qfaGU':function(_0x2719aa){return _0x2719aa();},'BBeMb':function(_0x12b5ce,_0x25ac16){return _0x12b5ce(_0x25ac16);},'ABPfB':function(_0x54261e,_0x50abe8,_0x59138b){return _0x54261e(_0x50abe8,_0x59138b);},'RoTnt':function(_0xee375a,_0xee1450){return _0xee375a(_0xee1450);},'NuqML':function(_0x29b0f2){return _0x29b0f2();},'oubQa':function(_0x476180,_0xd9a861,_0x4f03ac){return _0x476180(_0xd9a861,_0x4f03ac);},'SrNKA':function(_0x1767e1,_0x58e8d9,_0x23a6ce,_0x4ae4bf){return _0x1767e1(_0x58e8d9,_0x23a6ce,_0x4ae4bf);},'kejcW':function(_0x4af2d0,_0x597ab4){return _0x4af2d0===_0x597ab4;},'jeGRw':_0x4ef642(0xdc),'XHjOg':function(_0x364b5c){return _0x364b5c();},'nCoQy':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','JEMtQ':'INFO','Mvyij':_0x4ef642(0x9f),'HAMLK':function(_0xe5b26a){return _0xe5b26a();},'yydaQ':_0x4ef642(0x13d),'wcbRT':function(_0x2584bc){return _0x2584bc();},'AjPDD':function(_0x7ffc71,_0x57a00e){return _0x7ffc71(_0x57a00e);}};_0x46855c[_0x4ef642(0x102)]&&(global[_0x4ef642(0xd9)]=_0x46855c[_0x4ef642(0x102)]);PerformanceTester[_0x4ef642(0xb7)]();const _0x2b0291=_0x4ea8c2['HAMLK'](getCodeceptDriver),_0x9e0a63=new O11yHelper(_0x2b0291,_0x46855c),_0x4f3d1c=!!CodeceptJS[_0x4ef642(0x133)][_0x4ef642(0x121)](_0x4ea8c2['yydaQ']);global['__driver']=_0x2b0291,_0x2b0291&&(_0x4f3d1c?_0x4ea8c2['wcbRT'](patchPlaywrightBefore):_0x4ea8c2['RoTnt'](patchWebDriverBefore,_0x2b0291),_0x2b0291['getAccessibilityResultsSummary']=async()=>{const _0x5dca9f=_0x4ef642;if(global[_0x5dca9f(0xa0)])await AccessibilityHelper[_0x5dca9f(0xcb)](_0x2b0291,scripts[_0x5dca9f(0xee)]),await AccessibilityHelper[_0x5dca9f(0xcb)](_0x2b0291,scripts[_0x5dca9f(0x114)]);else return logger[_0x5dca9f(0x100)](_0x4ea8c2['qHdnv']),{};},_0x2b0291['getAccessibilityResults']=async()=>{const _0x3950c6=_0x4ef642;if(global[_0x3950c6(0xa0)])await AccessibilityHelper['browserStackExecuteDriver'](_0x2b0291,scripts['performScan']),await AccessibilityHelper[_0x3950c6(0xcb)](_0x2b0291,scripts[_0x3950c6(0x103)]);else return logger[_0x3950c6(0x100)](_0x4ea8c2[_0x3950c6(0xf9)]),{};},_0x4ea8c2[_0x4ef642(0x11c)](patchSaveScreenshot,_0x2b0291)),CodeceptJS[_0x4ef642(0x9d)]['dispatcher']['on'](CodeceptJS['event'][_0x4ef642(0xcf)]['before'],()=>{const _0x4c34ad=_0x4ef642;try{_0x9e0a63[_0x4c34ad(0xfd)](),testOpsHelper[_0x4c34ad(0xac)]();}catch(_0xe9ce94){PerformanceTester['captureError'](_0xe9ce94);}}),CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xe0)]['on'](CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xcf)]['after'],async()=>{const _0x216e04=_0x4ef642;try{requestSpy[_0x216e04(0xca)](),await _0x9e0a63[_0x216e04(0xbd)]();}catch(_0x5a5b55){PerformanceTester[_0x216e04(0x10d)](_0x5a5b55);}finally{PerformanceTester[_0x216e04(0xd8)]();}}),CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xe0)]['on'](CodeceptJS['event'][_0x4ef642(0xfc)][_0x4ef642(0x10f)],_0x3bb202=>{const _0x3405a1=_0x4ef642;try{const _0x12e52c=_0x3bb202[_0x3405a1(0xd5)]['test'],_0x4d7125=_0x9e0a63[_0x3405a1(0xfb)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x12e52c);CodeceptRecorder[_0x3405a1(0xf8)](()=>_0x9e0a63['fireEvent'](TEST_EVENTS[_0x3405a1(0x12a)],_0x4d7125));}catch(_0x1f539e){PerformanceTester['captureError'](_0x1f539e);}}),CodeceptJS[_0x4ef642(0x9d)]['dispatcher']['on'](CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xfc)][_0x4ef642(0xbb)],_0x14527f=>{const _0x4c2be9=_0x4ef642;try{const _0x14f353=_0x14527f[_0x4c2be9(0xd5)][_0x4c2be9(0xae)],_0xc21c=_0x9e0a63[_0x4c2be9(0xfb)](TEST_EVENTS[_0x4c2be9(0xe8)],_0x14f353);CodeceptRecorder['add'](()=>_0x9e0a63[_0x4c2be9(0x109)](TEST_EVENTS[_0x4c2be9(0xe8)],_0xc21c));}catch(_0x43a23e){PerformanceTester[_0x4c2be9(0x10d)](_0x43a23e);}}),CodeceptJS[_0x4ef642(0x9d)]['dispatcher']['on'](CodeceptJS['event'][_0x4ef642(0xfc)]['failed'],async(_0x3fa16b,_0x48d020)=>{const _0x49eebd=_0x4ef642;try{const _0x2dd733=_0x3fa16b[_0x49eebd(0xd5)][_0x49eebd(0xae)],_0x51d17c=_0x9e0a63['captureEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2dd733,_0x48d020);CodeceptRecorder[_0x49eebd(0xf8)](()=>_0x9e0a63['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x51d17c));}catch(_0x1cf732){PerformanceTester[_0x49eebd(0x10d)](_0x1cf732);}}),CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xe0)]['on'](CodeceptJS['event'][_0x4ef642(0xae)][_0x4ef642(0xdf)],_0x55b659=>{const _0x109bf2=_0x4ef642;try{_0x4ea8c2[_0x109bf2(0xe4)](isBrowserstackInfra)&&(_0x4f3d1c&&(global[_0x109bf2(0xcc)]={'currentTest':{'name':_0x55b659['title'],'testInfo':{'titlePath':_0x55b659[_0x109bf2(0xb3)]()}}}));}catch(_0x133a4b){PerformanceTester[_0x109bf2(0x10d)](_0x133a4b);}}),CodeceptJS['event'][_0x4ef642(0xe0)]['on'](CodeceptJS['event'][_0x4ef642(0xae)][_0x4ef642(0x10f)],_0x545603=>{const _0xb6cbf9=_0x4ef642;try{const _0x1c2ddb=_0x9e0a63[_0xb6cbf9(0xfb)](TEST_EVENTS[_0xb6cbf9(0x137)],_0x545603);CodeceptRecorder[_0xb6cbf9(0xf8)](()=>_0x9e0a63[_0xb6cbf9(0x109)](TEST_EVENTS[_0xb6cbf9(0x137)],_0x1c2ddb)),CodeceptRecorder[_0xb6cbf9(0xf8)](async()=>{const _0x388fe4=_0xb6cbf9;_0x4ea8c2[_0x388fe4(0xd3)](isBrowserstackInfra)&&(!_0x4ea8c2[_0x388fe4(0xb9)](isTrue,_0x46855c[_0x388fe4(0xef)])&&await _0x4ea8c2[_0x388fe4(0x12b)](markSessionName,_0x2b0291,_0x545603[_0x388fe4(0x10a)]),_0x9e0a63[_0x388fe4(0xc9)]&&await _0x4ea8c2[_0x388fe4(0x115)](o11ySync,_0x2b0291));});}catch(_0xd308e1){PerformanceTester[_0xb6cbf9(0x10d)](_0xd308e1);}}),CodeceptJS[_0x4ef642(0x9d)]['dispatcher']['on'](CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xae)][_0x4ef642(0xbb)],_0x2873d0=>{const _0x41f83f=_0x4ef642,_0x31aeac={'LQrio':function(_0x302f52){const _0x53edf0=a1_0x44d2;return _0x4ea8c2[_0x53edf0(0xfe)](_0x302f52);},'rqIEt':function(_0x108af8,_0x2ba0fe,_0x366ced){const _0x30fb8e=a1_0x44d2;return _0x4ea8c2[_0x30fb8e(0x12b)](_0x108af8,_0x2ba0fe,_0x366ced);},'fbHwu':function(_0x62424a,_0x38db66,_0x4e429e){const _0x23f79e=a1_0x44d2;return _0x4ea8c2[_0x23f79e(0xa4)](_0x62424a,_0x38db66,_0x4e429e);}};try{const _0x2df2d9=_0x9e0a63[_0x41f83f(0xfb)](TEST_EVENTS[_0x41f83f(0x13e)],_0x2873d0);CodeceptRecorder[_0x41f83f(0xf8)](()=>_0x9e0a63[_0x41f83f(0x109)](TEST_EVENTS[_0x41f83f(0x13e)],_0x2df2d9)),CodeceptRecorder[_0x41f83f(0xf8)](async()=>{const _0x52c46b=_0x41f83f;_0x31aeac[_0x52c46b(0xa7)](isBrowserstackInfra)&&(_0x4f3d1c?await _0x31aeac[_0x52c46b(0x108)](playwrightMarkSessionStatus,_0x2b0291,STATE_PASSED):await _0x31aeac[_0x52c46b(0x138)](markSessionStatus,_0x2b0291,STATE_PASSED));});}catch(_0x484611){PerformanceTester[_0x41f83f(0x10d)](_0x484611);}}),CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xe0)]['on'](CodeceptJS['event'][_0x4ef642(0xae)][_0x4ef642(0x116)],(_0x3e30a0,_0x3695da)=>{const _0x6b59d2=_0x4ef642;try{if(_0x4ea8c2[_0x6b59d2(0xd0)](_0x3e30a0[_0x6b59d2(0x132)][_0x6b59d2(0x110)],_0x4ea8c2['jeGRw'])){const _0x2218f4=_0x9e0a63['captureEvent'](TEST_EVENTS[_0x6b59d2(0x12f)],_0x3e30a0['ctx']['currentTest']);CodeceptRecorder[_0x6b59d2(0xf8)](()=>_0x9e0a63[_0x6b59d2(0x109)](TEST_EVENTS[_0x6b59d2(0x12f)],_0x2218f4));}else{const _0x307941=_0x9e0a63[_0x6b59d2(0xfb)](TEST_EVENTS[_0x6b59d2(0x13e)],_0x3e30a0,_0x3695da);CodeceptRecorder['add'](()=>{const _0x29fcc0=_0x6b59d2;try{_0x9e0a63[_0x29fcc0(0x109)](TEST_EVENTS[_0x29fcc0(0x13e)],_0x307941);}catch(_0x38be40){logger['debug'](_0x29fcc0(0xd1)+util[_0x29fcc0(0x131)](_0x38be40));}}),CodeceptRecorder[_0x6b59d2(0xf8)](async()=>{const _0x56e852=_0x6b59d2;try{_0x4ea8c2['Jpgls'](isBrowserstackInfra)&&(_0x4f3d1c?await _0x4ea8c2[_0x56e852(0xd4)](playwrightMarkSessionStatus,_0x2b0291,STATE_FAILED,_0x3695da):await _0x4ea8c2[_0x56e852(0xd4)](markSessionStatus,_0x2b0291,STATE_FAILED,_0x3695da));}catch(_0x4637ab){logger['debug']('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x56e852(0x131)](_0x4637ab));}});}}catch(_0x119f92){PerformanceTester[_0x6b59d2(0x10d)](_0x119f92);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xae)]['skipped'],_0x38669a=>{const _0x1132e3=_0x4ef642;try{const _0x466349=_0x9e0a63[_0x1132e3(0xfb)](TEST_EVENTS[_0x1132e3(0x12f)],_0x38669a);CodeceptRecorder[_0x1132e3(0xf8)](()=>_0x9e0a63[_0x1132e3(0x109)](TEST_EVENTS[_0x1132e3(0x12f)],_0x466349));}catch(_0x1e91cf){PerformanceTester['captureError'](_0x1e91cf);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xae)][_0x4ef642(0xf4)],async(_0x279dd5,_0x3f3e91)=>{const _0x1f4103=_0x4ef642;try{if(_0x4ea8c2[_0x1f4103(0x126)](isBrowserstackInfra)){const _0x33ed56=_0x4ea8c2[_0x1f4103(0xa4)](shouldScanTestForAccessibility,_0x279dd5[_0x1f4103(0xb3)](),!![]);if(_0x4ea8c2['Jpgls'](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x33ed56){const _0x27fef5={};_0x27fef5['thTestRunUuid']=_0x279dd5[_0x1f4103(0xb0)],_0x27fef5[_0x1f4103(0xbe)]=process['env'][testHubConstants[_0x1f4103(0x134)][_0x1f4103(0xde)]],_0x27fef5['thJwtToken']=process['env'][testHubConstants[_0x1f4103(0x134)][_0x1f4103(0xdb)]];const _0x1f4d9c=_0x27fef5;logger[_0x1f4103(0x107)](_0x1f4103(0xc5)+JSON[_0x1f4103(0x11a)](_0x1f4d9c)),CodeceptRecorder[_0x1f4103(0xf8)](async()=>{const _0x3cc940=_0x1f4103;await AccessibilityHelper[_0x3cc940(0xcb)](_0x2b0291,scripts['performScan']),await AccessibilityHelper[_0x3cc940(0xcb)](_0x2b0291,scripts['saveTestResults'],_0x1f4d9c);}),logger['info'](_0x4ea8c2[_0x1f4103(0xb6)]);}}}catch(_0x224854){PerformanceTester[_0x1f4103(0x10d)](_0x224854);}}),CodeceptJS[_0x4ef642(0x9d)]['dispatcher']['on'](CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xaa)][_0x4ef642(0xb1)],_0x36c521=>{const _0x129f96=_0x4ef642;try{process['emit']('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x129f96(0xd7)](),'level':_0x4ea8c2[_0x129f96(0x9e)],'message':_0x36c521,'kind':_0x4ea8c2[_0x129f96(0xb2)],'http_response':{}});}catch(_0x133e4b){PerformanceTester[_0x129f96(0x10d)](_0x133e4b);}}),CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xe0)]['on'](CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0x13c)][_0x4ef642(0xdf)],_0x3c50bb=>{_0x9e0a63['bddStepStart'](_0x3c50bb);}),CodeceptJS[_0x4ef642(0x9d)][_0x4ef642(0xe0)]['on'](CodeceptJS[_0x4ef642(0x9d)]['bddStep']['after'],_0x418d28=>{_0x9e0a63['bddStepFinish'](_0x418d28);});};
1
+ const a1_0x2d473f=a1_0xb075;function a1_0x3417(){const _0x4beefc=['addRequestSpy','9403086vVMJtL','../../helpers/testhub/constants.js','stopMonitoring','test','performScan','uAdMb','comment','../../helpers/performance-tester','browserStackExecuteDriver','skipSessionName','titlePath','GDqxT','debug','contexts','DMtwX','codeceptjs/lib/recorder.js','HOOK_RUN_FINISHED','roBOt','Element','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','emit','SyEzQ','bstackAllyScanning','warn','icbVh','passed','overwriteCommand','title','skipSessionStatus','Suite','ctx','QYRjj','TEST_RUN_FINISHED','bddStepStart','captureEvent','after','TEST_SCREENSHOT','bind','env','HBQBX','../../helpers/test-observability/utils','95GgWhBS','call','apply','Playwright','../../bin/playwright/sessionDetails','bwdDK','IQAzU','getResults','2160866ZHNlZM','ENV_VAR','prototype','__driver','codeceptjs/lib/helper/WebDriver.js','_before','HOOK_RUN_STARTED','find','initSaveScreenshot','rFbmz','captureError','add','testAnalyticsId','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','NTTFf','pid','reason','catch','commandsToWrap','saveTestResults','dispatcher','bddStep','eZTRY','browserstack_executor:\x20','event','./helper.js','xLdoF','patch','LLFSW','start','JZbxC','step','TEST_RUN_STARTED','__workerDetails','util','hook','stringify','format','auLqU','shouldWrapCommand','getSyncScript','388824WGEezB','fireEvent','forEach','accessibilityPlatform','skipped','bddStepFinish','qCWEN','SJatu','../../helpers/accessibility-automation/helper','LTXde','startMonitoring','then','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','678997lIRSdr','6067656tLkZEq','name','saveScreenshot','failed','bs:addLog:','status','2709716vjUlPy','bKuDH','setSessionStatus','currentTest','JXEnO','enabled','gKmwm','getResultsSummary','WebDriver','before','helpers','wRvjG','codeceptjs/lib/index.js','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','winstonLogger','patchSaveScreenshot','WilSq','filter','../../helpers/accessibility-automation/scripts','toISOString','started','codeceptjs/lib/utils.js','QBtPd','slice','sqsIt','codeceptjs/lib/helper/Playwright.js','thBuildUuid','Puppeteer','thJwtToken','setSessionName','AXDhW','tpydT','IbWIG','all','executeScript','action','browser','vTFSE','container','../../helpers/request-spy','TEST_RUN_SKIPPED','3613971pfVIVw','constructor','MnpWd','arguments','../../helpers/helper','yhKdx','9mgEySy','INFO','class','BROWSERSTACK_TESTHUB_UUID'];a1_0x3417=function(){return _0x4beefc;};return a1_0x3417();}(function(_0x1765ca,_0xdbd031){const _0x15c0d1=a1_0xb075,_0xa8da36=_0x1765ca();while(!![]){try{const _0x373b2a=parseInt(_0x15c0d1(0x153))/0x1+-parseInt(_0x15c0d1(0x11d))/0x2+-parseInt(_0x15c0d1(0xe1))/0x3+parseInt(_0x15c0d1(0x15a))/0x4+-parseInt(_0x15c0d1(0x115))/0x5*(-parseInt(_0x15c0d1(0x146))/0x6)+parseInt(_0x15c0d1(0xec))/0x7+-parseInt(_0x15c0d1(0x154))/0x8*(parseInt(_0x15c0d1(0xe7))/0x9);if(_0x373b2a===_0xdbd031)break;else _0xa8da36['push'](_0xa8da36['shift']());}catch(_0x50e157){_0xa8da36['push'](_0xa8da36['shift']());}}}(a1_0x3417,0xd8a9d));function a1_0xb075(_0x456cf8,_0x4ff9c6){const _0x3417c1=a1_0x3417();return a1_0xb075=function(_0xb0755b,_0x31abb9){_0xb0755b=_0xb0755b-0xd2;let _0x3d81a5=_0x3417c1[_0xb0755b];return _0x3d81a5;},a1_0xb075(_0x456cf8,_0x4ff9c6);}const fs=require('fs'),util=require(a1_0x2d473f(0x13f)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2d473f(0xe5)),logger=require('../../helpers/logger')[a1_0x2d473f(0x168)],testOpsHelper=require(a1_0x2d473f(0x114)),requestSpy=require(a1_0x2d473f(0xdf)),PlaywrightSessionDetails=require(a1_0x2d473f(0x119)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2d473f(0x14e)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x2d473f(0x16c)),PerformanceTester=require(a1_0x2d473f(0xf3)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2d473f(0x136)),testHubConstants=require(a1_0x2d473f(0xed)),CodeceptJS=requireModule(a1_0x2d473f(0x166)),CodeceptUtils=requireModule(a1_0x2d473f(0x16f)),CodeceptWebDriver=requireModule(a1_0x2d473f(0x121)),CodeceptRecorder=requireModule(a1_0x2d473f(0xfb)),CodeceptPlaywright=requireModule(a1_0x2d473f(0x173)),playwrightMarkSessionStatus=(_0x2c31d5,_0x2842f3,_0x1496f1)=>{const _0x1ddae0=a1_0x2d473f,_0x4e7bea={'SJatu':_0x1ddae0(0x15c),'elWCe':function(_0x5c784a,_0x386acd){return _0x5c784a(_0x386acd);}},_0x195d71={};_0x195d71[_0x1ddae0(0x159)]=_0x2842f3;const _0x1b16a3={};_0x1b16a3[_0x1ddae0(0xdb)]=_0x4e7bea[_0x1ddae0(0x14d)],_0x1b16a3['arguments']=_0x195d71;const _0x419672=_0x1b16a3;return!_0x4e7bea['elWCe'](isUndefined,_0x1496f1)&&(_0x419672['arguments'][_0x1ddae0(0x12d)]=JSON[_0x1ddae0(0x141)](_0x1496f1)),_0x2c31d5[_0x1ddae0(0xda)](()=>{},_0x1ddae0(0x134)+JSON[_0x1ddae0(0x141)](_0x419672));},o11ySync=async _0x3e07ab=>{const _0x305868=a1_0x2d473f,_0xb40e3f={};_0xb40e3f[_0x305868(0xd6)]=function(_0x3c41eb,_0x593826){return _0x3c41eb===_0x593826;},_0xb40e3f[_0x305868(0x165)]=_0x305868(0x118);const _0x3a0988=_0xb40e3f;_0x3a0988[_0x305868(0xd6)](_0x3e07ab[_0x305868(0xe2)][_0x305868(0x155)],_0x3a0988[_0x305868(0x165)])?await _0x3e07ab[_0x305868(0xda)](_0x5dbe62=>{},testOpsHelper[_0x305868(0x145)]()):await _0x3e07ab[_0x305868(0xda)](testOpsHelper[_0x305868(0x145)]());},markSessionName=async(_0x2ab293,_0x3780f7)=>{const _0x675249=a1_0x2d473f,_0x576ba6={};_0x576ba6['WilSq']=_0x675249(0xd5),_0x576ba6[_0x675249(0xd8)]=function(_0xa6fa76,_0x46f9e9){return _0xa6fa76===_0x46f9e9;},_0x576ba6[_0x675249(0xf7)]=_0x675249(0x118);const _0x20e5fd=_0x576ba6,_0x4710b4={};_0x4710b4[_0x675249(0x155)]=_0x3780f7;const _0x3934c1={};_0x3934c1[_0x675249(0xdb)]=_0x20e5fd[_0x675249(0x16a)],_0x3934c1[_0x675249(0xe4)]=_0x4710b4;const _0x4c357a=_0x3934c1;_0x20e5fd[_0x675249(0xd8)](_0x2ab293[_0x675249(0xe2)][_0x675249(0x155)],_0x20e5fd['GDqxT'])?await _0x2ab293[_0x675249(0xda)](()=>{},_0x675249(0x134)+JSON[_0x675249(0x141)](_0x4c357a)):await _0x2ab293[_0x675249(0xda)]('browserstack_executor:\x20'+JSON['stringify'](_0x4c357a));},patchSaveScreenshot=_0x47394a=>{const _0x3039eb=a1_0x2d473f,_0x150674={'eZTRY':'base64','icbVh':_0x3039eb(0x110),'EpcRQ':function(_0x2b6ba4){return _0x2b6ba4();},'DMtwX':function(_0x4d5cd4,_0x21bc86){return _0x4d5cd4(_0x21bc86);}};_0x150674[_0x3039eb(0xfa)](isTrue,process[_0x3039eb(0x112)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x47394a[_0x3039eb(0x169)]&&(_0x47394a[_0x3039eb(0x169)]=!![],_0x47394a[_0x3039eb(0x125)]=_0x47394a[_0x3039eb(0x156)],_0x47394a[_0x3039eb(0x156)]=(_0x46d140,_0x41d264=![])=>{const _0x5d7512=_0x3039eb,_0x467ab5={'dIIKk':_0x150674[_0x5d7512(0x133)],'HBQBX':_0x150674[_0x5d7512(0x104)],'WjmxI':function(_0x2c85ac){return _0x150674['EpcRQ'](_0x2c85ac);}};return new Promise(function(_0x20bfdb,_0x84cdc4){const _0x68ab2e=_0x5d7512;_0x47394a[_0x68ab2e(0x125)](_0x46d140,_0x41d264)[_0x68ab2e(0x151)](()=>{const _0x377ef8=_0x68ab2e,_0x4596dc=CodeceptUtils['screenshotOutputFolder'](_0x46d140),_0x5b6b1d=fs['readFileSync'](_0x4596dc);process[_0x377ef8(0x100)](_0x377ef8(0x158)+process['pid'],{'timestamp':new Date()[_0x377ef8(0x16d)](),'message':_0x5b6b1d['toString'](_0x467ab5['dIIKk']),'kind':_0x467ab5[_0x377ef8(0x113)]}),_0x467ab5['WjmxI'](_0x20bfdb);})[_0x68ab2e(0x12e)](()=>null);});});},patchWebDriverBefore=_0x149d16=>{const _0x11d576=a1_0x2d473f,_0x2aa6c7={'vTFSE':function(_0x4858b3){return _0x4858b3();},'uAdMb':function(_0x385ecc,_0x49b614){return _0x385ecc(_0x49b614);},'JXEnO':function(_0x5b82ac,_0x10563b){return _0x5b82ac===_0x10563b;},'auLqU':_0x11d576(0xfe),'yhKdx':function(_0x3cd03c,_0x40ac38){return _0x3cd03c(_0x40ac38);}},_0x53e1dc=async function(_0x29e5ee,_0x15be98){const _0x5310a6=_0x11d576;return _0x2aa6c7[_0x5310a6(0xdd)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0x5310a6(0x149)]&&scripts[_0x5310a6(0x144)](_0x29e5ee[_0x5310a6(0x155)])&&_0x2aa6c7[_0x5310a6(0xf1)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x5310a6(0x102)]=!![],logger[_0x5310a6(0xf8)]('Performing\x20scan\x20for\x20'+_0x29e5ee[_0x5310a6(0xe9)]+'\x20'+_0x29e5ee[_0x5310a6(0x155)]),await AccessibilityHelper[_0x5310a6(0xf4)](_0x149d16,scripts[_0x5310a6(0xf0)])),global[_0x5310a6(0x102)]=![],_0x15be98[_0x5310a6(0x117)](this,Array[_0x5310a6(0x11f)][_0x5310a6(0x171)][_0x5310a6(0x116)](arguments,0x2));},_0x17ee87=CodeceptWebDriver[_0x11d576(0x11f)]['_before'];CodeceptWebDriver[_0x11d576(0x11f)]['_before']=async function(){const _0x4f2fff=_0x11d576,_0x3e8b35={'LTXde':function(_0xcbb745,_0xa4a583){const _0x4138fd=a1_0xb075;return _0x2aa6c7[_0x4138fd(0x15e)](_0xcbb745,_0xa4a583);},'IQAzU':_0x2aa6c7[_0x4f2fff(0x143)]};await _0x17ee87['apply'](this,arguments),scripts[_0x4f2fff(0x12f)][_0x4f2fff(0x16b)](_0x57daac=>_0x57daac[_0x4f2fff(0x155)]&&_0x57daac[_0x4f2fff(0xe9)])[_0x4f2fff(0x148)](_0xa9a93b=>{const _0x2a1328=_0x4f2fff;this[_0x2a1328(0xdc)][_0x2a1328(0x106)](_0xa9a93b[_0x2a1328(0x155)],_0x53e1dc[_0x2a1328(0x111)](this,_0xa9a93b),_0x3e8b35[_0x2a1328(0x14f)](_0xa9a93b[_0x2a1328(0xe9)],_0x3e8b35[_0x2a1328(0x11b)]));}),_0x2aa6c7[_0x4f2fff(0xe6)](processWebDriverConfig,_0x149d16);};},patchPlaywrightBefore=()=>{const _0x1310ca=a1_0x2d473f;PlaywrightSessionDetails[_0x1310ca(0x138)]();const _0x2162cf=CodeceptPlaywright[_0x1310ca(0x11f)]['_before'];CodeceptPlaywright['prototype'][_0x1310ca(0x122)]=async function(){const _0x352243=_0x1310ca;this['browserContext']=await this[_0x352243(0xdc)][_0x352243(0xf9)]()[0x0],await _0x2162cf[_0x352243(0x117)](this,arguments);};},getCodeceptDriver=()=>{const _0x8fe220=a1_0x2d473f,_0x2a7294={};_0x2a7294[_0x8fe220(0x14c)]=_0x8fe220(0x162),_0x2a7294[_0x8fe220(0x12b)]='Playwright',_0x2a7294[_0x8fe220(0x139)]=_0x8fe220(0xd3),_0x2a7294[_0x8fe220(0x11a)]='TestCafe';const _0x59f871=_0x2a7294,_0x35ff2e=[_0x59f871[_0x8fe220(0x14c)],_0x59f871[_0x8fe220(0x12b)],_0x59f871['LLFSW'],_0x59f871['bwdDK']],_0x2dad69=_0x35ff2e[_0x8fe220(0x124)](_0x5218e4=>!!CodeceptJS[_0x8fe220(0xde)][_0x8fe220(0x164)](_0x5218e4));if(!_0x2dad69)return null;return CodeceptJS['container']['helpers'](_0x2dad69);};module['exports']=function(_0x2b6980){const _0x228a4b=a1_0x2d473f,_0x2a17d0={'rFbmz':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','JWviT':_0x228a4b(0x12a),'SyEzQ':function(_0x282255){return _0x282255();},'gKmwm':function(_0x1e9e37){return _0x1e9e37();},'QYRjj':function(_0x1fae7f,_0x27b5b2){return _0x1fae7f(_0x27b5b2);},'GrfqC':function(_0x431768,_0x1ac328,_0x41fa7b){return _0x431768(_0x1ac328,_0x41fa7b);},'sqsIt':function(_0x1d2d9e,_0x28498c){return _0x1d2d9e(_0x28498c);},'roBOt':function(_0x5e457d){return _0x5e457d();},'MnpWd':function(_0x4d1c2f,_0x522a25,_0x4d497f){return _0x4d1c2f(_0x522a25,_0x4d497f);},'tpydT':function(_0x296d03){return _0x296d03();},'JZbxC':function(_0x51c02c,_0x3cef78,_0x514d27,_0x2b7ed6){return _0x51c02c(_0x3cef78,_0x514d27,_0x2b7ed6);},'QBtPd':function(_0x13018c,_0x573935){return _0x13018c===_0x573935;},'xLdoF':_0x228a4b(0x109),'CNUun':_0x228a4b(0x167),'bKuDH':_0x228a4b(0xe8),'OLePl':'TEST_LOG','oJpzG':_0x228a4b(0x118)};_0x2b6980[_0x228a4b(0x108)]&&(global['__skipSessionStatus']=_0x2b6980[_0x228a4b(0x108)]);PerformanceTester[_0x228a4b(0x150)]();const _0x5241e5=_0x2a17d0[_0x228a4b(0xfd)](getCodeceptDriver),_0x2f8767=new O11yHelper(_0x5241e5,_0x2b6980),_0x4f4670=!!CodeceptJS[_0x228a4b(0xde)]['helpers'](_0x2a17d0['oJpzG']);global[_0x228a4b(0x120)]=_0x5241e5,_0x5241e5&&(_0x4f4670?_0x2a17d0['tpydT'](patchPlaywrightBefore):_0x2a17d0[_0x228a4b(0x10b)](patchWebDriverBefore,_0x5241e5),_0x5241e5['getAccessibilityResultsSummary']=async()=>{const _0x1cdd1b=_0x228a4b;if(global[_0x1cdd1b(0x149)])await AccessibilityHelper[_0x1cdd1b(0xf4)](_0x5241e5,scripts['performScan']),await AccessibilityHelper[_0x1cdd1b(0xf4)](_0x5241e5,scripts[_0x1cdd1b(0x161)]);else return logger[_0x1cdd1b(0x103)](_0x2a17d0[_0x1cdd1b(0x126)]),{};},_0x5241e5['getAccessibilityResults']=async()=>{const _0x76c2ff=_0x228a4b;if(global['accessibilityPlatform'])await AccessibilityHelper[_0x76c2ff(0xf4)](_0x5241e5,scripts[_0x76c2ff(0xf0)]),await AccessibilityHelper['browserStackExecuteDriver'](_0x5241e5,scripts[_0x76c2ff(0x11c)]);else return logger[_0x76c2ff(0x103)](_0x2a17d0['JWviT']),{};},_0x2a17d0[_0x228a4b(0x10b)](patchSaveScreenshot,_0x5241e5)),CodeceptJS[_0x228a4b(0x135)]['dispatcher']['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xd9)][_0x228a4b(0x163)],()=>{const _0x47d0fb=_0x228a4b;try{_0x2f8767[_0x47d0fb(0x13a)](),testOpsHelper[_0x47d0fb(0xeb)]();}catch(_0xcf588e){PerformanceTester[_0x47d0fb(0x127)](_0xcf588e);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xd9)][_0x228a4b(0x10f)],async()=>{const _0x49aaea=_0x228a4b;try{requestSpy['restore'](),await _0x2f8767['stop']();}catch(_0x140595){PerformanceTester['captureError'](_0x140595);}finally{PerformanceTester[_0x49aaea(0xee)]();}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS['event'][_0x228a4b(0x140)][_0x228a4b(0x16e)],_0x572225=>{const _0x4e0180=_0x228a4b;try{const _0x1f827a=_0x572225['ctx'][_0x4e0180(0xef)],_0x12df2c=_0x2f8767[_0x4e0180(0x10e)](TEST_EVENTS[_0x4e0180(0x123)],_0x1f827a);CodeceptRecorder['add'](()=>_0x2f8767[_0x4e0180(0x147)](TEST_EVENTS[_0x4e0180(0x123)],_0x12df2c));}catch(_0x2730fe){PerformanceTester[_0x4e0180(0x127)](_0x2730fe);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x140)][_0x228a4b(0x105)],_0x24ba1f=>{const _0x56118f=_0x228a4b;try{const _0x248e18=_0x24ba1f[_0x56118f(0x10a)]['test'],_0x3dcf90=_0x2f8767[_0x56118f(0x10e)](TEST_EVENTS[_0x56118f(0xfc)],_0x248e18);CodeceptRecorder[_0x56118f(0x128)](()=>_0x2f8767[_0x56118f(0x147)](TEST_EVENTS[_0x56118f(0xfc)],_0x3dcf90));}catch(_0x28cfc3){PerformanceTester['captureError'](_0x28cfc3);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x140)][_0x228a4b(0x157)],async(_0x547b98,_0x33b1d0)=>{const _0x289d5c=_0x228a4b;try{const _0x1c544b=_0x547b98[_0x289d5c(0x10a)][_0x289d5c(0xef)],_0x48a8c6=_0x2f8767[_0x289d5c(0x10e)](TEST_EVENTS[_0x289d5c(0xfc)],_0x1c544b,_0x33b1d0);CodeceptRecorder[_0x289d5c(0x128)](()=>_0x2f8767[_0x289d5c(0x147)](TEST_EVENTS[_0x289d5c(0xfc)],_0x48a8c6));}catch(_0x556001){PerformanceTester['captureError'](_0x556001);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x163)],_0x4ef928=>{const _0x3479c1=_0x228a4b;try{_0x2a17d0[_0x3479c1(0x101)](isBrowserstackInfra)&&(_0x4f4670&&(global[_0x3479c1(0x13e)]={'currentTest':{'name':_0x4ef928[_0x3479c1(0x107)],'testInfo':{'titlePath':_0x4ef928[_0x3479c1(0xf6)]()}}}));}catch(_0x2505e8){PerformanceTester['captureError'](_0x2505e8);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x16e)],_0x4a2945=>{const _0x61b310=_0x228a4b;try{const _0x4992a1=_0x2f8767['captureEvent'](TEST_EVENTS[_0x61b310(0x13d)],_0x4a2945);CodeceptRecorder[_0x61b310(0x128)](()=>_0x2f8767['fireEvent'](TEST_EVENTS[_0x61b310(0x13d)],_0x4992a1)),CodeceptRecorder[_0x61b310(0x128)](async()=>{const _0xb8761b=_0x61b310;_0x2a17d0[_0xb8761b(0x160)](isBrowserstackInfra)&&(!_0x2a17d0[_0xb8761b(0x10b)](isTrue,_0x2b6980[_0xb8761b(0xf5)])&&await _0x2a17d0['GrfqC'](markSessionName,_0x5241e5,_0x4a2945[_0xb8761b(0x107)]),_0x2f8767[_0xb8761b(0x15f)]&&await _0x2a17d0[_0xb8761b(0x172)](o11ySync,_0x5241e5));});}catch(_0x5b8869){PerformanceTester[_0x61b310(0x127)](_0x5b8869);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)]['passed'],_0x2a3ca3=>{const _0x47681c=_0x228a4b;try{const _0x57449d=_0x2f8767[_0x47681c(0x10e)](TEST_EVENTS[_0x47681c(0x10c)],_0x2a3ca3);CodeceptRecorder[_0x47681c(0x128)](()=>_0x2f8767[_0x47681c(0x147)](TEST_EVENTS[_0x47681c(0x10c)],_0x57449d)),CodeceptRecorder[_0x47681c(0x128)](async()=>{const _0x5d7657=_0x47681c;_0x2a17d0[_0x5d7657(0xfd)](isBrowserstackInfra)&&(_0x4f4670?await _0x2a17d0[_0x5d7657(0xe3)](playwrightMarkSessionStatus,_0x5241e5,STATE_PASSED):await _0x2a17d0[_0x5d7657(0xe3)](markSessionStatus,_0x5241e5,STATE_PASSED));});}catch(_0x4f0482){PerformanceTester[_0x47681c(0x127)](_0x4f0482);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0xef)][_0x228a4b(0x157)],(_0x9c542d,_0x558e7d)=>{const _0x315bf7=_0x228a4b;try{if(_0x2a17d0[_0x315bf7(0x170)](_0x9c542d[_0x315bf7(0xe2)][_0x315bf7(0x155)],_0x2a17d0[_0x315bf7(0x137)])){const _0x54a205=_0x2f8767['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x9c542d[_0x315bf7(0x10a)][_0x315bf7(0x15d)]);CodeceptRecorder[_0x315bf7(0x128)](()=>_0x2f8767[_0x315bf7(0x147)](TEST_EVENTS[_0x315bf7(0xe0)],_0x54a205));}else{const _0x337dc5=_0x2f8767['captureEvent'](TEST_EVENTS[_0x315bf7(0x10c)],_0x9c542d,_0x558e7d);CodeceptRecorder[_0x315bf7(0x128)](()=>{const _0xb74083=_0x315bf7;try{_0x2f8767[_0xb74083(0x147)](TEST_EVENTS[_0xb74083(0x10c)],_0x337dc5);}catch(_0x45a595){logger[_0xb74083(0xf8)](_0xb74083(0x152)+util[_0xb74083(0x142)](_0x45a595));}}),CodeceptRecorder['add'](async()=>{const _0x4de3c1=_0x315bf7;try{_0x2a17d0[_0x4de3c1(0xd7)](isBrowserstackInfra)&&(_0x4f4670?await _0x2a17d0[_0x4de3c1(0x13b)](playwrightMarkSessionStatus,_0x5241e5,STATE_FAILED,_0x558e7d):await _0x2a17d0[_0x4de3c1(0x13b)](markSessionStatus,_0x5241e5,STATE_FAILED,_0x558e7d));}catch(_0x1d15c0){logger[_0x4de3c1(0xf8)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x4de3c1(0x142)](_0x1d15c0));}});}}catch(_0xde9bff){PerformanceTester[_0x315bf7(0x127)](_0xde9bff);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS['event'][_0x228a4b(0xef)][_0x228a4b(0x14a)],_0x350b00=>{const _0x503b1a=_0x228a4b;try{const _0xea220=_0x2f8767[_0x503b1a(0x10e)](TEST_EVENTS[_0x503b1a(0xe0)],_0x350b00);CodeceptRecorder['add'](()=>_0x2f8767[_0x503b1a(0x147)](TEST_EVENTS[_0x503b1a(0xe0)],_0xea220));}catch(_0x234e40){PerformanceTester[_0x503b1a(0x127)](_0x234e40);}}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS['event'][_0x228a4b(0xef)][_0x228a4b(0x10f)],async(_0x36b256,_0x43c162)=>{const _0x1af331=_0x228a4b;try{if(_0x2a17d0[_0x1af331(0x101)](isBrowserstackInfra)){const _0x5cea74=_0x2a17d0['GrfqC'](shouldScanTestForAccessibility,_0x36b256[_0x1af331(0xf6)](),!![]);if(_0x2a17d0[_0x1af331(0x101)](isAccessibilityAutomationSession)&&global[_0x1af331(0x149)]&&_0x5cea74){const _0x2e5091={};_0x2e5091['thTestRunUuid']=_0x36b256[_0x1af331(0x129)],_0x2e5091[_0x1af331(0xd2)]=process[_0x1af331(0x112)][testHubConstants[_0x1af331(0x11e)][_0x1af331(0xea)]],_0x2e5091[_0x1af331(0xd4)]=process[_0x1af331(0x112)][testHubConstants[_0x1af331(0x11e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x13a87f=_0x2e5091;logger[_0x1af331(0xf8)](_0x1af331(0xff)+JSON[_0x1af331(0x141)](_0x13a87f)),CodeceptRecorder[_0x1af331(0x128)](async()=>{const _0x401df9=_0x1af331;await AccessibilityHelper[_0x401df9(0xf4)](_0x5241e5,scripts[_0x401df9(0xf0)]),await AccessibilityHelper[_0x401df9(0xf4)](_0x5241e5,scripts[_0x401df9(0x130)],_0x13a87f);}),logger['info'](_0x2a17d0['CNUun']);}}}catch(_0xb6dfe4){PerformanceTester[_0x1af331(0x127)](_0xb6dfe4);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x13c)][_0x228a4b(0xf2)],_0x40867b=>{const _0x4e45f6=_0x228a4b;try{process[_0x4e45f6(0x100)](_0x4e45f6(0x158)+process[_0x4e45f6(0x12c)],{'timestamp':new Date()[_0x4e45f6(0x16d)](),'level':_0x2a17d0[_0x4e45f6(0x15b)],'message':_0x40867b,'kind':_0x2a17d0['OLePl'],'http_response':{}});}catch(_0x82879){PerformanceTester[_0x4e45f6(0x127)](_0x82879);}}),CodeceptJS['event'][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)]['bddStep'][_0x228a4b(0x163)],_0x59c9e4=>{const _0x50d1ea=_0x228a4b;_0x2f8767[_0x50d1ea(0x10d)](_0x59c9e4);}),CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x131)]['on'](CodeceptJS[_0x228a4b(0x135)][_0x228a4b(0x132)][_0x228a4b(0x10f)],_0xdd5a67=>{const _0x4726d7=_0x228a4b;_0x2f8767[_0x4726d7(0x14b)](_0xdd5a67);});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x3de721=a2_0x1fd7;(function(_0x546d9c,_0x1ef9ad){const _0x3acd64=a2_0x1fd7,_0x37cb68=_0x546d9c();while(!![]){try{const _0x2180c1=parseInt(_0x3acd64(0xae))/0x1*(parseInt(_0x3acd64(0xc1))/0x2)+-parseInt(_0x3acd64(0xc7))/0x3+-parseInt(_0x3acd64(0xb9))/0x4+-parseInt(_0x3acd64(0x105))/0x5+parseInt(_0x3acd64(0x11b))/0x6+-parseInt(_0x3acd64(0x100))/0x7*(-parseInt(_0x3acd64(0x13c))/0x8)+parseInt(_0x3acd64(0xfc))/0x9*(-parseInt(_0x3acd64(0xde))/0xa);if(_0x2180c1===_0x1ef9ad)break;else _0x37cb68['push'](_0x37cb68['shift']());}catch(_0x45e370){_0x37cb68['push'](_0x37cb68['shift']());}}}(a2_0x12fb,0x94c9e));function a2_0x1fd7(_0x48fe58,_0x12936e){const _0x12fb70=a2_0x12fb();return a2_0x1fd7=function(_0x1fd747,_0x53e619){_0x1fd747=_0x1fd747-0xa8;let _0x408c80=_0x12fb70[_0x1fd747];return _0x408c80;},a2_0x1fd7(_0x48fe58,_0x12936e);}const fs=require('fs'),path=require(a2_0x3de721(0xd3)),util=require(a2_0x3de721(0xdf)),{spawn}=require(a2_0x3de721(0x131)),process=require(a2_0x3de721(0xfa)),logger=require(a2_0x3de721(0xca))[a2_0x3de721(0xd7)],{default:BrowserStackSetup}=require(a2_0x3de721(0xd1)),helper=require(a2_0x3de721(0x11d)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a2_0x3de721(0x10f)),{setAccessibilityCapabilities}=require(a2_0x3de721(0x11e)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x3de721(0x11d)),CodeceptJS=requireModule(a2_0x3de721(0xab)),SessionHandler=require(a2_0x3de721(0xbc)),testOpsHelper=require(a2_0x3de721(0xc5)),{shouldProcessEventForTesthub}=require(a2_0x3de721(0xeb)),TestHubHandler=require(a2_0x3de721(0xac)),constants=require('../utils/constants'),_testErrorData=[],getUserCodeceptJSConfigs=(_0x3dfb28,_0x114d01)=>{const _0x37bf29=a2_0x3de721,_0x30a31e={};_0x30a31e['aSWmS']=function(_0x2848ab,_0x2ae5b8){return _0x2848ab===_0x2ae5b8;},_0x30a31e[_0x37bf29(0x11a)]='codecept.conf.js',_0x30a31e['dPUVV']='codecept.json';const _0x2020d2=_0x30a31e;let _0x4394e7=null;const _0x3c0328={};let _0xfd3e8e=_0x114d01[_0x37bf29(0xe8)](_0x44c914=>_0x44c914===_0x37bf29(0xc4));_0x2020d2[_0x37bf29(0x104)](_0xfd3e8e,-0x1)&&(_0xfd3e8e=_0x114d01[_0x37bf29(0xe8)](_0x2d78f4=>_0x2d78f4==='-c'));if(!helper['isUndefined'](_0x3dfb28[_0x37bf29(0xf9)])&&fs[_0x37bf29(0xbf)](path[_0x37bf29(0xcb)](process[_0x37bf29(0xdb)](),_0x3dfb28['config'])))_0x4394e7=path[_0x37bf29(0xcb)](process[_0x37bf29(0xdb)](),_0x3dfb28[_0x37bf29(0xf9)]),_0x114d01[_0x37bf29(0xdd)](_0xfd3e8e,0x2);else{if(!helper[_0x37bf29(0x136)](_0x3dfb28['c'])&&fs[_0x37bf29(0xbf)](path[_0x37bf29(0xcb)](process[_0x37bf29(0xdb)](),_0x3dfb28['c'])))_0x4394e7=path['join'](process[_0x37bf29(0xdb)](),_0x3dfb28['c']),_0x114d01[_0x37bf29(0xdd)](_0xfd3e8e,0x2);else{if(fs['existsSync'](path[_0x37bf29(0xcb)](process[_0x37bf29(0xdb)](),_0x2020d2['YdrKm'])))_0x4394e7=path['join'](process[_0x37bf29(0xdb)](),_0x2020d2[_0x37bf29(0x11a)]);else fs[_0x37bf29(0xbf)](path[_0x37bf29(0xcb)](process[_0x37bf29(0xdb)](),_0x2020d2[_0x37bf29(0xbd)]))&&(_0x4394e7=path['join'](process[_0x37bf29(0xdb)](),_0x2020d2[_0x37bf29(0xbd)]));}}return _0x4394e7;},getO11yRerunPattern=()=>{const _0x101520=a2_0x3de721,_0x3217de={};_0x3217de[_0x101520(0x114)]=function(_0xac9981,_0x29cf61){return _0xac9981!==_0x29cf61;},_0x3217de['nwCMk']=_0x101520(0xe5);const _0x33d81b=_0x3217de,_0x3dc0ef=helper['isTrue'](process[_0x101520(0xc9)][_0x101520(0xda)]);if(_0x3dc0ef){const _0x40c831=process[_0x101520(0xc9)][_0x101520(0xd9)],_0x111ab4=[];if(_0x33d81b['bYMIT'](_0x40c831,_0x33d81b[_0x101520(0xc3)])&&!helper[_0x101520(0x136)](_0x40c831)){_0x40c831[_0x101520(0xcd)](',')[_0x101520(0x134)](_0x1ad70b=>{const _0x4a9b46=_0x101520;_0x111ab4[_0x4a9b46(0x11f)]('('+_0x1ad70b['trim']()+')');});const _0x3c967f='^'+_0x111ab4[_0x101520(0xcb)]('|')+'$';return _0x3c967f;}}return null;},a2_0x134fcc={};a2_0x134fcc['chrome']=a2_0x3de721(0xec),a2_0x134fcc[a2_0x3de721(0x133)]=a2_0x3de721(0xec),a2_0x134fcc[a2_0x3de721(0x115)]=a2_0x3de721(0xe4),a2_0x134fcc[a2_0x3de721(0x10a)]=a2_0x3de721(0xe2);function a2_0x12fb(){const _0xafe48e=['1724832aQqkYi','BrowserStackPlugin','pRLXa','../../helpers/test-observability/sessionHandler','dPUVV','Ncffm','existsSync','BrowserStackPlugin.js','2zqjrrf','MRKDy','nwCMk','--config','../../helpers/test-observability/utils','skipSessionName','587664VipjTs','getUserWorkerCount','env','../../helpers/logger','join','event','split','stop','parallelsPerPlatform','Dkebn','../../helpers/BrowserStackSetup','CODECEPT','path','test','printBuildLink','plugins','winstonLogger','testObservability','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_RERUN','cwd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','slice','208460nGudfZ','util','dsoDR','exports','webkit','mWVeJ','firefox','null','result','MncYn','findIndex','fcXiI','MmmBG','../../helpers/testhub/utils','chromium','Workers','bDoUL','codeceptjs','Playwright','ORSQJ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','root','vRPdc','stringify','failed','accessibilityOptions','launchBuild','config','process','handleApp','549Zzherv','errorMessage','isTestObservabilitySession','Passed\x20:\x20','119014WsYxum','platforms','3|0|2|4|1','browserWSEndpoint','aSWmS','576950sQLIPp','chdir','all','profile','require','playwright-webkit','WebDriver','UXJbf','PpEVj','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/accessibility-automation/helper','FRAMEWORKS','cfcWH','accessibility','rvOWP','bYMIT','playwright-firefox','length','QrdDW','clBdy','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','YdrKm','5622270HyguxU','frameworkName','../../helpers/helper','../../bin/playwright/accessibility-helper','push','forEach','title','debug','bgoGK','printResults','mergeDeep','prepareCapabilities','log','GNYRi','false','oOnYC','err','info','testConfig','initialize','Failed\x20:\x20','aZzLM','child_process','getPlaywrightUrl','playwright-chromium','map','skipSessionStatus','isUndefined','helpers','gherkin','browserName','format','HxVRd','384FXgTvd','testContextOptions','toLowerCase','EpyLh','codeceptjs/lib/index.js','../../helpers/testhub/testhubHandler','finalExecution','870389vMyjGb','-cucumber','browser','gXoFn','addConfig','before','eMCwG','stack','bootstrapAll','Started\x20:\x20','yfffk'];a2_0x12fb=function(){return _0xafe48e;};return a2_0x12fb();}const pwToCodeceptBrowser=a2_0x134fcc;async function run(_0x19ddd3,_0x3c2b6d){const _0x2d0a3b=a2_0x3de721,_0x2e713a={'WOMFm':function(_0x1ee277,_0x45db6e){return _0x1ee277+_0x45db6e;},'xdQok':function(_0x3fbedf,_0x41b8f0){return _0x3fbedf(_0x41b8f0);},'MncYn':function(_0x22e729,_0x27e661){return _0x22e729+_0x27e661;},'binyr':function(_0x2f9822,_0x935198,_0x4a6946){return _0x2f9822(_0x935198,_0x4a6946);},'eMCwG':'config','cfcWH':_0x2d0a3b(0x137),'MmmBG':function(_0x31ad1e){return _0x31ad1e();},'MRKDy':function(_0x4f6201){return _0x4f6201();},'UXJbf':_0x2d0a3b(0x12f),'Ncffm':_0x2d0a3b(0xff),'ORSQJ':_0x2d0a3b(0xb7),'lymxD':_0x2d0a3b(0x102),'GNYRi':_0x2d0a3b(0xef),'EpyLh':function(_0x42408c,_0x3978b1,_0xdae171){return _0x42408c(_0x3978b1,_0xdae171);},'HxVRd':function(_0x1467ed,_0x168924){return _0x1467ed(_0x168924);},'FHXpL':_0x2d0a3b(0xf2),'QrdDW':function(_0x955709,_0x23f2f8,_0x561b5c){return _0x955709(_0x23f2f8,_0x561b5c);},'Dkebn':_0x2d0a3b(0xf0),'dsoDR':_0x2d0a3b(0x10b),'yfffk':function(_0x2692a5,_0x5ac78c){return _0x2692a5(_0x5ac78c);},'puRua':function(_0x33e05b,_0x5fb01a){return _0x33e05b!=_0x5fb01a;},'mWVeJ':_0x2d0a3b(0x129),'rvOWP':function(_0x206cf7,_0x2a5371){return _0x206cf7+_0x2a5371;},'XPOEV':_0x2d0a3b(0x138),'zOBFF':_0x2d0a3b(0xaf),'PpEVj':function(_0x58767c,_0x16682a){return _0x58767c*_0x16682a;},'oOnYC':function(_0x434fd5,_0x21decf,_0x2bc1c0){return _0x434fd5(_0x21decf,_0x2bc1c0);},'waiTB':_0x2d0a3b(0xb0),'clBdy':function(_0x15d41a,_0x426f75,_0x39a1){return _0x15d41a(_0x426f75,_0x39a1);},'bDoUL':'desiredCapabilities','gXoFn':function(_0xb76d63,_0x4d263e,_0x46d690){return _0xb76d63(_0x4d263e,_0x46d690);},'pRLXa':_0x2d0a3b(0xf3),'vRPdc':_0x2d0a3b(0xc0),'bgoGK':'browserStackCwd'},_0x4176d9=new BrowserStackSetup(_0x19ddd3,_0x2e713a[_0x2d0a3b(0x128)]);await _0x4176d9[_0x2d0a3b(0x12e)](),await helper[_0x2d0a3b(0xfb)](_0x4176d9[_0x2d0a3b(0xf9)]);if(!_0x4176d9['config'])return;process[_0x2d0a3b(0x108)]=_0x19ddd3['profile'];_0x19ddd3[_0x2d0a3b(0x108)]&&(process['env'][_0x2d0a3b(0x108)]=_0x19ddd3[_0x2d0a3b(0x108)]);const _0x4aff79=_0x2e713a[_0x2d0a3b(0xaa)](getUserCodeceptJSConfigs,_0x19ddd3,_0x3c2b6d);let _0x236e49={};_0x4aff79?(logger[_0x2d0a3b(0x12c)](_0x2d0a3b(0x119)+_0x4aff79),_0x236e49=_0x2e713a[_0x2d0a3b(0x13b)](require,_0x4aff79)):logger[_0x2d0a3b(0x12c)](_0x2e713a['FHXpL']);let _0x1f4e79=![];_0x2e713a[_0x2d0a3b(0x117)](nestedKeyValue,_0x236e49,[_0x2e713a[_0x2d0a3b(0xb4)],_0x2e713a[_0x2d0a3b(0x111)],_0x2e713a[_0x2d0a3b(0xd0)]])&&(_0x1f4e79=!![]);const _0x480533=_0x1f4e79?_0x2e713a[_0x2d0a3b(0xd0)]:_0x2e713a[_0x2d0a3b(0xe0)];let _0x2fcb02=!_0x1f4e79?helper['useW3C'](_0x4176d9['config']):![];!helper[_0x2d0a3b(0x136)](_0x4176d9[_0x2d0a3b(0xf9)]['accessibilityOptions'])&&(process[_0x2d0a3b(0xc9)][_0x2d0a3b(0xdc)]=JSON[_0x2d0a3b(0xf5)](_0x4176d9['config'][_0x2d0a3b(0xf7)]));let _0x2a7640=_0x4176d9[_0x2d0a3b(0xf9)][_0x2d0a3b(0x112)];_0x2a7640=_0x2a7640||_0x2e713a[_0x2d0a3b(0xb8)](checkAccessibilityPlatformConfig,_0x4176d9[_0x2d0a3b(0xf9)]),process[_0x2d0a3b(0xc9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2a7640;_0x2a7640&&(_0x2fcb02=!_0x2a7640);_0x2e713a['puRua'](_0x4176d9[_0x2d0a3b(0xf9)]['testObservability'],null)?process[_0x2d0a3b(0xc9)][_0x2d0a3b(0x10e)]=_0x4176d9['config'][_0x2d0a3b(0xd8)]:process['env'][_0x2d0a3b(0x10e)]=_0x2e713a[_0x2d0a3b(0xe3)];const _0xe4269b=_0x2e713a[_0x2d0a3b(0x113)](_0x2e713a['GNYRi'],_0x2e713a['QrdDW'](nestedKeyValue,_0x236e49,[_0x2e713a[_0x2d0a3b(0xb4)],_0x2e713a['XPOEV']])?_0x2e713a['zOBFF']:''),_0x26e1d3=await TestHubHandler[_0x2d0a3b(0xf8)](_0xe4269b,_0x4176d9);_0x2a7640&&_0x2e713a[_0x2d0a3b(0x13b)](setAccessibilityCapabilities,_0x4176d9[_0x2d0a3b(0xf9)]);const _0x408473={},_0xb2a69b=[],_0x55f7df=_0x4176d9[_0x2d0a3b(0xf9)][_0x2d0a3b(0xcf)]||helper[_0x2d0a3b(0xc8)](_0x19ddd3,_0x3c2b6d,_0x4176d9[_0x2d0a3b(0xf9)],constants[_0x2d0a3b(0x110)][_0x2d0a3b(0xd2)])||0x1;let _0x3c3844=0x1;if(_0x2e713a[_0x2d0a3b(0xc2)](isBrowserstackInfra)){const _0x103047=helper[_0x2d0a3b(0x126)](_0x4176d9[_0x2d0a3b(0xf9)],_0x2fcb02,constants['FRAMEWORKS']['CODECEPT']);helper['validPlatformsPresent'](_0x4176d9[_0x2d0a3b(0xf9)])?_0x3c3844=_0x2e713a[_0x2d0a3b(0x10d)](_0x55f7df,_0x4176d9[_0x2d0a3b(0xf9)][_0x2d0a3b(0x101)][_0x2d0a3b(0x116)]):_0x3c3844=_0x55f7df,_0x103047[_0x2d0a3b(0x120)](_0x2d8451=>{const _0x214fcd=_0x2d0a3b,_0x122728={'fcXiI':function(_0x2500eb,_0x3a5d91){return _0x2e713a['WOMFm'](_0x2500eb,_0x3a5d91);},'aZzLM':function(_0x405c3a,_0x2d2f0b){return _0x2e713a['xdQok'](_0x405c3a,_0x2d2f0b);}},_0x398401=_0x2e713a[_0x214fcd(0xe7)](helper['getPlatformName'](_0x2d8451,'_'),'_'+Date['now']()),_0x579da8=((()=>{const _0x51c35e=_0x214fcd;if(_0x1f4e79){const _0xf11724=pwToCodeceptBrowser[_0x2d8451[_0x51c35e(0x139)]]||_0x2d8451[_0x51c35e(0x139)];return{'browser':_0xf11724,[_0xf11724]:{'browserWSEndpoint':_0x122728[_0x51c35e(0xe9)](helper[_0x51c35e(0x132)](_0x4176d9['config']),_0x122728[_0x51c35e(0x130)](encodeURIComponent,JSON[_0x51c35e(0xf5)](_0x2d8451)))}};}const _0x1c475e={};return _0x1c475e['desiredCapabilities']=_0x2d8451,_0x1c475e;})()),_0x519a54=_0x2e713a['binyr'](nestedKeyValue,_0x236e49,[_0x2e713a[_0x214fcd(0xb4)],_0x2e713a['cfcWH'],_0x480533]);_0x408473[_0x398401]=_0x519a54?helper[_0x214fcd(0x125)](_0x579da8,_0x519a54):_0x579da8,!_0x1f4e79&&(_0x408473[_0x398401][_0x214fcd(0xb0)]=_0x2d8451['browserName']||_0x579da8[_0x214fcd(0xb0)]),_0xb2a69b[_0x214fcd(0x11f)](_0x398401);});}else{_0x3c3844=0x1;if(_0x1f4e79){const _0x54473e=_0x2e713a[_0x2d0a3b(0x12a)](nestedKeyValue,_0x236e49,[_0x2e713a[_0x2d0a3b(0xb4)],_0x2e713a[_0x2d0a3b(0x111)],_0x480533,_0x2e713a['waiTB']]),_0x153733=_0x2e713a[_0x2d0a3b(0x118)](nestedKeyValue,_0x236e49,[_0x2e713a['eMCwG'],_0x2e713a[_0x2d0a3b(0x111)],_0x480533,_0x54473e]);_0x153733&&_0x153733[_0x2d0a3b(0x103)]&&(_0x153733[_0x2d0a3b(0x103)]=helper[_0x2d0a3b(0x126)](null,null,_0xe4269b[_0x2d0a3b(0xa9)](),null,null,_0x153733['browserWSEndpoint']));}else _0x236e49[_0x2d0a3b(0xf9)][_0x2e713a['cfcWH']][_0x480533][_0x2e713a['bDoUL']]=helper[_0x2d0a3b(0x126)](null,null,_0xe4269b[_0x2d0a3b(0xa9)](),_0x2e713a[_0x2d0a3b(0xb1)](nestedKeyValue,_0x236e49,[_0x2e713a['eMCwG'],_0x2e713a['cfcWH'],_0x480533,_0x2e713a[_0x2d0a3b(0xee)]]),null,null);_0x408473[_0x2e713a[_0x2d0a3b(0xbb)]]=_0x236e49[_0x2d0a3b(0xf9)],_0xb2a69b[_0x2d0a3b(0x11f)](_0x2e713a['pRLXa']);}const _0x30c3ef={};_0x30c3ef[_0x2d0a3b(0x12d)]=_0x4aff79;const _0x25ad3d=_0x30c3ef,_0x100de3=path[_0x2d0a3b(0xcb)](__dirname,_0x2e713a[_0x2d0a3b(0xf4)]),_0x22f4ca=process[_0x2d0a3b(0xdb)]();process['env'][_0x2e713a[_0x2d0a3b(0x123)]]=_0x22f4ca,process['chdir'](path['dirname'](_0x4aff79));const _0xfd4313=new CodeceptJS[(_0x2d0a3b(0xed))](null,_0x25ad3d),_0x4958aa=_0xfd4313['createGroupsOfSuites'](_0x3c3844),_0x1c4aa4=testOpsHelper[_0x2d0a3b(0xfe)](),_0x4efbd3=_0xb2a69b[_0x2d0a3b(0x134)](_0x3d5225=>{const _0x3c4f26=_0x2d0a3b,_0x5e5deb={};_0x5e5deb['Playwright']=_0x408473[_0x3d5225];const _0x1aba3b={};_0x1aba3b['WebDriver']=_0x408473[_0x3d5225];const _0x3fd970=_0x1f4e79?_0x5e5deb:_0x1aba3b,_0x539960=_0x2e713a[_0x3c4f26(0xea)](getO11yRerunPattern),_0x593abc={};_0x593abc[_0x3c4f26(0x137)]=_0x3fd970;const _0xd74971={};_0xd74971[_0x3c4f26(0x109)]=_0x100de3,_0xd74971['enabled']=!![],_0xd74971[_0x3c4f26(0xc6)]=_0x4176d9[_0x3c4f26(0xf9)][_0x3c4f26(0xa8)]['skipSessionName'],_0xd74971[_0x3c4f26(0x135)]=_0x4176d9[_0x3c4f26(0xf9)][_0x3c4f26(0xa8)]['skipSessionStatus'],_0xd74971[_0x3c4f26(0xd8)]=_0x1c4aa4,_0xd74971[_0x3c4f26(0x11c)]=_0xe4269b;const _0xe165fb={};_0xe165fb[_0x3c4f26(0xba)]=_0xd74971;const _0x257485={};return _0x257485[_0x3c4f26(0xd6)]=_0xe165fb,helper['mergeDeep']({},_0x236e49[_0x3c4f26(0xf9)],_0x2e713a[_0x3c4f26(0xc2)](isBrowserstackInfra)?_0x593abc:{},_0x539960?{'grep':_0x539960}:{},_0x257485);});for(const _0x36fdb9 of _0x4efbd3){for(const _0x402396 of _0x4958aa){const _0x213f06=_0xfd4313['spawn']();_0x213f06['addTests'](_0x402396),_0x213f06[_0x2d0a3b(0xb2)](_0x36fdb9);}}_0xfd4313['on'](CodeceptJS[_0x2d0a3b(0xcc)][_0x2d0a3b(0xd4)][_0x2d0a3b(0xf6)],(_0x326209,_0x2ced4a)=>{const _0x1e09e2=_0x2d0a3b;console[_0x1e09e2(0x127)](_0x2e713a[_0x1e09e2(0x10c)],_0x326209['title']);const _0x1012e0={[_0x326209[_0x1e09e2(0x121)]]:_0x326209[_0x1e09e2(0x12b)][_0x1e09e2(0xb5)]};_testErrorData[_0x1e09e2(0x11f)](_0x1012e0);}),_0xfd4313['on'](CodeceptJS['event']['test']['passed'],async _0x567e05=>{const _0xed790f=_0x2d0a3b;console['log'](_0x2e713a[_0xed790f(0xbe)],_0x567e05[_0xed790f(0x121)]);}),_0xfd4313['on'](CodeceptJS[_0x2d0a3b(0xcc)][_0x2d0a3b(0xd4)][_0x2d0a3b(0xb3)],async _0x17beb7=>{const _0x164275=_0x2d0a3b;console['log'](_0x2e713a[_0x164275(0xf1)],_0x17beb7[_0x164275(0x121)]);}),_0xfd4313['on'](CodeceptJS[_0x2d0a3b(0xcc)][_0x2d0a3b(0x107)][_0x2d0a3b(0xe6)],async()=>{const _0x5d011e=_0x2d0a3b,_0x474e5b=_0x2e713a['lymxD'][_0x5d011e(0xcd)]('|');let _0x4935b1=0x0;while(!![]){switch(_0x474e5b[_0x4935b1++]){case'0':testOpsHelper[_0x5d011e(0xd5)]();continue;case'1':_0xfd4313[_0x5d011e(0x124)]();continue;case'2':helper[_0x5d011e(0xad)](_0x4176d9);continue;case'3':_0x4176d9[_0x5d011e(0xfd)]=_testErrorData;continue;case'4':try{await TestHubHandler[_0x5d011e(0xce)]();}catch(_0x51b11e){logger[_0x5d011e(0x122)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5d011e(0x13a)](_0x51b11e));}continue;}break;}});async function _0x2edf5c(){const _0x52c4e2=_0x2d0a3b;try{await _0xfd4313[_0x52c4e2(0xb6)](),await _0xfd4313['run']();}finally{process[_0x52c4e2(0x106)](_0x22f4ca),await _0xfd4313['teardownAll']();}}_0x2e713a[_0x2d0a3b(0xea)](_0x2edf5c);}module[a2_0x3de721(0xe1)]=run;
2
+ 'use strict';function a2_0x1f2c(_0x214f67,_0x575f4c){const _0x5cf41b=a2_0x5cf4();return a2_0x1f2c=function(_0x1f2c4c,_0x46384b){_0x1f2c4c=_0x1f2c4c-0x1d5;let _0x2ef901=_0x5cf41b[_0x1f2c4c];return _0x2ef901;},a2_0x1f2c(_0x214f67,_0x575f4c);}const a2_0x54f2a5=a2_0x1f2c;(function(_0x526996,_0x5d623a){const _0x21acef=a2_0x1f2c,_0x52d574=_0x526996();while(!![]){try{const _0x396fdc=-parseInt(_0x21acef(0x232))/0x1*(-parseInt(_0x21acef(0x1e0))/0x2)+parseInt(_0x21acef(0x213))/0x3*(parseInt(_0x21acef(0x257))/0x4)+parseInt(_0x21acef(0x225))/0x5+-parseInt(_0x21acef(0x244))/0x6+parseInt(_0x21acef(0x22a))/0x7+-parseInt(_0x21acef(0x20e))/0x8+-parseInt(_0x21acef(0x24b))/0x9*(parseInt(_0x21acef(0x20f))/0xa);if(_0x396fdc===_0x5d623a)break;else _0x52d574['push'](_0x52d574['shift']());}catch(_0x54136c){_0x52d574['push'](_0x52d574['shift']());}}}(a2_0x5cf4,0x86f0f));const fs=require('fs'),path=require(a2_0x54f2a5(0x208)),util=require(a2_0x54f2a5(0x1d8)),process=require(a2_0x54f2a5(0x226)),logger=require(a2_0x54f2a5(0x230))[a2_0x54f2a5(0x252)],{default:BrowserStackSetup}=require(a2_0x54f2a5(0x234)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x54f2a5(0x256)),{setAccessibilityCapabilities}=require(a2_0x54f2a5(0x214)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x54f2a5(0x1f3)),CodeceptJS=requireModule('codeceptjs/lib/index.js'),testOpsHelper=require(a2_0x54f2a5(0x22c)),TestHubHandler=require(a2_0x54f2a5(0x215)),constants=require(a2_0x54f2a5(0x237)),_testErrorData=[],getUserCodeceptJSConfigs=(_0x4b66ca,_0x5b402e)=>{const _0x3e4615=a2_0x54f2a5,_0x3a3e17={};_0x3a3e17[_0x3e4615(0x1e4)]=function(_0x2de4c7,_0x349edd){return _0x2de4c7===_0x349edd;},_0x3a3e17[_0x3e4615(0x1ec)]='codecept.conf.js',_0x3a3e17[_0x3e4615(0x204)]='codecept.json';const _0x3315db=_0x3a3e17;let _0x2b6b6d=null;const _0x262b3d={};let _0x2cdda4=_0x5b402e[_0x3e4615(0x1ed)](_0x2a3ff0=>_0x2a3ff0===_0x3e4615(0x24d));_0x3315db['RJlqr'](_0x2cdda4,-0x1)&&(_0x2cdda4=_0x5b402e[_0x3e4615(0x1ed)](_0x5a1eb4=>_0x5a1eb4==='-c'));if(!helper[_0x3e4615(0x201)](_0x4b66ca[_0x3e4615(0x23b)])&&fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca[_0x3e4615(0x23b)])))_0x2b6b6d=path['join'](process[_0x3e4615(0x1ff)](),_0x4b66ca[_0x3e4615(0x23b)]),_0x5b402e['slice'](_0x2cdda4,0x2);else{if(!helper['isUndefined'](_0x4b66ca['c'])&&fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca['c'])))_0x2b6b6d=path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x4b66ca['c']),_0x5b402e[_0x3e4615(0x24c)](_0x2cdda4,0x2);else{if(fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x3315db['ggVHs'])))_0x2b6b6d=path['join'](process[_0x3e4615(0x1ff)](),_0x3315db[_0x3e4615(0x1ec)]);else fs[_0x3e4615(0x212)](path[_0x3e4615(0x21b)](process[_0x3e4615(0x1ff)](),_0x3315db[_0x3e4615(0x204)]))&&(_0x2b6b6d=path[_0x3e4615(0x21b)](process['cwd'](),_0x3315db['ABQZX']));}}return _0x2b6b6d;},getO11yRerunPattern=()=>{const _0x223430=a2_0x54f2a5,_0x28182f={};_0x28182f[_0x223430(0x1f2)]=function(_0x3dd600,_0xe146f2){return _0x3dd600!==_0xe146f2;},_0x28182f[_0x223430(0x227)]=_0x223430(0x242);const _0x550428=_0x28182f,_0x2defdf=helper[_0x223430(0x1e3)](process[_0x223430(0x1f4)][_0x223430(0x25b)]);if(_0x2defdf){const _0x4b81a2=process[_0x223430(0x1f4)][_0x223430(0x22f)],_0x426639=[];if(_0x550428['YEhnG'](_0x4b81a2,_0x550428[_0x223430(0x227)])&&!helper[_0x223430(0x201)](_0x4b81a2)){_0x4b81a2[_0x223430(0x1f1)](',')['map'](_0x2dcc09=>{const _0x2ba990=_0x223430;_0x426639[_0x2ba990(0x260)]('('+_0x2dcc09[_0x2ba990(0x221)]()+')');});const _0x21e061='^'+_0x426639['join']('|')+'$';return _0x21e061;}}return null;},a2_0x174b4a={};a2_0x174b4a[a2_0x54f2a5(0x1fd)]='chromium',a2_0x174b4a[a2_0x54f2a5(0x222)]=a2_0x54f2a5(0x20d),a2_0x174b4a[a2_0x54f2a5(0x206)]=a2_0x54f2a5(0x1f0),a2_0x174b4a['playwright-webkit']=a2_0x54f2a5(0x231);function a2_0x5cf4(){const _0x489c8b=['0|4|1|2|3','chrome','RwgrO','cwd','test','isUndefined','spawn','helpers','ABQZX','WebDriver','playwright-firefox','DkcXQ','path','EfvNh','getPlatformName','Playwright','WncXd','chromium','6129376YpWwOr','10730aOhgUr','kOcPA','stop','existsSync','179286YWroKN','../../bin/playwright/accessibility-helper','../../helpers/testhub/testhubHandler','VvevE','addConfig','IxNhZ','LKBlZ','profile','join','parallelsPerPlatform','browserStackCwd','eYgAZ','DTWoB','testObservability','trim','playwright-chromium','Passed\x20:\x20','printBuildLink','3846505aXLTjE','process','CYkNw','debug','title','4834151uDLPkZ','testContextOptions','../../helpers/test-observability/utils','NIoMo','plugins','BROWSERSTACK_RERUN_TESTS','../../helpers/logger','webkit','495297jzDRLZ','frameworkName','../../helpers/BrowserStackSetup','-cucumber','FRAMEWORKS','../utils/constants','platforms','IcedB','err','config','VPjPN','desiredCapabilities','all','validPlatformsPresent','Failed\x20:\x20','browserName','null','BROWSERSTACK_TEST_ACCESSIBILITY_YML','4499166PlTvIF','NRYxg','JilUW','accessibility','bijUw','BrowserStackPlugin.js','chdir','7569aHzFOW','slice','--config','eZZpH','printResults','skipSessionStatus','gherkin','winstonLogger','handleApp','result','stack','../../helpers/accessibility-automation/helper','68CyZWRf','skipSessionName','CODECEPT','NnaTe','BROWSERSTACK_RERUN','root','log','accessibilityOptions','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','push','browserWSEndpoint','prepareCapabilities','mergeDeep','require','info','Started\x20:\x20','util','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','bootstrapAll','getUserWorkerCount','dirname','useW3C','MYKcD','browser','2gSrCEO','errorMessage','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','isTrue','RJlqr','iKGUE','failed','before','LIfUh','BROWSERSTACK_TEST_OBSERVABILITY_YML','BrowserStackPlugin','RWWno','ggVHs','findIndex','getPlaywrightUrl','teardownAll','firefox','split','YEhnG','../../helpers/helper','env','testConfig','event','ZJZQD','exports','jTfom','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Workers'];a2_0x5cf4=function(){return _0x489c8b;};return a2_0x5cf4();}const pwToCodeceptBrowser=a2_0x174b4a;async function run(_0x4c0fcf,_0x17917e){const _0x1cacee=a2_0x54f2a5,_0x53c536={'EfvNh':function(_0x2398f8,_0x26d880){return _0x2398f8+_0x26d880;},'jTfom':function(_0x332b90,_0x3d8bcd){return _0x332b90(_0x3d8bcd);},'eZZpH':function(_0x48199d,_0x516e77,_0x482b9d){return _0x48199d(_0x516e77,_0x482b9d);},'kOcPA':_0x1cacee(0x23b),'DTWoB':'helpers','JilUW':function(_0x440fb4){return _0x440fb4();},'NRYxg':_0x1cacee(0x240),'NIoMo':_0x1cacee(0x223),'RwgrO':_0x1cacee(0x1d7),'iKGUE':_0x1cacee(0x1fc),'ZJZQD':'codeceptjs','VPjPN':function(_0x2f829d,_0x58f27b){return _0x2f829d(_0x58f27b);},'eNEQc':_0x1cacee(0x1e2),'DkcXQ':function(_0x588656,_0x428908,_0xe73f8){return _0x588656(_0x428908,_0xe73f8);},'LKBlZ':_0x1cacee(0x20b),'jxSXT':_0x1cacee(0x205),'Hheua':function(_0x31fbfe,_0x3e819e){return _0x31fbfe!=_0x3e819e;},'bijUw':'false','IxNhZ':_0x1cacee(0x251),'LIfUh':_0x1cacee(0x235),'WncXd':function(_0x332f1e,_0x5d8929){return _0x332f1e(_0x5d8929);},'LwAxY':function(_0x465802,_0x49c2a1){return _0x465802*_0x49c2a1;},'MYKcD':function(_0x104a2b,_0x4e92e3,_0x131680){return _0x104a2b(_0x4e92e3,_0x131680);},'NnaTe':_0x1cacee(0x1df),'eYgAZ':_0x1cacee(0x23d),'RWWno':_0x1cacee(0x25c),'IcedB':_0x1cacee(0x249),'VvevE':_0x1cacee(0x21d)},_0x53f4c6=new BrowserStackSetup(_0x4c0fcf,_0x53c536[_0x1cacee(0x1f7)]);await _0x53f4c6['initialize'](),await helper[_0x1cacee(0x253)](_0x53f4c6[_0x1cacee(0x23b)]);if(!_0x53f4c6['config'])return;process['profile']=_0x4c0fcf[_0x1cacee(0x21a)];_0x4c0fcf[_0x1cacee(0x21a)]&&(process[_0x1cacee(0x1f4)][_0x1cacee(0x21a)]=_0x4c0fcf['profile']);const _0x4951ca=_0x53c536[_0x1cacee(0x24e)](getUserCodeceptJSConfigs,_0x4c0fcf,_0x17917e);let _0x4bf174={};_0x4951ca?(logger[_0x1cacee(0x1d6)](_0x1cacee(0x25f)+_0x4951ca),_0x4bf174=_0x53c536[_0x1cacee(0x23c)](require,_0x4951ca)):logger[_0x1cacee(0x1d6)](_0x53c536['eNEQc']);let _0x51e0c2=![];_0x53c536[_0x1cacee(0x207)](nestedKeyValue,_0x4bf174,[_0x53c536['kOcPA'],_0x53c536[_0x1cacee(0x21f)],_0x53c536['LKBlZ']])&&(_0x51e0c2=!![]);const _0x5d50e4=_0x51e0c2?_0x53c536[_0x1cacee(0x219)]:_0x53c536['jxSXT'];let _0x1f8dad=!_0x51e0c2?helper[_0x1cacee(0x1dd)](_0x53f4c6['config']):![];!helper[_0x1cacee(0x201)](_0x53f4c6[_0x1cacee(0x23b)]['accessibilityOptions'])&&(process[_0x1cacee(0x1f4)][_0x1cacee(0x1fa)]=JSON['stringify'](_0x53f4c6[_0x1cacee(0x23b)][_0x1cacee(0x25e)]));let _0xaf6ebb=_0x53f4c6[_0x1cacee(0x23b)][_0x1cacee(0x247)];_0xaf6ebb=_0xaf6ebb||_0x53c536[_0x1cacee(0x23c)](checkAccessibilityPlatformConfig,_0x53f4c6[_0x1cacee(0x23b)]),process[_0x1cacee(0x1f4)][_0x1cacee(0x243)]=_0xaf6ebb;_0xaf6ebb&&(_0x1f8dad=!_0xaf6ebb);_0x53c536['Hheua'](_0x53f4c6[_0x1cacee(0x23b)]['testObservability'],null)?process[_0x1cacee(0x1f4)][_0x1cacee(0x1e9)]=_0x53f4c6['config']['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x53c536[_0x1cacee(0x248)];const _0x9a9a51=_0x53c536[_0x1cacee(0x209)](_0x53c536[_0x1cacee(0x1f7)],_0x53c536[_0x1cacee(0x24e)](nestedKeyValue,_0x4bf174,[_0x53c536['kOcPA'],_0x53c536[_0x1cacee(0x218)]])?_0x53c536[_0x1cacee(0x1e8)]:''),_0x2260f8=await TestHubHandler['launchBuild'](_0x9a9a51,_0x53f4c6);_0xaf6ebb&&_0x53c536[_0x1cacee(0x20c)](setAccessibilityCapabilities,_0x53f4c6[_0x1cacee(0x23b)]);const _0x4b852e={},_0x12a872=[],_0x35f267=_0x53f4c6['config'][_0x1cacee(0x21c)]||helper[_0x1cacee(0x1db)](_0x4c0fcf,_0x17917e,_0x53f4c6[_0x1cacee(0x23b)],constants[_0x1cacee(0x236)][_0x1cacee(0x259)])||0x1;let _0x280a4e=0x1;if(_0x53c536['JilUW'](isBrowserstackInfra)){const _0x32e260=helper['prepareCapabilities'](_0x53f4c6[_0x1cacee(0x23b)],_0x1f8dad,constants[_0x1cacee(0x236)][_0x1cacee(0x259)]);helper[_0x1cacee(0x23f)](_0x53f4c6[_0x1cacee(0x23b)])?_0x280a4e=_0x53c536['LwAxY'](_0x35f267,_0x53f4c6['config'][_0x1cacee(0x238)]['length']):_0x280a4e=_0x35f267,_0x32e260['forEach'](_0x39e778=>{const _0x15fe45=_0x1cacee,_0x209cdf=_0x53c536[_0x15fe45(0x209)](helper[_0x15fe45(0x20a)](_0x39e778,'_'),'_'+Date['now']()),_0x2e7eb5=((()=>{const _0x3d01a0=_0x15fe45;if(_0x51e0c2){const _0x3de65d=pwToCodeceptBrowser[_0x39e778[_0x3d01a0(0x241)]]||_0x39e778[_0x3d01a0(0x241)];return{'browser':_0x3de65d,[_0x3de65d]:{'browserWSEndpoint':_0x53c536[_0x3d01a0(0x209)](helper[_0x3d01a0(0x1ee)](_0x53f4c6[_0x3d01a0(0x23b)]),_0x53c536[_0x3d01a0(0x1f9)](encodeURIComponent,JSON['stringify'](_0x39e778)))}};}const _0x2ea153={};return _0x2ea153[_0x3d01a0(0x23d)]=_0x39e778,_0x2ea153;})()),_0x567eab=_0x53c536['eZZpH'](nestedKeyValue,_0x4bf174,[_0x53c536[_0x15fe45(0x210)],_0x53c536[_0x15fe45(0x21f)],_0x5d50e4]);_0x4b852e[_0x209cdf]=_0x567eab?helper[_0x15fe45(0x263)](_0x2e7eb5,_0x567eab):_0x2e7eb5,!_0x51e0c2&&(_0x4b852e[_0x209cdf][_0x15fe45(0x1df)]=_0x39e778['browserName']||_0x2e7eb5[_0x15fe45(0x1df)]),_0x12a872[_0x15fe45(0x260)](_0x209cdf);});}else{_0x280a4e=0x1;if(_0x51e0c2){const _0x5d4abe=_0x53c536[_0x1cacee(0x1de)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x53c536[_0x1cacee(0x25a)]]),_0x25cee9=_0x53c536[_0x1cacee(0x24e)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x5d4abe]);_0x25cee9&&_0x25cee9[_0x1cacee(0x261)]&&(_0x25cee9['browserWSEndpoint']=helper[_0x1cacee(0x262)](null,null,_0x9a9a51['toLowerCase'](),null,null,_0x25cee9[_0x1cacee(0x261)]));}else _0x4bf174[_0x1cacee(0x23b)][_0x53c536[_0x1cacee(0x21f)]][_0x5d50e4][_0x53c536[_0x1cacee(0x21e)]]=helper[_0x1cacee(0x262)](null,null,_0x9a9a51['toLowerCase'](),_0x53c536[_0x1cacee(0x1de)](nestedKeyValue,_0x4bf174,[_0x53c536[_0x1cacee(0x210)],_0x53c536[_0x1cacee(0x21f)],_0x5d50e4,_0x53c536['eYgAZ']]),null,null);_0x4b852e[_0x53c536[_0x1cacee(0x1eb)]]=_0x4bf174['config'],_0x12a872[_0x1cacee(0x260)](_0x53c536['RWWno']);}const _0x47e91c={};_0x47e91c[_0x1cacee(0x1f5)]=_0x4951ca;const _0x4442b2=_0x47e91c,_0x171def=path[_0x1cacee(0x21b)](__dirname,_0x53c536[_0x1cacee(0x239)]),_0x58f409=process[_0x1cacee(0x1ff)]();process[_0x1cacee(0x1f4)][_0x53c536[_0x1cacee(0x216)]]=_0x58f409,process[_0x1cacee(0x24a)](path[_0x1cacee(0x1dc)](_0x4951ca));const _0x43ac9e=new CodeceptJS[(_0x1cacee(0x1fb))](null,_0x4442b2),_0x52b1b4=_0x43ac9e['createGroupsOfSuites'](_0x280a4e),_0x557c6e=testOpsHelper['isTestObservabilitySession'](),_0x1d3ffa=_0x12a872['map'](_0x5e29bb=>{const _0x4b3822=_0x1cacee,_0x48d169={};_0x48d169[_0x4b3822(0x20b)]=_0x4b852e[_0x5e29bb];const _0x511bf9={};_0x511bf9[_0x4b3822(0x205)]=_0x4b852e[_0x5e29bb];const _0x189e1c=_0x51e0c2?_0x48d169:_0x511bf9,_0x47e06e=_0x53c536[_0x4b3822(0x246)](getO11yRerunPattern),_0x2dc415={};_0x2dc415[_0x4b3822(0x203)]=_0x189e1c;const _0x4df9ad={};_0x4df9ad[_0x4b3822(0x1d5)]=_0x171def,_0x4df9ad['enabled']=!![],_0x4df9ad[_0x4b3822(0x258)]=_0x53f4c6['config'][_0x4b3822(0x22b)][_0x4b3822(0x258)],_0x4df9ad['skipSessionStatus']=_0x53f4c6[_0x4b3822(0x23b)][_0x4b3822(0x22b)][_0x4b3822(0x250)],_0x4df9ad[_0x4b3822(0x220)]=_0x557c6e,_0x4df9ad[_0x4b3822(0x233)]=_0x9a9a51;const _0x495bed={};_0x495bed[_0x4b3822(0x1ea)]=_0x4df9ad;const _0x191ff8={};return _0x191ff8[_0x4b3822(0x22e)]=_0x495bed,helper[_0x4b3822(0x263)]({},_0x4bf174[_0x4b3822(0x23b)],_0x53c536[_0x4b3822(0x246)](isBrowserstackInfra)?_0x2dc415:{},_0x47e06e?{'grep':_0x47e06e}:{},_0x191ff8);});for(const _0x263ae6 of _0x1d3ffa){for(const _0x24c7a7 of _0x52b1b4){const _0x2dfe60=_0x43ac9e[_0x1cacee(0x202)]();_0x2dfe60['addTests'](_0x24c7a7),_0x2dfe60[_0x1cacee(0x217)](_0x263ae6);}}_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)]['test'][_0x1cacee(0x1e6)],(_0x51c7b2,_0x7efaeb)=>{const _0xc4f6c6=_0x1cacee;console[_0xc4f6c6(0x25d)](_0x53c536[_0xc4f6c6(0x245)],_0x51c7b2[_0xc4f6c6(0x229)]);const _0x2c50a8={[_0x51c7b2[_0xc4f6c6(0x229)]]:_0x51c7b2[_0xc4f6c6(0x23a)][_0xc4f6c6(0x255)]};_testErrorData[_0xc4f6c6(0x260)](_0x2c50a8);}),_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)][_0x1cacee(0x200)]['passed'],async _0x32ca49=>{const _0x7f079=_0x1cacee;console['log'](_0x53c536[_0x7f079(0x22d)],_0x32ca49[_0x7f079(0x229)]);}),_0x43ac9e['on'](CodeceptJS['event'][_0x1cacee(0x200)][_0x1cacee(0x1e7)],async _0x492c98=>{const _0x5012b7=_0x1cacee;console[_0x5012b7(0x25d)](_0x53c536[_0x5012b7(0x1fe)],_0x492c98[_0x5012b7(0x229)]);}),_0x43ac9e['on'](CodeceptJS[_0x1cacee(0x1f6)][_0x1cacee(0x23e)][_0x1cacee(0x254)],async()=>{const _0x4450b7=_0x1cacee,_0x43eaa7=_0x53c536[_0x4450b7(0x1e5)][_0x4450b7(0x1f1)]('|');let _0x8bd2cb=0x0;while(!![]){switch(_0x43eaa7[_0x8bd2cb++]){case'0':_0x53f4c6[_0x4450b7(0x1e1)]=_testErrorData;continue;case'1':utilities['finalExecution'](_0x53f4c6);continue;case'2':try{await TestHubHandler[_0x4450b7(0x211)]();}catch(_0x454979){logger[_0x4450b7(0x228)](_0x4450b7(0x1d9)+util['format'](_0x454979));}continue;case'3':_0x43ac9e[_0x4450b7(0x24f)]();continue;case'4':testOpsHelper[_0x4450b7(0x224)]();continue;}break;}});async function _0x1c4183(){const _0x49d377=_0x1cacee;try{await _0x43ac9e[_0x49d377(0x1da)](),await _0x43ac9e['run']();}finally{process[_0x49d377(0x24a)](_0x58f409),await _0x43ac9e[_0x49d377(0x1ef)]();}}_0x53c536['JilUW'](_0x1c4183);}module[a2_0x54f2a5(0x1f8)]=run;
@@ -1 +1 @@
1
- function a3_0x4a73(){const _0x1698bb=['BISIC','139146YIrosV','UDlCd','app-automate','2854874mmehWh','capabilities','warn','vOdlO','Yinnm','sessionId','browser','caps','4gNOWML','browserstack','browserWSEndpoint','latest','../../bin/playwright/sessionDetails','constructor','browserstack_executor','fetchPlatformDetails','4QIevKB','browserstack_accessibility_automation_script','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','wCiqI','desiredCapabilities','platformName','3053780MpOlnN','mIshi','RSqBx','14xZhoPZ','gTZiX','../../helpers/helper','name','xTrXO','gawaB','1197747qGzfnh','playwright-chromium','appium:app','platformVersion','browserName','BFNqx','JaojH','GEZMx','NBeFh','os_version','3182264sRnjWu','wcDmn','unknown_grid','get','chrome','467682vFfKrU','includes','processWebDriverConfig','RlSvF','MDzzM','browserVersion','APcUk','wfTDF','platform','cloudProvider','qufqC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','searchParams','browser_version','36LOjSAg','9UzCSst','wHMfP','app','automate','lNdqV','winstonLogger','uUDun','STibg','../../helpers/accessibility-automation/helper','vdyTF','1430195QXIhok','xiCcX','iaLXa','bsSessionId','osVersion','UHFNp','platform_version','eUhAa','nqPCU','accessibilityPlatform','__cloud_provider___','shouldPatchExecuteScript'];a3_0x4a73=function(){return _0x1698bb;};return a3_0x4a73();}const a3_0x412c69=a3_0x53d9;(function(_0x1a1359,_0x37bbb8){const _0x1a3a63=a3_0x53d9,_0x237620=_0x1a1359();while(!![]){try{const _0x569809=-parseInt(_0x1a3a63(0x135))/0x1*(-parseInt(_0x1a3a63(0x104))/0x2)+-parseInt(_0x1a3a63(0xf5))/0x3+-parseInt(_0x1a3a63(0xe6))/0x4*(-parseInt(_0x1a3a63(0x11d))/0x5)+parseInt(_0x1a3a63(0x12a))/0x6+parseInt(_0x1a3a63(0xef))/0x7*(-parseInt(_0x1a3a63(0xff))/0x8)+parseInt(_0x1a3a63(0x113))/0x9*(-parseInt(_0x1a3a63(0xec))/0xa)+parseInt(_0x1a3a63(0x12d))/0xb*(parseInt(_0x1a3a63(0x112))/0xc);if(_0x569809===_0x37bbb8)break;else _0x237620['push'](_0x237620['shift']());}catch(_0x36a751){_0x237620['push'](_0x237620['shift']());}}}(a3_0x4a73,0x7fafb));const {isUndefined,nestedKeyValue}=require(a3_0x412c69(0xf1)),logger=require('../../helpers/logger')[a3_0x412c69(0x118)],PlaywrightSessionDetails=require(a3_0x412c69(0x139)),{isAccessibilityAutomationSession}=require(a3_0x412c69(0x11b)),getOSVersionFromCaps=_0x5633ef=>{const _0xc18100=a3_0x412c69,_0x4689f6={};_0x4689f6[_0xc18100(0x117)]='bstack:options',_0x4689f6[_0xc18100(0xed)]=_0xc18100(0xf8),_0x4689f6[_0xc18100(0x119)]=_0xc18100(0x123),_0x4689f6[_0xc18100(0xf4)]=_0xc18100(0x121),_0x4689f6['RlSvF']=_0xc18100(0xfe);const _0x279c69=_0x4689f6;if(!_0x5633ef)return null;const _0x41b518=_0x5633ef[_0x279c69[_0xc18100(0x117)]],_0x1a3984=[_0x279c69[_0xc18100(0xed)],_0x279c69['uUDun'],_0x279c69['gawaB'],_0x279c69[_0xc18100(0x107)]];for(const _0x40df25 of _0x1a3984){if(_0x41b518&&_0x41b518[_0x40df25])return _0x41b518[_0x40df25];else{if(_0x5633ef[_0x40df25])return _0x5633ef[_0x40df25];}}return null;};function a3_0x53d9(_0x179e85,_0x44146d){const _0x4a7335=a3_0x4a73();return a3_0x53d9=function(_0x53d990,_0xebb2a3){_0x53d990=_0x53d990-0xe4;let _0x2d25a1=_0x4a7335[_0x53d990];return _0x2d25a1;},a3_0x53d9(_0x179e85,_0x44146d);}exports[a3_0x412c69(0xe5)]=_0x125a01=>{const _0x237e08=a3_0x412c69,_0x5cac08={'APcUk':_0x237e08(0x101),'wcDmn':function(_0x11ccb9,_0xab37bc){return _0x11ccb9===_0xab37bc;},'ubQrJ':'WebDriver','wCiqI':function(_0x5d6737,_0x46a857){return _0x5d6737(_0x46a857);},'UHFNp':function(_0x21d519,_0x20a2f2,_0x5a84e2){return _0x21d519(_0x20a2f2,_0x5a84e2);},'nqPCU':'config','vOdlO':_0x237e08(0xea),'eUhAa':_0x237e08(0x136),'GEZMx':_0x237e08(0xf7),'vdyTF':_0x237e08(0x115),'BFNqx':_0x237e08(0x12c),'wHMfP':_0x237e08(0x116),'JaojH':'Playwright','MDzzM':_0x237e08(0x133),'BISIC':_0x237e08(0x137),'Yinnm':_0x237e08(0x134),'xTrXO':function(_0x3bb257,_0xad674b){return _0x3bb257===_0xad674b;}};if(!_0x125a01)return null;let _0x5268c9=global[_0x237e08(0x127)]||_0x5cac08[_0x237e08(0x10a)];if(_0x5cac08['wcDmn'](_0x125a01[_0x237e08(0x13a)]['name'],_0x5cac08['ubQrJ'])){const _0x389ae0=_0x125a01['browser'];if(!_0x389ae0)return null;const _0x1f57a4=_0x389ae0[_0x237e08(0x12e)],_0xd71f3a=_0x5cac08[_0x237e08(0xe9)](getOSVersionFromCaps,_0x5cac08[_0x237e08(0x122)](nestedKeyValue,_0x125a01,[_0x5cac08['nqPCU'],_0x5cac08[_0x237e08(0x130)]]));return{[_0x5268c9]:{'browser':_0x1f57a4[_0x237e08(0xf9)],'browser_version':_0x1f57a4[_0x237e08(0x109)],'capabilities':_0x1f57a4,'platform':_0x1f57a4[_0x237e08(0xeb)],'platform_version':_0x1f57a4[_0x237e08(0xf8)]||_0xd71f3a,'product':_0x5cac08[_0x237e08(0x100)](global[_0x237e08(0x127)],_0x5cac08[_0x237e08(0x124)])?_0x1f57a4[_0x5cac08[_0x237e08(0xfc)]]||_0x1f57a4[_0x5cac08[_0x237e08(0x11c)]]?_0x5cac08[_0x237e08(0xfa)]:_0x5cac08[_0x237e08(0x114)]:null,'session_id':_0x389ae0[_0x237e08(0x132)]}};}else{if(_0x5cac08[_0x237e08(0x100)](_0x125a01[_0x237e08(0x13a)][_0x237e08(0xf2)],_0x5cac08[_0x237e08(0xfb)])){const _0x44aab7=PlaywrightSessionDetails['getDetails']();_0x5268c9=_0x44aab7[_0x237e08(0x10d)]||_0x5268c9;const _0x597350=_0x5cac08[_0x237e08(0x122)](nestedKeyValue,_0x125a01,[_0x5cac08[_0x237e08(0x125)],_0x5cac08[_0x237e08(0x108)],_0x5cac08[_0x237e08(0x129)]]),_0x3f0302=_0x597350?JSON['parse'](new URL(_0x597350)[_0x237e08(0x110)][_0x237e08(0x102)](_0x5cac08[_0x237e08(0x131)])):{};return{[_0x5268c9]:{'browser':_0x44aab7[_0x237e08(0x133)]||_0x3f0302[_0x237e08(0xf9)],'browser_version':_0x44aab7[_0x237e08(0x111)]||_0x3f0302['browser_version'],'capabilities':_0x3f0302,'platform':_0x44aab7[_0x237e08(0x10c)],'platform_version':_0x44aab7[_0x237e08(0x123)],'product':_0x5cac08[_0x237e08(0xf3)](global[_0x237e08(0x127)],_0x5cac08['eUhAa'])?_0x3f0302[_0x5cac08[_0x237e08(0xfc)]]||_0x3f0302[_0x5cac08['vdyTF']]?_0x5cac08[_0x237e08(0xfa)]:_0x5cac08['wHMfP']:null,'session_id':_0x44aab7[_0x237e08(0x120)]}};}}},exports[a3_0x412c69(0x106)]=_0x39ab2d=>{const _0xf4e317=a3_0x412c69,_0x36f938={'xEafL':function(_0x27bdbf){return _0x27bdbf();},'qufqC':function(_0x59fbef,_0x2cf377){return _0x59fbef===_0x2cf377;},'gTZiX':_0xf4e317(0x138),'UDlCd':function(_0x4735c9,_0x5f4471){return _0x4735c9>_0x5f4471;},'RSqBx':function(_0x559afb,_0x4a4be0){return _0x559afb(_0x4a4be0);},'iaLXa':_0xf4e317(0xe8),'lbhjm':_0xf4e317(0x103),'VekTJ':function(_0x1c39d4,_0x51f325){return _0x1c39d4===_0x51f325;},'NBeFh':_0xf4e317(0xf6),'DPLdc':_0xf4e317(0x10f),'emfun':function(_0x8ab47c,_0x4ce51e){return _0x8ab47c(_0x4ce51e);},'wfTDF':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x36f938['xEafL'](isAccessibilityAutomationSession)){const _0x130762=_0x39ab2d['browser'],_0x385c59=_0x130762[_0xf4e317(0x12e)];global[_0xf4e317(0x126)]=!![],!(_0x36f938[_0xf4e317(0x10e)](_0x385c59[_0xf4e317(0x109)],_0x36f938[_0xf4e317(0xf0)])||_0x36f938[_0xf4e317(0x12b)](_0x36f938[_0xf4e317(0xee)](parseInt,_0x385c59[_0xf4e317(0x109)]),0x5e))&&(logger[_0xf4e317(0x12f)](_0x36f938[_0xf4e317(0x11f)]),global['accessibilityPlatform']=![]),!(_0x36f938[_0xf4e317(0x10e)](_0x385c59[_0xf4e317(0xf9)],_0x36f938['lbhjm'])||_0x36f938['VekTJ'](_0x385c59[_0xf4e317(0xf9)],_0x36f938[_0xf4e317(0xfd)]))&&(logger['warn'](_0x36f938['DPLdc']),global[_0xf4e317(0x126)]=![]),!_0x36f938['emfun'](isUndefined,_0x385c59['deviceName'])&&(logger[_0xf4e317(0x12f)](_0x36f938[_0xf4e317(0x10b)]),global[_0xf4e317(0x126)]=![]);}},exports[a3_0x412c69(0x128)]=_0x5f05f0=>{const _0x40ac5c=a3_0x412c69,_0x32adf9={};_0x32adf9[_0x40ac5c(0x11e)]=_0x40ac5c(0xe4),_0x32adf9['STibg']=_0x40ac5c(0xe7);const _0xa223a4=_0x32adf9;if(!_0x5f05f0)return![];return!_0x5f05f0[_0x40ac5c(0x105)](_0xa223a4[_0x40ac5c(0x11e)])&&!_0x5f05f0[_0x40ac5c(0x105)](_0xa223a4[_0x40ac5c(0x11a)]);};
1
+ const a3_0x1fb46c=a3_0xaab7;function a3_0xaab7(_0xffb95e,_0x54de58){const _0x8fb358=a3_0x8fb3();return a3_0xaab7=function(_0xaab72b,_0x5b8589){_0xaab72b=_0xaab72b-0x125;let _0x2c5fa5=_0x8fb358[_0xaab72b];return _0x2c5fa5;},a3_0xaab7(_0xffb95e,_0x54de58);}(function(_0x56d1c4,_0x5df709){const _0x7cfe26=a3_0xaab7,_0x4c84b7=_0x56d1c4();while(!![]){try{const _0x2ed595=parseInt(_0x7cfe26(0x151))/0x1*(parseInt(_0x7cfe26(0x146))/0x2)+parseInt(_0x7cfe26(0x13f))/0x3*(-parseInt(_0x7cfe26(0x16f))/0x4)+parseInt(_0x7cfe26(0x172))/0x5+-parseInt(_0x7cfe26(0x171))/0x6+-parseInt(_0x7cfe26(0x157))/0x7+parseInt(_0x7cfe26(0x153))/0x8+-parseInt(_0x7cfe26(0x138))/0x9*(parseInt(_0x7cfe26(0x159))/0xa);if(_0x2ed595===_0x5df709)break;else _0x4c84b7['push'](_0x4c84b7['shift']());}catch(_0x5cbd23){_0x4c84b7['push'](_0x4c84b7['shift']());}}}(a3_0x8fb3,0x7d221));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require(a3_0x1fb46c(0x167)),{isAccessibilityAutomationSession}=require(a3_0x1fb46c(0x160)),getOSVersionFromCaps=_0x2784ea=>{const _0x4612f2=a3_0x1fb46c,_0x3e9af4={};_0x3e9af4[_0x4612f2(0x15c)]='bstack:options',_0x3e9af4[_0x4612f2(0x131)]='platformVersion',_0x3e9af4[_0x4612f2(0x156)]=_0x4612f2(0x12c),_0x3e9af4[_0x4612f2(0x126)]='osVersion',_0x3e9af4[_0x4612f2(0x14b)]=_0x4612f2(0x163);const _0xc05624=_0x3e9af4;if(!_0x2784ea)return null;const _0x43f6db=_0x2784ea[_0xc05624[_0x4612f2(0x15c)]],_0x46a1ee=[_0xc05624['yFxir'],_0xc05624[_0x4612f2(0x156)],_0xc05624[_0x4612f2(0x126)],_0xc05624[_0x4612f2(0x14b)]];for(const _0x5e045d of _0x46a1ee){if(_0x43f6db&&_0x43f6db[_0x5e045d])return _0x43f6db[_0x5e045d];else{if(_0x2784ea[_0x5e045d])return _0x2784ea[_0x5e045d];}}return null;};function a3_0x8fb3(){const _0x41af51=['inSDc','browser_version','cWKXz','LxJlN','496Vydsux','cloudProvider','543540WRLWuD','2363645WZLWQr','capabilities','hthqX','processWebDriverConfig','kxzLP','name','nENkW','platform','platform_version','warn','accessibilityPlatform','__cloud_provider___','app-automate','yFxir','sessionId','caps','platformVersion','config','constructor','browserVersion','946071SQAcAD','SIRMi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserstack_accessibility_automation_script','appium:app','ycLKZ','ZzvoS','1413WydmDW','browser','browserName','includes','bsSessionId','vjKRv','sgZZs','1027204kvIxRI','AYwes','KNByt','JHydU','chrome','gnrAV','eGRyB','rtyFo','SMIOU','ocaES','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1njgxNq','eOutf','4201984EJvVxd','lHshk','get','QhTWF','4478614bFvQUF','lVUrG','20GdXMga','mAqHP','desiredCapabilities','gMoSx','parse','czIYf','app','../../helpers/accessibility-automation/helper','sbuYq','LoKjL','os_version','playwright-chromium','fetchPlatformDetails','unknown_grid','../../bin/playwright/sessionDetails','zCjLV','searchParams','ehEdq'];a3_0x8fb3=function(){return _0x41af51;};return a3_0x8fb3();}exports[a3_0x1fb46c(0x165)]=_0x31a1ff=>{const _0x2d19eb=a3_0x1fb46c,_0x4d9b99={'sgZZs':_0x2d19eb(0x166),'eGRyB':function(_0x48aba5,_0x33271c){return _0x48aba5===_0x33271c;},'ehEdq':'WebDriver','zYkwq':function(_0x2eafb0,_0xa27f7c){return _0x2eafb0(_0xa27f7c);},'nENkW':function(_0x98368b,_0x2c7225,_0x3846e1){return _0x98368b(_0x2c7225,_0x3846e1);},'lHshk':_0x2d19eb(0x135),'LxJlN':_0x2d19eb(0x15b),'SIRMi':function(_0x576dfd,_0xf65eee){return _0x576dfd===_0xf65eee;},'KNByt':'browserstack','ZzvoS':_0x2d19eb(0x13c),'czIYf':_0x2d19eb(0x15f),'SMIOU':_0x2d19eb(0x130),'sbuYq':'automate','ocaES':function(_0x2ede4c,_0x47ab66){return _0x2ede4c===_0x47ab66;},'JHydU':'Playwright','AYwes':_0x2d19eb(0x140),'LoKjL':'browserWSEndpoint','BKrVj':_0x2d19eb(0x133),'ccKFK':function(_0x5225ed,_0x4e93ed){return _0x5225ed===_0x4e93ed;}};if(!_0x31a1ff)return null;let _0x2ee07a=global['__cloud_provider___']||_0x4d9b99[_0x2d19eb(0x145)];if(_0x4d9b99[_0x2d19eb(0x14c)](_0x31a1ff[_0x2d19eb(0x136)][_0x2d19eb(0x129)],_0x4d9b99[_0x2d19eb(0x16a)])){const _0x2cc244=_0x31a1ff['browser'];if(!_0x2cc244)return null;const _0x1cd685=_0x2cc244[_0x2d19eb(0x125)],_0x49536e=_0x4d9b99['zYkwq'](getOSVersionFromCaps,_0x4d9b99[_0x2d19eb(0x12a)](nestedKeyValue,_0x31a1ff,[_0x4d9b99[_0x2d19eb(0x154)],_0x4d9b99[_0x2d19eb(0x16e)]]));return{[_0x2ee07a]:{'browser':_0x1cd685['browserName'],'browser_version':_0x1cd685[_0x2d19eb(0x137)],'capabilities':_0x1cd685,'platform':_0x1cd685['platformName'],'platform_version':_0x1cd685[_0x2d19eb(0x134)]||_0x49536e,'product':_0x4d9b99[_0x2d19eb(0x139)](global[_0x2d19eb(0x12f)],_0x4d9b99[_0x2d19eb(0x148)])?_0x1cd685[_0x4d9b99[_0x2d19eb(0x13e)]]||_0x1cd685[_0x4d9b99[_0x2d19eb(0x15e)]]?_0x4d9b99[_0x2d19eb(0x14e)]:_0x4d9b99[_0x2d19eb(0x161)]:null,'session_id':_0x2cc244[_0x2d19eb(0x132)]}};}else{if(_0x4d9b99[_0x2d19eb(0x14f)](_0x31a1ff[_0x2d19eb(0x136)][_0x2d19eb(0x129)],_0x4d9b99[_0x2d19eb(0x149)])){const _0x4f46f8=PlaywrightSessionDetails['getDetails']();_0x2ee07a=_0x4f46f8[_0x2d19eb(0x170)]||_0x2ee07a;const _0x32f99e=_0x4d9b99[_0x2d19eb(0x12a)](nestedKeyValue,_0x31a1ff,[_0x4d9b99[_0x2d19eb(0x154)],_0x4d9b99[_0x2d19eb(0x147)],_0x4d9b99[_0x2d19eb(0x162)]]),_0x3f10df=_0x32f99e?JSON[_0x2d19eb(0x15d)](new URL(_0x32f99e)[_0x2d19eb(0x169)][_0x2d19eb(0x155)](_0x4d9b99['BKrVj'])):{};return{[_0x2ee07a]:{'browser':_0x4f46f8['browser']||_0x3f10df[_0x2d19eb(0x141)],'browser_version':_0x4f46f8[_0x2d19eb(0x16c)]||_0x3f10df[_0x2d19eb(0x16c)],'capabilities':_0x3f10df,'platform':_0x4f46f8[_0x2d19eb(0x12b)],'platform_version':_0x4f46f8[_0x2d19eb(0x12c)],'product':_0x4d9b99['ccKFK'](global[_0x2d19eb(0x12f)],_0x4d9b99['KNByt'])?_0x3f10df[_0x4d9b99[_0x2d19eb(0x13e)]]||_0x3f10df[_0x4d9b99[_0x2d19eb(0x15e)]]?_0x4d9b99[_0x2d19eb(0x14e)]:_0x4d9b99[_0x2d19eb(0x161)]:null,'session_id':_0x4f46f8[_0x2d19eb(0x143)]}};}}},exports[a3_0x1fb46c(0x127)]=_0xfb7611=>{const _0x2da002=a3_0x1fb46c,_0x57d4ff={'wWwcV':function(_0x29d76b){return _0x29d76b();},'rtyFo':function(_0x2ec4e5,_0x9ee080){return _0x2ec4e5===_0x9ee080;},'ycLKZ':'latest','PQGlk':function(_0x5c04cb,_0x5f0426){return _0x5c04cb>_0x5f0426;},'mAqHP':function(_0xf30f8a,_0x3f83a0){return _0xf30f8a(_0x3f83a0);},'inSDc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','eOutf':function(_0x9c52c3,_0x116a63){return _0x9c52c3===_0x116a63;},'zCjLV':_0x2da002(0x14a),'kxzLP':_0x2da002(0x164),'lVUrG':_0x2da002(0x150),'tjWWz':_0x2da002(0x13a)};if(_0x57d4ff['wWwcV'](isAccessibilityAutomationSession)){const _0x45af5b=_0xfb7611[_0x2da002(0x140)],_0x39bc3a=_0x45af5b[_0x2da002(0x125)];global[_0x2da002(0x12e)]=!![],!(_0x57d4ff[_0x2da002(0x14d)](_0x39bc3a[_0x2da002(0x137)],_0x57d4ff[_0x2da002(0x13d)])||_0x57d4ff['PQGlk'](_0x57d4ff['mAqHP'](parseInt,_0x39bc3a[_0x2da002(0x137)]),0x5e))&&(logger[_0x2da002(0x12d)](_0x57d4ff[_0x2da002(0x16b)]),global[_0x2da002(0x12e)]=![]),!(_0x57d4ff[_0x2da002(0x152)](_0x39bc3a[_0x2da002(0x141)],_0x57d4ff[_0x2da002(0x168)])||_0x57d4ff[_0x2da002(0x14d)](_0x39bc3a[_0x2da002(0x141)],_0x57d4ff[_0x2da002(0x128)]))&&(logger[_0x2da002(0x12d)](_0x57d4ff[_0x2da002(0x158)]),global[_0x2da002(0x12e)]=![]),!_0x57d4ff[_0x2da002(0x15a)](isUndefined,_0x39bc3a['deviceName'])&&(logger[_0x2da002(0x12d)](_0x57d4ff['tjWWz']),global[_0x2da002(0x12e)]=![]);}},exports['shouldPatchExecuteScript']=_0x23103c=>{const _0x2d7d75=a3_0x1fb46c,_0x533f86={};_0x533f86[_0x2d7d75(0x144)]='browserstack_executor',_0x533f86[_0x2d7d75(0x16d)]=_0x2d7d75(0x13b);const _0x44f325=_0x533f86;if(!_0x23103c)return![];return!_0x23103c[_0x2d7d75(0x142)](_0x44f325[_0x2d7d75(0x144)])&&!_0x23103c[_0x2d7d75(0x142)](_0x44f325[_0x2d7d75(0x16d)]);};
@@ -1 +1 @@
1
- const a4_0x56cd46=a4_0x338c;(function(_0x10a6e1,_0x3dc643){const _0x14a8d5=a4_0x338c,_0x5adfb7=_0x10a6e1();while(!![]){try{const _0x4bdf1a=-parseInt(_0x14a8d5(0x155))/0x1+parseInt(_0x14a8d5(0x15b))/0x2*(parseInt(_0x14a8d5(0x16e))/0x3)+-parseInt(_0x14a8d5(0x1e4))/0x4+-parseInt(_0x14a8d5(0x154))/0x5*(-parseInt(_0x14a8d5(0x16c))/0x6)+-parseInt(_0x14a8d5(0x151))/0x7*(-parseInt(_0x14a8d5(0x188))/0x8)+parseInt(_0x14a8d5(0x1a0))/0x9+-parseInt(_0x14a8d5(0x1b5))/0xa;if(_0x4bdf1a===_0x3dc643)break;else _0x5adfb7['push'](_0x5adfb7['shift']());}catch(_0x5d2eac){_0x5adfb7['push'](_0x5adfb7['shift']());}}}(a4_0x44ae,0x95765));const path=require(a4_0x56cd46(0x1a1)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x56cd46(0x161)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x56cd46(0x138)),{FRAMEWORKS}=require(a4_0x56cd46(0x182)),logger=require(a4_0x56cd46(0x1f9))[a4_0x56cd46(0x1cf)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x56cd46(0x189)),PlaywrightSessionDetails=require(a4_0x56cd46(0x177)),debug=testOpsHelper[a4_0x56cd46(0x1b9)],{processAccessibilityCaps}=require(a4_0x56cd46(0x1be)),Constants=require(a4_0x56cd46(0x201)),{fetchPlatformDetails}=require(a4_0x56cd46(0x14b)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x56cd46(0x1dd),STATE_FAILED=a4_0x56cd46(0x156),a4_0x1e3b5f={};function a4_0x338c(_0x41726c,_0x3987f7){const _0x44aebe=a4_0x44ae();return a4_0x338c=function(_0x338c5e,_0x357872){_0x338c5e=_0x338c5e-0x138;let _0x35599e=_0x44aebe[_0x338c5e];return _0x35599e;},a4_0x338c(_0x41726c,_0x3987f7);}a4_0x1e3b5f['TEST_RUN_STARTED']=a4_0x56cd46(0x145),a4_0x1e3b5f[a4_0x56cd46(0x207)]=a4_0x56cd46(0x179),a4_0x1e3b5f[a4_0x56cd46(0x171)]=a4_0x56cd46(0x17c),a4_0x1e3b5f[a4_0x56cd46(0x225)]=a4_0x56cd46(0x164),a4_0x1e3b5f['HOOK_RUN_FINISHED']='HookRunFinished';const TEST_EVENTS=a4_0x1e3b5f,parseEvent=_0x1b78b5=>{const _0x4a0516=a4_0x56cd46,_0x5a88e2={};_0x5a88e2[_0x4a0516(0x16f)]=function(_0x581c17,_0x138e9c){return _0x581c17<_0x138e9c;},_0x5a88e2[_0x4a0516(0x227)]=function(_0x36e8d9,_0x35fa0c){return _0x36e8d9===_0x35fa0c;},_0x5a88e2[_0x4a0516(0x157)]=_0x4a0516(0x223),_0x5a88e2['TfrEJ']=function(_0x78cbe6,_0x50d5c7){return _0x78cbe6===_0x50d5c7;},_0x5a88e2[_0x4a0516(0x235)]=_0x4a0516(0x221),_0x5a88e2['VHQSR']=function(_0x42b12d,_0x5b2c7f){return _0x42b12d===_0x5b2c7f;},_0x5a88e2[_0x4a0516(0x1b1)]='skipped',_0x5a88e2[_0x4a0516(0x22e)]=_0x4a0516(0x15c),_0x5a88e2[_0x4a0516(0x1a9)]=_0x4a0516(0x1cc);const _0xb6d395=_0x5a88e2,_0x5bdb48=_0x1b78b5[_0x4a0516(0x20b)](/^(.*)Run(.*)$/);if(!_0x5bdb48)return null;if(_0xb6d395['iWiKv'](_0x5bdb48[_0x4a0516(0x205)],0x3))return null;const _0x365010=_0x5bdb48[0x1]['toLowerCase'](),_0x4e8e9b=_0x5bdb48[0x2][_0x4a0516(0x1bb)]();return{'test':_0xb6d395['bwBaT'](_0x365010,_0xb6d395[_0x4a0516(0x157)]),'hook':_0xb6d395[_0x4a0516(0x1bf)](_0x365010,_0xb6d395[_0x4a0516(0x235)]),'skipped':_0xb6d395[_0x4a0516(0x22c)](_0x4e8e9b,_0xb6d395[_0x4a0516(0x1b1)]),'started':_0xb6d395[_0x4a0516(0x227)](_0x4e8e9b,_0xb6d395[_0x4a0516(0x22e)]),'finished':_0xb6d395[_0x4a0516(0x1bf)](_0x4e8e9b,_0xb6d395[_0x4a0516(0x1a9)])};},mockPWBrowserType=_0x360690=>{const _0x3ba443=a4_0x56cd46,_0x65f4d4={'Rtfia':function(_0x3ebbc9,_0x1aef65){return _0x3ebbc9===_0x1aef65;},'LNjHR':'string','zFmyI':function(_0x17131c,_0x26101b,_0x4252ed){return _0x17131c(_0x26101b,_0x4252ed);},'qXvry':_0x3ba443(0x180),'EpoXa':function(_0x1a767f,_0x5944bb){return _0x1a767f(_0x5944bb);},'RvjYi':_0x3ba443(0x1a7),'SfUCj':function(_0x50fd8e,_0xaf4535,_0x645b1e){return _0x50fd8e(_0xaf4535,_0x645b1e);},'NiTbr':_0x3ba443(0x1d2),'qoJuO':_0x3ba443(0x19a),'cpLSs':'browserType.js','Appud':function(_0x3aa371,_0x5dd66c){return _0x3aa371(_0x5dd66c);},'PoRKv':_0x3ba443(0x232),'mTiyz':_0x3ba443(0x139),'swAWk':_0x3ba443(0x1c7)},_0x9a330f=path['join'](_0x65f4d4[_0x3ba443(0x18b)],_0x65f4d4[_0x3ba443(0x1cd)],_0x65f4d4[_0x3ba443(0x1ef)]),_0x2a0f92=_0x65f4d4[_0x3ba443(0x197)](importFileFromPWCore,_0x9a330f);if(!_0x2a0f92){_0x65f4d4['Appud'](debug,_0x65f4d4[_0x3ba443(0x183)]);return;}const _0x37e50c=_0x2a0f92[_0x3ba443(0x1a3)],_0x5b1cdc=_0x37e50c[_0x3ba443(0x21c)];if(_0x5b1cdc[_0x3ba443(0x173)])return;const _0x3df265=_0x5b1cdc[_0x3ba443(0x139)];Object['defineProperty'](_0x5b1cdc,_0x65f4d4[_0x3ba443(0x21f)],{'get':function(){const _0x4179c5=_0x3ba443,_0xb6bb07={'fFOqX':function(_0x55ed4f,_0x36326c){const _0x875c1=a4_0x338c;return _0x65f4d4[_0x875c1(0x1d6)](_0x55ed4f,_0x36326c);},'BhlWP':_0x65f4d4[_0x4179c5(0x212)],'DTJfF':function(_0x5724ea,_0x2ca420,_0x511cae){const _0x418a2f=_0x4179c5;return _0x65f4d4[_0x418a2f(0x231)](_0x5724ea,_0x2ca420,_0x511cae);},'rKAqu':_0x65f4d4[_0x4179c5(0x1fb)],'ZzmeL':function(_0x467380,_0x27f3c4){const _0x1cfe82=_0x4179c5;return _0x65f4d4[_0x1cfe82(0x19d)](_0x467380,_0x27f3c4);},'gNtlc':_0x65f4d4[_0x4179c5(0x1c4)],'XwBiz':function(_0x5a4d72,_0x5126cf,_0x5cd553){const _0x454804=_0x4179c5;return _0x65f4d4[_0x454804(0x234)](_0x5a4d72,_0x5126cf,_0x5cd553);},'zwWiw':function(_0x4ab28c,_0x551b3d){const _0x5d6bee=_0x4179c5;return _0x65f4d4[_0x5d6bee(0x19d)](_0x4ab28c,_0x551b3d);}};return async function _0x32e13d(_0x5ef7a8,_0x398086){const _0x3e353c=_0x4179c5,_0x2ed1c6={'BBLgC':function(_0xd97c3b,_0x474362){const _0x21a680=a4_0x338c;return _0xb6bb07[_0x21a680(0x1c5)](_0xd97c3b,_0x474362);},'MSlhm':_0xb6bb07[_0x3e353c(0x1dc)]},_0x4524f8=_0xb6bb07[_0x3e353c(0x1e8)](nestedKeyValue,_0x5ef7a8,[_0xb6bb07[_0x3e353c(0x175)]])||_0x5ef7a8;let _0x35f90d=null,_0x39c8d5=null;try{[_0x39c8d5,_0x35f90d]=_0x4524f8?_0xb6bb07['ZzmeL'](parseWSEndpoint,_0x4524f8):[null,null],global['__platformCaps']=_0x35f90d,_0x39c8d5[_0x3e353c(0x1e6)](_0xb6bb07[_0x3e353c(0x217)])&&(global[_0x3e353c(0x199)]=_0xb6bb07['gNtlc']);}catch(_0x31f4dd){logger[_0x3e353c(0x1b9)](_0x3e353c(0x192)+_0x4524f8+'\x20'+_0x31f4dd);}_0xb6bb07[_0x3e353c(0x17d)](processAccessibilityCaps,_0x35f90d,_0x39c8d5);if(global[_0x3e353c(0x172)]){const _0x99eeb=await _0x5b1cdc['connectOverCDP'][_0x3e353c(0x22a)](this,[''+Constants[_0x3e353c(0x1fc)]+_0xb6bb07['zwWiw'](encodeURIComponent,JSON[_0x3e353c(0x1bc)](_0x35f90d))]);return PlaywrightSessionDetails[_0x3e353c(0x178)](_0x99eeb,_0x360690,_0x4524f8),_0x99eeb;}return _0x3df265[_0x3e353c(0x22a)](this,arguments)[_0x3e353c(0x1f5)](_0xecfc99=>{const _0x1b53b7=_0x3e353c;let _0x3945fd=_0x5ef7a8[_0x1b53b7(0x180)];return _0x2ed1c6[_0x1b53b7(0x1cb)](typeof _0x5ef7a8,_0x2ed1c6['MSlhm'])&&(_0x3945fd=_0x5ef7a8),PlaywrightSessionDetails['setupBrowserDetails'](_0xecfc99,_0x360690,_0x3945fd),_0xecfc99;});};}});const _0x22afd3=_0x5b1cdc[_0x3ba443(0x1c7)];Object[_0x3ba443(0x15d)](_0x5b1cdc,_0x65f4d4[_0x3ba443(0x1f8)],{'get':function(){return async function _0x5378ef(){const _0xb34660=a4_0x338c;return _0x22afd3[_0xb34660(0x22a)](this,arguments)[_0xb34660(0x1f5)](_0xad9cd0=>{const _0x1198cd=_0xb34660;return PlaywrightSessionDetails[_0x1198cd(0x178)](_0xad9cd0,null),_0xad9cd0;});};}});};class O11yHelper{['currentTest']=null;[a4_0x56cd46(0x170)]=null;[a4_0x56cd46(0x1b2)]=![];[a4_0x56cd46(0x233)]=![];constructor(_0x24cdba,_0x65431c){const _0x1180d6=a4_0x56cd46,_0x416db6={'AXaby':'5|2|3|0|1|4','XzNti':function(_0x139c4d){return _0x139c4d();},'lgSJB':function(_0x11bc97,_0x45b85c){return _0x11bc97===_0x45b85c;},'Irvak':_0x1180d6(0x21b),'zQZmb':function(_0x33a67c,_0x4c21d7){return _0x33a67c(_0x4c21d7);},'xBTBv':function(_0x27cb4a){return _0x27cb4a();}},_0x250118=_0x416db6[_0x1180d6(0x222)][_0x1180d6(0x1c1)]('|');let _0x138389=0x0;while(!![]){switch(_0x250118[_0x138389++]){case'0':this[_0x1180d6(0x214)]=_0x416db6[_0x1180d6(0x1d0)](getTestEnv);continue;case'1':this[_0x1180d6(0x13c)]=new testOpsHelper[(_0x1180d6(0x18a))]({'cwd':process[_0x1180d6(0x140)]()},this[_0x1180d6(0x214)][_0x1180d6(0x21e)]);continue;case'2':this['frameworkName']=_0x65431c[_0x1180d6(0x233)];continue;case'3':this['driver']=_0x24cdba;continue;case'4':this['driver']&&_0x416db6[_0x1180d6(0x13f)](this[_0x1180d6(0x1fd)][_0x1180d6(0x159)][_0x1180d6(0x20f)],_0x416db6[_0x1180d6(0x165)])&&_0x416db6[_0x1180d6(0x208)](mockPWBrowserType,null);continue;case'5':this[_0x1180d6(0x1b2)]=_0x416db6['xBTBv'](shouldProcessEventForTesthub);continue;}break;}}[a4_0x56cd46(0x1da)](){const _0x16a635=a4_0x56cd46;if(!this['enabled'])return;testOpsHelper[_0x16a635(0x215)](),process[_0x16a635(0x1c0)](_0x16a635(0x168)+process['pid']),process['on']('bs:addLog:'+process[_0x16a635(0x14e)],this[_0x16a635(0x160)][_0x16a635(0x1c9)](this));}async[a4_0x56cd46(0x1af)](){await RequestQueueHandler['getInstance']()['shutdown']();}async[a4_0x56cd46(0x160)](_0x54d0b7){const _0x500a74=a4_0x56cd46,_0x84846a={'VmrSV':'LogCreated','sRJsH':function(_0x4ff053,_0x44fc17){return _0x4ff053(_0x44fc17);}};try{this[_0x500a74(0x170)]&&!this[_0x500a74(0x170)][_0x500a74(0x195)]&&(_0x54d0b7[_0x500a74(0x1ed)]=this[_0x500a74(0x170)][_0x500a74(0x1ea)]);!_0x54d0b7['hook_run_uuid']&&this['currentTest']&&!this[_0x500a74(0x158)][_0x500a74(0x195)]&&(_0x54d0b7['test_run_uuid']=this[_0x500a74(0x158)][_0x500a74(0x229)]);if(_0x54d0b7[_0x500a74(0x1ed)]||_0x54d0b7[_0x500a74(0x198)]){const _0x3ec469={};_0x3ec469[_0x500a74(0x1f2)]=_0x84846a[_0x500a74(0x19b)],_0x3ec469[_0x500a74(0x19f)]=[_0x54d0b7],await SessionHandler[_0x500a74(0x1d1)](_0x3ec469);}}catch(_0x2c608c){_0x84846a[_0x500a74(0x216)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2c608c);}}async['sendCBTInfo'](_0xcaf699){const _0x6cc0a7=a4_0x56cd46,_0xa93829={'HpCee':_0x6cc0a7(0x1b4),'BgVys':function(_0x336f7f,_0x982742){return _0x336f7f(_0x982742);}};if(!this[_0x6cc0a7(0x1b2)])return;const _0x26252a=this[_0x6cc0a7(0x20d)](this[_0x6cc0a7(0x1fd)]);try{const _0x3ec3c4={};_0x3ec3c4[_0x6cc0a7(0x13a)]=_0xcaf699,_0x3ec3c4[_0x6cc0a7(0x1ff)]=_0x26252a;const _0x3f2403=_0x3ec3c4,_0x3913db={};_0x3913db[_0x6cc0a7(0x1f2)]=_0xa93829['HpCee'],_0x3913db[_0x6cc0a7(0x193)]=_0x3f2403,await SessionHandler['uploadEventData'](_0x3913db);}catch(_0xdc38c8){_0xa93829[_0x6cc0a7(0x20e)](debug,_0x6cc0a7(0x1d7)+_0xdc38c8);}}[a4_0x56cd46(0x20d)](_0x56772b){const _0x4adb7a=a4_0x56cd46,_0x10136c={'pgKrS':function(_0x7ee52b,_0x3c310b){return _0x7ee52b(_0x3c310b);}};return _0x10136c[_0x4adb7a(0x1e1)](fetchPlatformDetails,_0x56772b);}['resetSkipTestHooks']=_0x331d80=>{const _0x3ab9e6=a4_0x56cd46,_0xbe5d86={};_0xbe5d86['qwlYi']=_0x3ab9e6(0x22b),_0xbe5d86[_0x3ab9e6(0x1c8)]='_afterEach';const _0x33c900=_0xbe5d86;if(!_0x331d80||!_0x331d80[_0x3ab9e6(0x1b7)])return;[_0x33c900['qwlYi'],_0x33c900[_0x3ab9e6(0x1c8)]]['forEach'](_0x36fd19=>{const _0x198cac=_0x3ab9e6,_0x19f08d=_0x331d80[_0x198cac(0x1b7)][_0x36fd19];_0x19f08d[_0x198cac(0x224)](_0x2e9c4b=>{const _0x228319=_0x198cac;_0x2e9c4b[_0x228319(0x1ea)]&&(_0x2e9c4b[_0x228319(0x1ea)]=null);});});};[a4_0x56cd46(0x20c)](_0x458b2b){const _0x5e6ba6=a4_0x56cd46,_0x430f2f={'huOen':'codeceptjs','tDHym':function(_0x39a14c){return _0x39a14c();},'LXpYA':function(_0x414cf6,_0x101f51){return _0x414cf6===_0x101f51;},'hIHbL':_0x5e6ba6(0x16a),'Qgnft':_0x5e6ba6(0x1ca),'vvOso':_0x5e6ba6(0x166),'PKHcs':_0x5e6ba6(0x22b)};if(!_0x458b2b||!_0x458b2b[_0x5e6ba6(0x1b7)])return;[_0x430f2f[_0x5e6ba6(0x143)],_0x430f2f[_0x5e6ba6(0x162)],_0x430f2f['PKHcs'],_0x430f2f[_0x5e6ba6(0x18d)]][_0x5e6ba6(0x224)](_0x10cdbd=>{const _0x5c179a=_0x5e6ba6,_0x3f534d=_0x458b2b['parent'][_0x10cdbd]||[];_0x3f534d[_0x5c179a(0x224)](_0x4a722d=>{const _0x5292e8=_0x5c179a;if(_0x4a722d[_0x5292e8(0x1a6)][_0x5292e8(0x1e6)](_0x430f2f[_0x5292e8(0x13e)]))return;if(!_0x4a722d[_0x5292e8(0x1ea)])_0x4a722d[_0x5292e8(0x1ea)]=_0x430f2f[_0x5292e8(0x1de)](uuidv4);else _0x4a722d[_0x5292e8(0x195)]&&_0x430f2f[_0x5292e8(0x203)](_0x10cdbd,_0x430f2f[_0x5292e8(0x18d)])&&(_0x4a722d[_0x5292e8(0x1ea)]=_0x430f2f[_0x5292e8(0x1de)](uuidv4),delete _0x4a722d[_0x5292e8(0x195)]);});}),this[_0x5e6ba6(0x20c)](_0x458b2b['parent']);}[a4_0x56cd46(0x228)](_0x41d29e){const _0x56abec=a4_0x56cd46,_0x55520f={};_0x55520f[_0x56abec(0x176)]='_beforeAll',_0x55520f[_0x56abec(0x200)]=_0x56abec(0x166),_0x55520f[_0x56abec(0x1ab)]=_0x56abec(0x22b),_0x55520f['BbWri']='_afterEach';const _0x5d59f5=_0x55520f;if(!_0x41d29e||!_0x41d29e[_0x56abec(0x1b7)])return[];const _0x833864=[];return[_0x5d59f5['BtFIG'],_0x5d59f5[_0x56abec(0x200)],_0x5d59f5['njfxk'],_0x5d59f5[_0x56abec(0x150)]][_0x56abec(0x224)](_0x39a0d4=>{const _0x352bd8=_0x56abec,_0x2ef88a=_0x41d29e[_0x352bd8(0x1b7)][_0x39a0d4]||[];_0x2ef88a[_0x352bd8(0x224)](_0x8f2121=>{const _0x59f68a=_0x352bd8;_0x8f2121['hookAnalyticsId']&&_0x833864['push'](_0x8f2121[_0x59f68a(0x1ea)]);});}),[]['concat'](_0x833864,this['getHooksForTest'](_0x41d29e[_0x56abec(0x1b7)]));}['getHookType'](_0x1fc7b4){const _0x544b8a=a4_0x56cd46,_0xb71bfd=/^"(?<hook>.*)" hook:.*$/,_0x6a22e6=_0x1fc7b4[_0x544b8a(0x1a6)],_0x5841f3=_0x6a22e6[_0x544b8a(0x20b)](_0xb71bfd);if(_0x5841f3&&_0x5841f3['groups'])return _0x5841f3[_0x544b8a(0x1df)]['hook'][_0x544b8a(0x15a)]()[_0x544b8a(0x144)]('\x20','_');return null;}[a4_0x56cd46(0x22d)](_0x4ba7f7){const _0x53734a=a4_0x56cd46,_0x1016a8={};_0x1016a8['oEAkU']=function(_0x1db592,_0x25dcf6){return _0x1db592===_0x25dcf6;},_0x1016a8[_0x53734a(0x1fe)]=_0x53734a(0x1d5),_0x1016a8[_0x53734a(0x18f)]=_0x53734a(0x1e0);const _0x231210=_0x1016a8,_0x627f34=path[_0x53734a(0x153)];if(_0x231210['oEAkU'](_0x4ba7f7,null)||_0x231210[_0x53734a(0x210)](_0x4ba7f7,'')||_0x231210[_0x53734a(0x210)](_0x4ba7f7,_0x627f34))return null;try{return fs[_0x53734a(0x202)](path[_0x53734a(0x14d)](_0x4ba7f7,_0x231210['mBNOj'],_0x231210[_0x53734a(0x18f)])),_0x4ba7f7;}catch(_0x50bc94){const _0x4ec4bc=path[_0x53734a(0x1ce)](_0x4ba7f7);return this[_0x53734a(0x22d)](_0x4ec4bc);}}[a4_0x56cd46(0x1ac)](_0x41681d){const _0x7486b7=a4_0x56cd46,_0xd78c85={};_0xd78c85['DPMjI']=function(_0x583a23,_0x5a84c1){return _0x583a23>_0x5a84c1;};const _0x11ad23=_0xd78c85;if(_0x41681d[_0x7486b7(0x21a)])return _0x41681d[_0x7486b7(0x21a)];if(_0x41681d[_0x7486b7(0x184)]){const _0xbb1ab2=_0x41681d[_0x7486b7(0x184)]['currentTest']?this[_0x7486b7(0x1ac)](_0x41681d[_0x7486b7(0x184)][_0x7486b7(0x158)]):null;if(_0xbb1ab2)return _0xbb1ab2;}if(_0x41681d[_0x7486b7(0x1b7)]){const _0x409e2a=this[_0x7486b7(0x1ac)](_0x41681d[_0x7486b7(0x1b7)])||(_0x41681d[_0x7486b7(0x1b7)][_0x7486b7(0x184)]&&_0x41681d[_0x7486b7(0x1b7)][_0x7486b7(0x184)][_0x7486b7(0x158)]?this[_0x7486b7(0x1ac)](_0x41681d[_0x7486b7(0x1b7)][_0x7486b7(0x184)]['currentTest']):null);if(_0x409e2a)return _0x409e2a;_0x41681d['parent'][_0x7486b7(0x211)]&&_0x11ad23['DPMjI'](_0x41681d[_0x7486b7(0x1b7)]['suites'][_0x7486b7(0x205)],0x0)&&_0x41681d[_0x7486b7(0x1b7)][_0x7486b7(0x211)]['forEach'](_0x24254b=>{const _0x1fc155=_0x7486b7,_0x38c09d=_0x24254b['ctx']?this['getRootParentFile'](_0x24254b[_0x1fc155(0x184)]):null;if(_0x38c09d)return _0x38c09d;});}return null;}['getHierarchy'](_0x288de5){const _0x5d6925=a4_0x56cd46,_0x459e8f={};_0x459e8f['ZkznB']=function(_0x2f35fc,_0x29a5b7){return _0x2f35fc!==_0x29a5b7;};const _0x34ff31=_0x459e8f,_0xf794b7=[];if(_0x288de5&&_0x288de5[_0x5d6925(0x1b7)]){let _0x6973d7=_0x288de5[_0x5d6925(0x1b7)];while(_0x6973d7&&_0x34ff31[_0x5d6925(0x1f6)](_0x6973d7['title'],'')){_0xf794b7[_0x5d6925(0x1c3)](_0x6973d7[_0x5d6925(0x1a6)]),_0x6973d7=_0x6973d7['parent'];}}return _0xf794b7;}[a4_0x56cd46(0x1c6)](_0x26af3d,_0x84c756,_0x5aaa53=undefined){const _0x3b2765=a4_0x56cd46,_0x46d8b9={'BCzUX':function(_0x16f905,_0x101895){return _0x16f905(_0x101895);},'BkObT':function(_0x6223f7){return _0x6223f7();},'JkFqw':function(_0x1383f0){return _0x1383f0();},'IUJFF':function(_0x5bd3c1){return _0x5bd3c1();},'vLCvJ':function(_0x1123c0,_0x3380aa){return _0x1123c0(_0x3380aa);},'DRlnI':_0x3b2765(0x1ee),'NhQSc':_0x3b2765(0x190),'FdpDx':function(_0x43303b,_0x1c9b15){return _0x43303b!==_0x1c9b15;},'ablJj':'File\x20path\x20could\x20not\x20be\x20found','pjqGu':'pending','zaCAe':_0x3b2765(0x156),'myZPX':'passed','YOXnw':'skipped','adhrQ':_0x3b2765(0x13d),'VqtHE':function(_0x58b5ac,_0x49e056){return _0x58b5ac-_0x49e056;},'JMgKo':function(_0x2ee823,_0x538c5a,_0x329e63,_0xf2a105,_0x10b9c1){return _0x2ee823(_0x538c5a,_0x329e63,_0xf2a105,_0x10b9c1);},'JRIlL':'integrations','LZHdb':_0x3b2765(0x1aa),'yrYXG':_0x3b2765(0x16d),'dhbWj':_0x3b2765(0x152),'RwwVw':_0x3b2765(0x185),'mcRhg':_0x3b2765(0x146),'dmOpc':'expanded','gsiGG':function(_0x1fbc62,_0x16973d){return _0x1fbc62===_0x16973d;},'jZkSC':'hook_run','OnTwI':_0x3b2765(0x193)};if(!this[_0x3b2765(0x1b2)])return;try{if(_0x84c756['fn']&&_0x84c756['fn'][_0x3b2765(0x194)]()['match'](/browserstack internal helper hook/))return;const _0x3c1661=_0x46d8b9[_0x3b2765(0x213)](parseEvent,_0x26af3d);if(!_0x3c1661)return;if(_0x3c1661[_0x3b2765(0x223)]){this[_0x3b2765(0x158)]=_0x84c756,this['currentHook']=null;if(_0x3c1661[_0x3b2765(0x15c)]||_0x3c1661['skipped']){_0x84c756['startedAt']=new Date(),_0x84c756['markedStatus']=![];if(!_0x84c756[_0x3b2765(0x229)])_0x84c756[_0x3b2765(0x229)]=_0x46d8b9[_0x3b2765(0x169)](uuidv4);else _0x84c756['markedStatus']&&(!_0x84c756[_0x3b2765(0x149)]&&(_0x84c756[_0x3b2765(0x149)]=_0x84c756['testAnalyticsId']),_0x84c756[_0x3b2765(0x229)]=_0x46d8b9[_0x3b2765(0x169)](uuidv4));}}else{if(_0x3c1661['hook']){this[_0x3b2765(0x170)]=_0x84c756;if(_0x3c1661['started']){_0x84c756[_0x3b2765(0x1d9)]=new Date(),_0x84c756[_0x3b2765(0x195)]=![];if(!_0x84c756[_0x3b2765(0x1ea)])_0x84c756['hookAnalyticsId']=_0x46d8b9['JkFqw'](uuidv4);else _0x84c756[_0x3b2765(0x1ea)]&&_0x84c756[_0x3b2765(0x195)]&&(_0x84c756[_0x3b2765(0x1ea)]=_0x46d8b9[_0x3b2765(0x1e7)](uuidv4));}}}if(_0x3c1661[_0x3b2765(0x1cc)]&&_0x84c756[_0x3b2765(0x195)])return;let _0x34e67e;try{_0x34e67e=this[_0x3b2765(0x1ac)](_0x84c756);}catch(_0x4ecce3){logger[_0x3b2765(0x1b9)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x4ecce3),_0x34e67e=null;}const _0x6a7f61=_0x46d8b9['vLCvJ'](require,_0x46d8b9[_0x3b2765(0x1ba)]);let _0x436635=[];_0x5aaa53&&(_0x436635=[_0x5aaa53,_0x46d8b9['NhQSc']]);const _0x134344=_0x46d8b9[_0x3b2765(0x191)](_0x84c756['errorsDetailed'],undefined)?_0x6a7f61['inspect'](_0x84c756[_0x3b2765(0x230)][0x0]):_0x46d8b9[_0x3b2765(0x191)](_0x5aaa53,undefined)?_0x5aaa53['toString']():undefined,_0x1cf3b6=_0x34e67e?this[_0x3b2765(0x22d)](_0x34e67e):null,_0xd3f2dd=_0x34e67e?this[_0x3b2765(0x13c)][_0x3b2765(0x196)](this['getRootParentFile'](_0x84c756)):_0x46d8b9[_0x3b2765(0x187)];let _0x38a097=_0x46d8b9['pjqGu'];const _0x116278=!_0x3c1661[_0x3b2765(0x15c)]?new Date()[_0x3b2765(0x220)]():null;if(_0x3c1661[_0x3b2765(0x1cc)])_0x38a097=_0x5aaa53?_0x46d8b9['zaCAe']:_0x46d8b9['myZPX'],_0x84c756[_0x3b2765(0x195)]=!![];else _0x3c1661[_0x3b2765(0x163)]&&(_0x38a097=_0x46d8b9[_0x3b2765(0x19e)],_0x84c756[_0x3b2765(0x195)]=!![]);const _0x1e423c={'framework':this[_0x3b2765(0x233)],'uuid':_0x84c756[_0x3b2765(0x229)]||_0x84c756[_0x3b2765(0x1ea)],'name':_0x84c756[_0x3b2765(0x1a6)],'body':{'lang':_0x46d8b9[_0x3b2765(0x147)],'code':_0x84c756[_0x3b2765(0x1f4)][_0x3b2765(0x194)]()},'type':_0x84c756['type'],'scope':_0x84c756[_0x3b2765(0x1a5)](),'scopes':this['getHierarchy'](_0x84c756),'file_name':_0xd3f2dd,'vc_filepath':_0x1cf3b6?path[_0x3b2765(0x1e9)](_0x1cf3b6,_0x34e67e):null,'location':_0xd3f2dd,'result':_0x38a097,'failure_reason':_0x134344,'duration_in_ms':_0x84c756['duration']||(_0x3c1661[_0x3b2765(0x1cc)]||_0x3c1661[_0x3b2765(0x163)])?_0x46d8b9[_0x3b2765(0x15f)](Date[_0x3b2765(0x1f3)](),new Date(_0x84c756[_0x3b2765(0x1d9)])['getTime']()):null,'started_at':new Date(_0x84c756[_0x3b2765(0x1d9)])['toISOString'](),'finished_at':_0x116278,'failure':testOpsHelper[_0x3b2765(0x148)]['apply'](null,_0x436635),'failure_type':!_0x134344?null:testOpsHelper[_0x3b2765(0x1d3)](_0x134344),'retry_of':_0x84c756['retryOf']||null,'tags':_0x84c756[_0x3b2765(0x142)]||[],'customRerunParam':{'rerun_name':_0x84c756['fullTitle']()}};_0x46d8b9[_0x3b2765(0x1bd)](appendTesthubParams,_0x1e423c,_0x26af3d,_0x84c756,FRAMEWORKS[_0x3b2765(0x13b)]);if(_0x3c1661['hook'])[_0x1e423c['hook_type'],_0x1e423c[_0x3b2765(0x20f)]]=[this[_0x3b2765(0x181)](_0x84c756),_0x84c756['ctx'][_0x3b2765(0x223)][_0x3b2765(0x1a6)]],_0x3c1661[_0x3b2765(0x1cc)]?_0x46d8b9[_0x3b2765(0x191)](_0x1e423c[_0x3b2765(0x167)],_0x46d8b9['zaCAe'])&&(_0x1e423c[_0x3b2765(0x167)]=_0x46d8b9[_0x3b2765(0x14f)]):_0x1e423c[_0x3b2765(0x1f4)]={};else _0x3c1661[_0x3b2765(0x223)]&&(this[_0x3b2765(0x20c)](_0x84c756),_0x3c1661[_0x3b2765(0x163)]&&this[_0x3b2765(0x17e)](_0x84c756),(_0x3c1661['finished']||_0x3c1661[_0x3b2765(0x163)])&&(_0x1e423c[_0x3b2765(0x14c)]=this[_0x3b2765(0x228)](_0x84c756)));this[_0x3b2765(0x1fd)]&&(_0x3c1661[_0x3b2765(0x15c)]||_0x3c1661[_0x3b2765(0x163)])&&(_0x1e423c[_0x46d8b9[_0x3b2765(0x1f1)]]=this[_0x3b2765(0x20d)](this[_0x3b2765(0x1fd)]));_0x3c1661['test']&&_0x3c1661[_0x3b2765(0x1cc)]&&_0x84c756['bddSteps']&&(_0x1e423c[_0x46d8b9[_0x3b2765(0x17b)]]={'feature':{'name':_0x84c756['parent'][_0x3b2765(0x1a8)][_0x3b2765(0x20f)],'path':_0x1e423c[_0x3b2765(0x1ec)],'description':_0x84c756[_0x3b2765(0x1b7)][_0x3b2765(0x16b)]},'scenario':{'name':_0x84c756['title']},'steps':_0x84c756[_0x3b2765(0x1ae)]});const _0x16fbc1=_0x1e423c[_0x46d8b9[_0x3b2765(0x22f)]][0x0];_0x16fbc1&&(_0x1e423c[_0x46d8b9[_0x3b2765(0x219)]]=_0x16fbc1[_0x46d8b9[_0x3b2765(0x17f)]],_0x1e423c[_0x46d8b9[_0x3b2765(0x1e3)]]=_0x16fbc1[_0x46d8b9[_0x3b2765(0x206)]]);if(_0x84c756[_0x3b2765(0x1ae)])for(const _0x580105 of _0x84c756[_0x3b2765(0x1ae)]){!_0x580105[_0x3b2765(0x204)]&&(_0x580105[_0x3b2765(0x204)]=new Date()['toISOString'](),_0x46d8b9[_0x3b2765(0x1eb)](_0x580105[_0x3b2765(0x167)],_0x46d8b9[_0x3b2765(0x1b8)])&&(_0x16fbc1?(_0x580105[_0x3b2765(0x167)]=_0x46d8b9[_0x3b2765(0x174)],_0x580105[_0x3b2765(0x16d)]=_0x16fbc1[_0x46d8b9[_0x3b2765(0x17f)]][0x0]):_0x580105['result']=_0x46d8b9[_0x3b2765(0x14f)]));}const _0x55842d={};_0x55842d[_0x3b2765(0x1f2)]=_0x3c1661[_0x3b2765(0x163)]?TEST_EVENTS['TEST_RUN_FINISHED']:_0x26af3d;const _0x44dc41=_0x55842d;return _0x3c1661[_0x3b2765(0x221)]?_0x44dc41[_0x46d8b9[_0x3b2765(0x15e)]]=_0x1e423c:_0x44dc41[_0x46d8b9[_0x3b2765(0x17a)]]=_0x1e423c,_0x44dc41;}catch(_0x597b80){logger[_0x3b2765(0x1b9)](_0x3b2765(0x1e5)+_0x26af3d+_0x3b2765(0x18c)+_0x597b80);}}async[a4_0x56cd46(0x1d8)](_0x259754,_0x270ff0){const _0x3db264=a4_0x56cd46;if(!this[_0x3db264(0x1b2)]||!_0x270ff0||!_0x259754)return![];try{return await SessionHandler['uploadEventData'](_0x270ff0);}catch(_0xca4394){logger[_0x3db264(0x1b9)](_0x3db264(0x1db)+_0x259754+_0x3db264(0x18c)+_0xca4394);}}[a4_0x56cd46(0x18e)](_0x5c26d7){const _0x1ea02f=a4_0x56cd46,_0x330e2a={};_0x330e2a['oZNre']=_0x1ea02f(0x1e2);const _0x4ff466=_0x330e2a;return{'id':_0x5c26d7[_0x1ea02f(0x141)],'text':_0x5c26d7[_0x1ea02f(0x1a4)],'keyword':_0x5c26d7[_0x1ea02f(0x186)],'started_at':_0x5c26d7[_0x1ea02f(0x1d9)][_0x1ea02f(0x220)](),'result':_0x4ff466[_0x1ea02f(0x1b6)]};}[a4_0x56cd46(0x1b3)](_0x5ac978){const _0x13b02f=a4_0x56cd46,_0x4e48eb={'ecAWr':function(_0x39a2c8){return _0x39a2c8();}};!this['currentTest']['bddSteps']&&(this[_0x13b02f(0x158)][_0x13b02f(0x1ae)]=[]),!_0x5ac978[_0x13b02f(0x141)]&&(_0x5ac978[_0x13b02f(0x141)]=_0x4e48eb[_0x13b02f(0x21d)](uuidv4),_0x5ac978[_0x13b02f(0x1d9)]=new Date(),this[_0x13b02f(0x158)][_0x13b02f(0x1ae)]['push'](this['initializeBddStep'](_0x5ac978)));}[a4_0x56cd46(0x1d4)](_0x6a07fb){const _0x582caa=a4_0x56cd46,_0x16e1e6={'fqLdU':function(_0x4a9752,_0x200bc5){return _0x4a9752(_0x200bc5);},'QnUWL':_0x582caa(0x218),'aTVmi':_0x582caa(0x1e2),'FlERk':_0x582caa(0x1dd),'Ybypw':function(_0x46ddb9,_0x99521c){return _0x46ddb9-_0x99521c;}};let _0x2652ef=this[_0x582caa(0x158)][_0x582caa(0x1ae)][_0x582caa(0x1b0)](_0x283a07=>_0x283a07['id']===_0x6a07fb[_0x582caa(0x141)]);_0x16e1e6[_0x582caa(0x1c2)](isUndefined,_0x2652ef)&&(_0x2652ef=this[_0x582caa(0x18e)](_0x6a07fb)),_0x2652ef[_0x582caa(0x167)]=[_0x16e1e6['QnUWL'],_0x16e1e6[_0x582caa(0x20a)]][_0x582caa(0x1e6)](_0x6a07fb['status'])?_0x16e1e6[_0x582caa(0x1fa)]:_0x6a07fb[_0x582caa(0x1f0)],_0x2652ef[_0x582caa(0x204)]=new Date()[_0x582caa(0x220)](),_0x2652ef[_0x582caa(0x19c)]=_0x16e1e6[_0x582caa(0x14a)](Date[_0x582caa(0x1f3)](),_0x6a07fb[_0x582caa(0x1d9)][_0x582caa(0x1ad)]()),_0x2652ef[_0x582caa(0x16d)]=_0x6a07fb[_0x582caa(0x190)]?_0x6a07fb[_0x582caa(0x190)][_0x582caa(0x1a2)]:null;}}const a4_0x28cce8={};a4_0x28cce8[a4_0x56cd46(0x226)]=O11yHelper,a4_0x28cce8['STATE_PASSED']=STATE_PASSED,a4_0x28cce8[a4_0x56cd46(0x1f7)]=STATE_FAILED,a4_0x28cce8[a4_0x56cd46(0x209)]=TEST_EVENTS,module['exports']=a4_0x28cce8;function a4_0x44ae(){const _0x59b42b=['body','then','ZkznB','STATE_FAILED','swAWk','../../helpers/logger','FlERk','qXvry','PLAYWRIGHT_HUB_URL','driver','mBNOj','integrations','YLmGP','../utils/constants','statSync','LXpYA','finished_at','length','dmOpc','TEST_RUN_FINISHED','zQZmb','TEST_EVENTS','aTVmi','match','mapTestHooks','getCBTInfo','BgVys','name','oEAkU','suites','LNjHR','BCzUX','_testEnv','patchConsoleLogger','sRJsH','gNtlc','success','dhbWj','file','Playwright','prototype','ecAWr','location_prefix','mTiyz','toISOString','hook','AXaby','test','forEach','HOOK_RUN_STARTED','O11yHelper','bwBaT','getHooksForTest','testAnalyticsId','apply','_beforeEach','VHQSR','findGitConfig','AECVR','yrYXG','errorsDetailed','zFmyI','Not\x20able\x20to\x20import\x20Browser','frameworkName','SfUCj','IFKAU','../mocha/test-observability/mochaUtils','connect','uuid','CODECEPT','_paths','javascript','huOen','lgSJB','cwd','stepAnalyticsId','tags','Qgnft','replace','TestRunStarted','failure_reason_expanded','adhrQ','failureData','retryOf','Ybypw','./helper.js','hooks','join','pid','myZPX','BbWri','789257GRbzmD','failure_backtrace','sep','5255tRsILr','179145MZjXPF','failed','DCxzQ','currentTest','constructor','toUpperCase','427708ZXbZsK','started','defineProperty','jZkSC','VqtHE','appendTestItemLog','../../helpers/helper','vvOso','skipped','HookRunStarted','Irvak','_afterAll','result','bs:addLog:','BkObT','_afterEach','comment','4614DjalcK','failure','3NlnSas','iWiKv','currentHook','TEST_RUN_SKIPPED','accessibilityPlatform','obsBrowserTypeMockApplied','zaCAe','rKAqu','BtFIG','../playwright/sessionDetails','setupBrowserDetails','TestRunFinished','OnTwI','LZHdb','TestRunSkipped','XwBiz','resetSkipTestHooks','RwwVw','wsEndpoint','getHookType','../../helpers/test-observability/constants','PoRKv','ctx','backtrace','keyword','ablJj','56ObJdxB','../../helpers/test-observability/requestQueueHandler','PathHelper','NiTbr','\x20with\x20error\x20:\x20','hIHbL','initializeBddStep','dxEqp','err','FdpDx','Failed\x20to\x20parse\x20wsendpoint\x20','test_run','toString','markedStatus','prefixTestPath','Appud','test_run_uuid','__cloud_provider___','client','VmrSV','duration','EpoXa','YOXnw','logs','180360BwliaG','path','message','BrowserType','text','fullTitle','title','browserstack','feature','cdvfj','meta','njfxk','getRootParentFile','getTime','bddSteps','stop','find','MEnaj','enabled','bddStepStart','CBTSessionCreated','6642730BdwFcS','oZNre','parent','pjqGu','debug','DRlnI','toLowerCase','stringify','JMgKo','../playwright/accessibility-helper','TfrEJ','removeAllListeners','split','fqLdU','push','RvjYi','fFOqX','captureEvent','launch','uBbWa','bind','_beforeAll','BBLgC','finished','qoJuO','dirname','winstonLogger','XzNti','uploadEventData','lib','getFailureType','bddStepFinish','.git','Rtfia','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','fireEvent','startedAt','start','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','BhlWP','passed','tDHym','groups','config','pgKrS','pending','mcRhg','1503020hSvetd','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','includes','IUJFF','DTJfF','relative','hookAnalyticsId','gsiGG','file_name','hook_run_uuid','util','cpLSs','status','JRIlL','event_type','now'];a4_0x44ae=function(){return _0x59b42b;};return a4_0x44ae();}
1
+ const a4_0x3290a7=a4_0x5bed;(function(_0x29a11d,_0xf30ba1){const _0x798db=a4_0x5bed,_0x23e65c=_0x29a11d();while(!![]){try{const _0x1fc61d=parseInt(_0x798db(0x19c))/0x1+-parseInt(_0x798db(0xdc))/0x2+parseInt(_0x798db(0x17f))/0x3*(parseInt(_0x798db(0x179))/0x4)+-parseInt(_0x798db(0xd1))/0x5+-parseInt(_0x798db(0x1b7))/0x6+-parseInt(_0x798db(0x158))/0x7+parseInt(_0x798db(0x17d))/0x8;if(_0x1fc61d===_0xf30ba1)break;else _0x23e65c['push'](_0x23e65c['shift']());}catch(_0x2f3fdd){_0x23e65c['push'](_0x23e65c['shift']());}}}(a4_0x2cf1,0x187a8));function a4_0x5bed(_0x54855b,_0xdf027a){const _0x2cf175=a4_0x2cf1();return a4_0x5bed=function(_0x5bed58,_0x554b2f){_0x5bed58=_0x5bed58-0xcb;let _0x254f0d=_0x2cf175[_0x5bed58];return _0x254f0d;},a4_0x5bed(_0x54855b,_0xdf027a);}const path=require(a4_0x3290a7(0x139)),fs=require('fs'),{v4:uuidv4}=require(a4_0x3290a7(0xce)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x3290a7(0xd0)),testOpsHelper=require(a4_0x3290a7(0x11f)),{getTestEnv}=require(a4_0x3290a7(0x19e)),{FRAMEWORKS}=require(a4_0x3290a7(0x133)),logger=require('../../helpers/logger')[a4_0x3290a7(0x1a1)],SessionHandler=require(a4_0x3290a7(0x1b0)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x3290a7(0x157)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x3290a7(0xee)),{fetchPlatformDetails}=require(a4_0x3290a7(0xe7)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x3290a7(0x19f),STATE_FAILED=a4_0x3290a7(0x13a),a4_0x156e7f={};a4_0x156e7f[a4_0x3290a7(0xe9)]=a4_0x3290a7(0x18a),a4_0x156e7f[a4_0x3290a7(0x121)]=a4_0x3290a7(0xf1),a4_0x156e7f[a4_0x3290a7(0x169)]='TestRunSkipped',a4_0x156e7f[a4_0x3290a7(0xf7)]=a4_0x3290a7(0x196),a4_0x156e7f['HOOK_RUN_FINISHED']=a4_0x3290a7(0x127);const TEST_EVENTS=a4_0x156e7f,parseEvent=_0x51c5bd=>{const _0x197a70=a4_0x3290a7,_0x3f1cac={};_0x3f1cac[_0x197a70(0x102)]=function(_0x430848,_0x266e8d){return _0x430848<_0x266e8d;},_0x3f1cac['DnRhp']=function(_0x321f30,_0x45e34a){return _0x321f30===_0x45e34a;},_0x3f1cac[_0x197a70(0x198)]=_0x197a70(0x10f),_0x3f1cac['yPYYX']=_0x197a70(0x16c),_0x3f1cac[_0x197a70(0x146)]=_0x197a70(0x150),_0x3f1cac[_0x197a70(0xcc)]=function(_0x4bf32f,_0xffdee6){return _0x4bf32f===_0xffdee6;},_0x3f1cac[_0x197a70(0x140)]=_0x197a70(0x1a5),_0x3f1cac[_0x197a70(0x11d)]=_0x197a70(0xfa);const _0x3abec3=_0x3f1cac,_0x3a9271=_0x51c5bd[_0x197a70(0x1ab)](/^(.*)Run(.*)$/);if(!_0x3a9271)return null;if(_0x3abec3[_0x197a70(0x102)](_0x3a9271[_0x197a70(0x135)],0x3))return null;const _0x137c5a=_0x3a9271[0x1][_0x197a70(0x10e)](),_0xfd5278=_0x3a9271[0x2]['toLowerCase']();return{'test':_0x3abec3['DnRhp'](_0x137c5a,_0x3abec3[_0x197a70(0x198)]),'hook':_0x3abec3[_0x197a70(0x1b1)](_0x137c5a,_0x3abec3[_0x197a70(0xfc)]),'skipped':_0x3abec3[_0x197a70(0x1b1)](_0xfd5278,_0x3abec3['CBcuB']),'started':_0x3abec3[_0x197a70(0xcc)](_0xfd5278,_0x3abec3[_0x197a70(0x140)]),'finished':_0x3abec3['mWEEf'](_0xfd5278,_0x3abec3[_0x197a70(0x11d)])};},mockPWBrowserType=_0x3879ac=>{const _0x4c02ce=a4_0x3290a7,_0x4780ae={'YVYeJ':function(_0x47579c,_0x1a44ab,_0x56671a){return _0x47579c(_0x1a44ab,_0x56671a);},'WYdlR':_0x4c02ce(0x149),'jTwRv':function(_0xaa3702,_0x26ffef){return _0xaa3702(_0x26ffef);},'cMRvx':_0x4c02ce(0x1a4),'lIwAx':function(_0x20c34c,_0xd51341){return _0x20c34c===_0xd51341;},'XZRqN':_0x4c02ce(0x1a8),'JAhQN':_0x4c02ce(0xe3),'kyOXE':_0x4c02ce(0x11c),'nYgTI':'browserType.js','HWVci':function(_0x255211,_0xdecd2e){return _0x255211(_0xdecd2e);},'jYQis':function(_0x4c36d7,_0xf92021){return _0x4c36d7(_0xf92021);},'BVraY':'Not\x20able\x20to\x20import\x20Browser','eXxVx':_0x4c02ce(0x17c),'qMsXb':_0x4c02ce(0x1b5)},_0x4cda32=path[_0x4c02ce(0x12c)](_0x4780ae[_0x4c02ce(0x176)],_0x4780ae['kyOXE'],_0x4780ae['nYgTI']),_0x124dd7=_0x4780ae[_0x4c02ce(0xf0)](importFileFromPWCore,_0x4cda32);if(!_0x124dd7){_0x4780ae['jYQis'](debug,_0x4780ae[_0x4c02ce(0x161)]);return;}const _0x41229d=_0x124dd7['BrowserType'],_0xa13ce6=_0x41229d['prototype'];if(_0xa13ce6['obsBrowserTypeMockApplied'])return;const _0x249d62=_0xa13ce6[_0x4c02ce(0x17c)];Object[_0x4c02ce(0x199)](_0xa13ce6,_0x4780ae[_0x4c02ce(0x118)],{'get':function(){const _0x58ffc1={'oaKTO':function(_0x415ccf,_0xfedae3){const _0x4f7c03=a4_0x5bed;return _0x4780ae[_0x4f7c03(0xd2)](_0x415ccf,_0xfedae3);},'mWVLX':_0x4780ae['XZRqN']};return async function _0x35174e(_0x3b83b8,_0x3c25a5){const _0x525596=a4_0x5bed,_0x5715aa=_0x4780ae['YVYeJ'](nestedKeyValue,_0x3b83b8,[_0x4780ae[_0x525596(0xf9)]])||_0x3b83b8;let _0x30dfeb=null,_0x1e6cfe=null;try{[_0x1e6cfe,_0x30dfeb]=_0x5715aa?_0x4780ae['jTwRv'](parseWSEndpoint,_0x5715aa):[null,null],global[_0x525596(0x1a6)]=_0x30dfeb,_0x1e6cfe[_0x525596(0x11a)](_0x4780ae['cMRvx'])&&(global['__cloud_provider___']=_0x4780ae[_0x525596(0xd4)]);}catch(_0x33435f){logger[_0x525596(0x157)](_0x525596(0x17a)+_0x5715aa+'\x20'+_0x33435f);}_0x4780ae[_0x525596(0xe2)](processAccessibilityCaps,_0x30dfeb,_0x1e6cfe);if(global[_0x525596(0xf6)]){const _0x228a86=await _0xa13ce6[_0x525596(0x197)][_0x525596(0x14b)](this,[''+Constants[_0x525596(0x132)]+_0x4780ae[_0x525596(0x1ad)](encodeURIComponent,JSON['stringify'](_0x30dfeb))]);return PlaywrightSessionDetails[_0x525596(0x174)](_0x228a86,_0x3879ac,_0x5715aa),_0x228a86;}return _0x249d62[_0x525596(0x14b)](this,arguments)[_0x525596(0x192)](_0x1fb5a1=>{const _0x117def=_0x525596;let _0x293ab6=_0x3b83b8[_0x117def(0x149)];return _0x58ffc1[_0x117def(0x126)](typeof _0x3b83b8,_0x58ffc1['mWVLX'])&&(_0x293ab6=_0x3b83b8),PlaywrightSessionDetails[_0x117def(0x174)](_0x1fb5a1,_0x3879ac,_0x293ab6),_0x1fb5a1;});};}});const _0x246e00=_0xa13ce6['launch'];Object[_0x4c02ce(0x199)](_0xa13ce6,_0x4780ae['qMsXb'],{'get':function(){return async function _0x3efe1a(){const _0x263a0b=a4_0x5bed;return _0x246e00[_0x263a0b(0x14b)](this,arguments)[_0x263a0b(0x192)](_0x7fe7f1=>{const _0x595b74=_0x263a0b;return PlaywrightSessionDetails[_0x595b74(0x174)](_0x7fe7f1,null),_0x7fe7f1;});};}});};class O11yHelper{[a4_0x3290a7(0xf5)]=null;[a4_0x3290a7(0x11e)]=null;[a4_0x3290a7(0xd6)]=![];[a4_0x3290a7(0x188)]=![];constructor(_0x3d1549,_0x42ba91){const _0x1422c3=a4_0x3290a7,_0xfcda91={'KORku':_0x1422c3(0xe0),'apdhz':function(_0x55b99b,_0x407dca){return _0x55b99b===_0x407dca;},'kiWKi':_0x1422c3(0xed),'bSTEu':function(_0x3225c9,_0x3fe73d){return _0x3225c9(_0x3fe73d);},'zbYsc':function(_0x192a76){return _0x192a76();},'aGXpF':function(_0x5ee285){return _0x5ee285();}},_0x1c7904=_0xfcda91[_0x1422c3(0x13f)][_0x1422c3(0x190)]('|');let _0x1d9d55=0x0;while(!![]){switch(_0x1c7904[_0x1d9d55++]){case'0':this[_0x1422c3(0x104)]=_0x3d1549;continue;case'1':this[_0x1422c3(0x188)]=_0x42ba91[_0x1422c3(0x188)];continue;case'2':this['_paths']=new testOpsHelper[(_0x1422c3(0xec))]({'cwd':process[_0x1422c3(0x183)]()},this[_0x1422c3(0x186)][_0x1422c3(0x1a9)]);continue;case'3':this[_0x1422c3(0x104)]&&_0xfcda91['apdhz'](this[_0x1422c3(0x104)][_0x1422c3(0x147)][_0x1422c3(0x152)],_0xfcda91[_0x1422c3(0x19d)])&&_0xfcda91[_0x1422c3(0x109)](mockPWBrowserType,null);continue;case'4':this[_0x1422c3(0x186)]=_0xfcda91['zbYsc'](getTestEnv);continue;case'5':this[_0x1422c3(0xd6)]=_0xfcda91[_0x1422c3(0x125)](shouldProcessEventForTesthub);continue;}break;}}[a4_0x3290a7(0x180)](){const _0xd972d=a4_0x3290a7;if(!this[_0xd972d(0xd6)])return;testOpsHelper[_0xd972d(0x12d)](),process['removeAllListeners'](_0xd972d(0x11b)+process[_0xd972d(0xd5)]),process['on'](_0xd972d(0x11b)+process[_0xd972d(0xd5)],this[_0xd972d(0x113)][_0xd972d(0xd8)](this));}async[a4_0x3290a7(0x14d)](){const _0x7471d7=a4_0x3290a7;await RequestQueueHandler[_0x7471d7(0xd7)]()[_0x7471d7(0x101)]();}async[a4_0x3290a7(0x113)](_0x39c436){const _0x36e981=a4_0x3290a7,_0x3a0015={'MtXBx':_0x36e981(0xdb),'UlBTc':function(_0x379107,_0x485258){return _0x379107(_0x485258);}};try{this[_0x36e981(0x11e)]&&!this[_0x36e981(0x11e)][_0x36e981(0xfb)]&&(_0x39c436['hook_run_uuid']=this[_0x36e981(0x11e)]['hookAnalyticsId']);!_0x39c436[_0x36e981(0x1a3)]&&this[_0x36e981(0xf5)]&&!this[_0x36e981(0xf5)][_0x36e981(0xfb)]&&(_0x39c436[_0x36e981(0x10a)]=this[_0x36e981(0xf5)][_0x36e981(0x171)]);if(_0x39c436['hook_run_uuid']||_0x39c436[_0x36e981(0x10a)]){const _0x40f3a0={};_0x40f3a0['event_type']=_0x3a0015[_0x36e981(0x1b6)],_0x40f3a0[_0x36e981(0x112)]=[_0x39c436],await SessionHandler[_0x36e981(0x116)](_0x40f3a0);}}catch(_0x4cf18b){_0x3a0015[_0x36e981(0xfe)](debug,_0x36e981(0x1b8)+_0x4cf18b);}}async['sendCBTInfo'](_0xff7167){const _0x439db5=a4_0x3290a7,_0x32a353={'PcgPI':_0x439db5(0x193),'vDvRw':function(_0x2afc1c,_0x4b7d94){return _0x2afc1c(_0x4b7d94);}};if(!this[_0x439db5(0xd6)])return;const _0x4518bd=this['getCBTInfo'](this[_0x439db5(0x104)]);try{const _0x57496c={};_0x57496c[_0x439db5(0xce)]=_0xff7167,_0x57496c[_0x439db5(0xde)]=_0x4518bd;const _0x48a004=_0x57496c,_0x4364f0={};_0x4364f0[_0x439db5(0x1ac)]=_0x32a353[_0x439db5(0x16a)],_0x4364f0[_0x439db5(0x13b)]=_0x48a004,await SessionHandler['uploadEventData'](_0x4364f0);}catch(_0x1c7952){_0x32a353['vDvRw'](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x1c7952);}}[a4_0x3290a7(0x159)](_0x4856ae){const _0x168c39=a4_0x3290a7,_0x124336={'whJJs':function(_0x518523,_0xd4117f){return _0x518523(_0xd4117f);}};return _0x124336[_0x168c39(0x1b2)](fetchPlatformDetails,_0x4856ae);}[a4_0x3290a7(0x114)]=_0x1a3428=>{const _0xea6317=a4_0x3290a7,_0x3d11c2={};_0x3d11c2[_0xea6317(0xda)]=_0xea6317(0x16e),_0x3d11c2['ZfXbV']=_0xea6317(0x12f);const _0x265449=_0x3d11c2;if(!_0x1a3428||!_0x1a3428[_0xea6317(0x19b)])return;[_0x265449['SQAiT'],_0x265449[_0xea6317(0x170)]][_0xea6317(0x18c)](_0x51ef62=>{const _0x5453da=_0xea6317,_0x399735=_0x1a3428[_0x5453da(0x19b)][_0x51ef62];_0x399735[_0x5453da(0x18c)](_0x489256=>{const _0x5b5ddc=_0x5453da;_0x489256['hookAnalyticsId']&&(_0x489256[_0x5b5ddc(0x100)]=null);});});};[a4_0x3290a7(0x19a)](_0x4bf1e9){const _0x7c660=a4_0x3290a7,_0x13886d={'sadNV':_0x7c660(0xcb),'eJQxc':function(_0x236f88){return _0x236f88();},'XvdMv':function(_0x5deb3a,_0x1e8c61){return _0x5deb3a===_0x1e8c61;},'EvqTu':'_afterEach','rUIkh':_0x7c660(0x115),'Naovs':'_afterAll','atdAk':_0x7c660(0x16e)};if(!_0x4bf1e9||!_0x4bf1e9[_0x7c660(0x19b)])return;[_0x13886d[_0x7c660(0x155)],_0x13886d[_0x7c660(0x173)],_0x13886d[_0x7c660(0x18b)],_0x13886d['EvqTu']]['forEach'](_0x3fbb73=>{const _0x589d21=_0x7c660,_0x309653={'ndSqg':_0x13886d[_0x589d21(0xef)],'lsvkU':function(_0x45e301){const _0x5b3158=_0x589d21;return _0x13886d[_0x5b3158(0xf2)](_0x45e301);},'KHcua':function(_0x25ec18,_0x2fd05e){const _0x280b09=_0x589d21;return _0x13886d[_0x280b09(0x1b4)](_0x25ec18,_0x2fd05e);},'IJbYH':_0x13886d['EvqTu']},_0x417514=_0x4bf1e9[_0x589d21(0x19b)][_0x3fbb73]||[];_0x417514[_0x589d21(0x18c)](_0x4bc036=>{const _0x5c4898=_0x589d21;if(_0x4bc036[_0x5c4898(0x128)][_0x5c4898(0x11a)](_0x309653[_0x5c4898(0xfd)]))return;if(!_0x4bc036[_0x5c4898(0x100)])_0x4bc036[_0x5c4898(0x100)]=_0x309653[_0x5c4898(0x187)](uuidv4);else _0x4bc036[_0x5c4898(0xfb)]&&_0x309653['KHcua'](_0x3fbb73,_0x309653[_0x5c4898(0x103)])&&(_0x4bc036['hookAnalyticsId']=_0x309653[_0x5c4898(0x187)](uuidv4),delete _0x4bc036['markedStatus']);});}),this['mapTestHooks'](_0x4bf1e9['parent']);}['getHooksForTest'](_0x39efbe){const _0x3bc1e6=a4_0x3290a7,_0x1a77b5={};_0x1a77b5['CpbCU']='_beforeAll',_0x1a77b5[_0x3bc1e6(0x111)]=_0x3bc1e6(0x1a2),_0x1a77b5[_0x3bc1e6(0xe6)]=_0x3bc1e6(0x16e),_0x1a77b5[_0x3bc1e6(0x15a)]=_0x3bc1e6(0x12f);const _0xd9c411=_0x1a77b5;if(!_0x39efbe||!_0x39efbe[_0x3bc1e6(0x19b)])return[];const _0x4d7ea8=[];return[_0xd9c411['CpbCU'],_0xd9c411['iXZbp'],_0xd9c411[_0x3bc1e6(0xe6)],_0xd9c411[_0x3bc1e6(0x15a)]][_0x3bc1e6(0x18c)](_0x34294a=>{const _0x560632=_0x3bc1e6,_0x5d6cf2=_0x39efbe[_0x560632(0x19b)][_0x34294a]||[];_0x5d6cf2[_0x560632(0x18c)](_0x277754=>{const _0xc60f1a=_0x560632;_0x277754[_0xc60f1a(0x100)]&&_0x4d7ea8['push'](_0x277754[_0xc60f1a(0x100)]);});}),[][_0x3bc1e6(0x122)](_0x4d7ea8,this['getHooksForTest'](_0x39efbe[_0x3bc1e6(0x19b)]));}[a4_0x3290a7(0x105)](_0x2bb861){const _0x4e2a99=a4_0x3290a7,_0x581171=/^"(?<hook>.*)" hook:.*$/,_0x576619=_0x2bb861[_0x4e2a99(0x128)],_0x5cfb6a=_0x576619['match'](_0x581171);if(_0x5cfb6a&&_0x5cfb6a['groups'])return _0x5cfb6a[_0x4e2a99(0x175)][_0x4e2a99(0x16c)][_0x4e2a99(0x137)]()[_0x4e2a99(0x17b)]('\x20','_');return null;}[a4_0x3290a7(0x156)](_0x4a029c){const _0x51f3a5=a4_0x3290a7,_0x5dfbf5={};_0x5dfbf5[_0x51f3a5(0x14f)]=function(_0xd9bf21,_0x41e94c){return _0xd9bf21===_0x41e94c;},_0x5dfbf5[_0x51f3a5(0x178)]=function(_0x9de925,_0x4b2ab4){return _0x9de925===_0x4b2ab4;},_0x5dfbf5[_0x51f3a5(0x151)]=_0x51f3a5(0x148),_0x5dfbf5[_0x51f3a5(0xeb)]=_0x51f3a5(0x134);const _0x24397f=_0x5dfbf5,_0x3fa8d6=path[_0x51f3a5(0x168)];if(_0x24397f[_0x51f3a5(0x14f)](_0x4a029c,null)||_0x24397f[_0x51f3a5(0x14f)](_0x4a029c,'')||_0x24397f[_0x51f3a5(0x178)](_0x4a029c,_0x3fa8d6))return null;try{return fs[_0x51f3a5(0x182)](path[_0x51f3a5(0x12c)](_0x4a029c,_0x24397f['BNBdJ'],_0x24397f[_0x51f3a5(0xeb)])),_0x4a029c;}catch(_0x4a9b3d){const _0x182c80=path['dirname'](_0x4a029c);return this[_0x51f3a5(0x156)](_0x182c80);}}['getRootParentFile'](_0x2c1f92){const _0x5da05e=a4_0x3290a7,_0x424957={};_0x424957[_0x5da05e(0x119)]=function(_0x416460,_0x2c11dc){return _0x416460>_0x2c11dc;};const _0x3c121d=_0x424957;if(_0x2c1f92[_0x5da05e(0x1b3)])return _0x2c1f92['file'];if(_0x2c1f92[_0x5da05e(0x130)]){const _0x4b3e08=_0x2c1f92[_0x5da05e(0x130)][_0x5da05e(0xf5)]?this[_0x5da05e(0xe4)](_0x2c1f92['ctx']['currentTest']):null;if(_0x4b3e08)return _0x4b3e08;}if(_0x2c1f92[_0x5da05e(0x19b)]){const _0x1b56a8=this['getRootParentFile'](_0x2c1f92[_0x5da05e(0x19b)])||(_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)]&&_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)][_0x5da05e(0xf5)]?this[_0x5da05e(0xe4)](_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x130)]['currentTest']):null);if(_0x1b56a8)return _0x1b56a8;_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)]&&_0x3c121d[_0x5da05e(0x119)](_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)][_0x5da05e(0x135)],0x0)&&_0x2c1f92[_0x5da05e(0x19b)][_0x5da05e(0x1aa)][_0x5da05e(0x18c)](_0x42b9c7=>{const _0x1fb481=_0x5da05e,_0x16ce90=_0x42b9c7[_0x1fb481(0x130)]?this[_0x1fb481(0xe4)](_0x42b9c7[_0x1fb481(0x130)]):null;if(_0x16ce90)return _0x16ce90;});}return null;}['getHierarchy'](_0xe7b163){const _0xb2fd11=a4_0x3290a7,_0x45c9ff={};_0x45c9ff[_0xb2fd11(0xcf)]=function(_0x22dbbe,_0x4e0b75){return _0x22dbbe!==_0x4e0b75;};const _0x215dde=_0x45c9ff,_0x51a38c=[];if(_0xe7b163&&_0xe7b163['parent']){let _0x4e30d3=_0xe7b163[_0xb2fd11(0x19b)];while(_0x4e30d3&&_0x215dde[_0xb2fd11(0xcf)](_0x4e30d3['title'],'')){_0x51a38c[_0xb2fd11(0xd3)](_0x4e30d3['title']),_0x4e30d3=_0x4e30d3['parent'];}}return _0x51a38c;}[a4_0x3290a7(0x18e)](_0x1280e8,_0x56c2a1,_0x14e91c=undefined){const _0x507b9f=a4_0x3290a7,_0x5b9045={'XaVBL':function(_0x29a7bc,_0xbe7fb5){return _0x29a7bc(_0xbe7fb5);},'mpaAL':function(_0x1f925c){return _0x1f925c();},'SqpxA':function(_0x199493){return _0x199493();},'BucfF':_0x507b9f(0x108),'YfxFj':_0x507b9f(0x10d),'gISfp':function(_0x5ce8cd,_0x2b4e86){return _0x5ce8cd!==_0x2b4e86;},'hcomV':function(_0x4dc113,_0x1d55be){return _0x4dc113!==_0x1d55be;},'tDYDG':_0x507b9f(0x124),'fGuJJ':'pending','VTZPU':_0x507b9f(0x13a),'xCcMv':'passed','DInee':_0x507b9f(0x150),'IiHCF':_0x507b9f(0x185),'UFLoJ':function(_0x59a8b6,_0x55dcb7){return _0x59a8b6-_0x55dcb7;},'lDMyC':function(_0x49b1e6,_0x4c369a,_0x12ea31,_0x26054d,_0x1e6f2a){return _0x49b1e6(_0x4c369a,_0x12ea31,_0x26054d,_0x1e6f2a);},'mOqKG':'integrations','tEVZV':'meta','zoSyT':_0x507b9f(0x16f),'FjaPL':_0x507b9f(0x184),'uhTIf':_0x507b9f(0x165),'FhgFu':_0x507b9f(0x16b),'uedwc':_0x507b9f(0x195),'SKybL':function(_0xe40de7,_0x4c2480){return _0xe40de7===_0x4c2480;},'RcgWJ':_0x507b9f(0x1af),'xneQK':_0x507b9f(0x13b)};if(!this[_0x507b9f(0xd6)])return;try{if(_0x56c2a1['fn']&&_0x56c2a1['fn'][_0x507b9f(0x13d)]()['match'](/browserstack internal helper hook/))return;const _0x2423e1=_0x5b9045['XaVBL'](parseEvent,_0x1280e8);if(!_0x2423e1)return;if(_0x2423e1[_0x507b9f(0x10f)]){this[_0x507b9f(0xf5)]=_0x56c2a1,this['currentHook']=null;if(_0x2423e1[_0x507b9f(0x1a5)]||_0x2423e1[_0x507b9f(0x150)]){_0x56c2a1[_0x507b9f(0x153)]=new Date(),_0x56c2a1[_0x507b9f(0xfb)]=![];if(!_0x56c2a1['testAnalyticsId'])_0x56c2a1[_0x507b9f(0x171)]=_0x5b9045['mpaAL'](uuidv4);else _0x56c2a1[_0x507b9f(0xfb)]&&(!_0x56c2a1[_0x507b9f(0x110)]&&(_0x56c2a1[_0x507b9f(0x110)]=_0x56c2a1['testAnalyticsId']),_0x56c2a1[_0x507b9f(0x171)]=_0x5b9045[_0x507b9f(0x15e)](uuidv4));}}else{if(_0x2423e1[_0x507b9f(0x16c)]){this[_0x507b9f(0x11e)]=_0x56c2a1;if(_0x2423e1[_0x507b9f(0x1a5)]){_0x56c2a1[_0x507b9f(0x153)]=new Date(),_0x56c2a1[_0x507b9f(0xfb)]=![];if(!_0x56c2a1['hookAnalyticsId'])_0x56c2a1[_0x507b9f(0x100)]=_0x5b9045[_0x507b9f(0x164)](uuidv4);else _0x56c2a1['hookAnalyticsId']&&_0x56c2a1['markedStatus']&&(_0x56c2a1[_0x507b9f(0x100)]=_0x5b9045[_0x507b9f(0x15e)](uuidv4));}}}if(_0x2423e1[_0x507b9f(0xfa)]&&_0x56c2a1[_0x507b9f(0xfb)])return;let _0x3bc149;try{_0x3bc149=this['getRootParentFile'](_0x56c2a1);}catch(_0x490902){logger[_0x507b9f(0x157)](_0x507b9f(0xe8)+_0x490902),_0x3bc149=null;}const _0x239e7c=_0x5b9045[_0x507b9f(0x131)](require,_0x5b9045[_0x507b9f(0x12b)]);let _0x204375=[];_0x14e91c&&(_0x204375=[_0x14e91c,_0x5b9045[_0x507b9f(0x120)]]);const _0x476491=_0x5b9045[_0x507b9f(0x13e)](_0x56c2a1[_0x507b9f(0x143)],undefined)?_0x239e7c['inspect'](_0x56c2a1[_0x507b9f(0x143)][0x0]):_0x5b9045['hcomV'](_0x14e91c,undefined)?_0x14e91c[_0x507b9f(0x13d)]():undefined,_0x2ef2f6=_0x3bc149?this['findGitConfig'](_0x3bc149):null,_0x933169=_0x3bc149?this[_0x507b9f(0xea)][_0x507b9f(0x194)](this[_0x507b9f(0xe4)](_0x56c2a1)):_0x5b9045['tDYDG'];let _0x47a510=_0x5b9045[_0x507b9f(0x191)];const _0x304fc2=!_0x2423e1[_0x507b9f(0x1a5)]?new Date()['toISOString']():null;if(_0x2423e1['finished'])_0x47a510=_0x14e91c?_0x5b9045['VTZPU']:_0x5b9045['xCcMv'],_0x56c2a1[_0x507b9f(0xfb)]=!![];else _0x2423e1['skipped']&&(_0x47a510=_0x5b9045[_0x507b9f(0x145)],_0x56c2a1[_0x507b9f(0xfb)]=!![]);const _0x43298d={'framework':this[_0x507b9f(0x188)],'uuid':_0x56c2a1[_0x507b9f(0x171)]||_0x56c2a1[_0x507b9f(0x100)],'name':_0x56c2a1[_0x507b9f(0x128)],'body':{'lang':_0x5b9045[_0x507b9f(0xe5)],'code':_0x56c2a1[_0x507b9f(0x106)][_0x507b9f(0x13d)]()},'type':_0x56c2a1[_0x507b9f(0x1a0)],'scope':_0x56c2a1[_0x507b9f(0x123)](),'scopes':this[_0x507b9f(0x129)](_0x56c2a1),'file_name':_0x933169,'vc_filepath':_0x2ef2f6?path[_0x507b9f(0x189)](_0x2ef2f6,_0x3bc149):null,'location':_0x933169,'result':_0x47a510,'failure_reason':_0x476491,'duration_in_ms':_0x56c2a1[_0x507b9f(0x141)]||(_0x2423e1[_0x507b9f(0xfa)]||_0x2423e1['skipped'])?_0x5b9045['UFLoJ'](Date['now'](),new Date(_0x56c2a1[_0x507b9f(0x153)])['getTime']()):null,'started_at':new Date(_0x56c2a1['startedAt'])[_0x507b9f(0xe1)](),'finished_at':_0x304fc2,'failure':testOpsHelper['failureData'][_0x507b9f(0x14b)](null,_0x204375),'failure_type':!_0x476491?null:testOpsHelper[_0x507b9f(0x144)](_0x476491),'retry_of':_0x56c2a1[_0x507b9f(0x110)]||null,'tags':_0x56c2a1[_0x507b9f(0x16d)]||[],'customRerunParam':{'rerun_name':_0x56c2a1[_0x507b9f(0x123)]()}};_0x5b9045[_0x507b9f(0x17e)](appendTesthubParams,_0x43298d,_0x1280e8,_0x56c2a1,FRAMEWORKS[_0x507b9f(0x117)]);if(_0x2423e1[_0x507b9f(0x16c)])[_0x43298d[_0x507b9f(0x13c)],_0x43298d[_0x507b9f(0x152)]]=[this[_0x507b9f(0x105)](_0x56c2a1),_0x56c2a1[_0x507b9f(0x130)][_0x507b9f(0x10f)][_0x507b9f(0x128)]],_0x2423e1[_0x507b9f(0xfa)]?_0x5b9045[_0x507b9f(0x13e)](_0x43298d['result'],_0x5b9045[_0x507b9f(0x177)])&&(_0x43298d[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0xf4)]):_0x43298d[_0x507b9f(0x106)]={};else _0x2423e1[_0x507b9f(0x10f)]&&(this[_0x507b9f(0x19a)](_0x56c2a1),_0x2423e1[_0x507b9f(0x150)]&&this['resetSkipTestHooks'](_0x56c2a1),(_0x2423e1[_0x507b9f(0xfa)]||_0x2423e1[_0x507b9f(0x150)])&&(_0x43298d['hooks']=this['getHooksForTest'](_0x56c2a1)));this[_0x507b9f(0x104)]&&(_0x2423e1[_0x507b9f(0x1a5)]||_0x2423e1[_0x507b9f(0x150)])&&(_0x43298d[_0x5b9045[_0x507b9f(0x154)]]=this[_0x507b9f(0x159)](this[_0x507b9f(0x104)]));_0x2423e1['test']&&_0x2423e1[_0x507b9f(0xfa)]&&_0x56c2a1[_0x507b9f(0xd9)]&&(_0x43298d[_0x5b9045[_0x507b9f(0xf8)]]={'feature':{'name':_0x56c2a1[_0x507b9f(0x19b)]['feature'][_0x507b9f(0x152)],'path':_0x43298d['file_name'],'description':_0x56c2a1[_0x507b9f(0x19b)][_0x507b9f(0x10c)]},'scenario':{'name':_0x56c2a1[_0x507b9f(0x128)]},'steps':_0x56c2a1['bddSteps']});const _0x3be62f=_0x43298d[_0x5b9045[_0x507b9f(0xdf)]][0x0];_0x3be62f&&(_0x43298d[_0x5b9045[_0x507b9f(0x15f)]]=_0x3be62f[_0x5b9045[_0x507b9f(0x15b)]],_0x43298d[_0x5b9045[_0x507b9f(0x10b)]]=_0x3be62f[_0x5b9045[_0x507b9f(0xcd)]]);if(_0x56c2a1['bddSteps'])for(const _0x263ff7 of _0x56c2a1[_0x507b9f(0xd9)]){!_0x263ff7['finished_at']&&(_0x263ff7['finished_at']=new Date()[_0x507b9f(0xe1)](),_0x5b9045[_0x507b9f(0x1a7)](_0x263ff7['result'],_0x5b9045[_0x507b9f(0x191)])&&(_0x3be62f?(_0x263ff7[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0x177)],_0x263ff7['failure']=_0x3be62f[_0x5b9045[_0x507b9f(0x15b)]][0x0]):_0x263ff7[_0x507b9f(0x12e)]=_0x5b9045[_0x507b9f(0xf4)]));}const _0x325c56={};_0x325c56[_0x507b9f(0x1ac)]=_0x2423e1[_0x507b9f(0x150)]?TEST_EVENTS[_0x507b9f(0x121)]:_0x1280e8;const _0xb4dbe8=_0x325c56;return _0x2423e1[_0x507b9f(0x16c)]?_0xb4dbe8[_0x5b9045[_0x507b9f(0xf3)]]=_0x43298d:_0xb4dbe8[_0x5b9045[_0x507b9f(0x172)]]=_0x43298d,_0xb4dbe8;}catch(_0x1fe805){logger[_0x507b9f(0x157)](_0x507b9f(0x15c)+_0x1280e8+'\x20with\x20error\x20:\x20'+_0x1fe805);}}async[a4_0x3290a7(0x18d)](_0x327237,_0x3fbd20){const _0x293d55=a4_0x3290a7;if(!this[_0x293d55(0xd6)]||!_0x3fbd20||!_0x327237)return![];try{return await SessionHandler[_0x293d55(0x116)](_0x3fbd20);}catch(_0x5da792){logger[_0x293d55(0x157)](_0x293d55(0x142)+_0x327237+'\x20with\x20error\x20:\x20'+_0x5da792);}}['initializeBddStep'](_0xa44bcf){const _0xfd796e=a4_0x3290a7,_0x1c3abc={};_0x1c3abc[_0xfd796e(0x14c)]='pending';const _0x6088d=_0x1c3abc;return{'id':_0xa44bcf['stepAnalyticsId'],'text':_0xa44bcf[_0xfd796e(0x12a)],'keyword':_0xa44bcf[_0xfd796e(0x15d)],'started_at':_0xa44bcf[_0xfd796e(0x153)][_0xfd796e(0xe1)](),'result':_0x6088d[_0xfd796e(0x14c)]};}[a4_0x3290a7(0x160)](_0x1c6f89){const _0x19be55=a4_0x3290a7,_0x36915d={'YEtJE':function(_0x455e9c){return _0x455e9c();}};!this['currentTest'][_0x19be55(0xd9)]&&(this[_0x19be55(0xf5)][_0x19be55(0xd9)]=[]),!_0x1c6f89[_0x19be55(0x181)]&&(_0x1c6f89[_0x19be55(0x181)]=_0x36915d['YEtJE'](uuidv4),_0x1c6f89['startedAt']=new Date(),this[_0x19be55(0xf5)][_0x19be55(0xd9)][_0x19be55(0xd3)](this[_0x19be55(0x162)](_0x1c6f89)));}['bddStepFinish'](_0x48e968){const _0x3fea34=a4_0x3290a7,_0x1da8f7={'XNkNx':function(_0x230575,_0x5c3be6){return _0x230575(_0x5c3be6);},'rjvbx':_0x3fea34(0x136),'UFOMR':'pending','UbgSC':'passed','YVPSg':function(_0x19603f,_0x64fe6){return _0x19603f-_0x64fe6;}};let _0x3f24aa=this[_0x3fea34(0xf5)][_0x3fea34(0xd9)]['find'](_0x3f518c=>_0x3f518c['id']===_0x48e968[_0x3fea34(0x181)]);_0x1da8f7['XNkNx'](isUndefined,_0x3f24aa)&&(_0x3f24aa=this[_0x3fea34(0x162)](_0x48e968)),_0x3f24aa['result']=[_0x1da8f7[_0x3fea34(0x107)],_0x1da8f7['UFOMR']][_0x3fea34(0x11a)](_0x48e968[_0x3fea34(0x163)])?_0x1da8f7[_0x3fea34(0x18f)]:_0x48e968[_0x3fea34(0x163)],_0x3f24aa[_0x3fea34(0x1ae)]=new Date()[_0x3fea34(0xe1)](),_0x3f24aa[_0x3fea34(0x141)]=_0x1da8f7['YVPSg'](Date[_0x3fea34(0x14a)](),_0x48e968[_0x3fea34(0x153)][_0x3fea34(0x14e)]()),_0x3f24aa['failure']=_0x48e968[_0x3fea34(0x10d)]?_0x48e968[_0x3fea34(0x10d)]['message']:null;}}function a4_0x2cf1(){const _0x213e2e=['YfxFj','TEST_RUN_FINISHED','concat','fullTitle','File\x20path\x20could\x20not\x20be\x20found','aGXpF','oaKTO','HookRunFinished','title','getHierarchy','text','BucfF','join','patchConsoleLogger','result','_afterEach','ctx','XaVBL','PLAYWRIGHT_HUB_URL','../../helpers/test-observability/constants','config','length','success','toUpperCase','TEST_EVENTS','path','failed','test_run','hook_type','toString','gISfp','KORku','pVHdx','duration','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','errorsDetailed','getFailureType','DInee','CBcuB','constructor','.git','wsEndpoint','now','apply','yDjbi','stop','getTime','LAbaM','skipped','BNBdJ','name','startedAt','mOqKG','rUIkh','findGitConfig','debug','1018668uKsyRg','getCBTInfo','ulleG','uhTIf','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','keyword','SqpxA','FjaPL','bddStepStart','BVraY','initializeBddStep','status','mpaAL','backtrace','exports','STATE_PASSED','sep','TEST_RUN_SKIPPED','PcgPI','failure_reason_expanded','hook','tags','_beforeEach','failure','ZfXbV','testAnalyticsId','xneQK','Naovs','setupBrowserDetails','groups','JAhQN','VTZPU','XOUMc','4zbRkrE','Failed\x20to\x20parse\x20wsendpoint\x20','replace','connect','2440360kLbxUA','lDMyC','83091EObsvu','start','stepAnalyticsId','statSync','cwd','failure_backtrace','javascript','_testEnv','lsvkU','frameworkName','relative','TestRunStarted','atdAk','forEach','fireEvent','captureEvent','UbgSC','split','fGuJJ','then','CBTSessionCreated','prefixTestPath','expanded','HookRunStarted','connectOverCDP','Kzblo','defineProperty','mapTestHooks','parent','118571hOfQoB','kiWKi','../mocha/test-observability/mochaUtils','passed','type','winstonLogger','_afterAll','hook_run_uuid','browserstack','started','__platformCaps','SKybL','string','location_prefix','suites','match','event_type','jTwRv','finished_at','hook_run','../../helpers/test-observability/sessionHandler','DnRhp','whJJs','file','XvdMv','launch','MtXBx','38592RdIfRA','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','codeceptjs','mWEEf','uedwc','uuid','nDdqH','../../helpers/helper','556705arrWxQ','lIwAx','push','cMRvx','pid','enabled','getInstance','bind','bddSteps','SQAiT','LogCreated','175504EMBtwd','STATE_FAILED','integrations','zoSyT','5|1|0|4|2|3','toISOString','YVYeJ','lib','getRootParentFile','IiHCF','Ozmcb','./helper.js','failed\x20to\x20get\x20root\x20parent\x20file\x20','TEST_RUN_STARTED','_paths','aZLai','PathHelper','Playwright','../utils/constants','sadNV','HWVci','TestRunFinished','eJQxc','RcgWJ','xCcMv','currentTest','accessibilityPlatform','HOOK_RUN_STARTED','tEVZV','WYdlR','finished','markedStatus','yPYYX','ndSqg','UlBTc','O11yHelper','hookAnalyticsId','shutdown','KygSZ','IJbYH','driver','getHookType','body','rjvbx','util','bSTEu','test_run_uuid','FhgFu','comment','err','toLowerCase','test','retryOf','iXZbp','logs','appendTestItemLog','resetSkipTestHooks','_beforeAll','uploadEventData','CODECEPT','eXxVx','KrqQW','includes','bs:addLog:','client','PrDhU','currentHook','../../helpers/test-observability/utils'];a4_0x2cf1=function(){return _0x213e2e;};return a4_0x2cf1();}const a4_0x13cbae={};a4_0x13cbae[a4_0x3290a7(0xff)]=O11yHelper,a4_0x13cbae[a4_0x3290a7(0x167)]=STATE_PASSED,a4_0x13cbae[a4_0x3290a7(0xdd)]=STATE_FAILED,a4_0x13cbae[a4_0x3290a7(0x138)]=TEST_EVENTS,module[a4_0x3290a7(0x166)]=a4_0x13cbae;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x1e14ab=a5_0x1f84;(function(_0x422903,_0xd53987){const _0x567c9f=a5_0x1f84,_0x296658=_0x422903();while(!![]){try{const _0x640d38=parseInt(_0x567c9f(0x1c0))/0x1+-parseInt(_0x567c9f(0x1c3))/0x2*(-parseInt(_0x567c9f(0x1d1))/0x3)+-parseInt(_0x567c9f(0x1ef))/0x4+-parseInt(_0x567c9f(0x209))/0x5*(-parseInt(_0x567c9f(0x1cf))/0x6)+parseInt(_0x567c9f(0x1c8))/0x7*(parseInt(_0x567c9f(0x1fb))/0x8)+parseInt(_0x567c9f(0x21d))/0x9+-parseInt(_0x567c9f(0x212))/0xa;if(_0x640d38===_0xd53987)break;else _0x296658['push'](_0x296658['shift']());}catch(_0x2e6416){_0x296658['push'](_0x296658['shift']());}}}(a5_0x5266,0xb924a));const fs=require('fs'),path=require(a5_0x1e14ab(0x21f)),util=require(a5_0x1e14ab(0x218)),logger=require(a5_0x1e14ab(0x1d6))[a5_0x1e14ab(0x1fe)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x1e14ab(0x1bf)),constants=require(a5_0x1e14ab(0x220)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x1e14ab(0x1fc)),testOpsHelper=require(a5_0x1e14ab(0x1cc)),chalk=require(a5_0x1e14ab(0x1ff));function printCucumberStats(_0x5221e9){const _0xb11169=a5_0x1e14ab,_0x1a885c={};_0x1a885c[_0xb11169(0x1c6)]=function(_0x4a5106,_0x5dcc7e){return _0x4a5106>_0x5dcc7e;},_0x1a885c[_0xb11169(0x1eb)]=function(_0x792eb0,_0x4bd6c7){return _0x792eb0-_0x4bd6c7;},_0x1a885c[_0xb11169(0x207)]=function(_0x3bd692,_0x2b40e9){return _0x3bd692-_0x2b40e9;},_0x1a885c[_0xb11169(0x1df)]=function(_0x2e443f,_0x22d146){return _0x2e443f>_0x22d146;},_0x1a885c[_0xb11169(0x229)]=function(_0x34443a,_0x39d84b){return _0x34443a>_0x39d84b;},_0x1a885c['iIJWz']=function(_0x273972,_0x225197){return _0x273972>_0x225197;},_0x1a885c[_0xb11169(0x1e9)]=function(_0x25543a,_0x370539){return _0x25543a>_0x370539;},_0x1a885c['yVWCY']=function(_0x582730,_0x123403){return _0x582730>_0x123403;},_0x1a885c['bwwxg']=function(_0x59bf30,_0x5842df){return _0x59bf30>_0x5842df;},_0x1a885c[_0xb11169(0x222)]=function(_0x54681a,_0x312301){return _0x54681a+_0x312301;},_0x1a885c[_0xb11169(0x202)]=function(_0x1385e6,_0x316099){return _0x1385e6+_0x316099;},_0x1a885c['qSGYa']=function(_0x2f6991,_0x4a7a19){return _0x2f6991+_0x4a7a19;},_0x1a885c[_0xb11169(0x1f7)]=function(_0x2b4281,_0x39bcc8){return _0x2b4281+_0x39bcc8;},_0x1a885c[_0xb11169(0x1e7)]=function(_0x10271,_0x21d721){return _0x10271===_0x21d721;},_0x1a885c[_0xb11169(0x1f1)]='****\x20RESULTS\x20****';const _0x4049a0=_0x1a885c;let _0x363991=0x0;if(_0x4049a0[_0xb11169(0x1e7)](_0x5221e9[_0xb11169(0x20f)],0x0))return _0x363991;return console['log'](chalk[_0xb11169(0x1bd)][_0xb11169(0x217)](_0x4049a0[_0xb11169(0x1f1)])),_0x5221e9[_0xb11169(0x1c2)](_0x1a0ef8=>{const _0x7f7577=_0xb11169,_0x42875b=_0x1a0ef8[0x0],_0x18340e=_0x1a0ef8[0x1];console[_0x7f7577(0x1ec)]('\x0a'+chalk[_0x7f7577(0x1bd)][_0x7f7577(0x1d0)](''+helper['getPlatformName'](_0x42875b)));const _0x495dc8=_0x18340e[_0x7f7577(0x223)],_0x1f6215=_0x18340e['steps'],_0x44f5fe=_0x18340e['scenariosFailed'],_0x378389=_0x18340e[_0x7f7577(0x1e8)],_0x12f1bd=_0x18340e[_0x7f7577(0x1b9)],_0x4f830d=_0x18340e[_0x7f7577(0x204)],_0x32e731=_0x18340e[_0x7f7577(0x208)],_0x4d9e15=_0x18340e[_0x7f7577(0x21c)],_0x2bab66=_0x18340e['stepsUnknown'],_0x4c25b6=_0x18340e[_0x7f7577(0x1d9)],_0x51c028=_0x18340e[_0x7f7577(0x211)];let _0x4219c1=_0x495dc8+_0x7f7577(0x1f9);const _0x1a8cca=_0x4049a0[_0x7f7577(0x1c6)](_0x4049a0[_0x7f7577(0x1eb)](_0x495dc8,_0x44f5fe),0x0)?_0x4049a0[_0x7f7577(0x207)](_0x495dc8,_0x44f5fe):0x0;if(_0x4049a0['xXykz'](_0x44f5fe,0x0)&&_0x4049a0[_0x7f7577(0x1df)](_0x1a8cca,0x0))_0x4219c1+='\x20('+chalk[_0x7f7577(0x1bd)]['red'](_0x44f5fe+_0x7f7577(0x1cd))+',\x20'+chalk[_0x7f7577(0x1bd)]['green'](_0x1a8cca+'\x20passed')+')';else(_0x4049a0['ZdJqT'](_0x44f5fe,0x0)||_0x4049a0[_0x7f7577(0x1df)](_0x1a8cca,0x0))&&(_0x4219c1+=_0x4049a0[_0x7f7577(0x1df)](_0x44f5fe,0x0)?'\x20('+chalk['bold'][_0x7f7577(0x1f0)](_0x44f5fe+_0x7f7577(0x1cd))+')':'\x20('+chalk[_0x7f7577(0x1bd)][_0x7f7577(0x1e0)](_0x1a8cca+_0x7f7577(0x20a))+')');const _0x35a7bd=_0x1f6215+'\x20steps',_0x32da85=[];_0x4049a0['xXykz'](_0x4c25b6,0x0)&&_0x32da85[_0x7f7577(0x1f2)](''+chalk[_0x7f7577(0x1bd)][_0x7f7577(0x1f0)](_0x4c25b6+_0x7f7577(0x1f6)));_0x4049a0[_0x7f7577(0x1d2)](_0x378389,0x0)&&_0x32da85[_0x7f7577(0x1f2)](''+chalk[_0x7f7577(0x1bd)]['red'](_0x378389+_0x7f7577(0x1cd)));_0x4049a0[_0x7f7577(0x1e9)](_0x12f1bd,0x0)&&_0x32da85[_0x7f7577(0x1f2)](''+chalk[_0x7f7577(0x1bd)]['green'](_0x12f1bd+_0x7f7577(0x20a)));_0x4049a0[_0x7f7577(0x214)](_0x32e731,0x0)&&_0x32da85[_0x7f7577(0x1f2)](''+chalk[_0x7f7577(0x1bd)][_0x7f7577(0x1d0)](_0x32e731+_0x7f7577(0x21a)));_0x4049a0[_0x7f7577(0x1d3)](_0x4f830d,0x0)&&_0x32da85[_0x7f7577(0x1f2)](''+chalk[_0x7f7577(0x1bd)][_0x7f7577(0x1e5)](_0x4f830d+'\x20skipped'));_0x4049a0[_0x7f7577(0x1c6)](_0x4d9e15,0x0)&&_0x32da85['push'](''+chalk[_0x7f7577(0x1bd)][_0x7f7577(0x1d0)](_0x4d9e15+_0x7f7577(0x20b)));_0x4049a0[_0x7f7577(0x1d2)](_0x2bab66,0x0)&&_0x32da85[_0x7f7577(0x1f2)](''+chalk[_0x7f7577(0x1bd)]['yellow'](_0x2bab66+'\x20skipped'));const _0xfca090=_0x4049a0['aGRZE'](_0x4049a0[_0x7f7577(0x202)](_0x4049a0[_0x7f7577(0x202)](_0x35a7bd,'('),_0x32da85['join'](',\x20')),')');console[_0x7f7577(0x1ec)](_0x4049a0[_0x7f7577(0x222)](_0x4049a0[_0x7f7577(0x219)](_0x4049a0[_0x7f7577(0x1f7)](_0x4049a0[_0x7f7577(0x202)]('\x0a',_0x4219c1),'\x0a'),_0xfca090),'\x0a')),_0x4049a0[_0x7f7577(0x1e7)](_0x51c028,![])&&(_0x363991=0x1);}),_0x363991;}async function run(_0x3206d5,_0x450fed){const _0x97d845=a5_0x1e14ab,_0x5e59a7={'MjkUO':function(_0xc7560f,_0x4a783e){return _0xc7560f(_0x4a783e);},'AkOGU':function(_0x27bc5c,_0x581d23){return _0x27bc5c>_0x581d23;},'ULkVW':_0x97d845(0x1d8),'gVGHr':_0x97d845(0x1dc),'kduZT':_0x97d845(0x203),'wUBOZ':_0x97d845(0x224),'Jvzof':_0x97d845(0x1c1),'NvOjs':_0x97d845(0x21b),'pelwO':function(_0x562b65,_0x3910b7){return _0x562b65>_0x3910b7;},'wfXUk':function(_0x47e947,_0x3fe238){return _0x47e947-_0x3fe238;},'zYbqz':function(_0x43d473,_0x2a07e7){return _0x43d473>=_0x2a07e7;},'bgNNY':function(_0x17a9ff,_0x11ba20){return _0x17a9ff!=_0x11ba20;},'sJFsh':'false','wGrHu':function(_0x5587cd,_0x52aa01,_0x9b883e,_0x55fe27,_0x5d33e0,_0xeaedc6){return _0x5587cd(_0x52aa01,_0x9b883e,_0x55fe27,_0x5d33e0,_0xeaedc6);}},_0x5a4dbf=new BrowserStackSetup(_0x3206d5,_0x5e59a7[_0x97d845(0x1e2)]);await _0x5a4dbf[_0x97d845(0x1be)]();!helper['isBrowserstackInfra']()&&await _0x5a4dbf[_0x97d845(0x1f4)]();await helper[_0x97d845(0x20c)](_0x5a4dbf[_0x97d845(0x1d4)]);const _0x15874e=helper[_0x97d845(0x226)](_0x5a4dbf[_0x97d845(0x1d4)]),_0x222044=helper[_0x97d845(0x205)](_0x5a4dbf[_0x97d845(0x1d4)],_0x15874e,constants[_0x97d845(0x1ee)][_0x97d845(0x1ea)]);if(!_0x5a4dbf[_0x97d845(0x1d4)])return;const _0x8c689a=_0x5a4dbf[_0x97d845(0x1d4)][_0x97d845(0x1e4)]||helper['getUserWorkerCount'](_0x3206d5,_0x450fed,_0x5a4dbf[_0x97d845(0x1d4)],constants['FRAMEWORKS'][_0x97d845(0x1ea)])||0x1,_0x455df8={'server':helper[_0x97d845(0x22b)](_0x5a4dbf[_0x97d845(0x1d4)]),'proxySettings':_0x5a4dbf[_0x97d845(0x1d4)][_0x97d845(0x22c)],'maxWorkers':_0x8c689a,'browserStackLogLevel':_0x5a4dbf[_0x97d845(0x1d4)][_0x97d845(0x1cb)],'skipSessionName':_0x5a4dbf[_0x97d845(0x1d4)]['testContextOptions'][_0x97d845(0x20e)],'skipSessionStatus':_0x5a4dbf['config'][_0x97d845(0x213)][_0x97d845(0x1d5)],'turboScaleUrl':_0x5a4dbf[_0x97d845(0x1d4)][_0x97d845(0x1c7)]},_0x22f84b=process[_0x97d845(0x216)],[_0x5d0172,_0x3f6eb2]=helper[_0x97d845(0x1e1)](_0x22f84b),_0x51bd8b=path['join'](process['cwd'](),_0x5e59a7[_0x97d845(0x1d7)]);if(_0x5e59a7[_0x97d845(0x1dd)](_0x3f6eb2[_0x97d845(0x20f)],0x0)){helper['createDir'](_0x51bd8b);for(let _0x5a9096=_0x5e59a7[_0x97d845(0x1f5)](_0x5d0172[_0x97d845(0x20f)],0x1);_0x5e59a7['zYbqz'](_0x5a9096,0x0);_0x5a9096--){_0x22f84b[_0x97d845(0x201)](_0x5d0172[_0x5a9096],0x2);}}!helper[_0x97d845(0x206)](_0x5a4dbf[_0x97d845(0x1d4)][_0x97d845(0x227)])&&(process[_0x97d845(0x225)][_0x97d845(0x1bc)]=JSON[_0x97d845(0x1f8)](_0x5a4dbf[_0x97d845(0x1d4)]['accessibilityOptions']));_0x5e59a7[_0x97d845(0x1e6)](_0x5a4dbf[_0x97d845(0x1d4)][_0x97d845(0x215)],null)?process['env'][_0x97d845(0x228)]=_0x5a4dbf['config']['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5e59a7[_0x97d845(0x1ba)];const _0x550be5=await TestHubHandler['launchBuild'](constants[_0x97d845(0x1ee)][_0x97d845(0x1ea)],_0x5a4dbf);helper[_0x97d845(0x1ed)]();let _0x2f4e4d;_0x5e59a7['wGrHu'](parallelCucumberRun,_0x222044,_0x455df8,_0x5a4dbf['config'],_0x22f84b,_0x3f6eb2)[_0x97d845(0x1de)](async _0x193d3f=>{const _0xa5b94=_0x97d845;_0x2f4e4d=_0x193d3f;const _0x4a6301=_0x5e59a7[_0xa5b94(0x210)](printCucumberStats,_0x193d3f);process[_0xa5b94(0x1ce)]=_0x4a6301,_0x5e59a7[_0xa5b94(0x1fd)](_0x3f6eb2['length'],0x0)&&(logger['debug'](_0x5e59a7[_0xa5b94(0x1c4)]),helper[_0xa5b94(0x22a)](_0x51bd8b,_0x3f6eb2),logger[_0xa5b94(0x221)](_0x5e59a7['gVGHr']),helper[_0xa5b94(0x1c9)](_0x51bd8b));})[_0x97d845(0x1ca)](async()=>{const _0x4fcc78=_0x97d845;_0x5a4dbf['errorMessage']=helper[_0x4fcc78(0x200)](_0x2f4e4d,_0x5e59a7[_0x4fcc78(0x1f3)]),testOpsHelper[_0x4fcc78(0x1c5)]();try{await TestHubHandler[_0x4fcc78(0x1fa)]();}catch(_0x4f7f1d){logger[_0x4fcc78(0x221)](_0x4fcc78(0x1e3)+util['format'](_0x4f7f1d));}try{const {browserstackFolderPath:_0x506462,tcgConfigPath:_0xc54eee}=helper[_0x4fcc78(0x21e)]();fs['unlinkSync'](_0xc54eee),fs[_0x4fcc78(0x1db)](_0x506462);}catch(_0x475282){logger['debug'](_0x5e59a7[_0x4fcc78(0x1bb)],_0x475282);}await helper[_0x4fcc78(0x20d)](_0x5a4dbf);});}function a5_0x1f84(_0x526608,_0x48a1c8){const _0x526626=a5_0x5266();return a5_0x1f84=function(_0x1f84c2,_0x173d4f){_0x1f84c2=_0x1f84c2-0x1b9;let _0x11e5f5=_0x526626[_0x1f84c2];return _0x11e5f5;},a5_0x1f84(_0x526608,_0x48a1c8);}function a5_0x5266(){const _0x59f05b=['119608tMUWMj','../../helpers/testhub/testhubHandler','AkOGU','winstonLogger','chalk','getErrorMessageFromResults','splice','bJLIK','cucumber','stepsSkipped','prepareCapabilities','isUndefined','ixNos','stepsPending','305NiUSAG','\x20passed','\x20undefined','handleApp','finalExecution','skipSessionName','length','MjkUO','processSuccess','20969750uJOcwe','testContextOptions','yVWCY','testObservability','argv','bgWhite','util','qSGYa','\x20pending','tmp','stepsUndefined','2349954tTtANs','getTCGConfigFilePaths','path','../utils/constants','debug','aGRZE','scenarios','error\x20removing\x20tcg\x20config\x20file','env','useW3C','accessibilityOptions','BROWSERSTACK_TEST_OBSERVABILITY_YML','ZdJqT','mergeOutputFiles','getHubUrl','proxySettings','stepsPassed','sJFsh','wUBOZ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','bold','initialize','../../helpers/helper','197994RqZMHt','cucumber-js','forEach','494jXrovA','ULkVW','printBuildLink','xXykz','turboScaleUrl','539YyMpDO','removeDir','finally','logLevel','../../helpers/test-observability/utils','\x20failed','exitCode','92346XAWNao','yellow','7851lyDkxw','iIJWz','bwwxg','config','skipSessionStatus','../../helpers/logger','NvOjs','Generating\x20consolidated\x20report...','stepsAmbiguous','exports','rmdirSync','Removing\x20tmp\x20directory\x20created\x20for\x20reports','pelwO','then','vVOWK','green','parseFormatters','Jvzof','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','parallelsPerPlatform','cyan','bgNNY','TGrxg','stepsFailed','ToylV','CUCUMBER','Rtyda','log','markSDKSetupComplete','FRAMEWORKS','1361024VhqAfF','red','jFnIH','push','kduZT','setupTCGAuth','wfXUk','\x20ambiguous','NYVZg','stringify','\x20scenarios','stop'];a5_0x5266=function(){return _0x59f05b;};return a5_0x5266();}module[a5_0x1e14ab(0x1da)]=run;
2
+ 'use strict';const a5_0x33b190=a5_0x30f9;(function(_0x3f4f3d,_0x6def00){const _0x35a1a3=a5_0x30f9,_0x382844=_0x3f4f3d();while(!![]){try{const _0x46c7f0=parseInt(_0x35a1a3(0x10c))/0x1+-parseInt(_0x35a1a3(0x144))/0x2+-parseInt(_0x35a1a3(0x125))/0x3*(-parseInt(_0x35a1a3(0xec))/0x4)+-parseInt(_0x35a1a3(0x142))/0x5*(-parseInt(_0x35a1a3(0xea))/0x6)+parseInt(_0x35a1a3(0x136))/0x7+-parseInt(_0x35a1a3(0x13f))/0x8+parseInt(_0x35a1a3(0x127))/0x9;if(_0x46c7f0===_0x6def00)break;else _0x382844['push'](_0x382844['shift']());}catch(_0x2c7439){_0x382844['push'](_0x382844['shift']());}}}(a5_0x44dc,0x7339e));const fs=require('fs'),path=require(a5_0x33b190(0x141)),util=require('util'),logger=require('../../helpers/logger')[a5_0x33b190(0x11d)],{default:BrowserStackSetup}=require(a5_0x33b190(0x119)),helper=require(a5_0x33b190(0x121)),utilities=require(a5_0x33b190(0x115)),constants=require(a5_0x33b190(0x122)),{parallelCucumberRun}=require(a5_0x33b190(0x139)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x33b190(0xe5)),chalk=require(a5_0x33b190(0xe7));function printCucumberStats(_0x5d49a1){const _0xd8174=a5_0x33b190,_0x1c1c9f={};_0x1c1c9f[_0xd8174(0x130)]=function(_0x504c32,_0x8f178a){return _0x504c32>_0x8f178a;},_0x1c1c9f[_0xd8174(0x10f)]=function(_0x23147c,_0x39e566){return _0x23147c-_0x39e566;},_0x1c1c9f[_0xd8174(0xe2)]=function(_0x3e7b64,_0x36f08){return _0x3e7b64>_0x36f08;},_0x1c1c9f[_0xd8174(0x12c)]=function(_0x789410,_0x53513f){return _0x789410>_0x53513f;},_0x1c1c9f[_0xd8174(0xe1)]=function(_0x477523,_0x50e1c8){return _0x477523>_0x50e1c8;},_0x1c1c9f[_0xd8174(0x112)]=function(_0x3a07c3,_0x580bd3){return _0x3a07c3>_0x580bd3;},_0x1c1c9f[_0xd8174(0xf1)]=function(_0x152cd3,_0x4231db){return _0x152cd3+_0x4231db;},_0x1c1c9f['XvRVm']=function(_0xdc091d,_0x3f1662){return _0xdc091d+_0x3f1662;},_0x1c1c9f[_0xd8174(0x101)]=function(_0x51557e,_0x10e656){return _0x51557e===_0x10e656;},_0x1c1c9f['HZvzV']=_0xd8174(0x105);const _0x4e8c9b=_0x1c1c9f;let _0x55bdad=0x0;if(_0x4e8c9b['sMVpb'](_0x5d49a1[_0xd8174(0x14c)],0x0))return _0x55bdad;return console[_0xd8174(0x131)](chalk[_0xd8174(0x123)][_0xd8174(0x148)](_0x4e8c9b[_0xd8174(0x108)])),_0x5d49a1[_0xd8174(0x103)](_0x5ab464=>{const _0x3dacba=_0xd8174,_0x3f3cd6=_0x5ab464[0x0],_0x435af4=_0x5ab464[0x1];console[_0x3dacba(0x131)]('\x0a'+chalk[_0x3dacba(0x123)]['yellow'](''+helper[_0x3dacba(0xe8)](_0x3f3cd6)));const _0x72defc=_0x435af4[_0x3dacba(0x13d)],_0x3e977b=_0x435af4[_0x3dacba(0x14a)],_0x488b55=_0x435af4[_0x3dacba(0x150)],_0x4fdc1d=_0x435af4['stepsFailed'],_0x2567f5=_0x435af4['stepsPassed'],_0x11e818=_0x435af4[_0x3dacba(0x126)],_0x3d81ee=_0x435af4['stepsPending'],_0x25e5eb=_0x435af4[_0x3dacba(0xfc)],_0x15be26=_0x435af4[_0x3dacba(0x102)],_0x560a48=_0x435af4[_0x3dacba(0xf6)],_0x490923=_0x435af4[_0x3dacba(0x12e)];let _0x3f9aa3=_0x72defc+_0x3dacba(0x132);const _0x3048b2=_0x4e8c9b[_0x3dacba(0x130)](_0x4e8c9b['EqyZR'](_0x72defc,_0x488b55),0x0)?_0x4e8c9b[_0x3dacba(0x10f)](_0x72defc,_0x488b55):0x0;if(_0x4e8c9b[_0x3dacba(0x130)](_0x488b55,0x0)&&_0x4e8c9b[_0x3dacba(0xe2)](_0x3048b2,0x0))_0x3f9aa3+='\x20('+chalk['bold'][_0x3dacba(0x12d)](_0x488b55+'\x20failed')+',\x20'+chalk[_0x3dacba(0x123)][_0x3dacba(0x117)](_0x3048b2+_0x3dacba(0x13e))+')';else(_0x4e8c9b[_0x3dacba(0xe2)](_0x488b55,0x0)||_0x4e8c9b[_0x3dacba(0x12c)](_0x3048b2,0x0))&&(_0x3f9aa3+=_0x4e8c9b[_0x3dacba(0x12c)](_0x488b55,0x0)?'\x20('+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x488b55+_0x3dacba(0x109))+')':'\x20('+chalk['bold'][_0x3dacba(0x117)](_0x3048b2+_0x3dacba(0x13e))+')');const _0x3089c1=_0x3e977b+_0x3dacba(0x107),_0x3519bb=[];_0x4e8c9b['ZODUQ'](_0x560a48,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x560a48+_0x3dacba(0xfe)));_0x4e8c9b['AsCLf'](_0x4fdc1d,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x12d)](_0x4fdc1d+_0x3dacba(0x109)));_0x4e8c9b['AsCLf'](_0x2567f5,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0x117)](_0x2567f5+'\x20passed'));_0x4e8c9b['ZODUQ'](_0x3d81ee,0x0)&&_0x3519bb['push'](''+chalk['bold']['yellow'](_0x3d81ee+_0x3dacba(0xf9)));_0x4e8c9b['fkxTs'](_0x11e818,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)]['cyan'](_0x11e818+'\x20skipped'));_0x4e8c9b[_0x3dacba(0x112)](_0x25e5eb,0x0)&&_0x3519bb[_0x3dacba(0x14e)](''+chalk[_0x3dacba(0x123)][_0x3dacba(0xfb)](_0x25e5eb+_0x3dacba(0x13c)));_0x4e8c9b[_0x3dacba(0x112)](_0x15be26,0x0)&&_0x3519bb['push'](''+chalk[_0x3dacba(0x123)][_0x3dacba(0xfb)](_0x15be26+_0x3dacba(0x100)));const _0x1349d0=_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b[_0x3dacba(0xf1)](_0x3089c1,'('),_0x3519bb['join'](',\x20')),')');console[_0x3dacba(0x131)](_0x4e8c9b[_0x3dacba(0xf1)](_0x4e8c9b['XvRVm'](_0x4e8c9b['fXACc'](_0x4e8c9b[_0x3dacba(0xf1)]('\x0a',_0x3f9aa3),'\x0a'),_0x1349d0),'\x0a')),_0x4e8c9b['sMVpb'](_0x490923,![])&&(_0x55bdad=0x1);}),_0x55bdad;}async function run(_0xe09ced,_0x49bb4d){const _0x377fd5=a5_0x33b190,_0x21744a={'cfwOj':function(_0x483653,_0x527870){return _0x483653(_0x527870);},'bXuRm':function(_0xcbbb86,_0x52880a){return _0xcbbb86>_0x52880a;},'QVSOS':_0x377fd5(0x135),'mGTwh':_0x377fd5(0x106),'DFDEI':'cucumber','kZWVl':_0x377fd5(0xed),'VWxaw':_0x377fd5(0x151),'uGtcm':_0x377fd5(0xfd),'LAQVv':function(_0x57f799,_0x3f9a91){return _0x57f799>_0x3f9a91;},'KYwrS':function(_0x1c3978,_0x3ca337){return _0x1c3978-_0x3ca337;},'aVnme':function(_0x15891e,_0x599027){return _0x15891e>=_0x599027;},'yDBrs':function(_0x14df90,_0x2020fd){return _0x14df90!=_0x2020fd;},'mLOpU':_0x377fd5(0xf2),'NILFv':function(_0x3fa4bd,_0x546eaf,_0x3f7455,_0x1e80e8,_0x567a52,_0x43e335){return _0x3fa4bd(_0x546eaf,_0x3f7455,_0x1e80e8,_0x567a52,_0x43e335);}},_0x31e787=new BrowserStackSetup(_0xe09ced,_0x21744a[_0x377fd5(0x129)]);await _0x31e787[_0x377fd5(0xe3)]();!helper[_0x377fd5(0x133)]()&&await _0x31e787[_0x377fd5(0x13b)]();await helper[_0x377fd5(0x11f)](_0x31e787[_0x377fd5(0x116)]);const _0x25e77b=helper[_0x377fd5(0xf4)](_0x31e787[_0x377fd5(0x116)]),_0x1e9836=helper[_0x377fd5(0x128)](_0x31e787[_0x377fd5(0x116)],_0x25e77b,constants[_0x377fd5(0x124)][_0x377fd5(0x11c)]);if(!_0x31e787[_0x377fd5(0x116)])return;const _0xdff547=_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x14b)]||helper[_0x377fd5(0x12a)](_0xe09ced,_0x49bb4d,_0x31e787[_0x377fd5(0x116)],constants[_0x377fd5(0x124)][_0x377fd5(0x11c)])||0x1,_0x8494cf={'server':helper['getHubUrl'](_0x31e787['config']),'proxySettings':_0x31e787['config'][_0x377fd5(0xdf)],'maxWorkers':_0xdff547,'browserStackLogLevel':_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x137)],'skipSessionName':_0x31e787[_0x377fd5(0x116)]['testContextOptions'][_0x377fd5(0xfa)],'skipSessionStatus':_0x31e787[_0x377fd5(0x116)]['testContextOptions']['skipSessionStatus'],'turboScaleUrl':_0x31e787[_0x377fd5(0x116)]['turboScaleUrl']},_0x7b0e89=process[_0x377fd5(0x12b)],[_0x115d6f,_0x270419]=helper[_0x377fd5(0xe0)](_0x7b0e89),_0xebfeaa=path[_0x377fd5(0x118)](process[_0x377fd5(0x110)](),_0x21744a[_0x377fd5(0x11b)]);if(_0x21744a[_0x377fd5(0xef)](_0x270419['length'],0x0)){helper[_0x377fd5(0xe9)](_0xebfeaa);for(let _0x173065=_0x21744a[_0x377fd5(0xf5)](_0x115d6f[_0x377fd5(0x14c)],0x1);_0x21744a[_0x377fd5(0x147)](_0x173065,0x0);_0x173065--){_0x7b0e89['splice'](_0x115d6f[_0x173065],0x2);}}!helper[_0x377fd5(0xe6)](_0x31e787['config'][_0x377fd5(0x10b)])&&(process[_0x377fd5(0xe4)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x377fd5(0x140)](_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x10b)]));_0x21744a[_0x377fd5(0xeb)](_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x120)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x31e787[_0x377fd5(0x116)][_0x377fd5(0x120)]:process[_0x377fd5(0xe4)][_0x377fd5(0x11a)]=_0x21744a['mLOpU'];const _0x13295d=await TestHubHandler[_0x377fd5(0x138)](constants[_0x377fd5(0x124)]['CUCUMBER'],_0x31e787);helper[_0x377fd5(0x113)]();let _0x393b2f;_0x21744a['NILFv'](parallelCucumberRun,_0x1e9836,_0x8494cf,_0x31e787[_0x377fd5(0x116)],_0x7b0e89,_0x270419)[_0x377fd5(0x134)](async _0x26037a=>{const _0x4098ff=_0x377fd5;_0x393b2f=_0x26037a;const _0x28585f=_0x21744a[_0x4098ff(0xee)](printCucumberStats,_0x26037a);process[_0x4098ff(0x114)]=_0x28585f,_0x21744a[_0x4098ff(0xff)](_0x270419['length'],0x0)&&(logger[_0x4098ff(0x10a)](_0x21744a[_0x4098ff(0x13a)]),helper[_0x4098ff(0x146)](_0xebfeaa,_0x270419),logger['debug'](_0x21744a[_0x4098ff(0xf0)]),helper[_0x4098ff(0x12f)](_0xebfeaa));})[_0x377fd5(0x11e)](async()=>{const _0x29a640=_0x377fd5;_0x31e787[_0x29a640(0x143)]=helper[_0x29a640(0x111)](_0x393b2f,_0x21744a[_0x29a640(0x10e)]),testOpsHelper[_0x29a640(0x14d)]();try{await TestHubHandler[_0x29a640(0x149)]();}catch(_0x2855c7){logger[_0x29a640(0x10a)](_0x29a640(0xf3)+util[_0x29a640(0xf7)](_0x2855c7));}try{const {browserstackFolderPath:_0x526f99,tcgConfigPath:_0x4df2df}=helper['getTCGConfigFilePaths']();fs[_0x29a640(0x145)](_0x4df2df),fs[_0x29a640(0x14f)](_0x526f99);}catch(_0x5d1129){logger[_0x29a640(0x10a)](_0x21744a[_0x29a640(0x104)],_0x5d1129);}await utilities[_0x29a640(0xf8)](_0x31e787);});}module[a5_0x33b190(0x10d)]=run;function a5_0x30f9(_0xc02465,_0x37ecf0){const _0x44dc7a=a5_0x44dc();return a5_0x30f9=function(_0x30f924,_0x43f4a9){_0x30f924=_0x30f924-0xdf;let _0x490b8a=_0x44dc7a[_0x30f924];return _0x490b8a;},a5_0x30f9(_0xc02465,_0x37ecf0);}function a5_0x44dc(){const _0x1c0d0a=['finally','handleApp','testObservability','../../helpers/helper','../utils/constants','bold','FRAMEWORKS','1131423zdelZq','stepsSkipped','4370940utgxJC','prepareCapabilities','VWxaw','getUserWorkerCount','argv','ZODUQ','red','processSuccess','removeDir','AsCLf','log','\x20scenarios','isBrowserstackInfra','then','Generating\x20consolidated\x20report...','897904GLQUOU','logLevel','launchBuild','../test-runner','QVSOS','setupTCGAuth','\x20undefined','scenarios','\x20passed','6660664NiJmcg','stringify','path','3005375uyIQfE','errorMessage','1837124ofxwir','unlinkSync','mergeOutputFiles','aVnme','bgWhite','stop','steps','parallelsPerPlatform','length','printBuildLink','push','rmdirSync','scenariosFailed','cucumber-js','proxySettings','parseFormatters','fkxTs','lMJLe','initialize','env','../../helpers/test-observability/utils','isUndefined','chalk','getPlatformName','createDir','6aOqhIV','yDBrs','4TGmyeJ','error\x20removing\x20tcg\x20config\x20file','cfwOj','LAQVv','mGTwh','fXACc','false','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','useW3C','KYwrS','stepsAmbiguous','format','finalExecution','\x20pending','skipSessionName','yellow','stepsUndefined','tmp','\x20ambiguous','bXuRm','\x20skipped','sMVpb','stepsUnknown','forEach','kZWVl','****\x20RESULTS\x20****','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20steps','HZvzV','\x20failed','debug','accessibilityOptions','630963FQTEWt','exports','DFDEI','EqyZR','cwd','getErrorMessageFromResults','SsGcM','markSDKSetupComplete','exitCode','../../helpers/utilities','config','green','join','../../helpers/BrowserStackSetup','BROWSERSTACK_TEST_OBSERVABILITY_YML','uGtcm','CUCUMBER','winstonLogger'];a5_0x44dc=function(){return _0x1c0d0a;};return a5_0x44dc();}