browserstack-node-sdk 1.40.0 → 1.40.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 (175) 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 +2 -2
  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/customSequencer.js +1 -1
  60. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  61. package/src/bin/jest/jest.setup.js +1 -1
  62. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  63. package/src/bin/jest/test-observability/helper.js +1 -1
  64. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  65. package/src/bin/jest/test-observability/test-details.js +1 -1
  66. package/src/bin/jest/test_before.setup.js +1 -1
  67. package/src/bin/launcher/launcher.js +1 -1
  68. package/src/bin/load/index.js +1 -1
  69. package/src/bin/load/load/index.js +46 -27
  70. package/src/bin/load/load/loadUtils.js +37 -31
  71. package/src/bin/load/loadUtils.js +1 -1
  72. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  73. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  74. package/src/bin/mocha/command.js +1 -1
  75. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  76. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  77. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  78. package/src/bin/mocha/test.setup.js +1 -1
  79. package/src/bin/nightwatch/command.js +1 -1
  80. package/src/bin/playwright/accessibility-helper.js +1 -1
  81. package/src/bin/playwright/command.js +1 -1
  82. package/src/bin/playwright/globalSetup.js +1 -1
  83. package/src/bin/playwright/mock-process.js +1 -1
  84. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  85. package/src/bin/playwright/patches.js +1 -1
  86. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  87. package/src/bin/playwright/reporter/reporter.js +1 -1
  88. package/src/bin/playwright/reporter/test-details.js +1 -1
  89. package/src/bin/playwright/sessionDetails.js +1 -1
  90. package/src/bin/runner.js +1 -1
  91. package/src/bin/setup.js +1 -1
  92. package/src/bin/test-runner/index.js +1 -1
  93. package/src/bin/test-runner/runTest.js +1 -1
  94. package/src/bin/test-runner/testWorker.js +1 -1
  95. package/src/bin/utils/constants.js +1 -1
  96. package/src/bin/utils/log4jsAppender.js +1 -1
  97. package/src/bin/utils/logPatcher.js +1 -1
  98. package/src/bin/utils/logReportingAPI.js +1 -1
  99. package/src/bin/v2/TestInfo.js +1 -1
  100. package/src/bin/v2/browserstackCLI.js +1 -1
  101. package/src/bin/v2/cliUtils.js +1 -1
  102. package/src/bin/v2/customTagManager.js +1 -1
  103. package/src/bin/v2/eventDispatcher.js +1 -1
  104. package/src/bin/v2/framework/automationFramework.js +1 -1
  105. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  106. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  107. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  108. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  109. package/src/bin/v2/framework/testFramework.js +1 -1
  110. package/src/bin/v2/grpcClient.js +1 -1
  111. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  112. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  113. package/src/bin/v2/instances/trackedContext.js +1 -1
  114. package/src/bin/v2/instances/trackedInstance.js +1 -1
  115. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  116. package/src/bin/v2/modules/baseModule.js +1 -1
  117. package/src/bin/v2/modules/observabilityModule.js +1 -1
  118. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  119. package/src/bin/v2/modules/testhubModule.js +1 -1
  120. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  121. package/src/bin/v2/state/hookState.js +1 -1
  122. package/src/bin/v2/state/testFrameworkState.js +1 -1
  123. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  124. package/src/bin/vanilla-js/command.js +1 -1
  125. package/src/browserStackSdk.js +1 -1
  126. package/src/helpers/BrowserStackSetup.js +1 -1
  127. package/src/helpers/accessibility-automation/constants.js +1 -1
  128. package/src/helpers/accessibility-automation/helper.js +1 -1
  129. package/src/helpers/accessibility-automation/scripts.js +1 -1
  130. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  131. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  132. package/src/helpers/ats/constants.js +1 -1
  133. package/src/helpers/ats/helper.js +1 -1
  134. package/src/helpers/capsMapping.js +1 -1
  135. package/src/helpers/central-scanner/constants.js +1 -1
  136. package/src/helpers/central-scanner/helpers.js +1 -1
  137. package/src/helpers/classLogger.js +1 -1
  138. package/src/helpers/globals.js +1 -1
  139. package/src/helpers/helper.js +1 -1
  140. package/src/helpers/logger.js +1 -1
  141. package/src/helpers/metadata.js +1 -1
  142. package/src/helpers/patchHelper.js +1 -1
  143. package/src/helpers/patchHelpers.js +1 -1
  144. package/src/helpers/percy/Percy.js +1 -1
  145. package/src/helpers/percy/PercyBinary.js +1 -1
  146. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  147. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  148. package/src/helpers/percy/PercySDK.js +1 -1
  149. package/src/helpers/percy/index.js +1 -1
  150. package/src/helpers/percy/utils.js +1 -1
  151. package/src/helpers/performance/constants.js +1 -1
  152. package/src/helpers/performance/performance-tester.js +1 -1
  153. package/src/helpers/processHelper.js +1 -1
  154. package/src/helpers/request-spy.js +1 -1
  155. package/src/helpers/setKeepAlive.js +1 -1
  156. package/src/helpers/test-observability/constants.js +1 -1
  157. package/src/helpers/test-observability/error-handler.js +1 -1
  158. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  159. package/src/helpers/test-observability/sessionHandler.js +1 -1
  160. package/src/helpers/test-observability/utils.js +1 -1
  161. package/src/helpers/test-orchestration/constants.js +1 -1
  162. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  163. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  164. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  165. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  166. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  167. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  168. package/src/helpers/testhub/constants.js +1 -1
  169. package/src/helpers/testhub/testhubHandler.js +1 -1
  170. package/src/helpers/testhub/utils.js +1 -1
  171. package/src/helpers/timeoutPromise.js +1 -1
  172. package/src/helpers/utilities.js +1 -1
  173. package/src/helpers/w3cMapping.js +1 -1
  174. package/src/hubAllocationMethods.js +1 -1
  175. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a1_0x49e1(_0x3b6d14,_0x31fc23){const _0x36c734=a1_0x36c7();return a1_0x49e1=function(_0x49e1b4,_0x35117d){_0x49e1b4=_0x49e1b4-0x11d;let _0x46c348=_0x36c734[_0x49e1b4];return _0x46c348;},a1_0x49e1(_0x3b6d14,_0x31fc23);}const a1_0x33990e=a1_0x49e1;(function(_0x22a2dd,_0x2b899c){const _0x4712c2=a1_0x49e1,_0x373064=_0x22a2dd();while(!![]){try{const _0x3398da=-parseInt(_0x4712c2(0x1cb))/0x1*(-parseInt(_0x4712c2(0x1f7))/0x2)+parseInt(_0x4712c2(0x127))/0x3+-parseInt(_0x4712c2(0x166))/0x4+parseInt(_0x4712c2(0x19a))/0x5*(parseInt(_0x4712c2(0x1bb))/0x6)+parseInt(_0x4712c2(0x178))/0x7+parseInt(_0x4712c2(0x150))/0x8+-parseInt(_0x4712c2(0x1ab))/0x9;if(_0x3398da===_0x2b899c)break;else _0x373064['push'](_0x373064['shift']());}catch(_0x3936ed){_0x373064['push'](_0x373064['shift']());}}}(a1_0x36c7,0xab959));function a1_0x36c7(){const _0x63e502=['captureError','bddStep-after','kreCX','saveTestResults','../../helpers/testhub/constants.js','class','SDK_HOOK','fQAve','base64','startMonitoring','start','bstackAllyScanning','bind','nykir','all','PERFORM_SCAN','10493096uvapVE','../../helpers/performance/constants','SDK_TEST','codeceptjs/lib/helper/WebDriver.js','sdYaK','thBuildUuid','testAnalyticsId','afuJK','pid','gyRfp','MKNsk','browser','skipped','fZcpv','executeScript','lCreE','prototype','DdUxc','QbEKx','forEach','FeDSR','hook-failed','2196216gpirzK','./o11yHelper','overwriteCommand','thTestRunUuid','TEST_RUN_STARTED','./helper.js','Element','fireEvent','_before','oKhMf','Playwright','BdUIT','HOOK_RUN_FINISHED','Failed\x20to\x20execute\x20_before:\x20','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','failed','filter','enabled','4547305oVuQDm','TEzVH','initSaveScreenshot','apply','SAVE_RESULTS','getResultsSummary','command','step','afterTest','TEST_LOG','getSyncScript','titlePath','LEWsb','uFYbe','../../helpers/accessibility-automation/helper','BrcyP','saveScreenshot','test-skipped','TPbXN','Performing\x20scan\x20for\x20','__driver','QXHyA','arguments','ejvWx','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','eGxhI','HVtYQ','OZFFH','end','bs:addLog:','event','axuFv','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','after','177685YxaVTS','browserContext','WgIxH','stop','Screenshot\x20path\x20not\x20found','skipSessionStatus','../../helpers/logger','tsAeY','setGlobal','ueaVE','bddStep-before','SDcgl','comment','helpers','../../bin/playwright/sessionDetails','XOQPd','rGZcs','36515961TidnTM','KChOW','codeceptjs/lib/index.js','../../helpers/accessibility-automation/scripts','util','bhdmk','getAccessibilityResultsSummary','AwoSZ','codeceptjs/lib/helper/Playwright.js','captureEvent','contexts','SSpIf','__workerDetails','WebDriver','readFileSync','SDK_PRE_TEST','198JZOrpC','patch','test-passed','kqBfY','hookType','Bdhqn','SDK_POST_INITIALIZE','SESSION_NAME','utVKU','format','SDK_POST_TEST','reason','hook','ENV_VAR','PvWlc','stopMonitoring','1PqiBur','status','restore','debug','test-before','hook-started','../../helpers/test-observability/utils','GET_RESULTS_SUMMARY','dispatcher','name','test-after','emit','currentTest','winstonLogger','commandsToWrap','slice','../../bin/playwright/accessibility-helper','bddStepFinish','../../helpers/helper','bddStepStart','measureWrapper','ctx','screenshotOutputFolder','TEST_RUN_SKIPPED','exports','FFXRX','step-comment','getResults','jSTtC','browserstack_executor:\x20','stringify','codeceptjs','EhyIP','before','bTZAb','accessibilityPlatform','pZhzt','constructor','fARgZ','LBnaO','add','KWNky','UKBiX','sVyCF','2020052hnwCrL','toISOString','toString','../../helpers/globals.js','setSessionStatus','nWUgL','test-failed','nbrPe','test','hook-passed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','kgDHz','browserStackExecuteDriver','BROWSERSTACK_TESTHUB_JWT','passed','addRequestSpy','INFO','bddStep','3495579wJpGJE','EnMSm','HOOK_RUN_STARTED','setSessionName','SESSION_STATUS','pBFKc','KAanf','Suite','patchSaveScreenshot','codeceptjs/lib/recorder.js','thJwtToken','vIREz','LFeZd','title','catch','started','bEeim','TEST_RUN_FINISHED','warn','performScan','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','agSGV','shouldWrapCommand','ljeWD','env'];a1_0x36c7=function(){return _0x63e502;};return a1_0x36c7();}const fs=require('fs'),util=require(a1_0x33990e(0x1af)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x33990e(0x1dd)),logger=require(a1_0x33990e(0x1a0))[a1_0x33990e(0x1d8)],testOpsHelper=require(a1_0x33990e(0x1d1)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x33990e(0x1a8)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x33990e(0x167)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x33990e(0x186)),AccessibilityHelper=require(a1_0x33990e(0x1db)),scripts=require(a1_0x33990e(0x1ae)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x33990e(0x151)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x33990e(0x16b)),testHubConstants=require(a1_0x33990e(0x144)),globals=require(a1_0x33990e(0x1fa)),CodeceptJS=requireModule(a1_0x33990e(0x1ad),'codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule(a1_0x33990e(0x153),a1_0x33990e(0x1ea)),CodeceptRecorder=requireModule(a1_0x33990e(0x130),a1_0x33990e(0x1ea)),CodeceptPlaywright=requireModule(a1_0x33990e(0x1b3),'codeceptjs'),playwrightMarkSessionStatus=(_0x133bd7,_0x3400f1,_0x7d6826)=>{const _0x30e653=a1_0x33990e,_0x39f937={'lCreE':_0x30e653(0x1fb),'BrcyP':function(_0x102d4f,_0x4beaca){return _0x102d4f(_0x4beaca);}},_0x2a8fcc={};_0x2a8fcc[_0x30e653(0x1cc)]=_0x3400f1;const _0x5deb0b={};_0x5deb0b['action']=_0x39f937[_0x30e653(0x15f)],_0x5deb0b['arguments']=_0x2a8fcc;const _0x397789=_0x5deb0b;return!_0x39f937[_0x30e653(0x187)](isUndefined,_0x7d6826)&&(_0x397789[_0x30e653(0x18e)][_0x30e653(0x1c6)]=JSON[_0x30e653(0x1e9)](_0x7d6826)),_0x133bd7['executeScript'](()=>{},_0x30e653(0x1e8)+JSON['stringify'](_0x397789));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],async _0x4aea6d=>{const _0x48c314=a1_0x33990e,_0x5b5402={};_0x5b5402[_0x48c314(0x13c)]=function(_0x44f2dd,_0x2a1295){return _0x44f2dd===_0x2a1295;},_0x5b5402[_0x48c314(0x1fc)]=_0x48c314(0x170);const _0x2be384=_0x5b5402;_0x2be384[_0x48c314(0x13c)](_0x4aea6d[_0x48c314(0x1f0)][_0x48c314(0x1d4)],_0x2be384[_0x48c314(0x1fc)])?await _0x4aea6d['executeScript'](_0x25806c=>{},testOpsHelper['getSyncScript']()):await _0x4aea6d[_0x48c314(0x15e)](testOpsHelper[_0x48c314(0x182)]());}),markSessionName=PerformanceTester[a1_0x33990e(0x1df)](PerformanceAutEvents[a1_0x33990e(0x1c2)],async(_0x3b7382,_0x1e8709)=>{const _0x36e7b6=a1_0x33990e,_0x1e5483={};_0x1e5483[_0x36e7b6(0x161)]=_0x36e7b6(0x12a),_0x1e5483[_0x36e7b6(0x1e7)]=function(_0xb91cec,_0x2a6793){return _0xb91cec===_0x2a6793;},_0x1e5483[_0x36e7b6(0x1aa)]=_0x36e7b6(0x170);const _0x10f13a=_0x1e5483,_0x40adbf={};_0x40adbf[_0x36e7b6(0x1d4)]=_0x1e8709;const _0x54516b={};_0x54516b['action']=_0x10f13a[_0x36e7b6(0x161)],_0x54516b[_0x36e7b6(0x18e)]=_0x40adbf;const _0x3a1ca3=_0x54516b;_0x10f13a[_0x36e7b6(0x1e7)](_0x3b7382[_0x36e7b6(0x1f0)][_0x36e7b6(0x1d4)],_0x10f13a[_0x36e7b6(0x1aa)])?await _0x3b7382[_0x36e7b6(0x15e)](()=>{},_0x36e7b6(0x1e8)+JSON[_0x36e7b6(0x1e9)](_0x3a1ca3)):await _0x3b7382[_0x36e7b6(0x15e)](_0x36e7b6(0x1e8)+JSON['stringify'](_0x3a1ca3));}),patchSaveScreenshot=_0x436045=>{const _0x7aabb2=a1_0x33990e,_0x4c6a29={'XOQPd':_0x7aabb2(0x148),'pZhzt':'TEST_SCREENSHOT','ueaVE':function(_0x4c5704){return _0x4c5704();},'SSpIf':function(_0x2c0e0e,_0x13b434){return _0x2c0e0e(_0x13b434);},'fARgZ':_0x7aabb2(0x19e)};_0x4c6a29[_0x7aabb2(0x1b6)](isTrue,process[_0x7aabb2(0x13f)]['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x436045[_0x7aabb2(0x12f)]&&(_0x436045[_0x7aabb2(0x12f)]=!![],_0x436045['initSaveScreenshot']=_0x436045[_0x7aabb2(0x188)],_0x436045[_0x7aabb2(0x188)]=(_0x50dd11,_0x43b327=![])=>{const _0x41c72d=_0x7aabb2,_0x250a55={'xvNfE':_0x4c6a29[_0x41c72d(0x1a9)],'kqBfY':_0x4c6a29[_0x41c72d(0x1ef)],'HVtYQ':function(_0x30a1ba){const _0x11c19a=_0x41c72d;return _0x4c6a29[_0x11c19a(0x1a3)](_0x30a1ba);},'bFvfK':function(_0x47aaf8,_0x1672d0){const _0x235e1e=_0x41c72d;return _0x4c6a29[_0x235e1e(0x1b6)](_0x47aaf8,_0x1672d0);},'sdYaK':_0x4c6a29[_0x41c72d(0x1f1)]};return new Promise(function(_0x3bf156,_0x5e810c){const _0x34c627=_0x41c72d;_0x436045[_0x34c627(0x17a)](_0x50dd11,_0x43b327)['then'](()=>{const _0x4c4579=_0x34c627,_0x5eecfb=CodeceptUtils[_0x4c4579(0x1e1)](_0x50dd11);if(_0x5eecfb){const _0x372b38=fs[_0x4c4579(0x1b9)](_0x5eecfb);process[_0x4c4579(0x1d6)](_0x4c4579(0x195)+process[_0x4c4579(0x158)],{'timestamp':new Date()[_0x4c4579(0x1f8)](),'message':_0x372b38[_0x4c4579(0x1f9)](_0x250a55['xvNfE']),'kind':_0x250a55[_0x4c4579(0x1be)]}),_0x250a55[_0x4c4579(0x192)](_0x3bf156);}_0x250a55['bFvfK'](_0x5e810c,new Error(_0x250a55[_0x4c4579(0x154)]));})[_0x34c627(0x135)](()=>null);});});},patchWebDriverBefore=_0xacd84c=>{const _0x26556b=a1_0x33990e,_0x326d2f={'nbrPe':function(_0x65df3c){return _0x65df3c();},'ljeWD':function(_0x265796,_0x2d15fc){return _0x265796(_0x2d15fc);},'pBFKc':function(_0x523bdb,_0x21eaf4){return _0x523bdb===_0x21eaf4;},'fZcpv':_0x26556b(0x16c)},_0x4d889f=async function(_0x410d84,_0x53c7be){const _0x1946eb=_0x26556b;return _0x326d2f[_0x1946eb(0x1fe)](isAccessibilityAutomationSession)&&!global[_0x1946eb(0x14b)]&&global[_0x1946eb(0x1ee)]&&scripts[_0x1946eb(0x13d)](_0x410d84[_0x1946eb(0x1d4)])&&_0x326d2f[_0x1946eb(0x13e)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1946eb(0x14b)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x578561=_0x1946eb;logger['debug'](_0x578561(0x18b)+_0x410d84[_0x578561(0x145)]+'\x20'+_0x410d84[_0x578561(0x1d4)]),await AccessibilityHelper[_0x578561(0x121)](_0xacd84c,scripts[_0x578561(0x13a)]);},{'command':_0x410d84[_0x1946eb(0x1d4)]})()),global[_0x1946eb(0x14b)]=![],_0x53c7be[_0x1946eb(0x17b)](this,Array[_0x1946eb(0x160)][_0x1946eb(0x1da)]['call'](arguments,0x2));},_0x5c682a=CodeceptWebDriver[_0x26556b(0x160)][_0x26556b(0x16e)];CodeceptWebDriver[_0x26556b(0x160)][_0x26556b(0x16e)]=async function(){const _0x2ac47c=_0x26556b,_0x4215d5={'FeDSR':function(_0x190e43,_0x1771fc){const _0x36b1f7=a1_0x49e1;return _0x326d2f[_0x36b1f7(0x12c)](_0x190e43,_0x1771fc);},'LFeZd':_0x326d2f[_0x2ac47c(0x15d)]};try{await _0x5c682a['apply'](this,arguments);}catch(_0x3a0c49){logger[_0x2ac47c(0x1ce)](_0x2ac47c(0x173)+util[_0x2ac47c(0x1c4)](_0x3a0c49));}scripts[_0x2ac47c(0x1d9)][_0x2ac47c(0x176)](_0x52dd3e=>_0x52dd3e[_0x2ac47c(0x1d4)]&&_0x52dd3e[_0x2ac47c(0x145)])[_0x2ac47c(0x163)](_0x2cca15=>{const _0x4f7d67=_0x2ac47c;this[_0x4f7d67(0x15b)][_0x4f7d67(0x168)](_0x2cca15[_0x4f7d67(0x1d4)],_0x4d889f[_0x4f7d67(0x14c)](this,_0x2cca15),_0x4215d5[_0x4f7d67(0x164)](_0x2cca15[_0x4f7d67(0x145)],_0x4215d5[_0x4f7d67(0x133)]));}),_0x326d2f['ljeWD'](processWebDriverConfig,_0xacd84c);};},patchPlaywrightBefore=()=>{const _0x26541d=a1_0x33990e;PlaywrightSessionDetails[_0x26541d(0x1bc)]();const _0x7a58ed=CodeceptPlaywright[_0x26541d(0x160)]['_before'];CodeceptPlaywright['prototype'][_0x26541d(0x16e)]=async function(){const _0x517e78=_0x26541d;this[_0x517e78(0x19b)]=await this[_0x517e78(0x15b)][_0x517e78(0x1b5)]()[0x0],await _0x7a58ed[_0x517e78(0x17b)](this,arguments);};},getCodeceptDriver=()=>{const _0x5eeb10=a1_0x33990e,_0x27d504={};_0x27d504[_0x5eeb10(0x1b2)]=_0x5eeb10(0x1b8),_0x27d504[_0x5eeb10(0x1f4)]=_0x5eeb10(0x170),_0x27d504[_0x5eeb10(0x128)]='Puppeteer',_0x27d504['SDcgl']='TestCafe';const _0x23da8f=_0x27d504,_0x2fab94=[_0x23da8f[_0x5eeb10(0x1b2)],_0x23da8f[_0x5eeb10(0x1f4)],_0x23da8f[_0x5eeb10(0x128)],_0x23da8f[_0x5eeb10(0x1a5)]],_0x2fc443=_0x2fab94['find'](_0x29e2b8=>!!CodeceptJS['container']['helpers'](_0x29e2b8));if(!_0x2fc443)return null;return CodeceptJS['container'][_0x5eeb10(0x1a7)](_0x2fc443);};module[a1_0x33990e(0x1e3)]=function(_0x5e7bfe){const _0x29d586=a1_0x33990e,_0x380bdf={'OZFFH':function(_0x582433){return _0x582433();},'afuJK':function(_0x1d1d19,_0x55515d){return _0x1d1d19(_0x55515d);},'MKNsk':_0x29d586(0x1b1),'Bdhqn':_0x29d586(0x13b),'QXHyA':'getAccessibilityResults','PvWlc':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jmXpr':function(_0x202899,_0x484fa8){return _0x202899(_0x484fa8);},'oKhMf':_0x29d586(0x1d0),'eGxhI':_0x29d586(0x11e),'utVKU':_0x29d586(0x165),'axuFv':'browserstackTestName','kreCX':function(_0x1c99d5){return _0x1c99d5();},'OyAhG':_0x29d586(0x1cf),'ejvWx':function(_0x126227){return _0x126227();},'WgIxH':function(_0x440d7f,_0xc19046){return _0x440d7f(_0xc19046);},'bhdmk':function(_0x53dfa0,_0x72bfbb,_0x3308c7){return _0x53dfa0(_0x72bfbb,_0x3308c7);},'lkfkT':'test-started','TEzVH':function(_0x52575d,_0x83a6b4,_0xaedebb){return _0x52575d(_0x83a6b4,_0xaedebb);},'QbEKx':_0x29d586(0x1bd),'nWUwG':function(_0x2658f4){return _0x2658f4();},'FFXRX':function(_0x120c91,_0x44d703,_0x5593aa,_0x37eae7){return _0x120c91(_0x44d703,_0x5593aa,_0x37eae7);},'sVyCF':function(_0x2d6331,_0x77c2cc,_0x3069fe,_0x2d0a2a){return _0x2d6331(_0x77c2cc,_0x3069fe,_0x2d0a2a);},'ZgQpp':function(_0x273688,_0x5c2fca){return _0x273688===_0x5c2fca;},'vIREz':_0x29d586(0x12e),'nykir':_0x29d586(0x1fd),'tsAeY':_0x29d586(0x189),'KAanf':_0x29d586(0x180),'kgDHz':function(_0x2dea44){return _0x2dea44();},'Lbrxy':_0x29d586(0x198),'KChOW':_0x29d586(0x1d5),'AUkCi':_0x29d586(0x125),'bTZAb':_0x29d586(0x181),'TPbXN':_0x29d586(0x1e5),'LEWsb':_0x29d586(0x1a4),'BdUIT':_0x29d586(0x141),'UKBiX':'Playwright'};_0x5e7bfe[_0x29d586(0x19f)]&&(global['__skipSessionStatus']=_0x5e7bfe[_0x29d586(0x19f)]);PerformanceTester[_0x29d586(0x149)]();const _0x3a872d=_0x380bdf[_0x29d586(0x120)](getCodeceptDriver),_0x3420a6=new O11yHelper(_0x3a872d,_0x5e7bfe),_0x1b680d=!!CodeceptJS['container']['helpers'](_0x380bdf[_0x29d586(0x1f5)]);global[_0x29d586(0x18c)]=_0x3a872d,_0x3a872d&&(PerformanceTester[_0x29d586(0x1df)](PerformanceEvents['SDK_PRE_INITIALIZE'],()=>{const _0x169b59=_0x29d586;_0x1b680d?_0x380bdf[_0x169b59(0x193)](patchPlaywrightBefore):_0x380bdf[_0x169b59(0x157)](patchWebDriverBefore,_0x3a872d);})(),PerformanceTester[_0x29d586(0x1df)](PerformanceEvents[_0x29d586(0x1c1)],()=>{const _0x1f626f=_0x29d586,_0x27faa2={};_0x27faa2[_0x1f626f(0x159)]=_0x380bdf[_0x1f626f(0x15a)],_0x27faa2[_0x1f626f(0x185)]=_0x380bdf[_0x1f626f(0x1c0)],_0x27faa2[_0x1f626f(0x1eb)]=_0x380bdf[_0x1f626f(0x18d)],_0x27faa2[_0x1f626f(0x147)]=_0x380bdf[_0x1f626f(0x1c9)];const _0x46672c=_0x27faa2;_0x3a872d[_0x1f626f(0x1b1)]=async()=>{const _0x2ef419=_0x1f626f;if(global[_0x2ef419(0x1ee)]){const _0x28d494={};_0x28d494['command']=_0x46672c['gyRfp'],await PerformanceTester[_0x2ef419(0x1df)](PerformanceA11yEvents[_0x2ef419(0x14f)],async()=>{const _0x465738=_0x2ef419;await AccessibilityHelper[_0x465738(0x121)](_0x3a872d,scripts['performScan']);},_0x28d494)(),await PerformanceTester[_0x2ef419(0x1df)](PerformanceA11yEvents[_0x2ef419(0x1d2)],async()=>{const _0x5a5a93=_0x2ef419;await AccessibilityHelper[_0x5a5a93(0x121)](_0x3a872d,scripts[_0x5a5a93(0x17d)]);})();}else return logger['warn'](_0x46672c['uFYbe']),{};},_0x3a872d['getAccessibilityResults']=async()=>{const _0x3969ed=_0x1f626f;if(global[_0x3969ed(0x1ee)]){const _0x5d2d6a={};_0x5d2d6a['command']=_0x46672c[_0x3969ed(0x1eb)],await PerformanceTester[_0x3969ed(0x1df)](PerformanceA11yEvents[_0x3969ed(0x14f)],async()=>{const _0x469d69=_0x3969ed;await AccessibilityHelper['browserStackExecuteDriver'](_0x3a872d,scripts[_0x469d69(0x13a)]);},_0x5d2d6a)(),await PerformanceTester[_0x3969ed(0x1df)](PerformanceA11yEvents['GET_RESULTS'],async()=>{const _0x41ae93=_0x3969ed;await AccessibilityHelper[_0x41ae93(0x121)](_0x3a872d,scripts[_0x41ae93(0x1e6)]);})();}else return logger[_0x3969ed(0x139)](_0x46672c[_0x3969ed(0x147)]),{};},_0x380bdf['jmXpr'](patchSaveScreenshot,_0x3a872d);})()),CodeceptJS[_0x29d586(0x196)]['dispatcher']['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x14e)][_0x29d586(0x1ec)],()=>{const _0x389f30=_0x29d586;PerformanceTester[_0x389f30(0x14a)](PerformanceEvents[_0x389f30(0x1ba)]);try{_0x3420a6[_0x389f30(0x14a)](),testOpsHelper[_0x389f30(0x124)](),PerformanceTester[_0x389f30(0x194)](PerformanceEvents[_0x389f30(0x1ba)]);}catch(_0x49dc26){PerformanceTester[_0x389f30(0x140)](_0x49dc26),PerformanceTester[_0x389f30(0x194)](PerformanceEvents[_0x389f30(0x1ba)],![],_0x49dc26);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x14e)]['after'],async()=>{const _0x5b5a32=_0x29d586;PerformanceTester[_0x5b5a32(0x14a)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x5b5a32(0x1cd)](),await _0x3420a6[_0x5b5a32(0x19d)](),PerformanceTester['end'](PerformanceEvents[_0x5b5a32(0x1c5)]);}catch(_0x3234d3){PerformanceTester[_0x5b5a32(0x140)](_0x3234d3),PerformanceTester[_0x5b5a32(0x194)](PerformanceEvents[_0x5b5a32(0x1c5)],![],_0x3234d3);}finally{PerformanceTester[_0x5b5a32(0x1ca)]();}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1c7)][_0x29d586(0x136)],_0x3e8c03=>{const _0x5550da=_0x29d586;PerformanceTester[_0x5550da(0x14a)](PerformanceEvents[_0x5550da(0x146)]);try{const _0x22436b=_0x3e8c03['ctx'][_0x5550da(0x11d)],_0x53967e=_0x3420a6[_0x5550da(0x1b4)](TEST_EVENTS[_0x5550da(0x129)],_0x22436b);CodeceptRecorder['add'](()=>_0x3420a6[_0x5550da(0x16d)](TEST_EVENTS[_0x5550da(0x129)],_0x53967e));const _0x1ec8e8={};_0x1ec8e8[_0x5550da(0x1bf)]=_0x380bdf[_0x5550da(0x16f)],PerformanceTester[_0x5550da(0x194)](PerformanceEvents[_0x5550da(0x146)],!![],null,_0x1ec8e8);}catch(_0x41a965){const _0x2cc89b={};_0x2cc89b[_0x5550da(0x1bf)]=_0x380bdf[_0x5550da(0x16f)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],![],_0x41a965,_0x2cc89b),PerformanceTester[_0x5550da(0x140)](_0x41a965);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1c7)][_0x29d586(0x123)],_0x4241cd=>{const _0x50e042=_0x29d586,_0x59cbd5={};_0x59cbd5[_0x50e042(0x1bf)]=_0x380bdf[_0x50e042(0x191)],PerformanceTester[_0x50e042(0x14a)](PerformanceHookEvents[_0x50e042(0x146)],!![],null,_0x59cbd5);try{const _0x1a29e3=_0x4241cd[_0x50e042(0x1e0)]['test'],_0x3ef846=_0x3420a6[_0x50e042(0x1b4)](TEST_EVENTS[_0x50e042(0x172)],_0x1a29e3);CodeceptRecorder[_0x50e042(0x1f3)](()=>_0x3420a6[_0x50e042(0x16d)](TEST_EVENTS[_0x50e042(0x172)],_0x3ef846));const _0x4c40dc={};_0x4c40dc['hookType']=_0x380bdf['eGxhI'],PerformanceTester[_0x50e042(0x194)](PerformanceHookEvents[_0x50e042(0x146)],!![],null,_0x4c40dc);}catch(_0x377914){PerformanceTester[_0x50e042(0x140)](_0x377914);const _0x2e81c5={};_0x2e81c5[_0x50e042(0x1bf)]=_0x380bdf[_0x50e042(0x191)],PerformanceTester[_0x50e042(0x194)](PerformanceHookEvents[_0x50e042(0x146)],![],_0x377914,_0x2e81c5);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)]['hook'][_0x29d586(0x175)],async(_0x4acdf1,_0x4f3479)=>{const _0xfd4650=_0x29d586;PerformanceTester['start'](PerformanceHookEvents[_0xfd4650(0x146)]);try{const _0x207251=_0x4acdf1[_0xfd4650(0x1e0)][_0xfd4650(0x11d)],_0x5727ae=_0x3420a6[_0xfd4650(0x1b4)](TEST_EVENTS[_0xfd4650(0x172)],_0x207251,_0x4f3479);CodeceptRecorder[_0xfd4650(0x1f3)](()=>_0x3420a6['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x5727ae));const _0x547820={};_0x547820['hookType']=_0x380bdf[_0xfd4650(0x1c3)],PerformanceTester[_0xfd4650(0x14a)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x547820);}catch(_0x26ef26){PerformanceTester[_0xfd4650(0x140)](_0x26ef26);const _0x713a47={};_0x713a47['hookType']=_0x380bdf[_0xfd4650(0x1c3)],PerformanceTester[_0xfd4650(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x26ef26,_0x713a47);}const _0x53167f={};_0x53167f[_0xfd4650(0x1bf)]=_0x380bdf[_0xfd4650(0x1c3)],PerformanceTester[_0xfd4650(0x194)](PerformanceHookEvents[_0xfd4650(0x146)],!![],null,_0x53167f);}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x11d)][_0x29d586(0x1ec)],_0xc09683=>{const _0x358106=_0x29d586;PerformanceTester['start'](PerformanceHookEvents[_0x358106(0x146)]);try{globals[_0x358106(0x1a2)](_0x380bdf['axuFv'],_0xc09683['title']);_0x380bdf[_0x358106(0x142)](isBrowserstackInfra)&&(_0x1b680d&&(global[_0x358106(0x1b7)]={'currentTest':{'name':_0xc09683[_0x358106(0x134)],'testInfo':{'titlePath':_0xc09683[_0x358106(0x183)]()}}}));const _0x3f1ea0={};_0x3f1ea0['hookType']=_0x380bdf['OyAhG'],PerformanceTester[_0x358106(0x194)](PerformanceHookEvents[_0x358106(0x146)],!![],null,_0x3f1ea0);}catch(_0x41af49){PerformanceTester['captureError'](_0x41af49);const _0x8f653c={};_0x8f653c[_0x358106(0x1bf)]=_0x380bdf['OyAhG'],PerformanceTester[_0x358106(0x194)](PerformanceHookEvents['SDK_HOOK'],![],_0x41af49,_0x8f653c);}}),CodeceptJS[_0x29d586(0x196)]['dispatcher']['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x11d)][_0x29d586(0x136)],_0x1eab75=>{const _0x4d8863=_0x29d586;PerformanceTester[_0x4d8863(0x14a)](PerformanceHookEvents[_0x4d8863(0x146)]);try{globals[_0x4d8863(0x1a2)](_0x380bdf[_0x4d8863(0x197)],_0x1eab75[_0x4d8863(0x134)]);const _0x38b2e1=_0x3420a6[_0x4d8863(0x1b4)](TEST_EVENTS[_0x4d8863(0x16a)],_0x1eab75);CodeceptRecorder[_0x4d8863(0x1f3)](()=>_0x3420a6[_0x4d8863(0x16d)](TEST_EVENTS[_0x4d8863(0x16a)],_0x38b2e1)),CodeceptRecorder['add'](async()=>{const _0x4972e4=_0x4d8863;_0x380bdf[_0x4972e4(0x18f)](isBrowserstackInfra)&&(!_0x380bdf[_0x4972e4(0x19c)](isTrue,_0x5e7bfe['skipSessionName'])&&await _0x380bdf[_0x4972e4(0x1b0)](markSessionName,_0x3a872d,_0x1eab75[_0x4972e4(0x134)]),_0x3420a6[_0x4972e4(0x177)]&&await _0x380bdf['WgIxH'](o11ySync,_0x3a872d));});}catch(_0x151d80){const _0x3a1331={};_0x3a1331[_0x4d8863(0x1bf)]=_0x380bdf['lkfkT'],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x151d80,_0x3a1331),PerformanceTester['captureError'](_0x151d80);}const _0x58f6d5={};_0x58f6d5[_0x4d8863(0x1bf)]=_0x380bdf['lkfkT'],PerformanceTester['end'](PerformanceHookEvents[_0x4d8863(0x146)],!![],null,_0x58f6d5);}),CodeceptJS[_0x29d586(0x196)]['dispatcher']['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x11d)][_0x29d586(0x123)],_0x58a8f8=>{const _0x384424=_0x29d586,_0x5a721f={'KXItM':function(_0x3d2c89,_0x7d64f6,_0x468563){return _0x380bdf['TEzVH'](_0x3d2c89,_0x7d64f6,_0x468563);},'bEeim':function(_0x1281c3,_0x4642de,_0x5cc6cb){const _0x1c10fe=a1_0x49e1;return _0x380bdf[_0x1c10fe(0x179)](_0x1281c3,_0x4642de,_0x5cc6cb);},'LBnaO':function(_0x41e284){return _0x380bdf['ejvWx'](_0x41e284);}};PerformanceTester[_0x384424(0x14a)](PerformanceHookEvents[_0x384424(0x146)]);try{const _0x2b501c=_0x3420a6[_0x384424(0x1b4)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x58a8f8);CodeceptRecorder[_0x384424(0x1f3)](()=>_0x3420a6[_0x384424(0x16d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2b501c)),CodeceptRecorder['add'](async()=>{const _0x468015=_0x384424;_0x5a721f[_0x468015(0x1f2)](isBrowserstackInfra)&&await PerformanceTester[_0x468015(0x1df)](PerformanceAutEvents[_0x468015(0x12b)],async()=>{const _0x2dc8ef=_0x468015;_0x1b680d?await _0x5a721f['KXItM'](playwrightMarkSessionStatus,_0x3a872d,STATE_PASSED):await _0x5a721f[_0x2dc8ef(0x137)](markSessionStatus,_0x3a872d,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x384424(0x152)]);}catch(_0x556d37){PerformanceTester[_0x384424(0x140)](_0x556d37);const _0x155e72={};_0x155e72[_0x384424(0x1bf)]=_0x380bdf[_0x384424(0x162)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x556d37,_0x155e72),PerformanceTester['end'](PerformanceEvents[_0x384424(0x152)],![],_0x556d37);}const _0x13233f={};_0x13233f['hookType']=_0x380bdf[_0x384424(0x162)],PerformanceTester[_0x384424(0x194)](PerformanceHookEvents[_0x384424(0x146)],!![],null,_0x13233f);}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)][_0x29d586(0x11d)][_0x29d586(0x175)],(_0x39dd46,_0xc8ebae)=>{const _0x252ea4=_0x29d586;PerformanceTester[_0x252ea4(0x14a)](PerformanceHookEvents[_0x252ea4(0x146)]);try{if(_0x380bdf['ZgQpp'](_0x39dd46['constructor'][_0x252ea4(0x1d4)],_0x380bdf[_0x252ea4(0x132)])){const _0x4bfb88=_0x3420a6[_0x252ea4(0x1b4)](TEST_EVENTS[_0x252ea4(0x1e2)],_0x39dd46['ctx'][_0x252ea4(0x1d7)]);CodeceptRecorder[_0x252ea4(0x1f3)](()=>_0x3420a6['fireEvent'](TEST_EVENTS[_0x252ea4(0x1e2)],_0x4bfb88));}else{const _0x4e416d=_0x3420a6[_0x252ea4(0x1b4)](TEST_EVENTS[_0x252ea4(0x138)],_0x39dd46,_0xc8ebae);CodeceptRecorder[_0x252ea4(0x1f3)](()=>{const _0x55e978=_0x252ea4;try{_0x3420a6[_0x55e978(0x16d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4e416d);}catch(_0x2520d9){logger[_0x55e978(0x1ce)](_0x55e978(0x190)+util[_0x55e978(0x1c4)](_0x2520d9)),PerformanceTester[_0x55e978(0x194)](PerformanceEvents[_0x55e978(0x152)],![],_0x2520d9);}}),CodeceptRecorder[_0x252ea4(0x1f3)](async()=>{const _0x58d97b=_0x252ea4;try{_0x380bdf['nWUwG'](isBrowserstackInfra)&&(_0x1b680d?await _0x380bdf[_0x58d97b(0x1e4)](playwrightMarkSessionStatus,_0x3a872d,STATE_FAILED,_0xc8ebae):await _0x380bdf[_0x58d97b(0x1f6)](markSessionStatus,_0x3a872d,STATE_FAILED,_0xc8ebae));}catch(_0x1fd20c){logger[_0x58d97b(0x1ce)](_0x58d97b(0x174)+util[_0x58d97b(0x1c4)](_0x1fd20c)),PerformanceTester[_0x58d97b(0x194)](PerformanceEvents[_0x58d97b(0x152)],![],_0x1fd20c);}});}PerformanceTester['end'](PerformanceEvents[_0x252ea4(0x152)]);}catch(_0x41b00d){PerformanceTester[_0x252ea4(0x140)](_0x41b00d);const _0x10163d={};_0x10163d[_0x252ea4(0x1bf)]=_0x380bdf['nykir'],PerformanceTester[_0x252ea4(0x194)](PerformanceHookEvents[_0x252ea4(0x146)],![],_0x41b00d,_0x10163d),PerformanceTester[_0x252ea4(0x194)](PerformanceEvents[_0x252ea4(0x152)],![],_0x41b00d);}const _0x536d8b={};_0x536d8b[_0x252ea4(0x1bf)]=_0x380bdf[_0x252ea4(0x14d)],PerformanceTester['end'](PerformanceHookEvents[_0x252ea4(0x146)],!![],null,_0x536d8b);}),CodeceptJS['event'][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x11d)][_0x29d586(0x15c)],_0x5112d9=>{const _0xfbd0c1=_0x29d586;PerformanceTester[_0xfbd0c1(0x14a)](PerformanceHookEvents[_0xfbd0c1(0x146)]);try{const _0xf6a057=_0x3420a6[_0xfbd0c1(0x1b4)](TEST_EVENTS[_0xfbd0c1(0x1e2)],_0x5112d9);CodeceptRecorder[_0xfbd0c1(0x1f3)](()=>_0x3420a6[_0xfbd0c1(0x16d)](TEST_EVENTS[_0xfbd0c1(0x1e2)],_0xf6a057)),PerformanceTester[_0xfbd0c1(0x194)](PerformanceEvents[_0xfbd0c1(0x152)]);}catch(_0x489271){PerformanceTester[_0xfbd0c1(0x140)](_0x489271),PerformanceTester[_0xfbd0c1(0x194)](PerformanceEvents[_0xfbd0c1(0x152)],![],_0x489271);const _0x2fd60d={};_0x2fd60d[_0xfbd0c1(0x1bf)]=_0x380bdf[_0xfbd0c1(0x1a1)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x489271,_0x2fd60d);}const _0x4a68db={};_0x4a68db[_0xfbd0c1(0x1bf)]=_0x380bdf['tsAeY'],PerformanceTester['end'](PerformanceHookEvents[_0xfbd0c1(0x146)],!![],null,_0x4a68db);}),CodeceptJS['event'][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x11d)][_0x29d586(0x199)],async(_0x2e4d00,_0x489553)=>{const _0x2b25cd=_0x29d586;try{PerformanceTester['start'](PerformanceHookEvents[_0x2b25cd(0x146)]);const _0x5b9c54=_0x380bdf[_0x2b25cd(0x1b0)](shouldScanTestForAccessibility,_0x2e4d00[_0x2b25cd(0x183)](),!![]);if(_0x380bdf[_0x2b25cd(0x120)](isAccessibilityAutomationSession)&&global[_0x2b25cd(0x1ee)]&&_0x5b9c54){const _0xb9408f={};_0xb9408f[_0x2b25cd(0x169)]=_0x2e4d00[_0x2b25cd(0x156)],_0xb9408f[_0x2b25cd(0x155)]=process[_0x2b25cd(0x13f)][testHubConstants[_0x2b25cd(0x1c8)]['BROWSERSTACK_TESTHUB_UUID']],_0xb9408f[_0x2b25cd(0x131)]=process[_0x2b25cd(0x13f)][testHubConstants[_0x2b25cd(0x1c8)][_0x2b25cd(0x122)]];const _0x1661dc=_0xb9408f;logger[_0x2b25cd(0x1ce)](_0x2b25cd(0x11f)+JSON['stringify'](_0x1661dc)),CodeceptRecorder['add'](async()=>{const _0x5bf285=_0x2b25cd,_0x1f0e68={};_0x1f0e68[_0x5bf285(0x17e)]=_0x380bdf[_0x5bf285(0x12d)],await PerformanceTester[_0x5bf285(0x1df)](PerformanceA11yEvents[_0x5bf285(0x14f)],async()=>{const _0x2e4bbc=_0x5bf285;await AccessibilityHelper[_0x2e4bbc(0x121)](_0x3a872d,scripts[_0x2e4bbc(0x13a)]);},_0x1f0e68)(),await PerformanceTester[_0x5bf285(0x1df)](PerformanceA11yEvents[_0x5bf285(0x17c)],async()=>{const _0x49e1e3=_0x5bf285;await AccessibilityHelper[_0x49e1e3(0x121)](_0x3a872d,scripts[_0x49e1e3(0x143)],_0x1661dc);})();}),logger['info'](_0x380bdf['Lbrxy']);}const _0x1522ef={};_0x1522ef[_0x2b25cd(0x1bf)]=_0x380bdf[_0x2b25cd(0x1ac)],PerformanceTester[_0x2b25cd(0x194)](PerformanceHookEvents[_0x2b25cd(0x146)],!![],null,_0x1522ef);}catch(_0x1b29af){PerformanceTester[_0x2b25cd(0x140)](_0x1b29af);const _0x221f05={};_0x221f05[_0x2b25cd(0x1bf)]=_0x380bdf['KChOW'],PerformanceTester['end'](PerformanceHookEvents[_0x2b25cd(0x146)],![],_0x1b29af,_0x221f05);}}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x17f)][_0x29d586(0x1a6)],_0x6f9f81=>{const _0x52eefb=_0x29d586;PerformanceTester[_0x52eefb(0x14a)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x52eefb(0x1d6)](_0x52eefb(0x195)+process[_0x52eefb(0x158)],{'timestamp':new Date()[_0x52eefb(0x1f8)](),'level':_0x380bdf['AUkCi'],'message':_0x6f9f81,'kind':_0x380bdf[_0x52eefb(0x1ed)],'http_response':{}});}catch(_0x5911d3){PerformanceTester[_0x52eefb(0x140)](_0x5911d3);const _0x3a1d63={};_0x3a1d63[_0x52eefb(0x1bf)]=_0x380bdf['TPbXN'],PerformanceTester[_0x52eefb(0x194)](PerformanceHookEvents[_0x52eefb(0x146)],![],_0x5911d3,_0x3a1d63);}const _0x56d8c5={};_0x56d8c5[_0x52eefb(0x1bf)]=_0x380bdf[_0x52eefb(0x18a)],PerformanceTester['end'](PerformanceHookEvents[_0x52eefb(0x146)],!![],null,_0x56d8c5);}),CodeceptJS['event'][_0x29d586(0x1d3)]['on'](CodeceptJS[_0x29d586(0x196)]['bddStep'][_0x29d586(0x1ec)],_0x5d25dd=>{const _0x39e486=_0x29d586,_0x1d689c={};_0x1d689c[_0x39e486(0x1bf)]=_0x380bdf[_0x39e486(0x184)],PerformanceTester[_0x39e486(0x1df)](PerformanceHookEvents[_0x39e486(0x146)],()=>{const _0x3be696=_0x39e486;_0x3420a6[_0x3be696(0x1de)](_0x5d25dd);},_0x1d689c)();}),CodeceptJS[_0x29d586(0x196)][_0x29d586(0x1d3)]['on'](CodeceptJS['event'][_0x29d586(0x126)][_0x29d586(0x199)],_0x549027=>{const _0x34dd2b=_0x29d586,_0x43f8e0={};_0x43f8e0[_0x34dd2b(0x1bf)]=_0x380bdf[_0x34dd2b(0x171)],PerformanceTester[_0x34dd2b(0x1df)](PerformanceHookEvents[_0x34dd2b(0x146)],()=>{const _0x48266e=_0x34dd2b;_0x3420a6[_0x48266e(0x1dc)](_0x549027);},_0x43f8e0)();});};
1
+ function a1_0x5409(){const _0x3134c3=['test-started','forEach','bs:addLog:','test','../../bin/playwright/sessionDetails','EzfZm','bddStepStart','FVgNd','BQvOF','performScan','ThHOV','TEST_RUN_SKIPPED','TestCafe','bddStepFinish','GHmYA','7331270OnciMZ','action','SDK_PRE_INITIALIZE','browser','TtRvj','command','name','fireEvent','Element','find','Bmfuu','HOOK_RUN_FINISHED','zcjVS','ufmFm','setSessionStatus','debug','dHZKP','setGlobal','../../helpers/test-observability/utils','PIexD','qTMEd','kMwqP','BROWSERSTACK_TESTHUB_JWT','after','WVhAq','apply','currentTest','start','patchSaveScreenshot','hook','Playwright','step','NJver','overwriteCommand','warn','VsPVo','iMbZN','wWtPq','test-after','BROWSERSTACK_TESTHUB_UUID','DviKz','constructor','9uUoYAd','IIawO','filter','then','SDK_TEST','IPFtt','bstackAllyScanning','addRequestSpy','vgHJp','dgxiR','SESSION_STATUS','XoBro','before','cmFFA','115632QMPlEy','VvNbW','SDK_POST_TEST','xSoYi','360672OxRcSU','TEST_RUN_STARTED','end','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','NsBgW','_before','titlePath','vTAYJ','initSaveScreenshot','browserstack_executor:\x20','prototype','../../helpers/performance/performance-tester','winstonLogger','XZPGL','getAccessibilityResultsSummary','EZVgP','all','MFlgC','SDK_HOOK','GGGIb','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SDK_PRE_TEST','./helper.js','vRxRr','SDK_POST_INITIALIZE','exports','./o11yHelper','getAccessibilityResults','IfEmE','__driver','15YYdUyI','10hfyhge','ficsr','Failed\x20to\x20execute\x20_before:\x20','codeceptjs/lib/helper/WebDriver.js','tsBsC','call','catch','__skipSessionStatus','BS_TESTOPS_ALLOW_SCREENSHOTS','GET_RESULTS_SUMMARY','vGJlh','step-comment','helpers','test-passed','browserStackExecuteDriver','rxyLk','codeceptjs','KhBgf','ENV_VAR','accessibilityPlatform','pOOsy','zZQzC','91CaVlQj','rBfwH','bIpHO','xHbcN','thBuildUuid','bddStep-before','test-before','INFO','started','Performing\x20scan\x20for\x20','928566vLirPj','qAyfv','thTestRunUuid','13476iVLTwV','dispatcher','readFileSync','Screenshot\x20path\x20not\x20found','../../helpers/helper','skipSessionStatus','CeHse','../../helpers/performance/constants','MVvhW','comment','../../helpers/logger','../../helpers/testhub/constants.js','CAmoq','rFQJP','testAnalyticsId','BPJxP','event','kTRdc','PERFORM_SCAN','qaDaI','ELIjq','executeScript','stopMonitoring','info','hook-failed','xTpHh','HOOK_RUN_STARTED','format','esYuZ','browserContext','test-failed','container','bddStep','util','LBxGG','SESSION_NAME','14102PHNjgZ','gWKzZ','title','startMonitoring','failed','1629939YhbUBC','stringify','screenshotOutputFolder','GET_RESULTS','TEST_SCREENSHOT','JeUCu','codeceptjs/lib/helper/Playwright.js','Puppeteer','class','skipSessionName','toISOString','add','../../bin/playwright/accessibility-helper','Isroz','measureWrapper','sXWCo','../../helpers/accessibility-automation/scripts','passed','855148pjDJRq','env','cHcBQ','TEST_RUN_FINISHED','ctx','emit','captureError','restore','arguments','Hrkwp','reason','SAVE_RESULTS','getSyncScript','pid','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','enabled','SDbJC','hookType','Dgqgk','zkwXx','captureEvent'];a1_0x5409=function(){return _0x3134c3;};return a1_0x5409();}const a1_0x28f811=a1_0x5837;(function(_0x18ea24,_0x187e37){const _0x3b2926=a1_0x5837,_0x304a78=_0x18ea24();while(!![]){try{const _0xcfa10a=parseInt(_0x3b2926(0x152))/0x1*(-parseInt(_0x3b2926(0x130))/0x2)+parseInt(_0x3b2926(0xc2))/0x3+-parseInt(_0x3b2926(0xd4))/0x4+-parseInt(_0x3b2926(0x153))/0x5*(parseInt(_0x3b2926(0x173))/0x6)+-parseInt(_0x3b2926(0x169))/0x7*(-parseInt(_0x3b2926(0x134))/0x8)+-parseInt(_0x3b2926(0x122))/0x9*(parseInt(_0x3b2926(0xf8))/0xa)+parseInt(_0x3b2926(0xbd))/0xb*(parseInt(_0x3b2926(0x176))/0xc);if(_0xcfa10a===_0x187e37)break;else _0x304a78['push'](_0x304a78['shift']());}catch(_0x3a4e98){_0x304a78['push'](_0x304a78['shift']());}}}(a1_0x5409,0x6cbe7));function a1_0x5837(_0x1ccf79,_0x154fa0){const _0x5409f6=a1_0x5409();return a1_0x5837=function(_0x5837c0,_0x51f47b){_0x5837c0=_0x5837c0-0xa8;let _0x10763f=_0x5409f6[_0x5837c0];return _0x10763f;},a1_0x5837(_0x1ccf79,_0x154fa0);}const fs=require('fs'),util=require(a1_0x28f811(0xba)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x28f811(0x17a)),logger=require(a1_0x28f811(0x180))[a1_0x28f811(0x140)],testOpsHelper=require(a1_0x28f811(0x10a)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x28f811(0xed)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x28f811(0x14e)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),AccessibilityHelper=require(a1_0x28f811(0xce)),scripts=require(a1_0x28f811(0xd2)),PerformanceTester=require(a1_0x28f811(0x13f)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x28f811(0x17d)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x28f811(0x14a)),testHubConstants=require(a1_0x28f811(0x181)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule('codeceptjs/lib/utils.js','codeceptjs'),CodeceptWebDriver=requireModule(a1_0x28f811(0x156),a1_0x28f811(0x163)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x28f811(0x163)),CodeceptPlaywright=requireModule(a1_0x28f811(0xc8),a1_0x28f811(0x163)),playwrightMarkSessionStatus=(_0x2e6a79,_0xc29a37,_0x34d890)=>{const _0x1bbfca=a1_0x28f811,_0x534cd7={'BQvOF':_0x1bbfca(0x106),'lXlYX':function(_0x13f489,_0x11086a){return _0x13f489(_0x11086a);}},_0x3121ea={};_0x3121ea['status']=_0xc29a37;const _0xcaa735={};_0xcaa735[_0x1bbfca(0xf9)]=_0x534cd7[_0x1bbfca(0xf1)],_0xcaa735[_0x1bbfca(0xdc)]=_0x3121ea;const _0x3d10d5=_0xcaa735;return!_0x534cd7['lXlYX'](isUndefined,_0x34d890)&&(_0x3d10d5['arguments'][_0x1bbfca(0xde)]=JSON[_0x1bbfca(0xc3)](_0x34d890)),_0x2e6a79['executeScript'](()=>{},_0x1bbfca(0x13d)+JSON[_0x1bbfca(0xc3)](_0x3d10d5));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents['SYNC'],async _0x2abed2=>{const _0x129e9b=a1_0x28f811,_0x83fb75={};_0x83fb75[_0x129e9b(0xf7)]=function(_0x58915b,_0x10ca27){return _0x58915b===_0x10ca27;},_0x83fb75[_0x129e9b(0x182)]=_0x129e9b(0x116);const _0x135ed9=_0x83fb75;_0x135ed9[_0x129e9b(0xf7)](_0x2abed2['constructor']['name'],_0x135ed9[_0x129e9b(0x182)])?await _0x2abed2[_0x129e9b(0xae)](_0x282567=>{},testOpsHelper[_0x129e9b(0xe0)]()):await _0x2abed2['executeScript'](testOpsHelper[_0x129e9b(0xe0)]());}),markSessionName=PerformanceTester[a1_0x28f811(0xd0)](PerformanceAutEvents[a1_0x28f811(0xbc)],async(_0x2d4780,_0x449b27)=>{const _0x37e417=a1_0x28f811,_0x293604={};_0x293604[_0x37e417(0xb2)]='setSessionName',_0x293604[_0x37e417(0xf0)]=function(_0x1e91bc,_0xacec0b){return _0x1e91bc===_0xacec0b;},_0x293604[_0x37e417(0x17c)]=_0x37e417(0x116);const _0xf95097=_0x293604,_0x348df4={};_0x348df4['name']=_0x449b27;const _0x53601a={};_0x53601a['action']=_0xf95097[_0x37e417(0xb2)],_0x53601a['arguments']=_0x348df4;const _0xe47c9e=_0x53601a;_0xf95097[_0x37e417(0xf0)](_0x2d4780[_0x37e417(0x121)][_0x37e417(0xfe)],_0xf95097[_0x37e417(0x17c)])?await _0x2d4780[_0x37e417(0xae)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0xe47c9e)):await _0x2d4780[_0x37e417(0xae)](_0x37e417(0x13d)+JSON[_0x37e417(0xc3)](_0xe47c9e));}),patchSaveScreenshot=_0xa4ba58=>{const _0x52a91b=a1_0x28f811,_0x57ce9e={'jkLwl':'base64','pOOsy':_0x52a91b(0xc6),'vTAYJ':function(_0x56663b){return _0x56663b();},'Isroz':function(_0x33f273,_0x2a4873){return _0x33f273(_0x2a4873);},'tsBsC':_0x52a91b(0x179)};_0x57ce9e[_0x52a91b(0xcf)](isTrue,process['env'][_0x52a91b(0x15b)])&&!_0xa4ba58[_0x52a91b(0x114)]&&(_0xa4ba58['patchSaveScreenshot']=!![],_0xa4ba58['initSaveScreenshot']=_0xa4ba58['saveScreenshot'],_0xa4ba58['saveScreenshot']=(_0x81ef43,_0x12da2b=![])=>{const _0x24a973=_0x52a91b,_0x1ea5ca={'MVvhW':_0x57ce9e['jkLwl'],'sXWCo':_0x57ce9e[_0x24a973(0x167)],'MFlgC':function(_0x2916b3){const _0x7039ae=_0x24a973;return _0x57ce9e[_0x7039ae(0x13b)](_0x2916b3);},'NJver':function(_0x5f237b,_0x5c1b47){const _0x4c41d8=_0x24a973;return _0x57ce9e[_0x4c41d8(0xcf)](_0x5f237b,_0x5c1b47);},'VvNbW':_0x57ce9e[_0x24a973(0x157)]};return new Promise(function(_0x3ffc00,_0x40aae3){const _0xfde919=_0x24a973,_0x88c6e3={'Wghnt':_0x1ea5ca[_0xfde919(0x17e)],'TtRvj':_0x1ea5ca[_0xfde919(0xd1)],'wWtPq':function(_0x2f2f44){const _0x155495=_0xfde919;return _0x1ea5ca[_0x155495(0x145)](_0x2f2f44);},'BPJxP':function(_0x233f67,_0x3e9a3b){const _0x5d28b0=_0xfde919;return _0x1ea5ca[_0x5d28b0(0x118)](_0x233f67,_0x3e9a3b);},'nWhVn':_0x1ea5ca[_0xfde919(0x131)]};_0xa4ba58[_0xfde919(0x13c)](_0x81ef43,_0x12da2b)[_0xfde919(0x125)](()=>{const _0x33d087=_0xfde919,_0x2164e6=CodeceptUtils[_0x33d087(0xc4)](_0x81ef43);if(_0x2164e6){const _0x3acad2=fs[_0x33d087(0x178)](_0x2164e6);process['emit'](_0x33d087(0xeb)+process[_0x33d087(0xe1)],{'timestamp':new Date()[_0x33d087(0xcc)](),'message':_0x3acad2['toString'](_0x88c6e3['Wghnt']),'kind':_0x88c6e3[_0x33d087(0xfc)]}),_0x88c6e3[_0x33d087(0x11d)](_0x3ffc00);}_0x88c6e3[_0x33d087(0xa8)](_0x40aae3,new Error(_0x88c6e3['nWhVn']));})[_0xfde919(0x159)](()=>null);});});},patchWebDriverBefore=_0x330073=>{const _0x392d95=a1_0x28f811,_0x4a825d={'IfEmE':function(_0x7a200f){return _0x7a200f();},'NsBgW':function(_0x32d892,_0x2a7222){return _0x32d892(_0x2a7222);},'xSoYi':function(_0x2d2f67,_0x17373c){return _0x2d2f67===_0x17373c;},'DviKz':_0x392d95(0x100),'IPFtt':function(_0x1561d9,_0x5ae67b){return _0x1561d9(_0x5ae67b);}},_0x5ef7f1=async function(_0x29bd14,_0x31f065){const _0x146097=_0x392d95;return _0x4a825d[_0x146097(0x150)](isAccessibilityAutomationSession)&&!global[_0x146097(0x128)]&&global[_0x146097(0x166)]&&scripts['shouldWrapCommand'](_0x29bd14[_0x146097(0xfe)])&&_0x4a825d[_0x146097(0x138)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x146097(0xd0)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x20a1c0=_0x146097;logger[_0x20a1c0(0x107)](_0x20a1c0(0x172)+_0x29bd14['class']+'\x20'+_0x29bd14['name']),await AccessibilityHelper[_0x20a1c0(0x161)](_0x330073,scripts['performScan']);},{'command':_0x29bd14['name']})()),global[_0x146097(0x128)]=![],_0x31f065[_0x146097(0x111)](this,Array[_0x146097(0x13e)]['slice'][_0x146097(0x158)](arguments,0x2));},_0x5717e9=CodeceptWebDriver[_0x392d95(0x13e)][_0x392d95(0x139)];CodeceptWebDriver['prototype'][_0x392d95(0x139)]=async function(){const _0x397a11=_0x392d95,_0x13acd6={'DpVRw':function(_0x4c782c,_0xd8af3f){const _0x476ee4=a1_0x5837;return _0x4a825d[_0x476ee4(0x133)](_0x4c782c,_0xd8af3f);},'Dgqgk':_0x4a825d[_0x397a11(0x120)]};try{await _0x5717e9[_0x397a11(0x111)](this,arguments);}catch(_0x2098fc){logger[_0x397a11(0x107)](_0x397a11(0x155)+util[_0x397a11(0xb4)](_0x2098fc));}scripts['commandsToWrap'][_0x397a11(0x124)](_0x38d635=>_0x38d635[_0x397a11(0xfe)]&&_0x38d635[_0x397a11(0xca)])[_0x397a11(0xea)](_0x139ad3=>{const _0x5e7722=_0x397a11;this[_0x5e7722(0xfb)][_0x5e7722(0x119)](_0x139ad3[_0x5e7722(0xfe)],_0x5ef7f1['bind'](this,_0x139ad3),_0x13acd6['DpVRw'](_0x139ad3[_0x5e7722(0xca)],_0x13acd6[_0x5e7722(0xe6)]));}),_0x4a825d[_0x397a11(0x127)](processWebDriverConfig,_0x330073);};},patchPlaywrightBefore=()=>{const _0x2d06fd=a1_0x28f811;PlaywrightSessionDetails['patch']();const _0x3d1f28=CodeceptPlaywright[_0x2d06fd(0x13e)]['_before'];CodeceptPlaywright[_0x2d06fd(0x13e)]['_before']=async function(){const _0x593c0f=_0x2d06fd;this[_0x593c0f(0xb6)]=await this[_0x593c0f(0xfb)]['contexts']()[0x0],await _0x3d1f28[_0x593c0f(0x111)](this,arguments);};},getCodeceptDriver=()=>{const _0x492199=a1_0x28f811,_0x3ae3a1={};_0x3ae3a1[_0x492199(0xad)]='WebDriver',_0x3ae3a1[_0x492199(0x110)]=_0x492199(0x116),_0x3ae3a1[_0x492199(0x102)]=_0x492199(0xc9),_0x3ae3a1[_0x492199(0x11c)]=_0x492199(0xf5);const _0x455867=_0x3ae3a1,_0x304e34=[_0x455867[_0x492199(0xad)],_0x455867[_0x492199(0x110)],_0x455867['Bmfuu'],_0x455867[_0x492199(0x11c)]],_0x2864e5=_0x304e34[_0x492199(0x101)](_0x2d1dc9=>!!CodeceptJS['container'][_0x492199(0x15f)](_0x2d1dc9));if(!_0x2864e5)return null;return CodeceptJS[_0x492199(0xb8)][_0x492199(0x15f)](_0x2864e5);};module[a1_0x28f811(0x14d)]=function(_0x1817d2){const _0x319f89=a1_0x28f811,_0xee2d32={'qTMEd':function(_0x1f9466){return _0x1f9466();},'kMwqP':function(_0x418fc6,_0x179150){return _0x418fc6(_0x179150);},'cmFFA':_0x319f89(0x142),'ofRud':_0x319f89(0xe2),'VsPVo':_0x319f89(0x14f),'eWANy':_0x319f89(0x137),'SDbJC':'hook-started','bIpHO':'hook-passed','zkwXx':_0x319f89(0xb1),'CRTAA':'browserstackTestName','Hrkwp':function(_0x3704d3){return _0x3704d3();},'zcjVS':_0x319f89(0x16f),'rBfwH':function(_0x3bda40){return _0x3bda40();},'ufmFm':function(_0x1ad1ca,_0x2a708a){return _0x1ad1ca(_0x2a708a);},'XoBro':function(_0x2dc582,_0x2318fa,_0x205f66){return _0x2dc582(_0x2318fa,_0x205f66);},'JeUCu':function(_0x21179e,_0x5948b7){return _0x21179e(_0x5948b7);},'EZVgP':_0x319f89(0xe9),'qaDaI':function(_0x42a501){return _0x42a501();},'zZQzC':_0x319f89(0x160),'XZPGL':function(_0x4670e9,_0x5f079f,_0x381e75,_0x415271){return _0x4670e9(_0x5f079f,_0x381e75,_0x415271);},'esYuZ':function(_0x1cdc77,_0x8ae424){return _0x1cdc77===_0x8ae424;},'CUbyp':'Suite','KhBgf':_0x319f89(0xb7),'rxyLk':'test-skipped','EzfZm':'afterTest','PIexD':function(_0x47bf1c,_0x584c76,_0xa1267f){return _0x47bf1c(_0x584c76,_0xa1267f);},'GGGIb':_0x319f89(0x148),'vGJlh':_0x319f89(0x11e),'oJeXa':_0x319f89(0x170),'vgHJp':'TEST_LOG','qAyfv':_0x319f89(0x15e),'ficsr':_0x319f89(0x16e),'rFQJP':'bddStep-after','gWKzZ':_0x319f89(0x116)};_0x1817d2['skipSessionStatus']&&(global[_0x319f89(0x15a)]=_0x1817d2[_0x319f89(0x17b)]);PerformanceTester[_0x319f89(0xc0)]();const _0x26ab60=_0xee2d32[_0x319f89(0x16a)](getCodeceptDriver),_0xb869a=new O11yHelper(_0x26ab60,_0x1817d2),_0x4d7a73=!!CodeceptJS[_0x319f89(0xb8)]['helpers'](_0xee2d32[_0x319f89(0xbe)]);global[_0x319f89(0x151)]=_0x26ab60,_0x26ab60&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x319f89(0xfa)],()=>{const _0x307fa7=_0x319f89;_0x4d7a73?_0xee2d32[_0x307fa7(0x10c)](patchPlaywrightBefore):_0xee2d32[_0x307fa7(0x10d)](patchWebDriverBefore,_0x26ab60);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x319f89(0x14c)],()=>{const _0x26f119=_0x319f89,_0x1bf6f8={};_0x1bf6f8['dHZKP']=_0xee2d32[_0x26f119(0x11b)],_0x1bf6f8[_0x26f119(0xd6)]=_0xee2d32['eWANy'];const _0x52717c=_0x1bf6f8;_0x26ab60[_0x26f119(0x142)]=async()=>{const _0x7f7e42=_0x26f119;if(global['accessibilityPlatform']){const _0x3b90d0={};_0x3b90d0[_0x7f7e42(0xfd)]=_0xee2d32[_0x7f7e42(0x12f)],await PerformanceTester[_0x7f7e42(0xd0)](PerformanceA11yEvents[_0x7f7e42(0xab)],async()=>{const _0x2d3a66=_0x7f7e42;await AccessibilityHelper['browserStackExecuteDriver'](_0x26ab60,scripts[_0x2d3a66(0xf2)]);},_0x3b90d0)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x7f7e42(0x15c)],async()=>{const _0xca4135=_0x7f7e42;await AccessibilityHelper[_0xca4135(0x161)](_0x26ab60,scripts['getResultsSummary']);})();}else return logger[_0x7f7e42(0x11a)](_0xee2d32['ofRud']),{};},_0x26ab60[_0x26f119(0x14f)]=async()=>{const _0x55f559=_0x26f119;if(global[_0x55f559(0x166)]){const _0x58bff3={};_0x58bff3[_0x55f559(0xfd)]=_0x52717c[_0x55f559(0x108)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x5226eb=_0x55f559;await AccessibilityHelper[_0x5226eb(0x161)](_0x26ab60,scripts[_0x5226eb(0xf2)]);},_0x58bff3)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x55f559(0xc5)],async()=>{const _0x423a27=_0x55f559;await AccessibilityHelper[_0x423a27(0x161)](_0x26ab60,scripts['getResults']);})();}else return logger[_0x55f559(0x11a)](_0x52717c['cHcBQ']),{};},_0xee2d32[_0x26f119(0x10d)](patchSaveScreenshot,_0x26ab60);})()),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x144)][_0x319f89(0x12e)],()=>{const _0x49009a=_0x319f89;PerformanceTester[_0x49009a(0x113)](PerformanceEvents['SDK_PRE_TEST']);try{_0xb869a[_0x49009a(0x113)](),testOpsHelper[_0x49009a(0x129)](),PerformanceTester[_0x49009a(0x136)](PerformanceEvents[_0x49009a(0x149)]);}catch(_0x109e7b){PerformanceTester[_0x49009a(0xda)](_0x109e7b),PerformanceTester[_0x49009a(0x136)](PerformanceEvents['SDK_PRE_TEST'],![],_0x109e7b);}}),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS['event'][_0x319f89(0x144)][_0x319f89(0x10f)],async()=>{const _0x140852=_0x319f89;PerformanceTester[_0x140852(0x113)](PerformanceEvents['SDK_POST_TEST']);try{requestSpy[_0x140852(0xdb)](),await _0xb869a['stop'](),PerformanceTester[_0x140852(0x136)](PerformanceEvents[_0x140852(0x132)]);}catch(_0x4493ae){PerformanceTester[_0x140852(0xda)](_0x4493ae),PerformanceTester['end'](PerformanceEvents[_0x140852(0x132)],![],_0x4493ae);}finally{PerformanceTester[_0x140852(0xaf)]();}}),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x115)][_0x319f89(0x171)],_0x582ea3=>{const _0xc12252=_0x319f89;PerformanceTester['start'](PerformanceEvents[_0xc12252(0x146)]);try{const _0x5adc5f=_0x582ea3['ctx'][_0xc12252(0xec)],_0x2e4c01=_0xb869a[_0xc12252(0xe8)](TEST_EVENTS['HOOK_RUN_STARTED'],_0x5adc5f);CodeceptRecorder[_0xc12252(0xcd)](()=>_0xb869a[_0xc12252(0xff)](TEST_EVENTS[_0xc12252(0xb3)],_0x2e4c01));const _0x2d0439={};_0x2d0439['hookType']=_0xee2d32['SDbJC'],PerformanceTester[_0xc12252(0x136)](PerformanceEvents[_0xc12252(0x146)],!![],null,_0x2d0439);}catch(_0x3d7fc5){const _0x14d400={};_0x14d400[_0xc12252(0xe5)]=_0xee2d32[_0xc12252(0xe4)],PerformanceTester[_0xc12252(0x136)](PerformanceEvents[_0xc12252(0x146)],![],_0x3d7fc5,_0x14d400),PerformanceTester['captureError'](_0x3d7fc5);}}),CodeceptJS['event'][_0x319f89(0x177)]['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x115)][_0x319f89(0xd3)],_0x5d65a6=>{const _0x4f2051=_0x319f89,_0x2752b0={};_0x2752b0[_0x4f2051(0xe5)]=_0xee2d32[_0x4f2051(0x16b)],PerformanceTester['start'](PerformanceHookEvents[_0x4f2051(0x146)],!![],null,_0x2752b0);try{const _0x493e76=_0x5d65a6['ctx']['test'],_0x14f878=_0xb869a['captureEvent'](TEST_EVENTS[_0x4f2051(0x103)],_0x493e76);CodeceptRecorder['add'](()=>_0xb869a[_0x4f2051(0xff)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x14f878));const _0x261385={};_0x261385['hookType']=_0xee2d32[_0x4f2051(0x16b)],PerformanceTester[_0x4f2051(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x261385);}catch(_0x1b85f3){PerformanceTester[_0x4f2051(0xda)](_0x1b85f3);const _0x36d8e5={};_0x36d8e5[_0x4f2051(0xe5)]=_0xee2d32[_0x4f2051(0x16b)],PerformanceTester[_0x4f2051(0x136)](PerformanceHookEvents[_0x4f2051(0x146)],![],_0x1b85f3,_0x36d8e5);}}),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS[_0x319f89(0xa9)]['hook'][_0x319f89(0xc1)],async(_0x3e9b44,_0x1e0bb5)=>{const _0x55c2b0=_0x319f89;PerformanceTester[_0x55c2b0(0x113)](PerformanceHookEvents[_0x55c2b0(0x146)]);try{const _0x20e446=_0x3e9b44[_0x55c2b0(0xd8)][_0x55c2b0(0xec)],_0x3ad3b3=_0xb869a[_0x55c2b0(0xe8)](TEST_EVENTS[_0x55c2b0(0x103)],_0x20e446,_0x1e0bb5);CodeceptRecorder[_0x55c2b0(0xcd)](()=>_0xb869a[_0x55c2b0(0xff)](TEST_EVENTS[_0x55c2b0(0x103)],_0x3ad3b3));const _0x4c2bab={};_0x4c2bab[_0x55c2b0(0xe5)]=_0xee2d32['zkwXx'],PerformanceTester[_0x55c2b0(0x113)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x4c2bab);}catch(_0x2f80d3){PerformanceTester[_0x55c2b0(0xda)](_0x2f80d3);const _0x56643b={};_0x56643b[_0x55c2b0(0xe5)]=_0xee2d32[_0x55c2b0(0xe7)],PerformanceTester[_0x55c2b0(0x136)](PerformanceHookEvents[_0x55c2b0(0x146)],![],_0x2f80d3,_0x56643b);}const _0x53692f={};_0x53692f[_0x55c2b0(0xe5)]=_0xee2d32['zkwXx'],PerformanceTester['end'](PerformanceHookEvents[_0x55c2b0(0x146)],!![],null,_0x53692f);}),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0xec)]['before'],_0x3d31a6=>{const _0x122937=_0x319f89;PerformanceTester[_0x122937(0x113)](PerformanceHookEvents[_0x122937(0x146)]);try{globals[_0x122937(0x109)](_0xee2d32['CRTAA'],_0x3d31a6[_0x122937(0xbf)]);_0xee2d32[_0x122937(0xdd)](isBrowserstackInfra)&&(_0x4d7a73&&(global['__workerDetails']={'currentTest':{'name':_0x3d31a6[_0x122937(0xbf)],'testInfo':{'titlePath':_0x3d31a6[_0x122937(0x13a)]()}}}));const _0x45ac37={};_0x45ac37[_0x122937(0xe5)]=_0xee2d32[_0x122937(0x104)],PerformanceTester[_0x122937(0x136)](PerformanceHookEvents[_0x122937(0x146)],!![],null,_0x45ac37);}catch(_0x6c9db4){PerformanceTester[_0x122937(0xda)](_0x6c9db4);const _0x211a01={};_0x211a01[_0x122937(0xe5)]=_0xee2d32[_0x122937(0x104)],PerformanceTester[_0x122937(0x136)](PerformanceHookEvents['SDK_HOOK'],![],_0x6c9db4,_0x211a01);}}),CodeceptJS['event'][_0x319f89(0x177)]['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0xec)][_0x319f89(0x171)],_0xf19cbf=>{const _0x59a157=_0x319f89,_0x30e168={'dgxiR':function(_0x18eea0){return _0xee2d32['rBfwH'](_0x18eea0);},'kTRdc':function(_0xba88d4,_0x2c74c1){const _0x19680c=a1_0x5837;return _0xee2d32[_0x19680c(0x105)](_0xba88d4,_0x2c74c1);},'LBxGG':function(_0x42a9f5,_0x292baf,_0xa6655d){const _0xd777a5=a1_0x5837;return _0xee2d32[_0xd777a5(0x12d)](_0x42a9f5,_0x292baf,_0xa6655d);},'uUFKE':function(_0x13b8e9,_0x26bd12){const _0x4ea290=a1_0x5837;return _0xee2d32[_0x4ea290(0xc7)](_0x13b8e9,_0x26bd12);}};PerformanceTester[_0x59a157(0x113)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x59a157(0x109)](_0xee2d32['CRTAA'],_0xf19cbf[_0x59a157(0xbf)]);const _0x4f4350=_0xb869a[_0x59a157(0xe8)](TEST_EVENTS[_0x59a157(0x135)],_0xf19cbf);CodeceptRecorder[_0x59a157(0xcd)](()=>_0xb869a[_0x59a157(0xff)](TEST_EVENTS['TEST_RUN_STARTED'],_0x4f4350)),CodeceptRecorder[_0x59a157(0xcd)](async()=>{const _0x31a0c9=_0x59a157;_0x30e168[_0x31a0c9(0x12b)](isBrowserstackInfra)&&(!_0x30e168[_0x31a0c9(0xaa)](isTrue,_0x1817d2[_0x31a0c9(0xcb)])&&await _0x30e168[_0x31a0c9(0xbb)](markSessionName,_0x26ab60,_0xf19cbf['title']),_0xb869a[_0x31a0c9(0xe3)]&&await _0x30e168['uUFKE'](o11ySync,_0x26ab60));});}catch(_0x146dbb){const _0x9a9fe4={};_0x9a9fe4[_0x59a157(0xe5)]=_0xee2d32[_0x59a157(0x143)],PerformanceTester[_0x59a157(0x136)](PerformanceHookEvents[_0x59a157(0x146)],![],_0x146dbb,_0x9a9fe4),PerformanceTester[_0x59a157(0xda)](_0x146dbb);}const _0x52687f={};_0x52687f[_0x59a157(0xe5)]=_0xee2d32[_0x59a157(0x143)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x52687f);}),CodeceptJS[_0x319f89(0xa9)]['dispatcher']['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0xec)][_0x319f89(0xd3)],_0x60d09b=>{const _0xe7e61b=_0x319f89,_0x522654={'ThHOV':function(_0x145ca2,_0x3772c1,_0x35431c){const _0x573e69=a1_0x5837;return _0xee2d32[_0x573e69(0x12d)](_0x145ca2,_0x3772c1,_0x35431c);},'IIawO':function(_0x20e0e5){const _0x536af2=a1_0x5837;return _0xee2d32[_0x536af2(0xac)](_0x20e0e5);}};PerformanceTester[_0xe7e61b(0x113)](PerformanceHookEvents[_0xe7e61b(0x146)]);try{const _0x35a904=_0xb869a[_0xe7e61b(0xe8)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x60d09b);CodeceptRecorder[_0xe7e61b(0xcd)](()=>_0xb869a[_0xe7e61b(0xff)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x35a904)),CodeceptRecorder[_0xe7e61b(0xcd)](async()=>{const _0x2e053b=_0xe7e61b,_0x435db5={'xHbcN':function(_0x38fdda,_0x354ec3,_0x42d3f3){const _0x5224e2=a1_0x5837;return _0x522654[_0x5224e2(0xf3)](_0x38fdda,_0x354ec3,_0x42d3f3);}};_0x522654[_0x2e053b(0x123)](isBrowserstackInfra)&&await PerformanceTester[_0x2e053b(0xd0)](PerformanceAutEvents[_0x2e053b(0x12c)],async()=>{const _0x3cb799=_0x2e053b;_0x4d7a73?await _0x435db5[_0x3cb799(0x16c)](playwrightMarkSessionStatus,_0x26ab60,STATE_PASSED):await _0x435db5[_0x3cb799(0x16c)](markSessionStatus,_0x26ab60,STATE_PASSED);})();}),PerformanceTester[_0xe7e61b(0x136)](PerformanceEvents[_0xe7e61b(0x126)]);}catch(_0x6571a){PerformanceTester[_0xe7e61b(0xda)](_0x6571a);const _0x49d2e8={};_0x49d2e8[_0xe7e61b(0xe5)]=_0xee2d32[_0xe7e61b(0x168)],PerformanceTester['end'](PerformanceHookEvents[_0xe7e61b(0x146)],![],_0x6571a,_0x49d2e8),PerformanceTester[_0xe7e61b(0x136)](PerformanceEvents[_0xe7e61b(0x126)],![],_0x6571a);}const _0x2f570e={};_0x2f570e[_0xe7e61b(0xe5)]=_0xee2d32[_0xe7e61b(0x168)],PerformanceTester[_0xe7e61b(0x136)](PerformanceHookEvents[_0xe7e61b(0x146)],!![],null,_0x2f570e);}),CodeceptJS[_0x319f89(0xa9)]['dispatcher']['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0xec)]['failed'],(_0x28aa1d,_0x1635c7)=>{const _0xf8e2c=_0x319f89;PerformanceTester['start'](PerformanceHookEvents[_0xf8e2c(0x146)]);try{if(_0xee2d32[_0xf8e2c(0xb5)](_0x28aa1d[_0xf8e2c(0x121)][_0xf8e2c(0xfe)],_0xee2d32['CUbyp'])){const _0x22085d=_0xb869a[_0xf8e2c(0xe8)](TEST_EVENTS[_0xf8e2c(0xf4)],_0x28aa1d[_0xf8e2c(0xd8)][_0xf8e2c(0x112)]);CodeceptRecorder[_0xf8e2c(0xcd)](()=>_0xb869a[_0xf8e2c(0xff)](TEST_EVENTS[_0xf8e2c(0xf4)],_0x22085d));}else{const _0x4882c6=_0xb869a[_0xf8e2c(0xe8)](TEST_EVENTS[_0xf8e2c(0xd7)],_0x28aa1d,_0x1635c7);CodeceptRecorder['add'](()=>{const _0x1492db=_0xf8e2c;try{_0xb869a[_0x1492db(0xff)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4882c6);}catch(_0x248c7c){logger[_0x1492db(0x107)]('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util['format'](_0x248c7c)),PerformanceTester['end'](PerformanceEvents[_0x1492db(0x126)],![],_0x248c7c);}}),CodeceptRecorder[_0xf8e2c(0xcd)](async()=>{const _0x528863=_0xf8e2c;try{_0xee2d32[_0x528863(0x10c)](isBrowserstackInfra)&&(_0x4d7a73?await _0xee2d32[_0x528863(0x141)](playwrightMarkSessionStatus,_0x26ab60,STATE_FAILED,_0x1635c7):await _0xee2d32['XZPGL'](markSessionStatus,_0x26ab60,STATE_FAILED,_0x1635c7));}catch(_0x34225b){logger[_0x528863(0x107)]('Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20'+util[_0x528863(0xb4)](_0x34225b)),PerformanceTester[_0x528863(0x136)](PerformanceEvents['SDK_TEST'],![],_0x34225b);}});}PerformanceTester[_0xf8e2c(0x136)](PerformanceEvents['SDK_TEST']);}catch(_0x389c3c){PerformanceTester[_0xf8e2c(0xda)](_0x389c3c);const _0x16f0d8={};_0x16f0d8[_0xf8e2c(0xe5)]=_0xee2d32[_0xf8e2c(0x164)],PerformanceTester[_0xf8e2c(0x136)](PerformanceHookEvents[_0xf8e2c(0x146)],![],_0x389c3c,_0x16f0d8),PerformanceTester[_0xf8e2c(0x136)](PerformanceEvents['SDK_TEST'],![],_0x389c3c);}const _0x32a0dc={};_0x32a0dc[_0xf8e2c(0xe5)]=_0xee2d32['KhBgf'],PerformanceTester[_0xf8e2c(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x32a0dc);}),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS[_0x319f89(0xa9)][_0x319f89(0xec)]['skipped'],_0x86a3a8=>{const _0x1cf406=_0x319f89;PerformanceTester['start'](PerformanceHookEvents[_0x1cf406(0x146)]);try{const _0x4bcda6=_0xb869a[_0x1cf406(0xe8)](TEST_EVENTS[_0x1cf406(0xf4)],_0x86a3a8);CodeceptRecorder[_0x1cf406(0xcd)](()=>_0xb869a[_0x1cf406(0xff)](TEST_EVENTS[_0x1cf406(0xf4)],_0x4bcda6)),PerformanceTester[_0x1cf406(0x136)](PerformanceEvents[_0x1cf406(0x126)]);}catch(_0x53ef0c){PerformanceTester['captureError'](_0x53ef0c),PerformanceTester[_0x1cf406(0x136)](PerformanceEvents[_0x1cf406(0x126)],![],_0x53ef0c);const _0x28ad42={};_0x28ad42[_0x1cf406(0xe5)]=_0xee2d32['rxyLk'],PerformanceTester[_0x1cf406(0x136)](PerformanceHookEvents[_0x1cf406(0x146)],![],_0x53ef0c,_0x28ad42);}const _0xb43c03={};_0xb43c03[_0x1cf406(0xe5)]=_0xee2d32[_0x1cf406(0x162)],PerformanceTester[_0x1cf406(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xb43c03);}),CodeceptJS[_0x319f89(0xa9)]['dispatcher']['on'](CodeceptJS['event']['test'][_0x319f89(0x10f)],async(_0x125670,_0x53c3ad)=>{const _0x44f30c=_0x319f89,_0x56d2da={};_0x56d2da[_0x44f30c(0x14b)]=_0xee2d32[_0x44f30c(0xee)];const _0x43b6a4=_0x56d2da;try{PerformanceTester[_0x44f30c(0x113)](PerformanceHookEvents['SDK_HOOK']);const _0x3c5a69=_0xee2d32[_0x44f30c(0x10b)](shouldScanTestForAccessibility,_0x125670[_0x44f30c(0x13a)](),!![]);if(_0xee2d32[_0x44f30c(0x16a)](isAccessibilityAutomationSession)&&global[_0x44f30c(0x166)]&&_0x3c5a69){const _0x1aa568={};_0x1aa568[_0x44f30c(0x175)]=_0x125670[_0x44f30c(0x184)],_0x1aa568[_0x44f30c(0x16d)]=process[_0x44f30c(0xd5)][testHubConstants[_0x44f30c(0x165)][_0x44f30c(0x11f)]],_0x1aa568['thJwtToken']=process[_0x44f30c(0xd5)][testHubConstants['ENV_VAR'][_0x44f30c(0x10e)]];const _0x49d8ef=_0x1aa568;logger[_0x44f30c(0x107)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x44f30c(0xc3)](_0x49d8ef)),CodeceptRecorder[_0x44f30c(0xcd)](async()=>{const _0x56faee=_0x44f30c,_0x53cb9a={};_0x53cb9a['command']=_0x43b6a4['vRxRr'],await PerformanceTester[_0x56faee(0xd0)](PerformanceA11yEvents[_0x56faee(0xab)],async()=>{const _0x3dd95b=_0x56faee;await AccessibilityHelper[_0x3dd95b(0x161)](_0x26ab60,scripts[_0x3dd95b(0xf2)]);},_0x53cb9a)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x56faee(0xdf)],async()=>{const _0x59eb07=_0x56faee;await AccessibilityHelper[_0x59eb07(0x161)](_0x26ab60,scripts['saveTestResults'],_0x49d8ef);})();}),logger[_0x44f30c(0xb0)](_0xee2d32[_0x44f30c(0x147)]);}const _0x219f38={};_0x219f38[_0x44f30c(0xe5)]=_0xee2d32[_0x44f30c(0x15d)],PerformanceTester[_0x44f30c(0x136)](PerformanceHookEvents[_0x44f30c(0x146)],!![],null,_0x219f38);}catch(_0x4bcd5f){PerformanceTester[_0x44f30c(0xda)](_0x4bcd5f);const _0x36773d={};_0x36773d[_0x44f30c(0xe5)]=_0xee2d32['vGJlh'],PerformanceTester[_0x44f30c(0x136)](PerformanceHookEvents[_0x44f30c(0x146)],![],_0x4bcd5f,_0x36773d);}}),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS['event'][_0x319f89(0x117)][_0x319f89(0x17f)],_0x3a3e06=>{const _0x1c99cc=_0x319f89;PerformanceTester[_0x1c99cc(0x113)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x1c99cc(0xd9)](_0x1c99cc(0xeb)+process[_0x1c99cc(0xe1)],{'timestamp':new Date()['toISOString'](),'level':_0xee2d32['oJeXa'],'message':_0x3a3e06,'kind':_0xee2d32[_0x1c99cc(0x12a)],'http_response':{}});}catch(_0x13bf0c){PerformanceTester[_0x1c99cc(0xda)](_0x13bf0c);const _0x393caf={};_0x393caf['hookType']=_0xee2d32['qAyfv'],PerformanceTester[_0x1c99cc(0x136)](PerformanceHookEvents[_0x1c99cc(0x146)],![],_0x13bf0c,_0x393caf);}const _0xf30ef3={};_0xf30ef3[_0x1c99cc(0xe5)]=_0xee2d32[_0x1c99cc(0x174)],PerformanceTester[_0x1c99cc(0x136)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xf30ef3);}),CodeceptJS[_0x319f89(0xa9)]['dispatcher']['on'](CodeceptJS['event'][_0x319f89(0xb9)][_0x319f89(0x12e)],_0xc2d662=>{const _0x5a0952=_0x319f89,_0x41e6f8={};_0x41e6f8[_0x5a0952(0xe5)]=_0xee2d32[_0x5a0952(0x154)],PerformanceTester[_0x5a0952(0xd0)](PerformanceHookEvents[_0x5a0952(0x146)],()=>{const _0x2bcc53=_0x5a0952;_0xb869a[_0x2bcc53(0xef)](_0xc2d662);},_0x41e6f8)();}),CodeceptJS[_0x319f89(0xa9)][_0x319f89(0x177)]['on'](CodeceptJS['event']['bddStep'][_0x319f89(0x10f)],_0x413a4c=>{const _0x44d1cb=_0x319f89,_0x1bc3a3={};_0x1bc3a3[_0x44d1cb(0xe5)]=_0xee2d32[_0x44d1cb(0x183)],PerformanceTester[_0x44d1cb(0xd0)](PerformanceHookEvents[_0x44d1cb(0x146)],()=>{const _0x22e70f=_0x44d1cb;_0xb869a[_0x22e70f(0xf6)](_0x413a4c);},_0x1bc3a3)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x101c96=a2_0x1132;(function(_0xb5de2a,_0x406386){const _0xbe6bc5=a2_0x1132,_0x3d5cd1=_0xb5de2a();while(!![]){try{const _0x36d340=-parseInt(_0xbe6bc5(0x168))/0x1*(-parseInt(_0xbe6bc5(0x116))/0x2)+parseInt(_0xbe6bc5(0x17a))/0x3*(-parseInt(_0xbe6bc5(0x112))/0x4)+-parseInt(_0xbe6bc5(0x11d))/0x5*(-parseInt(_0xbe6bc5(0x184))/0x6)+parseInt(_0xbe6bc5(0x17f))/0x7+-parseInt(_0xbe6bc5(0x13d))/0x8+-parseInt(_0xbe6bc5(0x187))/0x9+parseInt(_0xbe6bc5(0xfe))/0xa*(-parseInt(_0xbe6bc5(0x12e))/0xb);if(_0x36d340===_0x406386)break;else _0x3d5cd1['push'](_0x3d5cd1['shift']());}catch(_0x164691){_0x3d5cd1['push'](_0x3d5cd1['shift']());}}}(a2_0x3564,0x52c69));function a2_0x3564(){const _0x3215cf=['../../helpers/testhub/testhubHandler','env','user','createGroupsOfSuites','setAdditionalCapabilities','1703756FGgBwP','browserStackCwd','ncssN','handleApp','4496ZjjuCN','userName','initialize','../utils/constants','VzQDf','host','SDK_CLEANUP','808810GiFfcT','event','RyGaZ','browser','--config','NjuHz','../../bin/playwright/accessibility-helper','ALyhj','FRAMEWORKS','addConfig','codeceptjs','gherkin','split','isTrue','prepareCapabilities','toLowerCase','validateRerunTestList','22ypnzPx','assign','findIndex','../../helpers/test-observability/utils','require','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','teardownAll','BROWSERSTACK_TEST_OBSERVABILITY_YML','KMbNb','../../helpers/performance/constants','../../helpers/BrowserStackSetup','playwright-firefox','validPlatformsPresent','CODECEPT_CUCUMBER','skipSessionName','1326472wsmomb','browserWSEndpoint','Workers','PcGVL','addTests','bootstrapAll','../../helpers/accessibility-automation/helper','process','enabled','skipSessionStatus','dirname','run','slice','testObservability','../../helpers/utilities','bQeTo','plugins','JFaFa','WLjHp','map','stringify','OuCSB','ewxCL','getPlaywrightUrl','testConfig','wvdyH','title','testContextOptions','config','getUserWorkerCount','err','chrome','hubUrl','nEgwV','printResults','lbjVH','cwd','result','push','Rkdov','EVENTS','parallelsPerPlatform','all','265YHcuaR','BrowserStackPlugin','5|3|0|4|2|1','cXyXC','info','BROWSERSTACK_RERUN','isTestObservabilitySession','Playwright','platforms','isUndefined','launchBuild','spawn','/wd/hub','codeceptjs/lib/index.js','path','BROWSERSTACK_TEST_ACCESSIBILITY_YML','now','browserName','3eqEXVi','Started\x20:\x20','accessKey','frameworkName','profile','4089288lEVPIQ','getPlatformName','dyVJB','../../helpers/helper','utzub','6mmXGVV','PQkHX','lBMDe','1526895nblroP','CODECEPT','Failed\x20:\x20','failed','stack','join','USER_CONFIG_DETAILS_PATH','desiredCapabilities','../../helpers/logger','playwright-chromium','firefox','CJoxJ','jXKGZ','AaIBW','stop','existsSync','chromium','ijAcA','load','replace','CSsVP','log','useW3C','key','helpers','test','1206070gwmhoC','forEach','EesOQ','accessibilityOptions','WGLTr','codecept.conf.js','exports','winstonLogger','isEmpty','debug','root','chdir','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','mergeDeep'];a2_0x3564=function(){return _0x3215cf;};return a2_0x3564();}function a2_0x1132(_0x553796,_0x12f606){const _0x35644f=a2_0x3564();return a2_0x1132=function(_0x1132ba,_0x519b28){_0x1132ba=_0x1132ba-0xfa;let _0x51aa7a=_0x35644f[_0x1132ba];return _0x51aa7a;},a2_0x1132(_0x553796,_0x12f606);}const fs=require('fs'),path=require('path'),util=require('util'),process=require(a2_0x101c96(0x144)),logger=require(a2_0x101c96(0x18f))[a2_0x101c96(0x105)],{default:BrowserStackSetup}=require(a2_0x101c96(0x138)),helper=require(a2_0x101c96(0x182)),utilities=require(a2_0x101c96(0x14b)),{checkAccessibilityPlatformConfig}=require(a2_0x101c96(0x143)),{setAccessibilityCapabilities}=require(a2_0x101c96(0x123)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x101c96(0x182)),CodeceptJS=requireModule(a2_0x101c96(0x175),a2_0x101c96(0x127)),testOpsHelper=require(a2_0x101c96(0x131)),TestHubHandler=require(a2_0x101c96(0x10d)),constants=require(a2_0x101c96(0x119)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x101c96(0x137))[a2_0x101c96(0x165)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x14167c,_0x491f2c)=>{const _0x466977=a2_0x101c96,_0x4f8f06={};_0x4f8f06['cXyXC']=function(_0x41e966,_0x3a12c1){return _0x41e966===_0x3a12c1;},_0x4f8f06[_0x466977(0x153)]=_0x466977(0x103),_0x4f8f06[_0x466977(0x164)]='codecept.json';const _0x35bdde=_0x4f8f06;let _0x202c3d=null;const _0x268960={};let _0x3b992b=_0x491f2c[_0x466977(0x130)](_0x165b1e=>_0x165b1e===_0x466977(0x121));_0x35bdde[_0x466977(0x16b)](_0x3b992b,-0x1)&&(_0x3b992b=_0x491f2c[_0x466977(0x130)](_0x110846=>_0x110846==='-c'));if(!helper[_0x466977(0x171)](_0x14167c[_0x466977(0x159)])&&fs[_0x466977(0x196)](path['join'](process[_0x466977(0x161)](),_0x14167c[_0x466977(0x159)])))_0x202c3d=path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x14167c[_0x466977(0x159)]),_0x491f2c[_0x466977(0x149)](_0x3b992b,0x2);else{if(!helper[_0x466977(0x171)](_0x14167c['c'])&&fs['existsSync'](path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x14167c['c'])))_0x202c3d=path[_0x466977(0x18c)](process['cwd'](),_0x14167c['c']),_0x491f2c[_0x466977(0x149)](_0x3b992b,0x2);else{if(fs[_0x466977(0x196)](path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x35bdde['ewxCL'])))_0x202c3d=path[_0x466977(0x18c)](process['cwd'](),_0x35bdde['ewxCL']);else fs[_0x466977(0x196)](path[_0x466977(0x18c)](process[_0x466977(0x161)](),_0x35bdde['Rkdov']))&&(_0x202c3d=path['join'](process['cwd'](),_0x35bdde[_0x466977(0x164)]));}}return process['env'][_0x466977(0x18d)]=_0x202c3d,_0x202c3d;},getO11yRerunPattern=()=>{const _0x28d399=a2_0x101c96,_0x274389=helper[_0x28d399(0x12a)](process[_0x28d399(0x10e)][_0x28d399(0x16d)]);if(_0x274389){const _0x5bb3ea=process[_0x28d399(0x10e)]['BROWSERSTACK_RERUN_TESTS'],_0x10a053=[];if(helper[_0x28d399(0x12d)](_0x5bb3ea)&&!helper['isUndefined'](_0x5bb3ea)){_0x5bb3ea[_0x28d399(0x129)](',')[_0x28d399(0x150)](_0x1f2485=>{const _0x5ec7ef=_0x28d399;_0x10a053[_0x5ec7ef(0x163)]('('+_0x1f2485['trim']()+')');});const _0x3f1096='^'+_0x10a053[_0x28d399(0x18c)]('|')+'$';return _0x3f1096;}}return null;},a2_0x4343c2={};a2_0x4343c2[a2_0x101c96(0x15c)]='chromium',a2_0x4343c2[a2_0x101c96(0x190)]=a2_0x101c96(0x197),a2_0x4343c2[a2_0x101c96(0x139)]=a2_0x101c96(0x191),a2_0x4343c2['playwright-webkit']='webkit';const pwToCodeceptBrowser=a2_0x4343c2;async function run(_0x37e534,_0x448ceb,_0x221a4a){const _0xcc7463=a2_0x101c96,_0x4ff3d0={'PcGVL':function(_0x39e46e,_0x47267d){return _0x39e46e+_0x47267d;},'lbjVH':function(_0x476929,_0x4a92e1){return _0x476929(_0x4a92e1);},'NjuHz':function(_0x2b80eb,_0x82695b,_0x1a7c3a){return _0x2b80eb(_0x82695b,_0x1a7c3a);},'nEgwV':'helpers','PQkHX':function(_0x172d7d){return _0x172d7d();},'bQeTo':_0xcc7463(0x174),'utzub':function(_0x1ed0f1){return _0x1ed0f1();},'OuCSB':_0xcc7463(0x189),'wvdyH':'Passed\x20:\x20','jXKGZ':_0xcc7463(0x17b),'ALyhj':_0xcc7463(0x16a),'TZlLo':_0xcc7463(0x133),'WLjHp':_0xcc7463(0x16f),'CJoxJ':'WebDriver','DjnYh':function(_0x164cb0,_0x12d971){return _0x164cb0(_0x12d971);},'dyVJB':function(_0xbd39e8,_0x2bd106){return _0xbd39e8!=_0x2bd106;},'KMbNb':function(_0x1428c3,_0x129b29){return _0x1428c3===_0x129b29;},'EesOQ':function(_0x523bfe,_0x21f693,_0xf0374){return _0x523bfe(_0x21f693,_0xf0374);},'CSsVP':_0xcc7463(0x128),'WGLTr':function(_0x3a98a0,_0x398f4e){return _0x3a98a0(_0x398f4e);},'RyGaZ':function(_0x563ad9,_0x1d08ca){return _0x563ad9*_0x1d08ca;},'VzQDf':_0xcc7463(0x120),'lBMDe':function(_0x13bf35,_0x4f0ac2,_0x5b727f){return _0x13bf35(_0x4f0ac2,_0x5b727f);},'AaIBW':'desiredCapabilities','ncssN':_0xcc7463(0x108),'ijAcA':'BrowserStackPlugin.js','JFaFa':_0xcc7463(0x113)};await _0x221a4a[_0xcc7463(0x118)](_0x37e534),await helper[_0xcc7463(0x115)](_0x221a4a['config']);if(!_0x221a4a[_0xcc7463(0x159)])return;process[_0xcc7463(0x17e)]=_0x37e534[_0xcc7463(0x17e)];_0x37e534[_0xcc7463(0x17e)]&&(process[_0xcc7463(0x10e)][_0xcc7463(0x17e)]=_0x37e534[_0xcc7463(0x17e)]);const _0xd14555=_0x4ff3d0[_0xcc7463(0x122)](getUserCodeceptJSConfigs,_0x37e534,_0x448ceb);let _0x3e9a0b={};_0xd14555?(logger['info'](_0xcc7463(0x10a)+_0xd14555),_0x3e9a0b=CodeceptJS[_0xcc7463(0x159)][_0xcc7463(0x199)](_0xd14555)):logger[_0xcc7463(0x16c)](_0x4ff3d0['TZlLo']);let _0x165bf2=![];_0x4ff3d0[_0xcc7463(0x122)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x4ff3d0[_0xcc7463(0x14f)]])&&(_0x165bf2=!![]);const _0x38b404=_0x165bf2?_0x4ff3d0['WLjHp']:_0x4ff3d0[_0xcc7463(0x192)];let _0xcad44f=!_0x165bf2?helper[_0xcc7463(0xfa)](_0x221a4a['config']):![];!helper[_0xcc7463(0x171)](_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x101)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xcc7463(0x151)](_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x101)]));let _0x4ccadd=_0x221a4a['config']['accessibility'];_0x4ccadd=_0x4ccadd||_0x4ff3d0['DjnYh'](checkAccessibilityPlatformConfig,_0x221a4a[_0xcc7463(0x159)]),process['env'][_0xcc7463(0x177)]=_0x4ccadd;_0x4ccadd&&(_0xcad44f=!_0x4ccadd);_0x4ff3d0[_0xcc7463(0x181)](_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x14a)],null)?process[_0xcc7463(0x10e)][_0xcc7463(0x135)]=_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x14a)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4ff3d0[_0xcc7463(0x136)](_0x38b404,_0x4ff3d0[_0xcc7463(0x14f)]);const _0x127b53=_0x4ff3d0[_0xcc7463(0x100)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x19b)]]),_0x32e0a5=_0x127b53&&!helper[_0xcc7463(0x106)](_0x127b53)?FRAMEWORKS[_0xcc7463(0x13b)]:FRAMEWORKS['CODECEPT'],_0x6f8e8a=await TestHubHandler[_0xcc7463(0x172)](_0x32e0a5,_0x221a4a);_0x4ccadd&&_0x4ff3d0[_0xcc7463(0x102)](setAccessibilityCapabilities,_0x221a4a['config']);const _0x35e984={},_0x43d740=[],_0x21bf1a=_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x166)]||helper[_0xcc7463(0x15a)](_0x37e534,_0x448ceb,_0x221a4a[_0xcc7463(0x159)],constants['FRAMEWORKS']['CODECEPT'])||0x1;let _0x579d24=0x1;if(_0x4ff3d0['utzub'](isBrowserstackInfra)){const _0xe53470=helper[_0xcc7463(0x12b)](_0x221a4a[_0xcc7463(0x159)],_0xcad44f,constants[_0xcc7463(0x125)][_0xcc7463(0x188)]);_0xe53470['forEach'](_0x5c8b88=>{const _0x56c1f8=_0xcc7463;helper[_0x56c1f8(0x111)](_0x5c8b88);}),helper[_0xcc7463(0x13a)](_0x221a4a[_0xcc7463(0x159)])?_0x579d24=_0x4ff3d0[_0xcc7463(0x11f)](_0x21bf1a,_0x221a4a[_0xcc7463(0x159)][_0xcc7463(0x170)]['length']):_0x579d24=_0x21bf1a,_0xe53470[_0xcc7463(0xff)](_0x55ea4c=>{const _0x195cbc=_0xcc7463,_0x831514=_0x4ff3d0[_0x195cbc(0x140)](helper[_0x195cbc(0x180)](_0x55ea4c,'_'),'_'+Date[_0x195cbc(0x178)]()),_0x217316=((()=>{const _0x2acbbc=_0x195cbc;if(_0x165bf2){const _0x21673f=pwToCodeceptBrowser[_0x55ea4c[_0x2acbbc(0x179)]]||_0x55ea4c[_0x2acbbc(0x179)];return{'browser':_0x21673f,[_0x21673f]:{'browserWSEndpoint':_0x4ff3d0[_0x2acbbc(0x140)](helper[_0x2acbbc(0x154)](_0x221a4a[_0x2acbbc(0x159)]),_0x4ff3d0[_0x2acbbc(0x160)](encodeURIComponent,JSON['stringify'](_0x55ea4c)))}};}const _0x3f5e05={};return _0x3f5e05[_0x2acbbc(0x18e)]=_0x55ea4c,_0x3f5e05[_0x2acbbc(0x10f)]=_0x221a4a[_0x2acbbc(0x159)][_0x2acbbc(0x117)],_0x3f5e05[_0x2acbbc(0xfb)]=_0x221a4a[_0x2acbbc(0x159)][_0x2acbbc(0x17c)],_0x3f5e05;})()),_0x281d14=_0x4ff3d0[_0x195cbc(0x122)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0['nEgwV'],_0x38b404]);_0x35e984[_0x831514]=_0x281d14?helper[_0x195cbc(0x10c)](_0x217316,_0x281d14):_0x217316;if(!_0x165bf2){_0x35e984[_0x831514]['browser']=_0x55ea4c[_0x195cbc(0x179)]||_0x217316[_0x195cbc(0x120)];if(_0x4ff3d0[_0x195cbc(0x185)](isBrowserstackInfra)){_0x35e984[_0x831514][_0x195cbc(0x11b)]=constants[_0x195cbc(0x15d)][_0x195cbc(0x19a)](_0x4ff3d0[_0x195cbc(0x14c)],'')[_0x195cbc(0x19a)](/https?:\/\//,'');;_0x35e984[_0x831514][_0x195cbc(0x176)]=_0x4ff3d0[_0x195cbc(0x14c)];}}_0x43d740[_0x195cbc(0x163)](_0x831514);});}else{_0x579d24=0x1;if(_0x165bf2){const _0x4d39b7=_0x4ff3d0[_0xcc7463(0x100)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x38b404,_0x4ff3d0[_0xcc7463(0x11a)]]),_0x354229=_0x4ff3d0[_0xcc7463(0x186)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x38b404,_0x4d39b7]);if(_0x354229&&_0x354229[_0xcc7463(0x13e)]){const _0x2fe241={};_0x2fe241[_0xcc7463(0x170)]=[],_0x354229[_0xcc7463(0x13e)]=helper[_0xcc7463(0x12b)](Object[_0xcc7463(0x12f)]({},_0x221a4a[_0xcc7463(0x159)],_0x2fe241),null,_0x32e0a5[_0xcc7463(0x12c)](),null,null,_0x354229['browserWSEndpoint']);}}else{const _0x45cae4={};_0x45cae4[_0xcc7463(0x170)]=[],_0x3e9a0b[_0x4ff3d0[_0xcc7463(0x15e)]][_0x38b404][_0x4ff3d0[_0xcc7463(0x194)]]=helper[_0xcc7463(0x12b)](Object['assign']({},_0x221a4a[_0xcc7463(0x159)],_0x45cae4),null,_0x32e0a5[_0xcc7463(0x12c)](),_0x4ff3d0[_0xcc7463(0x100)](nestedKeyValue,_0x3e9a0b,[_0x4ff3d0[_0xcc7463(0x15e)],_0x38b404,_0x4ff3d0[_0xcc7463(0x194)]])||{},null,null);}_0x35e984[_0x4ff3d0[_0xcc7463(0x114)]]=_0x3e9a0b,_0x43d740['push'](_0x4ff3d0[_0xcc7463(0x114)]);}const _0x457a8a={};_0x457a8a[_0xcc7463(0x155)]=_0xd14555;const _0x5a836b=_0x457a8a,_0x813620=path[_0xcc7463(0x18c)](__dirname,_0x4ff3d0[_0xcc7463(0x198)]),_0x512f8d=process[_0xcc7463(0x161)]();process[_0xcc7463(0x10e)][_0x4ff3d0[_0xcc7463(0x14e)]]=_0x512f8d,process['chdir'](path[_0xcc7463(0x147)](_0xd14555));const _0x4734f3=new CodeceptJS[(_0xcc7463(0x13f))](null,_0x5a836b),_0x12c223=_0x4734f3[_0xcc7463(0x110)](_0x579d24),_0x35b6cb=testOpsHelper[_0xcc7463(0x16e)](),_0x2615f2=_0x43d740[_0xcc7463(0x150)](_0x3a1994=>{const _0x120218=_0xcc7463,_0x806094={};_0x806094[_0x120218(0x16f)]=_0x35e984[_0x3a1994];const _0x40df1b={};_0x40df1b['WebDriver']=_0x35e984[_0x3a1994];const _0xc09cbd=_0x165bf2?_0x806094:_0x40df1b,_0x3e5106=_0x4ff3d0['PQkHX'](getO11yRerunPattern),_0x7e9a78={};_0x7e9a78[_0x120218(0xfc)]=_0xc09cbd;const _0x2a74d0={};_0x2a74d0[_0x120218(0x132)]=_0x813620,_0x2a74d0[_0x120218(0x145)]=!![],_0x2a74d0[_0x120218(0x13c)]=_0x221a4a['config'][_0x120218(0x158)][_0x120218(0x13c)],_0x2a74d0[_0x120218(0x146)]=_0x221a4a[_0x120218(0x159)][_0x120218(0x158)][_0x120218(0x146)],_0x2a74d0[_0x120218(0x14a)]=_0x35b6cb,_0x2a74d0[_0x120218(0x17d)]=_0x32e0a5;const _0xa23e42={};_0xa23e42[_0x120218(0x169)]=_0x2a74d0;const _0x4b2c00={};return _0x4b2c00[_0x120218(0x14d)]=_0xa23e42,helper[_0x120218(0x10c)]({},_0x3e9a0b,_0x4ff3d0[_0x120218(0x183)](isBrowserstackInfra)?_0x7e9a78:{},_0x3e5106?{'grep':_0x3e5106}:{},_0x4b2c00);});for(const _0x4082bd of _0x2615f2){for(const _0x19c6e3 of _0x12c223){const _0x3e72a9=_0x4734f3[_0xcc7463(0x173)]();_0x3e72a9[_0xcc7463(0x141)](_0x19c6e3),_0x3e72a9[_0xcc7463(0x126)](_0x4082bd);const _0x247d6b={};_0x247d6b[_0xcc7463(0x159)]=_0xd14555,_0x3e72a9['addOptions'](_0x247d6b);}}_0x4734f3['on'](CodeceptJS['event'][_0xcc7463(0xfd)][_0xcc7463(0x18a)],(_0x2e570c,_0x417c3b)=>{const _0x52f1c5=_0xcc7463;console[_0x52f1c5(0x19c)](_0x4ff3d0[_0x52f1c5(0x152)],_0x2e570c[_0x52f1c5(0x157)]);const _0x49873e={[_0x2e570c[_0x52f1c5(0x157)]]:_0x2e570c[_0x52f1c5(0x15b)][_0x52f1c5(0x18b)]};_testErrorData[_0x52f1c5(0x163)](_0x49873e);}),_0x4734f3['on'](CodeceptJS[_0xcc7463(0x11e)]['test']['passed'],async _0x69d0ae=>{const _0x2d0d1e=_0xcc7463;console[_0x2d0d1e(0x19c)](_0x4ff3d0[_0x2d0d1e(0x156)],_0x69d0ae[_0x2d0d1e(0x157)]);}),_0x4734f3['on'](CodeceptJS['event']['test']['before'],async _0x2fd36b=>{const _0x11971f=_0xcc7463;console[_0x11971f(0x19c)](_0x4ff3d0[_0x11971f(0x193)],_0x2fd36b[_0x11971f(0x157)]);}),_0x4734f3['on'](CodeceptJS[_0xcc7463(0x11e)][_0xcc7463(0x167)][_0xcc7463(0x162)],async()=>{const _0xa0dbc3=_0xcc7463,_0x25aaf7=_0x4ff3d0[_0xa0dbc3(0x124)][_0xa0dbc3(0x129)]('|');let _0x306e45=0x0;while(!![]){switch(_0x25aaf7[_0x306e45++]){case'0':testOpsHelper['printBuildLink']();continue;case'1':_0x4734f3[_0xa0dbc3(0x15f)]();continue;case'2':try{await TestHubHandler[_0xa0dbc3(0x195)]();}catch(_0x12836a){logger[_0xa0dbc3(0x107)](_0xa0dbc3(0x10b)+util['format'](_0x12836a));}continue;case'3':_0x221a4a['errorMessage']=_testErrorData;continue;case'4':utilities['finalExecution'](_0x221a4a);continue;case'5':PerformanceTester['start'](PerformanceEvents[_0xa0dbc3(0x11c)]);continue;}break;}});async function _0x43a072(){const _0x59aa3e=_0xcc7463;try{await _0x4734f3[_0x59aa3e(0x142)](),await _0x4734f3[_0x59aa3e(0x148)]();}finally{process[_0x59aa3e(0x109)](_0x512f8d),await _0x4734f3[_0x59aa3e(0x134)]();}}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),_0x4ff3d0[_0xcc7463(0x183)](_0x43a072);}module[a2_0x101c96(0x104)]=run;
2
+ 'use strict';const a2_0x1103ed=a2_0x140e;function a2_0x4f8d(){const _0x100258=['../../helpers/logger','xlUaX','bootstrapAll','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','VTYLo','193168IQlEgK','skipSessionStatus','test','browser','run','firefox','218641fGHhTY','skipSessionName','path','2ngXAda','errorMessage','title','before','desiredCapabilities','event','../../helpers/test-observability/utils','join','isUndefined','CODECEPT_CUCUMBER','stop','browserWSEndpoint','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Started\x20:\x20','length','launchBuild','bwdoP','user','1509988OMaEvt','findIndex','testObservability','Playwright','testContextOptions','accessibility','accessibilityOptions','CODECEPT','WebDriver','jSNzZ','slice','push','dirname','cuzsr','validateRerunTestList','dRzVu','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','util','lHEDA','start','validPlatformsPresent','../../helpers/utilities','err','forEach','YKbWm','SDK_SETUP','codecept.conf.js','../../helpers/performance/performance-tester','USER_CONFIG_DETAILS_PATH','accessKey','addConfig','webkit','chromium','1352475amFZRp','process','log','BrowserStackPlugin','env','../../helpers/helper','plugins','all','getPlaywrightUrl','BrowserStackPlugin.js','codecept.json','--config','assign','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','browserName','sMovG','WLkuD','RKXXO','profile','root','SWSQQ','tUIIA','exports','Mzbtz','stack','mergeDeep','bFNNX','setAdditionalCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_YML','prepareCapabilities','../../helpers/performance/constants','spawn','chdir','playwright-chromium','636180ZwCrIB','../../helpers/test-observability/constants','../../helpers/BrowserStackSetup','../../helpers/testhub/testhubHandler','now','format','teardownAll','useW3C','133yIrPHV','OOYbz','hubUrl','result','debug','map','gherkin','258522iOKRzw','cwd','split','parallelsPerPlatform','300340oedJzc','passed','addTests','ZqGow','HDALN','isTrue','failed','Passed\x20:\x20','codeceptjs','printResults','CciPj','QQeOH','BROWSERSTACK_RERUN_TESTS','gOcHp','SDK_CLEANUP','esbPF','key','BROWSERSTACK_TEST_OBSERVABILITY_YML','flFnD','initialize','info','getPlatformName','require','toLowerCase','gWAnq','testConfig','baIsQ','/wd/hub','EVENTS','XJYFt','createGroupsOfSuites','isTestObservabilitySession','finalExecution','playwright-webkit','replace','../utils/constants','stringify','NzFPK','config','platforms','getUserWorkerCount','enabled','existsSync'];a2_0x4f8d=function(){return _0x100258;};return a2_0x4f8d();}function a2_0x140e(_0x278ce6,_0x1eec04){const _0x4f8dc6=a2_0x4f8d();return a2_0x140e=function(_0x140ef2,_0x4904d4){_0x140ef2=_0x140ef2-0x1b9;let _0x82c483=_0x4f8dc6[_0x140ef2];return _0x82c483;},a2_0x140e(_0x278ce6,_0x1eec04);}(function(_0x274f9d,_0x147fca){const _0x4a5745=a2_0x140e,_0xf3f40=_0x274f9d();while(!![]){try{const _0x170737=parseInt(_0x4a5745(0x1e8))/0x1+parseInt(_0x4a5745(0x1eb))/0x2*(parseInt(_0x4a5745(0x24f))/0x3)+-parseInt(_0x4a5745(0x1fd))/0x4+-parseInt(_0x4a5745(0x253))/0x5+parseInt(_0x4a5745(0x240))/0x6+-parseInt(_0x4a5745(0x248))/0x7*(-parseInt(_0x4a5745(0x1e2))/0x8)+-parseInt(_0x4a5745(0x21e))/0x9;if(_0x170737===_0x147fca)break;else _0xf3f40['push'](_0xf3f40['shift']());}catch(_0x2a0c42){_0xf3f40['push'](_0xf3f40['shift']());}}}(a2_0x4f8d,0x44cb3));const fs=require('fs'),path=require(a2_0x1103ed(0x1ea)),util=require(a2_0x1103ed(0x20e)),process=require(a2_0x1103ed(0x21f)),logger=require(a2_0x1103ed(0x1dd))['winstonLogger'],{default:BrowserStackSetup}=require(a2_0x1103ed(0x242)),helper=require(a2_0x1103ed(0x223)),utilities=require(a2_0x1103ed(0x212)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x1103ed(0x1ba)),testOpsHelper=require(a2_0x1103ed(0x1f1)),TestHubHandler=require(a2_0x1103ed(0x243)),constants=require(a2_0x1103ed(0x1d5)),PerformanceTester=require(a2_0x1103ed(0x218)),{FRAMEWORKS}=require(a2_0x1103ed(0x241)),PerformanceEvents=require(a2_0x1103ed(0x23c))[a2_0x1103ed(0x1ce)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x537f74,_0x3f4e1c)=>{const _0x8147fa=a2_0x1103ed,_0x4299b0={};_0x4299b0[_0x8147fa(0x238)]=function(_0xfa5264,_0x7b71be){return _0xfa5264===_0x7b71be;},_0x4299b0[_0x8147fa(0x1c1)]=_0x8147fa(0x217),_0x4299b0[_0x8147fa(0x1ca)]=_0x8147fa(0x228);const _0x4d3da0=_0x4299b0;let _0x29b40d=null;const _0x4e9c18={};let _0x1ef2d7=_0x3f4e1c[_0x8147fa(0x1fe)](_0xfc7910=>_0xfc7910===_0x8147fa(0x229));_0x4d3da0[_0x8147fa(0x238)](_0x1ef2d7,-0x1)&&(_0x1ef2d7=_0x3f4e1c['findIndex'](_0xa8ef95=>_0xa8ef95==='-c'));if(!helper[_0x8147fa(0x1f3)](_0x537f74[_0x8147fa(0x1d8)])&&fs[_0x8147fa(0x1dc)](path['join'](process['cwd'](),_0x537f74['config'])))_0x29b40d=path['join'](process[_0x8147fa(0x250)](),_0x537f74[_0x8147fa(0x1d8)]),_0x3f4e1c[_0x8147fa(0x207)](_0x1ef2d7,0x2);else{if(!helper[_0x8147fa(0x1f3)](_0x537f74['c'])&&fs[_0x8147fa(0x1dc)](path[_0x8147fa(0x1f2)](process[_0x8147fa(0x250)](),_0x537f74['c'])))_0x29b40d=path[_0x8147fa(0x1f2)](process[_0x8147fa(0x250)](),_0x537f74['c']),_0x3f4e1c['slice'](_0x1ef2d7,0x2);else{if(fs[_0x8147fa(0x1dc)](path[_0x8147fa(0x1f2)](process[_0x8147fa(0x250)](),_0x4d3da0[_0x8147fa(0x1c1)])))_0x29b40d=path['join'](process[_0x8147fa(0x250)](),_0x4d3da0[_0x8147fa(0x1c1)]);else fs['existsSync'](path['join'](process[_0x8147fa(0x250)](),_0x4d3da0[_0x8147fa(0x1ca)]))&&(_0x29b40d=path[_0x8147fa(0x1f2)](process['cwd'](),_0x4d3da0[_0x8147fa(0x1ca)]));}}return process[_0x8147fa(0x222)][_0x8147fa(0x219)]=_0x29b40d,_0x29b40d;},getO11yRerunPattern=()=>{const _0x3b28e4=a2_0x1103ed,_0x1e851b=helper[_0x3b28e4(0x258)](process[_0x3b28e4(0x222)]['BROWSERSTACK_RERUN']);if(_0x1e851b){const _0x786ab2=process['env'][_0x3b28e4(0x1be)],_0x566a2b=[];if(helper[_0x3b28e4(0x20b)](_0x786ab2)&&!helper['isUndefined'](_0x786ab2)){_0x786ab2[_0x3b28e4(0x251)](',')['map'](_0x636d19=>{const _0xc0f562=_0x3b28e4;_0x566a2b[_0xc0f562(0x208)]('('+_0x636d19['trim']()+')');});const _0x41e6c4='^'+_0x566a2b[_0x3b28e4(0x1f2)]('|')+'$';return _0x41e6c4;}}return null;},a2_0x63b67d={};a2_0x63b67d['chrome']='chromium',a2_0x63b67d[a2_0x1103ed(0x23f)]=a2_0x1103ed(0x21d),a2_0x63b67d['playwright-firefox']=a2_0x1103ed(0x1e7),a2_0x63b67d[a2_0x1103ed(0x1d3)]=a2_0x1103ed(0x21c);const pwToCodeceptBrowser=a2_0x63b67d;async function run(_0x48c3ed,_0x5f5a8e,_0x484d9f){const _0x1ebf6f=a2_0x1103ed,_0x5ac91b={'RKXXO':function(_0x2c5c70,_0x58958f){return _0x2c5c70+_0x58958f;},'cuzsr':function(_0x5e7e93,_0x132be6){return _0x5e7e93(_0x132be6);},'baIsQ':function(_0x51b410,_0x15f795,_0x35a43e){return _0x51b410(_0x15f795,_0x35a43e);},'lHEDA':'helpers','VTYLo':function(_0x48e4eb){return _0x48e4eb();},'tUIIA':_0x1ebf6f(0x1cd),'jSNzZ':function(_0x5b5ed1){return _0x5b5ed1();},'Mzbtz':'Failed\x20:\x20','xlUaX':_0x1ebf6f(0x1b9),'dRzVu':_0x1ebf6f(0x1f8),'MrSnn':'0|4|1|2|3|5','OOYbz':function(_0x2ded2a,_0x35d0be,_0x1e1351){return _0x2ded2a(_0x35d0be,_0x1e1351);},'HDALN':_0x1ebf6f(0x20d),'YKbWm':_0x1ebf6f(0x200),'flFnD':_0x1ebf6f(0x205),'lOgHa':function(_0x3f473f,_0x38daa4){return _0x3f473f!=_0x38daa4;},'KpSID':function(_0x1e836c,_0x125cca){return _0x1e836c===_0x125cca;},'CciPj':function(_0x22c0fe,_0x1f9f63,_0x5cf1b7){return _0x22c0fe(_0x1f9f63,_0x5cf1b7);},'gOcHp':_0x1ebf6f(0x24e),'WLkuD':function(_0x3b0f08){return _0x3b0f08();},'bwdoP':function(_0x3d54a7,_0x162190){return _0x3d54a7*_0x162190;},'OyvOp':function(_0x44b128,_0xf779c9,_0x48be54){return _0x44b128(_0xf779c9,_0x48be54);},'sMovG':_0x1ebf6f(0x1e5),'QQeOH':'desiredCapabilities','NzFPK':function(_0x1b9c0b,_0x460359,_0x46f015){return _0x1b9c0b(_0x460359,_0x46f015);},'ZqGow':_0x1ebf6f(0x231),'uNqzv':_0x1ebf6f(0x227),'SWSQQ':'browserStackCwd','XJYFt':function(_0x5255be){return _0x5255be();}};await _0x484d9f[_0x1ebf6f(0x1c5)](_0x48c3ed),await helper['handleApp'](_0x484d9f[_0x1ebf6f(0x1d8)]);if(!_0x484d9f[_0x1ebf6f(0x1d8)])return;process[_0x1ebf6f(0x230)]=_0x48c3ed[_0x1ebf6f(0x230)];_0x48c3ed[_0x1ebf6f(0x230)]&&(process['env'][_0x1ebf6f(0x230)]=_0x48c3ed[_0x1ebf6f(0x230)]);const _0x3d71af=_0x5ac91b[_0x1ebf6f(0x249)](getUserCodeceptJSConfigs,_0x48c3ed,_0x5f5a8e);let _0x28c954={};_0x3d71af?(logger[_0x1ebf6f(0x1c6)](_0x1ebf6f(0x22b)+_0x3d71af),_0x28c954=CodeceptJS[_0x1ebf6f(0x1d8)]['load'](_0x3d71af)):logger[_0x1ebf6f(0x1c6)](_0x5ac91b[_0x1ebf6f(0x257)]);let _0x16d43b=![];_0x5ac91b[_0x1ebf6f(0x249)](nestedKeyValue,_0x28c954,[_0x5ac91b[_0x1ebf6f(0x20f)],_0x5ac91b[_0x1ebf6f(0x215)]])&&(_0x16d43b=!![]);const _0x3ae3aa=_0x16d43b?_0x5ac91b[_0x1ebf6f(0x215)]:_0x5ac91b[_0x1ebf6f(0x1c4)];let _0x516470=!_0x16d43b?helper[_0x1ebf6f(0x247)](_0x484d9f['config']):![];!helper['isUndefined'](_0x484d9f['config'][_0x1ebf6f(0x203)])&&(process[_0x1ebf6f(0x222)][_0x1ebf6f(0x1f7)]=JSON['stringify'](_0x484d9f[_0x1ebf6f(0x1d8)][_0x1ebf6f(0x203)]));let _0x2394e2=_0x484d9f['config'][_0x1ebf6f(0x202)];_0x2394e2=_0x2394e2||_0x5ac91b['cuzsr'](checkAccessibilityPlatformConfig,_0x484d9f[_0x1ebf6f(0x1d8)]),process['env'][_0x1ebf6f(0x23a)]=_0x2394e2;_0x2394e2&&(_0x516470=!_0x2394e2);_0x5ac91b['lOgHa'](_0x484d9f[_0x1ebf6f(0x1d8)][_0x1ebf6f(0x1ff)],null)?process[_0x1ebf6f(0x222)][_0x1ebf6f(0x1c3)]=_0x484d9f[_0x1ebf6f(0x1d8)][_0x1ebf6f(0x1ff)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5ac91b['KpSID'](_0x3ae3aa,_0x5ac91b[_0x1ebf6f(0x215)]);const _0x46a6e9=_0x5ac91b[_0x1ebf6f(0x1bc)](nestedKeyValue,_0x28c954,[_0x5ac91b[_0x1ebf6f(0x1bf)]]),_0x3b16c9=_0x46a6e9&&!helper['isEmpty'](_0x46a6e9)?FRAMEWORKS[_0x1ebf6f(0x1f4)]:FRAMEWORKS[_0x1ebf6f(0x204)],_0x5288f7=await TestHubHandler[_0x1ebf6f(0x1fa)](_0x3b16c9,_0x484d9f);_0x2394e2&&_0x5ac91b[_0x1ebf6f(0x20a)](setAccessibilityCapabilities,_0x484d9f['config']);const _0x5aa74f={},_0x49c10d=[],_0x5ed30a=_0x484d9f[_0x1ebf6f(0x1d8)][_0x1ebf6f(0x252)]||helper[_0x1ebf6f(0x1da)](_0x48c3ed,_0x5f5a8e,_0x484d9f[_0x1ebf6f(0x1d8)],constants['FRAMEWORKS'][_0x1ebf6f(0x204)])||0x1;let _0x23efc5=0x1;if(_0x5ac91b[_0x1ebf6f(0x22e)](isBrowserstackInfra)){const _0x478ebd=helper[_0x1ebf6f(0x23b)](_0x484d9f[_0x1ebf6f(0x1d8)],_0x516470,constants['FRAMEWORKS']['CODECEPT']);_0x478ebd[_0x1ebf6f(0x214)](_0x21f2a7=>{const _0x5b7d82=_0x1ebf6f;helper[_0x5b7d82(0x239)](_0x21f2a7);}),helper[_0x1ebf6f(0x211)](_0x484d9f[_0x1ebf6f(0x1d8)])?_0x23efc5=_0x5ac91b[_0x1ebf6f(0x1fb)](_0x5ed30a,_0x484d9f['config']['platforms'][_0x1ebf6f(0x1f9)]):_0x23efc5=_0x5ed30a,_0x478ebd[_0x1ebf6f(0x214)](_0x98d006=>{const _0x3ddbd2=_0x1ebf6f,_0x5a7620=_0x5ac91b[_0x3ddbd2(0x22f)](helper[_0x3ddbd2(0x1c7)](_0x98d006,'_'),'_'+Date[_0x3ddbd2(0x244)]()),_0x177521=((()=>{const _0x5f1d03=_0x3ddbd2;if(_0x16d43b){const _0xb81350=pwToCodeceptBrowser[_0x98d006[_0x5f1d03(0x22c)]]||_0x98d006[_0x5f1d03(0x22c)];return{'browser':_0xb81350,[_0xb81350]:{'browserWSEndpoint':_0x5ac91b[_0x5f1d03(0x22f)](helper[_0x5f1d03(0x226)](_0x484d9f[_0x5f1d03(0x1d8)]),_0x5ac91b[_0x5f1d03(0x20a)](encodeURIComponent,JSON[_0x5f1d03(0x1d6)](_0x98d006)))}};}const _0x32c896={};return _0x32c896[_0x5f1d03(0x1ef)]=_0x98d006,_0x32c896[_0x5f1d03(0x1fc)]=_0x484d9f[_0x5f1d03(0x1d8)]['userName'],_0x32c896[_0x5f1d03(0x1c2)]=_0x484d9f[_0x5f1d03(0x1d8)][_0x5f1d03(0x21a)],_0x32c896;})()),_0x5d8e05=_0x5ac91b[_0x3ddbd2(0x1cc)](nestedKeyValue,_0x28c954,[_0x5ac91b[_0x3ddbd2(0x20f)],_0x3ae3aa]);_0x5aa74f[_0x5a7620]=_0x5d8e05?helper[_0x3ddbd2(0x237)](_0x177521,_0x5d8e05):_0x177521;if(!_0x16d43b){_0x5aa74f[_0x5a7620]['browser']=_0x98d006[_0x3ddbd2(0x22c)]||_0x177521[_0x3ddbd2(0x1e5)];if(_0x5ac91b['VTYLo'](isBrowserstackInfra)){_0x5aa74f[_0x5a7620]['host']=constants[_0x3ddbd2(0x24a)][_0x3ddbd2(0x1d4)](_0x5ac91b[_0x3ddbd2(0x233)],'')[_0x3ddbd2(0x1d4)](/https?:\/\//,'');;_0x5aa74f[_0x5a7620]['path']=_0x5ac91b[_0x3ddbd2(0x233)];}}_0x49c10d[_0x3ddbd2(0x208)](_0x5a7620);});}else{_0x23efc5=0x1;if(_0x16d43b){const _0x5583ee=_0x5ac91b['OyvOp'](nestedKeyValue,_0x28c954,[_0x5ac91b[_0x1ebf6f(0x20f)],_0x3ae3aa,_0x5ac91b[_0x1ebf6f(0x22d)]]),_0x54bf58=_0x5ac91b[_0x1ebf6f(0x249)](nestedKeyValue,_0x28c954,[_0x5ac91b[_0x1ebf6f(0x20f)],_0x3ae3aa,_0x5583ee]);if(_0x54bf58&&_0x54bf58['browserWSEndpoint']){const _0x56d53b={};_0x56d53b[_0x1ebf6f(0x1d9)]=[],_0x54bf58[_0x1ebf6f(0x1f6)]=helper[_0x1ebf6f(0x23b)](Object[_0x1ebf6f(0x22a)]({},_0x484d9f[_0x1ebf6f(0x1d8)],_0x56d53b),null,_0x3b16c9[_0x1ebf6f(0x1c9)](),null,null,_0x54bf58['browserWSEndpoint']);}}else{const _0x5d8d41={};_0x5d8d41[_0x1ebf6f(0x1d9)]=[],_0x28c954[_0x5ac91b[_0x1ebf6f(0x20f)]][_0x3ae3aa][_0x5ac91b[_0x1ebf6f(0x1bd)]]=helper[_0x1ebf6f(0x23b)](Object[_0x1ebf6f(0x22a)]({},_0x484d9f[_0x1ebf6f(0x1d8)],_0x5d8d41),null,_0x3b16c9[_0x1ebf6f(0x1c9)](),_0x5ac91b[_0x1ebf6f(0x1d7)](nestedKeyValue,_0x28c954,[_0x5ac91b[_0x1ebf6f(0x20f)],_0x3ae3aa,_0x5ac91b[_0x1ebf6f(0x1bd)]])||{},null,null);}_0x5aa74f[_0x5ac91b[_0x1ebf6f(0x256)]]=_0x28c954,_0x49c10d[_0x1ebf6f(0x208)](_0x5ac91b['ZqGow']);}const _0x2a4cf4={};_0x2a4cf4[_0x1ebf6f(0x1cb)]=_0x3d71af;const _0x166cbf=_0x2a4cf4,_0x48db1d=path[_0x1ebf6f(0x1f2)](__dirname,_0x5ac91b['uNqzv']),_0x39c61d=process[_0x1ebf6f(0x250)]();process[_0x1ebf6f(0x222)][_0x5ac91b[_0x1ebf6f(0x232)]]=_0x39c61d,process['chdir'](path[_0x1ebf6f(0x209)](_0x3d71af));const _0x59896b=new CodeceptJS['Workers'](null,_0x166cbf),_0x1cb733=_0x59896b[_0x1ebf6f(0x1d0)](_0x23efc5),_0x3d6fe0=testOpsHelper[_0x1ebf6f(0x1d1)](),_0x434e8d=_0x49c10d[_0x1ebf6f(0x24d)](_0xa51bf3=>{const _0x2bff9f=_0x1ebf6f,_0x30a48c={};_0x30a48c[_0x2bff9f(0x200)]=_0x5aa74f[_0xa51bf3];const _0x3915db={};_0x3915db[_0x2bff9f(0x205)]=_0x5aa74f[_0xa51bf3];const _0x4f11c8=_0x16d43b?_0x30a48c:_0x3915db,_0x5b085d=_0x5ac91b[_0x2bff9f(0x1e1)](getO11yRerunPattern),_0x355ef0={};_0x355ef0['helpers']=_0x4f11c8;const _0x31f2e2={};_0x31f2e2[_0x2bff9f(0x1c8)]=_0x48db1d,_0x31f2e2[_0x2bff9f(0x1db)]=!![],_0x31f2e2['skipSessionName']=_0x484d9f[_0x2bff9f(0x1d8)]['testContextOptions'][_0x2bff9f(0x1e9)],_0x31f2e2[_0x2bff9f(0x1e3)]=_0x484d9f[_0x2bff9f(0x1d8)][_0x2bff9f(0x201)][_0x2bff9f(0x1e3)],_0x31f2e2[_0x2bff9f(0x1ff)]=_0x3d6fe0,_0x31f2e2['frameworkName']=_0x3b16c9;const _0x2a0023={};_0x2a0023[_0x2bff9f(0x221)]=_0x31f2e2;const _0x538a7d={};return _0x538a7d[_0x2bff9f(0x224)]=_0x2a0023,helper[_0x2bff9f(0x237)]({},_0x28c954,_0x5ac91b[_0x2bff9f(0x206)](isBrowserstackInfra)?_0x355ef0:{},_0x5b085d?{'grep':_0x5b085d}:{},_0x538a7d);});for(const _0x436a90 of _0x434e8d){for(const _0x5b1493 of _0x1cb733){const _0x38b054=_0x59896b[_0x1ebf6f(0x23d)]();_0x38b054[_0x1ebf6f(0x255)](_0x5b1493),_0x38b054[_0x1ebf6f(0x21b)](_0x436a90);const _0x4d3bae={};_0x4d3bae[_0x1ebf6f(0x1d8)]=_0x3d71af,_0x38b054['addOptions'](_0x4d3bae);}}_0x59896b['on'](CodeceptJS[_0x1ebf6f(0x1f0)]['test'][_0x1ebf6f(0x259)],(_0x5b4849,_0x34aa5d)=>{const _0x1b7efb=_0x1ebf6f;console[_0x1b7efb(0x220)](_0x5ac91b[_0x1b7efb(0x235)],_0x5b4849[_0x1b7efb(0x1ed)]);const _0x2ba9ac={[_0x5b4849[_0x1b7efb(0x1ed)]]:_0x5b4849[_0x1b7efb(0x213)][_0x1b7efb(0x236)]};_testErrorData[_0x1b7efb(0x208)](_0x2ba9ac);}),_0x59896b['on'](CodeceptJS['event'][_0x1ebf6f(0x1e4)][_0x1ebf6f(0x254)],async _0x215982=>{const _0x4665ff=_0x1ebf6f;console[_0x4665ff(0x220)](_0x5ac91b[_0x4665ff(0x1de)],_0x215982[_0x4665ff(0x1ed)]);}),_0x59896b['on'](CodeceptJS[_0x1ebf6f(0x1f0)][_0x1ebf6f(0x1e4)][_0x1ebf6f(0x1ee)],async _0x2603ed=>{const _0x10ada4=_0x1ebf6f;console[_0x10ada4(0x220)](_0x5ac91b[_0x10ada4(0x20c)],_0x2603ed[_0x10ada4(0x1ed)]);}),_0x59896b['on'](CodeceptJS[_0x1ebf6f(0x1f0)][_0x1ebf6f(0x225)][_0x1ebf6f(0x24b)],async()=>{const _0xd35870=_0x1ebf6f,_0x48a1a2=_0x5ac91b['MrSnn']['split']('|');let _0x351cff=0x0;while(!![]){switch(_0x48a1a2[_0x351cff++]){case'0':PerformanceTester[_0xd35870(0x210)](PerformanceEvents[_0xd35870(0x1c0)]);continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':utilities[_0xd35870(0x1d2)](_0x484d9f);continue;case'3':try{await TestHubHandler[_0xd35870(0x1f5)]();}catch(_0x42db3b){logger[_0xd35870(0x24c)](_0xd35870(0x1e0)+util[_0xd35870(0x245)](_0x42db3b));}continue;case'4':_0x484d9f[_0xd35870(0x1ec)]=_testErrorData;continue;case'5':_0x59896b[_0xd35870(0x1bb)]();continue;}break;}});async function _0x434e9a(){const _0x3d6723=_0x1ebf6f;try{await _0x59896b[_0x3d6723(0x1df)](),await _0x59896b[_0x3d6723(0x1e6)]();}finally{process[_0x3d6723(0x23e)](_0x39c61d),await _0x59896b[_0x3d6723(0x246)]();}}PerformanceTester['end'](PerformanceEvents[_0x1ebf6f(0x216)]),_0x5ac91b[_0x1ebf6f(0x1cf)](_0x434e9a);}module[a2_0x1103ed(0x234)]=run;
@@ -1 +1 @@
1
- const a3_0xa706bd=a3_0x3663;function a3_0x3663(_0x4c8a21,_0x3d5689){const _0x194133=a3_0x1941();return a3_0x3663=function(_0x366309,_0x468155){_0x366309=_0x366309-0xf1;let _0x2d42d0=_0x194133[_0x366309];return _0x2d42d0;},a3_0x3663(_0x4c8a21,_0x3d5689);}(function(_0x4ab9d1,_0x3eaa87){const _0x947f27=a3_0x3663,_0x490cd8=_0x4ab9d1();while(!![]){try{const _0x497426=-parseInt(_0x947f27(0xf3))/0x1*(-parseInt(_0x947f27(0x10e))/0x2)+parseInt(_0x947f27(0x121))/0x3*(-parseInt(_0x947f27(0xfd))/0x4)+parseInt(_0x947f27(0x122))/0x5*(parseInt(_0x947f27(0x110))/0x6)+parseInt(_0x947f27(0x136))/0x7*(-parseInt(_0x947f27(0xf6))/0x8)+-parseInt(_0x947f27(0x126))/0x9+-parseInt(_0x947f27(0xf7))/0xa*(parseInt(_0x947f27(0x125))/0xb)+parseInt(_0x947f27(0x132))/0xc*(parseInt(_0x947f27(0xf8))/0xd);if(_0x497426===_0x3eaa87)break;else _0x490cd8['push'](_0x490cd8['shift']());}catch(_0x5348eb){_0x490cd8['push'](_0x490cd8['shift']());}}}(a3_0x1941,0x83e96));function a3_0x1941(){const _0x3fa6a0=['1282640cQSlag','platform_version','GXPcj','5581488cLshXI','3666366XhTOve','caps','../../helpers/test-observability/utils','config','bsSessionId','GyXci','NINAf','getDetails','../../bin/playwright/sessionDetails','../../helpers/logger','DQzal','platformVersion','1842492kbEtdg','warn','YCyeH','xCjvP','309869FXhLAa','browser','wMWsU','qIsKL','GlaHt','latest','searchParams','EwsUf','1scxndy','dnfXI','osVersion','88UsncCi','20uuVpMB','156VIhOiO','jbbqq','Kkrbd','browserstack_accessibility_automation_script','fetchPlatformDetails','1850536FyEutR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','pufIF','cNEQj','unknown_grid','platformName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','kxgvX','processWebDriverConfig','NYQPD','includes','UvxnQ','os_version','browserName','bstack:options','sessionId','browserWSEndpoint','86934PDJDCk','accessibilityPlatform','24rZnThd','name','pNeuG','CccVt','LOXBy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserstack_executor','VPLwW','../../helpers/helper','capabilities','MnAeC','browserVersion','ZiSIs','browser_version','Playwright','SKLKY','YAIgE','3XkJeuW'];a3_0x1941=function(){return _0x3fa6a0;};return a3_0x1941();}const {isUndefined,nestedKeyValue}=require(a3_0xa706bd(0x118)),logger=require(a3_0xa706bd(0x12f))['winstonLogger'],PlaywrightSessionDetails=require(a3_0xa706bd(0x12e)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0xa706bd(0x128)),getOSVersionFromCaps=_0x4382e5=>{const _0x191732=a3_0xa706bd,_0x194161={};_0x194161[_0x191732(0x106)]=_0x191732(0x10b),_0x194161[_0x191732(0x139)]='platformVersion',_0x194161['GlaHt']=_0x191732(0x123),_0x194161['YCyeH']=_0x191732(0xf5),_0x194161[_0x191732(0x108)]=_0x191732(0x109);const _0x44a7c1=_0x194161;if(!_0x4382e5)return null;const _0x5c6d40=_0x4382e5[_0x44a7c1[_0x191732(0x106)]],_0x443715=[_0x44a7c1['qIsKL'],_0x44a7c1[_0x191732(0x13a)],_0x44a7c1[_0x191732(0x134)],_0x44a7c1[_0x191732(0x108)]];for(const _0x45944d of _0x443715){if(_0x5c6d40&&_0x5c6d40[_0x45944d])return _0x5c6d40[_0x45944d];else{if(_0x4382e5[_0x45944d])return _0x4382e5[_0x45944d];}}return null;};exports[a3_0xa706bd(0xfc)]=_0x56d6d5=>{const _0x161494=a3_0xa706bd,_0x1afcd1={'RRbqw':_0x161494(0x101),'MnAeC':function(_0x20802f,_0xa0a76d){return _0x20802f===_0xa0a76d;},'dnfXI':'WebDriver','NINAf':function(_0x2496aa,_0x3d0ec4){return _0x2496aa(_0x3d0ec4);},'GXPcj':function(_0x328400,_0x567b64,_0x990157){return _0x328400(_0x567b64,_0x990157);},'jbbqq':_0x161494(0x129),'kKDTw':'desiredCapabilities','VPLwW':function(_0x248bca,_0x5934fc){return _0x248bca===_0x5934fc;},'jGYND':_0x161494(0x11e),'kxgvX':_0x161494(0x137),'Kkrbd':_0x161494(0x10d),'SKLKY':_0x161494(0x127),'ZiSIs':function(_0xa7d73f,_0x3aac39){return _0xa7d73f(_0x3aac39);}};if(!_0x56d6d5)return null;let _0x3cb377=global['__cloud_provider___']||_0x1afcd1['RRbqw'];if(_0x1afcd1[_0x161494(0x11a)](_0x56d6d5['constructor']['name'],_0x1afcd1[_0x161494(0xf4)])){const _0x1ec1a0=_0x56d6d5['browser'];if(!_0x1ec1a0)return null;const _0x350d9=_0x1ec1a0[_0x161494(0x119)],_0x141f65=_0x1afcd1[_0x161494(0x12c)](getOSVersionFromCaps,_0x1afcd1[_0x161494(0x124)](nestedKeyValue,_0x56d6d5,[_0x1afcd1[_0x161494(0xf9)],_0x1afcd1['kKDTw']]));return{[_0x3cb377]:{'browser':_0x350d9['browserName'],'browser_version':_0x350d9['browserVersion'],'capabilities':_0x350d9,'platform':_0x350d9[_0x161494(0x102)],'platform_version':_0x350d9[_0x161494(0x131)]||_0x141f65,'product':_0x1afcd1[_0x161494(0x12c)](getObservabilityLinkedProductName,_0x350d9),'session_id':_0x1ec1a0[_0x161494(0x10c)]}};}else{if(_0x1afcd1[_0x161494(0x117)](_0x56d6d5['constructor'][_0x161494(0x111)],_0x1afcd1['jGYND'])){const _0x580256=PlaywrightSessionDetails[_0x161494(0x12d)]();_0x3cb377=_0x580256['cloudProvider']||_0x3cb377;const _0x5683ca=_0x1afcd1[_0x161494(0x124)](nestedKeyValue,_0x56d6d5,[_0x1afcd1['jbbqq'],_0x1afcd1[_0x161494(0x104)],_0x1afcd1[_0x161494(0xfa)]]),_0x12d971=_0x5683ca?JSON['parse'](new URL(_0x5683ca)[_0x161494(0xf1)]['get'](_0x1afcd1[_0x161494(0x11f)])):{};return{[_0x3cb377]:{'browser':_0x580256['browser']||_0x12d971['browserName'],'browser_version':_0x580256[_0x161494(0x11d)]||_0x12d971['browser_version'],'capabilities':_0x12d971,'platform':_0x580256['platform'],'platform_version':_0x580256['platform_version'],'product':_0x1afcd1[_0x161494(0x11c)](getObservabilityLinkedProductName,_0x12d971),'session_id':_0x580256[_0x161494(0x12a)]}};}}},exports[a3_0xa706bd(0x105)]=_0x111741=>{const _0x2377b2=a3_0xa706bd,_0x272ca1={'FTHrV':function(_0x5a99c9){return _0x5a99c9();},'CccVt':function(_0x387b3d,_0x51ce0b){return _0x387b3d===_0x51ce0b;},'pufIF':_0x2377b2(0x13b),'wMWsU':function(_0x17c4f5,_0x555e82){return _0x17c4f5>_0x555e82;},'OPXcj':function(_0x5b8526,_0x5c7642){return _0x5b8526(_0x5c7642);},'EwsUf':_0x2377b2(0x103),'cNEQj':function(_0x5115d2,_0x59a31a){return _0x5115d2===_0x59a31a;},'jyzyF':'chrome','GyXci':function(_0x4e7881,_0x25f09f){return _0x4e7881===_0x25f09f;},'DQzal':'playwright-chromium','pNeuG':_0x2377b2(0x115),'LOXBy':function(_0x32ab4f,_0x724faa){return _0x32ab4f(_0x724faa);},'EFuEh':_0x2377b2(0xfe)};if(_0x272ca1['FTHrV'](isAccessibilityAutomationSession)){const _0xa5ed81=_0x111741[_0x2377b2(0x137)],_0x2703c7=_0xa5ed81[_0x2377b2(0x119)];global[_0x2377b2(0x10f)]=!![],!(_0x272ca1[_0x2377b2(0x113)](_0x2703c7[_0x2377b2(0x11b)],_0x272ca1[_0x2377b2(0xff)])||_0x272ca1[_0x2377b2(0x138)](_0x272ca1['OPXcj'](parseInt,_0x2703c7[_0x2377b2(0x11b)]),0x5e))&&(logger[_0x2377b2(0x133)](_0x272ca1[_0x2377b2(0xf2)]),global[_0x2377b2(0x10f)]=![]),!(_0x272ca1[_0x2377b2(0x100)](_0x2703c7[_0x2377b2(0x10a)],_0x272ca1['jyzyF'])||_0x272ca1[_0x2377b2(0x12b)](_0x2703c7['browserName'],_0x272ca1[_0x2377b2(0x130)]))&&(logger[_0x2377b2(0x133)](_0x272ca1[_0x2377b2(0x112)]),global[_0x2377b2(0x10f)]=![]),!_0x272ca1[_0x2377b2(0x114)](isUndefined,_0x2703c7['deviceName'])&&(logger[_0x2377b2(0x133)](_0x272ca1['EFuEh']),global['accessibilityPlatform']=![]);}},exports['shouldPatchExecuteScript']=_0x32d036=>{const _0x477653=a3_0xa706bd,_0xc81876={};_0xc81876[_0x477653(0x120)]=_0x477653(0x116),_0xc81876[_0x477653(0x135)]=_0x477653(0xfb);const _0x85a493=_0xc81876;if(!_0x32d036)return![];return!_0x32d036[_0x477653(0x107)](_0x85a493[_0x477653(0x120)])&&!_0x32d036[_0x477653(0x107)](_0x85a493[_0x477653(0x135)]);};
1
+ const a3_0x5b6e92=a3_0x235b;(function(_0x24ecf1,_0x3deca7){const _0x1f5c9f=a3_0x235b,_0x2904e0=_0x24ecf1();while(!![]){try{const _0x4ab737=parseInt(_0x1f5c9f(0x170))/0x1+-parseInt(_0x1f5c9f(0x147))/0x2+parseInt(_0x1f5c9f(0x16d))/0x3*(parseInt(_0x1f5c9f(0x18c))/0x4)+-parseInt(_0x1f5c9f(0x15f))/0x5*(parseInt(_0x1f5c9f(0x152))/0x6)+-parseInt(_0x1f5c9f(0x17c))/0x7*(parseInt(_0x1f5c9f(0x168))/0x8)+parseInt(_0x1f5c9f(0x190))/0x9+-parseInt(_0x1f5c9f(0x192))/0xa;if(_0x4ab737===_0x3deca7)break;else _0x2904e0['push'](_0x2904e0['shift']());}catch(_0xdfb6bc){_0x2904e0['push'](_0x2904e0['shift']());}}}(a3_0xfc24,0x6cea6));function a3_0x235b(_0xbc321a,_0x7cb55c){const _0xfc24d7=a3_0xfc24();return a3_0x235b=function(_0x235b85,_0x8e320d){_0x235b85=_0x235b85-0x146;let _0x39a3d9=_0xfc24d7[_0x235b85];return _0x39a3d9;},a3_0x235b(_0xbc321a,_0x7cb55c);}const {isUndefined,nestedKeyValue}=require(a3_0x5b6e92(0x16f)),logger=require('../../helpers/logger')['winstonLogger'],PlaywrightSessionDetails=require(a3_0x5b6e92(0x18f)),{isAccessibilityAutomationSession}=require(a3_0x5b6e92(0x177)),{getObservabilityLinkedProductName}=require(a3_0x5b6e92(0x186)),getOSVersionFromCaps=_0x326d30=>{const _0x3c871d=a3_0x5b6e92,_0x1cdc06={};_0x1cdc06[_0x3c871d(0x165)]=_0x3c871d(0x14c),_0x1cdc06[_0x3c871d(0x18e)]=_0x3c871d(0x161),_0x1cdc06['gaoOp']=_0x3c871d(0x175),_0x1cdc06[_0x3c871d(0x189)]=_0x3c871d(0x193),_0x1cdc06['wnFPb']=_0x3c871d(0x149);const _0x264b36=_0x1cdc06;if(!_0x326d30)return null;const _0x67082a=_0x326d30[_0x264b36[_0x3c871d(0x165)]],_0x27dea9=[_0x264b36['ZicCA'],_0x264b36[_0x3c871d(0x14d)],_0x264b36[_0x3c871d(0x189)],_0x264b36[_0x3c871d(0x148)]];for(const _0x553a8c of _0x27dea9){if(_0x67082a&&_0x67082a[_0x553a8c])return _0x67082a[_0x553a8c];else{if(_0x326d30[_0x553a8c])return _0x326d30[_0x553a8c];}}return null;};function a3_0xfc24(){const _0x383525=['platform_version','searchParams','../../helpers/accessibility-automation/helper','browser','qceVk','gZnyo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','19145xFALIW','chrome','capabilities','zPCYp','WebDriver','MdSSy','latest','jdCWw','LXWeO','browserVersion','../../helpers/test-observability/utils','name','warn','RBTBv','browserWSEndpoint','XkNnl','17012JgiLoL','xUDGD','ZicCA','../../bin/playwright/sessionDetails','6365502bKOPkl','browserstack_accessibility_automation_script','9344780GXucIj','osVersion','browserName','cloudProvider','Wnlho','LBHBb','302532BQDpxu','wnFPb','os_version','platform','fetchPlatformDetails','bstack:options','gaoOp','constructor','__cloud_provider___','bsSessionId','unknown_grid','3786SnDcpF','AiFPq','scFLB','platformName','kcphC','caps','rJhTA','config','deviceName','Thwxj','vHLAk','shouldPatchExecuteScript','browserstack_executor','2290NdKAIh','get','platformVersion','accessibilityPlatform','processWebDriverConfig','parse','JSFkb','YjErb','sessionId','296YmKslb','browser_version','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','cVHAq','includes','615vHhsPo','hSwFv','../../helpers/helper','342912VqGoba','eaRHM','GFiQS','RzjpG','getDetails'];a3_0xfc24=function(){return _0x383525;};return a3_0xfc24();}exports[a3_0x5b6e92(0x14b)]=_0x3d9c4e=>{const _0x5935d1=a3_0x5b6e92,_0x162d6b={'rJhTA':_0x5935d1(0x151),'XkNnl':function(_0x472f55,_0x56f229){return _0x472f55===_0x56f229;},'YjErb':_0x5935d1(0x180),'Wnlho':function(_0x68ea29,_0x143902){return _0x68ea29(_0x143902);},'eaRHM':function(_0x3cb779,_0x31c502,_0x2619fa){return _0x3cb779(_0x31c502,_0x2619fa);},'AiFPq':_0x5935d1(0x159),'Bgorh':'desiredCapabilities','RzjpG':function(_0x2625ba,_0x4679c4){return _0x2625ba(_0x4679c4);},'hSwFv':function(_0x3ab8bb,_0x42d869){return _0x3ab8bb===_0x42d869;},'Thwxj':'Playwright','qceVk':function(_0x363b10,_0x3b8e67,_0x6963b4){return _0x363b10(_0x3b8e67,_0x6963b4);},'MdSSy':_0x5935d1(0x178),'kcphC':_0x5935d1(0x18a),'vHLAk':_0x5935d1(0x157)};if(!_0x3d9c4e)return null;let _0x11bf05=global[_0x5935d1(0x14f)]||_0x162d6b[_0x5935d1(0x158)];if(_0x162d6b[_0x5935d1(0x18b)](_0x3d9c4e[_0x5935d1(0x14e)][_0x5935d1(0x187)],_0x162d6b[_0x5935d1(0x166)])){const _0x560761=_0x3d9c4e[_0x5935d1(0x178)];if(!_0x560761)return null;const _0xc49bdc=_0x560761['capabilities'],_0x2d62b6=_0x162d6b[_0x5935d1(0x196)](getOSVersionFromCaps,_0x162d6b[_0x5935d1(0x171)](nestedKeyValue,_0x3d9c4e,[_0x162d6b['AiFPq'],_0x162d6b['Bgorh']]));return{[_0x11bf05]:{'browser':_0xc49bdc[_0x5935d1(0x194)],'browser_version':_0xc49bdc[_0x5935d1(0x185)],'capabilities':_0xc49bdc,'platform':_0xc49bdc[_0x5935d1(0x155)],'platform_version':_0xc49bdc[_0x5935d1(0x161)]||_0x2d62b6,'product':_0x162d6b[_0x5935d1(0x173)](getObservabilityLinkedProductName,_0xc49bdc),'session_id':_0x560761[_0x5935d1(0x167)]}};}else{if(_0x162d6b[_0x5935d1(0x16e)](_0x3d9c4e[_0x5935d1(0x14e)][_0x5935d1(0x187)],_0x162d6b[_0x5935d1(0x15b)])){const _0x40f2fa=PlaywrightSessionDetails[_0x5935d1(0x174)]();_0x11bf05=_0x40f2fa[_0x5935d1(0x195)]||_0x11bf05;const _0x460605=_0x162d6b[_0x5935d1(0x179)](nestedKeyValue,_0x3d9c4e,[_0x162d6b[_0x5935d1(0x153)],_0x162d6b[_0x5935d1(0x181)],_0x162d6b[_0x5935d1(0x156)]]),_0x10db59=_0x460605?JSON[_0x5935d1(0x164)](new URL(_0x460605)[_0x5935d1(0x176)][_0x5935d1(0x160)](_0x162d6b[_0x5935d1(0x15c)])):{};return{[_0x11bf05]:{'browser':_0x40f2fa[_0x5935d1(0x178)]||_0x10db59[_0x5935d1(0x194)],'browser_version':_0x40f2fa['browser_version']||_0x10db59[_0x5935d1(0x169)],'capabilities':_0x10db59,'platform':_0x40f2fa[_0x5935d1(0x14a)],'platform_version':_0x40f2fa[_0x5935d1(0x175)],'product':_0x162d6b[_0x5935d1(0x173)](getObservabilityLinkedProductName,_0x10db59),'session_id':_0x40f2fa[_0x5935d1(0x150)]}};}}},exports[a3_0x5b6e92(0x163)]=_0x42ee6a=>{const _0x375395=a3_0x5b6e92,_0x2523fb={'scFLB':function(_0xd9601e){return _0xd9601e();},'gZnyo':function(_0x4feef4,_0x1e9947){return _0x4feef4===_0x1e9947;},'LBHBb':_0x375395(0x182),'xUDGD':function(_0xde136c,_0x5ec2bd){return _0xde136c>_0x5ec2bd;},'zPCYp':function(_0x7997c5,_0x1347f4){return _0x7997c5(_0x1347f4);},'bIrgS':_0x375395(0x16a),'zhfNP':function(_0x5c03b2,_0x2d525a){return _0x5c03b2===_0x2d525a;},'ONTPB':_0x375395(0x17d),'LXWeO':'playwright-chromium','jdCWw':_0x375395(0x17b),'FYDnI':function(_0x187ae7,_0x4a86af){return _0x187ae7(_0x4a86af);},'GFiQS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0x2523fb[_0x375395(0x154)](isAccessibilityAutomationSession)){const _0x3c3bf0=_0x42ee6a['browser'],_0x1aa247=_0x3c3bf0[_0x375395(0x17e)];global['accessibilityPlatform']=!![],!(_0x2523fb[_0x375395(0x17a)](_0x1aa247[_0x375395(0x185)],_0x2523fb[_0x375395(0x146)])||_0x2523fb[_0x375395(0x18d)](_0x2523fb[_0x375395(0x17f)](parseInt,_0x1aa247[_0x375395(0x185)]),0x5e))&&(logger['warn'](_0x2523fb['bIrgS']),global[_0x375395(0x162)]=![]),!(_0x2523fb['zhfNP'](_0x1aa247[_0x375395(0x194)],_0x2523fb['ONTPB'])||_0x2523fb[_0x375395(0x17a)](_0x1aa247[_0x375395(0x194)],_0x2523fb[_0x375395(0x184)]))&&(logger[_0x375395(0x188)](_0x2523fb[_0x375395(0x183)]),global['accessibilityPlatform']=![]),!_0x2523fb['FYDnI'](isUndefined,_0x1aa247[_0x375395(0x15a)])&&(logger[_0x375395(0x188)](_0x2523fb[_0x375395(0x172)]),global[_0x375395(0x162)]=![]);}},exports[a3_0x5b6e92(0x15d)]=_0x46fd1d=>{const _0x57fbba=a3_0x5b6e92,_0x33c363={};_0x33c363[_0x57fbba(0x16b)]=_0x57fbba(0x15e),_0x33c363['FmXAz']=_0x57fbba(0x191);const _0x3944c9=_0x33c363;if(!_0x46fd1d)return![];return!_0x46fd1d[_0x57fbba(0x16c)](_0x3944c9[_0x57fbba(0x16b)])&&!_0x46fd1d[_0x57fbba(0x16c)](_0x3944c9['FmXAz']);};
@@ -1 +1 @@
1
- function a4_0x5ab0(){const _0x22d8b5=['HwyeG','__platformCaps','status','TEmHE','failed','connect','message','ENWzq','FXIsA','exports','GsDCH','findGitConfig','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','EKzde','failure','comment','relative','dNFAb','statSync','_testEnv','testAnalyticsId','dadqZ','gFiet','GRLzB','sUExA','CODECEPT','NkLSC','../playwright/accessibility-helper','YVwQq','dWErh','DoPTW','logs','XsmTE','browserType.js','LjbWW','HookRunFinished','concat','toLowerCase','finished','now','bwEha','debug','javascript','DpZwr','util','zNzwm','startedAt','start','../../helpers/test-observability/requestQueueHandler','bddSteps','getFailureType','ckRxW','TestRunFinished','keyword','parent','setupBrowserDetails','fullTitle','join','dirname','QtcfS','currentTest','stop','failure_backtrace','kGSSm','getRootParentFile','uuid','.git','TestRunSkipped','gxXaz','2GACOys','hooks','getHooksForTest','location_prefix','failure_reason_expanded','passed','jsCYZ','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','sep','duration','constructor','getInstance','23300688hjdJcA','31355okMNEn','match','KwHYn','iSvLP','27iCPlXM','HPzHb','shutdown','pid','HookRunStarted','uploadEventData','KgYYY','../../helpers/logger','Izdox','qFMmJ','mapTestHooks','TEST_RUN_STARTED','length','2780690JsMTWK','DeBCJ','winstonLogger','dodmT','bbayT','VVlhE','DVDnR','hoRBJ','KNyYo','pending','CBTSessionCreated','_paths','EBWib','750198bcMOQw','../utils/constants','O11yHelper','vMzMC','integrations','_afterAll','backtrace','rCWhE','../../helpers/helper','enabled','initializeBddStep','DAehn','markedStatus','nvbBQ','test_run','qNztQ','yYORU','wsEndpoint','lib','toISOString','fireEvent','CZEzl','BrowserType','eVEOz','10pKiQor','browserstack','toUpperCase','TEST_RUN_FINISHED','hookAnalyticsId','test','string','getCBTInfo','patchConsoleLogger','body','fNqkJ','RWLof','XAhtX','defineProperty','400mQucUE','apply','frameworkName','2170735Zjelrw','GpjsQ','wekqX','SwKRI','getTime','hook','tags','49023yaIMhF','TroQk','sUctM','ZKhwl','stepAnalyticsId','../../helpers/test-observability/utils','name','launch','ntsjG','meta','currentHook','push','jTzVC','sendCBTInfo','vvGhL','zeQjB','success','../playwright/sessionDetails','bSGms','fIsOs','split','hook_run','CtKFE','file','tesep','UQzvJ','codeceptjs','path','../../helpers/test-observability/constants','getHookType','File\x20path\x20could\x20not\x20be\x20found','HOOK_RUN_FINISHED','driver','appendTestItemLog','hook_type','finished_at','PathHelper','BROWSERSTACK','captureEvent','prototype','QMRkf','groups','_beforeEach','bkYDZ','stringify','expanded','LogCreated','TSCbJ','LCKjj','NbNdg','suites','pjeAv','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','accessibilityPlatform','vKSBp','test_run_uuid','PLAYWRIGHT_HUB_URL','connectOverCDP','errorsDetailed','started','failureData','includes','14KNYkRf','_afterEach','nNYfl','212728mWxlzX','skipped','PbPFX','getHierarchy','title','__cloud_provider___','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','inspect','then','retryOf','../../helpers/test-observability/sessionHandler','Qjwlr','lDlJX','result','obsBrowserTypeMockApplied','toString','hook_run_uuid','_beforeAll','err','bind','text','../../helpers/testhub/utils.js','type','KlZRg','event_type','ctx','forEach'];a4_0x5ab0=function(){return _0x22d8b5;};return a4_0x5ab0();}const a4_0x205ea3=a4_0x109c;(function(_0x30d715,_0x40c53e){const _0x136a57=a4_0x109c,_0x5de104=_0x30d715();while(!![]){try{const _0xc37612=-parseInt(_0x136a57(0x274))/0x1*(-parseInt(_0x136a57(0x267))/0x2)+-parseInt(_0x136a57(0x278))/0x3*(parseInt(_0x136a57(0x207))/0x4)+-parseInt(_0x136a57(0x2bb))/0x5+parseInt(_0x136a57(0x292))/0x6*(-parseInt(_0x136a57(0x204))/0x7)+-parseInt(_0x136a57(0x2b8))/0x8*(parseInt(_0x136a57(0x2c2))/0x9)+parseInt(_0x136a57(0x2aa))/0xa*(-parseInt(_0x136a57(0x285))/0xb)+parseInt(_0x136a57(0x273))/0xc;if(_0xc37612===_0x40c53e)break;else _0x5de104['push'](_0x5de104['shift']());}catch(_0x178a52){_0x5de104['push'](_0x5de104['shift']());}}}(a4_0x5ab0,0x459a0));const path=require(a4_0x205ea3(0x1e1)),fs=require('fs'),{v4:uuidv4}=require(a4_0x205ea3(0x263)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x205ea3(0x29a)),testOpsHelper=require(a4_0x205ea3(0x1cb)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x205ea3(0x1e2)),logger=require(a4_0x205ea3(0x27f))[a4_0x205ea3(0x287)],SessionHandler=require(a4_0x205ea3(0x211)),RequestQueueHandler=require(a4_0x205ea3(0x252)),PlaywrightSessionDetails=require(a4_0x205ea3(0x1d7)),debug=testOpsHelper[a4_0x205ea3(0x24b)],{processAccessibilityCaps}=require(a4_0x205ea3(0x23d)),Constants=require(a4_0x205ea3(0x293)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x205ea3(0x21c)),STATE_PASSED=a4_0x205ea3(0x26c),STATE_FAILED=a4_0x205ea3(0x226),a4_0x4e0979={};a4_0x4e0979[a4_0x205ea3(0x283)]='TestRunStarted',a4_0x4e0979[a4_0x205ea3(0x2ad)]=a4_0x205ea3(0x256),a4_0x4e0979['TEST_RUN_SKIPPED']=a4_0x205ea3(0x265),a4_0x4e0979['HOOK_RUN_STARTED']=a4_0x205ea3(0x27c),a4_0x4e0979[a4_0x205ea3(0x1e5)]=a4_0x205ea3(0x245);function a4_0x109c(_0x286485,_0x22e7ff){const _0x5ab0b5=a4_0x5ab0();return a4_0x109c=function(_0x109c1d,_0x107c5b){_0x109c1d=_0x109c1d-0x1ca;let _0xba7a91=_0x5ab0b5[_0x109c1d];return _0xba7a91;},a4_0x109c(_0x286485,_0x22e7ff);}const TEST_EVENTS=a4_0x4e0979,parseEvent=_0x373cde=>{const _0x3209e0=a4_0x205ea3,_0xa6849e={};_0xa6849e['zeQjB']=function(_0x29a4d4,_0x1318f8){return _0x29a4d4<_0x1318f8;},_0xa6849e[_0x3209e0(0x280)]=function(_0x384b9b,_0x2439a5){return _0x384b9b===_0x2439a5;},_0xa6849e[_0x3209e0(0x291)]=_0x3209e0(0x2af),_0xa6849e[_0x3209e0(0x233)]=function(_0x856761,_0x1f61bc){return _0x856761===_0x1f61bc;},_0xa6849e[_0x3209e0(0x288)]=_0x3209e0(0x2c0),_0xa6849e[_0x3209e0(0x2c5)]=function(_0x35817f,_0x433b77){return _0x35817f===_0x433b77;},_0xa6849e['hoRBJ']=_0x3209e0(0x208),_0xa6849e[_0x3209e0(0x2a1)]=_0x3209e0(0x201),_0xa6849e[_0x3209e0(0x29f)]=function(_0x5f151a,_0x297507){return _0x5f151a===_0x297507;},_0xa6849e[_0x3209e0(0x1d8)]=_0x3209e0(0x248);const _0x44380f=_0xa6849e,_0x49c154=_0x373cde[_0x3209e0(0x275)](/^(.*)Run(.*)$/);if(!_0x49c154)return null;if(_0x44380f[_0x3209e0(0x1d5)](_0x49c154[_0x3209e0(0x284)],0x3))return null;const _0x2b69b6=_0x49c154[0x1]['toLowerCase'](),_0x1897fb=_0x49c154[0x2][_0x3209e0(0x247)]();return{'test':_0x44380f[_0x3209e0(0x280)](_0x2b69b6,_0x44380f[_0x3209e0(0x291)]),'hook':_0x44380f[_0x3209e0(0x233)](_0x2b69b6,_0x44380f['dodmT']),'skipped':_0x44380f[_0x3209e0(0x2c5)](_0x1897fb,_0x44380f[_0x3209e0(0x28c)]),'started':_0x44380f['ZKhwl'](_0x1897fb,_0x44380f[_0x3209e0(0x2a1)]),'finished':_0x44380f[_0x3209e0(0x29f)](_0x1897fb,_0x44380f[_0x3209e0(0x1d8)])};},mockPWBrowserType=_0x2a1ef9=>{const _0x1af264=a4_0x205ea3,_0x5192ee={'LCKjj':function(_0x3e24e8,_0x83f350){return _0x3e24e8===_0x83f350;},'DeBCJ':_0x1af264(0x2b0),'ENWzq':function(_0x431a23,_0x524271,_0x531109){return _0x431a23(_0x524271,_0x531109);},'jQKmP':_0x1af264(0x2a3),'fIsOs':function(_0x1ce19c,_0x56882c){return _0x1ce19c(_0x56882c);},'wekqX':_0x1af264(0x2ab),'VVlhE':function(_0x4f8c49,_0x15a9f3){return _0x4f8c49(_0x15a9f3);},'ntsjG':_0x1af264(0x2a4),'dWErh':'client','sUctM':_0x1af264(0x243),'XAhtX':'Not\x20able\x20to\x20import\x20Browser','eVEOz':_0x1af264(0x227),'ckRxW':_0x1af264(0x1cd)},_0x4fc246=path[_0x1af264(0x25b)](_0x5192ee[_0x1af264(0x1ce)],_0x5192ee[_0x1af264(0x23f)],_0x5192ee[_0x1af264(0x2c4)]),_0x727f5f=_0x5192ee[_0x1af264(0x28a)](importFileFromPWCore,_0x4fc246);if(!_0x727f5f){_0x5192ee['VVlhE'](debug,_0x5192ee[_0x1af264(0x2b6)]);return;}const _0x5896a3=_0x727f5f[_0x1af264(0x2a8)],_0x111d13=_0x5896a3[_0x1af264(0x1ed)];if(_0x111d13[_0x1af264(0x215)])return;const _0x54a57b=_0x111d13[_0x1af264(0x227)];Object[_0x1af264(0x2b7)](_0x111d13,_0x5192ee[_0x1af264(0x2a9)],{'get':function(){return async function _0x38bec0(_0x7dddb4,_0x1d80fd){const _0x1111c3=a4_0x109c,_0x202bc3={'jTzVC':function(_0x1e3a12,_0x2b8ee6){const _0x4388c6=a4_0x109c;return _0x5192ee[_0x4388c6(0x1f6)](_0x1e3a12,_0x2b8ee6);},'vzXRk':_0x5192ee[_0x1111c3(0x286)]},_0x3e0eb1=_0x5192ee[_0x1111c3(0x229)](nestedKeyValue,_0x7dddb4,[_0x5192ee['jQKmP']])||_0x7dddb4;let _0x160d7b=null,_0x4a5599=null;try{[_0x4a5599,_0x160d7b]=_0x3e0eb1?_0x5192ee[_0x1111c3(0x1d9)](parseWSEndpoint,_0x3e0eb1):[null,null],global[_0x1111c3(0x223)]=_0x160d7b,logger[_0x1111c3(0x24b)](_0x1111c3(0x22e)+_0x4a5599),_0x4a5599[_0x1111c3(0x203)](Constants[_0x1111c3(0x1eb)])&&(global[_0x1111c3(0x20c)]=_0x5192ee[_0x1111c3(0x2bd)]);}catch(_0xe89d6b){logger[_0x1111c3(0x24b)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x3e0eb1+'\x20'+_0xe89d6b);}_0x5192ee['ENWzq'](processAccessibilityCaps,_0x160d7b,_0x4a5599);if(global[_0x1111c3(0x1fb)]){const _0x27d137=await _0x111d13[_0x1111c3(0x1ff)][_0x1111c3(0x2b9)](this,[''+Constants[_0x1111c3(0x1fe)]+_0x5192ee[_0x1111c3(0x28a)](encodeURIComponent,JSON[_0x1111c3(0x1f2)](_0x160d7b))]);return PlaywrightSessionDetails[_0x1111c3(0x259)](_0x27d137,_0x2a1ef9,_0x3e0eb1),_0x27d137;}return _0x54a57b[_0x1111c3(0x2b9)](this,arguments)[_0x1111c3(0x20f)](_0x4222da=>{const _0x2efa07=_0x1111c3;let _0x1d0b3f=_0x7dddb4[_0x2efa07(0x2a3)];return _0x202bc3[_0x2efa07(0x1d2)](typeof _0x7dddb4,_0x202bc3['vzXRk'])&&(_0x1d0b3f=_0x7dddb4),PlaywrightSessionDetails[_0x2efa07(0x259)](_0x4222da,_0x2a1ef9,_0x1d0b3f),_0x4222da;});};}});const _0x51a99a=_0x111d13['launch'];Object[_0x1af264(0x2b7)](_0x111d13,_0x5192ee[_0x1af264(0x255)],{'get':function(){return async function _0x31812d(){const _0x5e58e2=a4_0x109c;return _0x51a99a[_0x5e58e2(0x2b9)](this,arguments)[_0x5e58e2(0x20f)](_0x69a600=>{const _0x1d6a74=_0x5e58e2;return PlaywrightSessionDetails[_0x1d6a74(0x259)](_0x69a600,null),_0x69a600;});};}});};class O11yHelper{[a4_0x205ea3(0x25e)]=null;['currentHook']=null;['enabled']=![];[a4_0x205ea3(0x2ba)]=![];constructor(_0x27bcde,_0x716284){const _0x3d0e34=a4_0x205ea3,_0x490e89={'lDlJX':'3|0|4|2|1|5','YVwQq':function(_0x49b446){return _0x49b446();},'KgYYY':function(_0x2dd205){return _0x2dd205();},'QMRkf':function(_0x371d67,_0x10efb7){return _0x371d67===_0x10efb7;},'zMTap':'Playwright','QYtnI':function(_0x331e0e,_0xdb94b){return _0x331e0e(_0xdb94b);}},_0x52f9ea=_0x490e89[_0x3d0e34(0x213)][_0x3d0e34(0x1da)]('|');let _0x21e988=0x0;while(!![]){switch(_0x52f9ea[_0x21e988++]){case'0':this[_0x3d0e34(0x2ba)]=_0x716284['frameworkName'];continue;case'1':this[_0x3d0e34(0x290)]=new testOpsHelper[(_0x3d0e34(0x1ea))]({'cwd':process['cwd']()},this[_0x3d0e34(0x235)][_0x3d0e34(0x26a)]);continue;case'2':this['_testEnv']=_0x490e89[_0x3d0e34(0x23e)](getTestEnv);continue;case'3':this['enabled']=_0x490e89[_0x3d0e34(0x27e)](shouldProcessEventForTesthub);continue;case'4':this['driver']=_0x27bcde;continue;case'5':this['driver']&&_0x490e89[_0x3d0e34(0x1ee)](this[_0x3d0e34(0x1e6)][_0x3d0e34(0x271)][_0x3d0e34(0x1cc)],_0x490e89['zMTap'])&&_0x490e89['QYtnI'](mockPWBrowserType,null);continue;}break;}}[a4_0x205ea3(0x251)](){const _0x41202a=a4_0x205ea3;if(!this[_0x41202a(0x29b)])return;testOpsHelper[_0x41202a(0x2b2)](),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on']('bs:addLog:'+process[_0x41202a(0x27b)],this[_0x41202a(0x1e7)][_0x41202a(0x21a)](this));}async[a4_0x205ea3(0x25f)](){const _0xcb6f8a=a4_0x205ea3;await RequestQueueHandler[_0xcb6f8a(0x272)]()[_0xcb6f8a(0x27a)]();}async[a4_0x205ea3(0x1e7)](_0x14a9cd){const _0xa11244=a4_0x205ea3,_0x2ed1d2={'QtcfS':_0xa11244(0x1f4),'kGSSm':function(_0x532879,_0x4dfbf7){return _0x532879(_0x4dfbf7);}};try{this[_0xa11244(0x1d0)]&&!this[_0xa11244(0x1d0)]['markedStatus']&&(_0x14a9cd[_0xa11244(0x217)]=this[_0xa11244(0x1d0)]['hookAnalyticsId']);!_0x14a9cd[_0xa11244(0x217)]&&this[_0xa11244(0x25e)]&&!this['currentTest'][_0xa11244(0x29e)]&&(_0x14a9cd[_0xa11244(0x1fd)]=this['currentTest'][_0xa11244(0x236)]);if(_0x14a9cd[_0xa11244(0x217)]||_0x14a9cd[_0xa11244(0x1fd)]){const _0x2627ee={};_0x2627ee['event_type']=_0x2ed1d2[_0xa11244(0x25d)],_0x2627ee[_0xa11244(0x241)]=[_0x14a9cd],await SessionHandler['uploadEventData'](_0x2627ee);}}catch(_0x1554e7){_0x2ed1d2[_0xa11244(0x261)](debug,_0xa11244(0x1fa)+_0x1554e7);}}async[a4_0x205ea3(0x1d3)](_0x567515){const _0x6e9062=a4_0x205ea3,_0x1f41d2={'WFTkb':_0x6e9062(0x28f),'DpZwr':function(_0x1dfa30,_0x4318b9){return _0x1dfa30(_0x4318b9);}};if(!this[_0x6e9062(0x29b)])return;const _0x3cfdf4=this[_0x6e9062(0x2b1)](this[_0x6e9062(0x1e6)]);try{const _0x26de31={};_0x26de31['uuid']=_0x567515,_0x26de31[_0x6e9062(0x296)]=_0x3cfdf4;const _0x53ce49=_0x26de31,_0x58187a={};_0x58187a[_0x6e9062(0x21f)]=_0x1f41d2['WFTkb'],_0x58187a[_0x6e9062(0x2a0)]=_0x53ce49,await SessionHandler[_0x6e9062(0x27d)](_0x58187a);}catch(_0x14ecec){_0x1f41d2[_0x6e9062(0x24d)](debug,_0x6e9062(0x26e)+_0x14ecec);}}['getCBTInfo'](_0x35ecc9){const _0x49c7d8={'YziHg':function(_0x5bca45,_0x43f970){return _0x5bca45(_0x43f970);}};return _0x49c7d8['YziHg'](fetchPlatformDetails,_0x35ecc9);}['resetSkipTestHooks']=_0x8159ee=>{const _0x3f85b7=a4_0x205ea3,_0x315c07={};_0x315c07[_0x3f85b7(0x1f9)]=_0x3f85b7(0x1f0),_0x315c07[_0x3f85b7(0x2a7)]=_0x3f85b7(0x205);const _0x384108=_0x315c07;if(!_0x8159ee||!_0x8159ee[_0x3f85b7(0x258)])return;[_0x384108[_0x3f85b7(0x1f9)],_0x384108[_0x3f85b7(0x2a7)]]['forEach'](_0x455f4a=>{const _0x23a0bc=_0x8159ee['parent'][_0x455f4a];_0x23a0bc['forEach'](_0x1ba907=>{const _0x5aca0d=a4_0x109c;_0x1ba907[_0x5aca0d(0x2ae)]&&(_0x1ba907[_0x5aca0d(0x2ae)]=null);});});};[a4_0x205ea3(0x282)](_0x47e64c){const _0x124e83=a4_0x205ea3,_0x110a42={'CtKFE':_0x124e83(0x1e0),'GRLzB':function(_0x4b46ce){return _0x4b46ce();},'KwHYn':function(_0x1928ca,_0x286c21){return _0x1928ca===_0x286c21;},'fNqkJ':_0x124e83(0x205),'fXovC':_0x124e83(0x218),'NbNdg':_0x124e83(0x297),'VnyUg':_0x124e83(0x1f0)};if(!_0x47e64c||!_0x47e64c[_0x124e83(0x258)])return;[_0x110a42['fXovC'],_0x110a42[_0x124e83(0x1f7)],_0x110a42['VnyUg'],_0x110a42[_0x124e83(0x2b4)]][_0x124e83(0x221)](_0x1e4d54=>{const _0x16d23a=_0x124e83,_0x3af298=_0x47e64c[_0x16d23a(0x258)][_0x1e4d54]||[];_0x3af298[_0x16d23a(0x221)](_0x30aae2=>{const _0xa1b3b0=_0x16d23a;if(_0x30aae2['title'][_0xa1b3b0(0x203)](_0x110a42[_0xa1b3b0(0x1dc)]))return;if(!_0x30aae2[_0xa1b3b0(0x2ae)])_0x30aae2[_0xa1b3b0(0x2ae)]=_0x110a42[_0xa1b3b0(0x239)](uuidv4);else _0x30aae2['markedStatus']&&_0x110a42[_0xa1b3b0(0x276)](_0x1e4d54,_0x110a42['fNqkJ'])&&(_0x30aae2[_0xa1b3b0(0x2ae)]=_0x110a42['GRLzB'](uuidv4),delete _0x30aae2[_0xa1b3b0(0x29e)]);});}),this[_0x124e83(0x282)](_0x47e64c[_0x124e83(0x258)]);}[a4_0x205ea3(0x269)](_0x18eb91){const _0x36addd=a4_0x205ea3,_0x61b066={};_0x61b066[_0x36addd(0x28b)]=_0x36addd(0x218),_0x61b066['bwEha']=_0x36addd(0x297),_0x61b066['qCuLz']=_0x36addd(0x1f0),_0x61b066[_0x36addd(0x225)]=_0x36addd(0x205);const _0x2048b8=_0x61b066;if(!_0x18eb91||!_0x18eb91[_0x36addd(0x258)])return[];const _0x3bba8c=[];return[_0x2048b8[_0x36addd(0x28b)],_0x2048b8[_0x36addd(0x24a)],_0x2048b8['qCuLz'],_0x2048b8[_0x36addd(0x225)]][_0x36addd(0x221)](_0x3984ea=>{const _0x29825a=_0x36addd,_0x46d677=_0x18eb91[_0x29825a(0x258)][_0x3984ea]||[];_0x46d677[_0x29825a(0x221)](_0x6f70d8=>{const _0x326adb=_0x29825a;_0x6f70d8['hookAnalyticsId']&&_0x3bba8c[_0x326adb(0x1d1)](_0x6f70d8[_0x326adb(0x2ae)]);});}),[][_0x36addd(0x246)](_0x3bba8c,this[_0x36addd(0x269)](_0x18eb91[_0x36addd(0x258)]));}[a4_0x205ea3(0x1e3)](_0x54816c){const _0x3eb7be=a4_0x205ea3,_0x2d84d2=/^"(?<hook>.*)" hook:.*$/,_0x50a8ed=_0x54816c[_0x3eb7be(0x20b)],_0x3389dd=_0x50a8ed['match'](_0x2d84d2);if(_0x3389dd&&_0x3389dd['groups'])return _0x3389dd[_0x3eb7be(0x1ef)][_0x3eb7be(0x2c0)][_0x3eb7be(0x2ac)]()['replace']('\x20','_');return null;}[a4_0x205ea3(0x22d)](_0x49686e){const _0xf2842f=a4_0x205ea3,_0x32f91c={};_0x32f91c[_0xf2842f(0x242)]=function(_0x2fe69e,_0x53f370){return _0x2fe69e===_0x53f370;},_0x32f91c[_0xf2842f(0x1fc)]=function(_0xd995d,_0x58a1a5){return _0xd995d===_0x58a1a5;},_0x32f91c[_0xf2842f(0x29d)]=function(_0x4ffe8e,_0xc1808a){return _0x4ffe8e===_0xc1808a;},_0x32f91c['HwyeG']=_0xf2842f(0x264),_0x32f91c['zNzwm']='config';const _0x24093e=_0x32f91c,_0x45ab87=path[_0xf2842f(0x26f)];if(_0x24093e[_0xf2842f(0x242)](_0x49686e,null)||_0x24093e[_0xf2842f(0x1fc)](_0x49686e,'')||_0x24093e[_0xf2842f(0x29d)](_0x49686e,_0x45ab87)||_0x24093e[_0xf2842f(0x1fc)](_0x49686e,path[_0xf2842f(0x25c)](_0x49686e)))return null;try{return fs[_0xf2842f(0x234)](path[_0xf2842f(0x25b)](_0x49686e,_0x24093e[_0xf2842f(0x222)],_0x24093e[_0xf2842f(0x24f)])),_0x49686e;}catch(_0x2c59d3){const _0x3666b7=path[_0xf2842f(0x25c)](_0x49686e);return this['findGitConfig'](_0x3666b7);}}[a4_0x205ea3(0x262)](_0x2909c3){const _0x276d3a=a4_0x205ea3,_0x3edb81={};_0x3edb81[_0x276d3a(0x2be)]=function(_0x47ebb2,_0x236e56){return _0x47ebb2>_0x236e56;};const _0x18b5f4=_0x3edb81;if(_0x2909c3[_0x276d3a(0x1dd)])return _0x2909c3[_0x276d3a(0x1dd)];if(_0x2909c3[_0x276d3a(0x220)]){const _0x5cc0c0=_0x2909c3[_0x276d3a(0x220)][_0x276d3a(0x25e)]?this[_0x276d3a(0x262)](_0x2909c3[_0x276d3a(0x220)]['currentTest']):null;if(_0x5cc0c0)return _0x5cc0c0;}if(_0x2909c3[_0x276d3a(0x258)]){const _0x4a8055=this['getRootParentFile'](_0x2909c3[_0x276d3a(0x258)])||(_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x220)]&&_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x220)][_0x276d3a(0x25e)]?this[_0x276d3a(0x262)](_0x2909c3['parent'][_0x276d3a(0x220)][_0x276d3a(0x25e)]):null);if(_0x4a8055)return _0x4a8055;_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x1f8)]&&_0x18b5f4['SwKRI'](_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x1f8)][_0x276d3a(0x284)],0x0)&&_0x2909c3[_0x276d3a(0x258)][_0x276d3a(0x1f8)][_0x276d3a(0x221)](_0x10ca4a=>{const _0xe3128a=_0x276d3a,_0x4d30da=_0x10ca4a[_0xe3128a(0x220)]?this[_0xe3128a(0x262)](_0x10ca4a[_0xe3128a(0x220)]):null;if(_0x4d30da)return _0x4d30da;});}return null;}[a4_0x205ea3(0x20a)](_0x40297a){const _0x3e7116=a4_0x205ea3,_0x532fb1={};_0x532fb1['FXIsA']=function(_0x302001,_0x3038f0){return _0x302001!==_0x3038f0;};const _0x1abad1=_0x532fb1,_0x203376=[];if(_0x40297a&&_0x40297a[_0x3e7116(0x258)]){let _0x5cf43b=_0x40297a[_0x3e7116(0x258)];while(_0x5cf43b&&_0x1abad1[_0x3e7116(0x22a)](_0x5cf43b[_0x3e7116(0x20b)],'')){_0x203376[_0x3e7116(0x1d1)](_0x5cf43b['title']),_0x5cf43b=_0x5cf43b[_0x3e7116(0x258)];}}return _0x203376;}[a4_0x205ea3(0x1ec)](_0x347c98,_0x3fdb8e,_0x161973=undefined){const _0x19dca0=a4_0x205ea3,_0x1c79c2={'yYORU':function(_0x36c3f2,_0x266674){return _0x36c3f2(_0x266674);},'dadqZ':function(_0x3b7207){return _0x3b7207();},'jsCYZ':function(_0x10bda7){return _0x10bda7();},'PikZz':_0x19dca0(0x24e),'udRMk':'err','KNyYo':function(_0xf03c0a,_0xfe62e4){return _0xf03c0a!==_0xfe62e4;},'gxXaz':function(_0x154001,_0x168991){return _0x154001!==_0x168991;},'NkLSC':_0x19dca0(0x1e4),'Qjwlr':_0x19dca0(0x28e),'PbPFX':_0x19dca0(0x226),'KlZRg':_0x19dca0(0x26c),'vvGhL':_0x19dca0(0x208),'RWLof':_0x19dca0(0x24c),'iSvLP':function(_0x3ec7cd,_0x385cf4){return _0x3ec7cd-_0x385cf4;},'bbayT':function(_0x520e33,_0x2c3cf8,_0x2d77e4,_0x5860d4,_0x23c7e5){return _0x520e33(_0x2c3cf8,_0x2d77e4,_0x5860d4,_0x23c7e5);},'bkYDZ':function(_0x2cb344,_0x1e9307){return _0x2cb344!==_0x1e9307;},'EKzde':_0x19dca0(0x296),'HPzHb':_0x19dca0(0x1cf),'sUExA':_0x19dca0(0x230),'tesep':_0x19dca0(0x260),'rCWhE':_0x19dca0(0x298),'gFiet':_0x19dca0(0x26b),'LjbWW':_0x19dca0(0x1f3),'qFMmJ':function(_0x383b6d,_0x3e39e6){return _0x383b6d===_0x3e39e6;},'GpjsQ':_0x19dca0(0x1db),'TSCbJ':_0x19dca0(0x2a0)};if(!this['enabled'])return;try{if(_0x3fdb8e['fn']&&_0x3fdb8e['fn'][_0x19dca0(0x216)]()['match'](/browserstack internal helper hook/))return;const _0x3abea8=_0x1c79c2[_0x19dca0(0x2a2)](parseEvent,_0x347c98);if(!_0x3abea8)return;if(_0x3abea8[_0x19dca0(0x2af)]){this[_0x19dca0(0x25e)]=_0x3fdb8e,this[_0x19dca0(0x1d0)]=null;if(_0x3abea8[_0x19dca0(0x201)]||_0x3abea8[_0x19dca0(0x208)]){_0x3fdb8e[_0x19dca0(0x250)]=new Date(),_0x3fdb8e[_0x19dca0(0x29e)]=![];if(!_0x3fdb8e[_0x19dca0(0x236)])_0x3fdb8e[_0x19dca0(0x236)]=_0x1c79c2[_0x19dca0(0x237)](uuidv4);else _0x3fdb8e[_0x19dca0(0x29e)]&&(!_0x3fdb8e[_0x19dca0(0x210)]&&(_0x3fdb8e['retryOf']=_0x3fdb8e[_0x19dca0(0x236)]),_0x3fdb8e[_0x19dca0(0x236)]=_0x1c79c2[_0x19dca0(0x237)](uuidv4));}}else{if(_0x3abea8['hook']){this[_0x19dca0(0x1d0)]=_0x3fdb8e;if(_0x3abea8[_0x19dca0(0x201)]){_0x3fdb8e[_0x19dca0(0x250)]=new Date(),_0x3fdb8e[_0x19dca0(0x29e)]=![];if(!_0x3fdb8e[_0x19dca0(0x2ae)])_0x3fdb8e[_0x19dca0(0x2ae)]=_0x1c79c2[_0x19dca0(0x237)](uuidv4);else _0x3fdb8e[_0x19dca0(0x2ae)]&&_0x3fdb8e[_0x19dca0(0x29e)]&&(_0x3fdb8e[_0x19dca0(0x2ae)]=_0x1c79c2[_0x19dca0(0x26d)](uuidv4));}}}if(_0x3abea8[_0x19dca0(0x248)]&&_0x3fdb8e['markedStatus'])return;let _0x16115b;try{_0x16115b=this['getRootParentFile'](_0x3fdb8e);}catch(_0x4e8225){logger[_0x19dca0(0x24b)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x4e8225),_0x16115b=null;}const _0x4a17b3=_0x1c79c2[_0x19dca0(0x2a2)](require,_0x1c79c2['PikZz']);let _0x2b4aac=[];_0x161973&&(_0x2b4aac=[_0x161973,_0x1c79c2['udRMk']]);const _0x136a05=_0x1c79c2[_0x19dca0(0x28d)](_0x3fdb8e[_0x19dca0(0x200)],undefined)?_0x4a17b3[_0x19dca0(0x20e)](_0x3fdb8e[_0x19dca0(0x200)][0x0]):_0x1c79c2[_0x19dca0(0x266)](_0x161973,undefined)?_0x161973['toString']():undefined,_0x1d8387=_0x16115b?this[_0x19dca0(0x22d)](_0x16115b):null,_0x51759f=_0x16115b?this['_paths']['prefixTestPath'](this[_0x19dca0(0x262)](_0x3fdb8e)):_0x1c79c2[_0x19dca0(0x23c)];let _0x210fb0=_0x1c79c2[_0x19dca0(0x212)];const _0x263602=!_0x3abea8[_0x19dca0(0x201)]?new Date()['toISOString']():null;if(_0x3abea8[_0x19dca0(0x248)])_0x210fb0=_0x161973?_0x1c79c2['PbPFX']:_0x1c79c2[_0x19dca0(0x21e)],_0x3fdb8e['markedStatus']=!![];else _0x3abea8[_0x19dca0(0x208)]&&(_0x210fb0=_0x1c79c2[_0x19dca0(0x1d4)],_0x3fdb8e[_0x19dca0(0x29e)]=!![]);const _0x30006c={'framework':this[_0x19dca0(0x2ba)],'uuid':_0x3fdb8e['testAnalyticsId']||_0x3fdb8e[_0x19dca0(0x2ae)],'name':_0x3fdb8e[_0x19dca0(0x20b)],'body':{'lang':_0x1c79c2[_0x19dca0(0x2b5)],'code':_0x3fdb8e[_0x19dca0(0x2b3)][_0x19dca0(0x216)]()},'type':_0x3fdb8e[_0x19dca0(0x21d)],'scope':_0x3fdb8e[_0x19dca0(0x25a)](),'scopes':this[_0x19dca0(0x20a)](_0x3fdb8e),'file_name':_0x51759f,'vc_filepath':_0x1d8387?path[_0x19dca0(0x232)](_0x1d8387,_0x16115b):null,'location':_0x51759f,'result':_0x210fb0,'failure_reason':_0x136a05,'duration_in_ms':_0x3fdb8e[_0x19dca0(0x270)]||(_0x3abea8[_0x19dca0(0x248)]||_0x3abea8[_0x19dca0(0x208)])?_0x1c79c2[_0x19dca0(0x277)](Date[_0x19dca0(0x249)](),new Date(_0x3fdb8e['startedAt'])[_0x19dca0(0x2bf)]()):null,'started_at':new Date(_0x3fdb8e[_0x19dca0(0x250)])[_0x19dca0(0x2a5)](),'finished_at':_0x263602,'failure':testOpsHelper[_0x19dca0(0x202)]['apply'](null,_0x2b4aac),'failure_type':!_0x136a05?null:testOpsHelper[_0x19dca0(0x254)](_0x136a05),'retry_of':_0x3fdb8e[_0x19dca0(0x210)]||null,'tags':_0x3fdb8e[_0x19dca0(0x2c1)]||[],'customRerunParam':{'rerun_name':_0x3fdb8e[_0x19dca0(0x25a)]()}};_0x1c79c2[_0x19dca0(0x289)](appendTesthubParams,_0x30006c,_0x347c98,_0x3fdb8e,FRAMEWORKS[_0x19dca0(0x23b)]);if(_0x3abea8[_0x19dca0(0x2c0)])[_0x30006c[_0x19dca0(0x1e8)],_0x30006c[_0x19dca0(0x1cc)]]=[this[_0x19dca0(0x1e3)](_0x3fdb8e),_0x3fdb8e[_0x19dca0(0x220)][_0x19dca0(0x2af)][_0x19dca0(0x20b)]],_0x3abea8[_0x19dca0(0x248)]?_0x1c79c2[_0x19dca0(0x1f1)](_0x30006c['result'],_0x1c79c2[_0x19dca0(0x209)])&&(_0x30006c[_0x19dca0(0x214)]=_0x1c79c2[_0x19dca0(0x21e)]):_0x30006c['body']={};else _0x3abea8[_0x19dca0(0x2af)]&&(this['mapTestHooks'](_0x3fdb8e),_0x3abea8[_0x19dca0(0x208)]&&this['resetSkipTestHooks'](_0x3fdb8e),(_0x3abea8[_0x19dca0(0x248)]||_0x3abea8['skipped'])&&(_0x30006c[_0x19dca0(0x268)]=this['getHooksForTest'](_0x3fdb8e)));this[_0x19dca0(0x1e6)]&&(_0x3abea8['started']||_0x3abea8[_0x19dca0(0x208)])&&(_0x30006c[_0x1c79c2[_0x19dca0(0x22f)]]=this[_0x19dca0(0x2b1)](this[_0x19dca0(0x1e6)]));_0x3abea8[_0x19dca0(0x2af)]&&_0x3abea8[_0x19dca0(0x248)]&&_0x3fdb8e[_0x19dca0(0x253)]&&(_0x30006c[_0x1c79c2[_0x19dca0(0x279)]]={'feature':{'name':_0x3fdb8e[_0x19dca0(0x258)]['feature']['name'],'path':_0x30006c['file_name'],'description':_0x3fdb8e[_0x19dca0(0x258)][_0x19dca0(0x231)]},'scenario':{'name':_0x3fdb8e[_0x19dca0(0x20b)]},'steps':_0x3fdb8e[_0x19dca0(0x253)]});const _0x5c3cb9=_0x30006c[_0x1c79c2[_0x19dca0(0x23a)]][0x0];_0x5c3cb9&&(_0x30006c[_0x1c79c2[_0x19dca0(0x1de)]]=_0x5c3cb9[_0x1c79c2[_0x19dca0(0x299)]],_0x30006c[_0x1c79c2[_0x19dca0(0x238)]]=_0x5c3cb9[_0x1c79c2[_0x19dca0(0x244)]]);if(_0x3fdb8e[_0x19dca0(0x253)])for(const _0x5c72d1 of _0x3fdb8e[_0x19dca0(0x253)]){!_0x5c72d1[_0x19dca0(0x1e9)]&&(_0x5c72d1[_0x19dca0(0x1e9)]=new Date()[_0x19dca0(0x2a5)](),_0x1c79c2[_0x19dca0(0x281)](_0x5c72d1[_0x19dca0(0x214)],_0x1c79c2[_0x19dca0(0x212)])&&(_0x5c3cb9?(_0x5c72d1[_0x19dca0(0x214)]=_0x1c79c2[_0x19dca0(0x209)],_0x5c72d1[_0x19dca0(0x230)]=_0x5c3cb9[_0x1c79c2[_0x19dca0(0x299)]][0x0]):_0x5c72d1['result']=_0x1c79c2[_0x19dca0(0x21e)]));}const _0x4aae83={};_0x4aae83[_0x19dca0(0x21f)]=_0x3abea8['skipped']?TEST_EVENTS[_0x19dca0(0x2ad)]:_0x347c98;const _0x5e62b8=_0x4aae83;return _0x3abea8[_0x19dca0(0x2c0)]?_0x5e62b8[_0x1c79c2[_0x19dca0(0x2bc)]]=_0x30006c:_0x5e62b8[_0x1c79c2[_0x19dca0(0x1f5)]]=_0x30006c,_0x5e62b8;}catch(_0x5974e2){logger[_0x19dca0(0x24b)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x347c98+'\x20with\x20error\x20:\x20'+_0x5974e2);}}async[a4_0x205ea3(0x2a6)](_0x573db0,_0xc8f339){const _0x5f1939=a4_0x205ea3;if(!this['enabled']||!_0xc8f339||!_0x573db0)return![];try{return await SessionHandler[_0x5f1939(0x27d)](_0xc8f339);}catch(_0x49b7f8){logger['debug'](_0x5f1939(0x20d)+_0x573db0+'\x20with\x20error\x20:\x20'+_0x49b7f8);}}['initializeBddStep'](_0x4ce89b){const _0x1b36aa=a4_0x205ea3,_0x2623ef={};_0x2623ef[_0x1b36aa(0x22c)]=_0x1b36aa(0x28e);const _0x40ff46=_0x2623ef;return{'id':_0x4ce89b[_0x1b36aa(0x1ca)],'text':_0x4ce89b[_0x1b36aa(0x21b)],'keyword':_0x4ce89b[_0x1b36aa(0x257)],'started_at':_0x4ce89b[_0x1b36aa(0x250)][_0x1b36aa(0x2a5)](),'result':_0x40ff46['GsDCH']};}['bddStepStart'](_0x1ddcf9){const _0x44ef5f=a4_0x205ea3,_0x5d2443={'DoPTW':function(_0x47e4ea){return _0x47e4ea();}};!this['currentTest']['bddSteps']&&(this['currentTest']['bddSteps']=[]),!_0x1ddcf9[_0x44ef5f(0x1ca)]&&(_0x1ddcf9[_0x44ef5f(0x1ca)]=_0x5d2443[_0x44ef5f(0x240)](uuidv4),_0x1ddcf9[_0x44ef5f(0x250)]=new Date(),this['currentTest'][_0x44ef5f(0x253)][_0x44ef5f(0x1d1)](this[_0x44ef5f(0x29c)](_0x1ddcf9)));}['bddStepFinish'](_0x1e7184){const _0x805abd=a4_0x205ea3,_0x35596a={'UQzvJ':function(_0x4c55ac,_0x2ea90b){return _0x4c55ac(_0x2ea90b);},'nNYfl':_0x805abd(0x1d6),'vMzMC':'pending','GHilT':_0x805abd(0x26c),'TroQk':function(_0x340fc8,_0x211961){return _0x340fc8-_0x211961;}};let _0x12fa6a=this[_0x805abd(0x25e)][_0x805abd(0x253)]['find'](_0x5302fa=>_0x5302fa['id']===_0x1e7184[_0x805abd(0x1ca)]);_0x35596a[_0x805abd(0x1df)](isUndefined,_0x12fa6a)&&(_0x12fa6a=this[_0x805abd(0x29c)](_0x1e7184)),_0x12fa6a[_0x805abd(0x214)]=[_0x35596a[_0x805abd(0x206)],_0x35596a[_0x805abd(0x295)]][_0x805abd(0x203)](_0x1e7184[_0x805abd(0x224)])?_0x35596a['GHilT']:_0x1e7184[_0x805abd(0x224)],_0x12fa6a[_0x805abd(0x1e9)]=new Date()[_0x805abd(0x2a5)](),_0x12fa6a[_0x805abd(0x270)]=_0x35596a[_0x805abd(0x2c3)](Date[_0x805abd(0x249)](),_0x1e7184[_0x805abd(0x250)]['getTime']()),_0x12fa6a[_0x805abd(0x230)]=_0x1e7184[_0x805abd(0x219)]?_0x1e7184['err'][_0x805abd(0x228)]:null;}}const a4_0x3998c1={};a4_0x3998c1[a4_0x205ea3(0x294)]=O11yHelper,a4_0x3998c1['STATE_PASSED']=STATE_PASSED,a4_0x3998c1['STATE_FAILED']=STATE_FAILED,a4_0x3998c1['TEST_EVENTS']=TEST_EVENTS,module[a4_0x205ea3(0x22b)]=a4_0x3998c1;
1
+ const a4_0x477a63=a4_0x3adb;function a4_0x49d4(){const _0x201a17=['toISOString','AqFJa','text','dirname','hooks','_paths','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','rWmVq','kCBZm','msgOy','eWSUA','__cloud_provider___','test_run','testAnalyticsId','yCioi','hook_type','1405314ooPzHH','body','TestRunFinished','YzRBU','XUrUv','message','toUpperCase','Uzlnp','../../helpers/test-observability/sessionHandler','rzuVW','javascript','qNZaD','then','iWDtY','lIuAV','sRGLh','launch','Playwright','MwpHu','174537VEsUzf','includes','FbOUW','hook','failure','location_prefix','push','length','gpnDI','ezFwb','aFskp','bzRjs','event_type','ZwWQy','expanded','kfLku','328CqusFp','failed','now','../mocha/test-observability/mochaUtils','YETDk','sep','getTime','jbYiZ','skipped','shutdown','_testEnv','suites','pending','logs','prefixTestPath','mapTestHooks','rytDz','getHierarchy','config','markedStatus','XluNz','started','LTdGi','debug','captureEvent','pid','inspect','CODECEPT','finished','integrations','connect','BrowserType','wpWiA','forEach','3|0|5|2|4|1','appendTestItemLog','TestRunStarted','mTuLW','189762mJtAky','ctx','err','stepAnalyticsId','./helper.js','uploadEventData','name','../../helpers/logger','stop','split','type','find','toString','GfhMZ','bind','3865625JEzVsJ','match','obsBrowserTypeMockApplied','failed\x20to\x20get\x20root\x20parent\x20file\x20','lib','opFMZ','aRPAf','sendCBTInfo','_afterEach','aRkht','782OxLLLQ','BxXag','gDgLW','getCBTInfo','retryOf','jXLKP','failure_reason_expanded','O11yHelper','test_run_uuid','_beforeEach','accessibilityPlatform','UOTDG','success','tZWZO','ibgfb','KyUcS','WnZVL','HjWSQ','mtQZA','patchConsoleLogger','TEST_RUN_SKIPPED','groups','defineProperty','tags','MTHtq','NNsDF','codeceptjs','file','../playwright/accessibility-helper','TestRunSkipped','1114672uAayeV','title','rPPmm','passed','getHookType','winstonLogger','toLowerCase','client','initializeBddStep','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','TYmeR','CBTSessionCreated','HookRunFinished','result','duration','hUHZd','hookAnalyticsId','wodOD','exports','jDtRe','STATE_PASSED','failure_backtrace','BROWSERSTACK','qvQfc','bddSteps','file_name','SKuxh','BqZtJ','getRootParentFile','WTKhm','_afterAll','finished_at','cpcqQ','TEST_RUN_FINISHED','GAAru','errorsDetailed','dgAcF','relative','rLEmb','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','../../helpers/test-observability/utils','iIMbo','NGAjA','getHooksForTest','cwd','resetSkipTestHooks','keyword','findGitConfig','hook_run_uuid','1729161kvyTdw','gDXYY','__platformCaps','constructor','yNUhu','backtrace','PathHelper','2643JhfZxA','bddStepStart','parent','Checking\x20for\x20accessibility\x20automation\x20session\x20with\x20','frameworkName','wjeDp','apply','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','hxzUj','GYOrD','test','bs:addLog:','currentHook','fullTitle','getInstance','wsEndpoint','HOOK_RUN_STARTED','uuid','PLAYWRIGHT_HUB_URL','currentTest','GsjPg','STATE_FAILED','File\x20path\x20could\x20not\x20be\x20found','browserType.js','JjiCs','util','aMOnU','start','SuvXS','driver','join','enabled','zIdXt','fireEvent','HPmFl','startedAt','_beforeAll','../../helpers/test-observability/constants','stringify','feature','string','prototype','TEST_EVENTS'];a4_0x49d4=function(){return _0x201a17;};return a4_0x49d4();}(function(_0x4d0983,_0x3887dd){const _0x4580ff=a4_0x3adb,_0x23ae80=_0x4d0983();while(!![]){try{const _0xaf0115=-parseInt(_0x4580ff(0x1a4))/0x1+-parseInt(_0x4580ff(0x1bd))/0x2*(-parseInt(_0x4580ff(0x213))/0x3)+parseInt(_0x4580ff(0x1db))/0x4+-parseInt(_0x4580ff(0x1b3))/0x5+-parseInt(_0x4580ff(0x15b))/0x6+parseInt(_0x4580ff(0x20c))/0x7+-parseInt(_0x4580ff(0x17e))/0x8*(-parseInt(_0x4580ff(0x16e))/0x9);if(_0xaf0115===_0x3887dd)break;else _0x23ae80['push'](_0x23ae80['shift']());}catch(_0x4edd70){_0x23ae80['push'](_0x23ae80['shift']());}}}(a4_0x49d4,0x724c9));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require(a4_0x477a63(0x224)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require('../../helpers/helper'),testOpsHelper=require(a4_0x477a63(0x203)),{getTestEnv}=require(a4_0x477a63(0x181)),{FRAMEWORKS}=require(a4_0x477a63(0x238)),logger=require(a4_0x477a63(0x1ab))[a4_0x477a63(0x1e0)],SessionHandler=require(a4_0x477a63(0x163)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x477a63(0x195)],{processAccessibilityCaps}=require(a4_0x477a63(0x1d9)),Constants=require('../utils/constants'),{fetchPlatformDetails}=require(a4_0x477a63(0x1a8)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x477a63(0x1de),STATE_FAILED=a4_0x477a63(0x17f),a4_0x486850={};a4_0x486850['TEST_RUN_STARTED']=a4_0x477a63(0x1a2),a4_0x486850[a4_0x477a63(0x1fc)]=a4_0x477a63(0x15d),a4_0x486850[a4_0x477a63(0x1d1)]=a4_0x477a63(0x1da),a4_0x486850[a4_0x477a63(0x223)]='HookRunStarted',a4_0x486850['HOOK_RUN_FINISHED']=a4_0x477a63(0x1e7);const TEST_EVENTS=a4_0x486850,parseEvent=_0x37a3ae=>{const _0xb06b0e=a4_0x477a63,_0x4049a5={};_0x4049a5[_0xb06b0e(0x22d)]=function(_0x4402a9,_0x5d7022){return _0x4402a9<_0x5d7022;},_0x4049a5[_0xb06b0e(0x22f)]=function(_0x1dff83,_0x3f3924){return _0x1dff83===_0x3f3924;},_0x4049a5[_0xb06b0e(0x21b)]=_0xb06b0e(0x21d),_0x4049a5['FbOUW']=function(_0x4877c6,_0x17d06f){return _0x4877c6===_0x17d06f;},_0x4049a5[_0xb06b0e(0x169)]=_0xb06b0e(0x171),_0x4049a5['rWmVq']=_0xb06b0e(0x186),_0x4049a5[_0xb06b0e(0x1ea)]='started',_0x4049a5['gDXYY']='finished';const _0x346051=_0x4049a5,_0x5486f6=_0x37a3ae[_0xb06b0e(0x1b4)](/^(.*)Run(.*)$/);if(!_0x5486f6)return null;if(_0x346051[_0xb06b0e(0x22d)](_0x5486f6[_0xb06b0e(0x175)],0x3))return null;const _0x9c148a=_0x5486f6[0x1][_0xb06b0e(0x1e1)](),_0xf21e78=_0x5486f6[0x2][_0xb06b0e(0x1e1)]();return{'test':_0x346051[_0xb06b0e(0x22f)](_0x9c148a,_0x346051['hxzUj']),'hook':_0x346051[_0xb06b0e(0x170)](_0x9c148a,_0x346051[_0xb06b0e(0x169)]),'skipped':_0x346051[_0xb06b0e(0x22f)](_0xf21e78,_0x346051[_0xb06b0e(0x152)]),'started':_0x346051[_0xb06b0e(0x170)](_0xf21e78,_0x346051['hUHZd']),'finished':_0x346051[_0xb06b0e(0x170)](_0xf21e78,_0x346051[_0xb06b0e(0x20d)])};},mockPWBrowserType=_0x3b0f8d=>{const _0xdfa679=a4_0x477a63,_0xcd67a6={'tZWZO':function(_0x2b498f,_0xaf4668){return _0x2b498f===_0xaf4668;},'iWDtY':_0xdfa679(0x148),'mTuLW':function(_0x538a7c,_0x33ea1d,_0x38fa7d){return _0x538a7c(_0x33ea1d,_0x38fa7d);},'bzRjs':_0xdfa679(0x222),'ZwWQy':function(_0x16b6c1,_0x115cf1){return _0x16b6c1(_0x115cf1);},'RiGcZ':'browserstack','YzRBU':function(_0x3daa76,_0x3ee15c,_0x44049a){return _0x3daa76(_0x3ee15c,_0x44049a);},'BcgFM':function(_0x21eef5,_0x364edf){return _0x21eef5(_0x364edf);},'wjeDp':_0xdfa679(0x1b7),'SfVUc':_0xdfa679(0x1e2),'kfLku':_0xdfa679(0x22a),'NoAbq':function(_0xa3afa2,_0x226cbe){return _0xa3afa2(_0x226cbe);},'qIiCG':'Not\x20able\x20to\x20import\x20Browser','HPmFl':'connect','XluNz':_0xdfa679(0x16b)},_0x45db54=path['join'](_0xcd67a6[_0xdfa679(0x218)],_0xcd67a6['SfVUc'],_0xcd67a6[_0xdfa679(0x17d)]),_0x2561b8=_0xcd67a6['NoAbq'](importFileFromPWCore,_0x45db54);if(!_0x2561b8){_0xcd67a6[_0xdfa679(0x17b)](debug,_0xcd67a6['qIiCG']);return;}const _0x3ce99d=_0x2561b8[_0xdfa679(0x19d)],_0x506b44=_0x3ce99d[_0xdfa679(0x149)];if(_0x506b44[_0xdfa679(0x1b5)])return;const _0x1724cc=_0x506b44[_0xdfa679(0x19c)];Object[_0xdfa679(0x1d3)](_0x506b44,_0xcd67a6[_0xdfa679(0x235)],{'get':function(){return async function _0xc643a6(_0x1c424d,_0x5472d4){const _0xc574ec=a4_0x3adb,_0x557fff={'XTRsw':function(_0x1ab150,_0x205108){const _0x8bdb2f=a4_0x3adb;return _0xcd67a6[_0x8bdb2f(0x1ca)](_0x1ab150,_0x205108);},'iIMbo':_0xcd67a6[_0xc574ec(0x168)]},_0x1f5df1=_0xcd67a6[_0xc574ec(0x1a3)](nestedKeyValue,_0x1c424d,[_0xcd67a6[_0xc574ec(0x179)]])||_0x1c424d;let _0x3d4db4=null,_0x3ce003=null;try{[_0x3ce003,_0x3d4db4]=_0x1f5df1?_0xcd67a6[_0xc574ec(0x17b)](parseWSEndpoint,_0x1f5df1):[null,null],global[_0xc574ec(0x20e)]=_0x3d4db4,logger['debug'](_0xc574ec(0x216)+_0x3ce003),_0x3ce003[_0xc574ec(0x16f)](Constants[_0xc574ec(0x1f1)])&&(global[_0xc574ec(0x156)]=_0xcd67a6['RiGcZ']);}catch(_0x50d0bd){logger[_0xc574ec(0x195)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x1f5df1+'\x20'+_0x50d0bd);}_0xcd67a6[_0xc574ec(0x15e)](processAccessibilityCaps,_0x3d4db4,_0x3ce003);if(global[_0xc574ec(0x1c7)]){const _0x13c21b=await _0x506b44['connectOverCDP'][_0xc574ec(0x219)](this,[''+Constants[_0xc574ec(0x225)]+_0xcd67a6['BcgFM'](encodeURIComponent,JSON[_0xc574ec(0x239)](_0x3d4db4))]);return PlaywrightSessionDetails['setupBrowserDetails'](_0x13c21b,_0x3b0f8d,_0x1f5df1),_0x13c21b;}return _0x1724cc['apply'](this,arguments)['then'](_0x190d30=>{const _0x3fc657=_0xc574ec;let _0xcb79cc=_0x1c424d[_0x3fc657(0x222)];return _0x557fff['XTRsw'](typeof _0x1c424d,_0x557fff[_0x3fc657(0x204)])&&(_0xcb79cc=_0x1c424d),PlaywrightSessionDetails['setupBrowserDetails'](_0x190d30,_0x3b0f8d,_0xcb79cc),_0x190d30;});};}});const _0x1bab93=_0x506b44['launch'];Object[_0xdfa679(0x1d3)](_0x506b44,_0xcd67a6[_0xdfa679(0x192)],{'get':function(){return async function _0x334ce6(){const _0x25582d=a4_0x3adb;return _0x1bab93[_0x25582d(0x219)](this,arguments)[_0x25582d(0x167)](_0x1fc07f=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x1fc07f,null),_0x1fc07f;});};}});};class O11yHelper{[a4_0x477a63(0x226)]=null;[a4_0x477a63(0x21f)]=null;['enabled']=![];[a4_0x477a63(0x217)]=![];constructor(_0x4e3d34,_0x222db2){const _0x4c48da=a4_0x477a63,_0x17ae2c={'NNsDF':_0x4c48da(0x1a0),'aRPAf':function(_0x4fba9a,_0x3da1ba){return _0x4fba9a===_0x3da1ba;},'TYmeR':_0x4c48da(0x16c),'zZUta':function(_0x24e62a,_0x22b04e){return _0x24e62a(_0x22b04e);},'cMnop':function(_0x3e5b0b){return _0x3e5b0b();},'MwpHu':function(_0x4e1a68){return _0x4e1a68();}},_0x5777d9=_0x17ae2c[_0x4c48da(0x1d6)][_0x4c48da(0x1ad)]('|');let _0x14ee36=0x0;while(!![]){switch(_0x5777d9[_0x14ee36++]){case'0':this[_0x4c48da(0x217)]=_0x222db2['frameworkName'];continue;case'1':this[_0x4c48da(0x230)]&&_0x17ae2c[_0x4c48da(0x1b9)](this['driver'][_0x4c48da(0x20f)][_0x4c48da(0x1aa)],_0x17ae2c[_0x4c48da(0x1e5)])&&_0x17ae2c['zZUta'](mockPWBrowserType,null);continue;case'2':this[_0x4c48da(0x188)]=_0x17ae2c['cMnop'](getTestEnv);continue;case'3':this[_0x4c48da(0x232)]=_0x17ae2c[_0x4c48da(0x16d)](shouldProcessEventForTesthub);continue;case'4':this[_0x4c48da(0x150)]=new testOpsHelper[(_0x4c48da(0x212))]({'cwd':process[_0x4c48da(0x207)]()},this[_0x4c48da(0x188)][_0x4c48da(0x173)]);continue;case'5':this[_0x4c48da(0x230)]=_0x4e3d34;continue;}break;}}[a4_0x477a63(0x22e)](){const _0x4a281e=a4_0x477a63;if(!this[_0x4a281e(0x232)])return;testOpsHelper[_0x4a281e(0x1d0)](),process['removeAllListeners'](_0x4a281e(0x21e)+process[_0x4a281e(0x197)]),process['on']('bs:addLog:'+process['pid'],this[_0x4a281e(0x1a1)][_0x4a281e(0x1b2)](this));}async[a4_0x477a63(0x1ac)](){const _0x4cf0f5=a4_0x477a63;await RequestQueueHandler[_0x4cf0f5(0x221)]()[_0x4cf0f5(0x187)]();}async['appendTestItemLog'](_0x2dab29){const _0x4ded88=a4_0x477a63,_0x32aa7e={'msgOy':'LogCreated','UXoBr':function(_0x4a7612,_0x17d4cf){return _0x4a7612(_0x17d4cf);}};try{this[_0x4ded88(0x21f)]&&!this[_0x4ded88(0x21f)][_0x4ded88(0x191)]&&(_0x2dab29[_0x4ded88(0x20b)]=this['currentHook'][_0x4ded88(0x1eb)]);!_0x2dab29[_0x4ded88(0x20b)]&&this['currentTest']&&!this['currentTest']['markedStatus']&&(_0x2dab29[_0x4ded88(0x1c5)]=this['currentTest'][_0x4ded88(0x158)]);if(_0x2dab29[_0x4ded88(0x20b)]||_0x2dab29[_0x4ded88(0x1c5)]){const _0x1d3653={};_0x1d3653[_0x4ded88(0x17a)]=_0x32aa7e[_0x4ded88(0x154)],_0x1d3653[_0x4ded88(0x18b)]=[_0x2dab29],await SessionHandler[_0x4ded88(0x1a9)](_0x1d3653);}}catch(_0x9bc8e5){_0x32aa7e['UXoBr'](debug,_0x4ded88(0x151)+_0x9bc8e5);}}async[a4_0x477a63(0x1ba)](_0x41d45){const _0xed2630=a4_0x477a63,_0x5703e2={'mtQZA':_0xed2630(0x1e6),'wZvDA':function(_0x2f64e5,_0x25beb6){return _0x2f64e5(_0x25beb6);}};if(!this[_0xed2630(0x232)])return;const _0x536146=this[_0xed2630(0x1c0)](this['driver']);try{const _0x4ce39e={};_0x4ce39e['uuid']=_0x41d45,_0x4ce39e[_0xed2630(0x19b)]=_0x536146;const _0x2540e8=_0x4ce39e,_0x1ab354={};_0x1ab354[_0xed2630(0x17a)]=_0x5703e2[_0xed2630(0x1cf)],_0x1ab354[_0xed2630(0x157)]=_0x2540e8,await SessionHandler['uploadEventData'](_0x1ab354);}catch(_0x4fcd36){_0x5703e2['wZvDA'](debug,_0xed2630(0x21a)+_0x4fcd36);}}[a4_0x477a63(0x1c0)](_0x160034){const _0x54f00a=a4_0x477a63,_0x1b4252={'JjiCs':function(_0x4ac608,_0x22ad7f){return _0x4ac608(_0x22ad7f);}};return _0x1b4252[_0x54f00a(0x22b)](fetchPlatformDetails,_0x160034);}[a4_0x477a63(0x208)]=_0x384fc3=>{const _0x5dda51=a4_0x477a63,_0x45866a={};_0x45866a[_0x5dda51(0x182)]=_0x5dda51(0x1c6),_0x45866a[_0x5dda51(0x16a)]='_afterEach';const _0x3dedbd=_0x45866a;if(!_0x384fc3||!_0x384fc3[_0x5dda51(0x215)])return;[_0x3dedbd[_0x5dda51(0x182)],_0x3dedbd['sRGLh']][_0x5dda51(0x19f)](_0x1e4437=>{const _0x2555c9=_0x5dda51,_0x5a90f1=_0x384fc3[_0x2555c9(0x215)][_0x1e4437];_0x5a90f1[_0x2555c9(0x19f)](_0x3748e6=>{const _0x543ffb=_0x2555c9;_0x3748e6['hookAnalyticsId']&&(_0x3748e6[_0x543ffb(0x1eb)]=null);});});};[a4_0x477a63(0x18d)](_0x4544ef){const _0x4092b7=a4_0x477a63,_0x77f6a7={'BHbFg':_0x4092b7(0x1d7),'eWSUA':function(_0x1661ef){return _0x1661ef();},'GihQc':function(_0x5d7676,_0x505039){return _0x5d7676===_0x505039;},'cpcqQ':'_afterEach','gDgLW':function(_0xfc195b){return _0xfc195b();},'jbYiZ':_0x4092b7(0x237),'ezFwb':_0x4092b7(0x1f9),'KyUcS':_0x4092b7(0x1c6)};if(!_0x4544ef||!_0x4544ef[_0x4092b7(0x215)])return;[_0x77f6a7[_0x4092b7(0x185)],_0x77f6a7[_0x4092b7(0x177)],_0x77f6a7[_0x4092b7(0x1cc)],_0x77f6a7[_0x4092b7(0x1fb)]]['forEach'](_0x41fa98=>{const _0x23d9d2=_0x4092b7,_0x1d583f={'yNUhu':_0x77f6a7['BHbFg'],'WTKhm':function(_0xd86369){const _0x470eaf=a4_0x3adb;return _0x77f6a7[_0x470eaf(0x155)](_0xd86369);},'kKWFR':function(_0xfb19f6,_0x1740f3){return _0x77f6a7['GihQc'](_0xfb19f6,_0x1740f3);},'YdPQo':_0x77f6a7['cpcqQ'],'GAAru':function(_0x465080){const _0x38c325=a4_0x3adb;return _0x77f6a7[_0x38c325(0x1bf)](_0x465080);}},_0x30eccd=_0x4544ef[_0x23d9d2(0x215)][_0x41fa98]||[];_0x30eccd[_0x23d9d2(0x19f)](_0x4ee825=>{const _0x57e391=_0x23d9d2;if(_0x4ee825[_0x57e391(0x1dc)][_0x57e391(0x16f)](_0x1d583f[_0x57e391(0x210)]))return;if(!_0x4ee825[_0x57e391(0x1eb)])_0x4ee825[_0x57e391(0x1eb)]=_0x1d583f[_0x57e391(0x1f8)](uuidv4);else _0x4ee825[_0x57e391(0x191)]&&_0x1d583f['kKWFR'](_0x41fa98,_0x1d583f['YdPQo'])&&(_0x4ee825[_0x57e391(0x1eb)]=_0x1d583f[_0x57e391(0x1fd)](uuidv4),delete _0x4ee825[_0x57e391(0x191)]);});}),this[_0x4092b7(0x18d)](_0x4544ef['parent']);}[a4_0x477a63(0x206)](_0x31c96d){const _0x1b7b19=a4_0x477a63,_0x4942a8={};_0x4942a8['jXLKP']=_0x1b7b19(0x237),_0x4942a8[_0x1b7b19(0x1f2)]=_0x1b7b19(0x1f9),_0x4942a8[_0x1b7b19(0x1b1)]=_0x1b7b19(0x1c6),_0x4942a8[_0x1b7b19(0x1c8)]=_0x1b7b19(0x1bb);const _0x4b7ee3=_0x4942a8;if(!_0x31c96d||!_0x31c96d['parent'])return[];const _0x3a9e60=[];return[_0x4b7ee3[_0x1b7b19(0x1c2)],_0x4b7ee3[_0x1b7b19(0x1f2)],_0x4b7ee3[_0x1b7b19(0x1b1)],_0x4b7ee3[_0x1b7b19(0x1c8)]][_0x1b7b19(0x19f)](_0x3bb042=>{const _0x57fa87=_0x1b7b19,_0x22dca7=_0x31c96d[_0x57fa87(0x215)][_0x3bb042]||[];_0x22dca7[_0x57fa87(0x19f)](_0x3bbd6a=>{const _0x540680=_0x57fa87;_0x3bbd6a[_0x540680(0x1eb)]&&_0x3a9e60[_0x540680(0x174)](_0x3bbd6a[_0x540680(0x1eb)]);});}),[]['concat'](_0x3a9e60,this[_0x1b7b19(0x206)](_0x31c96d[_0x1b7b19(0x215)]));}[a4_0x477a63(0x1df)](_0x2c70d0){const _0xc88c5a=a4_0x477a63,_0x4989fc=/^"(?<hook>.*)" hook:.*$/,_0x1c56a7=_0x2c70d0[_0xc88c5a(0x1dc)],_0x5e2e32=_0x1c56a7[_0xc88c5a(0x1b4)](_0x4989fc);if(_0x5e2e32&&_0x5e2e32[_0xc88c5a(0x1d2)])return _0x5e2e32['groups'][_0xc88c5a(0x171)][_0xc88c5a(0x161)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x556d05){const _0x493242=a4_0x477a63,_0x47506d={};_0x47506d[_0x493242(0x159)]=function(_0x556899,_0xaf4bcf){return _0x556899===_0xaf4bcf;},_0x47506d[_0x493242(0x1ce)]=function(_0x17aa56,_0x1f17e5){return _0x17aa56===_0x1f17e5;},_0x47506d[_0x493242(0x176)]='.git',_0x47506d['jDtRe']=_0x493242(0x190);const _0x9e825c=_0x47506d,_0x5b3564=path[_0x493242(0x183)];if(_0x9e825c[_0x493242(0x159)](_0x556d05,null)||_0x9e825c[_0x493242(0x1ce)](_0x556d05,'')||_0x9e825c[_0x493242(0x1ce)](_0x556d05,_0x5b3564)||_0x9e825c[_0x493242(0x159)](_0x556d05,path['dirname'](_0x556d05)))return null;try{return fs['statSync'](path[_0x493242(0x231)](_0x556d05,_0x9e825c['gpnDI'],_0x9e825c[_0x493242(0x1ee)])),_0x556d05;}catch(_0x5852a0){const _0xec97e3=path[_0x493242(0x14e)](_0x556d05);return this['findGitConfig'](_0xec97e3);}}[a4_0x477a63(0x1f7)](_0x454fc6){const _0x17c4d6=a4_0x477a63,_0x582241={};_0x582241[_0x17c4d6(0x1ff)]=function(_0x1d1104,_0x3f11a4){return _0x1d1104>_0x3f11a4;};const _0x47905a=_0x582241;if(_0x454fc6[_0x17c4d6(0x1d8)])return _0x454fc6[_0x17c4d6(0x1d8)];if(_0x454fc6[_0x17c4d6(0x1a5)]){const _0x532864=_0x454fc6['ctx']['currentTest']?this[_0x17c4d6(0x1f7)](_0x454fc6[_0x17c4d6(0x1a5)][_0x17c4d6(0x226)]):null;if(_0x532864)return _0x532864;}if(_0x454fc6['parent']){const _0xc3cd0d=this[_0x17c4d6(0x1f7)](_0x454fc6[_0x17c4d6(0x215)])||(_0x454fc6[_0x17c4d6(0x215)]['ctx']&&_0x454fc6[_0x17c4d6(0x215)][_0x17c4d6(0x1a5)]['currentTest']?this['getRootParentFile'](_0x454fc6[_0x17c4d6(0x215)][_0x17c4d6(0x1a5)][_0x17c4d6(0x226)]):null);if(_0xc3cd0d)return _0xc3cd0d;_0x454fc6[_0x17c4d6(0x215)]['suites']&&_0x47905a[_0x17c4d6(0x1ff)](_0x454fc6['parent'][_0x17c4d6(0x189)][_0x17c4d6(0x175)],0x0)&&_0x454fc6['parent'][_0x17c4d6(0x189)][_0x17c4d6(0x19f)](_0x19b070=>{const _0x3c7e56=_0x17c4d6,_0x1fb6cd=_0x19b070[_0x3c7e56(0x1a5)]?this[_0x3c7e56(0x1f7)](_0x19b070[_0x3c7e56(0x1a5)]):null;if(_0x1fb6cd)return _0x1fb6cd;});}return null;}[a4_0x477a63(0x18f)](_0x238f59){const _0x529e70=a4_0x477a63,_0x40d5a9={};_0x40d5a9[_0x529e70(0x15f)]=function(_0x3fd427,_0x5e8246){return _0x3fd427!==_0x5e8246;};const _0x387077=_0x40d5a9,_0x3123e6=[];if(_0x238f59&&_0x238f59[_0x529e70(0x215)]){let _0x5c956e=_0x238f59[_0x529e70(0x215)];while(_0x5c956e&&_0x387077[_0x529e70(0x15f)](_0x5c956e[_0x529e70(0x1dc)],'')){_0x3123e6[_0x529e70(0x174)](_0x5c956e[_0x529e70(0x1dc)]),_0x5c956e=_0x5c956e[_0x529e70(0x215)];}}return _0x3123e6;}[a4_0x477a63(0x196)](_0x588e0f,_0x425413,_0x2a9aca=undefined){const _0x231160=a4_0x477a63,_0x1b3281={'qNZaD':function(_0x5999a0,_0x2e8f1f){return _0x5999a0(_0x2e8f1f);},'MTHtq':function(_0x23ba40){return _0x23ba40();},'dlZir':function(_0xb19d7b){return _0xb19d7b();},'BxXag':function(_0x1c0b6c){return _0x1c0b6c();},'DBWJM':function(_0x3e1c49,_0x5afe6e){return _0x3e1c49(_0x5afe6e);},'rLEmb':_0x231160(0x22c),'agcqx':'err','Ipuaa':function(_0xe32462,_0x16859d){return _0xe32462!==_0x16859d;},'NGAjA':_0x231160(0x229),'BqZtJ':_0x231160(0x18a),'ibgfb':'failed','GYOrD':_0x231160(0x1de),'GsjPg':'skipped','rytDz':_0x231160(0x165),'LQILw':function(_0xb9d0e8,_0x1edf96){return _0xb9d0e8-_0x1edf96;},'wodOD':function(_0x404a1e,_0x2fe9e8,_0x478fd3,_0x43d6cc,_0x3ad2a0){return _0x404a1e(_0x2fe9e8,_0x478fd3,_0x43d6cc,_0x3ad2a0);},'HlESy':function(_0x4a2780,_0x43d03a){return _0x4a2780!==_0x43d03a;},'aFskp':_0x231160(0x19b),'OFwbq':'meta','wpWiA':_0x231160(0x172),'rzuVW':_0x231160(0x1f0),'aRkht':_0x231160(0x211),'Uzlnp':_0x231160(0x1c3),'UldVO':_0x231160(0x17c),'WnZVL':function(_0x45dae2,_0x56a768){return _0x45dae2===_0x56a768;},'BpIqs':'hook_run','SKuxh':_0x231160(0x157)};if(!this[_0x231160(0x232)])return;try{if(_0x425413['fn']&&_0x425413['fn'][_0x231160(0x1b0)]()[_0x231160(0x1b4)](/browserstack internal helper hook/))return;const _0x548940=_0x1b3281[_0x231160(0x166)](parseEvent,_0x588e0f);if(!_0x548940)return;if(_0x548940[_0x231160(0x21d)]){this['currentTest']=_0x425413,this['currentHook']=null;if(_0x548940[_0x231160(0x193)]||_0x548940[_0x231160(0x186)]){_0x425413[_0x231160(0x236)]=new Date(),_0x425413['markedStatus']=![];if(!_0x425413[_0x231160(0x158)])_0x425413[_0x231160(0x158)]=_0x1b3281['MTHtq'](uuidv4);else _0x425413[_0x231160(0x191)]&&(!_0x425413['retryOf']&&(_0x425413[_0x231160(0x1c1)]=_0x425413[_0x231160(0x158)]),_0x425413[_0x231160(0x158)]=_0x1b3281['dlZir'](uuidv4));}}else{if(_0x548940[_0x231160(0x171)]){this[_0x231160(0x21f)]=_0x425413;if(_0x548940[_0x231160(0x193)]){_0x425413[_0x231160(0x236)]=new Date(),_0x425413[_0x231160(0x191)]=![];if(!_0x425413[_0x231160(0x1eb)])_0x425413[_0x231160(0x1eb)]=_0x1b3281[_0x231160(0x1be)](uuidv4);else _0x425413[_0x231160(0x1eb)]&&_0x425413[_0x231160(0x191)]&&(_0x425413[_0x231160(0x1eb)]=_0x1b3281[_0x231160(0x1d5)](uuidv4));}}}if(_0x548940[_0x231160(0x19a)]&&_0x425413['markedStatus'])return;let _0x5a390f;try{_0x5a390f=this[_0x231160(0x1f7)](_0x425413);}catch(_0x5256e1){logger[_0x231160(0x195)](_0x231160(0x1b6)+_0x5256e1),_0x5a390f=null;}const _0x2fc054=_0x1b3281['DBWJM'](require,_0x1b3281[_0x231160(0x201)]);let _0x5347f9=[];_0x2a9aca&&(_0x5347f9=[_0x2a9aca,_0x1b3281['agcqx']]);const _0x9b8c49=_0x1b3281['Ipuaa'](_0x425413[_0x231160(0x1fe)],undefined)?_0x2fc054[_0x231160(0x198)](_0x425413[_0x231160(0x1fe)][0x0]):_0x1b3281['Ipuaa'](_0x2a9aca,undefined)?_0x2a9aca['toString']():undefined,_0x3fd367=_0x5a390f?this[_0x231160(0x20a)](_0x5a390f):null,_0x4e127d=_0x5a390f?this[_0x231160(0x150)][_0x231160(0x18c)](this[_0x231160(0x1f7)](_0x425413)):_0x1b3281[_0x231160(0x205)];let _0x53786d=_0x1b3281[_0x231160(0x1f6)];const _0x5037f6=!_0x548940[_0x231160(0x193)]?new Date()[_0x231160(0x14b)]():null;if(_0x548940[_0x231160(0x19a)])_0x53786d=_0x2a9aca?_0x1b3281['ibgfb']:_0x1b3281['GYOrD'],_0x425413['markedStatus']=!![];else _0x548940['skipped']&&(_0x53786d=_0x1b3281[_0x231160(0x227)],_0x425413[_0x231160(0x191)]=!![]);const _0x3ec6e8={'framework':this[_0x231160(0x217)],'uuid':_0x425413['testAnalyticsId']||_0x425413[_0x231160(0x1eb)],'name':_0x425413['title'],'body':{'lang':_0x1b3281[_0x231160(0x18e)],'code':_0x425413['body'][_0x231160(0x1b0)]()},'type':_0x425413[_0x231160(0x1ae)],'scope':_0x425413[_0x231160(0x220)](),'scopes':this[_0x231160(0x18f)](_0x425413),'file_name':_0x4e127d,'vc_filepath':_0x3fd367?path[_0x231160(0x200)](_0x3fd367,_0x5a390f):null,'location':_0x4e127d,'result':_0x53786d,'failure_reason':_0x9b8c49,'duration_in_ms':_0x425413[_0x231160(0x1e9)]||(_0x548940[_0x231160(0x19a)]||_0x548940[_0x231160(0x186)])?_0x1b3281['LQILw'](Date[_0x231160(0x180)](),new Date(_0x425413[_0x231160(0x236)])['getTime']()):null,'started_at':new Date(_0x425413['startedAt'])['toISOString'](),'finished_at':_0x5037f6,'failure':testOpsHelper['failureData'][_0x231160(0x219)](null,_0x5347f9),'failure_type':!_0x9b8c49?null:testOpsHelper['getFailureType'](_0x9b8c49),'retry_of':_0x425413[_0x231160(0x1c1)]||null,'tags':_0x425413[_0x231160(0x1d4)]||[],'customRerunParam':{'rerun_name':_0x425413[_0x231160(0x220)]()}};_0x1b3281[_0x231160(0x1ec)](appendTesthubParams,_0x3ec6e8,_0x588e0f,_0x425413,FRAMEWORKS[_0x231160(0x199)]);if(_0x548940[_0x231160(0x171)])[_0x3ec6e8[_0x231160(0x15a)],_0x3ec6e8[_0x231160(0x1aa)]]=[this[_0x231160(0x1df)](_0x425413),_0x425413[_0x231160(0x1a5)][_0x231160(0x21d)][_0x231160(0x1dc)]],_0x548940['finished']?_0x1b3281['HlESy'](_0x3ec6e8[_0x231160(0x1e8)],_0x1b3281[_0x231160(0x1cb)])&&(_0x3ec6e8[_0x231160(0x1e8)]=_0x1b3281['GYOrD']):_0x3ec6e8[_0x231160(0x15c)]={};else _0x548940[_0x231160(0x21d)]&&(this[_0x231160(0x18d)](_0x425413),_0x548940[_0x231160(0x186)]&&this[_0x231160(0x208)](_0x425413),(_0x548940[_0x231160(0x19a)]||_0x548940[_0x231160(0x186)])&&(_0x3ec6e8[_0x231160(0x14f)]=this[_0x231160(0x206)](_0x425413)));this[_0x231160(0x230)]&&(_0x548940[_0x231160(0x193)]||_0x548940[_0x231160(0x186)])&&(_0x3ec6e8[_0x1b3281[_0x231160(0x178)]]=this[_0x231160(0x1c0)](this[_0x231160(0x230)]));_0x548940[_0x231160(0x21d)]&&_0x548940[_0x231160(0x19a)]&&_0x425413['bddSteps']&&(_0x3ec6e8[_0x1b3281['OFwbq']]={'feature':{'name':_0x425413['parent'][_0x231160(0x147)][_0x231160(0x1aa)],'path':_0x3ec6e8[_0x231160(0x1f4)],'description':_0x425413[_0x231160(0x215)]['comment']},'scenario':{'name':_0x425413[_0x231160(0x1dc)]},'steps':_0x425413['bddSteps']});const _0xa6e8d3=_0x3ec6e8[_0x1b3281[_0x231160(0x19e)]][0x0];_0xa6e8d3&&(_0x3ec6e8[_0x1b3281[_0x231160(0x164)]]=_0xa6e8d3[_0x1b3281[_0x231160(0x1bc)]],_0x3ec6e8[_0x1b3281[_0x231160(0x162)]]=_0xa6e8d3[_0x1b3281['UldVO']]);if(_0x425413['bddSteps'])for(const _0x5ed924 of _0x425413[_0x231160(0x1f3)]){!_0x5ed924[_0x231160(0x1fa)]&&(_0x5ed924[_0x231160(0x1fa)]=new Date()[_0x231160(0x14b)](),_0x1b3281[_0x231160(0x1cd)](_0x5ed924[_0x231160(0x1e8)],_0x1b3281['BqZtJ'])&&(_0xa6e8d3?(_0x5ed924[_0x231160(0x1e8)]=_0x1b3281[_0x231160(0x1cb)],_0x5ed924[_0x231160(0x172)]=_0xa6e8d3[_0x1b3281[_0x231160(0x1bc)]][0x0]):_0x5ed924['result']=_0x1b3281[_0x231160(0x21c)]));}const _0x5277ab={};_0x5277ab[_0x231160(0x17a)]=_0x548940['skipped']?TEST_EVENTS[_0x231160(0x1fc)]:_0x588e0f;const _0x4bcff=_0x5277ab;return _0x548940[_0x231160(0x171)]?_0x4bcff[_0x1b3281['BpIqs']]=_0x3ec6e8:_0x4bcff[_0x1b3281[_0x231160(0x1f5)]]=_0x3ec6e8,_0x4bcff;}catch(_0x5d8890){logger['debug'](_0x231160(0x202)+_0x588e0f+'\x20with\x20error\x20:\x20'+_0x5d8890);}}async[a4_0x477a63(0x234)](_0x4d13b6,_0x4b3968){const _0x3ad097=a4_0x477a63;if(!this[_0x3ad097(0x232)]||!_0x4b3968||!_0x4d13b6)return![];try{return await SessionHandler[_0x3ad097(0x1a9)](_0x4b3968);}catch(_0x29bac3){logger['debug'](_0x3ad097(0x1e4)+_0x4d13b6+'\x20with\x20error\x20:\x20'+_0x29bac3);}}[a4_0x477a63(0x1e3)](_0x47e673){const _0x5a3fc9=a4_0x477a63,_0x294fa9={};_0x294fa9[_0x5a3fc9(0x14c)]='pending';const _0x33f6e5=_0x294fa9;return{'id':_0x47e673['stepAnalyticsId'],'text':_0x47e673[_0x5a3fc9(0x14d)],'keyword':_0x47e673[_0x5a3fc9(0x209)],'started_at':_0x47e673[_0x5a3fc9(0x236)][_0x5a3fc9(0x14b)](),'result':_0x33f6e5['AqFJa']};}[a4_0x477a63(0x214)](_0x39c527){const _0x3fdc1c=a4_0x477a63,_0x52042c={'kCBZm':function(_0x4bbcc7){return _0x4bbcc7();}};!this[_0x3fdc1c(0x226)]['bddSteps']&&(this[_0x3fdc1c(0x226)][_0x3fdc1c(0x1f3)]=[]),!_0x39c527['stepAnalyticsId']&&(_0x39c527['stepAnalyticsId']=_0x52042c[_0x3fdc1c(0x153)](uuidv4),_0x39c527[_0x3fdc1c(0x236)]=new Date(),this[_0x3fdc1c(0x226)][_0x3fdc1c(0x1f3)][_0x3fdc1c(0x174)](this[_0x3fdc1c(0x1e3)](_0x39c527)));}['bddStepFinish'](_0x3714d1){const _0x5cd6b0=a4_0x477a63,_0x3f6ffd={'LTdGi':function(_0x235436,_0x8c1c6){return _0x235436(_0x8c1c6);},'rPPmm':_0x5cd6b0(0x1c9),'RadbI':_0x5cd6b0(0x18a),'zIdXt':'passed','opFMZ':function(_0xe9b4f7,_0x6872b0){return _0xe9b4f7-_0x6872b0;}};let _0x443d0d=this[_0x5cd6b0(0x226)][_0x5cd6b0(0x1f3)][_0x5cd6b0(0x1af)](_0x281f27=>_0x281f27['id']===_0x3714d1[_0x5cd6b0(0x1a7)]);_0x3f6ffd[_0x5cd6b0(0x194)](isUndefined,_0x443d0d)&&(_0x443d0d=this[_0x5cd6b0(0x1e3)](_0x3714d1)),_0x443d0d[_0x5cd6b0(0x1e8)]=[_0x3f6ffd[_0x5cd6b0(0x1dd)],_0x3f6ffd['RadbI']][_0x5cd6b0(0x16f)](_0x3714d1['status'])?_0x3f6ffd[_0x5cd6b0(0x233)]:_0x3714d1['status'],_0x443d0d['finished_at']=new Date()[_0x5cd6b0(0x14b)](),_0x443d0d['duration']=_0x3f6ffd[_0x5cd6b0(0x1b8)](Date[_0x5cd6b0(0x180)](),_0x3714d1[_0x5cd6b0(0x236)][_0x5cd6b0(0x184)]()),_0x443d0d[_0x5cd6b0(0x172)]=_0x3714d1[_0x5cd6b0(0x1a6)]?_0x3714d1['err'][_0x5cd6b0(0x160)]:null;}}function a4_0x3adb(_0x534277,_0x473325){const _0x49d435=a4_0x49d4();return a4_0x3adb=function(_0x3adb64,_0x192d3b){_0x3adb64=_0x3adb64-0x147;let _0x1b98f7=_0x49d435[_0x3adb64];return _0x1b98f7;},a4_0x3adb(_0x534277,_0x473325);}const a4_0x2198af={};a4_0x2198af[a4_0x477a63(0x1c4)]=O11yHelper,a4_0x2198af[a4_0x477a63(0x1ef)]=STATE_PASSED,a4_0x2198af[a4_0x477a63(0x228)]=STATE_FAILED,a4_0x2198af[a4_0x477a63(0x14a)]=TEST_EVENTS,module[a4_0x477a63(0x1ed)]=a4_0x2198af;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x36229f=a5_0x4b93;(function(_0x114759,_0xdfd8df){const _0x234a74=a5_0x4b93,_0x1d6889=_0x114759();while(!![]){try{const _0x5af3e6=parseInt(_0x234a74(0x12b))/0x1*(parseInt(_0x234a74(0x168))/0x2)+-parseInt(_0x234a74(0x159))/0x3*(parseInt(_0x234a74(0x12e))/0x4)+-parseInt(_0x234a74(0x133))/0x5+parseInt(_0x234a74(0x152))/0x6+parseInt(_0x234a74(0x155))/0x7+parseInt(_0x234a74(0x15c))/0x8*(parseInt(_0x234a74(0x149))/0x9)+-parseInt(_0x234a74(0x141))/0xa;if(_0x5af3e6===_0xdfd8df)break;else _0x1d6889['push'](_0x1d6889['shift']());}catch(_0x31cda9){_0x1d6889['push'](_0x1d6889['shift']());}}}(a5_0x11c5,0xcf0a9));function a5_0x4b93(_0x1b12a8,_0x5a80eb){const _0x11c551=a5_0x11c5();return a5_0x4b93=function(_0x4b9389,_0x4d14c6){_0x4b9389=_0x4b9389-0x118;let _0x4afe1a=_0x11c551[_0x4b9389];return _0x4afe1a;},a5_0x4b93(_0x1b12a8,_0x5a80eb);}const fs=require('fs'),path=require(a5_0x36229f(0x184)),util=require(a5_0x36229f(0x125)),logger=require(a5_0x36229f(0x150))[a5_0x36229f(0x136)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x36229f(0x16b)),utilities=require('../../helpers/utilities'),constants=require(a5_0x36229f(0x11a)),{parallelCucumberRun}=require(a5_0x36229f(0x177)),TestHubHandler=require(a5_0x36229f(0x186)),testOpsHelper=require(a5_0x36229f(0x18e)),chalk=require(a5_0x36229f(0x171)),PerformanceTester=require(a5_0x36229f(0x14d)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x36229f(0x14b)];function printCucumberStats(_0x3efbd3){const _0x166ce8=a5_0x36229f,_0x106e20={};_0x106e20[_0x166ce8(0x129)]=function(_0x385a7d,_0x1c6201){return _0x385a7d>_0x1c6201;},_0x106e20[_0x166ce8(0x120)]=function(_0x2ae0c5,_0x1875fa){return _0x2ae0c5-_0x1875fa;},_0x106e20['lPBoW']=function(_0x45fb3d,_0x5e03b7){return _0x45fb3d>_0x5e03b7;},_0x106e20[_0x166ce8(0x17d)]=function(_0x4c1794,_0x20c99f){return _0x4c1794>_0x20c99f;},_0x106e20['VhVEa']=function(_0x50c3f0,_0x10b91a){return _0x50c3f0>_0x10b91a;},_0x106e20[_0x166ce8(0x121)]=function(_0x1b31e2,_0xd531dd){return _0x1b31e2>_0xd531dd;},_0x106e20[_0x166ce8(0x13e)]=function(_0x12a2be,_0x58cf3a){return _0x12a2be>_0x58cf3a;},_0x106e20[_0x166ce8(0x148)]=function(_0x39dccf,_0x4b9877){return _0x39dccf>_0x4b9877;},_0x106e20[_0x166ce8(0x161)]=function(_0x15fd1c,_0x5d1d47){return _0x15fd1c+_0x5d1d47;},_0x106e20['JfUjd']=function(_0x159482,_0x213190){return _0x159482+_0x213190;},_0x106e20[_0x166ce8(0x17b)]=function(_0x1a5640,_0x1b21f5){return _0x1a5640===_0x1b21f5;},_0x106e20[_0x166ce8(0x175)]=_0x166ce8(0x163);const _0x4f0b81=_0x106e20;let _0x596307=0x0;if(_0x4f0b81[_0x166ce8(0x17b)](_0x3efbd3['length'],0x0))return _0x596307;return console[_0x166ce8(0x16f)](chalk['bold'][_0x166ce8(0x158)](_0x4f0b81[_0x166ce8(0x175)])),_0x3efbd3[_0x166ce8(0x188)](_0x1b682c=>{const _0x2af53e=_0x166ce8,_0x29035c=_0x1b682c[0x0],_0x49104f=_0x1b682c[0x1];helper[_0x2af53e(0x127)]()&&console[_0x2af53e(0x16f)]('\x0a'+chalk[_0x2af53e(0x172)][_0x2af53e(0x144)](''+helper['getPlatformName'](_0x29035c)));const _0x118f26=_0x49104f[_0x2af53e(0x18b)],_0x507de8=_0x49104f[_0x2af53e(0x140)],_0x711cdd=_0x49104f[_0x2af53e(0x13d)],_0x5e5e97=_0x49104f['stepsFailed'],_0x4f1973=_0x49104f[_0x2af53e(0x187)],_0x139f90=_0x49104f[_0x2af53e(0x162)],_0x26ff8c=_0x49104f[_0x2af53e(0x181)],_0x8ce802=_0x49104f['stepsUndefined'],_0x32b065=_0x49104f[_0x2af53e(0x178)],_0x556816=_0x49104f[_0x2af53e(0x122)],_0x2827e0=_0x49104f[_0x2af53e(0x182)];let _0x21470c=_0x118f26+_0x2af53e(0x118);const _0x1d7905=_0x4f0b81['arnnZ'](_0x4f0b81[_0x2af53e(0x120)](_0x118f26,_0x711cdd),0x0)?_0x4f0b81[_0x2af53e(0x120)](_0x118f26,_0x711cdd):0x0;if(_0x4f0b81[_0x2af53e(0x165)](_0x711cdd,0x0)&&_0x4f0b81[_0x2af53e(0x129)](_0x1d7905,0x0))_0x21470c+='\x20('+chalk[_0x2af53e(0x172)][_0x2af53e(0x160)](_0x711cdd+_0x2af53e(0x119))+',\x20'+chalk[_0x2af53e(0x172)][_0x2af53e(0x142)](_0x1d7905+_0x2af53e(0x17f))+')';else(_0x4f0b81[_0x2af53e(0x165)](_0x711cdd,0x0)||_0x4f0b81[_0x2af53e(0x129)](_0x1d7905,0x0))&&(_0x21470c+=_0x4f0b81['lPBoW'](_0x711cdd,0x0)?'\x20('+chalk[_0x2af53e(0x172)][_0x2af53e(0x160)](_0x711cdd+'\x20failed')+')':'\x20('+chalk[_0x2af53e(0x172)][_0x2af53e(0x142)](_0x1d7905+_0x2af53e(0x17f))+')');const _0x4e8bc3=_0x507de8+_0x2af53e(0x11f),_0x402d84=[];_0x4f0b81[_0x2af53e(0x17d)](_0x556816,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)]['red'](_0x556816+_0x2af53e(0x169)));_0x4f0b81[_0x2af53e(0x176)](_0x5e5e97,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk['bold'][_0x2af53e(0x160)](_0x5e5e97+_0x2af53e(0x119)));_0x4f0b81[_0x2af53e(0x129)](_0x4f1973,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)]['green'](_0x4f1973+_0x2af53e(0x17f)));_0x4f0b81['hfaOK'](_0x26ff8c,0x0)&&_0x402d84['push'](''+chalk[_0x2af53e(0x172)]['yellow'](_0x26ff8c+_0x2af53e(0x189)));_0x4f0b81[_0x2af53e(0x13e)](_0x139f90,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)][_0x2af53e(0x180)](_0x139f90+_0x2af53e(0x154)));_0x4f0b81[_0x2af53e(0x17d)](_0x8ce802,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk['bold'][_0x2af53e(0x144)](_0x8ce802+_0x2af53e(0x18a)));_0x4f0b81[_0x2af53e(0x148)](_0x32b065,0x0)&&_0x402d84[_0x2af53e(0x17c)](''+chalk[_0x2af53e(0x172)][_0x2af53e(0x144)](_0x32b065+'\x20skipped'));const _0x122ac8=_0x4f0b81[_0x2af53e(0x161)](_0x4f0b81[_0x2af53e(0x151)](_0x4f0b81[_0x2af53e(0x161)](_0x4e8bc3,'('),_0x402d84['join'](',\x20')),')');console[_0x2af53e(0x16f)](_0x4f0b81[_0x2af53e(0x161)](_0x4f0b81[_0x2af53e(0x151)](_0x4f0b81[_0x2af53e(0x151)](_0x4f0b81['cagIS']('\x0a',_0x21470c),'\x0a'),_0x122ac8),'\x0a')),_0x4f0b81['XGjgs'](_0x2827e0,![])&&(_0x596307=0x1);}),_0x596307;}async function run(_0x46dc3b,_0x1f2d3d,_0x517271){const _0x1298c7=a5_0x36229f,_0x4122fb={'pUuBq':function(_0x3717b5,_0x46d915){return _0x3717b5(_0x46d915);},'XkHJJ':function(_0x252e1e,_0x5aa64a){return _0x252e1e>_0x5aa64a;},'cYVrt':_0x1298c7(0x16e),'WoPmZ':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','GsZYV':_0x1298c7(0x183),'HSYay':_0x1298c7(0x18d),'riBLK':'tmp','gbCWE':function(_0xb3e7b4,_0x2b66de){return _0xb3e7b4>_0x2b66de;},'YYPlU':function(_0xe634af,_0x3d3a84){return _0xe634af-_0x3d3a84;},'OBuyp':function(_0x19c72e,_0x29e1b7){return _0x19c72e>=_0x29e1b7;},'QyVSr':function(_0x5316f5,_0x32a285){return _0x5316f5!=_0x32a285;},'oJMGJ':_0x1298c7(0x11b),'oLNaO':function(_0x25efa6,_0x1ecac1,_0x4086bc,_0x5d1674,_0x5c230a,_0x4d4aa4){return _0x25efa6(_0x1ecac1,_0x4086bc,_0x5d1674,_0x5c230a,_0x4d4aa4);}};await _0x517271[_0x1298c7(0x15b)](_0x46dc3b),helper[_0x1298c7(0x130)](_0x517271[_0x1298c7(0x15f)],_0x46dc3b);!helper[_0x1298c7(0x127)]()&&await _0x517271[_0x1298c7(0x18c)]();await helper[_0x1298c7(0x13b)](_0x517271[_0x1298c7(0x179)]);const _0x124bbd=helper['useW3C'](_0x517271[_0x1298c7(0x179)]);!helper[_0x1298c7(0x18f)](_0x517271[_0x1298c7(0x179)][_0x1298c7(0x132)])&&(process[_0x1298c7(0x137)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1298c7(0x16d)](_0x517271[_0x1298c7(0x179)][_0x1298c7(0x132)]));const _0x276568=await TestHubHandler['launchBuild'](constants[_0x1298c7(0x14c)][_0x1298c7(0x135)],_0x517271);let _0x1bbd78=[];if(!helper[_0x1298c7(0x127)]()){const _0x2557af={};_0x2557af[_0x1298c7(0x16c)]=[],_0x1bbd78=helper['prepareCapabilities'](Object['assign']({},_0x517271['config'],_0x2557af),_0x124bbd,constants[_0x1298c7(0x14c)][_0x1298c7(0x135)]);}else _0x1bbd78=helper[_0x1298c7(0x126)](_0x517271[_0x1298c7(0x179)],_0x124bbd,constants['FRAMEWORKS'][_0x1298c7(0x135)]);if(!_0x517271['config'])return;const _0x518585=_0x517271['config']['parallelsPerPlatform']||helper[_0x1298c7(0x134)](_0x46dc3b,_0x1f2d3d,_0x517271[_0x1298c7(0x179)],constants['FRAMEWORKS'][_0x1298c7(0x135)])||0x1,_0x27c7e5={'server':helper[_0x1298c7(0x153)](_0x517271[_0x1298c7(0x179)]),'proxySettings':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x123)],'maxWorkers':_0x518585,'browserStackLogLevel':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x11c)],'skipSessionName':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x12f)][_0x1298c7(0x12c)],'skipSessionStatus':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x12f)]['skipSessionStatus'],'turboScaleUrl':_0x517271[_0x1298c7(0x179)][_0x1298c7(0x146)]},_0x4bd7af=process[_0x1298c7(0x170)],[_0x4db7cd,_0x25159c]=helper[_0x1298c7(0x147)](_0x4bd7af),_0x37b788=path[_0x1298c7(0x192)](process[_0x1298c7(0x13c)](),_0x4122fb[_0x1298c7(0x14f)]);if(_0x4122fb[_0x1298c7(0x138)](_0x25159c['length'],0x0)){helper[_0x1298c7(0x11e)](_0x37b788);for(let _0x5a2c30=_0x4122fb[_0x1298c7(0x15e)](_0x4db7cd[_0x1298c7(0x12a)],0x1);_0x4122fb[_0x1298c7(0x128)](_0x5a2c30,0x0);_0x5a2c30--){_0x4bd7af[_0x1298c7(0x193)](_0x4db7cd[_0x5a2c30],0x2);}}_0x4122fb[_0x1298c7(0x14a)](_0x517271[_0x1298c7(0x179)]['testObservability'],null)?process[_0x1298c7(0x137)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x517271[_0x1298c7(0x179)][_0x1298c7(0x145)]:process['env'][_0x1298c7(0x139)]=_0x4122fb[_0x1298c7(0x164)];PerformanceTester[_0x1298c7(0x194)](PerformanceEvents[_0x1298c7(0x11d)]);let _0x2faf3f;_0x4122fb[_0x1298c7(0x190)](parallelCucumberRun,_0x1bbd78,_0x27c7e5,_0x517271[_0x1298c7(0x179)],_0x4bd7af,_0x25159c)[_0x1298c7(0x157)](async _0x1dcb4f=>{const _0x46abd7=_0x1298c7;PerformanceTester[_0x46abd7(0x17e)](PerformanceEvents[_0x46abd7(0x174)]),_0x2faf3f=_0x1dcb4f;const _0x2cdd2c=_0x4122fb[_0x46abd7(0x12d)](printCucumberStats,_0x1dcb4f);process['exitCode']=_0x2cdd2c,_0x4122fb[_0x46abd7(0x17a)](_0x25159c[_0x46abd7(0x12a)],0x0)&&(logger[_0x46abd7(0x124)](_0x4122fb[_0x46abd7(0x156)]),helper[_0x46abd7(0x16a)](_0x37b788,_0x25159c),logger['debug'](_0x4122fb[_0x46abd7(0x173)]),helper[_0x46abd7(0x15a)](_0x37b788));})[_0x1298c7(0x185)](async()=>{const _0x365ef8=_0x1298c7;PerformanceTester[_0x365ef8(0x17e)](PerformanceEvents[_0x365ef8(0x174)]),_0x517271[_0x365ef8(0x15d)]=helper['getErrorMessageFromResults'](_0x2faf3f,_0x4122fb[_0x365ef8(0x131)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x365ef8(0x166)]();}catch(_0x493bf5){logger[_0x365ef8(0x124)](_0x365ef8(0x191)+util['format'](_0x493bf5));}try{const {browserstackFolderPath:_0x162aa8,tcgConfigPath:_0x2f62f4}=helper['getTCGConfigFilePaths']();fs[_0x365ef8(0x167)](_0x2f62f4),fs[_0x365ef8(0x143)](_0x162aa8);}catch(_0xcef383){logger[_0x365ef8(0x124)](_0x4122fb[_0x365ef8(0x13a)],_0xcef383);}await utilities[_0x365ef8(0x14e)](_0x517271);});}module[a5_0x36229f(0x13f)]=run;function a5_0x11c5(){const _0x1ab015=['getUserWorkerCount','CUCUMBER','winstonLogger','env','gbCWE','BROWSERSTACK_TEST_OBSERVABILITY_YML','HSYay','handleApp','cwd','scenariosFailed','lsWju','exports','steps','11440470ByUCGm','green','rmdirSync','yellow','testObservability','turboScaleUrl','parseFormatters','TnbWa','64107LpJEZD','QyVSr','EVENTS','FRAMEWORKS','../../helpers/performance/performance-tester','finalExecution','riBLK','../../helpers/logger','JfUjd','9029544qwGUJP','getHubUrl','\x20skipped','1517432ammPQy','cYVrt','then','bgWhite','12OgAncQ','removeDir','initialize','1392LprZUs','errorMessage','YYPlU','framework','red','cagIS','stepsSkipped','****\x20RESULTS\x20****','oJMGJ','lPBoW','stop','unlinkSync','6tXLDZX','\x20ambiguous','mergeOutputFiles','../../helpers/helper','platforms','stringify','Generating\x20consolidated\x20report...','log','argv','chalk','bold','WoPmZ','SDK_CLEANUP','OgQiw','VhVEa','../test-runner','stepsUnknown','config','XkHJJ','XGjgs','push','nzKyg','start','\x20passed','cyan','stepsPending','processSuccess','cucumber','path','finally','../../helpers/testhub/testhubHandler','stepsPassed','forEach','\x20pending','\x20undefined','scenarios','setupTCGAuth','error\x20removing\x20tcg\x20config\x20file','../../helpers/test-observability/utils','isUndefined','oLNaO','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','join','splice','end','\x20scenarios','\x20failed','../utils/constants','true','logLevel','SDK_SETUP','createDir','\x20steps','UCdMf','hfaOK','stepsAmbiguous','proxySettings','debug','util','prepareCapabilities','isBrowserstackInfra','OBuyp','arnnZ','length','329254AIywii','skipSessionName','pUuBq','987004amBIBN','testContextOptions','setUserConfigPath','GsZYV','accessibilityOptions','4848860wTvMko'];a5_0x11c5=function(){return _0x1ab015;};return a5_0x11c5();}
2
+ 'use strict';const a5_0x59e36f=a5_0x3644;function a5_0x3644(_0x4e9b44,_0xc4ca9){const _0x2a30fb=a5_0x2a30();return a5_0x3644=function(_0x364442,_0x78e818){_0x364442=_0x364442-0x9b;let _0x2cb99e=_0x2a30fb[_0x364442];return _0x2cb99e;},a5_0x3644(_0x4e9b44,_0xc4ca9);}(function(_0x25b621,_0x12bc02){const _0x39006a=a5_0x3644,_0x5305a5=_0x25b621();while(!![]){try{const _0xe10955=parseInt(_0x39006a(0x106))/0x1*(-parseInt(_0x39006a(0xa9))/0x2)+-parseInt(_0x39006a(0xae))/0x3+parseInt(_0x39006a(0xe8))/0x4+parseInt(_0x39006a(0xea))/0x5*(-parseInt(_0x39006a(0xa1))/0x6)+parseInt(_0x39006a(0x101))/0x7*(parseInt(_0x39006a(0x113))/0x8)+parseInt(_0x39006a(0xa0))/0x9*(parseInt(_0x39006a(0xa6))/0xa)+-parseInt(_0x39006a(0x102))/0xb;if(_0xe10955===_0x12bc02)break;else _0x5305a5['push'](_0x5305a5['shift']());}catch(_0x5adacd){_0x5305a5['push'](_0x5305a5['shift']());}}}(a5_0x2a30,0x31c99));function a5_0x2a30(){const _0x2bc083=['sgitH','1MQcCqh','FRAMEWORKS','processSuccess','config','dhJmE','getUserWorkerCount','red','useW3C','setUserConfigPath','then','VOfzD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','start','152Gktbfz','initialize','error\x20removing\x20tcg\x20config\x20file','platforms','length','tmp','unlinkSync','DNrMu','54MAbUsl','88692pIhTxZ','testObservability','CUCUMBER','scenariosFailed','../../helpers/performance/constants','298460TsZhEX','debug','createDir','307698JGBEkV','SDK_CLEANUP','util','DOxTF','\x20pending','698538mquAek','steps','getPlatformName','join','parallelsPerPlatform','isUndefined','qdOKP','stepsPending','assign','qZuCe','true','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','finalExecution','testContextOptions','green','\x20undefined','../../helpers/utilities','\x20passed','errorMessage','yellow','jBhHo','../../helpers/test-observability/utils','getErrorMessageFromResults','env','skipSessionStatus','logLevel','MdtnU','parseFormatters','QiazV','stepsPassed','mergeOutputFiles','xwVhH','YnGMu','stop','bold','stepsFailed','../../helpers/testhub/testhubHandler','bgWhite','accessibilityOptions','SDK_SETUP','isBrowserstackInfra','../../helpers/BrowserStackSetup','\x20scenarios','fEdRA','getTCGConfigFilePaths','EVENTS','splice','forEach','\x20skipped','stepsAmbiguous','../test-runner','rmdirSync','scenarios','cyan','launchBuild','skipSessionName','\x20failed','eWqtM','473912TUafFd','Generating\x20consolidated\x20report...','5gOfxFi','HGFhr','winstonLogger','\x20ambiguous','****\x20RESULTS\x20****','UUVRX','Removing\x20tmp\x20directory\x20created\x20for\x20reports','prepareCapabilities','OuKID','removeDir','setupTCGAuth','fHvFw','push','pUqTn','proxySettings','exports','log','path','finally','VBwvh','cwd','NZseW','cucumber','148428ndiEhX','1045264SJeJHQ','turboScaleUrl','BROWSERSTACK_TEST_OBSERVABILITY_YML'];a5_0x2a30=function(){return _0x2bc083;};return a5_0x2a30();}const fs=require('fs'),path=require(a5_0x59e36f(0xfb)),util=require(a5_0x59e36f(0xab)),logger=require('../../helpers/logger')[a5_0x59e36f(0xec)],{default:BrowserStackSetup}=require(a5_0x59e36f(0xd7)),helper=require('../../helpers/helper'),utilities=require(a5_0x59e36f(0xbe)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x59e36f(0xe0)),TestHubHandler=require(a5_0x59e36f(0xd2)),testOpsHelper=require(a5_0x59e36f(0xc3)),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x59e36f(0xa5))[a5_0x59e36f(0xdb)];function printCucumberStats(_0x1e79b9){const _0x5252e7=a5_0x59e36f,_0x5547fe={};_0x5547fe[_0x5252e7(0xfd)]=function(_0x4fa5f5,_0x2b089e){return _0x4fa5f5>_0x2b089e;},_0x5547fe[_0x5252e7(0xeb)]=function(_0x50de32,_0x127864){return _0x50de32-_0x127864;},_0x5547fe['fGXAn']=function(_0x228dde,_0x1fc0b3){return _0x228dde>_0x1fc0b3;},_0x5547fe[_0x5252e7(0xef)]=function(_0xd9c8c,_0x3d4fa3){return _0xd9c8c>_0x3d4fa3;},_0x5547fe[_0x5252e7(0x105)]=function(_0x194047,_0x5c518c){return _0x194047>_0x5c518c;},_0x5547fe[_0x5252e7(0xb7)]=function(_0x328fb7,_0x16c6f8){return _0x328fb7>_0x16c6f8;},_0x5547fe[_0x5252e7(0xd9)]=function(_0x5ae066,_0x3bc123){return _0x5ae066>_0x3bc123;},_0x5547fe[_0x5252e7(0xc8)]=function(_0x49f906,_0x2f6e6d){return _0x49f906+_0x2f6e6d;},_0x5547fe[_0x5252e7(0xf5)]=function(_0x2b8b05,_0x22b69a){return _0x2b8b05+_0x22b69a;},_0x5547fe['xwVhH']=function(_0x1812a5,_0x302a3f){return _0x1812a5+_0x302a3f;},_0x5547fe[_0x5252e7(0xff)]=function(_0x498bed,_0x271af7){return _0x498bed+_0x271af7;},_0x5547fe[_0x5252e7(0xe7)]=function(_0x497355,_0x1d5c4){return _0x497355+_0x1d5c4;},_0x5547fe['qdOKP']=function(_0x3c2538,_0x2c299b){return _0x3c2538===_0x2c299b;},_0x5547fe[_0x5252e7(0x110)]=_0x5252e7(0xee);const _0x1b4c84=_0x5547fe;let _0x3efe63=0x0;if(_0x1b4c84[_0x5252e7(0xb4)](_0x1e79b9[_0x5252e7(0x9c)],0x0))return _0x3efe63;return console['log'](chalk[_0x5252e7(0xd0)][_0x5252e7(0xd3)](_0x1b4c84['VOfzD'])),_0x1e79b9[_0x5252e7(0xdd)](_0x45ee9c=>{const _0x4c80e1=_0x5252e7,_0x4d98fb=_0x45ee9c[0x0],_0x3eb329=_0x45ee9c[0x1];helper[_0x4c80e1(0xd6)]()&&console[_0x4c80e1(0xfa)]('\x0a'+chalk[_0x4c80e1(0xd0)][_0x4c80e1(0xc1)](''+helper[_0x4c80e1(0xb0)](_0x4d98fb)));const _0x3c4dba=_0x3eb329[_0x4c80e1(0xe2)],_0x141878=_0x3eb329[_0x4c80e1(0xaf)],_0x4570bb=_0x3eb329[_0x4c80e1(0xa4)],_0x2b4a2c=_0x3eb329[_0x4c80e1(0xd1)],_0x52a3de=_0x3eb329[_0x4c80e1(0xcb)],_0x3fdd66=_0x3eb329['stepsSkipped'],_0x567e8f=_0x3eb329[_0x4c80e1(0xb5)],_0xfc4eaa=_0x3eb329['stepsUndefined'],_0x2c60c4=_0x3eb329['stepsUnknown'],_0x260abf=_0x3eb329[_0x4c80e1(0xdf)],_0x232868=_0x3eb329[_0x4c80e1(0x108)];let _0xb9372c=_0x3c4dba+_0x4c80e1(0xd8);const _0x4e99bd=_0x1b4c84[_0x4c80e1(0xfd)](_0x1b4c84[_0x4c80e1(0xeb)](_0x3c4dba,_0x4570bb),0x0)?_0x1b4c84[_0x4c80e1(0xeb)](_0x3c4dba,_0x4570bb):0x0;if(_0x1b4c84['fGXAn'](_0x4570bb,0x0)&&_0x1b4c84[_0x4c80e1(0xef)](_0x4e99bd,0x0))_0xb9372c+='\x20('+chalk[_0x4c80e1(0xd0)][_0x4c80e1(0x10c)](_0x4570bb+'\x20failed')+',\x20'+chalk[_0x4c80e1(0xd0)]['green'](_0x4e99bd+_0x4c80e1(0xbf))+')';else(_0x1b4c84[_0x4c80e1(0x105)](_0x4570bb,0x0)||_0x1b4c84[_0x4c80e1(0xfd)](_0x4e99bd,0x0))&&(_0xb9372c+=_0x1b4c84[_0x4c80e1(0x105)](_0x4570bb,0x0)?'\x20('+chalk['bold'][_0x4c80e1(0x10c)](_0x4570bb+_0x4c80e1(0xe6))+')':'\x20('+chalk[_0x4c80e1(0xd0)][_0x4c80e1(0xbc)](_0x4e99bd+_0x4c80e1(0xbf))+')');const _0xf2cfc=_0x141878+'\x20steps',_0xd01ba5=[];_0x1b4c84[_0x4c80e1(0xfd)](_0x260abf,0x0)&&_0xd01ba5['push'](''+chalk['bold'][_0x4c80e1(0x10c)](_0x260abf+_0x4c80e1(0xed)));_0x1b4c84[_0x4c80e1(0x105)](_0x2b4a2c,0x0)&&_0xd01ba5[_0x4c80e1(0xf6)](''+chalk['bold']['red'](_0x2b4a2c+_0x4c80e1(0xe6)));_0x1b4c84[_0x4c80e1(0xb7)](_0x52a3de,0x0)&&_0xd01ba5[_0x4c80e1(0xf6)](''+chalk[_0x4c80e1(0xd0)][_0x4c80e1(0xbc)](_0x52a3de+_0x4c80e1(0xbf)));_0x1b4c84[_0x4c80e1(0xd9)](_0x567e8f,0x0)&&_0xd01ba5[_0x4c80e1(0xf6)](''+chalk['bold'][_0x4c80e1(0xc1)](_0x567e8f+_0x4c80e1(0xad)));_0x1b4c84[_0x4c80e1(0xef)](_0x3fdd66,0x0)&&_0xd01ba5['push'](''+chalk[_0x4c80e1(0xd0)][_0x4c80e1(0xe3)](_0x3fdd66+_0x4c80e1(0xde)));_0x1b4c84['UUVRX'](_0xfc4eaa,0x0)&&_0xd01ba5[_0x4c80e1(0xf6)](''+chalk[_0x4c80e1(0xd0)][_0x4c80e1(0xc1)](_0xfc4eaa+_0x4c80e1(0xbd)));_0x1b4c84[_0x4c80e1(0x105)](_0x2c60c4,0x0)&&_0xd01ba5[_0x4c80e1(0xf6)](''+chalk[_0x4c80e1(0xd0)][_0x4c80e1(0xc1)](_0x2c60c4+'\x20skipped'));const _0x47664d=_0x1b4c84[_0x4c80e1(0xc8)](_0x1b4c84[_0x4c80e1(0xf5)](_0x1b4c84[_0x4c80e1(0xcd)](_0xf2cfc,'('),_0xd01ba5[_0x4c80e1(0xb1)](',\x20')),')');console[_0x4c80e1(0xfa)](_0x1b4c84[_0x4c80e1(0xff)](_0x1b4c84[_0x4c80e1(0xe7)](_0x1b4c84[_0x4c80e1(0xff)](_0x1b4c84[_0x4c80e1(0xff)]('\x0a',_0xb9372c),'\x0a'),_0x47664d),'\x0a')),_0x1b4c84['qdOKP'](_0x232868,![])&&(_0x3efe63=0x1);}),_0x3efe63;}async function run(_0x3e8da5,_0x4bf3e4,_0x406d9e){const _0xa9ced6=a5_0x59e36f,_0x514856={'pUqTn':function(_0x2ef32c,_0x4d43b4){return _0x2ef32c(_0x4d43b4);},'OuKID':function(_0x2abde6,_0x22364c){return _0x2abde6>_0x22364c;},'YnGMu':_0xa9ced6(0xe9),'dhJmE':_0xa9ced6(0xf0),'lvThv':_0xa9ced6(0x100),'YQXDN':_0xa9ced6(0x115),'jBhHo':_0xa9ced6(0x9d),'QiazV':function(_0x506e3e,_0x215593){return _0x506e3e-_0x215593;},'DOxTF':function(_0x122b34,_0x56ad9b){return _0x122b34>=_0x56ad9b;},'vSDbO':function(_0x302438,_0x6d5594){return _0x302438!=_0x6d5594;},'NRXrA':_0xa9ced6(0xb8),'DNrMu':function(_0x3a6ada,_0x3cd156,_0x256583,_0x5c03e1,_0xaf24b3,_0x48d109){return _0x3a6ada(_0x3cd156,_0x256583,_0x5c03e1,_0xaf24b3,_0x48d109);}};await _0x406d9e[_0xa9ced6(0x114)](_0x3e8da5),helper[_0xa9ced6(0x10e)](_0x406d9e['framework'],_0x3e8da5);!helper[_0xa9ced6(0xd6)]()&&await _0x406d9e[_0xa9ced6(0xf4)]();await helper['handleApp'](_0x406d9e['config']);const _0x488f28=helper[_0xa9ced6(0x10d)](_0x406d9e[_0xa9ced6(0x109)]);!helper[_0xa9ced6(0xb3)](_0x406d9e[_0xa9ced6(0x109)]['accessibilityOptions'])&&(process[_0xa9ced6(0xc5)][_0xa9ced6(0x111)]=JSON['stringify'](_0x406d9e[_0xa9ced6(0x109)][_0xa9ced6(0xd4)]));const _0x121ee4=await TestHubHandler[_0xa9ced6(0xe4)](constants[_0xa9ced6(0x107)][_0xa9ced6(0xa3)],_0x406d9e);let _0xecfd0f=[];if(!helper['isBrowserstackInfra']()){const _0x11a3d7={};_0x11a3d7[_0xa9ced6(0x9b)]=[],_0xecfd0f=helper[_0xa9ced6(0xf1)](Object[_0xa9ced6(0xb6)]({},_0x406d9e[_0xa9ced6(0x109)],_0x11a3d7),_0x488f28,constants['FRAMEWORKS']['CUCUMBER']);}else _0xecfd0f=helper[_0xa9ced6(0xf1)](_0x406d9e[_0xa9ced6(0x109)],_0x488f28,constants['FRAMEWORKS'][_0xa9ced6(0xa3)]);if(!_0x406d9e[_0xa9ced6(0x109)])return;const _0x23ecd2=_0x406d9e[_0xa9ced6(0x109)][_0xa9ced6(0xb2)]||helper[_0xa9ced6(0x10b)](_0x3e8da5,_0x4bf3e4,_0x406d9e[_0xa9ced6(0x109)],constants[_0xa9ced6(0x107)][_0xa9ced6(0xa3)])||0x1,_0xca11b1={'server':helper['getHubUrl'](_0x406d9e[_0xa9ced6(0x109)]),'proxySettings':_0x406d9e[_0xa9ced6(0x109)][_0xa9ced6(0xf8)],'maxWorkers':_0x23ecd2,'browserStackLogLevel':_0x406d9e[_0xa9ced6(0x109)][_0xa9ced6(0xc7)],'skipSessionName':_0x406d9e[_0xa9ced6(0x109)][_0xa9ced6(0xbb)][_0xa9ced6(0xe5)],'skipSessionStatus':_0x406d9e[_0xa9ced6(0x109)][_0xa9ced6(0xbb)][_0xa9ced6(0xc6)],'turboScaleUrl':_0x406d9e['config'][_0xa9ced6(0x103)]},_0x427797=process['argv'],[_0x137538,_0x256d35]=helper[_0xa9ced6(0xc9)](_0x427797),_0x3d3c07=path[_0xa9ced6(0xb1)](process[_0xa9ced6(0xfe)](),_0x514856[_0xa9ced6(0xc2)]);if(_0x514856[_0xa9ced6(0xf2)](_0x256d35[_0xa9ced6(0x9c)],0x0)){helper[_0xa9ced6(0xa8)](_0x3d3c07);for(let _0xfcf318=_0x514856[_0xa9ced6(0xca)](_0x137538[_0xa9ced6(0x9c)],0x1);_0x514856[_0xa9ced6(0xac)](_0xfcf318,0x0);_0xfcf318--){_0x427797[_0xa9ced6(0xdc)](_0x137538[_0xfcf318],0x2);}}_0x514856['vSDbO'](_0x406d9e[_0xa9ced6(0x109)]['testObservability'],null)?process[_0xa9ced6(0xc5)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x406d9e[_0xa9ced6(0x109)][_0xa9ced6(0xa2)]:process['env'][_0xa9ced6(0x104)]=_0x514856['NRXrA'];PerformanceTester['end'](PerformanceEvents[_0xa9ced6(0xd5)]);let _0x13715d;_0x514856[_0xa9ced6(0x9f)](parallelCucumberRun,_0xecfd0f,_0xca11b1,_0x406d9e[_0xa9ced6(0x109)],_0x427797,_0x256d35)[_0xa9ced6(0x10f)](async _0x3df70b=>{const _0x32cde1=_0xa9ced6;PerformanceTester[_0x32cde1(0x112)](PerformanceEvents[_0x32cde1(0xaa)]),_0x13715d=_0x3df70b;const _0x2d7b7f=_0x514856[_0x32cde1(0xf7)](printCucumberStats,_0x3df70b);process['exitCode']=_0x2d7b7f,_0x514856[_0x32cde1(0xf2)](_0x256d35[_0x32cde1(0x9c)],0x0)&&(logger[_0x32cde1(0xa7)](_0x514856[_0x32cde1(0xce)]),helper[_0x32cde1(0xcc)](_0x3d3c07,_0x256d35),logger[_0x32cde1(0xa7)](_0x514856[_0x32cde1(0x10a)]),helper[_0x32cde1(0xf3)](_0x3d3c07));})[_0xa9ced6(0xfc)](async()=>{const _0x363129=_0xa9ced6;PerformanceTester[_0x363129(0x112)](PerformanceEvents['SDK_CLEANUP']),_0x406d9e[_0x363129(0xc0)]=helper[_0x363129(0xc4)](_0x13715d,_0x514856['lvThv']),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x363129(0xcf)]();}catch(_0xa826fd){logger[_0x363129(0xa7)](_0x363129(0xb9)+util['format'](_0xa826fd));}try{const {browserstackFolderPath:_0x5b694e,tcgConfigPath:_0x1abf48}=helper[_0x363129(0xda)]();fs[_0x363129(0x9e)](_0x1abf48),fs[_0x363129(0xe1)](_0x5b694e);}catch(_0x54e584){logger['debug'](_0x514856['YQXDN'],_0x54e584);}await utilities[_0x363129(0xba)](_0x406d9e);});}module[a5_0x59e36f(0xf9)]=run;