browserstack-node-sdk 1.35.0 → 1.35.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0xb1e3fc=a1_0x29d0;function a1_0x29d0(_0x20e34f,_0x586105){const _0x5b1aaf=a1_0x5b1a();return a1_0x29d0=function(_0x29d02c,_0x3c5461){_0x29d02c=_0x29d02c-0xef;let _0x4f6124=_0x5b1aaf[_0x29d02c];return _0x4f6124;},a1_0x29d0(_0x20e34f,_0x586105);}(function(_0x5a19bf,_0x228c4e){const _0xb4714b=a1_0x29d0,_0x306280=_0x5a19bf();while(!![]){try{const _0x5e9dce=-parseInt(_0xb4714b(0x155))/0x1+-parseInt(_0xb4714b(0x19c))/0x2*(parseInt(_0xb4714b(0x1a6))/0x3)+parseInt(_0xb4714b(0x135))/0x4+-parseInt(_0xb4714b(0x13b))/0x5+-parseInt(_0xb4714b(0x112))/0x6+-parseInt(_0xb4714b(0x1cb))/0x7*(-parseInt(_0xb4714b(0x167))/0x8)+parseInt(_0xb4714b(0x199))/0x9;if(_0x5e9dce===_0x228c4e)break;else _0x306280['push'](_0x306280['shift']());}catch(_0x42a73d){_0x306280['push'](_0x306280['shift']());}}}(a1_0x5b1a,0xf3d30));function a1_0x5b1a(){const _0x26ea04=['../../helpers/logger','rABBc','SDK_TEST','TEST_RUN_FINISHED','lrvpe','../../helpers/performance/constants','constructor','BS_TESTOPS_ALLOW_SCREENSHOTS','test-started','WebDriver','eemLu','end','hook-started','../../helpers/test-observability/utils','Failed\x20to\x20execute\x20_before:\x20','getResultsSummary','TestCafe','eKlEE','RRwmJ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','bddStep-after','4060720toDgpF','performScan','IXKfi','action','eKoti','TEST_RUN_SKIPPED','1820725MBuEaa','sTeOp','TpRbh','event','titlePath','HoZts','all','ofxUB','JZdbX','setGlobal','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','unqls','Suite','browserContext','apply','WnNBW','class','getAccessibilityResultsSummary','saveTestResults','SDK_HOOK','hook','bPxxT','LnnjX','Screenshot\x20path\x20not\x20found','BROWSERSTACK_TESTHUB_JWT','PERFORM_SCAN','357416hCWzcZ','helpers','catch','codeceptjs','bind','screenshotOutputFolder','dispatcher','captureEvent','stop','getAccessibilityResults','saveScreenshot','browserstackTestName','forEach','bs:addLog:','CiaAz','browserstack_executor:\x20','TzAeQ','then','7928CNhWGu','pCRQn','VdumG','vfzSH','enabled','initSaveScreenshot','YEtOF','bzTdU','aKONk','SDK_PRE_TEST','restore','QcywR','measureWrapper','stringify','MWlvK','name','fireEvent','OstIq','util','pid','failed','aXVFQ','test','ydWEB','EdtvF','TEST_LOG','__driver','testAnalyticsId','test-after','getSyncScript','RzKJa','../../bin/playwright/sessionDetails','passed','../../helpers/accessibility-automation/scripts','patch','DqNGH','fyyzu','ctx','container','getResults','toISOString','skipped','skipSessionStatus','SDK_POST_TEST','started','../../helpers/performance/performance-tester','SESSION_STATUS','add','format','codeceptjs/lib/utils.js','11615589zDQBwL','test-failed','vfWXL','2HDOyIA','KzoTG','after','call','captureError','pmcav','SAVE_RESULTS','accessibilityPlatform','shouldWrapCommand','__skipSessionStatus','1428771ZeaHcw','../../helpers/request-spy','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','currentTest','wHcZM','warn','contexts','prototype','env','RbEjv','tdEmT','readFileSync','command','hook-passed','browser','toString','EHGOP','base64','cQlJl','bddStepStart','gwbgq','pBHEV','NeRDJ','nHAHi','comment','bddStep','OGCvJ','IIqIn','filter','step-comment','afterTest','codeceptjs/lib/helper/WebDriver.js','spMmL','codeceptjs/lib/helper/Playwright.js','reason','title','arguments','6650PMNStL','zIhrE','./helper.js','overwriteCommand','IFtCI','stopMonitoring','patchSaveScreenshot','browserStackExecuteDriver','lAmGx','TEST_SCREENSHOT','setSessionStatus','_before','test-before','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','Element','PrvQM','__workerDetails','../../helpers/testhub/constants.js','debug','slice','DKshk','KZycz','SYNC','GET_RESULTS','TEST_RUN_STARTED','before','SDK_PRE_INITIALIZE','codeceptjs/lib/recorder.js','thJwtToken','emit','PQNFj','ZLYcE','../../helpers/globals.js','HOOK_RUN_FINISHED','VrHVt','wPLBw','jbjoo','start','test-passed','../../bin/playwright/accessibility-helper','Playwright','6304374CduTbz','hookType','cdsbX','ENV_VAR','executeScript','bstackAllyScanning','MBCQk','SwsgI','bddStep-before','../../helpers/helper','INFO','test-skipped','GET_RESULTS_SUMMARY','addRequestSpy'];a1_0x5b1a=function(){return _0x26ea04;};return a1_0x5b1a();}const fs=require('fs'),util=require(a1_0xb1e3fc(0x179)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0xb1e3fc(0x11b)),logger=require(a1_0xb1e3fc(0x120))['winstonLogger'],testOpsHelper=require(a1_0xb1e3fc(0x12d)),requestSpy=require(a1_0xb1e3fc(0x1a7)),PlaywrightSessionDetails=require(a1_0xb1e3fc(0x186)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0xb1e3fc(0x110)),scripts=require(a1_0xb1e3fc(0x188)),PerformanceTester=require(a1_0xb1e3fc(0x194)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0xb1e3fc(0x125)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0xb1e3fc(0x1cd)),testHubConstants=require(a1_0xb1e3fc(0xfa)),globals=require(a1_0xb1e3fc(0x109)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule(a1_0xb1e3fc(0x198),a1_0xb1e3fc(0x158)),CodeceptWebDriver=requireModule(a1_0xb1e3fc(0x1c5),a1_0xb1e3fc(0x158)),CodeceptRecorder=requireModule(a1_0xb1e3fc(0x104),a1_0xb1e3fc(0x158)),CodeceptPlaywright=requireModule(a1_0xb1e3fc(0x1c7),a1_0xb1e3fc(0x158)),playwrightMarkSessionStatus=(_0x201ba1,_0x551188,_0x34c847)=>{const _0x3b7700=a1_0xb1e3fc,_0x1998b1={'ctgki':_0x3b7700(0xf3),'KzoTG':function(_0x57da9e,_0xc0f083){return _0x57da9e(_0xc0f083);}},_0x56c5c3={};_0x56c5c3['status']=_0x551188;const _0x18f84a={};_0x18f84a[_0x3b7700(0x138)]=_0x1998b1['ctgki'],_0x18f84a[_0x3b7700(0x1ca)]=_0x56c5c3;const _0x28ad01=_0x18f84a;return!_0x1998b1[_0x3b7700(0x19d)](isUndefined,_0x34c847)&&(_0x28ad01[_0x3b7700(0x1ca)][_0x3b7700(0x1c8)]=JSON[_0x3b7700(0x174)](_0x34c847)),_0x201ba1[_0x3b7700(0x116)](()=>{},_0x3b7700(0x164)+JSON['stringify'](_0x28ad01));},o11ySync=PerformanceTester[a1_0xb1e3fc(0x173)](PerformanceO11yEvents[a1_0xb1e3fc(0xff)],async _0x502145=>{const _0x5a8a16=a1_0xb1e3fc,_0x34e3e1={};_0x34e3e1['PQNFj']=function(_0x5cf935,_0x2cb66c){return _0x5cf935===_0x2cb66c;},_0x34e3e1['pmcav']='Playwright';const _0x5a5df0=_0x34e3e1;_0x5a5df0[_0x5a8a16(0x107)](_0x502145[_0x5a8a16(0x126)][_0x5a8a16(0x176)],_0x5a5df0[_0x5a8a16(0x1a1)])?await _0x502145['executeScript'](_0x990de2=>{},testOpsHelper[_0x5a8a16(0x184)]()):await _0x502145[_0x5a8a16(0x116)](testOpsHelper[_0x5a8a16(0x184)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x1fe6d6,_0x4cbb72)=>{const _0x1ed8c2=a1_0xb1e3fc,_0xa0266c={};_0xa0266c[_0x1ed8c2(0x1bb)]='setSessionName',_0xa0266c[_0x1ed8c2(0x169)]=function(_0x27a7ef,_0x299773){return _0x27a7ef===_0x299773;},_0xa0266c['EHGOP']=_0x1ed8c2(0x111);const _0x4f122e=_0xa0266c,_0x2e1731={};_0x2e1731[_0x1ed8c2(0x176)]=_0x4cbb72;const _0x46f9d2={};_0x46f9d2[_0x1ed8c2(0x138)]=_0x4f122e['pBHEV'],_0x46f9d2[_0x1ed8c2(0x1ca)]=_0x2e1731;const _0x47554c=_0x46f9d2;_0x4f122e['VdumG'](_0x1fe6d6[_0x1ed8c2(0x126)]['name'],_0x4f122e[_0x1ed8c2(0x1b6)])?await _0x1fe6d6['executeScript'](()=>{},_0x1ed8c2(0x164)+JSON['stringify'](_0x47554c)):await _0x1fe6d6[_0x1ed8c2(0x116)](_0x1ed8c2(0x164)+JSON[_0x1ed8c2(0x174)](_0x47554c));}),patchSaveScreenshot=_0x5cc7ce=>{const _0x406a71=a1_0xb1e3fc,_0x5ecdc3={'LnnjX':_0x406a71(0x1b7),'bzTdU':_0x406a71(0xf2),'oALae':function(_0x5383ae){return _0x5383ae();},'tdEmT':function(_0x66fcfa,_0x2b531a){return _0x66fcfa(_0x2b531a);},'nHAHi':_0x406a71(0x152),'fyyzu':function(_0x4f0adc,_0x4ec199){return _0x4f0adc(_0x4ec199);}};_0x5ecdc3[_0x406a71(0x18b)](isTrue,process[_0x406a71(0x1ae)][_0x406a71(0x127)])&&!_0x5cc7ce[_0x406a71(0xef)]&&(_0x5cc7ce[_0x406a71(0xef)]=!![],_0x5cc7ce[_0x406a71(0x16c)]=_0x5cc7ce[_0x406a71(0x15f)],_0x5cc7ce[_0x406a71(0x15f)]=(_0x26ac69,_0x4cd601=![])=>{const _0x26d937=_0x406a71,_0x5b1ba5={'pCRQn':_0x5ecdc3[_0x26d937(0x151)],'MWlvK':_0x5ecdc3[_0x26d937(0x16e)],'wHcZM':function(_0x278cf8){return _0x5ecdc3['oALae'](_0x278cf8);},'eKlEE':function(_0x4b8127,_0x4a1fc0){const _0x4a2d34=_0x26d937;return _0x5ecdc3[_0x4a2d34(0x1b0)](_0x4b8127,_0x4a1fc0);},'TpRbh':_0x5ecdc3[_0x26d937(0x1bd)]};return new Promise(function(_0x43e69f,_0x7b0bbf){const _0xdf5c37=_0x26d937,_0x5dbdbc={'IAYgb':_0x5b1ba5[_0xdf5c37(0x168)],'RbEjv':_0x5b1ba5[_0xdf5c37(0x175)],'IXKfi':function(_0x320018){const _0x1f1aba=_0xdf5c37;return _0x5b1ba5[_0x1f1aba(0x1aa)](_0x320018);},'vfWXL':function(_0x22fcea,_0x140582){const _0x304536=_0xdf5c37;return _0x5b1ba5[_0x304536(0x131)](_0x22fcea,_0x140582);},'OGCvJ':_0x5b1ba5[_0xdf5c37(0x13d)]};_0x5cc7ce[_0xdf5c37(0x16c)](_0x26ac69,_0x4cd601)[_0xdf5c37(0x166)](()=>{const _0x356a25=_0xdf5c37,_0x4635c3=CodeceptUtils[_0x356a25(0x15a)](_0x26ac69);if(_0x4635c3){const _0x4219eb=fs[_0x356a25(0x1b1)](_0x4635c3);process[_0x356a25(0x106)](_0x356a25(0x162)+process[_0x356a25(0x17a)],{'timestamp':new Date()['toISOString'](),'message':_0x4219eb[_0x356a25(0x1b5)](_0x5dbdbc['IAYgb']),'kind':_0x5dbdbc[_0x356a25(0x1af)]}),_0x5dbdbc[_0x356a25(0x137)](_0x43e69f);}_0x5dbdbc[_0x356a25(0x19b)](_0x7b0bbf,new Error(_0x5dbdbc[_0x356a25(0x1c0)]));})[_0xdf5c37(0x157)](()=>null);});});},patchWebDriverBefore=_0x3df172=>{const _0x54f029=a1_0xb1e3fc,_0x4e785b={'ofxUB':function(_0x2e4a19){return _0x2e4a19();},'VrHVt':function(_0x3309e3,_0x5c43e6){return _0x3309e3(_0x5c43e6);},'dmsiR':function(_0x2e8d37,_0x43e2d3){return _0x2e8d37===_0x43e2d3;},'zIhrE':_0x54f029(0xf7),'aXVFQ':function(_0x443b71,_0x1a4acf){return _0x443b71(_0x1a4acf);}},_0x48319f=async function(_0x4ee165,_0x2ba6e4){const _0xd69b15=_0x54f029;return _0x4e785b[_0xd69b15(0x142)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global[_0xd69b15(0x1a3)]&&scripts[_0xd69b15(0x1a4)](_0x4ee165[_0xd69b15(0x176)])&&_0x4e785b[_0xd69b15(0x10b)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0xd69b15(0x117)]=!![],await PerformanceTester[_0xd69b15(0x173)](PerformanceA11yEvents[_0xd69b15(0x154)],async()=>{const _0x28139b=_0xd69b15;logger[_0x28139b(0xfb)]('Performing\x20scan\x20for\x20'+_0x4ee165[_0x28139b(0x14b)]+'\x20'+_0x4ee165['name']),await AccessibilityHelper[_0x28139b(0xf0)](_0x3df172,scripts[_0x28139b(0x136)]);},{'command':_0x4ee165[_0xd69b15(0x176)]})()),global[_0xd69b15(0x117)]=![],_0x2ba6e4[_0xd69b15(0x149)](this,Array[_0xd69b15(0x1ad)][_0xd69b15(0xfc)][_0xd69b15(0x19f)](arguments,0x2));},_0x43f4f9=CodeceptWebDriver['prototype'][_0x54f029(0xf4)];CodeceptWebDriver[_0x54f029(0x1ad)][_0x54f029(0xf4)]=async function(){const _0x5a9abc=_0x54f029,_0x3b4ef4={'sTeOp':function(_0xff20ed,_0x46e72b){return _0x4e785b['dmsiR'](_0xff20ed,_0x46e72b);},'IFtCI':_0x4e785b[_0x5a9abc(0x1cc)]};try{await _0x43f4f9[_0x5a9abc(0x149)](this,arguments);}catch(_0x1c0af0){logger[_0x5a9abc(0xfb)](_0x5a9abc(0x12e)+util[_0x5a9abc(0x197)](_0x1c0af0));}scripts['commandsToWrap'][_0x5a9abc(0x1c2)](_0x516c85=>_0x516c85['name']&&_0x516c85[_0x5a9abc(0x14b)])[_0x5a9abc(0x161)](_0x308000=>{const _0x4a84dd=_0x5a9abc;this[_0x4a84dd(0x1b4)][_0x4a84dd(0x1ce)](_0x308000[_0x4a84dd(0x176)],_0x48319f[_0x4a84dd(0x159)](this,_0x308000),_0x3b4ef4[_0x4a84dd(0x13c)](_0x308000[_0x4a84dd(0x14b)],_0x3b4ef4[_0x4a84dd(0x1cf)]));}),_0x4e785b[_0x5a9abc(0x17c)](processWebDriverConfig,_0x3df172);};},patchPlaywrightBefore=()=>{const _0x253b16=a1_0xb1e3fc;PlaywrightSessionDetails[_0x253b16(0x189)]();const _0x6bb857=CodeceptPlaywright[_0x253b16(0x1ad)][_0x253b16(0xf4)];CodeceptPlaywright[_0x253b16(0x1ad)][_0x253b16(0xf4)]=async function(){const _0x51c1d6=_0x253b16;this[_0x51c1d6(0x148)]=await this[_0x51c1d6(0x1b4)][_0x51c1d6(0x1ac)]()[0x0],await _0x6bb857[_0x51c1d6(0x149)](this,arguments);};},getCodeceptDriver=()=>{const _0x1d53d8=a1_0xb1e3fc,_0x4f2a98={};_0x4f2a98[_0x1d53d8(0x1bc)]=_0x1d53d8(0x129),_0x4f2a98[_0x1d53d8(0x1ba)]=_0x1d53d8(0x111),_0x4f2a98[_0x1d53d8(0x172)]='Puppeteer',_0x4f2a98[_0x1d53d8(0x132)]=_0x1d53d8(0x130);const _0xee6f26=_0x4f2a98,_0x54d42f=[_0xee6f26['NeRDJ'],_0xee6f26[_0x1d53d8(0x1ba)],_0xee6f26[_0x1d53d8(0x172)],_0xee6f26['RRwmJ']],_0x3a2789=_0x54d42f['find'](_0x3bc7d7=>!!CodeceptJS[_0x1d53d8(0x18d)][_0x1d53d8(0x156)](_0x3bc7d7));if(!_0x3a2789)return null;return CodeceptJS[_0x1d53d8(0x18d)][_0x1d53d8(0x156)](_0x3a2789);};module['exports']=function(_0x446f62){const _0x387e1b=a1_0xb1e3fc,_0x394b92={'CiaAz':function(_0x569984){return _0x569984();},'cdsbX':function(_0x5350d5,_0x495d3c){return _0x5350d5(_0x495d3c);},'EdtvF':'getAccessibilityResults','lrvpe':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','vfzSH':'getAccessibilityResultsSummary','JZdbX':_0x387e1b(0x133),'HoZts':_0x387e1b(0x12c),'YEtOF':_0x387e1b(0x1b3),'DqNGH':'hook-failed','etwqH':_0x387e1b(0x160),'jbjoo':function(_0x4b04f9){return _0x4b04f9();},'eemLu':_0x387e1b(0xf5),'spMmL':function(_0x14954d){return _0x14954d();},'cQlJl':function(_0x5ddd1f,_0x49786c,_0x46ac07){return _0x5ddd1f(_0x49786c,_0x46ac07);},'PrvQM':_0x387e1b(0x128),'IIqIn':function(_0x238e1b){return _0x238e1b();},'WnNBW':function(_0x4af99d,_0x54531d,_0x6c645d){return _0x4af99d(_0x54531d,_0x6c645d);},'rABBc':_0x387e1b(0x10f),'JsZtU':function(_0x843835,_0x11885b,_0x4bf457,_0x8ee650){return _0x843835(_0x11885b,_0x4bf457,_0x8ee650);},'sUKeH':function(_0x18a5a8,_0x5e1814,_0xd88fe9,_0x10dcae){return _0x18a5a8(_0x5e1814,_0xd88fe9,_0x10dcae);},'SwsgI':function(_0x3f9d6e,_0x2d69af){return _0x3f9d6e===_0x2d69af;},'MBCQk':_0x387e1b(0x147),'ZLYcE':_0x387e1b(0x19a),'wPLBw':_0x387e1b(0x11d),'RzKJa':_0x387e1b(0x1c4),'laPUY':function(_0x2f86b8){return _0x2f86b8();},'aKONk':_0x387e1b(0x145),'eHMOs':_0x387e1b(0x183),'lAmGx':_0x387e1b(0x11c),'OstIq':_0x387e1b(0x180),'eKoti':_0x387e1b(0x1c3),'mbYvW':_0x387e1b(0x11a),'KZycz':_0x387e1b(0x134),'dKUuT':_0x387e1b(0x111)};_0x446f62[_0x387e1b(0x191)]&&(global[_0x387e1b(0x1a5)]=_0x446f62[_0x387e1b(0x191)]);PerformanceTester['startMonitoring']();const _0x44ba6a=_0x394b92[_0x387e1b(0x1c1)](getCodeceptDriver),_0x18b735=new O11yHelper(_0x44ba6a,_0x446f62),_0x23f0e0=!!CodeceptJS['container'][_0x387e1b(0x156)](_0x394b92['dKUuT']);global[_0x387e1b(0x181)]=_0x44ba6a,_0x44ba6a&&(PerformanceTester[_0x387e1b(0x173)](PerformanceEvents[_0x387e1b(0x103)],()=>{const _0xbd197d=_0x387e1b;_0x23f0e0?_0x394b92[_0xbd197d(0x163)](patchPlaywrightBefore):_0x394b92[_0xbd197d(0x114)](patchWebDriverBefore,_0x44ba6a);})(),PerformanceTester[_0x387e1b(0x173)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0xeff17c=_0x387e1b,_0x301d9c={};_0x301d9c[_0xeff17c(0x165)]=_0x394b92[_0xeff17c(0x16a)],_0x301d9c['unqls']=_0x394b92[_0xeff17c(0x143)];const _0xe4e0ba=_0x301d9c;_0x44ba6a[_0xeff17c(0x14c)]=async()=>{const _0x16d7bc=_0xeff17c;if(global[_0x16d7bc(0x1a3)]){const _0x53f016={};_0x53f016[_0x16d7bc(0x1b2)]=_0xe4e0ba['TzAeQ'],await PerformanceTester[_0x16d7bc(0x173)](PerformanceA11yEvents[_0x16d7bc(0x154)],async()=>{const _0x3b45c1=_0x16d7bc;await AccessibilityHelper[_0x3b45c1(0xf0)](_0x44ba6a,scripts['performScan']);},_0x53f016)(),await PerformanceTester[_0x16d7bc(0x173)](PerformanceA11yEvents[_0x16d7bc(0x11e)],async()=>{const _0x4404cf=_0x16d7bc;await AccessibilityHelper[_0x4404cf(0xf0)](_0x44ba6a,scripts[_0x4404cf(0x12f)]);})();}else return logger[_0x16d7bc(0x1ab)](_0xe4e0ba[_0x16d7bc(0x146)]),{};},_0x44ba6a[_0xeff17c(0x15e)]=async()=>{const _0xebc8b4=_0xeff17c;if(global['accessibilityPlatform']){const _0x1a558e={};_0x1a558e[_0xebc8b4(0x1b2)]=_0x394b92[_0xebc8b4(0x17f)],await PerformanceTester[_0xebc8b4(0x173)](PerformanceA11yEvents[_0xebc8b4(0x154)],async()=>{const _0x48a00e=_0xebc8b4;await AccessibilityHelper[_0x48a00e(0xf0)](_0x44ba6a,scripts[_0x48a00e(0x136)]);},_0x1a558e)(),await PerformanceTester[_0xebc8b4(0x173)](PerformanceA11yEvents[_0xebc8b4(0x100)],async()=>{const _0x28a848=_0xebc8b4;await AccessibilityHelper[_0x28a848(0xf0)](_0x44ba6a,scripts[_0x28a848(0x18e)]);})();}else return logger[_0xebc8b4(0x1ab)](_0x394b92[_0xebc8b4(0x124)]),{};},_0x394b92[_0xeff17c(0x114)](patchSaveScreenshot,_0x44ba6a);})()),CodeceptJS[_0x387e1b(0x13e)]['dispatcher']['on'](CodeceptJS['event'][_0x387e1b(0x141)]['before'],()=>{const _0x190378=_0x387e1b;PerformanceTester[_0x190378(0x10e)](PerformanceEvents[_0x190378(0x170)]);try{_0x18b735['start'](),testOpsHelper[_0x190378(0x11f)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x5d3c1c){PerformanceTester[_0x190378(0x1a0)](_0x5d3c1c),PerformanceTester[_0x190378(0x12b)](PerformanceEvents[_0x190378(0x170)],![],_0x5d3c1c);}}),CodeceptJS['event'][_0x387e1b(0x15b)]['on'](CodeceptJS['event'][_0x387e1b(0x141)]['after'],async()=>{const _0x748851=_0x387e1b;PerformanceTester[_0x748851(0x10e)](PerformanceEvents[_0x748851(0x192)]);try{requestSpy[_0x748851(0x171)](),await _0x18b735[_0x748851(0x15d)](),PerformanceTester[_0x748851(0x12b)](PerformanceEvents['SDK_POST_TEST']);}catch(_0x1d8993){PerformanceTester[_0x748851(0x1a0)](_0x1d8993),PerformanceTester[_0x748851(0x12b)](PerformanceEvents[_0x748851(0x192)],![],_0x1d8993);}finally{PerformanceTester[_0x748851(0x1d0)]();}}),CodeceptJS['event'][_0x387e1b(0x15b)]['on'](CodeceptJS['event']['hook'][_0x387e1b(0x193)],_0x1f17f9=>{const _0x388393=_0x387e1b;PerformanceTester['start'](PerformanceEvents[_0x388393(0x14e)]);try{const _0x506a19=_0x1f17f9[_0x388393(0x18c)][_0x388393(0x17d)],_0x52829e=_0x18b735[_0x388393(0x15c)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x506a19);CodeceptRecorder[_0x388393(0x196)](()=>_0x18b735[_0x388393(0x177)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x52829e));const _0x288da2={};_0x288da2[_0x388393(0x113)]=_0x394b92[_0x388393(0x140)],PerformanceTester[_0x388393(0x12b)](PerformanceEvents[_0x388393(0x14e)],!![],null,_0x288da2);}catch(_0x57568b){const _0x2b1db2={};_0x2b1db2[_0x388393(0x113)]=_0x394b92['HoZts'],PerformanceTester['end'](PerformanceEvents[_0x388393(0x14e)],![],_0x57568b,_0x2b1db2),PerformanceTester[_0x388393(0x1a0)](_0x57568b);}}),CodeceptJS['event'][_0x387e1b(0x15b)]['on'](CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x14f)][_0x387e1b(0x187)],_0x4bdf94=>{const _0x2ff5a5=_0x387e1b,_0x107466={};_0x107466[_0x2ff5a5(0x113)]=_0x394b92[_0x2ff5a5(0x16d)],PerformanceTester[_0x2ff5a5(0x10e)](PerformanceHookEvents[_0x2ff5a5(0x14e)],!![],null,_0x107466);try{const _0xa6cd67=_0x4bdf94[_0x2ff5a5(0x18c)][_0x2ff5a5(0x17d)],_0x3ba8a7=_0x18b735['captureEvent'](TEST_EVENTS[_0x2ff5a5(0x10a)],_0xa6cd67);CodeceptRecorder[_0x2ff5a5(0x196)](()=>_0x18b735[_0x2ff5a5(0x177)](TEST_EVENTS[_0x2ff5a5(0x10a)],_0x3ba8a7));const _0x80c85e={};_0x80c85e[_0x2ff5a5(0x113)]=_0x394b92[_0x2ff5a5(0x16d)],PerformanceTester[_0x2ff5a5(0x12b)](PerformanceHookEvents[_0x2ff5a5(0x14e)],!![],null,_0x80c85e);}catch(_0x5d1c32){PerformanceTester['captureError'](_0x5d1c32);const _0x4fc0f4={};_0x4fc0f4[_0x2ff5a5(0x113)]=_0x394b92[_0x2ff5a5(0x16d)],PerformanceTester[_0x2ff5a5(0x12b)](PerformanceHookEvents[_0x2ff5a5(0x14e)],![],_0x5d1c32,_0x4fc0f4);}}),CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x15b)]['on'](CodeceptJS[_0x387e1b(0x13e)]['hook'][_0x387e1b(0x17b)],async(_0x4ba70f,_0x465603)=>{const _0x161960=_0x387e1b;PerformanceTester[_0x161960(0x10e)](PerformanceHookEvents[_0x161960(0x14e)]);try{const _0x76ea5c=_0x4ba70f[_0x161960(0x18c)]['test'],_0x3c7887=_0x18b735[_0x161960(0x15c)](TEST_EVENTS[_0x161960(0x10a)],_0x76ea5c,_0x465603);CodeceptRecorder[_0x161960(0x196)](()=>_0x18b735[_0x161960(0x177)](TEST_EVENTS[_0x161960(0x10a)],_0x3c7887));const _0x4ae9ed={};_0x4ae9ed[_0x161960(0x113)]=_0x394b92['DqNGH'],PerformanceTester[_0x161960(0x10e)](PerformanceHookEvents[_0x161960(0x14e)],!![],null,_0x4ae9ed);}catch(_0x4cef22){PerformanceTester[_0x161960(0x1a0)](_0x4cef22);const _0x580542={};_0x580542['hookType']=_0x394b92['DqNGH'],PerformanceTester[_0x161960(0x12b)](PerformanceHookEvents[_0x161960(0x14e)],![],_0x4cef22,_0x580542);}const _0x16c9eb={};_0x16c9eb['hookType']=_0x394b92[_0x161960(0x18a)],PerformanceTester[_0x161960(0x12b)](PerformanceHookEvents[_0x161960(0x14e)],!![],null,_0x16c9eb);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x17d)][_0x387e1b(0x102)],_0x463938=>{const _0x1b052e=_0x387e1b;PerformanceTester[_0x1b052e(0x10e)](PerformanceHookEvents[_0x1b052e(0x14e)]);try{globals[_0x1b052e(0x144)](_0x394b92['etwqH'],_0x463938[_0x1b052e(0x1c9)]);_0x394b92[_0x1b052e(0x10d)](isBrowserstackInfra)&&(_0x23f0e0&&(global[_0x1b052e(0xf9)]={'currentTest':{'name':_0x463938[_0x1b052e(0x1c9)],'testInfo':{'titlePath':_0x463938[_0x1b052e(0x13f)]()}}}));const _0x391cbd={};_0x391cbd['hookType']=_0x394b92[_0x1b052e(0x12a)],PerformanceTester[_0x1b052e(0x12b)](PerformanceHookEvents[_0x1b052e(0x14e)],!![],null,_0x391cbd);}catch(_0x7d2792){PerformanceTester[_0x1b052e(0x1a0)](_0x7d2792);const _0x3865ee={};_0x3865ee[_0x1b052e(0x113)]=_0x394b92[_0x1b052e(0x12a)],PerformanceTester[_0x1b052e(0x12b)](PerformanceHookEvents[_0x1b052e(0x14e)],![],_0x7d2792,_0x3865ee);}}),CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x15b)]['on'](CodeceptJS['event'][_0x387e1b(0x17d)][_0x387e1b(0x193)],_0x31d9e6=>{const _0xe9b429=_0x387e1b,_0x10d7d2={'bPxxT':function(_0x2afa57){const _0x598f57=a1_0x29d0;return _0x394b92[_0x598f57(0x1c6)](_0x2afa57);},'ydWEB':function(_0x514e55,_0x3ba38c){const _0x8ecaa0=a1_0x29d0;return _0x394b92[_0x8ecaa0(0x114)](_0x514e55,_0x3ba38c);},'uXWxU':function(_0x3665fd,_0x28eacc,_0x16be86){const _0x9d36d6=a1_0x29d0;return _0x394b92[_0x9d36d6(0x1b8)](_0x3665fd,_0x28eacc,_0x16be86);}};PerformanceTester[_0xe9b429(0x10e)](PerformanceHookEvents[_0xe9b429(0x14e)]);try{globals[_0xe9b429(0x144)](_0x394b92['etwqH'],_0x31d9e6[_0xe9b429(0x1c9)]);const _0x11a3ee=_0x18b735[_0xe9b429(0x15c)](TEST_EVENTS['TEST_RUN_STARTED'],_0x31d9e6);CodeceptRecorder[_0xe9b429(0x196)](()=>_0x18b735['fireEvent'](TEST_EVENTS[_0xe9b429(0x101)],_0x11a3ee)),CodeceptRecorder['add'](async()=>{const _0x5e7bc0=_0xe9b429;_0x10d7d2[_0x5e7bc0(0x150)](isBrowserstackInfra)&&(!_0x10d7d2['ydWEB'](isTrue,_0x446f62['skipSessionName'])&&await _0x10d7d2['uXWxU'](markSessionName,_0x44ba6a,_0x31d9e6[_0x5e7bc0(0x1c9)]),_0x18b735[_0x5e7bc0(0x16b)]&&await _0x10d7d2[_0x5e7bc0(0x17e)](o11ySync,_0x44ba6a));});}catch(_0x2bc691){const _0x3fcd88={};_0x3fcd88[_0xe9b429(0x113)]=_0x394b92[_0xe9b429(0xf8)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x2bc691,_0x3fcd88),PerformanceTester[_0xe9b429(0x1a0)](_0x2bc691);}const _0x50688d={};_0x50688d['hookType']=_0x394b92['PrvQM'],PerformanceTester['end'](PerformanceHookEvents[_0xe9b429(0x14e)],!![],null,_0x50688d);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x17d)][_0x387e1b(0x187)],_0xbc1c50=>{const _0x19b9e3=_0x387e1b,_0x5b3e98={'DKshk':function(_0x253350,_0x131d11,_0x455aeb){const _0x3fa023=a1_0x29d0;return _0x394b92[_0x3fa023(0x14a)](_0x253350,_0x131d11,_0x455aeb);}};PerformanceTester[_0x19b9e3(0x10e)](PerformanceHookEvents[_0x19b9e3(0x14e)]);try{const _0x569e84=_0x18b735[_0x19b9e3(0x15c)](TEST_EVENTS[_0x19b9e3(0x123)],_0xbc1c50);CodeceptRecorder[_0x19b9e3(0x196)](()=>_0x18b735[_0x19b9e3(0x177)](TEST_EVENTS[_0x19b9e3(0x123)],_0x569e84)),CodeceptRecorder[_0x19b9e3(0x196)](async()=>{const _0x195bd8=_0x19b9e3;_0x394b92[_0x195bd8(0x1c1)](isBrowserstackInfra)&&await PerformanceTester[_0x195bd8(0x173)](PerformanceAutEvents[_0x195bd8(0x195)],async()=>{const _0x5cc3e9=_0x195bd8;_0x23f0e0?await _0x5b3e98[_0x5cc3e9(0xfd)](playwrightMarkSessionStatus,_0x44ba6a,STATE_PASSED):await _0x5b3e98[_0x5cc3e9(0xfd)](markSessionStatus,_0x44ba6a,STATE_PASSED);})();}),PerformanceTester[_0x19b9e3(0x12b)](PerformanceEvents[_0x19b9e3(0x122)]);}catch(_0x308f62){PerformanceTester['captureError'](_0x308f62);const _0x41661d={};_0x41661d['hookType']=_0x394b92[_0x19b9e3(0x121)],PerformanceTester[_0x19b9e3(0x12b)](PerformanceHookEvents['SDK_HOOK'],![],_0x308f62,_0x41661d),PerformanceTester['end'](PerformanceEvents[_0x19b9e3(0x122)],![],_0x308f62);}const _0x4cd5df={};_0x4cd5df[_0x19b9e3(0x113)]=_0x394b92['rABBc'],PerformanceTester[_0x19b9e3(0x12b)](PerformanceHookEvents[_0x19b9e3(0x14e)],!![],null,_0x4cd5df);}),CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x15b)]['on'](CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x17d)][_0x387e1b(0x17b)],(_0x47d706,_0x2bfbfa)=>{const _0x42d278=_0x387e1b;PerformanceTester[_0x42d278(0x10e)](PerformanceHookEvents[_0x42d278(0x14e)]);try{if(_0x394b92[_0x42d278(0x119)](_0x47d706[_0x42d278(0x126)][_0x42d278(0x176)],_0x394b92[_0x42d278(0x118)])){const _0x38df9a=_0x18b735[_0x42d278(0x15c)](TEST_EVENTS[_0x42d278(0x13a)],_0x47d706['ctx'][_0x42d278(0x1a9)]);CodeceptRecorder[_0x42d278(0x196)](()=>_0x18b735[_0x42d278(0x177)](TEST_EVENTS[_0x42d278(0x13a)],_0x38df9a));}else{const _0x3d9136=_0x18b735[_0x42d278(0x15c)](TEST_EVENTS[_0x42d278(0x123)],_0x47d706,_0x2bfbfa);CodeceptRecorder['add'](()=>{const _0x223cb1=_0x42d278;try{_0x18b735[_0x223cb1(0x177)](TEST_EVENTS[_0x223cb1(0x123)],_0x3d9136);}catch(_0x14fe3e){logger[_0x223cb1(0xfb)](_0x223cb1(0x1a8)+util[_0x223cb1(0x197)](_0x14fe3e)),PerformanceTester['end'](PerformanceEvents[_0x223cb1(0x122)],![],_0x14fe3e);}}),CodeceptRecorder[_0x42d278(0x196)](async()=>{const _0x3209f1=_0x42d278;try{_0x394b92[_0x3209f1(0x1c6)](isBrowserstackInfra)&&(_0x23f0e0?await _0x394b92['JsZtU'](playwrightMarkSessionStatus,_0x44ba6a,STATE_FAILED,_0x2bfbfa):await _0x394b92['sUKeH'](markSessionStatus,_0x44ba6a,STATE_FAILED,_0x2bfbfa));}catch(_0x46d4a9){logger[_0x3209f1(0xfb)](_0x3209f1(0xf6)+util['format'](_0x46d4a9)),PerformanceTester[_0x3209f1(0x12b)](PerformanceEvents[_0x3209f1(0x122)],![],_0x46d4a9);}});}PerformanceTester[_0x42d278(0x12b)](PerformanceEvents[_0x42d278(0x122)]);}catch(_0x29406e){PerformanceTester['captureError'](_0x29406e);const _0x30e837={};_0x30e837[_0x42d278(0x113)]=_0x394b92[_0x42d278(0x108)],PerformanceTester[_0x42d278(0x12b)](PerformanceHookEvents[_0x42d278(0x14e)],![],_0x29406e,_0x30e837),PerformanceTester[_0x42d278(0x12b)](PerformanceEvents['SDK_TEST'],![],_0x29406e);}const _0x335b83={};_0x335b83['hookType']=_0x394b92[_0x42d278(0x108)],PerformanceTester[_0x42d278(0x12b)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x335b83);}),CodeceptJS['event'][_0x387e1b(0x15b)]['on'](CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x17d)][_0x387e1b(0x190)],_0x1db070=>{const _0x40d99a=_0x387e1b;PerformanceTester[_0x40d99a(0x10e)](PerformanceHookEvents[_0x40d99a(0x14e)]);try{const _0x5a116d=_0x18b735[_0x40d99a(0x15c)](TEST_EVENTS[_0x40d99a(0x13a)],_0x1db070);CodeceptRecorder[_0x40d99a(0x196)](()=>_0x18b735['fireEvent'](TEST_EVENTS[_0x40d99a(0x13a)],_0x5a116d)),PerformanceTester['end'](PerformanceEvents[_0x40d99a(0x122)]);}catch(_0xb6a50d){PerformanceTester[_0x40d99a(0x1a0)](_0xb6a50d),PerformanceTester[_0x40d99a(0x12b)](PerformanceEvents[_0x40d99a(0x122)],![],_0xb6a50d);const _0x398910={};_0x398910[_0x40d99a(0x113)]=_0x394b92[_0x40d99a(0x10c)],PerformanceTester[_0x40d99a(0x12b)](PerformanceHookEvents[_0x40d99a(0x14e)],![],_0xb6a50d,_0x398910);}const _0x475622={};_0x475622[_0x40d99a(0x113)]=_0x394b92[_0x40d99a(0x10c)],PerformanceTester['end'](PerformanceHookEvents[_0x40d99a(0x14e)],!![],null,_0x475622);}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x17d)][_0x387e1b(0x19e)],async(_0x164f06,_0xfdc08d)=>{const _0x2c2dd2=_0x387e1b;try{PerformanceTester[_0x2c2dd2(0x10e)](PerformanceHookEvents['SDK_HOOK']);if(_0x394b92['laPUY'](isBrowserstackInfra)){const _0x1696e3=_0x394b92[_0x2c2dd2(0x14a)](shouldScanTestForAccessibility,_0x164f06[_0x2c2dd2(0x13f)](),!![]);if(_0x394b92[_0x2c2dd2(0x1c6)](isAccessibilityAutomationSession)&&global[_0x2c2dd2(0x1a3)]&&_0x1696e3){const _0x438260={};_0x438260['thTestRunUuid']=_0x164f06[_0x2c2dd2(0x182)],_0x438260['thBuildUuid']=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x438260[_0x2c2dd2(0x105)]=process['env'][testHubConstants[_0x2c2dd2(0x115)][_0x2c2dd2(0x153)]];const _0x1008e8=_0x438260;logger[_0x2c2dd2(0xfb)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x2c2dd2(0x174)](_0x1008e8)),CodeceptRecorder[_0x2c2dd2(0x196)](async()=>{const _0x4078aa=_0x2c2dd2,_0x4359c2={};_0x4359c2[_0x4078aa(0x1b2)]=_0x394b92[_0x4078aa(0x185)],await PerformanceTester[_0x4078aa(0x173)](PerformanceA11yEvents[_0x4078aa(0x154)],async()=>{const _0x13582a=_0x4078aa;await AccessibilityHelper[_0x13582a(0xf0)](_0x44ba6a,scripts[_0x13582a(0x136)]);},_0x4359c2)(),await PerformanceTester[_0x4078aa(0x173)](PerformanceA11yEvents[_0x4078aa(0x1a2)],async()=>{const _0x1d2612=_0x4078aa;await AccessibilityHelper[_0x1d2612(0xf0)](_0x44ba6a,scripts[_0x1d2612(0x14d)],_0x1008e8);})();}),logger['info'](_0x394b92[_0x2c2dd2(0x16f)]);}}const _0x572782={};_0x572782[_0x2c2dd2(0x113)]=_0x394b92['eHMOs'],PerformanceTester[_0x2c2dd2(0x12b)](PerformanceHookEvents[_0x2c2dd2(0x14e)],!![],null,_0x572782);}catch(_0x1b40a5){PerformanceTester[_0x2c2dd2(0x1a0)](_0x1b40a5);const _0x5dc1ca={};_0x5dc1ca[_0x2c2dd2(0x113)]=_0x394b92['eHMOs'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x1b40a5,_0x5dc1ca);}}),CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x15b)]['on'](CodeceptJS[_0x387e1b(0x13e)]['step'][_0x387e1b(0x1be)],_0x25a598=>{const _0x1d929b=_0x387e1b;PerformanceTester[_0x1d929b(0x10e)](PerformanceHookEvents['SDK_HOOK']);try{process['emit'](_0x1d929b(0x162)+process[_0x1d929b(0x17a)],{'timestamp':new Date()[_0x1d929b(0x18f)](),'level':_0x394b92[_0x1d929b(0xf1)],'message':_0x25a598,'kind':_0x394b92[_0x1d929b(0x178)],'http_response':{}});}catch(_0x2651dd){PerformanceTester[_0x1d929b(0x1a0)](_0x2651dd);const _0x2a593f={};_0x2a593f[_0x1d929b(0x113)]=_0x394b92[_0x1d929b(0x139)],PerformanceTester[_0x1d929b(0x12b)](PerformanceHookEvents[_0x1d929b(0x14e)],![],_0x2651dd,_0x2a593f);}const _0x229250={};_0x229250[_0x1d929b(0x113)]=_0x394b92[_0x1d929b(0x139)],PerformanceTester[_0x1d929b(0x12b)](PerformanceHookEvents[_0x1d929b(0x14e)],!![],null,_0x229250);}),CodeceptJS[_0x387e1b(0x13e)]['dispatcher']['on'](CodeceptJS[_0x387e1b(0x13e)][_0x387e1b(0x1bf)]['before'],_0x17a368=>{const _0x195516=_0x387e1b,_0x11042d={};_0x11042d[_0x195516(0x113)]=_0x394b92['mbYvW'],PerformanceTester[_0x195516(0x173)](PerformanceHookEvents[_0x195516(0x14e)],()=>{const _0x588640=_0x195516;_0x18b735[_0x588640(0x1b9)](_0x17a368);},_0x11042d)();}),CodeceptJS[_0x387e1b(0x13e)]['dispatcher']['on'](CodeceptJS[_0x387e1b(0x13e)]['bddStep'][_0x387e1b(0x19e)],_0x198228=>{const _0x4106b7=_0x387e1b,_0x1753c0={};_0x1753c0[_0x4106b7(0x113)]=_0x394b92[_0x4106b7(0xfe)],PerformanceTester[_0x4106b7(0x173)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x18b735['bddStepFinish'](_0x198228);},_0x1753c0)();});};
1
+ function a1_0x1bf8(_0x562163,_0xa6f29b){const _0x14d9c7=a1_0x14d9();return a1_0x1bf8=function(_0x1bf821,_0x59a5d5){_0x1bf821=_0x1bf821-0x11a;let _0x2fc8f6=_0x14d9c7[_0x1bf821];return _0x2fc8f6;},a1_0x1bf8(_0x562163,_0xa6f29b);}const a1_0x524ea0=a1_0x1bf8;(function(_0x5a8936,_0x338d9e){const _0x48371b=a1_0x1bf8,_0x16453c=_0x5a8936();while(!![]){try{const _0x100371=-parseInt(_0x48371b(0x1b7))/0x1*(parseInt(_0x48371b(0x1f1))/0x2)+-parseInt(_0x48371b(0x1d2))/0x3*(parseInt(_0x48371b(0x1be))/0x4)+-parseInt(_0x48371b(0x151))/0x5+-parseInt(_0x48371b(0x12f))/0x6*(parseInt(_0x48371b(0x19b))/0x7)+-parseInt(_0x48371b(0x189))/0x8+parseInt(_0x48371b(0x17b))/0x9+parseInt(_0x48371b(0x138))/0xa;if(_0x100371===_0x338d9e)break;else _0x16453c['push'](_0x16453c['shift']());}catch(_0x2628c6){_0x16453c['push'](_0x16453c['shift']());}}}(a1_0x14d9,0xbe432));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x524ea0(0x1e0)),logger=require(a1_0x524ea0(0x18a))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x524ea0(0x1da)),PlaywrightSessionDetails=require(a1_0x524ea0(0x1a3)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x524ea0(0x174)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x524ea0(0x1d9)),scripts=require(a1_0x524ea0(0x1ef)),PerformanceTester=require(a1_0x524ea0(0x137)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x524ea0(0x150)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x524ea0(0x123)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x524ea0(0x15a)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x524ea0(0x12d)),CodeceptUtils=requireModule(a1_0x524ea0(0x146),a1_0x524ea0(0x12d)),CodeceptWebDriver=requireModule(a1_0x524ea0(0x16b),a1_0x524ea0(0x12d)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x524ea0(0x12d)),CodeceptPlaywright=requireModule(a1_0x524ea0(0x1b0),'codeceptjs'),playwrightMarkSessionStatus=(_0x4c9da4,_0x1999dd,_0x5a6fa0)=>{const _0x527c3d=a1_0x524ea0,_0x1d312a={'fnVLp':_0x527c3d(0x159),'QYAfc':function(_0x67ee61,_0x36e66e){return _0x67ee61(_0x36e66e);}},_0x2ebe78={};_0x2ebe78[_0x527c3d(0x1dc)]=_0x1999dd;const _0x50c4c5={};_0x50c4c5[_0x527c3d(0x12a)]=_0x1d312a['fnVLp'],_0x50c4c5['arguments']=_0x2ebe78;const _0x5d0776=_0x50c4c5;return!_0x1d312a[_0x527c3d(0x1af)](isUndefined,_0x5a6fa0)&&(_0x5d0776[_0x527c3d(0x129)][_0x527c3d(0x14c)]=JSON[_0x527c3d(0x13e)](_0x5a6fa0)),_0x4c9da4[_0x527c3d(0x1f4)](()=>{},_0x527c3d(0x1bd)+JSON['stringify'](_0x5d0776));},o11ySync=PerformanceTester[a1_0x524ea0(0x14b)](PerformanceO11yEvents[a1_0x524ea0(0x1c8)],async _0x368fc5=>{const _0x526882=a1_0x524ea0,_0x2a0a17={};_0x2a0a17[_0x526882(0x178)]=function(_0x17c80f,_0x37ff4d){return _0x17c80f===_0x37ff4d;},_0x2a0a17[_0x526882(0x1ca)]='Playwright';const _0x5d6623=_0x2a0a17;_0x5d6623[_0x526882(0x178)](_0x368fc5[_0x526882(0x198)]['name'],_0x5d6623['FhVtx'])?await _0x368fc5[_0x526882(0x1f4)](_0x14af46=>{},testOpsHelper[_0x526882(0x175)]()):await _0x368fc5[_0x526882(0x1f4)](testOpsHelper[_0x526882(0x175)]());}),markSessionName=PerformanceTester[a1_0x524ea0(0x14b)](PerformanceAutEvents[a1_0x524ea0(0x177)],async(_0x51d56a,_0x1d39ee)=>{const _0x2500e1=a1_0x524ea0,_0x3bcfe2={};_0x3bcfe2[_0x2500e1(0x17f)]=_0x2500e1(0x165),_0x3bcfe2[_0x2500e1(0x167)]=function(_0x4c14b5,_0x248d16){return _0x4c14b5===_0x248d16;},_0x3bcfe2[_0x2500e1(0x1e5)]=_0x2500e1(0x130);const _0x5695d9=_0x3bcfe2,_0x35a87d={};_0x35a87d[_0x2500e1(0x166)]=_0x1d39ee;const _0x4c15d6={};_0x4c15d6[_0x2500e1(0x12a)]=_0x5695d9[_0x2500e1(0x17f)],_0x4c15d6[_0x2500e1(0x129)]=_0x35a87d;const _0x3742c6=_0x4c15d6;_0x5695d9[_0x2500e1(0x167)](_0x51d56a[_0x2500e1(0x198)][_0x2500e1(0x166)],_0x5695d9[_0x2500e1(0x1e5)])?await _0x51d56a[_0x2500e1(0x1f4)](()=>{},'browserstack_executor:\x20'+JSON[_0x2500e1(0x13e)](_0x3742c6)):await _0x51d56a[_0x2500e1(0x1f4)](_0x2500e1(0x1bd)+JSON['stringify'](_0x3742c6));}),patchSaveScreenshot=_0x3a2d54=>{const _0x3b003c=a1_0x524ea0,_0x58a5a2={'htPIq':_0x3b003c(0x1f0),'dapLJ':_0x3b003c(0x18e),'HzeEy':function(_0x291be6){return _0x291be6();},'CSaxH':function(_0x3ab7a2,_0x6eb45b){return _0x3ab7a2(_0x6eb45b);},'FXZlN':_0x3b003c(0x190),'BAJWu':function(_0x533a91,_0x15d0c9){return _0x533a91(_0x15d0c9);}};_0x58a5a2['BAJWu'](isTrue,process[_0x3b003c(0x184)][_0x3b003c(0x1c0)])&&!_0x3a2d54[_0x3b003c(0x12c)]&&(_0x3a2d54['patchSaveScreenshot']=!![],_0x3a2d54[_0x3b003c(0x1f8)]=_0x3a2d54[_0x3b003c(0x1e7)],_0x3a2d54['saveScreenshot']=(_0x4f0678,_0x2f03cf=![])=>{const _0x1a3425=_0x3b003c,_0x2f4a9b={'nnuKn':_0x58a5a2[_0x1a3425(0x18c)],'SVTVR':_0x58a5a2[_0x1a3425(0x131)],'OnHLl':function(_0x2b2050){const _0x51bc5a=_0x1a3425;return _0x58a5a2[_0x51bc5a(0x147)](_0x2b2050);},'SpkNe':function(_0x3830ee,_0x453072){const _0x5ec546=_0x1a3425;return _0x58a5a2[_0x5ec546(0x121)](_0x3830ee,_0x453072);},'TSbZk':_0x58a5a2[_0x1a3425(0x1de)]};return new Promise(function(_0x13902b,_0x4a0cdc){const _0x24ad5b=_0x1a3425;_0x3a2d54['initSaveScreenshot'](_0x4f0678,_0x2f03cf)[_0x24ad5b(0x1d5)](()=>{const _0x2c5df5=_0x24ad5b,_0x1e20ac=CodeceptUtils[_0x2c5df5(0x1f7)](_0x4f0678);if(_0x1e20ac){const _0x444d41=fs[_0x2c5df5(0x1cb)](_0x1e20ac);process[_0x2c5df5(0x1b2)](_0x2c5df5(0x1c1)+process[_0x2c5df5(0x194)],{'timestamp':new Date()[_0x2c5df5(0x1c9)](),'message':_0x444d41['toString'](_0x2f4a9b[_0x2c5df5(0x16f)]),'kind':_0x2f4a9b['SVTVR']}),_0x2f4a9b[_0x2c5df5(0x1fe)](_0x13902b);}_0x2f4a9b[_0x2c5df5(0x15f)](_0x4a0cdc,new Error(_0x2f4a9b['TSbZk']));})['catch'](()=>null);});});},patchWebDriverBefore=_0x37e55d=>{const _0x4973bf=a1_0x524ea0,_0x528001={'cLrqO':function(_0x44f4dd){return _0x44f4dd();},'zZaAt':function(_0x272b8e,_0x22611c){return _0x272b8e(_0x22611c);},'vnhpt':function(_0x4bb0da,_0x22d0f4){return _0x4bb0da===_0x22d0f4;},'ttECY':_0x4973bf(0x1a1),'xeZKl':function(_0x41cac8,_0x4899aa){return _0x41cac8(_0x4899aa);}},_0x56072e=async function(_0x20aeae,_0x208280){const _0x3481ff=_0x4973bf;return _0x528001[_0x3481ff(0x1bb)](isAccessibilityAutomationSession)&&!global[_0x3481ff(0x16d)]&&global['accessibilityPlatform']&&scripts[_0x3481ff(0x1db)](_0x20aeae[_0x3481ff(0x166)])&&_0x528001[_0x3481ff(0x1b5)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x3481ff(0x161)],async()=>{const _0x122b80=_0x3481ff;logger[_0x122b80(0x142)]('Performing\x20scan\x20for\x20'+_0x20aeae[_0x122b80(0x139)]+'\x20'+_0x20aeae[_0x122b80(0x166)]),await AccessibilityHelper[_0x122b80(0x17d)](_0x37e55d,scripts[_0x122b80(0x19c)]);},{'command':_0x20aeae[_0x3481ff(0x166)]})()),global[_0x3481ff(0x16d)]=![],_0x208280[_0x3481ff(0x17a)](this,Array[_0x3481ff(0x196)][_0x3481ff(0x12b)]['call'](arguments,0x2));},_0xb3b752=CodeceptWebDriver['prototype'][_0x4973bf(0x15b)];CodeceptWebDriver[_0x4973bf(0x196)][_0x4973bf(0x15b)]=async function(){const _0x57dbd9=_0x4973bf;try{await _0xb3b752[_0x57dbd9(0x17a)](this,arguments);}catch(_0x2043c7){logger['debug'](_0x57dbd9(0x1a7)+util[_0x57dbd9(0x158)](_0x2043c7));}scripts[_0x57dbd9(0x1d3)][_0x57dbd9(0x1f5)](_0x3c8e08=>_0x3c8e08[_0x57dbd9(0x166)]&&_0x3c8e08[_0x57dbd9(0x139)])[_0x57dbd9(0x169)](_0x37f22d=>{const _0x4f308b=_0x57dbd9;this[_0x4f308b(0x1a8)][_0x4f308b(0x19d)](_0x37f22d[_0x4f308b(0x166)],_0x56072e[_0x4f308b(0x1a5)](this,_0x37f22d),_0x528001[_0x4f308b(0x1ec)](_0x37f22d[_0x4f308b(0x139)],_0x528001[_0x4f308b(0x163)]));}),_0x528001[_0x57dbd9(0x1ad)](processWebDriverConfig,_0x37e55d);};},patchPlaywrightBefore=()=>{const _0x52170d=a1_0x524ea0;PlaywrightSessionDetails[_0x52170d(0x160)]();const _0x390552=CodeceptPlaywright[_0x52170d(0x196)]['_before'];CodeceptPlaywright[_0x52170d(0x196)][_0x52170d(0x15b)]=async function(){const _0x49ac13=_0x52170d;this['browserContext']=await this[_0x49ac13(0x1a8)][_0x49ac13(0x11e)]()[0x0],await _0x390552[_0x49ac13(0x17a)](this,arguments);};},getCodeceptDriver=()=>{const _0x35b645=a1_0x524ea0,_0x38902e={};_0x38902e[_0x35b645(0x1c2)]=_0x35b645(0x1e8),_0x38902e[_0x35b645(0x1aa)]=_0x35b645(0x130),_0x38902e[_0x35b645(0x172)]=_0x35b645(0x1a9),_0x38902e[_0x35b645(0x141)]=_0x35b645(0x15d);const _0x425a2c=_0x38902e,_0x872774=[_0x425a2c[_0x35b645(0x1c2)],_0x425a2c[_0x35b645(0x1aa)],_0x425a2c[_0x35b645(0x172)],_0x425a2c[_0x35b645(0x141)]],_0x526daa=_0x872774[_0x35b645(0x14d)](_0x22ebf8=>!!CodeceptJS[_0x35b645(0x17c)][_0x35b645(0x13d)](_0x22ebf8));if(!_0x526daa)return null;return CodeceptJS[_0x35b645(0x17c)][_0x35b645(0x13d)](_0x526daa);};module[a1_0x524ea0(0x135)]=function(_0x181713){const _0x2f1af2=a1_0x524ea0,_0x303cca={'WwGEz':function(_0x10458e){return _0x10458e();},'BXSlF':function(_0x5f1316,_0x13d740){return _0x5f1316(_0x13d740);},'WfNzZ':'getAccessibilityResultsSummary','DyJCH':_0x2f1af2(0x125),'kLXMZ':'getAccessibilityResults','XLxaz':_0x2f1af2(0x1e3),'GjnvV':_0x2f1af2(0x14e),'UyoOl':_0x2f1af2(0x1d4),'pJTMa':_0x2f1af2(0x11d),'Sprkv':_0x2f1af2(0x1b3),'rwriJ':_0x2f1af2(0x1bc),'MeNNH':function(_0x318499,_0x6793a0){return _0x318499(_0x6793a0);},'tZILq':function(_0x500ebf,_0x39de98,_0x494a14){return _0x500ebf(_0x39de98,_0x494a14);},'BYfZD':_0x2f1af2(0x19a),'GxtKg':function(_0x148446,_0x1b029c,_0x4ca08c){return _0x148446(_0x1b029c,_0x4ca08c);},'qaNBx':_0x2f1af2(0x132),'WhtXF':function(_0x3ec033){return _0x3ec033();},'qiEPE':function(_0x46863b,_0xbfef87,_0x2a30f5,_0x2b6d67){return _0x46863b(_0xbfef87,_0x2a30f5,_0x2b6d67);},'FQHCu':function(_0x26a14b,_0x494ce6){return _0x26a14b===_0x494ce6;},'kQQdP':_0x2f1af2(0x1ee),'QPlyS':_0x2f1af2(0x149),'dwkaO':_0x2f1af2(0x136),'ApWvD':'afterTest','zEJKM':function(_0x379797){return _0x379797();},'RfOWA':_0x2f1af2(0x1a6),'ZIhiQ':_0x2f1af2(0x1c4),'QBzkI':'INFO','zDwRC':_0x2f1af2(0x1f3),'SydQg':_0x2f1af2(0x1e6),'JTClL':_0x2f1af2(0x1a2),'iBjNc':_0x2f1af2(0x1f2),'cIepe':function(_0x1b191b){return _0x1b191b();},'LAKFO':_0x2f1af2(0x130)};_0x181713[_0x2f1af2(0x168)]&&(global[_0x2f1af2(0x153)]=_0x181713[_0x2f1af2(0x168)]);PerformanceTester[_0x2f1af2(0x1b4)]();const _0x49d629=_0x303cca[_0x2f1af2(0x11b)](getCodeceptDriver),_0x515336=new O11yHelper(_0x49d629,_0x181713),_0x331213=!!CodeceptJS[_0x2f1af2(0x17c)][_0x2f1af2(0x13d)](_0x303cca[_0x2f1af2(0x13a)]);global[_0x2f1af2(0x154)]=_0x49d629,_0x49d629&&(PerformanceTester[_0x2f1af2(0x14b)](PerformanceEvents[_0x2f1af2(0x19e)],()=>{const _0x174246=_0x2f1af2;_0x331213?_0x303cca[_0x174246(0x179)](patchPlaywrightBefore):_0x303cca[_0x174246(0x1ce)](patchWebDriverBefore,_0x49d629);})(),PerformanceTester[_0x2f1af2(0x14b)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0xbea5a=_0x2f1af2,_0x4119c6={};_0x4119c6[_0xbea5a(0x1fb)]=_0x303cca['kLXMZ'],_0x4119c6[_0xbea5a(0x15c)]=_0x303cca[_0xbea5a(0x1ed)];const _0x12b0af=_0x4119c6;_0x49d629['getAccessibilityResultsSummary']=async()=>{const _0x4fce76=_0xbea5a;if(global[_0x4fce76(0x143)]){const _0x4f5d9e={};_0x4f5d9e['command']=_0x303cca[_0x4fce76(0x1cc)],await PerformanceTester[_0x4fce76(0x14b)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x24c1ea=_0x4fce76;await AccessibilityHelper[_0x24c1ea(0x17d)](_0x49d629,scripts['performScan']);},_0x4f5d9e)(),await PerformanceTester[_0x4fce76(0x14b)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x20d8d0=_0x4fce76;await AccessibilityHelper[_0x20d8d0(0x17d)](_0x49d629,scripts[_0x20d8d0(0x1c6)]);})();}else return logger['warn'](_0x303cca[_0x4fce76(0x193)]),{};},_0x49d629[_0xbea5a(0x191)]=async()=>{const _0x49e1b2=_0xbea5a;if(global[_0x49e1b2(0x143)]){const _0x602eb3={};_0x602eb3[_0x49e1b2(0x1ae)]=_0x12b0af['QpKcS'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x49e1b2(0x161)],async()=>{const _0x119fca=_0x49e1b2;await AccessibilityHelper[_0x119fca(0x17d)](_0x49d629,scripts[_0x119fca(0x19c)]);},_0x602eb3)(),await PerformanceTester[_0x49e1b2(0x14b)](PerformanceA11yEvents[_0x49e1b2(0x122)],async()=>{const _0x1bc79e=_0x49e1b2;await AccessibilityHelper[_0x1bc79e(0x17d)](_0x49d629,scripts[_0x1bc79e(0x1e9)]);})();}else return logger['warn'](_0x12b0af[_0x49e1b2(0x15c)]),{};},_0x303cca[_0xbea5a(0x1ce)](patchSaveScreenshot,_0x49d629);})()),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)]['all'][_0x2f1af2(0x1b1)],()=>{const _0x1cc6ca=_0x2f1af2;PerformanceTester[_0x1cc6ca(0x152)](PerformanceEvents[_0x1cc6ca(0x1df)]);try{_0x515336[_0x1cc6ca(0x152)](),testOpsHelper[_0x1cc6ca(0x1ba)](),PerformanceTester[_0x1cc6ca(0x11f)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x4baa66){PerformanceTester[_0x1cc6ca(0x1ac)](_0x4baa66),PerformanceTester[_0x1cc6ca(0x11f)](PerformanceEvents[_0x1cc6ca(0x1df)],![],_0x4baa66);}}),CodeceptJS[_0x2f1af2(0x1fa)]['dispatcher']['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x157)][_0x2f1af2(0x127)],async()=>{const _0x84591c=_0x2f1af2;PerformanceTester[_0x84591c(0x152)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x84591c(0x1e4)](),await _0x515336[_0x84591c(0x17e)](),PerformanceTester[_0x84591c(0x11f)](PerformanceEvents[_0x84591c(0x156)]);}catch(_0x4a374c){PerformanceTester['captureError'](_0x4a374c),PerformanceTester['end'](PerformanceEvents[_0x84591c(0x156)],![],_0x4a374c);}finally{PerformanceTester[_0x84591c(0x13b)]();}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)]['hook'][_0x2f1af2(0x1ab)],_0x4c4893=>{const _0x560f8b=_0x2f1af2;PerformanceTester['start'](PerformanceEvents['SDK_HOOK']);try{const _0x3aa28f=_0x4c4893['ctx'][_0x560f8b(0x197)],_0x19f0e8=_0x515336[_0x560f8b(0x1d1)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x3aa28f);CodeceptRecorder[_0x560f8b(0x176)](()=>_0x515336[_0x560f8b(0x15e)](TEST_EVENTS[_0x560f8b(0x188)],_0x19f0e8));const _0x82bdb={};_0x82bdb[_0x560f8b(0x1d6)]=_0x303cca[_0x560f8b(0x192)],PerformanceTester[_0x560f8b(0x11f)](PerformanceEvents[_0x560f8b(0x200)],!![],null,_0x82bdb);}catch(_0x57d1bd){const _0x49e009={};_0x49e009[_0x560f8b(0x1d6)]=_0x303cca['GjnvV'],PerformanceTester[_0x560f8b(0x11f)](PerformanceEvents[_0x560f8b(0x200)],![],_0x57d1bd,_0x49e009),PerformanceTester[_0x560f8b(0x1ac)](_0x57d1bd);}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x124)][_0x2f1af2(0x133)],_0x2d0f08=>{const _0x33a367=_0x2f1af2,_0x59f917={};_0x59f917[_0x33a367(0x1d6)]=_0x303cca[_0x33a367(0x1bf)],PerformanceTester[_0x33a367(0x152)](PerformanceHookEvents[_0x33a367(0x200)],!![],null,_0x59f917);try{const _0x1bf236=_0x2d0f08[_0x33a367(0x14f)]['test'],_0x5a6174=_0x515336['captureEvent'](TEST_EVENTS[_0x33a367(0x14a)],_0x1bf236);CodeceptRecorder['add'](()=>_0x515336[_0x33a367(0x15e)](TEST_EVENTS[_0x33a367(0x14a)],_0x5a6174));const _0x5a450d={};_0x5a450d['hookType']=_0x303cca['UyoOl'],PerformanceTester['end'](PerformanceHookEvents[_0x33a367(0x200)],!![],null,_0x5a450d);}catch(_0x1666f4){PerformanceTester['captureError'](_0x1666f4);const _0x1fe8e9={};_0x1fe8e9['hookType']=_0x303cca[_0x33a367(0x1bf)],PerformanceTester[_0x33a367(0x11f)](PerformanceHookEvents['SDK_HOOK'],![],_0x1666f4,_0x1fe8e9);}}),CodeceptJS['event'][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x124)][_0x2f1af2(0x1d0)],async(_0x52643d,_0x48870f)=>{const _0x4edd02=_0x2f1af2;PerformanceTester[_0x4edd02(0x152)](PerformanceHookEvents[_0x4edd02(0x200)]);try{const _0x11b059=_0x52643d['ctx'][_0x4edd02(0x197)],_0x33fb6c=_0x515336[_0x4edd02(0x1d1)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x11b059,_0x48870f);CodeceptRecorder[_0x4edd02(0x176)](()=>_0x515336[_0x4edd02(0x15e)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x33fb6c));const _0x16365d={};_0x16365d[_0x4edd02(0x1d6)]=_0x303cca[_0x4edd02(0x162)],PerformanceTester[_0x4edd02(0x152)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x16365d);}catch(_0x5c2907){PerformanceTester[_0x4edd02(0x1ac)](_0x5c2907);const _0x35e9f9={};_0x35e9f9[_0x4edd02(0x1d6)]=_0x303cca['pJTMa'],PerformanceTester[_0x4edd02(0x11f)](PerformanceHookEvents[_0x4edd02(0x200)],![],_0x5c2907,_0x35e9f9);}const _0x14940f={};_0x14940f[_0x4edd02(0x1d6)]=_0x303cca['pJTMa'],PerformanceTester[_0x4edd02(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x14940f);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)]['test'][_0x2f1af2(0x1b1)],_0xc9301=>{const _0x1daa52=_0x2f1af2;PerformanceTester[_0x1daa52(0x152)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x1daa52(0x16e)](_0x303cca[_0x1daa52(0x164)],_0xc9301[_0x1daa52(0x19f)]);_0x303cca[_0x1daa52(0x179)](isBrowserstackInfra)&&(_0x331213&&(global[_0x1daa52(0x1fd)]={'currentTest':{'name':_0xc9301[_0x1daa52(0x19f)],'testInfo':{'titlePath':_0xc9301[_0x1daa52(0x1dd)]()}}}));const _0x410289={};_0x410289[_0x1daa52(0x1d6)]=_0x303cca[_0x1daa52(0x1f9)],PerformanceTester['end'](PerformanceHookEvents[_0x1daa52(0x200)],!![],null,_0x410289);}catch(_0x24f190){PerformanceTester['captureError'](_0x24f190);const _0x5a0d3a={};_0x5a0d3a['hookType']=_0x303cca[_0x1daa52(0x1f9)],PerformanceTester[_0x1daa52(0x11f)](PerformanceHookEvents[_0x1daa52(0x200)],![],_0x24f190,_0x5a0d3a);}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)][_0x2f1af2(0x1ab)],_0x5c5fe1=>{const _0x3cc37f=_0x2f1af2,_0x982377={'tawuu':function(_0x591a41){const _0x2f65e6=a1_0x1bf8;return _0x303cca[_0x2f65e6(0x179)](_0x591a41);},'CJIHy':function(_0x4b81b7,_0x37fdcf){const _0x18dc22=a1_0x1bf8;return _0x303cca[_0x18dc22(0x18f)](_0x4b81b7,_0x37fdcf);},'EznMJ':function(_0x1146f2,_0x19a4cd,_0x23afcc){const _0x335f08=a1_0x1bf8;return _0x303cca[_0x335f08(0x1cf)](_0x1146f2,_0x19a4cd,_0x23afcc);},'YYEFR':function(_0x599fd4,_0x2f9dc5){const _0xea90de=a1_0x1bf8;return _0x303cca[_0xea90de(0x18f)](_0x599fd4,_0x2f9dc5);}};PerformanceTester[_0x3cc37f(0x152)](PerformanceHookEvents[_0x3cc37f(0x200)]);try{globals[_0x3cc37f(0x16e)](_0x303cca[_0x3cc37f(0x164)],_0x5c5fe1[_0x3cc37f(0x19f)]);const _0x1f80e7=_0x515336[_0x3cc37f(0x1d1)](TEST_EVENTS[_0x3cc37f(0x12e)],_0x5c5fe1);CodeceptRecorder[_0x3cc37f(0x176)](()=>_0x515336[_0x3cc37f(0x15e)](TEST_EVENTS[_0x3cc37f(0x12e)],_0x1f80e7)),CodeceptRecorder[_0x3cc37f(0x176)](async()=>{const _0xedbddd=_0x3cc37f;_0x982377[_0xedbddd(0x186)](isBrowserstackInfra)&&(!_0x982377[_0xedbddd(0x1c5)](isTrue,_0x181713[_0xedbddd(0x145)])&&await _0x982377['EznMJ'](markSessionName,_0x49d629,_0x5c5fe1[_0xedbddd(0x19f)]),_0x515336[_0xedbddd(0x18d)]&&await _0x982377[_0xedbddd(0x13c)](o11ySync,_0x49d629));});}catch(_0xdf4761){const _0x387290={};_0x387290['hookType']=_0x303cca['BYfZD'],PerformanceTester[_0x3cc37f(0x11f)](PerformanceHookEvents[_0x3cc37f(0x200)],![],_0xdf4761,_0x387290),PerformanceTester[_0x3cc37f(0x1ac)](_0xdf4761);}const _0x379c2d={};_0x379c2d[_0x3cc37f(0x1d6)]=_0x303cca['BYfZD'],PerformanceTester[_0x3cc37f(0x11f)](PerformanceHookEvents[_0x3cc37f(0x200)],!![],null,_0x379c2d);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)]['passed'],_0x4c1f74=>{const _0x4de731=_0x2f1af2,_0x5a14cb={'wUYqg':function(_0x2fe9cc,_0x49a29d,_0x2cea4c){const _0x371ab1=a1_0x1bf8;return _0x303cca[_0x371ab1(0x1cf)](_0x2fe9cc,_0x49a29d,_0x2cea4c);},'cHpRu':function(_0x544ce6,_0x240465,_0x1a2b86){const _0x1712a2=a1_0x1bf8;return _0x303cca[_0x1712a2(0x11a)](_0x544ce6,_0x240465,_0x1a2b86);},'ulmgz':function(_0x940637){const _0x22cc71=a1_0x1bf8;return _0x303cca[_0x22cc71(0x179)](_0x940637);}};PerformanceTester['start'](PerformanceHookEvents[_0x4de731(0x200)]);try{const _0x4f558b=_0x515336['captureEvent'](TEST_EVENTS[_0x4de731(0x148)],_0x4c1f74);CodeceptRecorder[_0x4de731(0x176)](()=>_0x515336[_0x4de731(0x15e)](TEST_EVENTS[_0x4de731(0x148)],_0x4f558b)),CodeceptRecorder[_0x4de731(0x176)](async()=>{const _0x54f2b6=_0x4de731,_0x2b74d6={'Xsyiu':function(_0xf25ae9,_0x340c98,_0x43f715){const _0x4e1da8=a1_0x1bf8;return _0x5a14cb[_0x4e1da8(0x1ea)](_0xf25ae9,_0x340c98,_0x43f715);},'VcOEw':function(_0x132026,_0x436b31,_0x53b703){return _0x5a14cb['cHpRu'](_0x132026,_0x436b31,_0x53b703);}};_0x5a14cb[_0x54f2b6(0x173)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x54f2b6(0x155)],async()=>{const _0x4036c6=_0x54f2b6;_0x331213?await _0x2b74d6[_0x4036c6(0x185)](playwrightMarkSessionStatus,_0x49d629,STATE_PASSED):await _0x2b74d6[_0x4036c6(0x126)](markSessionStatus,_0x49d629,STATE_PASSED);})();}),PerformanceTester[_0x4de731(0x11f)](PerformanceEvents[_0x4de731(0x171)]);}catch(_0x537b62){PerformanceTester[_0x4de731(0x1ac)](_0x537b62);const _0x4ef457={};_0x4ef457[_0x4de731(0x1d6)]=_0x303cca[_0x4de731(0x181)],PerformanceTester[_0x4de731(0x11f)](PerformanceHookEvents[_0x4de731(0x200)],![],_0x537b62,_0x4ef457),PerformanceTester[_0x4de731(0x11f)](PerformanceEvents[_0x4de731(0x171)],![],_0x537b62);}const _0x4a17fc={};_0x4a17fc['hookType']=_0x303cca[_0x4de731(0x181)],PerformanceTester[_0x4de731(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4a17fc);}),CodeceptJS[_0x2f1af2(0x1fa)]['dispatcher']['on'](CodeceptJS['event'][_0x2f1af2(0x197)][_0x2f1af2(0x1d0)],(_0x5a081d,_0x204174)=>{const _0x225e82=_0x2f1af2;PerformanceTester[_0x225e82(0x152)](PerformanceHookEvents[_0x225e82(0x200)]);try{if(_0x303cca[_0x225e82(0x195)](_0x5a081d[_0x225e82(0x198)][_0x225e82(0x166)],_0x303cca[_0x225e82(0x170)])){const _0x3735f3=_0x515336['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5a081d[_0x225e82(0x14f)][_0x225e82(0x11c)]);CodeceptRecorder[_0x225e82(0x176)](()=>_0x515336['fireEvent'](TEST_EVENTS[_0x225e82(0x1ff)],_0x3735f3));}else{const _0xf86a50=_0x515336['captureEvent'](TEST_EVENTS[_0x225e82(0x148)],_0x5a081d,_0x204174);CodeceptRecorder[_0x225e82(0x176)](()=>{const _0x28cb1a=_0x225e82;try{_0x515336[_0x28cb1a(0x15e)](TEST_EVENTS[_0x28cb1a(0x148)],_0xf86a50);}catch(_0x22675e){logger[_0x28cb1a(0x142)](_0x28cb1a(0x144)+util['format'](_0x22675e)),PerformanceTester[_0x28cb1a(0x11f)](PerformanceEvents[_0x28cb1a(0x171)],![],_0x22675e);}}),CodeceptRecorder['add'](async()=>{const _0xca6c09=_0x225e82;try{_0x303cca[_0xca6c09(0x1b6)](isBrowserstackInfra)&&(_0x331213?await _0x303cca[_0xca6c09(0x199)](playwrightMarkSessionStatus,_0x49d629,STATE_FAILED,_0x204174):await _0x303cca['qiEPE'](markSessionStatus,_0x49d629,STATE_FAILED,_0x204174));}catch(_0x5c44ce){logger[_0xca6c09(0x142)](_0xca6c09(0x140)+util[_0xca6c09(0x158)](_0x5c44ce)),PerformanceTester['end'](PerformanceEvents[_0xca6c09(0x171)],![],_0x5c44ce);}});}PerformanceTester[_0x225e82(0x11f)](PerformanceEvents[_0x225e82(0x171)]);}catch(_0x57709c){PerformanceTester['captureError'](_0x57709c);const _0x2a2485={};_0x2a2485[_0x225e82(0x1d6)]=_0x303cca[_0x225e82(0x1f6)],PerformanceTester[_0x225e82(0x11f)](PerformanceHookEvents[_0x225e82(0x200)],![],_0x57709c,_0x2a2485),PerformanceTester[_0x225e82(0x11f)](PerformanceEvents['SDK_TEST'],![],_0x57709c);}const _0x20b252={};_0x20b252[_0x225e82(0x1d6)]=_0x303cca[_0x225e82(0x1f6)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x20b252);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)]['skipped'],_0x2b1734=>{const _0xe9a5c4=_0x2f1af2;PerformanceTester[_0xe9a5c4(0x152)](PerformanceHookEvents[_0xe9a5c4(0x200)]);try{const _0x3644ad=_0x515336[_0xe9a5c4(0x1d1)](TEST_EVENTS[_0xe9a5c4(0x1ff)],_0x2b1734);CodeceptRecorder['add'](()=>_0x515336[_0xe9a5c4(0x15e)](TEST_EVENTS[_0xe9a5c4(0x1ff)],_0x3644ad)),PerformanceTester['end'](PerformanceEvents[_0xe9a5c4(0x171)]);}catch(_0x7fa131){PerformanceTester[_0xe9a5c4(0x1ac)](_0x7fa131),PerformanceTester[_0xe9a5c4(0x11f)](PerformanceEvents[_0xe9a5c4(0x171)],![],_0x7fa131);const _0x12eb71={};_0x12eb71[_0xe9a5c4(0x1d6)]=_0x303cca[_0xe9a5c4(0x1e2)],PerformanceTester['end'](PerformanceHookEvents[_0xe9a5c4(0x200)],![],_0x7fa131,_0x12eb71);}const _0x70c2fe={};_0x70c2fe[_0xe9a5c4(0x1d6)]=_0x303cca[_0xe9a5c4(0x1e2)],PerformanceTester[_0xe9a5c4(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x70c2fe);}),CodeceptJS[_0x2f1af2(0x1fa)]['dispatcher']['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x197)][_0x2f1af2(0x127)],async(_0x82ab4b,_0x2076c1)=>{const _0x5450a5=_0x2f1af2,_0x1c9561={};_0x1c9561[_0x5450a5(0x1b8)]=_0x303cca[_0x5450a5(0x187)];const _0x1b9f02=_0x1c9561;try{PerformanceTester[_0x5450a5(0x152)](PerformanceHookEvents[_0x5450a5(0x200)]);if(_0x303cca[_0x5450a5(0x1eb)](isBrowserstackInfra)){const _0x4f5bd1=_0x303cca[_0x5450a5(0x1cf)](shouldScanTestForAccessibility,_0x82ab4b[_0x5450a5(0x1dd)](),!![]);if(_0x303cca[_0x5450a5(0x1b6)](isAccessibilityAutomationSession)&&global[_0x5450a5(0x143)]&&_0x4f5bd1){const _0x572762={};_0x572762[_0x5450a5(0x1a0)]=_0x82ab4b[_0x5450a5(0x1cd)],_0x572762[_0x5450a5(0x1c7)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x572762[_0x5450a5(0x16c)]=process['env'][testHubConstants[_0x5450a5(0x1fc)][_0x5450a5(0x13f)]];const _0x29b08e=_0x572762;logger[_0x5450a5(0x142)](_0x5450a5(0x180)+JSON[_0x5450a5(0x13e)](_0x29b08e)),CodeceptRecorder[_0x5450a5(0x176)](async()=>{const _0x4c6ec8=_0x5450a5,_0x3c792b={};_0x3c792b[_0x4c6ec8(0x1ae)]=_0x1b9f02[_0x4c6ec8(0x1b8)],await PerformanceTester[_0x4c6ec8(0x14b)](PerformanceA11yEvents[_0x4c6ec8(0x161)],async()=>{const _0x547338=_0x4c6ec8;await AccessibilityHelper[_0x547338(0x17d)](_0x49d629,scripts[_0x547338(0x19c)]);},_0x3c792b)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x4c6ec8(0x1c3)],async()=>{const _0x27bd9d=_0x4c6ec8;await AccessibilityHelper[_0x27bd9d(0x17d)](_0x49d629,scripts[_0x27bd9d(0x182)],_0x29b08e);})();}),logger['info'](_0x303cca[_0x5450a5(0x1a4)]);}}const _0x1534cb={};_0x1534cb[_0x5450a5(0x1d6)]=_0x303cca[_0x5450a5(0x1b9)],PerformanceTester[_0x5450a5(0x11f)](PerformanceHookEvents[_0x5450a5(0x200)],!![],null,_0x1534cb);}catch(_0x2b002c){PerformanceTester[_0x5450a5(0x1ac)](_0x2b002c);const _0x3ccee1={};_0x3ccee1[_0x5450a5(0x1d6)]=_0x303cca[_0x5450a5(0x1b9)],PerformanceTester[_0x5450a5(0x11f)](PerformanceHookEvents['SDK_HOOK'],![],_0x2b002c,_0x3ccee1);}}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x120)]['comment'],_0x5bbf0f=>{const _0x437aef=_0x2f1af2;PerformanceTester[_0x437aef(0x152)](PerformanceHookEvents[_0x437aef(0x200)]);try{process[_0x437aef(0x1b2)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x437aef(0x1c9)](),'level':_0x303cca[_0x437aef(0x1e1)],'message':_0x5bbf0f,'kind':_0x303cca[_0x437aef(0x1d8)],'http_response':{}});}catch(_0x595eb2){PerformanceTester[_0x437aef(0x1ac)](_0x595eb2);const _0x27528c={};_0x27528c['hookType']=_0x303cca[_0x437aef(0x134)],PerformanceTester[_0x437aef(0x11f)](PerformanceHookEvents[_0x437aef(0x200)],![],_0x595eb2,_0x27528c);}const _0xd0ba67={};_0xd0ba67[_0x437aef(0x1d6)]=_0x303cca[_0x437aef(0x134)],PerformanceTester[_0x437aef(0x11f)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xd0ba67);}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x128)][_0x2f1af2(0x1b1)],_0x54fc04=>{const _0x11e3f4=_0x2f1af2,_0x45c521={};_0x45c521[_0x11e3f4(0x1d6)]=_0x303cca['JTClL'],PerformanceTester[_0x11e3f4(0x14b)](PerformanceHookEvents[_0x11e3f4(0x200)],()=>{const _0x345b2a=_0x11e3f4;_0x515336[_0x345b2a(0x16a)](_0x54fc04);},_0x45c521)();}),CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x183)]['on'](CodeceptJS[_0x2f1af2(0x1fa)][_0x2f1af2(0x128)][_0x2f1af2(0x127)],_0x17991d=>{const _0x5695e9=_0x2f1af2,_0xe66d5b={};_0xe66d5b[_0x5695e9(0x1d6)]=_0x303cca[_0x5695e9(0x1d7)],PerformanceTester[_0x5695e9(0x14b)](PerformanceHookEvents[_0x5695e9(0x200)],()=>{const _0x244722=_0x5695e9;_0x515336[_0x244722(0x18b)](_0x17991d);},_0xe66d5b)();});};function a1_0x14d9(){const _0x431863=['browserStackExecuteDriver','stop','vSLvx','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','qaNBx','saveTestResults','dispatcher','env','Xsyiu','tawuu','ApWvD','HOOK_RUN_STARTED','2558704sllOxD','../../helpers/logger','bddStepFinish','htPIq','enabled','TEST_SCREENSHOT','MeNNH','Screenshot\x20path\x20not\x20found','getAccessibilityResults','GjnvV','DyJCH','pid','FQHCu','prototype','test','constructor','qiEPE','test-started','105KyIsNS','performScan','overwriteCommand','SDK_PRE_INITIALIZE','title','thTestRunUuid','Element','bddStep-before','../../bin/playwright/sessionDetails','RfOWA','bind','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Failed\x20to\x20execute\x20_before:\x20','browser','Puppeteer','gUfAB','started','captureError','xeZKl','command','QYAfc','codeceptjs/lib/helper/Playwright.js','before','emit','browserstackTestName','startMonitoring','zZaAt','WhtXF','11287jScFEn','qjHyM','ZIhiQ','addRequestSpy','cLrqO','test-before','browserstack_executor:\x20','11092CiHzwZ','UyoOl','BS_TESTOPS_ALLOW_SCREENSHOTS','bs:addLog:','kRLna','SAVE_RESULTS','test-after','CJIHy','getResultsSummary','thBuildUuid','SYNC','toISOString','FhVtx','readFileSync','WfNzZ','testAnalyticsId','BXSlF','tZILq','failed','captureEvent','1305YgMGVW','commandsToWrap','hook-passed','then','hookType','iBjNc','zDwRC','../../bin/playwright/accessibility-helper','../../helpers/request-spy','shouldWrapCommand','status','titlePath','FXZlN','SDK_PRE_TEST','../../helpers/helper','QBzkI','dwkaO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','restore','YRqAf','step-comment','saveScreenshot','WebDriver','getResults','wUYqg','zEJKM','vnhpt','XLxaz','Suite','../../helpers/accessibility-automation/scripts','base64','118AdyfBS','bddStep-after','TEST_LOG','executeScript','filter','QPlyS','screenshotOutputFolder','initSaveScreenshot','rwriJ','event','QpKcS','ENV_VAR','__workerDetails','OnHLl','TEST_RUN_SKIPPED','SDK_HOOK','GxtKg','cIepe','currentTest','hook-failed','contexts','end','step','CSaxH','GET_RESULTS','./helper.js','hook','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','VcOEw','after','bddStep','arguments','action','slice','patchSaveScreenshot','codeceptjs','TEST_RUN_STARTED','428478hCUtZU','Playwright','dapLJ','test-passed','passed','SydQg','exports','test-skipped','../../helpers/performance/performance-tester','39502340vNlvje','class','LAKFO','stopMonitoring','YYEFR','helpers','stringify','BROWSERSTACK_TESTHUB_JWT','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','rROaY','debug','accessibilityPlatform','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','skipSessionName','codeceptjs/lib/utils.js','HzeEy','TEST_RUN_FINISHED','test-failed','HOOK_RUN_FINISHED','measureWrapper','reason','find','hook-started','ctx','../../helpers/performance/constants','2056985ppyrou','start','__skipSessionStatus','__driver','SESSION_STATUS','SDK_POST_TEST','all','format','setSessionStatus','../../helpers/globals.js','_before','cJcbv','TestCafe','fireEvent','SpkNe','patch','PERFORM_SCAN','pJTMa','ttECY','Sprkv','setSessionName','name','qnQgY','skipSessionStatus','forEach','bddStepStart','codeceptjs/lib/helper/WebDriver.js','thJwtToken','bstackAllyScanning','setGlobal','nnuKn','kQQdP','SDK_TEST','CGtzW','ulmgz','./o11yHelper','getSyncScript','add','SESSION_NAME','dsNIM','WwGEz','apply','4533282ACSalN','container'];a1_0x14d9=function(){return _0x431863;};return a1_0x14d9();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x593111=a2_0x41e4;function a2_0x4c7d(){const _0x1a4c70=['testObservability','errorMessage','ceLht','BrowserStackPlugin','require','gherkin','createGroupsOfSuites','getUserWorkerCount','IVfFR','BROWSERSTACK_TEST_OBSERVABILITY_YML','codeceptjs/lib/index.js','browserStackCwd','nfuGY','gCjmg','isUndefined','2787380HxDCRd','qEbyP','Started\x20:\x20','ndGmp','spawn','accessibilityOptions','load','6182680kKSqeQ','XvCII','../../helpers/BrowserStackSetup','forEach','FRAMEWORKS','PKPSA','UsbeO','Playwright','validateRerunTestList','event','desiredCapabilities','env','../../helpers/test-observability/utils','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','getPlaywrightUrl','platforms','27CQKkTD','validPlatformsPresent','../../helpers/performance/constants','prepareCapabilities','handleApp','EVENTS','findIndex','Workers','../utils/constants','SncEe','6JpAQxy','chdir','map','start','135697NoiSIz','zulEW','profile','existsSync','enabled','mergeDeep','../../helpers/helper','browserName','stringify','isEmpty','codeceptjs','split','cuvUF','err','isTestObservabilitySession','helpers','useW3C','playwright-webkit','playwright-firefox','log','finalExecution','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','1075347rIhmwD','frameworkName','browserWSEndpoint','FqyTk','CODECEPT_CUCUMBER','accessibility','ilPPy','debug','../../helpers/testhub/testhubHandler','run','hAtqw','passed','setAdditionalCapabilities','4294288Kbxyjp','USER_CONFIG_DETAILS_PATH','printResults','DLBuY','stop','toLowerCase','teardownAll','getPlatformName','chromium','before','now','info','CODECEPT','join','12nHdBHU','WebDriver','webkit','root','browser','length','skipSessionStatus','BrowserStackPlugin.js','../../helpers/performance/performance-tester','push','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','slice','testContextOptions','sIhyu','../../helpers/logger','aouBs','../../helpers/accessibility-automation/helper','bootstrapAll','qPUwu','751222LazxSf','winstonLogger','isTrue','result','codecept.conf.js','title','2730850unoyyZ','config','4|3|0|1|5|2','end','stack','ycAPj','../../helpers/utilities','addConfig','Gxlbx','cwd','parallelsPerPlatform','util','../../helpers/test-observability/constants','trim','testConfig','test','FWqnW','YPHDO'];a2_0x4c7d=function(){return _0x1a4c70;};return a2_0x4c7d();}function a2_0x41e4(_0x24d143,_0x358625){const _0x4c7d03=a2_0x4c7d();return a2_0x41e4=function(_0x41e41b,_0x4e73ac){_0x41e41b=_0x41e41b-0x1b0;let _0x574d8c=_0x4c7d03[_0x41e41b];return _0x574d8c;},a2_0x41e4(_0x24d143,_0x358625);}(function(_0x453136,_0x487a02){const _0x5b12dd=a2_0x41e4,_0x146aba=_0x453136();while(!![]){try{const _0x333cbb=-parseInt(_0x5b12dd(0x230))/0x1+parseInt(_0x5b12dd(0x1e4))/0x2*(parseInt(_0x5b12dd(0x22c))/0x3)+parseInt(_0x5b12dd(0x1c3))/0x4+parseInt(_0x5b12dd(0x20b))/0x5*(-parseInt(_0x5b12dd(0x1d1))/0x6)+parseInt(_0x5b12dd(0x1b6))/0x7+-parseInt(_0x5b12dd(0x212))/0x8+parseInt(_0x5b12dd(0x222))/0x9*(parseInt(_0x5b12dd(0x1ea))/0xa);if(_0x333cbb===_0x487a02)break;else _0x146aba['push'](_0x146aba['shift']());}catch(_0x4d82d2){_0x146aba['push'](_0x146aba['shift']());}}}(a2_0x4c7d,0xbd02a));const fs=require('fs'),path=require('path'),util=require(a2_0x593111(0x1f5)),process=require('process'),logger=require(a2_0x593111(0x1df))[a2_0x593111(0x1e5)],{default:BrowserStackSetup}=require(a2_0x593111(0x214)),helper=require(a2_0x593111(0x236)),utilities=require(a2_0x593111(0x1f0)),{checkAccessibilityPlatformConfig}=require(a2_0x593111(0x1e1)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x593111(0x206),a2_0x593111(0x23a)),testOpsHelper=require(a2_0x593111(0x21e)),TestHubHandler=require(a2_0x593111(0x1be)),constants=require(a2_0x593111(0x22a)),PerformanceTester=require(a2_0x593111(0x1d9)),{FRAMEWORKS}=require(a2_0x593111(0x1f6)),PerformanceEvents=require(a2_0x593111(0x224))[a2_0x593111(0x227)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x5a6bdb,_0x2fecfc)=>{const _0x3fbf32=a2_0x593111,_0x4f2cc3={};_0x4f2cc3['aouBs']=function(_0x25bfae,_0x558b54){return _0x25bfae===_0x558b54;},_0x4f2cc3[_0x3fbf32(0x1c0)]=_0x3fbf32(0x1e8),_0x4f2cc3[_0x3fbf32(0x204)]='codecept.json';const _0x29f7b6=_0x4f2cc3;let _0x22e6d8=null;const _0x4be5c4={};let _0x5356cc=_0x2fecfc[_0x3fbf32(0x228)](_0x2d602b=>_0x2d602b==='--config');_0x29f7b6[_0x3fbf32(0x1e0)](_0x5356cc,-0x1)&&(_0x5356cc=_0x2fecfc['findIndex'](_0xdef92d=>_0xdef92d==='-c'));if(!helper[_0x3fbf32(0x20a)](_0x5a6bdb[_0x3fbf32(0x1eb)])&&fs[_0x3fbf32(0x233)](path[_0x3fbf32(0x1d0)](process[_0x3fbf32(0x1f3)](),_0x5a6bdb['config'])))_0x22e6d8=path[_0x3fbf32(0x1d0)](process[_0x3fbf32(0x1f3)](),_0x5a6bdb[_0x3fbf32(0x1eb)]),_0x2fecfc[_0x3fbf32(0x1dc)](_0x5356cc,0x2);else{if(!helper['isUndefined'](_0x5a6bdb['c'])&&fs[_0x3fbf32(0x233)](path[_0x3fbf32(0x1d0)](process[_0x3fbf32(0x1f3)](),_0x5a6bdb['c'])))_0x22e6d8=path[_0x3fbf32(0x1d0)](process[_0x3fbf32(0x1f3)](),_0x5a6bdb['c']),_0x2fecfc['slice'](_0x5356cc,0x2);else{if(fs[_0x3fbf32(0x233)](path['join'](process['cwd'](),_0x29f7b6[_0x3fbf32(0x1c0)])))_0x22e6d8=path[_0x3fbf32(0x1d0)](process[_0x3fbf32(0x1f3)](),_0x29f7b6['hAtqw']);else fs[_0x3fbf32(0x233)](path['join'](process[_0x3fbf32(0x1f3)](),_0x29f7b6[_0x3fbf32(0x204)]))&&(_0x22e6d8=path[_0x3fbf32(0x1d0)](process[_0x3fbf32(0x1f3)](),_0x29f7b6[_0x3fbf32(0x204)]));}}return process['env'][_0x3fbf32(0x1c4)]=_0x22e6d8,_0x22e6d8;},getO11yRerunPattern=()=>{const _0x59d562=a2_0x593111,_0x11e659=helper[_0x59d562(0x1e6)](process[_0x59d562(0x21d)]['BROWSERSTACK_RERUN']);if(_0x11e659){const _0x5846e3=process[_0x59d562(0x21d)]['BROWSERSTACK_RERUN_TESTS'],_0x35bd70=[];if(helper[_0x59d562(0x21a)](_0x5846e3)&&!helper[_0x59d562(0x20a)](_0x5846e3)){_0x5846e3[_0x59d562(0x23b)](',')[_0x59d562(0x22e)](_0x3a1d02=>{const _0x1e7284=_0x59d562;_0x35bd70[_0x1e7284(0x1da)]('('+_0x3a1d02[_0x1e7284(0x1f7)]()+')');});const _0x450e91='^'+_0x35bd70['join']('|')+'$';return _0x450e91;}}return null;},a2_0xc0ea6c={};a2_0xc0ea6c['chrome']='chromium',a2_0xc0ea6c['playwright-chromium']=a2_0x593111(0x1cb),a2_0xc0ea6c[a2_0x593111(0x1b2)]='firefox',a2_0xc0ea6c[a2_0x593111(0x1b1)]=a2_0x593111(0x1d3);const pwToCodeceptBrowser=a2_0xc0ea6c;async function run(_0x47fb58,_0x32678c){const _0x3ca665=a2_0x593111,_0x9ef139={'ilPPy':function(_0x3d69a2,_0x3a833a){return _0x3d69a2+_0x3a833a;},'FqyTk':function(_0x523d54,_0x597615){return _0x523d54(_0x597615);},'YPHDO':function(_0x3c32e3,_0x18fc5d,_0x4c5456){return _0x3c32e3(_0x18fc5d,_0x4c5456);},'DLBuY':_0x3ca665(0x23f),'sIhyu':function(_0x2ff08a){return _0x2ff08a();},'fgWxt':'Failed\x20:\x20','ndGmp':'Passed\x20:\x20','ceLht':_0x3ca665(0x20d),'XvCII':_0x3ca665(0x1ec),'gCjmg':'codeceptjs','JALej':_0x3ca665(0x21f),'Gxlbx':function(_0x407f18,_0x123819,_0x3d6cca){return _0x407f18(_0x123819,_0x3d6cca);},'FWqnW':_0x3ca665(0x219),'zTzgA':_0x3ca665(0x1d2),'XrEBT':function(_0x4c07fd,_0x442be3){return _0x4c07fd!=_0x442be3;},'OYZqs':function(_0x45fded,_0xefdcbc){return _0x45fded===_0xefdcbc;},'qPUwu':_0x3ca665(0x201),'SncEe':function(_0x2e291e){return _0x2e291e();},'nfuGY':function(_0x39ce05,_0x2a0b0a){return _0x39ce05*_0x2a0b0a;},'qEbyP':_0x3ca665(0x1d5),'auQld':function(_0xc42fef,_0x4c8db7,_0x40948c){return _0xc42fef(_0x4c8db7,_0x40948c);},'zulEW':_0x3ca665(0x21c),'PKPSA':_0x3ca665(0x1d4),'ycAPj':_0x3ca665(0x1d8),'UsbeO':_0x3ca665(0x207),'cuvUF':function(_0x183188){return _0x183188();}},_0x22755c=new BrowserStackSetup(_0x47fb58,_0x9ef139[_0x3ca665(0x209)]);await _0x22755c['initialize'](),await helper[_0x3ca665(0x226)](_0x22755c[_0x3ca665(0x1eb)]);if(!_0x22755c[_0x3ca665(0x1eb)])return;process['profile']=_0x47fb58[_0x3ca665(0x232)];_0x47fb58['profile']&&(process['env'][_0x3ca665(0x232)]=_0x47fb58[_0x3ca665(0x232)]);const _0x5f90d4=_0x9ef139[_0x3ca665(0x1fb)](getUserCodeceptJSConfigs,_0x47fb58,_0x32678c);let _0x3a0be3={};_0x5f90d4?(logger['info']('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0x5f90d4),_0x3a0be3=CodeceptJS[_0x3ca665(0x1eb)][_0x3ca665(0x211)](_0x5f90d4)):logger[_0x3ca665(0x1ce)](_0x9ef139['JALej']);let _0x4f7e6b=![];_0x9ef139['Gxlbx'](nestedKeyValue,_0x3a0be3,[_0x9ef139['DLBuY'],_0x9ef139[_0x3ca665(0x1fa)]])&&(_0x4f7e6b=!![]);const _0x41338f=_0x4f7e6b?_0x9ef139[_0x3ca665(0x1fa)]:_0x9ef139['zTzgA'];let _0x492145=!_0x4f7e6b?helper[_0x3ca665(0x1b0)](_0x22755c[_0x3ca665(0x1eb)]):![];!helper[_0x3ca665(0x20a)](_0x22755c[_0x3ca665(0x1eb)][_0x3ca665(0x210)])&&(process[_0x3ca665(0x21d)][_0x3ca665(0x1b5)]=JSON[_0x3ca665(0x238)](_0x22755c[_0x3ca665(0x1eb)][_0x3ca665(0x210)]));let _0x378242=_0x22755c[_0x3ca665(0x1eb)][_0x3ca665(0x1bb)];_0x378242=_0x378242||_0x9ef139[_0x3ca665(0x1b9)](checkAccessibilityPlatformConfig,_0x22755c['config']),process[_0x3ca665(0x21d)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x378242;_0x378242&&(_0x492145=!_0x378242);_0x9ef139['XrEBT'](_0x22755c[_0x3ca665(0x1eb)][_0x3ca665(0x1fc)],null)?process[_0x3ca665(0x21d)][_0x3ca665(0x205)]=_0x22755c['config'][_0x3ca665(0x1fc)]:process[_0x3ca665(0x21d)][_0x3ca665(0x205)]=_0x9ef139['OYZqs'](_0x41338f,_0x9ef139[_0x3ca665(0x1fa)]);const _0x3b5bae=_0x9ef139['Gxlbx'](nestedKeyValue,_0x3a0be3,[_0x9ef139[_0x3ca665(0x1e3)]]),_0x9a4c9c=_0x3b5bae&&!helper[_0x3ca665(0x239)](_0x3b5bae)?FRAMEWORKS[_0x3ca665(0x1ba)]:FRAMEWORKS[_0x3ca665(0x1cf)],_0x14b5f8=await TestHubHandler['launchBuild'](_0x9a4c9c,_0x22755c);_0x378242&&_0x9ef139[_0x3ca665(0x1b9)](setAccessibilityCapabilities,_0x22755c[_0x3ca665(0x1eb)]);const _0x47bfdc={},_0x315a9a=[],_0xf5aab3=_0x22755c['config'][_0x3ca665(0x1f4)]||helper[_0x3ca665(0x203)](_0x47fb58,_0x32678c,_0x22755c[_0x3ca665(0x1eb)],constants[_0x3ca665(0x216)][_0x3ca665(0x1cf)])||0x1;let _0x48caba=0x1;if(_0x9ef139[_0x3ca665(0x22b)](isBrowserstackInfra)){const _0x4b1be8=helper[_0x3ca665(0x225)](_0x22755c[_0x3ca665(0x1eb)],_0x492145,constants[_0x3ca665(0x216)][_0x3ca665(0x1cf)]);_0x4b1be8[_0x3ca665(0x215)](_0x4225e5=>{const _0x7b7433=_0x3ca665;helper[_0x7b7433(0x1c2)](_0x4225e5);}),helper[_0x3ca665(0x223)](_0x22755c[_0x3ca665(0x1eb)])?_0x48caba=_0x9ef139[_0x3ca665(0x208)](_0xf5aab3,_0x22755c[_0x3ca665(0x1eb)][_0x3ca665(0x221)][_0x3ca665(0x1d6)]):_0x48caba=_0xf5aab3,_0x4b1be8['forEach'](_0x8a7911=>{const _0x5a4abc=_0x3ca665,_0x89a5ab={'Qnijd':function(_0x20ec29,_0x1e0107){const _0x4fd0f6=a2_0x41e4;return _0x9ef139[_0x4fd0f6(0x1bc)](_0x20ec29,_0x1e0107);},'QlWfv':function(_0xcbcbd1,_0x46a071){return _0x9ef139['FqyTk'](_0xcbcbd1,_0x46a071);}},_0x2e6e9e=_0x9ef139[_0x5a4abc(0x1bc)](helper[_0x5a4abc(0x1ca)](_0x8a7911,'_'),'_'+Date[_0x5a4abc(0x1cd)]()),_0x54fe67=((()=>{const _0x42a893=_0x5a4abc;if(_0x4f7e6b){const _0x4de77a=pwToCodeceptBrowser[_0x8a7911[_0x42a893(0x237)]]||_0x8a7911['browserName'];return{'browser':_0x4de77a,[_0x4de77a]:{'browserWSEndpoint':_0x89a5ab['Qnijd'](helper[_0x42a893(0x220)](_0x22755c[_0x42a893(0x1eb)]),_0x89a5ab['QlWfv'](encodeURIComponent,JSON['stringify'](_0x8a7911)))}};}const _0x21670c={};return _0x21670c[_0x42a893(0x21c)]=_0x8a7911,_0x21670c;})()),_0x49a76b=_0x9ef139[_0x5a4abc(0x1fb)](nestedKeyValue,_0x3a0be3,[_0x9ef139[_0x5a4abc(0x1c6)],_0x41338f]);_0x47bfdc[_0x2e6e9e]=_0x49a76b?helper['mergeDeep'](_0x54fe67,_0x49a76b):_0x54fe67,!_0x4f7e6b&&(_0x47bfdc[_0x2e6e9e][_0x5a4abc(0x1d5)]=_0x8a7911[_0x5a4abc(0x237)]||_0x54fe67[_0x5a4abc(0x1d5)]),_0x315a9a[_0x5a4abc(0x1da)](_0x2e6e9e);});}else{_0x48caba=0x1;if(_0x4f7e6b){const _0x22e1d5=_0x9ef139[_0x3ca665(0x1f2)](nestedKeyValue,_0x3a0be3,[_0x9ef139[_0x3ca665(0x1c6)],_0x41338f,_0x9ef139[_0x3ca665(0x20c)]]),_0x3a482e=_0x9ef139['auQld'](nestedKeyValue,_0x3a0be3,[_0x9ef139[_0x3ca665(0x1c6)],_0x41338f,_0x22e1d5]);_0x3a482e&&_0x3a482e['browserWSEndpoint']&&(_0x3a482e[_0x3ca665(0x1b8)]=helper[_0x3ca665(0x225)](null,null,_0x9a4c9c[_0x3ca665(0x1c8)](),null,null,_0x3a482e['browserWSEndpoint']));}else _0x3a0be3[_0x9ef139['DLBuY']][_0x41338f][_0x9ef139[_0x3ca665(0x231)]]=helper['prepareCapabilities'](null,null,_0x9a4c9c['toLowerCase'](),_0x9ef139[_0x3ca665(0x1f2)](nestedKeyValue,_0x3a0be3,[_0x9ef139[_0x3ca665(0x1c6)],_0x41338f,_0x9ef139[_0x3ca665(0x231)]]),null,null);_0x47bfdc[_0x9ef139[_0x3ca665(0x217)]]=_0x3a0be3,_0x315a9a[_0x3ca665(0x1da)](_0x9ef139[_0x3ca665(0x217)]);}const _0x541276={};_0x541276[_0x3ca665(0x1f8)]=_0x5f90d4;const _0x529a26=_0x541276,_0x32ac0a=path['join'](__dirname,_0x9ef139[_0x3ca665(0x1ef)]),_0x53cdfd=process[_0x3ca665(0x1f3)]();process[_0x3ca665(0x21d)][_0x9ef139[_0x3ca665(0x218)]]=_0x53cdfd,process[_0x3ca665(0x22d)](path['dirname'](_0x5f90d4));const _0x5418b9=new CodeceptJS[(_0x3ca665(0x229))](null,_0x529a26),_0x4354b5=_0x5418b9[_0x3ca665(0x202)](_0x48caba),_0x85be6e=testOpsHelper[_0x3ca665(0x23e)](),_0x1e3698=_0x315a9a['map'](_0x39c857=>{const _0x352958=_0x3ca665,_0x3da0fb={};_0x3da0fb['Playwright']=_0x47bfdc[_0x39c857];const _0x4b980c={};_0x4b980c['WebDriver']=_0x47bfdc[_0x39c857];const _0x4e1aaf=_0x4f7e6b?_0x3da0fb:_0x4b980c,_0x3dcebb=_0x9ef139[_0x352958(0x1de)](getO11yRerunPattern),_0x4f75ce={};_0x4f75ce[_0x352958(0x23f)]=_0x4e1aaf;const _0x590a57={};_0x590a57[_0x352958(0x200)]=_0x32ac0a,_0x590a57[_0x352958(0x234)]=!![],_0x590a57['skipSessionName']=_0x22755c[_0x352958(0x1eb)][_0x352958(0x1dd)]['skipSessionName'],_0x590a57[_0x352958(0x1d7)]=_0x22755c[_0x352958(0x1eb)][_0x352958(0x1dd)][_0x352958(0x1d7)],_0x590a57['testObservability']=_0x85be6e,_0x590a57[_0x352958(0x1b7)]=_0x9a4c9c;const _0x32ca1c={};_0x32ca1c[_0x352958(0x1ff)]=_0x590a57;const _0x4ad666={};return _0x4ad666['plugins']=_0x32ca1c,helper[_0x352958(0x235)]({},_0x3a0be3,_0x9ef139['sIhyu'](isBrowserstackInfra)?_0x4f75ce:{},_0x3dcebb?{'grep':_0x3dcebb}:{},_0x4ad666);});for(const _0x5aaedb of _0x1e3698){for(const _0x28071b of _0x4354b5){const _0x5405e4=_0x5418b9[_0x3ca665(0x20f)]();_0x5405e4['addTests'](_0x28071b),_0x5405e4[_0x3ca665(0x1f1)](_0x5aaedb);const _0x3e4c1d={};_0x3e4c1d[_0x3ca665(0x1eb)]=_0x5f90d4,_0x5405e4['addOptions'](_0x3e4c1d);}}_0x5418b9['on'](CodeceptJS[_0x3ca665(0x21b)]['test']['failed'],(_0x202b02,_0x2f0a4a)=>{const _0x4ef85a=_0x3ca665;console[_0x4ef85a(0x1b3)](_0x9ef139['fgWxt'],_0x202b02[_0x4ef85a(0x1e9)]);const _0x2008ac={[_0x202b02[_0x4ef85a(0x1e9)]]:_0x202b02[_0x4ef85a(0x23d)][_0x4ef85a(0x1ee)]};_testErrorData['push'](_0x2008ac);}),_0x5418b9['on'](CodeceptJS[_0x3ca665(0x21b)][_0x3ca665(0x1f9)][_0x3ca665(0x1c1)],async _0x42d7a2=>{const _0x42a57c=_0x3ca665;console[_0x42a57c(0x1b3)](_0x9ef139[_0x42a57c(0x20e)],_0x42d7a2[_0x42a57c(0x1e9)]);}),_0x5418b9['on'](CodeceptJS[_0x3ca665(0x21b)][_0x3ca665(0x1f9)][_0x3ca665(0x1cc)],async _0x20252c=>{const _0xd7bee6=_0x3ca665;console['log'](_0x9ef139[_0xd7bee6(0x1fe)],_0x20252c[_0xd7bee6(0x1e9)]);}),_0x5418b9['on'](CodeceptJS[_0x3ca665(0x21b)]['all'][_0x3ca665(0x1e7)],async()=>{const _0xf596f1=_0x3ca665,_0xac3c78=_0x9ef139[_0xf596f1(0x213)]['split']('|');let _0x278939=0x0;while(!![]){switch(_0xac3c78[_0x278939++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':utilities[_0xf596f1(0x1b4)](_0x22755c);continue;case'2':_0x5418b9[_0xf596f1(0x1c5)]();continue;case'3':_0x22755c[_0xf596f1(0x1fd)]=_testErrorData;continue;case'4':PerformanceTester[_0xf596f1(0x22f)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':try{await TestHubHandler[_0xf596f1(0x1c7)]();}catch(_0x2fa702){logger[_0xf596f1(0x1bd)](_0xf596f1(0x1db)+util['format'](_0x2fa702));}continue;}break;}});async function _0xeccdc3(){const _0x4432f1=_0x3ca665;try{await _0x5418b9[_0x4432f1(0x1e2)](),await _0x5418b9[_0x4432f1(0x1bf)]();}finally{process['chdir'](_0x53cdfd),await _0x5418b9[_0x4432f1(0x1c9)]();}}PerformanceTester[_0x3ca665(0x1ed)](PerformanceEvents['SDK_SETUP']),_0x9ef139[_0x3ca665(0x23c)](_0xeccdc3);}module['exports']=run;
2
+ 'use strict';function a2_0x31a4(){const _0x334168=['enabled','chrome','desiredCapabilities','EVENTS','../../helpers/performance/constants','BROWSERSTACK_TEST_OBSERVABILITY_YML','browser','getUserWorkerCount','FRAMEWORKS','BRuCg','validPlatformsPresent','accessibilityOptions','Failed\x20:\x20','profile','failed','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN_TESTS','Rliwu','codeceptjs','printBuildLink','testConfig','BrowserStackPlugin.js','info','BROWSERSTACK_TEST_ACCESSIBILITY_YML','YYxqu','RIWEI','USER_CONFIG_DETAILS_PATH','mergeDeep','KfMZO','MbVxm','LNMfr','wJMuL','Playwright','browserName','80NQzgtj','isUndefined','parallelsPerPlatform','existsSync','err','useW3C','SgJKA','SDK_SETUP','env','Started\x20:\x20','dirname','path','start','15ebsgzJ','PghEF','testObservability','length','Cnwmb','debug','34tXsRSi','Mcnia','split','setAdditionalCapabilities','codecept.conf.js','vupVA','addTests','KAtcd','isEmpty','stringify','before','exports','SiJmF','../../helpers/testhub/testhubHandler','frameworkName','259263EpdGAb','Acafy','run','ymLsU','228PLGMqx','trim','BrowserStackPlugin','lBLIs','../../helpers/logger','process','playwright-webkit','78346auSvbF','gFynq','browserStackCwd','stop','../../helpers/performance/performance-tester','push','errorMessage','testContextOptions','4144826KZRiaK','BROWSERSTACK_RERUN','11123260VIUgFr','stxKa','YRgKI','isTestObservabilitySession','prepareCapabilities','toLowerCase','../../helpers/helper','playwright-chromium','getPlatformName','rDXRh','helpers','264944wIVyVP','CODECEPT','event','accessibility','codeceptjs/lib/index.js','slice','passed','log','../../helpers/BrowserStackSetup','initialize','skipSessionStatus','--config','jLPPj','util','playwright-firefox','browserWSEndpoint','../../helpers/test-observability/utils','wBCie','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','join','chromium','finalExecution','findIndex','kgdXZ','platforms','createGroupsOfSuites','gherkin','launchBuild','stack','rkxYy','6pNLwbF','GDWUb','getPlaywrightUrl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','WebDriver','require','cwd','chdir','isTrue','config','89375IOGUOH','title','root','test','addOptions','printResults','3604835acvHjN','handleApp'];a2_0x31a4=function(){return _0x334168;};return a2_0x31a4();}const a2_0x67f3af=a2_0x10f3;(function(_0x3e11dc,_0x27c807){const _0x2102fa=a2_0x10f3,_0x5b2381=_0x3e11dc();while(!![]){try{const _0x1afe68=parseInt(_0x2102fa(0xc9))/0x1*(-parseInt(_0x2102fa(0xaf))/0x2)+-parseInt(_0x2102fa(0xa9))/0x3*(-parseInt(_0x2102fa(0xde))/0x4)+parseInt(_0x2102fa(0x10c))/0x5+-parseInt(_0x2102fa(0xfc))/0x6*(parseInt(_0x2102fa(0xd1))/0x7)+-parseInt(_0x2102fa(0x9c))/0x8*(-parseInt(_0x2102fa(0xbe))/0x9)+parseInt(_0x2102fa(0xd3))/0xa+-parseInt(_0x2102fa(0x106))/0xb*(-parseInt(_0x2102fa(0xc2))/0xc);if(_0x1afe68===_0x27c807)break;else _0x5b2381['push'](_0x5b2381['shift']());}catch(_0x37b35a){_0x5b2381['push'](_0x5b2381['shift']());}}}(a2_0x31a4,0xa6ba6));const fs=require('fs'),path=require(a2_0x67f3af(0xa7)),util=require(a2_0x67f3af(0xeb)),process=require(a2_0x67f3af(0xc7)),logger=require(a2_0x67f3af(0xc6))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x67f3af(0xe6)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x67f3af(0x11d)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x67f3af(0xd9)),CodeceptJS=requireModule(a2_0x67f3af(0xe2),a2_0x67f3af(0x120)),testOpsHelper=require(a2_0x67f3af(0xee)),TestHubHandler=require(a2_0x67f3af(0xbc)),constants=require('../utils/constants'),PerformanceTester=require(a2_0x67f3af(0xcd)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x67f3af(0x112))[a2_0x67f3af(0x111)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2e63f3,_0x2e13e5)=>{const _0x3314ea=a2_0x67f3af,_0x31bf0a={};_0x31bf0a[_0x3314ea(0xb0)]=function(_0x2da681,_0x155e08){return _0x2da681===_0x155e08;},_0x31bf0a['wJMuL']=_0x3314ea(0xb3),_0x31bf0a['YYxqu']='codecept.json';const _0x120f1c=_0x31bf0a;let _0x43c6f1=null;const _0x396b6b={};let _0x591455=_0x2e13e5[_0x3314ea(0xf4)](_0x39ea23=>_0x39ea23===_0x3314ea(0xe9));_0x120f1c['Mcnia'](_0x591455,-0x1)&&(_0x591455=_0x2e13e5['findIndex'](_0x2073ef=>_0x2073ef==='-c'));if(!helper[_0x3314ea(0x9d)](_0x2e63f3[_0x3314ea(0x105)])&&fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x2e63f3[_0x3314ea(0x105)])))_0x43c6f1=path['join'](process[_0x3314ea(0x102)](),_0x2e63f3[_0x3314ea(0x105)]),_0x2e13e5[_0x3314ea(0xe3)](_0x591455,0x2);else{if(!helper[_0x3314ea(0x9d)](_0x2e63f3['c'])&&fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process['cwd'](),_0x2e63f3['c'])))_0x43c6f1=path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x2e63f3['c']),_0x2e13e5['slice'](_0x591455,0x2);else{if(fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process['cwd'](),_0x120f1c[_0x3314ea(0x99)])))_0x43c6f1=path[_0x3314ea(0xf1)](process['cwd'](),_0x120f1c['wJMuL']);else fs[_0x3314ea(0x9f)](path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x120f1c[_0x3314ea(0x92)]))&&(_0x43c6f1=path[_0x3314ea(0xf1)](process[_0x3314ea(0x102)](),_0x120f1c[_0x3314ea(0x92)]));}}return process[_0x3314ea(0xa4)][_0x3314ea(0x94)]=_0x43c6f1,_0x43c6f1;},getO11yRerunPattern=()=>{const _0x55c368=a2_0x67f3af,_0x10aba6=helper[_0x55c368(0x104)](process[_0x55c368(0xa4)][_0x55c368(0xd2)]);if(_0x10aba6){const _0x237381=process[_0x55c368(0xa4)][_0x55c368(0x11e)],_0x59bc10=[];if(helper['validateRerunTestList'](_0x237381)&&!helper[_0x55c368(0x9d)](_0x237381)){_0x237381[_0x55c368(0xb1)](',')['map'](_0x10761c=>{const _0x10e76c=_0x55c368;_0x59bc10[_0x10e76c(0xce)]('('+_0x10761c[_0x10e76c(0xc3)]()+')');});const _0x39f3b5='^'+_0x59bc10[_0x55c368(0xf1)]('|')+'$';return _0x39f3b5;}}return null;},a2_0x4db81d={};a2_0x4db81d[a2_0x67f3af(0x10f)]='chromium',a2_0x4db81d[a2_0x67f3af(0xda)]=a2_0x67f3af(0xf2),a2_0x4db81d[a2_0x67f3af(0xec)]='firefox',a2_0x4db81d[a2_0x67f3af(0xc8)]='webkit';function a2_0x10f3(_0x2bdd4e,_0x243472){const _0x31a4e3=a2_0x31a4();return a2_0x10f3=function(_0x10f3ec,_0x495356){_0x10f3ec=_0x10f3ec-0x8e;let _0x556c16=_0x31a4e3[_0x10f3ec];return _0x556c16;},a2_0x10f3(_0x2bdd4e,_0x243472);}const pwToCodeceptBrowser=a2_0x4db81d;async function run(_0x43f500,_0x3be02c){const _0x2933e2=a2_0x67f3af,_0x40ce7c={'Rliwu':function(_0x20ed0c,_0x51a1f4){return _0x20ed0c+_0x51a1f4;},'jLPPj':function(_0x53685c,_0x411676){return _0x53685c(_0x411676);},'KAtcd':function(_0x458da3,_0x45b54f){return _0x458da3+_0x45b54f;},'ymLsU':function(_0x42bae1,_0x43281d,_0x2770d0){return _0x42bae1(_0x43281d,_0x2770d0);},'Cnwmb':_0x2933e2(0xdd),'Acafy':function(_0x53b430){return _0x53b430();},'gKIBz':function(_0x9713f){return _0x9713f();},'VyjUP':_0x2933e2(0x11a),'odayY':'Passed\x20:\x20','LNMfr':_0x2933e2(0xa5),'MbVxm':'4|3|1|5|0|2','slKAo':_0x2933e2(0x120),'gFynq':function(_0x32c164,_0x568df2,_0xd8ee45){return _0x32c164(_0x568df2,_0xd8ee45);},'TTNMS':_0x2933e2(0xf0),'YRgKI':_0x2933e2(0x9a),'GOEoF':_0x2933e2(0x100),'wBCie':function(_0xa44fbd,_0x1c8def){return _0xa44fbd(_0x1c8def);},'BRuCg':function(_0x5689c0,_0x5ebabf){return _0x5689c0!=_0x5ebabf;},'HFVhf':function(_0x2aafe4,_0x2e51c7){return _0x2aafe4===_0x2e51c7;},'rZQjv':_0x2933e2(0xf8),'rDXRh':function(_0x21e2f0,_0x1a19f2){return _0x21e2f0(_0x1a19f2);},'kgdXZ':function(_0xba07d5){return _0xba07d5();},'PghEF':function(_0x44e4d6,_0x4a1483){return _0x44e4d6*_0x4a1483;},'SiJmF':function(_0x5ecc00,_0x4c9c13,_0x188a2c){return _0x5ecc00(_0x4c9c13,_0x188a2c);},'vupVA':_0x2933e2(0x114),'SgJKA':'desiredCapabilities','GDWUb':function(_0x2a5714,_0x43c49c,_0x40e30f){return _0x2a5714(_0x43c49c,_0x40e30f);},'RIWEI':_0x2933e2(0x108),'stxKa':_0x2933e2(0x8f),'rkxYy':_0x2933e2(0xcb)},_0x4d4dbc=new BrowserStackSetup(_0x43f500,_0x40ce7c['slKAo']);await _0x4d4dbc[_0x2933e2(0xe7)](),await helper[_0x2933e2(0x10d)](_0x4d4dbc[_0x2933e2(0x105)]);if(!_0x4d4dbc[_0x2933e2(0x105)])return;process[_0x2933e2(0x11b)]=_0x43f500[_0x2933e2(0x11b)];_0x43f500[_0x2933e2(0x11b)]&&(process[_0x2933e2(0xa4)][_0x2933e2(0x11b)]=_0x43f500['profile']);const _0xb489f8=_0x40ce7c[_0x2933e2(0xca)](getUserCodeceptJSConfigs,_0x43f500,_0x3be02c);let _0x5499e3={};_0xb489f8?(logger[_0x2933e2(0x90)]('Getting\x20your\x20codeceptjs\x20configs\x20from\x20'+_0xb489f8),_0x5499e3=CodeceptJS['config']['load'](_0xb489f8)):logger[_0x2933e2(0x90)](_0x40ce7c['TTNMS']);let _0x4491c5=![];_0x40ce7c[_0x2933e2(0xca)](nestedKeyValue,_0x5499e3,[_0x40ce7c['Cnwmb'],_0x40ce7c[_0x2933e2(0xd5)]])&&(_0x4491c5=!![]);const _0x3ebe1c=_0x4491c5?_0x40ce7c[_0x2933e2(0xd5)]:_0x40ce7c['GOEoF'];let _0x19ea24=!_0x4491c5?helper[_0x2933e2(0xa1)](_0x4d4dbc[_0x2933e2(0x105)]):![];!helper[_0x2933e2(0x9d)](_0x4d4dbc[_0x2933e2(0x105)][_0x2933e2(0x119)])&&(process['env'][_0x2933e2(0xff)]=JSON[_0x2933e2(0xb8)](_0x4d4dbc['config'][_0x2933e2(0x119)]));let _0x1d6ec6=_0x4d4dbc['config'][_0x2933e2(0xe1)];_0x1d6ec6=_0x1d6ec6||_0x40ce7c[_0x2933e2(0xef)](checkAccessibilityPlatformConfig,_0x4d4dbc[_0x2933e2(0x105)]),process[_0x2933e2(0xa4)][_0x2933e2(0x91)]=_0x1d6ec6;_0x1d6ec6&&(_0x19ea24=!_0x1d6ec6);_0x40ce7c[_0x2933e2(0x117)](_0x4d4dbc[_0x2933e2(0x105)]['testObservability'],null)?process[_0x2933e2(0xa4)][_0x2933e2(0x113)]=_0x4d4dbc['config'][_0x2933e2(0xab)]:process[_0x2933e2(0xa4)][_0x2933e2(0x113)]=_0x40ce7c['HFVhf'](_0x3ebe1c,_0x40ce7c[_0x2933e2(0xd5)]);const _0x419c8a=_0x40ce7c[_0x2933e2(0xca)](nestedKeyValue,_0x5499e3,[_0x40ce7c['rZQjv']]),_0x1121f8=_0x419c8a&&!helper[_0x2933e2(0xb7)](_0x419c8a)?FRAMEWORKS['CODECEPT_CUCUMBER']:FRAMEWORKS['CODECEPT'],_0x3230a1=await TestHubHandler[_0x2933e2(0xf9)](_0x1121f8,_0x4d4dbc);_0x1d6ec6&&_0x40ce7c[_0x2933e2(0xdc)](setAccessibilityCapabilities,_0x4d4dbc['config']);const _0x38be74={},_0x37ff68=[],_0x1a2f2c=_0x4d4dbc[_0x2933e2(0x105)][_0x2933e2(0x9e)]||helper[_0x2933e2(0x115)](_0x43f500,_0x3be02c,_0x4d4dbc[_0x2933e2(0x105)],constants[_0x2933e2(0x116)][_0x2933e2(0xdf)])||0x1;let _0x84e122=0x1;if(_0x40ce7c[_0x2933e2(0xf5)](isBrowserstackInfra)){const _0x179edc=helper['prepareCapabilities'](_0x4d4dbc['config'],_0x19ea24,constants[_0x2933e2(0x116)][_0x2933e2(0xdf)]);_0x179edc['forEach'](_0x3fd643=>{const _0x1f783c=_0x2933e2;helper[_0x1f783c(0xb2)](_0x3fd643);}),helper[_0x2933e2(0x118)](_0x4d4dbc[_0x2933e2(0x105)])?_0x84e122=_0x40ce7c[_0x2933e2(0xaa)](_0x1a2f2c,_0x4d4dbc[_0x2933e2(0x105)][_0x2933e2(0xf6)][_0x2933e2(0xac)]):_0x84e122=_0x1a2f2c,_0x179edc['forEach'](_0x2feed0=>{const _0x2cb8d4=_0x2933e2,_0x398a83={'KfMZO':function(_0x430816,_0x378896){const _0x42cf77=a2_0x10f3;return _0x40ce7c[_0x42cf77(0x11f)](_0x430816,_0x378896);},'lBLIs':function(_0x397c2c,_0x5ad589){const _0x2f670c=a2_0x10f3;return _0x40ce7c[_0x2f670c(0xea)](_0x397c2c,_0x5ad589);}},_0x5e1cb4=_0x40ce7c[_0x2cb8d4(0xb6)](helper[_0x2cb8d4(0xdb)](_0x2feed0,'_'),'_'+Date['now']()),_0x4a172e=((()=>{const _0x1c343f=_0x2cb8d4;if(_0x4491c5){const _0x4aa600=pwToCodeceptBrowser[_0x2feed0[_0x1c343f(0x9b)]]||_0x2feed0[_0x1c343f(0x9b)];return{'browser':_0x4aa600,[_0x4aa600]:{'browserWSEndpoint':_0x398a83[_0x1c343f(0x96)](helper[_0x1c343f(0xfe)](_0x4d4dbc[_0x1c343f(0x105)]),_0x398a83[_0x1c343f(0xc5)](encodeURIComponent,JSON[_0x1c343f(0xb8)](_0x2feed0)))}};}const _0x8bc14d={};return _0x8bc14d[_0x1c343f(0x110)]=_0x2feed0,_0x8bc14d;})()),_0x4eb711=_0x40ce7c[_0x2cb8d4(0xc1)](nestedKeyValue,_0x5499e3,[_0x40ce7c['Cnwmb'],_0x3ebe1c]);_0x38be74[_0x5e1cb4]=_0x4eb711?helper[_0x2cb8d4(0x95)](_0x4a172e,_0x4eb711):_0x4a172e,!_0x4491c5&&(_0x38be74[_0x5e1cb4][_0x2cb8d4(0x114)]=_0x2feed0[_0x2cb8d4(0x9b)]||_0x4a172e[_0x2cb8d4(0x114)]),_0x37ff68[_0x2cb8d4(0xce)](_0x5e1cb4);});}else{_0x84e122=0x1;if(_0x4491c5){const _0x440254=_0x40ce7c[_0x2933e2(0xbb)](nestedKeyValue,_0x5499e3,[_0x40ce7c[_0x2933e2(0xad)],_0x3ebe1c,_0x40ce7c[_0x2933e2(0xb4)]]),_0x25a831=_0x40ce7c[_0x2933e2(0xca)](nestedKeyValue,_0x5499e3,[_0x40ce7c[_0x2933e2(0xad)],_0x3ebe1c,_0x440254]);_0x25a831&&_0x25a831['browserWSEndpoint']&&(_0x25a831[_0x2933e2(0xed)]=helper[_0x2933e2(0xd7)](null,null,_0x1121f8[_0x2933e2(0xd8)](),null,null,_0x25a831[_0x2933e2(0xed)]));}else _0x5499e3[_0x40ce7c[_0x2933e2(0xad)]][_0x3ebe1c][_0x40ce7c[_0x2933e2(0xa2)]]=helper[_0x2933e2(0xd7)](null,null,_0x1121f8[_0x2933e2(0xd8)](),_0x40ce7c[_0x2933e2(0xfd)](nestedKeyValue,_0x5499e3,[_0x40ce7c[_0x2933e2(0xad)],_0x3ebe1c,_0x40ce7c[_0x2933e2(0xa2)]]),null,null);_0x38be74[_0x40ce7c[_0x2933e2(0x93)]]=_0x5499e3,_0x37ff68[_0x2933e2(0xce)](_0x40ce7c[_0x2933e2(0x93)]);}const _0x2f301b={};_0x2f301b[_0x2933e2(0x8e)]=_0xb489f8;const _0x3a5df9=_0x2f301b,_0x30c023=path[_0x2933e2(0xf1)](__dirname,_0x40ce7c[_0x2933e2(0xd4)]),_0x16bfff=process[_0x2933e2(0x102)]();process['env'][_0x40ce7c[_0x2933e2(0xfb)]]=_0x16bfff,process[_0x2933e2(0x103)](path[_0x2933e2(0xa6)](_0xb489f8));const _0x322d15=new CodeceptJS['Workers'](null,_0x3a5df9),_0x1c0ed6=_0x322d15[_0x2933e2(0xf7)](_0x84e122),_0x45273c=testOpsHelper[_0x2933e2(0xd6)](),_0x4323c0=_0x37ff68['map'](_0x199741=>{const _0x43ffc9=_0x2933e2,_0x308f22={};_0x308f22[_0x43ffc9(0x9a)]=_0x38be74[_0x199741];const _0x360d3a={};_0x360d3a[_0x43ffc9(0x100)]=_0x38be74[_0x199741];const _0x1249e2=_0x4491c5?_0x308f22:_0x360d3a,_0xb325a5=_0x40ce7c[_0x43ffc9(0xbf)](getO11yRerunPattern),_0x3cbc49={};_0x3cbc49[_0x43ffc9(0xdd)]=_0x1249e2;const _0x52a816={};_0x52a816[_0x43ffc9(0x101)]=_0x30c023,_0x52a816[_0x43ffc9(0x10e)]=!![],_0x52a816['skipSessionName']=_0x4d4dbc[_0x43ffc9(0x105)][_0x43ffc9(0xd0)]['skipSessionName'],_0x52a816[_0x43ffc9(0xe8)]=_0x4d4dbc[_0x43ffc9(0x105)][_0x43ffc9(0xd0)]['skipSessionStatus'],_0x52a816['testObservability']=_0x45273c,_0x52a816[_0x43ffc9(0xbd)]=_0x1121f8;const _0x3ba0fc={};_0x3ba0fc[_0x43ffc9(0xc4)]=_0x52a816;const _0x3ea209={};return _0x3ea209['plugins']=_0x3ba0fc,helper[_0x43ffc9(0x95)]({},_0x5499e3,_0x40ce7c['gKIBz'](isBrowserstackInfra)?_0x3cbc49:{},_0xb325a5?{'grep':_0xb325a5}:{},_0x3ea209);});for(const _0x544f32 of _0x4323c0){for(const _0x316784 of _0x1c0ed6){const _0x107ee9=_0x322d15['spawn']();_0x107ee9[_0x2933e2(0xb5)](_0x316784),_0x107ee9['addConfig'](_0x544f32);const _0x380fbf={};_0x380fbf[_0x2933e2(0x105)]=_0xb489f8,_0x107ee9[_0x2933e2(0x10a)](_0x380fbf);}}_0x322d15['on'](CodeceptJS['event'][_0x2933e2(0x109)][_0x2933e2(0x11c)],(_0x2e9a06,_0x16ab90)=>{const _0x30dc11=_0x2933e2;console[_0x30dc11(0xe5)](_0x40ce7c['VyjUP'],_0x2e9a06[_0x30dc11(0x107)]);const _0x25f955={[_0x2e9a06[_0x30dc11(0x107)]]:_0x2e9a06[_0x30dc11(0xa0)][_0x30dc11(0xfa)]};_testErrorData[_0x30dc11(0xce)](_0x25f955);}),_0x322d15['on'](CodeceptJS[_0x2933e2(0xe0)][_0x2933e2(0x109)][_0x2933e2(0xe4)],async _0x459a6d=>{const _0x3f7207=_0x2933e2;console['log'](_0x40ce7c['odayY'],_0x459a6d[_0x3f7207(0x107)]);}),_0x322d15['on'](CodeceptJS[_0x2933e2(0xe0)][_0x2933e2(0x109)][_0x2933e2(0xb9)],async _0x3ad41b=>{const _0x5d0cca=_0x2933e2;console[_0x5d0cca(0xe5)](_0x40ce7c[_0x5d0cca(0x98)],_0x3ad41b[_0x5d0cca(0x107)]);}),_0x322d15['on'](CodeceptJS[_0x2933e2(0xe0)]['all']['result'],async()=>{const _0x44f5dd=_0x2933e2,_0x4694ff=_0x40ce7c[_0x44f5dd(0x97)][_0x44f5dd(0xb1)]('|');let _0x9129a6=0x0;while(!![]){switch(_0x4694ff[_0x9129a6++]){case'0':try{await TestHubHandler[_0x44f5dd(0xcc)]();}catch(_0x40012b){logger[_0x44f5dd(0xae)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x40012b));}continue;case'1':testOpsHelper[_0x44f5dd(0x121)]();continue;case'2':_0x322d15[_0x44f5dd(0x10b)]();continue;case'3':_0x4d4dbc[_0x44f5dd(0xcf)]=_testErrorData;continue;case'4':PerformanceTester[_0x44f5dd(0xa8)](PerformanceEvents['SDK_CLEANUP']);continue;case'5':utilities[_0x44f5dd(0xf3)](_0x4d4dbc);continue;}break;}});async function _0x35aa00(){const _0x6d794c=_0x2933e2;try{await _0x322d15['bootstrapAll'](),await _0x322d15[_0x6d794c(0xc0)]();}finally{process[_0x6d794c(0x103)](_0x16bfff),await _0x322d15['teardownAll']();}}PerformanceTester['end'](PerformanceEvents[_0x2933e2(0xa3)]),_0x40ce7c[_0x2933e2(0xf5)](_0x35aa00);}module[a2_0x67f3af(0xba)]=run;
@@ -1 +1 @@
1
- const a3_0x56aea1=a3_0x5a09;function a3_0x5a09(_0x2038c9,_0x1780fe){const _0xd73d4f=a3_0xd73d();return a3_0x5a09=function(_0x5a0979,_0x393524){_0x5a0979=_0x5a0979-0x135;let _0x14bfd2=_0xd73d4f[_0x5a0979];return _0x14bfd2;},a3_0x5a09(_0x2038c9,_0x1780fe);}function a3_0xd73d(){const _0x4fc9ab=['QfEUw','bzTzz','828830ItgQxe','warn','QtoQY','CWPlh','browser_version','jXFuo','bsSessionId','18KViQNx','Playwright','deviceName','Vcmkt','unknown_grid','96698HwTBLd','capabilities','JgESA','115416niUsWv','name','browser','NjJSa','hIGqI','vbpcR','shouldPatchExecuteScript','latest','WebDriver','desiredCapabilities','KHOAE','iZrNE','platformVersion','1UcPlkl','platformName','JFLKS','chrome','accessibilityPlatform','config','os_version','cloudProvider','QhWrN','CcTWV','60dXiiSa','mhbUA','constructor','browserName','../../bin/playwright/sessionDetails','388082gbbpJb','XtdfV','16UPcLha','1518960gTekfF','browserVersion','lijZn','zjoxC','parse','platform_version','3847943nqUtok','RxgTW','aPjwL','winstonLogger','itEay','xsXWw','fetchPlatformDetails','browserWSEndpoint','playwright-chromium','includes','UyXot','124827LZFink','browserstack_executor','hmRJt','browserstack_accessibility_automation_script','../../helpers/test-observability/utils','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.'];a3_0xd73d=function(){return _0x4fc9ab;};return a3_0xd73d();}(function(_0x5f24ce,_0x2d7b95){const _0x11bd52=a3_0x5a09,_0x48c650=_0x5f24ce();while(!![]){try{const _0x5a28a8=parseInt(_0x11bd52(0x170))/0x1*(-parseInt(_0x11bd52(0x138))/0x2)+-parseInt(_0x11bd52(0x14c))/0x3*(parseInt(_0x11bd52(0x13a))/0x4)+parseInt(_0x11bd52(0x154))/0x5+-parseInt(_0x11bd52(0x17a))/0x6*(-parseInt(_0x11bd52(0x160))/0x7)+parseInt(_0x11bd52(0x163))/0x8*(-parseInt(_0x11bd52(0x15b))/0x9)+-parseInt(_0x11bd52(0x13b))/0xa+parseInt(_0x11bd52(0x141))/0xb;if(_0x5a28a8===_0x2d7b95)break;else _0x48c650['push'](_0x48c650['shift']());}catch(_0x30c661){_0x48c650['push'](_0x48c650['shift']());}}}(a3_0xd73d,0x1b76c));const {isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a3_0x56aea1(0x144)],PlaywrightSessionDetails=require(a3_0x56aea1(0x137)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x56aea1(0x150)),getOSVersionFromCaps=_0x2bce62=>{const _0x4f3482=a3_0x56aea1,_0x2e68aa={};_0x2e68aa[_0x4f3482(0x16d)]='bstack:options',_0x2e68aa[_0x4f3482(0x145)]=_0x4f3482(0x16f),_0x2e68aa[_0x4f3482(0x143)]=_0x4f3482(0x140),_0x2e68aa[_0x4f3482(0x13d)]='osVersion',_0x2e68aa[_0x4f3482(0x157)]=_0x4f3482(0x176);const _0xb64390=_0x2e68aa;if(!_0x2bce62)return null;const _0x32e6a0=_0x2bce62[_0xb64390[_0x4f3482(0x16d)]],_0x23ed5e=[_0xb64390[_0x4f3482(0x145)],_0xb64390[_0x4f3482(0x143)],_0xb64390['lijZn'],_0xb64390[_0x4f3482(0x157)]];for(const _0x2a6d00 of _0x23ed5e){if(_0x32e6a0&&_0x32e6a0[_0x2a6d00])return _0x32e6a0[_0x2a6d00];else{if(_0x2bce62[_0x2a6d00])return _0x2bce62[_0x2a6d00];}}return null;};exports[a3_0x56aea1(0x147)]=_0x40fd7e=>{const _0x843f0a=a3_0x56aea1,_0x1fab90={'hmRJt':_0x843f0a(0x15f),'UyXot':function(_0x547c88,_0x319d47){return _0x547c88===_0x319d47;},'lPZma':_0x843f0a(0x16b),'JgESA':function(_0x442c9e,_0x764387){return _0x442c9e(_0x764387);},'moWen':function(_0x4a8c36,_0x8bdd5b,_0x2267dc){return _0x4a8c36(_0x8bdd5b,_0x2267dc);},'mhbUA':_0x843f0a(0x175),'ukwRp':_0x843f0a(0x16c),'QtoQY':_0x843f0a(0x15c),'JFLKS':_0x843f0a(0x165),'NjJSa':_0x843f0a(0x148),'bzTzz':'caps','XtdfV':function(_0x33557a,_0x4bf9a4){return _0x33557a(_0x4bf9a4);}};if(!_0x40fd7e)return null;let _0x4d51d4=global['__cloud_provider___']||_0x1fab90[_0x843f0a(0x14e)];if(_0x1fab90[_0x843f0a(0x14b)](_0x40fd7e[_0x843f0a(0x135)][_0x843f0a(0x164)],_0x1fab90['lPZma'])){const _0xa03f48=_0x40fd7e['browser'];if(!_0xa03f48)return null;const _0x2cc8b7=_0xa03f48[_0x843f0a(0x161)],_0x38372d=_0x1fab90[_0x843f0a(0x162)](getOSVersionFromCaps,_0x1fab90['moWen'](nestedKeyValue,_0x40fd7e,[_0x1fab90[_0x843f0a(0x17b)],_0x1fab90['ukwRp']]));return{[_0x4d51d4]:{'browser':_0x2cc8b7[_0x843f0a(0x136)],'browser_version':_0x2cc8b7[_0x843f0a(0x13c)],'capabilities':_0x2cc8b7,'platform':_0x2cc8b7[_0x843f0a(0x171)],'platform_version':_0x2cc8b7[_0x843f0a(0x16f)]||_0x38372d,'product':_0x1fab90[_0x843f0a(0x162)](getObservabilityLinkedProductName,_0x2cc8b7),'session_id':_0xa03f48['sessionId']}};}else{if(_0x1fab90[_0x843f0a(0x14b)](_0x40fd7e[_0x843f0a(0x135)][_0x843f0a(0x164)],_0x1fab90[_0x843f0a(0x156)])){const _0x4507df=PlaywrightSessionDetails['getDetails']();_0x4d51d4=_0x4507df[_0x843f0a(0x177)]||_0x4d51d4;const _0x386373=_0x1fab90['moWen'](nestedKeyValue,_0x40fd7e,[_0x1fab90[_0x843f0a(0x17b)],_0x1fab90[_0x843f0a(0x172)],_0x1fab90[_0x843f0a(0x166)]]),_0x3cfdf0=_0x386373?JSON[_0x843f0a(0x13f)](new URL(_0x386373)['searchParams']['get'](_0x1fab90[_0x843f0a(0x153)])):{};return{[_0x4d51d4]:{'browser':_0x4507df[_0x843f0a(0x165)]||_0x3cfdf0[_0x843f0a(0x136)],'browser_version':_0x4507df[_0x843f0a(0x158)]||_0x3cfdf0[_0x843f0a(0x158)],'capabilities':_0x3cfdf0,'platform':_0x4507df['platform'],'platform_version':_0x4507df['platform_version'],'product':_0x1fab90[_0x843f0a(0x139)](getObservabilityLinkedProductName,_0x3cfdf0),'session_id':_0x4507df[_0x843f0a(0x15a)]}};}}},exports['processWebDriverConfig']=_0x48ca55=>{const _0x4f2db9=a3_0x56aea1,_0x5d40e6={'CcTWV':function(_0x28a881){return _0x28a881();},'xsXWw':function(_0x48b2b3,_0x3859d8){return _0x48b2b3===_0x3859d8;},'QfEUw':_0x4f2db9(0x16a),'YmNPS':function(_0x41c8e4,_0x8b4a67){return _0x41c8e4>_0x8b4a67;},'QhWrN':function(_0x1f2606,_0xd42090){return _0x1f2606(_0xd42090);},'Vcmkt':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','zjoxC':function(_0x82ae31,_0x4a4c1e){return _0x82ae31===_0x4a4c1e;},'hIGqI':_0x4f2db9(0x173),'RxgTW':_0x4f2db9(0x149),'vbpcR':_0x4f2db9(0x151),'zJkUm':function(_0x2b50b3,_0x5ebbf7){return _0x2b50b3(_0x5ebbf7);},'bwsUV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x5d40e6[_0x4f2db9(0x179)](isAccessibilityAutomationSession)){const _0x476985=_0x48ca55[_0x4f2db9(0x165)],_0x2e896e=_0x476985[_0x4f2db9(0x161)];global[_0x4f2db9(0x174)]=!![],!(_0x5d40e6[_0x4f2db9(0x146)](_0x2e896e[_0x4f2db9(0x13c)],_0x5d40e6[_0x4f2db9(0x152)])||_0x5d40e6['YmNPS'](_0x5d40e6[_0x4f2db9(0x178)](parseInt,_0x2e896e[_0x4f2db9(0x13c)]),0x5e))&&(logger[_0x4f2db9(0x155)](_0x5d40e6[_0x4f2db9(0x15e)]),global[_0x4f2db9(0x174)]=![]),!(_0x5d40e6[_0x4f2db9(0x13e)](_0x2e896e[_0x4f2db9(0x136)],_0x5d40e6[_0x4f2db9(0x167)])||_0x5d40e6[_0x4f2db9(0x13e)](_0x2e896e[_0x4f2db9(0x136)],_0x5d40e6[_0x4f2db9(0x142)]))&&(logger[_0x4f2db9(0x155)](_0x5d40e6[_0x4f2db9(0x168)]),global['accessibilityPlatform']=![]),!_0x5d40e6['zJkUm'](isUndefined,_0x2e896e[_0x4f2db9(0x15d)])&&(logger['warn'](_0x5d40e6['bwsUV']),global[_0x4f2db9(0x174)]=![]);}},exports[a3_0x56aea1(0x169)]=_0x5c66b5=>{const _0x4487ad=a3_0x56aea1,_0x43166b={};_0x43166b['jXFuo']=_0x4487ad(0x14d),_0x43166b[_0x4487ad(0x16e)]=_0x4487ad(0x14f);const _0x49806d=_0x43166b;if(!_0x5c66b5)return![];return!_0x5c66b5[_0x4487ad(0x14a)](_0x49806d[_0x4487ad(0x159)])&&!_0x5c66b5[_0x4487ad(0x14a)](_0x49806d[_0x4487ad(0x16e)]);};
1
+ const a3_0x477a20=a3_0xbbfc;(function(_0x5d0ae3,_0xb5efcd){const _0x18b44a=a3_0xbbfc,_0x4e9c63=_0x5d0ae3();while(!![]){try{const _0xb7688c=parseInt(_0x18b44a(0x150))/0x1*(parseInt(_0x18b44a(0x15f))/0x2)+-parseInt(_0x18b44a(0x155))/0x3*(parseInt(_0x18b44a(0x14d))/0x4)+parseInt(_0x18b44a(0x172))/0x5+-parseInt(_0x18b44a(0x187))/0x6*(-parseInt(_0x18b44a(0x181))/0x7)+-parseInt(_0x18b44a(0x18e))/0x8+parseInt(_0x18b44a(0x174))/0x9+-parseInt(_0x18b44a(0x185))/0xa;if(_0xb7688c===_0xb5efcd)break;else _0x4e9c63['push'](_0x4e9c63['shift']());}catch(_0x165238){_0x4e9c63['push'](_0x4e9c63['shift']());}}}(a3_0x8853,0x44ddc));function a3_0xbbfc(_0x542f7d,_0xde0f00){const _0x8853f8=a3_0x8853();return a3_0xbbfc=function(_0xbbfc8a,_0x5d8efe){_0xbbfc8a=_0xbbfc8a-0x147;let _0x497b47=_0x8853f8[_0xbbfc8a];return _0x497b47;},a3_0xbbfc(_0x542f7d,_0xde0f00);}const {isUndefined,nestedKeyValue}=require(a3_0x477a20(0x184)),logger=require(a3_0x477a20(0x160))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x477a20(0x188)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x17591f=>{const _0x3a3390=a3_0x477a20,_0x5b21e2={};_0x5b21e2[_0x3a3390(0x170)]=_0x3a3390(0x16e),_0x5b21e2[_0x3a3390(0x177)]='platformVersion',_0x5b21e2[_0x3a3390(0x165)]=_0x3a3390(0x17e),_0x5b21e2[_0x3a3390(0x15b)]=_0x3a3390(0x14a),_0x5b21e2[_0x3a3390(0x16d)]=_0x3a3390(0x18a);const _0x48308d=_0x5b21e2;if(!_0x17591f)return null;const _0x5287c8=_0x17591f[_0x48308d['DEFtw']],_0x18e5b4=[_0x48308d['FcsYG'],_0x48308d[_0x3a3390(0x165)],_0x48308d[_0x3a3390(0x15b)],_0x48308d['mMIgh']];for(const _0x108091 of _0x18e5b4){if(_0x5287c8&&_0x5287c8[_0x108091])return _0x5287c8[_0x108091];else{if(_0x17591f[_0x108091])return _0x17591f[_0x108091];}}return null;};exports[a3_0x477a20(0x17d)]=_0x2429e3=>{const _0x54864d=a3_0x477a20,_0x167152={'qzGwY':_0x54864d(0x176),'ZTzxB':function(_0x48b8ec,_0x42d583){return _0x48b8ec===_0x42d583;},'ROHwl':'WebDriver','OZRMJ':function(_0x208059,_0x3b00b5){return _0x208059(_0x3b00b5);},'rJUYS':function(_0x481568,_0x3cc455,_0x3df1a7){return _0x481568(_0x3cc455,_0x3df1a7);},'CYObB':_0x54864d(0x16c),'ffFKX':_0x54864d(0x162),'lzluM':_0x54864d(0x182),'xAhNT':function(_0x52a657,_0x44c639,_0x3f9dde){return _0x52a657(_0x44c639,_0x3f9dde);},'rdLpu':_0x54864d(0x17b),'IxAhE':_0x54864d(0x189),'KeIMc':_0x54864d(0x18d),'HHExx':function(_0x14affe,_0x4ad9f2){return _0x14affe(_0x4ad9f2);}};if(!_0x2429e3)return null;let _0x34fbfb=global[_0x54864d(0x183)]||_0x167152['qzGwY'];if(_0x167152[_0x54864d(0x14b)](_0x2429e3[_0x54864d(0x17a)][_0x54864d(0x175)],_0x167152['ROHwl'])){const _0x56f2eb=_0x2429e3['browser'];if(!_0x56f2eb)return null;const _0x5163f7=_0x56f2eb[_0x54864d(0x16b)],_0x2a8ddf=_0x167152[_0x54864d(0x164)](getOSVersionFromCaps,_0x167152['rJUYS'](nestedKeyValue,_0x2429e3,[_0x167152['CYObB'],_0x167152[_0x54864d(0x163)]]));return{[_0x34fbfb]:{'browser':_0x5163f7['browserName'],'browser_version':_0x5163f7['browserVersion'],'capabilities':_0x5163f7,'platform':_0x5163f7[_0x54864d(0x17f)],'platform_version':_0x5163f7['platformVersion']||_0x2a8ddf,'product':_0x167152[_0x54864d(0x164)](getObservabilityLinkedProductName,_0x5163f7),'session_id':_0x56f2eb[_0x54864d(0x17c)]}};}else{if(_0x167152[_0x54864d(0x14b)](_0x2429e3[_0x54864d(0x17a)][_0x54864d(0x175)],_0x167152[_0x54864d(0x158)])){const _0x246f3a=PlaywrightSessionDetails['getDetails']();_0x34fbfb=_0x246f3a['cloudProvider']||_0x34fbfb;const _0x190f01=_0x167152[_0x54864d(0x161)](nestedKeyValue,_0x2429e3,[_0x167152[_0x54864d(0x157)],_0x167152[_0x54864d(0x148)],_0x167152[_0x54864d(0x156)]]),_0x140626=_0x190f01?JSON[_0x54864d(0x18f)](new URL(_0x190f01)['searchParams'][_0x54864d(0x166)](_0x167152[_0x54864d(0x152)])):{};return{[_0x34fbfb]:{'browser':_0x246f3a[_0x54864d(0x17b)]||_0x140626['browserName'],'browser_version':_0x246f3a['browser_version']||_0x140626['browser_version'],'capabilities':_0x140626,'platform':_0x246f3a[_0x54864d(0x179)],'platform_version':_0x246f3a[_0x54864d(0x17e)],'product':_0x167152['HHExx'](getObservabilityLinkedProductName,_0x140626),'session_id':_0x246f3a[_0x54864d(0x147)]}};}}},exports['processWebDriverConfig']=_0xc42f2f=>{const _0x5ec35b=a3_0x477a20,_0x8d3d6b={'HUQqm':function(_0x56489f){return _0x56489f();},'baAAE':function(_0x47734d,_0x2af878){return _0x47734d===_0x2af878;},'vdfLg':_0x5ec35b(0x167),'CjzAg':function(_0x586b33,_0xb399ed){return _0x586b33>_0xb399ed;},'OBWIY':function(_0x505a6d,_0x216356){return _0x505a6d(_0x216356);},'RdIxg':_0x5ec35b(0x149),'sBkbD':_0x5ec35b(0x171),'avxrB':function(_0x14688,_0x3e258f){return _0x14688===_0x3e258f;},'AreoB':_0x5ec35b(0x178),'QiZup':_0x5ec35b(0x15d),'ShLLg':_0x5ec35b(0x15c)};if(_0x8d3d6b[_0x5ec35b(0x153)](isAccessibilityAutomationSession)){const _0x30f188=_0xc42f2f[_0x5ec35b(0x17b)],_0x5619d1=_0x30f188['capabilities'];global[_0x5ec35b(0x186)]=!![],!(_0x8d3d6b[_0x5ec35b(0x168)](_0x5619d1['browserVersion'],_0x8d3d6b[_0x5ec35b(0x15e)])||_0x8d3d6b[_0x5ec35b(0x151)](_0x8d3d6b[_0x5ec35b(0x14c)](parseInt,_0x5619d1[_0x5ec35b(0x173)]),0x5e))&&(logger['warn'](_0x8d3d6b['RdIxg']),global[_0x5ec35b(0x186)]=![]),!(_0x8d3d6b['baAAE'](_0x5619d1[_0x5ec35b(0x18b)],_0x8d3d6b[_0x5ec35b(0x16f)])||_0x8d3d6b['avxrB'](_0x5619d1[_0x5ec35b(0x18b)],_0x8d3d6b[_0x5ec35b(0x169)]))&&(logger[_0x5ec35b(0x159)](_0x8d3d6b[_0x5ec35b(0x18c)]),global[_0x5ec35b(0x186)]=![]),!_0x8d3d6b[_0x5ec35b(0x14c)](isUndefined,_0x5619d1[_0x5ec35b(0x14f)])&&(logger[_0x5ec35b(0x159)](_0x8d3d6b[_0x5ec35b(0x180)]),global[_0x5ec35b(0x186)]=![]);}},exports['shouldPatchExecuteScript']=_0x388286=>{const _0x32e924=a3_0x477a20,_0x1c7fb6={};_0x1c7fb6[_0x32e924(0x15a)]='browserstack_executor',_0x1c7fb6[_0x32e924(0x16a)]=_0x32e924(0x154);const _0x509564=_0x1c7fb6;if(!_0x388286)return![];return!_0x388286[_0x32e924(0x14e)](_0x509564[_0x32e924(0x15a)])&&!_0x388286[_0x32e924(0x14e)](_0x509564[_0x32e924(0x16a)]);};function a3_0x8853(){const _0x6c6971=['chrome','1709080nIziix','browserVersion','3917151CiqmsM','name','unknown_grid','FcsYG','playwright-chromium','platform','constructor','browser','sessionId','fetchPlatformDetails','platform_version','platformName','ShLLg','105vshAuE','Playwright','__cloud_provider___','../../helpers/helper','6050790uSsWSo','accessibilityPlatform','146964nGNywv','../../bin/playwright/sessionDetails','browserWSEndpoint','os_version','browserName','QiZup','caps','1917328rqxrbO','parse','bsSessionId','rdLpu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','osVersion','ZTzxB','OBWIY','1087876urdbge','includes','deviceName','359BJyzwP','CjzAg','KeIMc','HUQqm','browserstack_accessibility_automation_script','6wXjtJT','IxAhE','CYObB','lzluM','warn','cZMdS','Lyrzk','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','vdfLg','2932eSUsfg','../../helpers/logger','xAhNT','desiredCapabilities','ffFKX','OZRMJ','kJfVs','get','latest','baAAE','AreoB','jyHmy','capabilities','config','mMIgh','bstack:options','sBkbD','DEFtw'];a3_0x8853=function(){return _0x6c6971;};return a3_0x8853();}
@@ -1 +1 @@
1
- const a4_0x202cdd=a4_0xe815;(function(_0x5df308,_0x261f01){const _0x7373e2=a4_0xe815,_0x4f8b7b=_0x5df308();while(!![]){try{const _0x29ea92=parseInt(_0x7373e2(0x262))/0x1*(-parseInt(_0x7373e2(0x201))/0x2)+-parseInt(_0x7373e2(0x16d))/0x3+parseInt(_0x7373e2(0x21d))/0x4*(-parseInt(_0x7373e2(0x1f8))/0x5)+-parseInt(_0x7373e2(0x185))/0x6*(parseInt(_0x7373e2(0x189))/0x7)+-parseInt(_0x7373e2(0x19e))/0x8*(-parseInt(_0x7373e2(0x21c))/0x9)+-parseInt(_0x7373e2(0x250))/0xa+parseInt(_0x7373e2(0x234))/0xb;if(_0x29ea92===_0x261f01)break;else _0x4f8b7b['push'](_0x4f8b7b['shift']());}catch(_0x40a3ba){_0x4f8b7b['push'](_0x4f8b7b['shift']());}}}(a4_0x51a5,0x99f2f));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x202cdd(0x1d0)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x202cdd(0x1e5)),testOpsHelper=require(a4_0x202cdd(0x23b)),{getTestEnv}=require(a4_0x202cdd(0x25c)),{FRAMEWORKS}=require(a4_0x202cdd(0x265)),logger=require(a4_0x202cdd(0x1eb))[a4_0x202cdd(0x1af)],SessionHandler=require(a4_0x202cdd(0x19c)),RequestQueueHandler=require(a4_0x202cdd(0x1ef)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x202cdd(0x1d5)],{processAccessibilityCaps}=require(a4_0x202cdd(0x1f3)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x202cdd(0x1a4)),STATE_PASSED='passed',STATE_FAILED=a4_0x202cdd(0x1e1),a4_0x45bc13={};a4_0x45bc13[a4_0x202cdd(0x20a)]=a4_0x202cdd(0x197),a4_0x45bc13[a4_0x202cdd(0x1be)]=a4_0x202cdd(0x25e),a4_0x45bc13['TEST_RUN_SKIPPED']=a4_0x202cdd(0x18a),a4_0x45bc13['HOOK_RUN_STARTED']=a4_0x202cdd(0x21b),a4_0x45bc13['HOOK_RUN_FINISHED']=a4_0x202cdd(0x1fc);function a4_0xe815(_0x5d8dc0,_0x2bb6da){const _0x51a5d8=a4_0x51a5();return a4_0xe815=function(_0xe81570,_0xc17dea){_0xe81570=_0xe81570-0x16c;let _0x24ed53=_0x51a5d8[_0xe81570];return _0x24ed53;},a4_0xe815(_0x5d8dc0,_0x2bb6da);}function a4_0x51a5(){const _0x4708f5=['connect','HfHVO','passed','bind','lDkmn','retryOf','pkArE','TEST_RUN_FINISHED','hook','hook_type','WkEyg','JJoTu','integrations','inspect','PQTjn','bddStepStart','kDQYZ','bs:addLog:','toString','enabled','getHooksForTest','hTGZQ','name','uploadEventData','defineProperty','uuid','PLAYWRIGHT_HUB_URL','then','bvWCW','SdjvN','debug','nsFWj','_afterEach','parent','dirname','frameworkName','ppAVn','finished','text','exports','ahwTl','NNyPP','failed','prototype','LogCreated','logs','../../helpers/helper','nCGpK','ZXJBT','backtrace','vGGKR','pid','../../helpers/logger','vxCLw','efYoy','file_name','../../helpers/test-observability/requestQueueHandler','STATE_FAILED','toUpperCase','lib','../playwright/accessibility-helper','duration','bddSteps','xPnpU','xglgy','10JbXcZA','forEach','qLcRN','__platformCaps','HookRunFinished','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','client','QddZw','fullTitle','896124hjmzod','setupBrowserDetails','removeAllListeners','getTime','string','FfxCD','startedAt','body','currentTest','TEST_RUN_STARTED','toISOString','test_run_uuid','bdMau','find','yjLuH','getRootParentFile','oXucq','_testEnv','patchConsoleLogger','kRjkH','stop','cppnk','teZjs','codeceptjs','match','FlLFX','HookRunStarted','9ogVWVr','2297444Fgajdl','tags','message','testAnalyticsId','cwd','push','_beforeEach','getHookType','failure_reason_expanded','jYHUC','LdyYc','QmdYE','now','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','TkUmv','javascript','type','OUJFN','getFailureType','JEaKX','HFHJG','expanded','hook_run_uuid','42378292leOUGy','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','event_type','currentHook','err','resetSkipTestHooks','length','../../helpers/test-observability/utils','MrFUe','groups','Ihveo','result','ezUJk','hxVWL','feature','_afterAll','success','failure_backtrace','hookAnalyticsId','sendCBTInfo','stepAnalyticsId','qzyof','join','split','zVKGp','toLowerCase','aTQOa','replace','7316050lJzItJ','O11yHelper','fkPRz','CBTSessionCreated','spkiK','\x20with\x20error\x20:\x20','nZfso','wOahf','test','gQQej','AdhDl','status','../mocha/test-observability/mochaUtils','meta','TestRunFinished','acWhy','initializeBddStep','YrznB','2GWjRxt','BcKjx','OjjEC','../../helpers/test-observability/constants','mapTestHooks','eGaFR','920271piKuqb','kGijP','hooks','__cloud_provider___','wEXvE','YGLBW','test_run','_beforeAll','errorsDetailed','started','findGitConfig','TEST_EVENTS','XLxlb','apply','NEzGe','getHierarchy','fmmkL','ctx','cEjsP','browserType.js','UbEoP','vvchi','ryHKO','sep','202974yGQEqR','PsOBB','Gjqwh','stringify','98fzsEOp','TestRunSkipped','location_prefix','launch','title','kCyxV','finished_at','config','captureEvent','appendTestItemLog','hook_run','fireEvent','relative','eWeUq','TestRunStarted','Not\x20able\x20to\x20import\x20Browser','PathHelper','File\x20path\x20could\x20not\x20be\x20found','shutdown','../../helpers/test-observability/sessionHandler','CODECEPT','2678536ggXbsJ','getCBTInfo','driver','suites','Failed\x20to\x20parse\x20wsendpoint\x20','tXUtJ','../../helpers/testhub/utils.js','constructor','prefixTestPath','pending','util','keyword','failure','failureData','comment','markedStatus','NmWmn','winstonLogger','failed\x20to\x20get\x20root\x20parent\x20file\x20','concat','bddStepFinish','includes','yHXfL','skipped','JJCLw'];a4_0x51a5=function(){return _0x4708f5;};return a4_0x51a5();}const TEST_EVENTS=a4_0x45bc13,parseEvent=_0x4bc95a=>{const _0x11ef08=a4_0x202cdd,_0x5c9d3a={};_0x5c9d3a[_0x11ef08(0x216)]=function(_0x572d32,_0x82885f){return _0x572d32<_0x82885f;},_0x5c9d3a[_0x11ef08(0x1c1)]=function(_0x2790eb,_0x797768){return _0x2790eb===_0x797768;},_0x5c9d3a[_0x11ef08(0x228)]=_0x11ef08(0x258),_0x5c9d3a['fohWv']='hook',_0x5c9d3a['FlLFX']=function(_0x18e034,_0x1012e1){return _0x18e034===_0x1012e1;},_0x5c9d3a[_0x11ef08(0x206)]='skipped',_0x5c9d3a[_0x11ef08(0x1f7)]=_0x11ef08(0x176),_0x5c9d3a['cEjsP']=_0x11ef08(0x1dc);const _0x4267ed=_0x5c9d3a,_0x2d8c1a=_0x4bc95a[_0x11ef08(0x219)](/^(.*)Run(.*)$/);if(!_0x2d8c1a)return null;if(_0x4267ed[_0x11ef08(0x216)](_0x2d8c1a[_0x11ef08(0x23a)],0x3))return null;const _0x1f465a=_0x2d8c1a[0x1]['toLowerCase'](),_0xe634c=_0x2d8c1a[0x2][_0x11ef08(0x24d)]();return{'test':_0x4267ed[_0x11ef08(0x1c1)](_0x1f465a,_0x4267ed[_0x11ef08(0x228)]),'hook':_0x4267ed[_0x11ef08(0x1c1)](_0x1f465a,_0x4267ed['fohWv']),'skipped':_0x4267ed[_0x11ef08(0x21a)](_0xe634c,_0x4267ed['FfxCD']),'started':_0x4267ed['WkEyg'](_0xe634c,_0x4267ed[_0x11ef08(0x1f7)]),'finished':_0x4267ed[_0x11ef08(0x1c1)](_0xe634c,_0x4267ed[_0x11ef08(0x17f)])};},mockPWBrowserType=_0xb297ee=>{const _0x5a5566=a4_0x202cdd,_0x466f5e={'YGLBW':function(_0x20fa93,_0x55b751,_0x1b88ec){return _0x20fa93(_0x55b751,_0x1b88ec);},'xPnpU':'wsEndpoint','gQQej':function(_0x538181,_0x3ed12c){return _0x538181(_0x3ed12c);},'fkPRz':'browserstack','qLcRN':function(_0x5e37e2,_0x39c380){return _0x5e37e2===_0x39c380;},'jYHUC':_0x5a5566(0x205),'NNyPP':_0x5a5566(0x1f2),'vxkae':_0x5a5566(0x1fe),'tXUtJ':_0x5a5566(0x180),'HfHVO':function(_0x46f5f9,_0x4ae3bd){return _0x46f5f9(_0x4ae3bd);},'vxCLw':_0x5a5566(0x198),'acWhy':'connect','Lbizz':_0x5a5566(0x18c)},_0x5118a9=path['join'](_0x466f5e[_0x5a5566(0x1e0)],_0x466f5e['vxkae'],_0x466f5e[_0x5a5566(0x1a3)]),_0x918c30=_0x466f5e[_0x5a5566(0x1b8)](importFileFromPWCore,_0x5118a9);if(!_0x918c30){_0x466f5e[_0x5a5566(0x1b8)](debug,_0x466f5e[_0x5a5566(0x1ec)]);return;}const _0x2674b5=_0x918c30['BrowserType'],_0x34f008=_0x2674b5[_0x5a5566(0x1e2)];if(_0x34f008['obsBrowserTypeMockApplied'])return;const _0x5db919=_0x34f008[_0x5a5566(0x1b7)];Object[_0x5a5566(0x1cf)](_0x34f008,_0x466f5e[_0x5a5566(0x25f)],{'get':function(){const _0x5b2d6c=_0x5a5566,_0x388bdb={'JJCLw':function(_0x3af0f7,_0x1b5731){const _0x40859d=a4_0xe815;return _0x466f5e[_0x40859d(0x1fa)](_0x3af0f7,_0x1b5731);},'NEzGe':_0x466f5e[_0x5b2d6c(0x226)]};return async function _0x23acce(_0x408150,_0x14b060){const _0x14dd0a=_0x5b2d6c,_0x1866c1=_0x466f5e['YGLBW'](nestedKeyValue,_0x408150,[_0x466f5e[_0x14dd0a(0x1f6)]])||_0x408150;let _0x5e9382=null,_0x888448=null;try{[_0x888448,_0x5e9382]=_0x1866c1?_0x466f5e[_0x14dd0a(0x259)](parseWSEndpoint,_0x1866c1):[null,null],global[_0x14dd0a(0x1fb)]=_0x5e9382,_0x888448['includes'](_0x466f5e[_0x14dd0a(0x252)])&&(global[_0x14dd0a(0x170)]=_0x466f5e[_0x14dd0a(0x252)]);}catch(_0x8aaf58){logger[_0x14dd0a(0x1d5)](_0x14dd0a(0x1a2)+_0x1866c1+'\x20'+_0x8aaf58);}_0x466f5e[_0x14dd0a(0x172)](processAccessibilityCaps,_0x5e9382,_0x888448);if(global['accessibilityPlatform']){const _0x202b1a=await _0x34f008['connectOverCDP']['apply'](this,[''+Constants[_0x14dd0a(0x1d1)]+_0x466f5e['gQQej'](encodeURIComponent,JSON[_0x14dd0a(0x188)](_0x5e9382))]);return PlaywrightSessionDetails[_0x14dd0a(0x202)](_0x202b1a,_0xb297ee,_0x1866c1),_0x202b1a;}return _0x5db919['apply'](this,arguments)[_0x14dd0a(0x1d2)](_0x364ea1=>{const _0x5d7a78=_0x14dd0a;let _0xf3cb2=_0x408150['wsEndpoint'];return _0x388bdb[_0x5d7a78(0x1b6)](typeof _0x408150,_0x388bdb[_0x5d7a78(0x17b)])&&(_0xf3cb2=_0x408150),PlaywrightSessionDetails[_0x5d7a78(0x202)](_0x364ea1,_0xb297ee,_0xf3cb2),_0x364ea1;});};}});const _0x380c38=_0x34f008[_0x5a5566(0x18c)];Object[_0x5a5566(0x1cf)](_0x34f008,_0x466f5e['Lbizz'],{'get':function(){return async function _0x59e54d(){const _0x45c4c6=a4_0xe815;return _0x380c38[_0x45c4c6(0x17a)](this,arguments)[_0x45c4c6(0x1d2)](_0x5dc54b=>{const _0x3f5377=_0x45c4c6;return PlaywrightSessionDetails[_0x3f5377(0x202)](_0x5dc54b,null),_0x5dc54b;});};}});};class O11yHelper{[a4_0x202cdd(0x209)]=null;['currentHook']=null;[a4_0x202cdd(0x1ca)]=![];[a4_0x202cdd(0x1da)]=![];constructor(_0x50cc49,_0x1ec2dd){const _0x5a2ee4=a4_0x202cdd,_0x3f3676={'nCGpK':'1|5|4|2|3|0','jsbgs':function(_0x728429,_0x22bed5){return _0x728429===_0x22bed5;},'teZjs':'Playwright','MrFUe':function(_0x358a59,_0xdd55df){return _0x358a59(_0xdd55df);},'efYoy':function(_0x3941fd){return _0x3941fd();}},_0x213aba=_0x3f3676[_0x5a2ee4(0x1e6)][_0x5a2ee4(0x24b)]('|');let _0x4fa02f=0x0;while(!![]){switch(_0x213aba[_0x4fa02f++]){case'0':this[_0x5a2ee4(0x1a0)]&&_0x3f3676['jsbgs'](this[_0x5a2ee4(0x1a0)][_0x5a2ee4(0x1a5)][_0x5a2ee4(0x1cd)],_0x3f3676[_0x5a2ee4(0x217)])&&_0x3f3676[_0x5a2ee4(0x23c)](mockPWBrowserType,null);continue;case'1':this[_0x5a2ee4(0x1ca)]=_0x3f3676[_0x5a2ee4(0x1ed)](shouldProcessEventForTesthub);continue;case'2':this['_testEnv']=_0x3f3676[_0x5a2ee4(0x1ed)](getTestEnv);continue;case'3':this['_paths']=new testOpsHelper[(_0x5a2ee4(0x199))]({'cwd':process[_0x5a2ee4(0x221)]()},this[_0x5a2ee4(0x212)][_0x5a2ee4(0x18b)]);continue;case'4':this[_0x5a2ee4(0x1a0)]=_0x50cc49;continue;case'5':this[_0x5a2ee4(0x1da)]=_0x1ec2dd[_0x5a2ee4(0x1da)];continue;}break;}}['start'](){const _0x1dd8a3=a4_0x202cdd;if(!this[_0x1dd8a3(0x1ca)])return;testOpsHelper[_0x1dd8a3(0x213)](),process[_0x1dd8a3(0x203)](_0x1dd8a3(0x1c8)+process[_0x1dd8a3(0x1ea)]),process['on'](_0x1dd8a3(0x1c8)+process['pid'],this[_0x1dd8a3(0x192)][_0x1dd8a3(0x1ba)](this));}async[a4_0x202cdd(0x215)](){const _0x6e52f8=a4_0x202cdd;await RequestQueueHandler['getInstance']()[_0x6e52f8(0x19b)]();}async[a4_0x202cdd(0x192)](_0x429a65){const _0x6a29cf=a4_0x202cdd,_0x40a887={'fmmkL':_0x6a29cf(0x1e3),'kvNmA':function(_0x5b5ad2,_0x4799b7){return _0x5b5ad2(_0x4799b7);}};try{this[_0x6a29cf(0x237)]&&!this[_0x6a29cf(0x237)][_0x6a29cf(0x1ad)]&&(_0x429a65['hook_run_uuid']=this[_0x6a29cf(0x237)][_0x6a29cf(0x246)]);!_0x429a65[_0x6a29cf(0x233)]&&this['currentTest']&&!this[_0x6a29cf(0x209)][_0x6a29cf(0x1ad)]&&(_0x429a65[_0x6a29cf(0x20c)]=this[_0x6a29cf(0x209)]['testAnalyticsId']);if(_0x429a65[_0x6a29cf(0x233)]||_0x429a65[_0x6a29cf(0x20c)]){const _0x34c009={};_0x34c009[_0x6a29cf(0x236)]=_0x40a887[_0x6a29cf(0x17d)],_0x34c009[_0x6a29cf(0x1e4)]=[_0x429a65],await SessionHandler[_0x6a29cf(0x1ce)](_0x34c009);}}catch(_0x5e75fb){_0x40a887['kvNmA'](debug,_0x6a29cf(0x22a)+_0x5e75fb);}}async[a4_0x202cdd(0x247)](_0x363bbd){const _0x579180=a4_0x202cdd,_0x414b8d={'YetfL':_0x579180(0x253),'HFxbh':function(_0xedfef2,_0x250267){return _0xedfef2(_0x250267);}};if(!this[_0x579180(0x1ca)])return;const _0x393b0f=this[_0x579180(0x19f)](this['driver']);try{const _0x4e2763={};_0x4e2763[_0x579180(0x1d0)]=_0x363bbd,_0x4e2763[_0x579180(0x1c3)]=_0x393b0f;const _0x335727=_0x4e2763,_0x563a77={};_0x563a77[_0x579180(0x236)]=_0x414b8d['YetfL'],_0x563a77[_0x579180(0x173)]=_0x335727,await SessionHandler['uploadEventData'](_0x563a77);}catch(_0x158e87){_0x414b8d['HFxbh'](debug,_0x579180(0x235)+_0x158e87);}}[a4_0x202cdd(0x19f)](_0xbe4e82){const _0x474dab=a4_0x202cdd,_0x5462d2={'bdMau':function(_0x2f07d4,_0x13e748){return _0x2f07d4(_0x13e748);}};return _0x5462d2[_0x474dab(0x20d)](fetchPlatformDetails,_0xbe4e82);}[a4_0x202cdd(0x239)]=_0x1213a2=>{const _0x1cd1b3=a4_0x202cdd,_0x575305={};_0x575305[_0x1cd1b3(0x186)]=_0x1cd1b3(0x223),_0x575305[_0x1cd1b3(0x230)]=_0x1cd1b3(0x1d7);const _0x2d8424=_0x575305;if(!_0x1213a2||!_0x1213a2[_0x1cd1b3(0x1d8)])return;[_0x2d8424['PsOBB'],_0x2d8424[_0x1cd1b3(0x230)]][_0x1cd1b3(0x1f9)](_0x2d6c06=>{const _0x14b1dd=_0x1cd1b3,_0xc07104=_0x1213a2[_0x14b1dd(0x1d8)][_0x2d6c06];_0xc07104[_0x14b1dd(0x1f9)](_0x3a4bde=>{const _0x4bbe45=_0x14b1dd;_0x3a4bde[_0x4bbe45(0x246)]&&(_0x3a4bde[_0x4bbe45(0x246)]=null);});});};[a4_0x202cdd(0x266)](_0x3dc887){const _0x5a3027=a4_0x202cdd,_0x3bd668={'QddZw':_0x5a3027(0x218),'SdjvN':function(_0x58de69){return _0x58de69();},'lDkmn':function(_0x844d8f,_0x1dd9c1){return _0x844d8f===_0x1dd9c1;},'OUJFN':_0x5a3027(0x1d7),'Gjqwh':_0x5a3027(0x174),'aTQOa':_0x5a3027(0x243),'ezUJk':'_beforeEach'};if(!_0x3dc887||!_0x3dc887['parent'])return;[_0x3bd668[_0x5a3027(0x187)],_0x3bd668[_0x5a3027(0x24e)],_0x3bd668[_0x5a3027(0x240)],_0x3bd668[_0x5a3027(0x22e)]][_0x5a3027(0x1f9)](_0x1f152d=>{const _0x49304c=_0x5a3027,_0x27d790={'PQTjn':_0x3bd668[_0x49304c(0x1ff)],'bvWCW':function(_0x120dab){const _0x5da02d=_0x49304c;return _0x3bd668[_0x5da02d(0x1d4)](_0x120dab);},'qzyof':function(_0x351160,_0x1719b5){const _0x4c9adb=_0x49304c;return _0x3bd668[_0x4c9adb(0x1bb)](_0x351160,_0x1719b5);},'yjLuH':_0x3bd668[_0x49304c(0x22e)]},_0x1f9a4a=_0x3dc887[_0x49304c(0x1d8)][_0x1f152d]||[];_0x1f9a4a['forEach'](_0x4d96dc=>{const _0x4b7199=_0x49304c;if(_0x4d96dc[_0x4b7199(0x18d)][_0x4b7199(0x1b3)](_0x27d790[_0x4b7199(0x1c5)]))return;if(!_0x4d96dc[_0x4b7199(0x246)])_0x4d96dc['hookAnalyticsId']=_0x27d790[_0x4b7199(0x1d3)](uuidv4);else _0x4d96dc['markedStatus']&&_0x27d790[_0x4b7199(0x249)](_0x1f152d,_0x27d790[_0x4b7199(0x20f)])&&(_0x4d96dc[_0x4b7199(0x246)]=_0x27d790[_0x4b7199(0x1d3)](uuidv4),delete _0x4d96dc[_0x4b7199(0x1ad)]);});}),this['mapTestHooks'](_0x3dc887[_0x5a3027(0x1d8)]);}[a4_0x202cdd(0x1cb)](_0x2deff1){const _0x3a14e2=a4_0x202cdd,_0x204589={};_0x204589['fkhKS']=_0x3a14e2(0x174),_0x204589[_0x3a14e2(0x254)]=_0x3a14e2(0x243),_0x204589[_0x3a14e2(0x16c)]='_beforeEach',_0x204589['mPiWH']='_afterEach';const _0xb5a072=_0x204589;if(!_0x2deff1||!_0x2deff1[_0x3a14e2(0x1d8)])return[];const _0x6e25f8=[];return[_0xb5a072['fkhKS'],_0xb5a072[_0x3a14e2(0x254)],_0xb5a072[_0x3a14e2(0x16c)],_0xb5a072['mPiWH']][_0x3a14e2(0x1f9)](_0x48fd03=>{const _0x187fa=_0x3a14e2,_0x2dd588=_0x2deff1['parent'][_0x48fd03]||[];_0x2dd588[_0x187fa(0x1f9)](_0x356a13=>{const _0x2753dd=_0x187fa;_0x356a13['hookAnalyticsId']&&_0x6e25f8[_0x2753dd(0x222)](_0x356a13[_0x2753dd(0x246)]);});}),[][_0x3a14e2(0x1b1)](_0x6e25f8,this[_0x3a14e2(0x1cb)](_0x2deff1[_0x3a14e2(0x1d8)]));}['getHookType'](_0x38e83c){const _0x2048e2=a4_0x202cdd,_0x5e1406=/^"(?<hook>.*)" hook:.*$/,_0x43edd4=_0x38e83c['title'],_0x3ef628=_0x43edd4['match'](_0x5e1406);if(_0x3ef628&&_0x3ef628['groups'])return _0x3ef628[_0x2048e2(0x23d)][_0x2048e2(0x1bf)][_0x2048e2(0x1f1)]()[_0x2048e2(0x24f)]('\x20','_');return null;}[a4_0x202cdd(0x177)](_0x2ee0bd){const _0x36866b=a4_0x202cdd,_0x3ccc69={};_0x3ccc69[_0x36866b(0x1cc)]=function(_0x24d0f6,_0x555295){return _0x24d0f6===_0x555295;},_0x3ccc69['pkArE']=function(_0x4b27fd,_0x18062c){return _0x4b27fd===_0x18062c;},_0x3ccc69['NmWmn']='.git',_0x3ccc69[_0x36866b(0x231)]=_0x36866b(0x190);const _0x400a2a=_0x3ccc69,_0x12b841=path[_0x36866b(0x184)];if(_0x400a2a['hTGZQ'](_0x2ee0bd,null)||_0x400a2a[_0x36866b(0x1bd)](_0x2ee0bd,'')||_0x400a2a[_0x36866b(0x1cc)](_0x2ee0bd,_0x12b841)||_0x400a2a[_0x36866b(0x1cc)](_0x2ee0bd,path[_0x36866b(0x1d9)](_0x2ee0bd)))return null;try{return fs['statSync'](path[_0x36866b(0x24a)](_0x2ee0bd,_0x400a2a[_0x36866b(0x1ae)],_0x400a2a[_0x36866b(0x231)])),_0x2ee0bd;}catch(_0x441551){const _0x275f73=path[_0x36866b(0x1d9)](_0x2ee0bd);return this[_0x36866b(0x177)](_0x275f73);}}[a4_0x202cdd(0x210)](_0x26b820){const _0x4c7748=a4_0x202cdd,_0x1e602d={};_0x1e602d[_0x4c7748(0x183)]=function(_0x2d0cdd,_0x2fbad8){return _0x2d0cdd>_0x2fbad8;};const _0x585e8a=_0x1e602d;if(_0x26b820['file'])return _0x26b820['file'];if(_0x26b820[_0x4c7748(0x17e)]){const _0x36542e=_0x26b820['ctx'][_0x4c7748(0x209)]?this[_0x4c7748(0x210)](_0x26b820[_0x4c7748(0x17e)]['currentTest']):null;if(_0x36542e)return _0x36542e;}if(_0x26b820[_0x4c7748(0x1d8)]){const _0x280998=this[_0x4c7748(0x210)](_0x26b820['parent'])||(_0x26b820[_0x4c7748(0x1d8)][_0x4c7748(0x17e)]&&_0x26b820[_0x4c7748(0x1d8)][_0x4c7748(0x17e)][_0x4c7748(0x209)]?this[_0x4c7748(0x210)](_0x26b820['parent']['ctx'][_0x4c7748(0x209)]):null);if(_0x280998)return _0x280998;_0x26b820['parent']['suites']&&_0x585e8a[_0x4c7748(0x183)](_0x26b820[_0x4c7748(0x1d8)]['suites'][_0x4c7748(0x23a)],0x0)&&_0x26b820[_0x4c7748(0x1d8)][_0x4c7748(0x1a1)][_0x4c7748(0x1f9)](_0x9983ba=>{const _0x3f1af7=_0x4c7748,_0xdafaa5=_0x9983ba[_0x3f1af7(0x17e)]?this[_0x3f1af7(0x210)](_0x9983ba[_0x3f1af7(0x17e)]):null;if(_0xdafaa5)return _0xdafaa5;});}return null;}[a4_0x202cdd(0x17c)](_0x1f287e){const _0x53fad6=a4_0x202cdd,_0x338d2e={};_0x338d2e[_0x53fad6(0x261)]=function(_0x45d5fd,_0x3c8efb){return _0x45d5fd!==_0x3c8efb;};const _0x5ed42f=_0x338d2e,_0x475b5c=[];if(_0x1f287e&&_0x1f287e['parent']){let _0x1f0101=_0x1f287e[_0x53fad6(0x1d8)];while(_0x1f0101&&_0x5ed42f[_0x53fad6(0x261)](_0x1f0101[_0x53fad6(0x18d)],'')){_0x475b5c[_0x53fad6(0x222)](_0x1f0101[_0x53fad6(0x18d)]),_0x1f0101=_0x1f0101[_0x53fad6(0x1d8)];}}return _0x475b5c;}[a4_0x202cdd(0x191)](_0x4556e0,_0x4210a1,_0x122af3=undefined){const _0x376a47=a4_0x202cdd,_0x5c8a69={'tlhSr':function(_0x2715cd,_0x11891d){return _0x2715cd(_0x11891d);},'EVfUm':function(_0xca2980){return _0xca2980();},'eWeUq':function(_0x193ddd){return _0x193ddd();},'ZXJBT':function(_0x3a8edc){return _0x3a8edc();},'vvchi':function(_0x41c124){return _0x41c124();},'fQKTw':function(_0x5073c8,_0xf2753c){return _0x5073c8(_0xf2753c);},'zVKGp':_0x376a47(0x1a8),'nZfso':_0x376a47(0x238),'TkUmv':function(_0x45bca7,_0x3523a7){return _0x45bca7!==_0x3523a7;},'ppAVn':function(_0x25496f,_0x1c5e96){return _0x25496f!==_0x1c5e96;},'Ihveo':_0x376a47(0x19a),'jBGlV':_0x376a47(0x1a7),'kCyxV':_0x376a47(0x1e1),'UbEoP':'passed','nsFWj':_0x376a47(0x1b5),'BcKjx':_0x376a47(0x22c),'atXWa':function(_0x522a63,_0xe4060b){return _0x522a63-_0xe4060b;},'XLxlb':function(_0x3ed17a,_0x502974,_0x38933d,_0x486ecb,_0x458f44){return _0x3ed17a(_0x502974,_0x38933d,_0x486ecb,_0x458f44);},'wEXvE':function(_0x16ff84,_0x1d7690){return _0x16ff84!==_0x1d7690;},'LdyYc':_0x376a47(0x1c3),'hxVWL':_0x376a47(0x25d),'AdhDl':_0x376a47(0x1aa),'vGGKR':_0x376a47(0x245),'kGijP':_0x376a47(0x1e8),'oXucq':_0x376a47(0x225),'emKRT':_0x376a47(0x232),'wOahf':function(_0x1acfc4,_0x362ca2){return _0x1acfc4===_0x362ca2;},'OwwZN':_0x376a47(0x193),'kDQYZ':_0x376a47(0x173)};if(!this['enabled'])return;try{if(_0x4210a1['fn']&&_0x4210a1['fn'][_0x376a47(0x1c9)]()[_0x376a47(0x219)](/browserstack internal helper hook/))return;const _0x3fc3f9=_0x5c8a69['tlhSr'](parseEvent,_0x4556e0);if(!_0x3fc3f9)return;if(_0x3fc3f9['test']){this['currentTest']=_0x4210a1,this[_0x376a47(0x237)]=null;if(_0x3fc3f9[_0x376a47(0x176)]||_0x3fc3f9[_0x376a47(0x1b5)]){_0x4210a1[_0x376a47(0x207)]=new Date(),_0x4210a1[_0x376a47(0x1ad)]=![];if(!_0x4210a1['testAnalyticsId'])_0x4210a1[_0x376a47(0x220)]=_0x5c8a69['EVfUm'](uuidv4);else _0x4210a1[_0x376a47(0x1ad)]&&(!_0x4210a1[_0x376a47(0x1bc)]&&(_0x4210a1[_0x376a47(0x1bc)]=_0x4210a1[_0x376a47(0x220)]),_0x4210a1[_0x376a47(0x220)]=_0x5c8a69[_0x376a47(0x196)](uuidv4));}}else{if(_0x3fc3f9['hook']){this[_0x376a47(0x237)]=_0x4210a1;if(_0x3fc3f9['started']){_0x4210a1['startedAt']=new Date(),_0x4210a1[_0x376a47(0x1ad)]=![];if(!_0x4210a1[_0x376a47(0x246)])_0x4210a1[_0x376a47(0x246)]=_0x5c8a69[_0x376a47(0x1e7)](uuidv4);else _0x4210a1[_0x376a47(0x246)]&&_0x4210a1[_0x376a47(0x1ad)]&&(_0x4210a1[_0x376a47(0x246)]=_0x5c8a69[_0x376a47(0x182)](uuidv4));}}}if(_0x3fc3f9[_0x376a47(0x1dc)]&&_0x4210a1[_0x376a47(0x1ad)])return;let _0x34f253;try{_0x34f253=this[_0x376a47(0x210)](_0x4210a1);}catch(_0x4326fb){logger[_0x376a47(0x1d5)](_0x376a47(0x1b0)+_0x4326fb),_0x34f253=null;}const _0x5afdd6=_0x5c8a69['fQKTw'](require,_0x5c8a69[_0x376a47(0x24c)]);let _0x26993f=[];_0x122af3&&(_0x26993f=[_0x122af3,_0x5c8a69[_0x376a47(0x256)]]);const _0x4246ed=_0x5c8a69[_0x376a47(0x22b)](_0x4210a1[_0x376a47(0x175)],undefined)?_0x5afdd6[_0x376a47(0x1c4)](_0x4210a1[_0x376a47(0x175)][0x0]):_0x5c8a69[_0x376a47(0x1db)](_0x122af3,undefined)?_0x122af3['toString']():undefined,_0x10bf5e=_0x34f253?this[_0x376a47(0x177)](_0x34f253):null,_0x1c560f=_0x34f253?this['_paths'][_0x376a47(0x1a6)](this[_0x376a47(0x210)](_0x4210a1)):_0x5c8a69[_0x376a47(0x23e)];let _0x168fab=_0x5c8a69['jBGlV'];const _0x524d48=!_0x3fc3f9[_0x376a47(0x176)]?new Date()[_0x376a47(0x20b)]():null;if(_0x3fc3f9[_0x376a47(0x1dc)])_0x168fab=_0x122af3?_0x5c8a69[_0x376a47(0x18e)]:_0x5c8a69[_0x376a47(0x181)],_0x4210a1[_0x376a47(0x1ad)]=!![];else _0x3fc3f9[_0x376a47(0x1b5)]&&(_0x168fab=_0x5c8a69[_0x376a47(0x1d6)],_0x4210a1[_0x376a47(0x1ad)]=!![]);const _0xaba476={'framework':this[_0x376a47(0x1da)],'uuid':_0x4210a1[_0x376a47(0x220)]||_0x4210a1[_0x376a47(0x246)],'name':_0x4210a1['title'],'body':{'lang':_0x5c8a69[_0x376a47(0x263)],'code':_0x4210a1[_0x376a47(0x208)][_0x376a47(0x1c9)]()},'type':_0x4210a1[_0x376a47(0x22d)],'scope':_0x4210a1[_0x376a47(0x200)](),'scopes':this[_0x376a47(0x17c)](_0x4210a1),'file_name':_0x1c560f,'vc_filepath':_0x10bf5e?path[_0x376a47(0x195)](_0x10bf5e,_0x34f253):null,'location':_0x1c560f,'result':_0x168fab,'failure_reason':_0x4246ed,'duration_in_ms':_0x4210a1[_0x376a47(0x1f4)]||(_0x3fc3f9['finished']||_0x3fc3f9[_0x376a47(0x1b5)])?_0x5c8a69['atXWa'](Date[_0x376a47(0x229)](),new Date(_0x4210a1[_0x376a47(0x207)])[_0x376a47(0x204)]()):null,'started_at':new Date(_0x4210a1[_0x376a47(0x207)])[_0x376a47(0x20b)](),'finished_at':_0x524d48,'failure':testOpsHelper[_0x376a47(0x1ab)][_0x376a47(0x17a)](null,_0x26993f),'failure_type':!_0x4246ed?null:testOpsHelper[_0x376a47(0x22f)](_0x4246ed),'retry_of':_0x4210a1['retryOf']||null,'tags':_0x4210a1[_0x376a47(0x21e)]||[],'customRerunParam':{'rerun_name':_0x4210a1[_0x376a47(0x200)]()}};_0x5c8a69[_0x376a47(0x179)](appendTesthubParams,_0xaba476,_0x4556e0,_0x4210a1,FRAMEWORKS[_0x376a47(0x19d)]);if(_0x3fc3f9['hook'])[_0xaba476[_0x376a47(0x1c0)],_0xaba476[_0x376a47(0x1cd)]]=[this[_0x376a47(0x224)](_0x4210a1),_0x4210a1[_0x376a47(0x17e)][_0x376a47(0x258)][_0x376a47(0x18d)]],_0x3fc3f9[_0x376a47(0x1dc)]?_0x5c8a69[_0x376a47(0x171)](_0xaba476[_0x376a47(0x23f)],_0x5c8a69['kCyxV'])&&(_0xaba476[_0x376a47(0x23f)]=_0x5c8a69[_0x376a47(0x181)]):_0xaba476['body']={};else _0x3fc3f9['test']&&(this[_0x376a47(0x266)](_0x4210a1),_0x3fc3f9[_0x376a47(0x1b5)]&&this['resetSkipTestHooks'](_0x4210a1),(_0x3fc3f9['finished']||_0x3fc3f9[_0x376a47(0x1b5)])&&(_0xaba476[_0x376a47(0x16f)]=this['getHooksForTest'](_0x4210a1)));this[_0x376a47(0x1a0)]&&(_0x3fc3f9[_0x376a47(0x176)]||_0x3fc3f9[_0x376a47(0x1b5)])&&(_0xaba476[_0x5c8a69[_0x376a47(0x227)]]=this[_0x376a47(0x19f)](this[_0x376a47(0x1a0)]));_0x3fc3f9[_0x376a47(0x258)]&&_0x3fc3f9[_0x376a47(0x1dc)]&&_0x4210a1[_0x376a47(0x1f5)]&&(_0xaba476[_0x5c8a69[_0x376a47(0x241)]]={'feature':{'name':_0x4210a1['parent'][_0x376a47(0x242)][_0x376a47(0x1cd)],'path':_0xaba476[_0x376a47(0x1ee)],'description':_0x4210a1[_0x376a47(0x1d8)][_0x376a47(0x1ac)]},'scenario':{'name':_0x4210a1[_0x376a47(0x18d)]},'steps':_0x4210a1[_0x376a47(0x1f5)]});const _0x406e55=_0xaba476[_0x5c8a69[_0x376a47(0x25a)]][0x0];_0x406e55&&(_0xaba476[_0x5c8a69[_0x376a47(0x1e9)]]=_0x406e55[_0x5c8a69[_0x376a47(0x16e)]],_0xaba476[_0x5c8a69[_0x376a47(0x211)]]=_0x406e55[_0x5c8a69['emKRT']]);if(_0x4210a1['bddSteps'])for(const _0x196ba9 of _0x4210a1[_0x376a47(0x1f5)]){!_0x196ba9['finished_at']&&(_0x196ba9[_0x376a47(0x18f)]=new Date()[_0x376a47(0x20b)](),_0x5c8a69[_0x376a47(0x257)](_0x196ba9['result'],_0x5c8a69['jBGlV'])&&(_0x406e55?(_0x196ba9['result']=_0x5c8a69['kCyxV'],_0x196ba9[_0x376a47(0x1aa)]=_0x406e55[_0x5c8a69['kGijP']][0x0]):_0x196ba9[_0x376a47(0x23f)]=_0x5c8a69[_0x376a47(0x181)]));}const _0x2cd1d8={};_0x2cd1d8[_0x376a47(0x236)]=_0x3fc3f9[_0x376a47(0x1b5)]?TEST_EVENTS[_0x376a47(0x1be)]:_0x4556e0;const _0x1264a7=_0x2cd1d8;return _0x3fc3f9['hook']?_0x1264a7[_0x5c8a69['OwwZN']]=_0xaba476:_0x1264a7[_0x5c8a69[_0x376a47(0x1c7)]]=_0xaba476,_0x1264a7;}catch(_0xd238a3){logger[_0x376a47(0x1d5)](_0x376a47(0x1fd)+_0x4556e0+_0x376a47(0x255)+_0xd238a3);}}async[a4_0x202cdd(0x194)](_0xd7b6a5,_0x2b5178){const _0x3edccc=a4_0x202cdd;if(!this[_0x3edccc(0x1ca)]||!_0x2b5178||!_0xd7b6a5)return![];try{return await SessionHandler[_0x3edccc(0x1ce)](_0x2b5178);}catch(_0x33a111){logger[_0x3edccc(0x1d5)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0xd7b6a5+_0x3edccc(0x255)+_0x33a111);}}[a4_0x202cdd(0x260)](_0x1ca11e){const _0x555cf4=a4_0x202cdd,_0x305151={};_0x305151[_0x555cf4(0x1df)]=_0x555cf4(0x1a7);const _0x30305b=_0x305151;return{'id':_0x1ca11e['stepAnalyticsId'],'text':_0x1ca11e[_0x555cf4(0x1dd)],'keyword':_0x1ca11e[_0x555cf4(0x1a9)],'started_at':_0x1ca11e[_0x555cf4(0x207)][_0x555cf4(0x20b)](),'result':_0x30305b[_0x555cf4(0x1df)]};}[a4_0x202cdd(0x1c6)](_0x37280b){const _0xa491a4=a4_0x202cdd,_0x1a289e={'yHXfL':function(_0x4dce62){return _0x4dce62();}};!this[_0xa491a4(0x209)][_0xa491a4(0x1f5)]&&(this[_0xa491a4(0x209)][_0xa491a4(0x1f5)]=[]),!_0x37280b['stepAnalyticsId']&&(_0x37280b[_0xa491a4(0x248)]=_0x1a289e[_0xa491a4(0x1b4)](uuidv4),_0x37280b[_0xa491a4(0x207)]=new Date(),this[_0xa491a4(0x209)][_0xa491a4(0x1f5)][_0xa491a4(0x222)](this[_0xa491a4(0x260)](_0x37280b)));}[a4_0x202cdd(0x1b2)](_0x2360d0){const _0x46e1e3=a4_0x202cdd,_0x4f90a5={'OjjEC':function(_0x127827,_0xd619d5){return _0x127827(_0xd619d5);},'CpfxS':_0x46e1e3(0x244),'OCCtc':_0x46e1e3(0x1a7),'kRjkH':_0x46e1e3(0x1b9),'JJoTu':function(_0x20d804,_0x3fb65c){return _0x20d804-_0x3fb65c;}};let _0x21fa21=this['currentTest'][_0x46e1e3(0x1f5)][_0x46e1e3(0x20e)](_0x1a6f40=>_0x1a6f40['id']===_0x2360d0[_0x46e1e3(0x248)]);_0x4f90a5[_0x46e1e3(0x264)](isUndefined,_0x21fa21)&&(_0x21fa21=this[_0x46e1e3(0x260)](_0x2360d0)),_0x21fa21[_0x46e1e3(0x23f)]=[_0x4f90a5['CpfxS'],_0x4f90a5['OCCtc']][_0x46e1e3(0x1b3)](_0x2360d0[_0x46e1e3(0x25b)])?_0x4f90a5[_0x46e1e3(0x214)]:_0x2360d0[_0x46e1e3(0x25b)],_0x21fa21['finished_at']=new Date()['toISOString'](),_0x21fa21[_0x46e1e3(0x1f4)]=_0x4f90a5[_0x46e1e3(0x1c2)](Date[_0x46e1e3(0x229)](),_0x2360d0[_0x46e1e3(0x207)]['getTime']()),_0x21fa21['failure']=_0x2360d0[_0x46e1e3(0x238)]?_0x2360d0[_0x46e1e3(0x238)][_0x46e1e3(0x21f)]:null;}}const a4_0xd1fc16={};a4_0xd1fc16[a4_0x202cdd(0x251)]=O11yHelper,a4_0xd1fc16['STATE_PASSED']=STATE_PASSED,a4_0xd1fc16[a4_0x202cdd(0x1f0)]=STATE_FAILED,a4_0xd1fc16[a4_0x202cdd(0x178)]=TEST_EVENTS,module[a4_0x202cdd(0x1de)]=a4_0xd1fc16;
1
+ const a4_0x441178=a4_0x5d3b;(function(_0x166b1e,_0x5a192a){const _0x121fba=a4_0x5d3b,_0x50cd88=_0x166b1e();while(!![]){try{const _0x56561a=parseInt(_0x121fba(0x254))/0x1+parseInt(_0x121fba(0x185))/0x2+parseInt(_0x121fba(0x175))/0x3+parseInt(_0x121fba(0x1cf))/0x4*(parseInt(_0x121fba(0x1ed))/0x5)+-parseInt(_0x121fba(0x20f))/0x6+parseInt(_0x121fba(0x194))/0x7+-parseInt(_0x121fba(0x22d))/0x8;if(_0x56561a===_0x5a192a)break;else _0x50cd88['push'](_0x50cd88['shift']());}catch(_0x253202){_0x50cd88['push'](_0x50cd88['shift']());}}}(a4_0x3bc2,0x7994d));const path=require(a4_0x441178(0x253)),fs=require('fs'),{v4:uuidv4}=require(a4_0x441178(0x1e5)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x441178(0x23d)),{getTestEnv}=require(a4_0x441178(0x1f7)),{FRAMEWORKS}=require(a4_0x441178(0x21e)),logger=require(a4_0x441178(0x1a5))[a4_0x441178(0x23a)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x441178(0x237)),debug=testOpsHelper[a4_0x441178(0x1c3)],{processAccessibilityCaps}=require(a4_0x441178(0x1c9)),Constants=require(a4_0x441178(0x17c)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x441178(0x241)),STATE_PASSED=a4_0x441178(0x210),STATE_FAILED=a4_0x441178(0x1f1),a4_0x60e318={};a4_0x60e318['TEST_RUN_STARTED']='TestRunStarted',a4_0x60e318[a4_0x441178(0x22e)]=a4_0x441178(0x1a0),a4_0x60e318[a4_0x441178(0x1e4)]=a4_0x441178(0x1ae),a4_0x60e318[a4_0x441178(0x1d6)]=a4_0x441178(0x195),a4_0x60e318[a4_0x441178(0x1f6)]='HookRunFinished';function a4_0x5d3b(_0x38012e,_0x31c825){const _0x3bc250=a4_0x3bc2();return a4_0x5d3b=function(_0x5d3bcd,_0x5d716d){_0x5d3bcd=_0x5d3bcd-0x16d;let _0x3d3805=_0x3bc250[_0x5d3bcd];return _0x3d3805;},a4_0x5d3b(_0x38012e,_0x31c825);}const TEST_EVENTS=a4_0x60e318,parseEvent=_0x520e3b=>{const _0x352962=a4_0x441178,_0x31157f={};_0x31157f[_0x352962(0x17e)]=function(_0x23f5f9,_0x294298){return _0x23f5f9<_0x294298;},_0x31157f[_0x352962(0x204)]=function(_0x2562d4,_0x1158c3){return _0x2562d4===_0x1158c3;},_0x31157f[_0x352962(0x1dc)]='test',_0x31157f[_0x352962(0x1f2)]=_0x352962(0x1a6),_0x31157f[_0x352962(0x21f)]=_0x352962(0x17a),_0x31157f[_0x352962(0x176)]=_0x352962(0x1d7),_0x31157f[_0x352962(0x170)]='finished';const _0x2da87b=_0x31157f,_0x14cb19=_0x520e3b[_0x352962(0x233)](/^(.*)Run(.*)$/);if(!_0x14cb19)return null;if(_0x2da87b[_0x352962(0x17e)](_0x14cb19[_0x352962(0x227)],0x3))return null;const _0x47e8b8=_0x14cb19[0x1]['toLowerCase'](),_0x12bd20=_0x14cb19[0x2][_0x352962(0x217)]();return{'test':_0x2da87b[_0x352962(0x204)](_0x47e8b8,_0x2da87b[_0x352962(0x1dc)]),'hook':_0x2da87b[_0x352962(0x204)](_0x47e8b8,_0x2da87b[_0x352962(0x1f2)]),'skipped':_0x2da87b['esAcJ'](_0x12bd20,_0x2da87b[_0x352962(0x21f)]),'started':_0x2da87b['esAcJ'](_0x12bd20,_0x2da87b[_0x352962(0x176)]),'finished':_0x2da87b['esAcJ'](_0x12bd20,_0x2da87b['UhSSn'])};},mockPWBrowserType=_0x5d843d=>{const _0x492210=a4_0x441178,_0x533aa0={'rEQTZ':function(_0x151147,_0x59b80b){return _0x151147===_0x59b80b;},'lktRR':_0x492210(0x181),'HocHa':function(_0x2e73a8,_0x380608,_0x17c532){return _0x2e73a8(_0x380608,_0x17c532);},'fYQQv':_0x492210(0x1b9),'zOEMh':function(_0x25c990,_0x17156e){return _0x25c990(_0x17156e);},'YPHlY':_0x492210(0x1df),'UsEnE':_0x492210(0x1de),'IKisn':'client','dDYFk':'browserType.js','abGSr':function(_0x5a8cb0,_0x329549){return _0x5a8cb0(_0x329549);},'rPZDm':function(_0x20c806,_0x4e4193){return _0x20c806(_0x4e4193);},'Dmaoe':_0x492210(0x1eb),'kEKaQ':_0x492210(0x1ab),'mrIop':_0x492210(0x1ec)},_0x503c6f=path[_0x492210(0x21a)](_0x533aa0[_0x492210(0x223)],_0x533aa0[_0x492210(0x255)],_0x533aa0['dDYFk']),_0x1f4d62=_0x533aa0['abGSr'](importFileFromPWCore,_0x503c6f);if(!_0x1f4d62){_0x533aa0[_0x492210(0x1cd)](debug,_0x533aa0[_0x492210(0x212)]);return;}const _0x3e3df5=_0x1f4d62[_0x492210(0x1d2)],_0x6b114c=_0x3e3df5['prototype'];if(_0x6b114c[_0x492210(0x1c0)])return;const _0x1dda8c=_0x6b114c[_0x492210(0x1ab)];Object['defineProperty'](_0x6b114c,_0x533aa0[_0x492210(0x235)],{'get':function(){return async function _0x248f1e(_0xf72882,_0x149451){const _0x8ef235=a4_0x5d3b,_0x5f4a8b={'IKxKS':function(_0x4ecb1c,_0x4e7ade){const _0x57c244=a4_0x5d3b;return _0x533aa0[_0x57c244(0x1bb)](_0x4ecb1c,_0x4e7ade);},'LNxoV':_0x533aa0['lktRR']},_0x21a2f7=_0x533aa0[_0x8ef235(0x1b7)](nestedKeyValue,_0xf72882,[_0x533aa0['fYQQv']])||_0xf72882;let _0x57a684=null,_0x1522cd=null;try{[_0x1522cd,_0x57a684]=_0x21a2f7?_0x533aa0[_0x8ef235(0x193)](parseWSEndpoint,_0x21a2f7):[null,null],global['__platformCaps']=_0x57a684,_0x1522cd[_0x8ef235(0x1ea)](_0x533aa0[_0x8ef235(0x1e9)])&&(global[_0x8ef235(0x242)]=_0x533aa0['YPHlY']);}catch(_0x2506fe){logger['debug']('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x21a2f7+'\x20'+_0x2506fe);}_0x533aa0[_0x8ef235(0x1b7)](processAccessibilityCaps,_0x57a684,_0x1522cd);if(global[_0x8ef235(0x1a3)]){const _0x3c378e=await _0x6b114c[_0x8ef235(0x1bf)]['apply'](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x533aa0['zOEMh'](encodeURIComponent,JSON[_0x8ef235(0x200)](_0x57a684))]);return PlaywrightSessionDetails[_0x8ef235(0x1bd)](_0x3c378e,_0x5d843d,_0x21a2f7),_0x3c378e;}return _0x1dda8c[_0x8ef235(0x1aa)](this,arguments)['then'](_0x4193a2=>{const _0x5ddd4b=_0x8ef235;let _0x2a6529=_0xf72882[_0x5ddd4b(0x1b9)];return _0x5f4a8b[_0x5ddd4b(0x239)](typeof _0xf72882,_0x5f4a8b[_0x5ddd4b(0x1fc)])&&(_0x2a6529=_0xf72882),PlaywrightSessionDetails['setupBrowserDetails'](_0x4193a2,_0x5d843d,_0x2a6529),_0x4193a2;});};}});const _0x17a32e=_0x6b114c['launch'];Object[_0x492210(0x22f)](_0x6b114c,_0x533aa0[_0x492210(0x1bc)],{'get':function(){return async function _0x37005a(){const _0x5473a6=a4_0x5d3b;return _0x17a32e['apply'](this,arguments)[_0x5473a6(0x1cc)](_0x5b2d9d=>{const _0x34463d=_0x5473a6;return PlaywrightSessionDetails[_0x34463d(0x1bd)](_0x5b2d9d,null),_0x5b2d9d;});};}});};function a4_0x3bc2(){const _0x56b17e=['RaPZo','now','lib','browserstack','title','peQXy','VWPQk','currentHook','TEST_RUN_SKIPPED','uuid','mapTestHooks','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','toISOString','YPHlY','includes','Not\x20able\x20to\x20import\x20Browser','launch','3330xGotls','duration','test','retryOf','failed','MzqQJ','text','STATE_FAILED','LogCreated','HOOK_RUN_FINISHED','../mocha/test-observability/mochaUtils','file_name','hRMnw','logs','gkwDr','LNxoV','body','testAnalyticsId','captureEvent','stringify','FPElC','pid','finished_at','esAcJ','failure_reason_expanded','RAPhO','getHierarchy','name','parent','getInstance','toUpperCase','dwvGR','oHnau','split','433152GOEKEb','passed','DAeDH','Dmaoe','fGBgw','uCuEw','resetSkipTestHooks','USqPh','toLowerCase','nzjeQ','_afterEach','join','kBHPb','hook_type','fLRER','../../helpers/test-observability/constants','VXSIT','suites','currentTest','getHookType','UsEnE','HYFOX','expanded','forEach','length','hqQpD','backtrace','xTPsu','sendCBTInfo','GKUPz','15712736AyIRiI','TEST_RUN_FINISHED','defineProperty','SvpXp','failed\x20to\x20get\x20root\x20parent\x20file\x20','result','match','file','kEKaQ','enabled','../playwright/sessionDetails','keyword','IKxKS','winstonLogger','event_type','getHooksForTest','../../helpers/test-observability/utils','cRNDi','_testEnv','\x20with\x20error\x20:\x20','../../helpers/testhub/utils.js','__cloud_provider___','getRootParentFile','tags','TuBmc','type','xbmsB','gHXBB','err','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','hmXVz','failureData','TEST_EVENTS','success','bddSteps','initializeBddStep','YnaDu','hooks','path','411641PDFkbQ','IKisn','3|5|1|4|2|0','hook_run_uuid','TdYmL','util','concat','UhSSn','CODECEPT','codeceptjs','start','push','2269494qxaRzB','TmTal','OTlvX','FPbmD','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','skipped','bYqkT','../utils/constants','startedAt','enEGf','find','pending','string','_beforeEach','wVDeD','_beforeAll','11898XTKmBo','ECiDO','bs:addLog:','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','finished','.git','ctx','OMPLs','stepAnalyticsId','RLhpB','errorsDetailed','message','Playwright','YSIsM','zOEMh','4873337jsBnWG','HookRunStarted','zwjUj','toString','driver','bGHnW','prefixTestPath','JnLgQ','feature','Oeisd','failure','status','TestRunFinished','integrations','File\x20path\x20could\x20not\x20be\x20found','accessibilityPlatform','shutdown','../../helpers/logger','hook','test_run','CXcna','clvYx','apply','connect','WYyRy','comment','TestRunSkipped','ybYJu','ftaur','constructor','frameworkName','NUyJX','sep','markedStatus','uploadEventData','HocHa','EqcAS','wsEndpoint','yvfQL','rEQTZ','mrIop','setupBrowserDetails','NuHdY','connectOverCDP','obsBrowserTypeMockApplied','bddStepStart','appendTestItemLog','debug','findGitConfig','getTime','_afterAll','eohES','iOqtU','../playwright/accessibility-helper','dirname','bind','then','rPZDm','patchConsoleLogger','3988TFBZKP','getCBTInfo','test_run_uuid','BrowserType','exports','hookAnalyticsId','qjqmL','HOOK_RUN_STARTED','started','replace','stop','_paths','HVwLM'];a4_0x3bc2=function(){return _0x56b17e;};return a4_0x3bc2();}class O11yHelper{[a4_0x441178(0x221)]=null;[a4_0x441178(0x1e3)]=null;[a4_0x441178(0x236)]=![];[a4_0x441178(0x1b2)]=![];constructor(_0x45270c,_0x3d9236){const _0x3f2179=a4_0x441178,_0x4ecc93={'GKUPz':_0x3f2179(0x256),'HVwLM':function(_0x4799f9,_0x2c3ca2){return _0x4799f9===_0x2c3ca2;},'RAPhO':_0x3f2179(0x191),'fLRER':function(_0x4c36f9,_0xdb862e){return _0x4c36f9(_0xdb862e);},'QyrXX':function(_0xa4ec44){return _0xa4ec44();},'CXcna':function(_0x1f4f88){return _0x1f4f88();}},_0x5a1686=_0x4ecc93[_0x3f2179(0x22c)][_0x3f2179(0x20e)]('|');let _0x341ce9=0x0;while(!![]){switch(_0x5a1686[_0x341ce9++]){case'0':this[_0x3f2179(0x198)]&&_0x4ecc93[_0x3f2179(0x1db)](this['driver'][_0x3f2179(0x1b1)][_0x3f2179(0x208)],_0x4ecc93[_0x3f2179(0x206)])&&_0x4ecc93[_0x3f2179(0x21d)](mockPWBrowserType,null);continue;case'1':this[_0x3f2179(0x198)]=_0x45270c;continue;case'2':this['_paths']=new testOpsHelper['PathHelper']({'cwd':process['cwd']()},this[_0x3f2179(0x23f)]['location_prefix']);continue;case'3':this['enabled']=_0x4ecc93['QyrXX'](shouldProcessEventForTesthub);continue;case'4':this[_0x3f2179(0x23f)]=_0x4ecc93[_0x3f2179(0x1a8)](getTestEnv);continue;case'5':this[_0x3f2179(0x1b2)]=_0x3d9236[_0x3f2179(0x1b2)];continue;}break;}}[a4_0x441178(0x173)](){const _0x501709=a4_0x441178;if(!this[_0x501709(0x236)])return;testOpsHelper[_0x501709(0x1ce)](),process['removeAllListeners']('bs:addLog:'+process[_0x501709(0x202)]),process['on'](_0x501709(0x187)+process[_0x501709(0x202)],this[_0x501709(0x1c2)][_0x501709(0x1cb)](this));}async[a4_0x441178(0x1d9)](){const _0x32d54e=a4_0x441178;await RequestQueueHandler[_0x32d54e(0x20a)]()[_0x32d54e(0x1a4)]();}async[a4_0x441178(0x1c2)](_0x24002a){const _0x3e4c0e=a4_0x441178,_0x4e3ee1={'USqPh':_0x3e4c0e(0x1f5),'Oeisd':function(_0x3b9340,_0x1795c9){return _0x3b9340(_0x1795c9);}};try{this[_0x3e4c0e(0x1e3)]&&!this[_0x3e4c0e(0x1e3)][_0x3e4c0e(0x1b5)]&&(_0x24002a[_0x3e4c0e(0x257)]=this[_0x3e4c0e(0x1e3)][_0x3e4c0e(0x1d4)]);!_0x24002a[_0x3e4c0e(0x257)]&&this[_0x3e4c0e(0x221)]&&!this[_0x3e4c0e(0x221)]['markedStatus']&&(_0x24002a['test_run_uuid']=this['currentTest']['testAnalyticsId']);if(_0x24002a['hook_run_uuid']||_0x24002a[_0x3e4c0e(0x1d1)]){const _0x3dd671={};_0x3dd671[_0x3e4c0e(0x23b)]=_0x4e3ee1[_0x3e4c0e(0x216)],_0x3dd671[_0x3e4c0e(0x1fa)]=[_0x24002a],await SessionHandler['uploadEventData'](_0x3dd671);}}catch(_0x14dd65){_0x4e3ee1[_0x3e4c0e(0x19d)](debug,_0x3e4c0e(0x179)+_0x14dd65);}}async[a4_0x441178(0x22b)](_0x115093){const _0x5079b4=a4_0x441178,_0x1ea4a6={'qjqmL':'CBTSessionCreated','FPbmD':function(_0x4403e7,_0x182a74){return _0x4403e7(_0x182a74);}};if(!this[_0x5079b4(0x236)])return;const _0x357caa=this[_0x5079b4(0x1d0)](this[_0x5079b4(0x198)]);try{const _0x2310dc={};_0x2310dc[_0x5079b4(0x1e5)]=_0x115093,_0x2310dc[_0x5079b4(0x1a1)]=_0x357caa;const _0x599649=_0x2310dc,_0x52c31e={};_0x52c31e[_0x5079b4(0x23b)]=_0x1ea4a6[_0x5079b4(0x1d5)],_0x52c31e[_0x5079b4(0x1a7)]=_0x599649,await SessionHandler[_0x5079b4(0x1b6)](_0x52c31e);}catch(_0x85f71d){_0x1ea4a6[_0x5079b4(0x178)](debug,_0x5079b4(0x1e7)+_0x85f71d);}}[a4_0x441178(0x1d0)](_0x4f077b){const _0x2c70cb={'vBasc':function(_0xc13b73,_0x7044b1){return _0xc13b73(_0x7044b1);}};return _0x2c70cb['vBasc'](fetchPlatformDetails,_0x4f077b);}[a4_0x441178(0x215)]=_0xc7c771=>{const _0x23d9fe=a4_0x441178,_0x1ff6c5={};_0x1ff6c5[_0x23d9fe(0x213)]='_beforeEach',_0x1ff6c5['FrleZ']='_afterEach';const _0x57f2e1=_0x1ff6c5;if(!_0xc7c771||!_0xc7c771[_0x23d9fe(0x209)])return;[_0x57f2e1['fGBgw'],_0x57f2e1['FrleZ']]['forEach'](_0x531966=>{const _0x2e85f0=_0x23d9fe,_0x2f6321=_0xc7c771[_0x2e85f0(0x209)][_0x531966];_0x2f6321[_0x2e85f0(0x226)](_0x476909=>{_0x476909['hookAnalyticsId']&&(_0x476909['hookAnalyticsId']=null);});});};[a4_0x441178(0x1e6)](_0x452e40){const _0x4e0100=a4_0x441178,_0x183f4e={'wVDeD':_0x4e0100(0x172),'lGDyO':function(_0xcaa2e5){return _0xcaa2e5();},'YXPvU':function(_0x1790f9,_0x1c9261){return _0x1790f9===_0x1c9261;},'WYyRy':_0x4e0100(0x219),'bYqkT':_0x4e0100(0x184),'ECiDO':_0x4e0100(0x1c6),'SvpXp':_0x4e0100(0x182)};if(!_0x452e40||!_0x452e40[_0x4e0100(0x209)])return;[_0x183f4e[_0x4e0100(0x17b)],_0x183f4e[_0x4e0100(0x186)],_0x183f4e[_0x4e0100(0x230)],_0x183f4e[_0x4e0100(0x1ac)]][_0x4e0100(0x226)](_0xcc8bc3=>{const _0x4ad63b=_0x4e0100,_0x534390=_0x452e40[_0x4ad63b(0x209)][_0xcc8bc3]||[];_0x534390[_0x4ad63b(0x226)](_0x5d243f=>{const _0x32afb8=_0x4ad63b;if(_0x5d243f['title']['includes'](_0x183f4e[_0x32afb8(0x183)]))return;if(!_0x5d243f[_0x32afb8(0x1d4)])_0x5d243f[_0x32afb8(0x1d4)]=_0x183f4e['lGDyO'](uuidv4);else _0x5d243f['markedStatus']&&_0x183f4e['YXPvU'](_0xcc8bc3,_0x183f4e[_0x32afb8(0x1ac)])&&(_0x5d243f[_0x32afb8(0x1d4)]=_0x183f4e['lGDyO'](uuidv4),delete _0x5d243f[_0x32afb8(0x1b5)]);});}),this[_0x4e0100(0x1e6)](_0x452e40[_0x4e0100(0x209)]);}['getHooksForTest'](_0x16c47c){const _0x22e0f4=a4_0x441178,_0x4c96fe={};_0x4c96fe[_0x22e0f4(0x201)]='_beforeAll',_0x4c96fe[_0x22e0f4(0x218)]=_0x22e0f4(0x1c6),_0x4c96fe[_0x22e0f4(0x1ba)]=_0x22e0f4(0x182),_0x4c96fe['dwvGR']=_0x22e0f4(0x219);const _0x4276d1=_0x4c96fe;if(!_0x16c47c||!_0x16c47c['parent'])return[];const _0x8337e8=[];return[_0x4276d1[_0x22e0f4(0x201)],_0x4276d1['nzjeQ'],_0x4276d1['yvfQL'],_0x4276d1[_0x22e0f4(0x20c)]][_0x22e0f4(0x226)](_0x49c3b1=>{const _0x287893=_0x22e0f4,_0x1cfd74=_0x16c47c[_0x287893(0x209)][_0x49c3b1]||[];_0x1cfd74['forEach'](_0x17356e=>{const _0x4b034e=_0x287893;_0x17356e[_0x4b034e(0x1d4)]&&_0x8337e8['push'](_0x17356e[_0x4b034e(0x1d4)]);});}),[][_0x22e0f4(0x16f)](_0x8337e8,this[_0x22e0f4(0x23c)](_0x16c47c[_0x22e0f4(0x209)]));}[a4_0x441178(0x222)](_0x72174d){const _0xf1261a=a4_0x441178,_0x38e7c9=/^"(?<hook>.*)" hook:.*$/,_0x28ff16=_0x72174d[_0xf1261a(0x1e0)],_0x2a9b2a=_0x28ff16[_0xf1261a(0x233)](_0x38e7c9);if(_0x2a9b2a&&_0x2a9b2a['groups'])return _0x2a9b2a['groups']['hook'][_0xf1261a(0x20b)]()[_0xf1261a(0x1d8)]('\x20','_');return null;}[a4_0x441178(0x1c4)](_0x48a0aa){const _0x34b61e=a4_0x441178,_0x56a956={};_0x56a956[_0x34b61e(0x21b)]=function(_0x57d5ac,_0x584e0b){return _0x57d5ac===_0x584e0b;},_0x56a956['JfFdi']=function(_0x8f71,_0x1890a0){return _0x8f71===_0x1890a0;},_0x56a956['jgAce']=function(_0x16b567,_0xdd3f18){return _0x16b567===_0xdd3f18;},_0x56a956['YSIsM']=function(_0x87dcb8,_0x195cb3){return _0x87dcb8===_0x195cb3;},_0x56a956[_0x34b61e(0x19b)]=_0x34b61e(0x18a),_0x56a956[_0x34b61e(0x177)]='config';const _0x2beb89=_0x56a956,_0x3cd941=path[_0x34b61e(0x1b4)];if(_0x2beb89[_0x34b61e(0x21b)](_0x48a0aa,null)||_0x2beb89['JfFdi'](_0x48a0aa,'')||_0x2beb89['jgAce'](_0x48a0aa,_0x3cd941)||_0x2beb89[_0x34b61e(0x192)](_0x48a0aa,path['dirname'](_0x48a0aa)))return null;try{return fs['statSync'](path[_0x34b61e(0x21a)](_0x48a0aa,_0x2beb89[_0x34b61e(0x19b)],_0x2beb89[_0x34b61e(0x177)])),_0x48a0aa;}catch(_0x4d6674){const _0x554cd4=path[_0x34b61e(0x1ca)](_0x48a0aa);return this['findGitConfig'](_0x554cd4);}}[a4_0x441178(0x243)](_0x47b8c2){const _0x52961d=a4_0x441178,_0x24cc51={};_0x24cc51['YnaDu']=function(_0x38e4ae,_0x2aa478){return _0x38e4ae>_0x2aa478;};const _0x406384=_0x24cc51;if(_0x47b8c2[_0x52961d(0x234)])return _0x47b8c2[_0x52961d(0x234)];if(_0x47b8c2[_0x52961d(0x18b)]){const _0x234edc=_0x47b8c2[_0x52961d(0x18b)]['currentTest']?this[_0x52961d(0x243)](_0x47b8c2[_0x52961d(0x18b)][_0x52961d(0x221)]):null;if(_0x234edc)return _0x234edc;}if(_0x47b8c2[_0x52961d(0x209)]){const _0x4a1047=this['getRootParentFile'](_0x47b8c2['parent'])||(_0x47b8c2['parent'][_0x52961d(0x18b)]&&_0x47b8c2[_0x52961d(0x209)]['ctx'][_0x52961d(0x221)]?this[_0x52961d(0x243)](_0x47b8c2[_0x52961d(0x209)][_0x52961d(0x18b)][_0x52961d(0x221)]):null);if(_0x4a1047)return _0x4a1047;_0x47b8c2[_0x52961d(0x209)][_0x52961d(0x220)]&&_0x406384[_0x52961d(0x251)](_0x47b8c2[_0x52961d(0x209)][_0x52961d(0x220)][_0x52961d(0x227)],0x0)&&_0x47b8c2[_0x52961d(0x209)]['suites']['forEach'](_0x5bd255=>{const _0x195e08=_0x52961d,_0x57ead9=_0x5bd255[_0x195e08(0x18b)]?this[_0x195e08(0x243)](_0x5bd255['ctx']):null;if(_0x57ead9)return _0x57ead9;});}return null;}[a4_0x441178(0x207)](_0x16f86b){const _0x5a9c2d=a4_0x441178,_0x56502c={};_0x56502c[_0x5a9c2d(0x1be)]=function(_0x114548,_0x556fc1){return _0x114548!==_0x556fc1;};const _0xee6d10=_0x56502c,_0x4537a9=[];if(_0x16f86b&&_0x16f86b[_0x5a9c2d(0x209)]){let _0x19ad28=_0x16f86b[_0x5a9c2d(0x209)];while(_0x19ad28&&_0xee6d10[_0x5a9c2d(0x1be)](_0x19ad28[_0x5a9c2d(0x1e0)],'')){_0x4537a9[_0x5a9c2d(0x174)](_0x19ad28[_0x5a9c2d(0x1e0)]),_0x19ad28=_0x19ad28[_0x5a9c2d(0x209)];}}return _0x4537a9;}[a4_0x441178(0x1ff)](_0x41c10a,_0x3cbc12,_0x4fa5f1=undefined){const _0x428b70=a4_0x441178,_0x36268b={'xTPsu':function(_0x359ac5,_0x2260a9){return _0x359ac5(_0x2260a9);},'iOqtU':function(_0xb00b2b){return _0xb00b2b();},'VWPQk':function(_0x2eea13){return _0x2eea13();},'hmXVz':function(_0x126a14){return _0x126a14();},'NUyJX':function(_0x5ae39a,_0x23b6ae){return _0x5ae39a(_0x23b6ae);},'oYxmO':_0x428b70(0x16e),'ybYJu':_0x428b70(0x249),'gHXBB':function(_0x467626,_0x41bc3a){return _0x467626!==_0x41bc3a;},'sjThv':_0x428b70(0x1a2),'bGHnW':_0x428b70(0x180),'oHnau':_0x428b70(0x1f1),'HYFOX':_0x428b70(0x210),'YjIJc':'skipped','uCuEw':'javascript','RKFzY':function(_0x1d4ac1,_0x40300a){return _0x1d4ac1-_0x40300a;},'hgEhe':function(_0x2ffcb4,_0x21b8a4,_0x26da7e,_0x28d836,_0x55b809){return _0x2ffcb4(_0x21b8a4,_0x26da7e,_0x28d836,_0x55b809);},'hqQpD':function(_0x15fbd5,_0xc6f897){return _0x15fbd5!==_0xc6f897;},'xbmsB':_0x428b70(0x1a1),'peQXy':'meta','eohES':_0x428b70(0x19e),'TdYmL':'failure_backtrace','TuBmc':_0x428b70(0x229),'gkwDr':_0x428b70(0x205),'clvYx':_0x428b70(0x225),'AGeGS':function(_0x87a806,_0xaa0709){return _0x87a806===_0xaa0709;},'OMPLs':'hook_run','zwjUj':_0x428b70(0x1a7)};if(!this['enabled'])return;try{if(_0x3cbc12['fn']&&_0x3cbc12['fn'][_0x428b70(0x197)]()['match'](/browserstack internal helper hook/))return;const _0x35ea23=_0x36268b[_0x428b70(0x22a)](parseEvent,_0x41c10a);if(!_0x35ea23)return;if(_0x35ea23[_0x428b70(0x1ef)]){this[_0x428b70(0x221)]=_0x3cbc12,this[_0x428b70(0x1e3)]=null;if(_0x35ea23[_0x428b70(0x1d7)]||_0x35ea23[_0x428b70(0x17a)]){_0x3cbc12['startedAt']=new Date(),_0x3cbc12['markedStatus']=![];if(!_0x3cbc12['testAnalyticsId'])_0x3cbc12[_0x428b70(0x1fe)]=_0x36268b[_0x428b70(0x1c8)](uuidv4);else _0x3cbc12[_0x428b70(0x1b5)]&&(!_0x3cbc12[_0x428b70(0x1f0)]&&(_0x3cbc12['retryOf']=_0x3cbc12[_0x428b70(0x1fe)]),_0x3cbc12['testAnalyticsId']=_0x36268b[_0x428b70(0x1e2)](uuidv4));}}else{if(_0x35ea23[_0x428b70(0x1a6)]){this[_0x428b70(0x1e3)]=_0x3cbc12;if(_0x35ea23[_0x428b70(0x1d7)]){_0x3cbc12[_0x428b70(0x17d)]=new Date(),_0x3cbc12[_0x428b70(0x1b5)]=![];if(!_0x3cbc12[_0x428b70(0x1d4)])_0x3cbc12[_0x428b70(0x1d4)]=_0x36268b['VWPQk'](uuidv4);else _0x3cbc12['hookAnalyticsId']&&_0x3cbc12['markedStatus']&&(_0x3cbc12[_0x428b70(0x1d4)]=_0x36268b[_0x428b70(0x24b)](uuidv4));}}}if(_0x35ea23[_0x428b70(0x189)]&&_0x3cbc12['markedStatus'])return;let _0xde7514;try{_0xde7514=this[_0x428b70(0x243)](_0x3cbc12);}catch(_0x55b2c5){logger[_0x428b70(0x1c3)](_0x428b70(0x231)+_0x55b2c5),_0xde7514=null;}const _0x1a731c=_0x36268b[_0x428b70(0x1b3)](require,_0x36268b['oYxmO']);let _0x1a83a9=[];_0x4fa5f1&&(_0x1a83a9=[_0x4fa5f1,_0x36268b[_0x428b70(0x1af)]]);const _0x1def53=_0x36268b['gHXBB'](_0x3cbc12[_0x428b70(0x18f)],undefined)?_0x1a731c['inspect'](_0x3cbc12['errorsDetailed'][0x0]):_0x36268b[_0x428b70(0x248)](_0x4fa5f1,undefined)?_0x4fa5f1[_0x428b70(0x197)]():undefined,_0xa2337b=_0xde7514?this[_0x428b70(0x1c4)](_0xde7514):null,_0x1677d8=_0xde7514?this[_0x428b70(0x1da)][_0x428b70(0x19a)](this['getRootParentFile'](_0x3cbc12)):_0x36268b['sjThv'];let _0x34d44d=_0x36268b[_0x428b70(0x199)];const _0x15034f=!_0x35ea23['started']?new Date()[_0x428b70(0x1e8)]():null;if(_0x35ea23[_0x428b70(0x189)])_0x34d44d=_0x4fa5f1?_0x36268b['oHnau']:_0x36268b[_0x428b70(0x224)],_0x3cbc12['markedStatus']=!![];else _0x35ea23[_0x428b70(0x17a)]&&(_0x34d44d=_0x36268b['YjIJc'],_0x3cbc12[_0x428b70(0x1b5)]=!![]);const _0x111687={'framework':this[_0x428b70(0x1b2)],'uuid':_0x3cbc12[_0x428b70(0x1fe)]||_0x3cbc12[_0x428b70(0x1d4)],'name':_0x3cbc12[_0x428b70(0x1e0)],'body':{'lang':_0x36268b[_0x428b70(0x214)],'code':_0x3cbc12['body'][_0x428b70(0x197)]()},'type':_0x3cbc12[_0x428b70(0x246)],'scope':_0x3cbc12['fullTitle'](),'scopes':this[_0x428b70(0x207)](_0x3cbc12),'file_name':_0x1677d8,'vc_filepath':_0xa2337b?path['relative'](_0xa2337b,_0xde7514):null,'location':_0x1677d8,'result':_0x34d44d,'failure_reason':_0x1def53,'duration_in_ms':_0x3cbc12[_0x428b70(0x1ee)]||(_0x35ea23['finished']||_0x35ea23[_0x428b70(0x17a)])?_0x36268b['RKFzY'](Date[_0x428b70(0x1dd)](),new Date(_0x3cbc12['startedAt'])[_0x428b70(0x1c5)]()):null,'started_at':new Date(_0x3cbc12[_0x428b70(0x17d)])[_0x428b70(0x1e8)](),'finished_at':_0x15034f,'failure':testOpsHelper[_0x428b70(0x24c)][_0x428b70(0x1aa)](null,_0x1a83a9),'failure_type':!_0x1def53?null:testOpsHelper['getFailureType'](_0x1def53),'retry_of':_0x3cbc12[_0x428b70(0x1f0)]||null,'tags':_0x3cbc12[_0x428b70(0x244)]||[],'customRerunParam':{'rerun_name':_0x3cbc12['fullTitle']()}};_0x36268b['hgEhe'](appendTesthubParams,_0x111687,_0x41c10a,_0x3cbc12,FRAMEWORKS[_0x428b70(0x171)]);if(_0x35ea23['hook'])[_0x111687[_0x428b70(0x21c)],_0x111687[_0x428b70(0x208)]]=[this[_0x428b70(0x222)](_0x3cbc12),_0x3cbc12[_0x428b70(0x18b)][_0x428b70(0x1ef)][_0x428b70(0x1e0)]],_0x35ea23[_0x428b70(0x189)]?_0x36268b[_0x428b70(0x228)](_0x111687['result'],_0x36268b[_0x428b70(0x20d)])&&(_0x111687[_0x428b70(0x232)]=_0x36268b['HYFOX']):_0x111687[_0x428b70(0x1fd)]={};else _0x35ea23[_0x428b70(0x1ef)]&&(this[_0x428b70(0x1e6)](_0x3cbc12),_0x35ea23[_0x428b70(0x17a)]&&this['resetSkipTestHooks'](_0x3cbc12),(_0x35ea23[_0x428b70(0x189)]||_0x35ea23['skipped'])&&(_0x111687[_0x428b70(0x252)]=this[_0x428b70(0x23c)](_0x3cbc12)));this['driver']&&(_0x35ea23[_0x428b70(0x1d7)]||_0x35ea23[_0x428b70(0x17a)])&&(_0x111687[_0x36268b[_0x428b70(0x247)]]=this['getCBTInfo'](this[_0x428b70(0x198)]));_0x35ea23[_0x428b70(0x1ef)]&&_0x35ea23[_0x428b70(0x189)]&&_0x3cbc12[_0x428b70(0x24f)]&&(_0x111687[_0x36268b[_0x428b70(0x1e1)]]={'feature':{'name':_0x3cbc12[_0x428b70(0x209)][_0x428b70(0x19c)]['name'],'path':_0x111687[_0x428b70(0x1f8)],'description':_0x3cbc12[_0x428b70(0x209)][_0x428b70(0x1ad)]},'scenario':{'name':_0x3cbc12[_0x428b70(0x1e0)]},'steps':_0x3cbc12[_0x428b70(0x24f)]});const _0x1b7369=_0x111687[_0x36268b[_0x428b70(0x1c7)]][0x0];_0x1b7369&&(_0x111687[_0x36268b[_0x428b70(0x16d)]]=_0x1b7369[_0x36268b[_0x428b70(0x245)]],_0x111687[_0x36268b[_0x428b70(0x1fb)]]=_0x1b7369[_0x36268b[_0x428b70(0x1a9)]]);if(_0x3cbc12['bddSteps'])for(const _0x1d9b1f of _0x3cbc12[_0x428b70(0x24f)]){!_0x1d9b1f[_0x428b70(0x203)]&&(_0x1d9b1f['finished_at']=new Date()['toISOString'](),_0x36268b['AGeGS'](_0x1d9b1f['result'],_0x36268b[_0x428b70(0x199)])&&(_0x1b7369?(_0x1d9b1f['result']=_0x36268b[_0x428b70(0x20d)],_0x1d9b1f[_0x428b70(0x19e)]=_0x1b7369[_0x36268b[_0x428b70(0x245)]][0x0]):_0x1d9b1f[_0x428b70(0x232)]=_0x36268b[_0x428b70(0x224)]));}const _0x1477d4={};_0x1477d4['event_type']=_0x35ea23[_0x428b70(0x17a)]?TEST_EVENTS[_0x428b70(0x22e)]:_0x41c10a;const _0x37df97=_0x1477d4;return _0x35ea23[_0x428b70(0x1a6)]?_0x37df97[_0x36268b[_0x428b70(0x18c)]]=_0x111687:_0x37df97[_0x36268b[_0x428b70(0x196)]]=_0x111687,_0x37df97;}catch(_0x32a473){logger['debug'](_0x428b70(0x24a)+_0x41c10a+'\x20with\x20error\x20:\x20'+_0x32a473);}}async['fireEvent'](_0x117a48,_0x5213d2){const _0x1694d7=a4_0x441178;if(!this[_0x1694d7(0x236)]||!_0x5213d2||!_0x117a48)return![];try{return await SessionHandler[_0x1694d7(0x1b6)](_0x5213d2);}catch(_0x36e9d7){logger[_0x1694d7(0x1c3)](_0x1694d7(0x188)+_0x117a48+_0x1694d7(0x240)+_0x36e9d7);}}[a4_0x441178(0x250)](_0x1b0060){const _0x4aa70a=a4_0x441178,_0x5158a8={};_0x5158a8[_0x4aa70a(0x1f9)]=_0x4aa70a(0x180);const _0x22fa2c=_0x5158a8;return{'id':_0x1b0060['stepAnalyticsId'],'text':_0x1b0060[_0x4aa70a(0x1f3)],'keyword':_0x1b0060[_0x4aa70a(0x238)],'started_at':_0x1b0060['startedAt'][_0x4aa70a(0x1e8)](),'result':_0x22fa2c[_0x4aa70a(0x1f9)]};}[a4_0x441178(0x1c1)](_0x49a4be){const _0xb0de3b=a4_0x441178,_0x5b2736={'RLhpB':function(_0x169397){return _0x169397();}};!this[_0xb0de3b(0x221)][_0xb0de3b(0x24f)]&&(this[_0xb0de3b(0x221)][_0xb0de3b(0x24f)]=[]),!_0x49a4be[_0xb0de3b(0x18d)]&&(_0x49a4be[_0xb0de3b(0x18d)]=_0x5b2736[_0xb0de3b(0x18e)](uuidv4),_0x49a4be['startedAt']=new Date(),this[_0xb0de3b(0x221)][_0xb0de3b(0x24f)][_0xb0de3b(0x174)](this[_0xb0de3b(0x250)](_0x49a4be)));}['bddStepFinish'](_0x5133e3){const _0x214022=a4_0x441178,_0x55df24={'EqcAS':function(_0x16c440,_0x17d83c){return _0x16c440(_0x17d83c);},'DAeDH':_0x214022(0x24e),'EQdbQ':'pending','cRNDi':_0x214022(0x210),'ftaur':function(_0xd6837f,_0x34476d){return _0xd6837f-_0x34476d;}};let _0x502d2a=this['currentTest'][_0x214022(0x24f)][_0x214022(0x17f)](_0x18bfa8=>_0x18bfa8['id']===_0x5133e3[_0x214022(0x18d)]);_0x55df24[_0x214022(0x1b8)](isUndefined,_0x502d2a)&&(_0x502d2a=this[_0x214022(0x250)](_0x5133e3)),_0x502d2a[_0x214022(0x232)]=[_0x55df24[_0x214022(0x211)],_0x55df24['EQdbQ']]['includes'](_0x5133e3[_0x214022(0x19f)])?_0x55df24[_0x214022(0x23e)]:_0x5133e3[_0x214022(0x19f)],_0x502d2a['finished_at']=new Date()[_0x214022(0x1e8)](),_0x502d2a[_0x214022(0x1ee)]=_0x55df24[_0x214022(0x1b0)](Date[_0x214022(0x1dd)](),_0x5133e3[_0x214022(0x17d)][_0x214022(0x1c5)]()),_0x502d2a[_0x214022(0x19e)]=_0x5133e3[_0x214022(0x249)]?_0x5133e3['err'][_0x214022(0x190)]:null;}}const a4_0x350f1c={};a4_0x350f1c['O11yHelper']=O11yHelper,a4_0x350f1c['STATE_PASSED']=STATE_PASSED,a4_0x350f1c[a4_0x441178(0x1f4)]=STATE_FAILED,a4_0x350f1c[a4_0x441178(0x24d)]=TEST_EVENTS,module[a4_0x441178(0x1d3)]=a4_0x350f1c;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a5_0x2b74(){const _0x33652c=['SlXVk','testObservability','CUCUMBER','../../helpers/performance/constants','scenariosFailed','useW3C','GsvlJ','GXhGb','start','yellow','5891262vqnGsh','fCeJh','eCXpc','enHzG','Generating\x20consolidated\x20report...','cucumber','launchBuild','processSuccess','pAwFt','tjkOB','\x20ambiguous','664392sakqeN','1twbIIO','cyan','RUXQn','stringify','22067152UrWUtY','length','5548536Kpzemf','printBuildLink','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','steps','stepsAmbiguous','testContextOptions','stop','parallelsPerPlatform','errorMessage','stepsSkipped','../../helpers/test-observability/utils','../../helpers/BrowserStackSetup','finally','env','then','push','mergeOutputFiles','initialize','argv','BROWSERSTACK_TEST_OBSERVABILITY_YML','1314452nekFDa','2878828ghQPxS','\x20scenarios','../../helpers/testhub/testhubHandler','stepsUndefined','prepareCapabilities','turboScaleUrl','forEach','splice','stepsPassed','getErrorMessageFromResults','SDK_CLEANUP','end','AbWsM','accessibilityOptions','\x20pending','\x20passed','../utils/constants','EVENTS','stepsPending','432295UgUuDC','framework','stepsFailed','\x20failed','proxySettings','../../helpers/logger','qprIL','red','QYbkM','finalExecution','\x20undefined','lQvqP','FRAMEWORKS','green','vrcmt','wZBTu','OtHrI','YLEOI','ZpztW','../../helpers/helper','lCDtb','IOoNv','logLevel','format','depcV','xtpSu','\x20steps','cwd','debug','tmp','hFpiq','KPxlo','bold','../../helpers/utilities','config','getPlatformName','createDir','log','stepsUnknown','chalk','****\x20RESULTS\x20****','siHlo','zMNFQ','unlinkSync','NJOtd','parseFormatters','../../helpers/performance/performance-tester','join','exitCode','winstonLogger','bgWhite','SDK_SETUP','../test-runner','isBrowserstackInfra','\x20skipped','rmdirSync','handleApp','exports'];a5_0x2b74=function(){return _0x33652c;};return a5_0x2b74();}const a5_0x23b060=a5_0x5257;(function(_0x51522c,_0x2a8aed){const _0x191523=a5_0x5257,_0x36bfa7=_0x51522c();while(!![]){try{const _0x50f863=-parseInt(_0x191523(0xff))/0x1*(-parseInt(_0x191523(0x119))/0x2)+parseInt(_0x191523(0xfe))/0x3+parseInt(_0x191523(0x11a))/0x4+parseInt(_0x191523(0x12d))/0x5+parseInt(_0x191523(0xf3))/0x6+parseInt(_0x191523(0x105))/0x7+-parseInt(_0x191523(0x103))/0x8;if(_0x50f863===_0x2a8aed)break;else _0x36bfa7['push'](_0x36bfa7['shift']());}catch(_0x1077ec){_0x36bfa7['push'](_0x36bfa7['shift']());}}}(a5_0x2b74,0xab23b));function a5_0x5257(_0x30612e,_0x2ea1a3){const _0x2b7482=a5_0x2b74();return a5_0x5257=function(_0x52579a,_0x3ad202){_0x52579a=_0x52579a-0xeb;let _0x5dafa9=_0x2b7482[_0x52579a];return _0x5dafa9;},a5_0x5257(_0x30612e,_0x2ea1a3);}const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x23b060(0x132))[a5_0x23b060(0x15e)],{default:BrowserStackSetup}=require(a5_0x23b060(0x110)),helper=require(a5_0x23b060(0x140)),utilities=require(a5_0x23b060(0x14e)),constants=require(a5_0x23b060(0x12a)),{parallelCucumberRun}=require(a5_0x23b060(0x161)),TestHubHandler=require(a5_0x23b060(0x11c)),testOpsHelper=require(a5_0x23b060(0x10f)),chalk=require(a5_0x23b060(0x154)),PerformanceTester=require(a5_0x23b060(0x15b)),PerformanceEvents=require(a5_0x23b060(0xec))[a5_0x23b060(0x12b)];function printCucumberStats(_0x45515f){const _0x35e59b=a5_0x23b060,_0xf66cd={};_0xf66cd[_0x35e59b(0xf0)]=function(_0x7f80ff,_0x5309d2){return _0x7f80ff>_0x5309d2;},_0xf66cd[_0x35e59b(0x101)]=function(_0x6aa278,_0x3a971f){return _0x6aa278-_0x3a971f;},_0xf66cd[_0x35e59b(0x157)]=function(_0x1c5718,_0x15e946){return _0x1c5718>_0x15e946;},_0xf66cd['vrcmt']=function(_0x2c970c,_0x5b5d0d){return _0x2c970c>_0x5b5d0d;},_0xf66cd[_0x35e59b(0x141)]=function(_0x133deb,_0x1903f6){return _0x133deb>_0x1903f6;},_0xf66cd[_0x35e59b(0xf6)]=function(_0x303630,_0x4dff1e){return _0x303630>_0x4dff1e;},_0xf66cd[_0x35e59b(0xfc)]=function(_0x155360,_0x3e6e68){return _0x155360>_0x3e6e68;},_0xf66cd[_0x35e59b(0x133)]=function(_0x501fa2,_0x467a03){return _0x501fa2>_0x467a03;},_0xf66cd['AbWsM']=function(_0x261735,_0x1360ae){return _0x261735>_0x1360ae;},_0xf66cd[_0x35e59b(0x13c)]=function(_0x2f90e6,_0x3f9d53){return _0x2f90e6>_0x3f9d53;},_0xf66cd['GsvlJ']=function(_0x15d41f,_0x3d6e30){return _0x15d41f+_0x3d6e30;},_0xf66cd['siHlo']=function(_0x51994d,_0x2a870e){return _0x51994d+_0x2a870e;},_0xf66cd[_0x35e59b(0x13e)]=function(_0x31a642,_0x21721a){return _0x31a642+_0x21721a;},_0xf66cd[_0x35e59b(0x145)]=function(_0x5c92eb,_0x1d74a1){return _0x5c92eb+_0x1d74a1;},_0xf66cd['ZpztW']=function(_0x57fddd,_0x8b0f3a){return _0x57fddd+_0x8b0f3a;},_0xf66cd[_0x35e59b(0xf5)]=function(_0x5eb888,_0x270bf7){return _0x5eb888===_0x270bf7;},_0xf66cd[_0x35e59b(0x135)]=_0x35e59b(0x155);const _0x4b760c=_0xf66cd;let _0x57746f=0x0;if(_0x4b760c['eCXpc'](_0x45515f[_0x35e59b(0x104)],0x0))return _0x57746f;return console[_0x35e59b(0x152)](chalk[_0x35e59b(0x14d)][_0x35e59b(0x15f)](_0x4b760c[_0x35e59b(0x135)])),_0x45515f[_0x35e59b(0x120)](_0xf0ebcd=>{const _0x2b2aa=_0x35e59b,_0x23d314=_0xf0ebcd[0x0],_0xd1e5ab=_0xf0ebcd[0x1];console[_0x2b2aa(0x152)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x2b2aa(0x150)](_0x23d314)));const _0x383da6=_0xd1e5ab['scenarios'],_0x355476=_0xd1e5ab[_0x2b2aa(0x108)],_0x13f67c=_0xd1e5ab[_0x2b2aa(0xed)],_0x2a837d=_0xd1e5ab[_0x2b2aa(0x12f)],_0x59c0e2=_0xd1e5ab[_0x2b2aa(0x122)],_0x4178d5=_0xd1e5ab[_0x2b2aa(0x10e)],_0xc96c6d=_0xd1e5ab[_0x2b2aa(0x12c)],_0x3bff23=_0xd1e5ab[_0x2b2aa(0x11d)],_0x2ea714=_0xd1e5ab[_0x2b2aa(0x153)],_0x3b4b12=_0xd1e5ab[_0x2b2aa(0x109)],_0x22ae34=_0xd1e5ab[_0x2b2aa(0xfa)];let _0x4e3168=_0x383da6+_0x2b2aa(0x11b);const _0x2687f9=_0x4b760c[_0x2b2aa(0xf0)](_0x4b760c[_0x2b2aa(0x101)](_0x383da6,_0x13f67c),0x0)?_0x4b760c[_0x2b2aa(0x101)](_0x383da6,_0x13f67c):0x0;if(_0x4b760c[_0x2b2aa(0x157)](_0x13f67c,0x0)&&_0x4b760c[_0x2b2aa(0x13b)](_0x2687f9,0x0))_0x4e3168+='\x20('+chalk['bold'][_0x2b2aa(0x134)](_0x13f67c+_0x2b2aa(0x130))+',\x20'+chalk[_0x2b2aa(0x14d)][_0x2b2aa(0x13a)](_0x2687f9+_0x2b2aa(0x129))+')';else(_0x4b760c[_0x2b2aa(0x13b)](_0x13f67c,0x0)||_0x4b760c[_0x2b2aa(0x141)](_0x2687f9,0x0))&&(_0x4e3168+=_0x4b760c['enHzG'](_0x13f67c,0x0)?'\x20('+chalk[_0x2b2aa(0x14d)][_0x2b2aa(0x134)](_0x13f67c+'\x20failed')+')':'\x20('+chalk['bold'][_0x2b2aa(0x13a)](_0x2687f9+_0x2b2aa(0x129))+')');const _0x258824=_0x355476+_0x2b2aa(0x147),_0x52957d=[];_0x4b760c[_0x2b2aa(0xfc)](_0x3b4b12,0x0)&&_0x52957d[_0x2b2aa(0x114)](''+chalk['bold']['red'](_0x3b4b12+_0x2b2aa(0xfd)));_0x4b760c[_0x2b2aa(0x13b)](_0x2a837d,0x0)&&_0x52957d['push'](''+chalk[_0x2b2aa(0x14d)][_0x2b2aa(0x134)](_0x2a837d+_0x2b2aa(0x130)));_0x4b760c['qprIL'](_0x59c0e2,0x0)&&_0x52957d['push'](''+chalk['bold'][_0x2b2aa(0x13a)](_0x59c0e2+_0x2b2aa(0x129)));_0x4b760c[_0x2b2aa(0x126)](_0xc96c6d,0x0)&&_0x52957d[_0x2b2aa(0x114)](''+chalk[_0x2b2aa(0x14d)][_0x2b2aa(0xf2)](_0xc96c6d+_0x2b2aa(0x128)));_0x4b760c[_0x2b2aa(0x13c)](_0x4178d5,0x0)&&_0x52957d[_0x2b2aa(0x114)](''+chalk[_0x2b2aa(0x14d)][_0x2b2aa(0x100)](_0x4178d5+_0x2b2aa(0x163)));_0x4b760c['tjkOB'](_0x3bff23,0x0)&&_0x52957d[_0x2b2aa(0x114)](''+chalk['bold'][_0x2b2aa(0xf2)](_0x3bff23+_0x2b2aa(0x137)));_0x4b760c[_0x2b2aa(0xfc)](_0x2ea714,0x0)&&_0x52957d[_0x2b2aa(0x114)](''+chalk['bold'][_0x2b2aa(0xf2)](_0x2ea714+_0x2b2aa(0x163)));const _0x5ddb00=_0x4b760c[_0x2b2aa(0xef)](_0x4b760c[_0x2b2aa(0x156)](_0x4b760c['YLEOI'](_0x258824,'('),_0x52957d[_0x2b2aa(0x15c)](',\x20')),')');console['log'](_0x4b760c[_0x2b2aa(0x145)](_0x4b760c[_0x2b2aa(0x156)](_0x4b760c['depcV'](_0x4b760c[_0x2b2aa(0x13f)]('\x0a',_0x4e3168),'\x0a'),_0x5ddb00),'\x0a')),_0x4b760c['eCXpc'](_0x22ae34,![])&&(_0x57746f=0x1);}),_0x57746f;}async function run(_0x1cc7dd,_0x4dd620){const _0x15f1da=a5_0x23b060,_0x1301af={'fCeJh':function(_0x48a75c,_0x4d7bbf){return _0x48a75c(_0x4d7bbf);},'OtHrI':function(_0x215d27,_0x22451f){return _0x215d27>_0x22451f;},'hFpiq':_0x15f1da(0xf7),'gRrIu':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','uwhZO':_0x15f1da(0xf8),'UAkvV':'error\x20removing\x20tcg\x20config\x20file','SlXVk':'cucumber-js','QxCId':_0x15f1da(0x14a),'xtpSu':function(_0x169960,_0x749d74){return _0x169960>_0x749d74;},'KPxlo':function(_0x289ab4,_0x3459bb){return _0x289ab4-_0x3459bb;},'lQvqP':function(_0x1efc4c,_0x230c2c){return _0x1efc4c>=_0x230c2c;},'IOoNv':function(_0x573b4c,_0x4ea109){return _0x573b4c!=_0x4ea109;},'NJOtd':'true','pAwFt':function(_0x49e293,_0x16b27a,_0xf4e05b,_0x3e2952,_0x11d1b6,_0x245c77){return _0x49e293(_0x16b27a,_0xf4e05b,_0x3e2952,_0x11d1b6,_0x245c77);}},_0x31f293=new BrowserStackSetup(_0x1cc7dd,_0x1301af[_0x15f1da(0x167)]);await _0x31f293[_0x15f1da(0x116)](),helper['setUserConfigPath'](_0x31f293[_0x15f1da(0x12e)],_0x1cc7dd);!helper[_0x15f1da(0x162)]()&&await _0x31f293['setupTCGAuth']();await helper[_0x15f1da(0x165)](_0x31f293[_0x15f1da(0x14f)]);const _0x934563=helper[_0x15f1da(0xee)](_0x31f293[_0x15f1da(0x14f)]),_0x35144e=helper[_0x15f1da(0x11e)](_0x31f293[_0x15f1da(0x14f)],_0x934563,constants[_0x15f1da(0x139)][_0x15f1da(0xeb)]);if(!_0x31f293[_0x15f1da(0x14f)])return;const _0x2e30c8=_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x10c)]||helper['getUserWorkerCount'](_0x1cc7dd,_0x4dd620,_0x31f293[_0x15f1da(0x14f)],constants[_0x15f1da(0x139)][_0x15f1da(0xeb)])||0x1,_0x473bfc={'server':helper['getHubUrl'](_0x31f293[_0x15f1da(0x14f)]),'proxySettings':_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x131)],'maxWorkers':_0x2e30c8,'browserStackLogLevel':_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x143)],'skipSessionName':_0x31f293['config'][_0x15f1da(0x10a)]['skipSessionName'],'skipSessionStatus':_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x10a)]['skipSessionStatus'],'turboScaleUrl':_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x11f)]},_0x139802=process[_0x15f1da(0x117)],[_0x3419d5,_0x354346]=helper[_0x15f1da(0x15a)](_0x139802),_0x58c981=path['join'](process[_0x15f1da(0x148)](),_0x1301af['QxCId']);if(_0x1301af[_0x15f1da(0x146)](_0x354346[_0x15f1da(0x104)],0x0)){helper[_0x15f1da(0x151)](_0x58c981);for(let _0x342e94=_0x1301af[_0x15f1da(0x14c)](_0x3419d5[_0x15f1da(0x104)],0x1);_0x1301af[_0x15f1da(0x138)](_0x342e94,0x0);_0x342e94--){_0x139802[_0x15f1da(0x121)](_0x3419d5[_0x342e94],0x2);}}!helper['isUndefined'](_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x127)])&&(process[_0x15f1da(0x112)][_0x15f1da(0x107)]=JSON[_0x15f1da(0x102)](_0x31f293['config'][_0x15f1da(0x127)]));_0x1301af[_0x15f1da(0x142)](_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x168)],null)?process[_0x15f1da(0x112)][_0x15f1da(0x118)]=_0x31f293[_0x15f1da(0x14f)][_0x15f1da(0x168)]:process[_0x15f1da(0x112)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x1301af[_0x15f1da(0x159)];const _0xb97625=await TestHubHandler[_0x15f1da(0xf9)](constants[_0x15f1da(0x139)][_0x15f1da(0xeb)],_0x31f293);PerformanceTester[_0x15f1da(0x125)](PerformanceEvents[_0x15f1da(0x160)]);let _0x6dc133;_0x1301af[_0x15f1da(0xfb)](parallelCucumberRun,_0x35144e,_0x473bfc,_0x31f293[_0x15f1da(0x14f)],_0x139802,_0x354346)[_0x15f1da(0x113)](async _0x14869d=>{const _0x23303c=_0x15f1da;PerformanceTester[_0x23303c(0xf1)](PerformanceEvents['SDK_CLEANUP']),_0x6dc133=_0x14869d;const _0x4b380b=_0x1301af[_0x23303c(0xf4)](printCucumberStats,_0x14869d);process[_0x23303c(0x15d)]=_0x4b380b,_0x1301af[_0x23303c(0x13d)](_0x354346[_0x23303c(0x104)],0x0)&&(logger[_0x23303c(0x149)](_0x1301af[_0x23303c(0x14b)]),helper[_0x23303c(0x115)](_0x58c981,_0x354346),logger[_0x23303c(0x149)](_0x1301af['gRrIu']),helper['removeDir'](_0x58c981));})[_0x15f1da(0x111)](async()=>{const _0x5518ae=_0x15f1da;PerformanceTester[_0x5518ae(0xf1)](PerformanceEvents[_0x5518ae(0x124)]),_0x31f293[_0x5518ae(0x10d)]=helper[_0x5518ae(0x123)](_0x6dc133,_0x1301af['uwhZO']),testOpsHelper[_0x5518ae(0x106)]();try{await TestHubHandler[_0x5518ae(0x10b)]();}catch(_0x1dcd38){logger[_0x5518ae(0x149)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5518ae(0x144)](_0x1dcd38));}try{const {browserstackFolderPath:_0x1ad5e7,tcgConfigPath:_0x2a8506}=helper['getTCGConfigFilePaths']();fs[_0x5518ae(0x158)](_0x2a8506),fs[_0x5518ae(0x164)](_0x1ad5e7);}catch(_0x1f4a46){logger[_0x5518ae(0x149)](_0x1301af['UAkvV'],_0x1f4a46);}await utilities[_0x5518ae(0x136)](_0x31f293);});}module[a5_0x23b060(0x166)]=run;
2
+ 'use strict';const a5_0x5445c4=a5_0x42c6;(function(_0x4847ac,_0x24a2c0){const _0x11672a=a5_0x42c6,_0x5421d7=_0x4847ac();while(!![]){try{const _0x5d2200=parseInt(_0x11672a(0x134))/0x1*(-parseInt(_0x11672a(0x103))/0x2)+-parseInt(_0x11672a(0x15a))/0x3*(parseInt(_0x11672a(0x143))/0x4)+parseInt(_0x11672a(0x124))/0x5+-parseInt(_0x11672a(0x162))/0x6+parseInt(_0x11672a(0xf5))/0x7*(parseInt(_0x11672a(0xef))/0x8)+-parseInt(_0x11672a(0x12e))/0x9*(parseInt(_0x11672a(0x10c))/0xa)+parseInt(_0x11672a(0x13b))/0xb;if(_0x5d2200===_0x24a2c0)break;else _0x5421d7['push'](_0x5421d7['shift']());}catch(_0x323ed5){_0x5421d7['push'](_0x5421d7['shift']());}}}(a5_0x2d3a,0x50c5e));function a5_0x42c6(_0x5c1198,_0x26c111){const _0x2d3a56=a5_0x2d3a();return a5_0x42c6=function(_0x42c6d6,_0x55efa3){_0x42c6d6=_0x42c6d6-0xec;let _0x1145f5=_0x2d3a56[_0x42c6d6];return _0x1145f5;},a5_0x42c6(_0x5c1198,_0x26c111);}const fs=require('fs'),path=require(a5_0x5445c4(0x148)),util=require(a5_0x5445c4(0x15e)),logger=require(a5_0x5445c4(0x128))['winstonLogger'],{default:BrowserStackSetup}=require(a5_0x5445c4(0x136)),helper=require(a5_0x5445c4(0x10b)),utilities=require(a5_0x5445c4(0x120)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x5445c4(0x117)),TestHubHandler=require(a5_0x5445c4(0x130)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x5445c4(0x155)),PerformanceTester=require(a5_0x5445c4(0xfa)),PerformanceEvents=require(a5_0x5445c4(0x151))[a5_0x5445c4(0x15c)];function printCucumberStats(_0x26418e){const _0xff059d=a5_0x5445c4,_0x50ede7={};_0x50ede7[_0xff059d(0x122)]=function(_0x21b0fb,_0x8ee23e){return _0x21b0fb>_0x8ee23e;},_0x50ede7[_0xff059d(0x146)]=function(_0x184cd9,_0x4ef050){return _0x184cd9-_0x4ef050;},_0x50ede7[_0xff059d(0x11d)]=function(_0x2bc797,_0x3a83de){return _0x2bc797>_0x3a83de;},_0x50ede7[_0xff059d(0x125)]=function(_0x44e138,_0x51a231){return _0x44e138>_0x51a231;},_0x50ede7[_0xff059d(0xfb)]=function(_0x37b081,_0xceeeb3){return _0x37b081>_0xceeeb3;},_0x50ede7[_0xff059d(0x13e)]=function(_0x4ec7d3,_0x3851ef){return _0x4ec7d3>_0x3851ef;},_0x50ede7['JZkbC']=function(_0x317e13,_0x364381){return _0x317e13+_0x364381;},_0x50ede7[_0xff059d(0x159)]=function(_0x122c5b,_0x491edb){return _0x122c5b+_0x491edb;},_0x50ede7[_0xff059d(0xf8)]=function(_0x5c2ca7,_0x2f15d5){return _0x5c2ca7+_0x2f15d5;},_0x50ede7[_0xff059d(0x121)]=function(_0x2270a3,_0x19982e){return _0x2270a3===_0x19982e;},_0x50ede7['yCrQz']=_0xff059d(0xfd);const _0x4c7c31=_0x50ede7;let _0x579246=0x0;if(_0x4c7c31[_0xff059d(0x121)](_0x26418e['length'],0x0))return _0x579246;return console['log'](chalk[_0xff059d(0x154)][_0xff059d(0xff)](_0x4c7c31[_0xff059d(0x135)])),_0x26418e['forEach'](_0x49611c=>{const _0x5a7736=_0xff059d,_0x71d24e=_0x49611c[0x0],_0xae1bf4=_0x49611c[0x1];console['log']('\x0a'+chalk['bold'][_0x5a7736(0x163)](''+helper[_0x5a7736(0x119)](_0x71d24e)));const _0x3420b7=_0xae1bf4[_0x5a7736(0x114)],_0x37946b=_0xae1bf4[_0x5a7736(0x129)],_0x3f79ac=_0xae1bf4['scenariosFailed'],_0x3db343=_0xae1bf4[_0x5a7736(0x106)],_0x2fc6cc=_0xae1bf4[_0x5a7736(0x14f)],_0x270efe=_0xae1bf4[_0x5a7736(0x15b)],_0x189d2f=_0xae1bf4['stepsPending'],_0x7db30e=_0xae1bf4[_0x5a7736(0x110)],_0x4d9c54=_0xae1bf4['stepsUnknown'],_0x58fa13=_0xae1bf4['stepsAmbiguous'],_0xcce40b=_0xae1bf4[_0x5a7736(0x145)];let _0x32c577=_0x3420b7+'\x20scenarios';const _0x14f1fb=_0x4c7c31[_0x5a7736(0x122)](_0x4c7c31[_0x5a7736(0x146)](_0x3420b7,_0x3f79ac),0x0)?_0x4c7c31['jBcMV'](_0x3420b7,_0x3f79ac):0x0;if(_0x4c7c31[_0x5a7736(0x122)](_0x3f79ac,0x0)&&_0x4c7c31[_0x5a7736(0x11d)](_0x14f1fb,0x0))_0x32c577+='\x20('+chalk[_0x5a7736(0x154)][_0x5a7736(0x132)](_0x3f79ac+_0x5a7736(0xee))+',\x20'+chalk[_0x5a7736(0x154)][_0x5a7736(0x138)](_0x14f1fb+'\x20passed')+')';else(_0x4c7c31[_0x5a7736(0x125)](_0x3f79ac,0x0)||_0x4c7c31[_0x5a7736(0x125)](_0x14f1fb,0x0))&&(_0x32c577+=_0x4c7c31['otPpA'](_0x3f79ac,0x0)?'\x20('+chalk[_0x5a7736(0x154)]['red'](_0x3f79ac+_0x5a7736(0xee))+')':'\x20('+chalk[_0x5a7736(0x154)]['green'](_0x14f1fb+_0x5a7736(0x101))+')');const _0x23f350=_0x37946b+_0x5a7736(0x118),_0x6b26c4=[];_0x4c7c31[_0x5a7736(0xfb)](_0x58fa13,0x0)&&_0x6b26c4['push'](''+chalk[_0x5a7736(0x154)][_0x5a7736(0x132)](_0x58fa13+_0x5a7736(0x10f)));_0x4c7c31[_0x5a7736(0xfb)](_0x3db343,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk[_0x5a7736(0x154)]['red'](_0x3db343+_0x5a7736(0xee)));_0x4c7c31[_0x5a7736(0x11d)](_0x2fc6cc,0x0)&&_0x6b26c4['push'](''+chalk['bold'][_0x5a7736(0x138)](_0x2fc6cc+_0x5a7736(0x101)));_0x4c7c31[_0x5a7736(0x125)](_0x189d2f,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk[_0x5a7736(0x154)][_0x5a7736(0x163)](_0x189d2f+_0x5a7736(0x139)));_0x4c7c31[_0x5a7736(0x125)](_0x270efe,0x0)&&_0x6b26c4['push'](''+chalk[_0x5a7736(0x154)][_0x5a7736(0x13d)](_0x270efe+_0x5a7736(0x123)));_0x4c7c31[_0x5a7736(0x13e)](_0x7db30e,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk[_0x5a7736(0x154)]['yellow'](_0x7db30e+_0x5a7736(0x113)));_0x4c7c31[_0x5a7736(0x11d)](_0x4d9c54,0x0)&&_0x6b26c4[_0x5a7736(0x11c)](''+chalk['bold'][_0x5a7736(0x163)](_0x4d9c54+_0x5a7736(0x123)));const _0x7c12ae=_0x4c7c31[_0x5a7736(0x153)](_0x4c7c31['JZkbC'](_0x4c7c31[_0x5a7736(0x153)](_0x23f350,'('),_0x6b26c4['join'](',\x20')),')');console[_0x5a7736(0xf3)](_0x4c7c31['JZkbC'](_0x4c7c31['JZkbC'](_0x4c7c31[_0x5a7736(0x159)](_0x4c7c31['BUZEr']('\x0a',_0x32c577),'\x0a'),_0x7c12ae),'\x0a')),_0x4c7c31[_0x5a7736(0x121)](_0xcce40b,![])&&(_0x579246=0x1);}),_0x579246;}function a5_0x2d3a(){const _0x4d4c94=['../test-runner','\x20steps','getPlatformName','useW3C','mYCeK','push','aNztm','framework','ZgzeW','../../helpers/utilities','YWrlj','otPpA','\x20skipped','2432520SYcjnr','TWdjM','testContextOptions','stringify','../../helpers/logger','steps','cucumber','parseFormatters','true','getHubUrl','9ZqdDHg','proxySettings','../../helpers/testhub/testhubHandler','parallelsPerPlatform','red','finalExecution','58634QcAFKw','yCrQz','../../helpers/BrowserStackSetup','finally','green','\x20pending','end','6823047KpqgCQ','createDir','cyan','ifRmx','testObservability','isBrowserstackInfra','removeDir','SDK_CLEANUP','32dArIFc','start','processSuccess','jBcMV','argv','path','Removing\x20tmp\x20directory\x20created\x20for\x20reports','mSyUO','errorMessage','getTCGConfigFilePaths','length','HgTUx','stepsPassed','vHedi','../../helpers/performance/constants','ozKEB','JZkbC','bold','chalk','handleApp','SDK_SETUP','accessibilityOptions','sRMSa','70086ePwjYS','stepsSkipped','EVENTS','hubqn','util','jYvjf','prepareCapabilities','printBuildLink','1715964BtInNk','yellow','splice','skipSessionStatus','\x20failed','445008heMAbV','exports','TdRYD','cucumber-js','log','join','35RRamVl','KgMYu','getUserWorkerCount','BUZEr','Generating\x20consolidated\x20report...','../../helpers/performance/performance-tester','EVhwV','BROWSERSTACK_TEST_OBSERVABILITY_YML','****\x20RESULTS\x20****','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','bgWhite','env','\x20passed','FRAMEWORKS','10ZNCPph','format','stop','stepsFailed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mergeOutputFiles','bhDvZ','debug','../../helpers/helper','2880050dHAtoV','launchBuild','error\x20removing\x20tcg\x20config\x20file','\x20ambiguous','stepsUndefined','getErrorMessageFromResults','AVuxe','\x20undefined','scenarios','config','CUCUMBER'];a5_0x2d3a=function(){return _0x4d4c94;};return a5_0x2d3a();}async function run(_0xa82673,_0x5bfd5f){const _0x2badb4=a5_0x5445c4,_0x12831={'mSyUO':function(_0x2c9679,_0x3350c5){return _0x2c9679(_0x3350c5);},'hubqn':function(_0x475d7d,_0x526a77){return _0x475d7d>_0x526a77;},'IZbvF':_0x2badb4(0xf9),'HgTUx':_0x2badb4(0x149),'TdRYD':_0x2badb4(0x12a),'KgMYu':_0x2badb4(0x10e),'AVuxe':_0x2badb4(0xf2),'ZgzeW':'tmp','jYvjf':function(_0x17b5bd,_0x4a60fd){return _0x17b5bd>_0x4a60fd;},'ozKEB':function(_0xe2f73e,_0x7feafc){return _0xe2f73e-_0x7feafc;},'cWwql':function(_0x39bbaa,_0x54c466){return _0x39bbaa>=_0x54c466;},'bhDvZ':function(_0x1783be,_0x3d4260){return _0x1783be!=_0x3d4260;},'mYCeK':_0x2badb4(0x12c),'vHedi':function(_0x4b14dc,_0x36cb09,_0xa2caab,_0x46d360,_0x4725d4,_0x573102){return _0x4b14dc(_0x36cb09,_0xa2caab,_0x46d360,_0x4725d4,_0x573102);}},_0x42591c=new BrowserStackSetup(_0xa82673,_0x12831[_0x2badb4(0x112)]);await _0x42591c['initialize'](),helper['setUserConfigPath'](_0x42591c[_0x2badb4(0x11e)],_0xa82673);!helper[_0x2badb4(0x140)]()&&await _0x42591c['setupTCGAuth']();await helper[_0x2badb4(0x156)](_0x42591c['config']);const _0x2aceb5=helper[_0x2badb4(0x11a)](_0x42591c[_0x2badb4(0x115)]),_0xb81ecb=helper[_0x2badb4(0x160)](_0x42591c[_0x2badb4(0x115)],_0x2aceb5,constants[_0x2badb4(0x102)]['CUCUMBER']);if(!_0x42591c[_0x2badb4(0x115)])return;const _0x30ab3a=_0x42591c['config'][_0x2badb4(0x131)]||helper[_0x2badb4(0xf7)](_0xa82673,_0x5bfd5f,_0x42591c['config'],constants['FRAMEWORKS'][_0x2badb4(0x116)])||0x1,_0x3a72c9={'server':helper[_0x2badb4(0x12d)](_0x42591c['config']),'proxySettings':_0x42591c['config'][_0x2badb4(0x12f)],'maxWorkers':_0x30ab3a,'browserStackLogLevel':_0x42591c[_0x2badb4(0x115)]['logLevel'],'skipSessionName':_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x126)]['skipSessionName'],'skipSessionStatus':_0x42591c[_0x2badb4(0x115)]['testContextOptions'][_0x2badb4(0xed)],'turboScaleUrl':_0x42591c['config']['turboScaleUrl']},_0x1340cc=process[_0x2badb4(0x147)],[_0x5e99ab,_0x3c4412]=helper[_0x2badb4(0x12b)](_0x1340cc),_0x2c4226=path[_0x2badb4(0xf4)](process['cwd'](),_0x12831[_0x2badb4(0x11f)]);if(_0x12831[_0x2badb4(0x15f)](_0x3c4412[_0x2badb4(0x14d)],0x0)){helper[_0x2badb4(0x13c)](_0x2c4226);for(let _0x54ee8c=_0x12831[_0x2badb4(0x152)](_0x5e99ab[_0x2badb4(0x14d)],0x1);_0x12831['cWwql'](_0x54ee8c,0x0);_0x54ee8c--){_0x1340cc[_0x2badb4(0xec)](_0x5e99ab[_0x54ee8c],0x2);}}!helper['isUndefined'](_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x158)])&&(process['env'][_0x2badb4(0x107)]=JSON[_0x2badb4(0x127)](_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x158)]));_0x12831[_0x2badb4(0x109)](_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x13f)],null)?process[_0x2badb4(0x100)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x42591c[_0x2badb4(0x115)][_0x2badb4(0x13f)]:process[_0x2badb4(0x100)][_0x2badb4(0xfc)]=_0x12831[_0x2badb4(0x11b)];const _0x132fbc=await TestHubHandler[_0x2badb4(0x10d)](constants[_0x2badb4(0x102)][_0x2badb4(0x116)],_0x42591c);PerformanceTester[_0x2badb4(0x13a)](PerformanceEvents[_0x2badb4(0x157)]);let _0xee9f7d;_0x12831[_0x2badb4(0x150)](parallelCucumberRun,_0xb81ecb,_0x3a72c9,_0x42591c[_0x2badb4(0x115)],_0x1340cc,_0x3c4412)['then'](async _0x10aaf4=>{const _0x51bffb=_0x2badb4;PerformanceTester[_0x51bffb(0x144)](PerformanceEvents['SDK_CLEANUP']),_0xee9f7d=_0x10aaf4;const _0x3f2eb3=_0x12831[_0x51bffb(0x14a)](printCucumberStats,_0x10aaf4);process['exitCode']=_0x3f2eb3,_0x12831[_0x51bffb(0x15d)](_0x3c4412[_0x51bffb(0x14d)],0x0)&&(logger[_0x51bffb(0x10a)](_0x12831['IZbvF']),helper[_0x51bffb(0x108)](_0x2c4226,_0x3c4412),logger[_0x51bffb(0x10a)](_0x12831[_0x51bffb(0x14e)]),helper[_0x51bffb(0x141)](_0x2c4226));})[_0x2badb4(0x137)](async()=>{const _0x97d7cd=_0x2badb4;PerformanceTester[_0x97d7cd(0x144)](PerformanceEvents[_0x97d7cd(0x142)]),_0x42591c[_0x97d7cd(0x14b)]=helper[_0x97d7cd(0x111)](_0xee9f7d,_0x12831[_0x97d7cd(0xf1)]),testOpsHelper[_0x97d7cd(0x161)]();try{await TestHubHandler[_0x97d7cd(0x105)]();}catch(_0x663cf9){logger[_0x97d7cd(0x10a)](_0x97d7cd(0xfe)+util[_0x97d7cd(0x104)](_0x663cf9));}try{const {browserstackFolderPath:_0x5ad689,tcgConfigPath:_0x4bf853}=helper[_0x97d7cd(0x14c)]();fs['unlinkSync'](_0x4bf853),fs['rmdirSync'](_0x5ad689);}catch(_0x24656b){logger[_0x97d7cd(0x10a)](_0x12831[_0x97d7cd(0xf6)],_0x24656b);}await utilities[_0x97d7cd(0x133)](_0x42591c);});}module[a5_0x5445c4(0xf0)]=run;