browserstack-node-sdk 1.36.1 → 1.36.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x53b480=a1_0x5f24;function a1_0x5f24(_0x246458,_0xcba7a9){const _0x145ae9=a1_0x145a();return a1_0x5f24=function(_0x5f24ed,_0x21ffe0){_0x5f24ed=_0x5f24ed-0x6d;let _0x58ec98=_0x145ae9[_0x5f24ed];return _0x58ec98;},a1_0x5f24(_0x246458,_0xcba7a9);}(function(_0x447602,_0x41031f){const _0x3cf509=a1_0x5f24,_0x108ef5=_0x447602();while(!![]){try{const _0x4f7a73=parseInt(_0x3cf509(0xa8))/0x1+-parseInt(_0x3cf509(0xf2))/0x2+parseInt(_0x3cf509(0xd8))/0x3*(-parseInt(_0x3cf509(0x91))/0x4)+-parseInt(_0x3cf509(0x13e))/0x5+-parseInt(_0x3cf509(0xc5))/0x6+parseInt(_0x3cf509(0xc1))/0x7*(parseInt(_0x3cf509(0xbb))/0x8)+-parseInt(_0x3cf509(0xe8))/0x9*(-parseInt(_0x3cf509(0xa3))/0xa);if(_0x4f7a73===_0x41031f)break;else _0x108ef5['push'](_0x108ef5['shift']());}catch(_0x457d2c){_0x108ef5['push'](_0x108ef5['shift']());}}}(a1_0x145a,0x2a85d));function a1_0x145a(){const _0x3fabc2=['44703aZkVTV','captureError','SYNC','browser','Qihac','./helper.js','ieUpa','../../bin/playwright/sessionDetails','RUbNC','Ploig','329704oHXFoT','ctx','codeceptjs/lib/helper/WebDriver.js','test-failed','ZpbJT','saveScreenshot','codeceptjs/lib/helper/Playwright.js','DnPwO','getAccessibilityResults','test-started','xWnUL','test','epxJH','shouldWrapCommand','constructor','eEWay','setSessionStatus','SESSION_STATUS','passed','Performing\x20scan\x20for\x20','helpers','IdkKy','bddStepFinish','skipSessionName','info','after','skipped','codeceptjs/lib/index.js','commandsToWrap','bstackAllyScanning','MJiSz','currentTest','ntUBO','hook','env','EDSzB','browserStackExecuteDriver','AFmvj','GKXxI','UatjU','sJjIB','thBuildUuid','TEST_RUN_SKIPPED','XBfgI','start','performScan','bind','vALtW','_before','__skipSessionStatus','stopMonitoring','dispatcher','MAeRO','SDK_PRE_INITIALIZE','DZVyO','action','bsfEg','emit','class','format','../../helpers/performance/constants','Failed\x20to\x20execute\x20_before:\x20','yEkaT','step-comment','reason','bvKwg','browserContext','../../helpers/helper','before','Suite','lIZVq','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','HOOK_RUN_FINISHED','../../helpers/accessibility-automation/helper','dlJfy','slice','855755bwakpx','SDK_TEST','initSaveScreenshot','MEpsv','getSyncScript','arguments','bddStep','QQsHH','ENV_VAR','MEKtg','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','add','end','warn','toISOString','hookType','readFileSync','prototype','SDK_POST_TEST','codeceptjs/lib/utils.js','accessibilityPlatform','saveTestResults','lUOSB','event','browserstack_executor:\x20','GET_RESULTS_SUMMARY','lzQFV','TestCafe','hook-passed','getAccessibilityResultsSummary','cagOI','QwfkU','captureEvent','Screenshot\x20path\x20not\x20found','MhmNy','apply','YMxYs','fireEvent','vYRPz','then','getResults','Element','status','BROWSERSTACK_TESTHUB_UUID','patch','../../helpers/performance/performance-tester','util','SJRGv','pmYxz','all','executeScript','4JOVJmI','../../helpers/globals.js','Playwright','XJLnU','name','PERFORM_SCAN','BYssP','pDDSU','TEST_LOG','exports','NeKok','stop','__workerDetails','ozYBm','failed','testAnalyticsId','toString','SDK_PRE_TEST','270srDvmI','screenshotOutputFolder','QEemh','GDkqG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','146992shMIKr','QVobB','BS_TESTOPS_ALLOW_SCREENSHOTS','titlePath','ptEzs','measureWrapper','GET_RESULTS','oBsLd','bs:addLog:','OsuVL','nvaDc','patchSaveScreenshot','title','addRequestSpy','WebDriver','contexts','ByGMe','thJwtToken','PIPcM','45944UpqjOr','../../helpers/logger','step','TEST_RUN_STARTED','test-passed','bddStepStart','371kwMtWj','EXfil','debug','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','420012zcUmrw','__driver','HOOK_RUN_STARTED','jpdIu','bddStep-before','YLExq','Nhsti','../../helpers/accessibility-automation/scripts','Puppeteer','../../helpers/testhub/constants.js','npvkj','SDK_HOOK','ajimP','pkAwG','pid','command','TEST_RUN_FINISHED','codeceptjs','RVBKs','15906rFFvkY','TEST_SCREENSHOT','nMxEA','afterTest','qxHbI','BROWSERSTACK_TESTHUB_JWT','test-after','restore','DaGlz','forEach','uhXoA','TEAVw','stringify','container','skipSessionStatus','thTestRunUuid'];a1_0x145a=function(){return _0x3fabc2;};return a1_0x145a();}const fs=require('fs'),util=require(a1_0x53b480(0x8c)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x53b480(0x135)),logger=require(a1_0x53b480(0xbc))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x53b480(0xef)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x53b480(0x13b)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x53b480(0xcc)),PerformanceTester=require(a1_0x53b480(0x8b)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x53b480(0x12e)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x53b480(0xed)),testHubConstants=require(a1_0x53b480(0xce)),globals=require(a1_0x53b480(0x92)),CodeceptJS=requireModule(a1_0x53b480(0x10d),a1_0x53b480(0xd6)),CodeceptUtils=requireModule(a1_0x53b480(0x71),a1_0x53b480(0xd6)),CodeceptWebDriver=requireModule(a1_0x53b480(0xf4),a1_0x53b480(0xd6)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x53b480(0xd6)),CodeceptPlaywright=requireModule(a1_0x53b480(0xf8),a1_0x53b480(0xd6)),playwrightMarkSessionStatus=(_0x3e3b03,_0x14d683,_0x1b69c3)=>{const _0x4a170b=a1_0x53b480,_0x2a6043={'DaGlz':_0x4a170b(0x102),'CwsOU':function(_0x647f1a,_0x4e9767){return _0x647f1a(_0x4e9767);}},_0x3f692e={};_0x3f692e[_0x4a170b(0x88)]=_0x14d683;const _0x5306af={};_0x5306af[_0x4a170b(0x129)]=_0x2a6043[_0x4a170b(0xe0)],_0x5306af[_0x4a170b(0x143)]=_0x3f692e;const _0x160ace=_0x5306af;return!_0x2a6043['CwsOU'](isUndefined,_0x1b69c3)&&(_0x160ace[_0x4a170b(0x143)][_0x4a170b(0x132)]=JSON[_0x4a170b(0xe4)](_0x1b69c3)),_0x3e3b03[_0x4a170b(0x90)](()=>{},'browserstack_executor:\x20'+JSON[_0x4a170b(0xe4)](_0x160ace));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x53b480(0xea)],async _0x1883ba=>{const _0x40e64c=a1_0x53b480,_0x1f47d2={};_0x1f47d2[_0x40e64c(0x97)]=function(_0x2d5e9b,_0x1f04e2){return _0x2d5e9b===_0x1f04e2;},_0x1f47d2[_0x40e64c(0x8d)]=_0x40e64c(0x93);const _0x5e9ec7=_0x1f47d2;_0x5e9ec7[_0x40e64c(0x97)](_0x1883ba[_0x40e64c(0x100)][_0x40e64c(0x95)],_0x5e9ec7[_0x40e64c(0x8d)])?await _0x1883ba[_0x40e64c(0x90)](_0x5f92ef=>{},testOpsHelper['getSyncScript']()):await _0x1883ba['executeScript'](testOpsHelper[_0x40e64c(0x142)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x4f5c25,_0x4bc6d1)=>{const _0x16b4c2=a1_0x53b480,_0x2c44ea={};_0x2c44ea[_0x16b4c2(0x118)]='setSessionName',_0x2c44ea[_0x16b4c2(0xe3)]=function(_0x3fcbf7,_0x446121){return _0x3fcbf7===_0x446121;},_0x2c44ea[_0x16b4c2(0xc2)]=_0x16b4c2(0x93);const _0x139ad2=_0x2c44ea,_0x38765a={};_0x38765a['name']=_0x4bc6d1;const _0x2518c0={};_0x2518c0[_0x16b4c2(0x129)]=_0x139ad2['GKXxI'],_0x2518c0[_0x16b4c2(0x143)]=_0x38765a;const _0x49b5a3=_0x2518c0;_0x139ad2[_0x16b4c2(0xe3)](_0x4f5c25[_0x16b4c2(0x100)][_0x16b4c2(0x95)],_0x139ad2[_0x16b4c2(0xc2)])?await _0x4f5c25[_0x16b4c2(0x90)](()=>{},_0x16b4c2(0x76)+JSON[_0x16b4c2(0xe4)](_0x49b5a3)):await _0x4f5c25['executeScript']('browserstack_executor:\x20'+JSON[_0x16b4c2(0xe4)](_0x49b5a3));}),patchSaveScreenshot=_0x26a691=>{const _0x2daf2e=a1_0x53b480,_0x5dd1c4={'QEemh':'base64','vALtW':_0x2daf2e(0xd9),'VChwH':function(_0x2fc879){return _0x2fc879();},'PIPcM':function(_0x54e0d2,_0xd4175a){return _0x54e0d2(_0xd4175a);},'bsfEg':_0x2daf2e(0x7f),'Qihac':function(_0x322015,_0x198d77){return _0x322015(_0x198d77);}};_0x5dd1c4[_0x2daf2e(0xec)](isTrue,process[_0x2daf2e(0x114)][_0x2daf2e(0xaa)])&&!_0x26a691[_0x2daf2e(0xb3)]&&(_0x26a691[_0x2daf2e(0xb3)]=!![],_0x26a691[_0x2daf2e(0x140)]=_0x26a691[_0x2daf2e(0xf7)],_0x26a691[_0x2daf2e(0xf7)]=(_0x542b3d,_0x55d6d2=![])=>{const _0x521ec5=_0x2daf2e,_0x377f50={'OsuVL':_0x5dd1c4[_0x521ec5(0xa5)],'nMxEA':_0x5dd1c4[_0x521ec5(0x121)],'MzXBx':function(_0x5e3351){return _0x5dd1c4['VChwH'](_0x5e3351);},'DnPwO':function(_0xc30d70,_0x930f77){const _0x2a69d6=_0x521ec5;return _0x5dd1c4[_0x2a69d6(0xba)](_0xc30d70,_0x930f77);},'sPlTR':_0x5dd1c4[_0x521ec5(0x12a)]};return new Promise(function(_0x49b52e,_0xaf6874){const _0x3cdb19=_0x521ec5,_0x7fcf7a={'Ploig':_0x377f50[_0x3cdb19(0xb1)],'MAeRO':_0x377f50[_0x3cdb19(0xda)],'lIZVq':function(_0x54718){return _0x377f50['MzXBx'](_0x54718);},'YLExq':function(_0x36dca9,_0x5ef364){const _0x52655e=_0x3cdb19;return _0x377f50[_0x52655e(0xf9)](_0x36dca9,_0x5ef364);},'Nhsti':_0x377f50['sPlTR']};_0x26a691[_0x3cdb19(0x140)](_0x542b3d,_0x55d6d2)[_0x3cdb19(0x85)](()=>{const _0x3268c5=_0x3cdb19,_0x7fefa1=CodeceptUtils[_0x3268c5(0xa4)](_0x542b3d);if(_0x7fefa1){const _0x51f0d6=fs[_0x3268c5(0x6e)](_0x7fefa1);process['emit'](_0x3268c5(0xb0)+process[_0x3268c5(0xd3)],{'timestamp':new Date()[_0x3268c5(0x14c)](),'message':_0x51f0d6[_0x3268c5(0xa1)](_0x7fcf7a[_0x3268c5(0xf1)]),'kind':_0x7fcf7a[_0x3268c5(0x126)]}),_0x7fcf7a[_0x3268c5(0x138)](_0x49b52e);}_0x7fcf7a[_0x3268c5(0xca)](_0xaf6874,new Error(_0x7fcf7a[_0x3268c5(0xcb)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x5b1570=>{const _0x5edae7=a1_0x53b480,_0x428e18={'pDDSU':function(_0x2003e4){return _0x2003e4();},'pmYxz':function(_0x819df2,_0xc1390f){return _0x819df2(_0xc1390f);},'RToMG':function(_0x1df3a8,_0x53fbe3){return _0x1df3a8===_0x53fbe3;},'xWnUL':_0x5edae7(0x87)},_0x2adff4=async function(_0x242e4a,_0x5aae0f){const _0x23dfae=_0x5edae7;return _0x428e18[_0x23dfae(0x98)](isAccessibilityAutomationSession)&&!global[_0x23dfae(0x10f)]&&global[_0x23dfae(0x72)]&&scripts[_0x23dfae(0xff)](_0x242e4a[_0x23dfae(0x95)])&&_0x428e18[_0x23dfae(0x8e)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x23dfae(0x10f)]=!![],await PerformanceTester[_0x23dfae(0xad)](PerformanceA11yEvents[_0x23dfae(0x96)],async()=>{const _0x38e2ac=_0x23dfae;logger[_0x38e2ac(0xc3)](_0x38e2ac(0x105)+_0x242e4a[_0x38e2ac(0x12c)]+'\x20'+_0x242e4a['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x5b1570,scripts[_0x38e2ac(0x11f)]);},{'command':_0x242e4a[_0x23dfae(0x95)]})()),global[_0x23dfae(0x10f)]=![],_0x5aae0f['apply'](this,Array[_0x23dfae(0x6f)][_0x23dfae(0x13d)]['call'](arguments,0x2));},_0x25aa0b=CodeceptWebDriver[_0x5edae7(0x6f)][_0x5edae7(0x122)];CodeceptWebDriver[_0x5edae7(0x6f)]['_before']=async function(){const _0x4c1153=_0x5edae7,_0x33e0b5={'eEWay':function(_0x588b01,_0x621a52){return _0x428e18['RToMG'](_0x588b01,_0x621a52);},'qxHbI':_0x428e18[_0x4c1153(0xfc)]};try{await _0x25aa0b[_0x4c1153(0x81)](this,arguments);}catch(_0x18bdd7){logger[_0x4c1153(0xc3)](_0x4c1153(0x12f)+util[_0x4c1153(0x12d)](_0x18bdd7));}scripts[_0x4c1153(0x10e)]['filter'](_0x3875b5=>_0x3875b5[_0x4c1153(0x95)]&&_0x3875b5[_0x4c1153(0x12c)])[_0x4c1153(0xe1)](_0x14d8dd=>{const _0x49ded3=_0x4c1153;this[_0x49ded3(0xeb)]['overwriteCommand'](_0x14d8dd[_0x49ded3(0x95)],_0x2adff4[_0x49ded3(0x120)](this,_0x14d8dd),_0x33e0b5[_0x49ded3(0x101)](_0x14d8dd[_0x49ded3(0x12c)],_0x33e0b5[_0x49ded3(0xdc)]));}),_0x428e18[_0x4c1153(0x8e)](processWebDriverConfig,_0x5b1570);};},patchPlaywrightBefore=()=>{const _0x1ef315=a1_0x53b480;PlaywrightSessionDetails[_0x1ef315(0x8a)]();const _0x5a1238=CodeceptPlaywright[_0x1ef315(0x6f)][_0x1ef315(0x122)];CodeceptPlaywright[_0x1ef315(0x6f)][_0x1ef315(0x122)]=async function(){const _0x23f389=_0x1ef315;this[_0x23f389(0x134)]=await this[_0x23f389(0xeb)][_0x23f389(0xb7)]()[0x0],await _0x5a1238[_0x23f389(0x81)](this,arguments);};},getCodeceptDriver=()=>{const _0x2395c4=a1_0x53b480,_0x5e6be3={};_0x5e6be3[_0x2395c4(0xd7)]=_0x2395c4(0xb6),_0x5e6be3[_0x2395c4(0xcf)]=_0x2395c4(0x93),_0x5e6be3[_0x2395c4(0x119)]=_0x2395c4(0xcd),_0x5e6be3[_0x2395c4(0x94)]=_0x2395c4(0x79);const _0xe57d0c=_0x5e6be3,_0x232bc3=[_0xe57d0c[_0x2395c4(0xd7)],_0xe57d0c[_0x2395c4(0xcf)],_0xe57d0c['UatjU'],_0xe57d0c[_0x2395c4(0x94)]],_0x3c03be=_0x232bc3['find'](_0x596b10=>!!CodeceptJS[_0x2395c4(0xe5)]['helpers'](_0x596b10));if(!_0x3c03be)return null;return CodeceptJS[_0x2395c4(0xe5)][_0x2395c4(0x106)](_0x3c03be);};module[a1_0x53b480(0x9a)]=function(_0x34e620){const _0x21acda=a1_0x53b480,_0x53383f={'mBhyW':function(_0x7abccc){return _0x7abccc();},'ptEzs':function(_0x5be633,_0x1eafbc){return _0x5be633(_0x1eafbc);},'Gtrqn':_0x21acda(0x7b),'QwfkU':_0x21acda(0x148),'lzQFV':_0x21acda(0xfa),'NeKok':_0x21acda(0xa7),'vYRPz':'hook-started','ByGMe':_0x21acda(0x7a),'IdkKy':'hook-failed','DZVyO':'browserstackTestName','ieUpa':function(_0x60407a){return _0x60407a();},'QQsHH':'test-before','MEKtg':function(_0x2a4def,_0x35f10e){return _0x2a4def(_0x35f10e);},'oBsLd':function(_0x21734b,_0x17b0f4,_0x1b5260){return _0x21734b(_0x17b0f4,_0x1b5260);},'pkAwG':_0x21acda(0xfb),'ZpbJT':function(_0x104874){return _0x104874();},'MJiSz':function(_0x3c63e5,_0x30eed2,_0x3f6d35){return _0x3c63e5(_0x30eed2,_0x3f6d35);},'YMxYs':_0x21acda(0xbf),'yEkaT':function(_0x1b7a89){return _0x1b7a89();},'AwqPX':function(_0x81fb58,_0x78ee04,_0xca25c3,_0x40846e){return _0x81fb58(_0x78ee04,_0xca25c3,_0x40846e);},'mDSrN':function(_0x4dd362,_0xa0bbcb){return _0x4dd362===_0xa0bbcb;},'ajimP':_0x21acda(0x137),'bvKwg':_0x21acda(0xf5),'ozYBm':'test-skipped','iMHmY':_0x21acda(0xdb),'nvaDc':function(_0x4b1e66){return _0x4b1e66();},'cagOI':function(_0x5f42a7){return _0x5f42a7();},'AFmvj':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','jpdIu':_0x21acda(0xde),'dlJfy':'INFO','sJjIB':_0x21acda(0x99),'epxJH':_0x21acda(0x131),'lUOSB':_0x21acda(0xc9),'NnjAY':'bddStep-after','MhmNy':function(_0x378493){return _0x378493();},'uhXoA':_0x21acda(0x93)};_0x34e620['skipSessionStatus']&&(global[_0x21acda(0x123)]=_0x34e620[_0x21acda(0xe6)]);PerformanceTester['startMonitoring']();const _0x255bdc=_0x53383f[_0x21acda(0x80)](getCodeceptDriver),_0x3c91c5=new O11yHelper(_0x255bdc,_0x34e620),_0x2e4093=!!CodeceptJS[_0x21acda(0xe5)][_0x21acda(0x106)](_0x53383f[_0x21acda(0xe2)]);global[_0x21acda(0xc6)]=_0x255bdc,_0x255bdc&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x21acda(0x127)],()=>{const _0x3eb99e=_0x21acda;_0x2e4093?_0x53383f['mBhyW'](patchPlaywrightBefore):_0x53383f[_0x3eb99e(0xac)](patchWebDriverBefore,_0x255bdc);})(),PerformanceTester[_0x21acda(0xad)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x361471=_0x21acda,_0x122063={};_0x122063[_0x361471(0x11d)]=_0x53383f['Gtrqn'],_0x122063[_0x361471(0x141)]=_0x53383f[_0x361471(0x7d)],_0x122063['JQjuK']=_0x53383f[_0x361471(0x78)],_0x122063[_0x361471(0x112)]=_0x53383f[_0x361471(0x9b)];const _0xff6901=_0x122063;_0x255bdc[_0x361471(0x7b)]=async()=>{const _0x357b6f=_0x361471;if(global[_0x357b6f(0x72)]){const _0x3af6b1={};_0x3af6b1[_0x357b6f(0xd4)]=_0xff6901[_0x357b6f(0x11d)],await PerformanceTester[_0x357b6f(0xad)](PerformanceA11yEvents[_0x357b6f(0x96)],async()=>{const _0x53b2d9=_0x357b6f;await AccessibilityHelper['browserStackExecuteDriver'](_0x255bdc,scripts[_0x53b2d9(0x11f)]);},_0x3af6b1)(),await PerformanceTester[_0x357b6f(0xad)](PerformanceA11yEvents[_0x357b6f(0x77)],async()=>{const _0x224db1=_0x357b6f;await AccessibilityHelper[_0x224db1(0x116)](_0x255bdc,scripts['getResultsSummary']);})();}else return logger[_0x357b6f(0x14b)](_0xff6901[_0x357b6f(0x141)]),{};},_0x255bdc[_0x361471(0xfa)]=async()=>{const _0x2bbfab=_0x361471;if(global[_0x2bbfab(0x72)]){const _0x2eb813={};_0x2eb813['command']=_0xff6901['JQjuK'],await PerformanceTester[_0x2bbfab(0xad)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2d928e=_0x2bbfab;await AccessibilityHelper[_0x2d928e(0x116)](_0x255bdc,scripts[_0x2d928e(0x11f)]);},_0x2eb813)(),await PerformanceTester[_0x2bbfab(0xad)](PerformanceA11yEvents[_0x2bbfab(0xae)],async()=>{const _0xa170e5=_0x2bbfab;await AccessibilityHelper[_0xa170e5(0x116)](_0x255bdc,scripts[_0xa170e5(0x86)]);})();}else return logger[_0x2bbfab(0x14b)](_0xff6901[_0x2bbfab(0x112)]),{};},_0x53383f[_0x361471(0xac)](patchSaveScreenshot,_0x255bdc);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x8f)][_0x21acda(0x136)],()=>{const _0x31bf54=_0x21acda;PerformanceTester[_0x31bf54(0x11e)](PerformanceEvents[_0x31bf54(0xa2)]);try{_0x3c91c5[_0x31bf54(0x11e)](),testOpsHelper[_0x31bf54(0xb5)](),PerformanceTester[_0x31bf54(0x14a)](PerformanceEvents[_0x31bf54(0xa2)]);}catch(_0x2df17e){PerformanceTester[_0x31bf54(0xe9)](_0x2df17e),PerformanceTester[_0x31bf54(0x14a)](PerformanceEvents[_0x31bf54(0xa2)],![],_0x2df17e);}}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)]['all'][_0x21acda(0x10b)],async()=>{const _0x1de9d5=_0x21acda;PerformanceTester[_0x1de9d5(0x11e)](PerformanceEvents[_0x1de9d5(0x70)]);try{requestSpy[_0x1de9d5(0xdf)](),await _0x3c91c5[_0x1de9d5(0x9c)](),PerformanceTester[_0x1de9d5(0x14a)](PerformanceEvents[_0x1de9d5(0x70)]);}catch(_0x472f17){PerformanceTester['captureError'](_0x472f17),PerformanceTester[_0x1de9d5(0x14a)](PerformanceEvents[_0x1de9d5(0x70)],![],_0x472f17);}finally{PerformanceTester[_0x1de9d5(0x124)]();}}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)]['hook']['started'],_0x52fcd3=>{const _0x12e5c8=_0x21acda;PerformanceTester[_0x12e5c8(0x11e)](PerformanceEvents[_0x12e5c8(0xd0)]);try{const _0x344ae8=_0x52fcd3[_0x12e5c8(0xf3)][_0x12e5c8(0xfd)],_0x398f83=_0x3c91c5['captureEvent'](TEST_EVENTS[_0x12e5c8(0xc7)],_0x344ae8);CodeceptRecorder[_0x12e5c8(0x149)](()=>_0x3c91c5[_0x12e5c8(0x83)](TEST_EVENTS[_0x12e5c8(0xc7)],_0x398f83));const _0x279a0b={};_0x279a0b[_0x12e5c8(0x6d)]=_0x53383f[_0x12e5c8(0x84)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x279a0b);}catch(_0x1a63d4){const _0x245d7e={};_0x245d7e[_0x12e5c8(0x6d)]=_0x53383f[_0x12e5c8(0x84)],PerformanceTester[_0x12e5c8(0x14a)](PerformanceEvents['SDK_HOOK'],![],_0x1a63d4,_0x245d7e),PerformanceTester[_0x12e5c8(0xe9)](_0x1a63d4);}}),CodeceptJS['event'][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x113)][_0x21acda(0x104)],_0x2fb092=>{const _0x17c72e=_0x21acda,_0x3efd1b={};_0x3efd1b[_0x17c72e(0x6d)]=_0x53383f['ByGMe'],PerformanceTester[_0x17c72e(0x11e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3efd1b);try{const _0x30ae61=_0x2fb092[_0x17c72e(0xf3)][_0x17c72e(0xfd)],_0x4c2320=_0x3c91c5[_0x17c72e(0x7e)](TEST_EVENTS[_0x17c72e(0x13a)],_0x30ae61);CodeceptRecorder[_0x17c72e(0x149)](()=>_0x3c91c5[_0x17c72e(0x83)](TEST_EVENTS[_0x17c72e(0x13a)],_0x4c2320));const _0x27d094={};_0x27d094[_0x17c72e(0x6d)]=_0x53383f['ByGMe'],PerformanceTester['end'](PerformanceHookEvents[_0x17c72e(0xd0)],!![],null,_0x27d094);}catch(_0x2f3bd6){PerformanceTester[_0x17c72e(0xe9)](_0x2f3bd6);const _0x4cf8ac={};_0x4cf8ac[_0x17c72e(0x6d)]=_0x53383f[_0x17c72e(0xb8)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x2f3bd6,_0x4cf8ac);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x113)]['failed'],async(_0x4efbd7,_0x271d77)=>{const _0x2b23d8=_0x21acda;PerformanceTester[_0x2b23d8(0x11e)](PerformanceHookEvents[_0x2b23d8(0xd0)]);try{const _0x56858f=_0x4efbd7[_0x2b23d8(0xf3)]['test'],_0x2e9945=_0x3c91c5[_0x2b23d8(0x7e)](TEST_EVENTS[_0x2b23d8(0x13a)],_0x56858f,_0x271d77);CodeceptRecorder[_0x2b23d8(0x149)](()=>_0x3c91c5[_0x2b23d8(0x83)](TEST_EVENTS[_0x2b23d8(0x13a)],_0x2e9945));const _0x1c5372={};_0x1c5372[_0x2b23d8(0x6d)]=_0x53383f['IdkKy'],PerformanceTester[_0x2b23d8(0x11e)](PerformanceHookEvents[_0x2b23d8(0xd0)],!![],null,_0x1c5372);}catch(_0x5040af){PerformanceTester['captureError'](_0x5040af);const _0x28ea82={};_0x28ea82[_0x2b23d8(0x6d)]=_0x53383f[_0x2b23d8(0x107)],PerformanceTester[_0x2b23d8(0x14a)](PerformanceHookEvents[_0x2b23d8(0xd0)],![],_0x5040af,_0x28ea82);}const _0x17b9c8={};_0x17b9c8[_0x2b23d8(0x6d)]=_0x53383f[_0x2b23d8(0x107)],PerformanceTester[_0x2b23d8(0x14a)](PerformanceHookEvents[_0x2b23d8(0xd0)],!![],null,_0x17b9c8);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)]['before'],_0x3d4667=>{const _0x4eea2f=_0x21acda;PerformanceTester[_0x4eea2f(0x11e)](PerformanceHookEvents[_0x4eea2f(0xd0)]);try{globals['setGlobal'](_0x53383f['DZVyO'],_0x3d4667['title']);_0x53383f[_0x4eea2f(0xee)](isBrowserstackInfra)&&(_0x2e4093&&(global[_0x4eea2f(0x9d)]={'currentTest':{'name':_0x3d4667[_0x4eea2f(0xb4)],'testInfo':{'titlePath':_0x3d4667[_0x4eea2f(0xab)]()}}}));const _0x56bb7f={};_0x56bb7f['hookType']=_0x53383f[_0x4eea2f(0x145)],PerformanceTester[_0x4eea2f(0x14a)](PerformanceHookEvents[_0x4eea2f(0xd0)],!![],null,_0x56bb7f);}catch(_0x5113d2){PerformanceTester[_0x4eea2f(0xe9)](_0x5113d2);const _0x283398={};_0x283398[_0x4eea2f(0x6d)]=_0x53383f['QQsHH'],PerformanceTester['end'](PerformanceHookEvents[_0x4eea2f(0xd0)],![],_0x5113d2,_0x283398);}}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS['event'][_0x21acda(0xfd)]['started'],_0x35f4f5=>{const _0x2b7ec3=_0x21acda;PerformanceTester['start'](PerformanceHookEvents[_0x2b7ec3(0xd0)]);try{globals['setGlobal'](_0x53383f[_0x2b7ec3(0x128)],_0x35f4f5[_0x2b7ec3(0xb4)]);const _0x5d81ec=_0x3c91c5[_0x2b7ec3(0x7e)](TEST_EVENTS[_0x2b7ec3(0xbe)],_0x35f4f5);CodeceptRecorder[_0x2b7ec3(0x149)](()=>_0x3c91c5[_0x2b7ec3(0x83)](TEST_EVENTS[_0x2b7ec3(0xbe)],_0x5d81ec)),CodeceptRecorder[_0x2b7ec3(0x149)](async()=>{const _0x1a75cb=_0x2b7ec3;_0x53383f['mBhyW'](isBrowserstackInfra)&&(!_0x53383f[_0x1a75cb(0x147)](isTrue,_0x34e620[_0x1a75cb(0x109)])&&await _0x53383f[_0x1a75cb(0xaf)](markSessionName,_0x255bdc,_0x35f4f5[_0x1a75cb(0xb4)]),_0x3c91c5['enabled']&&await _0x53383f[_0x1a75cb(0xac)](o11ySync,_0x255bdc));});}catch(_0x8a5d3f){const _0x2083ac={};_0x2083ac[_0x2b7ec3(0x6d)]=_0x53383f[_0x2b7ec3(0xd2)],PerformanceTester[_0x2b7ec3(0x14a)](PerformanceHookEvents['SDK_HOOK'],![],_0x8a5d3f,_0x2083ac),PerformanceTester['captureError'](_0x8a5d3f);}const _0x39ba7b={};_0x39ba7b[_0x2b7ec3(0x6d)]=_0x53383f['pkAwG'],PerformanceTester[_0x2b7ec3(0x14a)](PerformanceHookEvents[_0x2b7ec3(0xd0)],!![],null,_0x39ba7b);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)][_0x21acda(0x104)],_0x279e24=>{const _0x376ee5=_0x21acda,_0x307bd2={'EDSzB':function(_0x1e49f3,_0x4a324f,_0x466611){return _0x53383f['oBsLd'](_0x1e49f3,_0x4a324f,_0x466611);},'RUbNC':function(_0x7c3efa,_0x129ce7,_0x527f59){const _0x1fadd4=a1_0x5f24;return _0x53383f[_0x1fadd4(0x110)](_0x7c3efa,_0x129ce7,_0x527f59);}};PerformanceTester[_0x376ee5(0x11e)](PerformanceHookEvents[_0x376ee5(0xd0)]);try{const _0x4d02be=_0x3c91c5['captureEvent'](TEST_EVENTS[_0x376ee5(0xd5)],_0x279e24);CodeceptRecorder[_0x376ee5(0x149)](()=>_0x3c91c5[_0x376ee5(0x83)](TEST_EVENTS[_0x376ee5(0xd5)],_0x4d02be)),CodeceptRecorder[_0x376ee5(0x149)](async()=>{const _0x34f759=_0x376ee5;_0x53383f[_0x34f759(0xf6)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x34f759(0x103)],async()=>{const _0x1c3ff2=_0x34f759;_0x2e4093?await _0x307bd2[_0x1c3ff2(0x115)](playwrightMarkSessionStatus,_0x255bdc,STATE_PASSED):await _0x307bd2[_0x1c3ff2(0xf0)](markSessionStatus,_0x255bdc,STATE_PASSED);})();}),PerformanceTester[_0x376ee5(0x14a)](PerformanceEvents['SDK_TEST']);}catch(_0xef5d1c){PerformanceTester[_0x376ee5(0xe9)](_0xef5d1c);const _0x238b61={};_0x238b61['hookType']=_0x53383f[_0x376ee5(0x82)],PerformanceTester[_0x376ee5(0x14a)](PerformanceHookEvents[_0x376ee5(0xd0)],![],_0xef5d1c,_0x238b61),PerformanceTester['end'](PerformanceEvents[_0x376ee5(0x13f)],![],_0xef5d1c);}const _0x1d09a8={};_0x1d09a8[_0x376ee5(0x6d)]=_0x53383f[_0x376ee5(0x82)],PerformanceTester[_0x376ee5(0x14a)](PerformanceHookEvents[_0x376ee5(0xd0)],!![],null,_0x1d09a8);}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)][_0x21acda(0x9f)],(_0x8562db,_0x4d5656)=>{const _0x461382=_0x21acda,_0x13e19c={'QVobB':function(_0x1551d2){const _0x304860=a1_0x5f24;return _0x53383f[_0x304860(0x130)](_0x1551d2);},'GDkqG':function(_0x3008af,_0x4d3d98,_0x1c6f18,_0x2f453c){return _0x53383f['AwqPX'](_0x3008af,_0x4d3d98,_0x1c6f18,_0x2f453c);}};PerformanceTester[_0x461382(0x11e)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x53383f['mDSrN'](_0x8562db[_0x461382(0x100)]['name'],_0x53383f[_0x461382(0xd1)])){const _0x3b1c82=_0x3c91c5[_0x461382(0x7e)](TEST_EVENTS[_0x461382(0x11c)],_0x8562db[_0x461382(0xf3)][_0x461382(0x111)]);CodeceptRecorder[_0x461382(0x149)](()=>_0x3c91c5[_0x461382(0x83)](TEST_EVENTS[_0x461382(0x11c)],_0x3b1c82));}else{const _0x32aaa5=_0x3c91c5[_0x461382(0x7e)](TEST_EVENTS[_0x461382(0xd5)],_0x8562db,_0x4d5656);CodeceptRecorder['add'](()=>{const _0xb5f2b7=_0x461382;try{_0x3c91c5[_0xb5f2b7(0x83)](TEST_EVENTS[_0xb5f2b7(0xd5)],_0x32aaa5);}catch(_0x202863){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0xb5f2b7(0x12d)](_0x202863)),PerformanceTester['end'](PerformanceEvents[_0xb5f2b7(0x13f)],![],_0x202863);}}),CodeceptRecorder[_0x461382(0x149)](async()=>{const _0x2615f0=_0x461382;try{_0x13e19c[_0x2615f0(0xa9)](isBrowserstackInfra)&&(_0x2e4093?await _0x13e19c[_0x2615f0(0xa6)](playwrightMarkSessionStatus,_0x255bdc,STATE_FAILED,_0x4d5656):await _0x13e19c[_0x2615f0(0xa6)](markSessionStatus,_0x255bdc,STATE_FAILED,_0x4d5656));}catch(_0x2c15cc){logger[_0x2615f0(0xc3)](_0x2615f0(0xc4)+util[_0x2615f0(0x12d)](_0x2c15cc)),PerformanceTester[_0x2615f0(0x14a)](PerformanceEvents[_0x2615f0(0x13f)],![],_0x2c15cc);}});}PerformanceTester[_0x461382(0x14a)](PerformanceEvents[_0x461382(0x13f)]);}catch(_0x400fe2){PerformanceTester[_0x461382(0xe9)](_0x400fe2);const _0x426ab5={};_0x426ab5['hookType']=_0x53383f['bvKwg'],PerformanceTester['end'](PerformanceHookEvents[_0x461382(0xd0)],![],_0x400fe2,_0x426ab5),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x400fe2);}const _0x21f963={};_0x21f963['hookType']=_0x53383f[_0x461382(0x133)],PerformanceTester[_0x461382(0x14a)](PerformanceHookEvents[_0x461382(0xd0)],!![],null,_0x21f963);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)][_0x21acda(0x10c)],_0x30adf4=>{const _0x2cac57=_0x21acda;PerformanceTester['start'](PerformanceHookEvents[_0x2cac57(0xd0)]);try{const _0x199cbd=_0x3c91c5[_0x2cac57(0x7e)](TEST_EVENTS[_0x2cac57(0x11c)],_0x30adf4);CodeceptRecorder[_0x2cac57(0x149)](()=>_0x3c91c5[_0x2cac57(0x83)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x199cbd)),PerformanceTester[_0x2cac57(0x14a)](PerformanceEvents['SDK_TEST']);}catch(_0x4e7e88){PerformanceTester[_0x2cac57(0xe9)](_0x4e7e88),PerformanceTester[_0x2cac57(0x14a)](PerformanceEvents['SDK_TEST'],![],_0x4e7e88);const _0x5061d9={};_0x5061d9[_0x2cac57(0x6d)]=_0x53383f[_0x2cac57(0x9e)],PerformanceTester['end'](PerformanceHookEvents[_0x2cac57(0xd0)],![],_0x4e7e88,_0x5061d9);}const _0x474877={};_0x474877['hookType']=_0x53383f[_0x2cac57(0x9e)],PerformanceTester['end'](PerformanceHookEvents[_0x2cac57(0xd0)],!![],null,_0x474877);}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS['event'][_0x21acda(0xfd)][_0x21acda(0x10b)],async(_0x15068e,_0x573450)=>{const _0x4dc1fd=_0x21acda;try{PerformanceTester[_0x4dc1fd(0x11e)](PerformanceHookEvents[_0x4dc1fd(0xd0)]);if(_0x53383f[_0x4dc1fd(0xb2)](isBrowserstackInfra)){const _0x1cfb3f=_0x53383f[_0x4dc1fd(0xaf)](shouldScanTestForAccessibility,_0x15068e['titlePath'](),!![]);if(_0x53383f[_0x4dc1fd(0x7c)](isAccessibilityAutomationSession)&&global[_0x4dc1fd(0x72)]&&_0x1cfb3f){const _0x3278e6={};_0x3278e6[_0x4dc1fd(0xe7)]=_0x15068e[_0x4dc1fd(0xa0)],_0x3278e6[_0x4dc1fd(0x11b)]=process['env'][testHubConstants[_0x4dc1fd(0x146)][_0x4dc1fd(0x89)]],_0x3278e6[_0x4dc1fd(0xb9)]=process['env'][testHubConstants['ENV_VAR'][_0x4dc1fd(0xdd)]];const _0x4ab072=_0x3278e6;logger[_0x4dc1fd(0xc3)](_0x4dc1fd(0x139)+JSON[_0x4dc1fd(0xe4)](_0x4ab072)),CodeceptRecorder['add'](async()=>{const _0x472a90=_0x4dc1fd,_0x2395f4={};_0x2395f4['command']=_0x53383f['iMHmY'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x472a90(0x96)],async()=>{const _0x54db6c=_0x472a90;await AccessibilityHelper[_0x54db6c(0x116)](_0x255bdc,scripts[_0x54db6c(0x11f)]);},_0x2395f4)(),await PerformanceTester[_0x472a90(0xad)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x5de694=_0x472a90;await AccessibilityHelper[_0x5de694(0x116)](_0x255bdc,scripts[_0x5de694(0x73)],_0x4ab072);})();}),logger[_0x4dc1fd(0x10a)](_0x53383f[_0x4dc1fd(0x117)]);}}const _0x2eb8e1={};_0x2eb8e1[_0x4dc1fd(0x6d)]=_0x53383f[_0x4dc1fd(0xc8)],PerformanceTester[_0x4dc1fd(0x14a)](PerformanceHookEvents[_0x4dc1fd(0xd0)],!![],null,_0x2eb8e1);}catch(_0x4ac3a0){PerformanceTester[_0x4dc1fd(0xe9)](_0x4ac3a0);const _0x333307={};_0x333307[_0x4dc1fd(0x6d)]=_0x53383f[_0x4dc1fd(0xc8)],PerformanceTester['end'](PerformanceHookEvents[_0x4dc1fd(0xd0)],![],_0x4ac3a0,_0x333307);}}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xbd)]['comment'],_0x229484=>{const _0x5e4a62=_0x21acda;PerformanceTester[_0x5e4a62(0x11e)](PerformanceHookEvents[_0x5e4a62(0xd0)]);try{process[_0x5e4a62(0x12b)](_0x5e4a62(0xb0)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0x53383f[_0x5e4a62(0x13c)],'message':_0x229484,'kind':_0x53383f[_0x5e4a62(0x11a)],'http_response':{}});}catch(_0x181b43){PerformanceTester[_0x5e4a62(0xe9)](_0x181b43);const _0x5d61f1={};_0x5d61f1[_0x5e4a62(0x6d)]=_0x53383f[_0x5e4a62(0xfe)],PerformanceTester[_0x5e4a62(0x14a)](PerformanceHookEvents[_0x5e4a62(0xd0)],![],_0x181b43,_0x5d61f1);}const _0x488b77={};_0x488b77[_0x5e4a62(0x6d)]=_0x53383f['epxJH'],PerformanceTester[_0x5e4a62(0x14a)](PerformanceHookEvents[_0x5e4a62(0xd0)],!![],null,_0x488b77);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)]['bddStep'][_0x21acda(0x136)],_0x40a052=>{const _0x4d971f=_0x21acda,_0x30ce90={};_0x30ce90[_0x4d971f(0x6d)]=_0x53383f[_0x4d971f(0x74)],PerformanceTester[_0x4d971f(0xad)](PerformanceHookEvents[_0x4d971f(0xd0)],()=>{const _0x5c6fa6=_0x4d971f;_0x3c91c5[_0x5c6fa6(0xc0)](_0x40a052);},_0x30ce90)();}),CodeceptJS['event'][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x144)][_0x21acda(0x10b)],_0x153841=>{const _0x10e871=_0x21acda,_0x1abf6f={};_0x1abf6f[_0x10e871(0x6d)]=_0x53383f['NnjAY'],PerformanceTester[_0x10e871(0xad)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x82fe11=_0x10e871;_0x3c91c5[_0x82fe11(0x108)](_0x153841);},_0x1abf6f)();});};
1
+ const a1_0x48d734=a1_0x2a1d;(function(_0x3490d6,_0x2b630d){const _0x52094b=a1_0x2a1d,_0x2ce3b3=_0x3490d6();while(!![]){try{const _0x5950d7=parseInt(_0x52094b(0x169))/0x1*(-parseInt(_0x52094b(0x189))/0x2)+parseInt(_0x52094b(0x1a2))/0x3*(parseInt(_0x52094b(0x1d1))/0x4)+parseInt(_0x52094b(0x1c3))/0x5+parseInt(_0x52094b(0x1d5))/0x6+-parseInt(_0x52094b(0x176))/0x7+parseInt(_0x52094b(0x1ad))/0x8+parseInt(_0x52094b(0x21c))/0x9;if(_0x5950d7===_0x2b630d)break;else _0x2ce3b3['push'](_0x2ce3b3['shift']());}catch(_0x3ae2ca){_0x2ce3b3['push'](_0x2ce3b3['shift']());}}}(a1_0x2503,0xba703));const fs=require('fs'),util=require(a1_0x48d734(0x17c)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x48d734(0x1fa)),logger=require(a1_0x48d734(0x1bf))[a1_0x48d734(0x211)],testOpsHelper=require(a1_0x48d734(0x17f)),requestSpy=require(a1_0x48d734(0x1dd)),PlaywrightSessionDetails=require(a1_0x48d734(0x195)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x48d734(0x16f)),AccessibilityHelper=require(a1_0x48d734(0x227)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x48d734(0x214)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x48d734(0x171)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x48d734(0x200)),testHubConstants=require(a1_0x48d734(0x1e2)),globals=require('../../helpers/globals.js'),CodeceptJS=requireModule(a1_0x48d734(0x233),a1_0x48d734(0x1bd)),CodeceptUtils=requireModule(a1_0x48d734(0x1ec),a1_0x48d734(0x1bd)),CodeceptWebDriver=requireModule(a1_0x48d734(0x1ce),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x48d734(0x22b),a1_0x48d734(0x1bd)),CodeceptPlaywright=requireModule(a1_0x48d734(0x1d9),a1_0x48d734(0x1bd)),playwrightMarkSessionStatus=(_0xc6e971,_0x27a193,_0x228213)=>{const _0x5bc72f=a1_0x48d734,_0x28008d={'ZCdfp':_0x5bc72f(0x197),'RkRmP':function(_0x247df2,_0x285c84){return _0x247df2(_0x285c84);}},_0x58199e={};_0x58199e[_0x5bc72f(0x228)]=_0x27a193;const _0x1b3971={};_0x1b3971['action']=_0x28008d[_0x5bc72f(0x22a)],_0x1b3971['arguments']=_0x58199e;const _0x493685=_0x1b3971;return!_0x28008d[_0x5bc72f(0x1a3)](isUndefined,_0x228213)&&(_0x493685[_0x5bc72f(0x19d)][_0x5bc72f(0x1b7)]=JSON[_0x5bc72f(0x229)](_0x228213)),_0xc6e971['executeScript'](()=>{},_0x5bc72f(0x1f4)+JSON[_0x5bc72f(0x229)](_0x493685));},o11ySync=PerformanceTester[a1_0x48d734(0x1bb)](PerformanceO11yEvents[a1_0x48d734(0x220)],async _0x45de06=>{const _0xccf379=a1_0x48d734,_0x40e015={};_0x40e015[_0xccf379(0x1ee)]=function(_0x50ac27,_0x27cd16){return _0x50ac27===_0x27cd16;},_0x40e015['xNPig']=_0xccf379(0x1b4);const _0x232164=_0x40e015;_0x232164[_0xccf379(0x1ee)](_0x45de06[_0xccf379(0x178)]['name'],_0x232164[_0xccf379(0x173)])?await _0x45de06['executeScript'](_0x51f8ed=>{},testOpsHelper[_0xccf379(0x205)]()):await _0x45de06[_0xccf379(0x16b)](testOpsHelper[_0xccf379(0x205)]());}),markSessionName=PerformanceTester[a1_0x48d734(0x1bb)](PerformanceAutEvents['SESSION_NAME'],async(_0x4eb0cb,_0x1a4279)=>{const _0x4b8ba5=a1_0x48d734,_0x1649d3={};_0x1649d3[_0x4b8ba5(0x1b5)]='setSessionName',_0x1649d3[_0x4b8ba5(0x188)]=function(_0x55b3d7,_0x401033){return _0x55b3d7===_0x401033;},_0x1649d3[_0x4b8ba5(0x175)]=_0x4b8ba5(0x1b4);const _0x568b01=_0x1649d3,_0x59d6bf={};_0x59d6bf['name']=_0x1a4279;const _0x33accc={};_0x33accc[_0x4b8ba5(0x198)]=_0x568b01[_0x4b8ba5(0x1b5)],_0x33accc[_0x4b8ba5(0x19d)]=_0x59d6bf;const _0x4dbc06=_0x33accc;_0x568b01['xUsMD'](_0x4eb0cb[_0x4b8ba5(0x178)][_0x4b8ba5(0x209)],_0x568b01[_0x4b8ba5(0x175)])?await _0x4eb0cb[_0x4b8ba5(0x16b)](()=>{},'browserstack_executor:\x20'+JSON['stringify'](_0x4dbc06)):await _0x4eb0cb[_0x4b8ba5(0x16b)](_0x4b8ba5(0x1f4)+JSON[_0x4b8ba5(0x229)](_0x4dbc06));}),patchSaveScreenshot=_0x3dda61=>{const _0x4990cc=a1_0x48d734,_0x153b52={'WKRci':_0x4990cc(0x160),'zxbGn':_0x4990cc(0x1e0),'ImQan':function(_0x267c7c){return _0x267c7c();},'hczcI':function(_0x597985,_0x5f3eb2){return _0x597985(_0x5f3eb2);},'PwXMy':_0x4990cc(0x1e7),'tBILl':function(_0x51a60c,_0x59a4e0){return _0x51a60c(_0x59a4e0);}};_0x153b52[_0x4990cc(0x21d)](isTrue,process['env']['BS_TESTOPS_ALLOW_SCREENSHOTS'])&&!_0x3dda61['patchSaveScreenshot']&&(_0x3dda61[_0x4990cc(0x20e)]=!![],_0x3dda61[_0x4990cc(0x181)]=_0x3dda61[_0x4990cc(0x19f)],_0x3dda61[_0x4990cc(0x19f)]=(_0x3751ac,_0xbc4e07=![])=>{const _0x11889c=_0x4990cc,_0x2af719={'DmLMi':_0x153b52['WKRci'],'Zofkt':_0x153b52[_0x11889c(0x1a6)],'mEydT':function(_0x44b926){return _0x153b52['ImQan'](_0x44b926);},'HSgiX':function(_0x2d77d1,_0x1bd680){return _0x153b52['hczcI'](_0x2d77d1,_0x1bd680);},'TLVdn':_0x153b52['PwXMy']};return new Promise(function(_0x159f67,_0x3344f2){const _0x1d5a00=_0x11889c;_0x3dda61[_0x1d5a00(0x181)](_0x3751ac,_0xbc4e07)[_0x1d5a00(0x1cb)](()=>{const _0x1dfb4b=_0x1d5a00,_0x32f7c8=CodeceptUtils[_0x1dfb4b(0x1ef)](_0x3751ac);if(_0x32f7c8){const _0x4e9cbd=fs[_0x1dfb4b(0x1ba)](_0x32f7c8);process[_0x1dfb4b(0x1cc)](_0x1dfb4b(0x1ae)+process[_0x1dfb4b(0x185)],{'timestamp':new Date()[_0x1dfb4b(0x22e)](),'message':_0x4e9cbd['toString'](_0x2af719['DmLMi']),'kind':_0x2af719['Zofkt']}),_0x2af719['mEydT'](_0x159f67);}_0x2af719[_0x1dfb4b(0x1f6)](_0x3344f2,new Error(_0x2af719[_0x1dfb4b(0x1f5)]));})[_0x1d5a00(0x21f)](()=>null);});});},patchWebDriverBefore=_0x2818c2=>{const _0x4d5512=a1_0x48d734,_0x46f150={'BPreV':function(_0x56cf64){return _0x56cf64();},'WYvmI':function(_0x3c3148,_0x1579ec){return _0x3c3148(_0x1579ec);},'vvrED':function(_0x17721e,_0x4556c2){return _0x17721e===_0x4556c2;},'QyuiA':'Element','KTflb':function(_0x20de64,_0x36c047){return _0x20de64(_0x36c047);}},_0x300ddc=async function(_0x2f6afc,_0x3256cf){const _0x35d25f=a1_0x2a1d;return _0x46f150[_0x35d25f(0x21b)](isAccessibilityAutomationSession)&&!global['bstackAllyScanning']&&global['accessibilityPlatform']&&scripts[_0x35d25f(0x221)](_0x2f6afc[_0x35d25f(0x209)])&&_0x46f150['WYvmI'](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x35d25f(0x1bb)](PerformanceA11yEvents[_0x35d25f(0x19e)],async()=>{const _0x2da6da=_0x35d25f;logger['debug'](_0x2da6da(0x186)+_0x2f6afc[_0x2da6da(0x174)]+'\x20'+_0x2f6afc[_0x2da6da(0x209)]),await AccessibilityHelper[_0x2da6da(0x1c9)](_0x2818c2,scripts[_0x2da6da(0x208)]);},{'command':_0x2f6afc['name']})()),global[_0x35d25f(0x1b8)]=![],_0x3256cf[_0x35d25f(0x206)](this,Array[_0x35d25f(0x161)][_0x35d25f(0x1a4)]['call'](arguments,0x2));},_0x3ce50a=CodeceptWebDriver[_0x4d5512(0x161)][_0x4d5512(0x218)];CodeceptWebDriver[_0x4d5512(0x161)][_0x4d5512(0x218)]=async function(){const _0x23640d=_0x4d5512,_0x13259b={'NaVkU':function(_0x209641,_0x283615){return _0x46f150['vvrED'](_0x209641,_0x283615);},'yPJuI':_0x46f150[_0x23640d(0x226)]};try{await _0x3ce50a[_0x23640d(0x206)](this,arguments);}catch(_0x5715f0){logger[_0x23640d(0x193)]('Failed\x20to\x20execute\x20_before:\x20'+util['format'](_0x5715f0));}scripts[_0x23640d(0x1e8)]['filter'](_0x351361=>_0x351361[_0x23640d(0x209)]&&_0x351361[_0x23640d(0x174)])[_0x23640d(0x222)](_0x27f966=>{const _0x1ec2d8=_0x23640d;this[_0x1ec2d8(0x1d0)][_0x1ec2d8(0x1fd)](_0x27f966['name'],_0x300ddc[_0x1ec2d8(0x19a)](this,_0x27f966),_0x13259b['NaVkU'](_0x27f966['class'],_0x13259b['yPJuI']));}),_0x46f150[_0x23640d(0x179)](processWebDriverConfig,_0x2818c2);};},patchPlaywrightBefore=()=>{const _0x10e060=a1_0x48d734;PlaywrightSessionDetails[_0x10e060(0x1c6)]();const _0x5d6f84=CodeceptPlaywright[_0x10e060(0x161)][_0x10e060(0x218)];CodeceptPlaywright[_0x10e060(0x161)][_0x10e060(0x218)]=async function(){const _0x4601d5=_0x10e060;this[_0x4601d5(0x172)]=await this[_0x4601d5(0x1d0)][_0x4601d5(0x207)]()[0x0],await _0x5d6f84[_0x4601d5(0x206)](this,arguments);};},getCodeceptDriver=()=>{const _0x13cfe8=a1_0x48d734,_0xc9b9ca={};_0xc9b9ca[_0x13cfe8(0x1f0)]=_0x13cfe8(0x1c2),_0xc9b9ca[_0x13cfe8(0x164)]=_0x13cfe8(0x1b4),_0xc9b9ca[_0x13cfe8(0x162)]=_0x13cfe8(0x1bc),_0xc9b9ca[_0x13cfe8(0x212)]=_0x13cfe8(0x1a9);const _0x5629ec=_0xc9b9ca,_0x1a859d=[_0x5629ec[_0x13cfe8(0x1f0)],_0x5629ec[_0x13cfe8(0x164)],_0x5629ec[_0x13cfe8(0x162)],_0x5629ec['WALPd']],_0xa0dc1e=_0x1a859d['find'](_0x133efa=>!!CodeceptJS[_0x13cfe8(0x1fc)][_0x13cfe8(0x1a7)](_0x133efa));if(!_0xa0dc1e)return null;return CodeceptJS[_0x13cfe8(0x1fc)][_0x13cfe8(0x1a7)](_0xa0dc1e);};function a1_0x2a1d(_0x5abd01,_0x5b572e){const _0x2503f8=a1_0x2503();return a1_0x2a1d=function(_0x2a1d7a,_0x580d1e){_0x2a1d7a=_0x2a1d7a-0x15c;let _0x44cf1a=_0x2503f8[_0x2a1d7a];return _0x44cf1a;},a1_0x2a1d(_0x5abd01,_0x5b572e);}function a1_0x2503(){const _0x587207=['shouldWrapCommand','forEach','sWEWd','TEST_RUN_SKIPPED','xdwqm','QyuiA','../../bin/playwright/accessibility-helper','status','stringify','ZCdfp','codeceptjs/lib/recorder.js','add','afterTest','toISOString','SDK_HOOK','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','fiseV','FsTJV','codeceptjs/lib/index.js','titlePath','accessibilityPlatform','stopMonitoring','startMonitoring','base64','prototype','pAXHu','woEgQ','isUjc','comment','test-started','TEST_LOG','info','11RGIhFa','skipped','executeScript','BZEql','format','failed','../../helpers/accessibility-automation/helper','testAnalyticsId','../../helpers/performance/constants','browserContext','xNPig','class','LZEyv','6769651NvVLUk','dispatcher','constructor','KTflb','getResults','browserstackTestName','util','ctx','SAVE_RESULTS','../../helpers/test-observability/utils','GET_RESULTS_SUMMARY','initSaveScreenshot','GET_RESULTS','rrmpG','FWwqt','pid','Performing\x20scan\x20for\x20','hYtto','xUsMD','260838CeUrKS','captureError','YLMeO','getAccessibilityResults','thJwtToken','skipSessionStatus','restore','hrYUl','hook-passed','LeEAX','debug','ZQnEZ','../../bin/playwright/sessionDetails','bddStepStart','setSessionStatus','action','addRequestSpy','bind','SDK_TEST','SDK_POST_TEST','arguments','PERFORM_SCAN','saveScreenshot','SESSION_STATUS','FCZHd','21780iOoVxX','RkRmP','slice','dKMcM','zxbGn','helpers','step','TestCafe','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','IqUZy','WjkpO','1254576XhGdcm','bs:addLog:','end','warn','Ftztn','HOOK_RUN_STARTED','ENV_VAR','Playwright','MZqWK','CunDp','reason','bstackAllyScanning','getResultsSummary','readFileSync','measureWrapper','Puppeteer','codeceptjs','command','../../helpers/logger','SDK_POST_INITIALIZE','after','WebDriver','7555570MUGnvS','title','start','patch','bDrWA','jdlVU','browserStackExecuteDriver','test-skipped','then','emit','saveTestResults','codeceptjs/lib/helper/WebDriver.js','passed','browser','244nnpsmC','event','started','RJgho','3893904ycLBnm','all','SDK_PRE_INITIALIZE','iBflQ','codeceptjs/lib/helper/Playwright.js','before','hookType','bddStep-after','../../helpers/request-spy','__driver','JwGAE','TEST_SCREENSHOT','TEST_RUN_FINISHED','../../helpers/testhub/constants.js','DipQZ','enabled','YqPkG','getAccessibilityResultsSummary','Screenshot\x20path\x20not\x20found','commandsToWrap','bddStep-before','hook-failed','thBuildUuid','codeceptjs/lib/utils.js','step-comment','AIemF','screenshotOutputFolder','yelVT','thTestRunUuid','hook','BROWSERSTACK_TESTHUB_JWT','browserstack_executor:\x20','TLVdn','HSgiX','SDK_PRE_TEST','wmskn','skipSessionName','../../helpers/helper','yEqUJ','container','overwriteCommand','PavbX','QoYTU','./helper.js','fireEvent','TEST_RUN_STARTED','test','test-failed','getSyncScript','apply','contexts','performScan','name','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','HOOK_RUN_FINISHED','Nreud','captureEvent','patchSaveScreenshot','setGlobal','hook-started','winstonLogger','WALPd','stop','../../helpers/performance/performance-tester','BROWSERSTACK_TESTHUB_UUID','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','sBXZR','_before','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','test-passed','BPreV','3650157KdDJur','tBILl','REbGl','catch','SYNC'];a1_0x2503=function(){return _0x587207;};return a1_0x2503();}module['exports']=function(_0x5793e1){const _0x2c2fcc=a1_0x48d734,_0x913174={'hrYUl':function(_0x3c9667){return _0x3c9667();},'YLMeO':function(_0x5c09fb,_0x372dbd){return _0x5c09fb(_0x372dbd);},'uRqNd':_0x2c2fcc(0x1e6),'LeEAX':_0x2c2fcc(0x230),'BZEql':_0x2c2fcc(0x18c),'iCMMN':_0x2c2fcc(0x216),'YIbIA':_0x2c2fcc(0x210),'sBXZR':_0x2c2fcc(0x191),'PavbX':_0x2c2fcc(0x1ea),'fiseV':_0x2c2fcc(0x17b),'JwGAE':function(_0x33e9ec){return _0x33e9ec();},'YqPkG':'test-before','REbGl':function(_0x96dd9e,_0x56e6d5){return _0x96dd9e(_0x56e6d5);},'QoYTU':function(_0x4d111b,_0x3c02bb,_0x1d0108){return _0x4d111b(_0x3c02bb,_0x1d0108);},'ZQnEZ':_0x2c2fcc(0x166),'CunDp':_0x2c2fcc(0x21a),'FsTJV':function(_0x4abb9f){return _0x4abb9f();},'iBflQ':function(_0x373ef4,_0x51fb67,_0x1c82d3,_0x1a35b2){return _0x373ef4(_0x51fb67,_0x1c82d3,_0x1a35b2);},'DipQZ':function(_0x3a4f5b,_0x583396){return _0x3a4f5b===_0x583396;},'FCZHd':'Suite','rrmpG':_0x2c2fcc(0x204),'RJgho':_0x2c2fcc(0x1ca),'Nreud':_0x2c2fcc(0x22d),'jdlVU':function(_0x3b5bb1){return _0x3b5bb1();},'bDrWA':function(_0x248c5e,_0x1f4abe,_0x400a0b){return _0x248c5e(_0x1f4abe,_0x400a0b);},'jbCBr':function(_0x578569){return _0x578569();},'tXEPn':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SBkZL':'test-after','FWwqt':'INFO','PiaCF':_0x2c2fcc(0x167),'dKMcM':_0x2c2fcc(0x1ed),'hYtto':_0x2c2fcc(0x1e9),'woEgQ':_0x2c2fcc(0x1dc),'yEqUJ':function(_0x35277e){return _0x35277e();},'IqUZy':_0x2c2fcc(0x1b4)};_0x5793e1[_0x2c2fcc(0x18e)]&&(global['__skipSessionStatus']=_0x5793e1[_0x2c2fcc(0x18e)]);PerformanceTester[_0x2c2fcc(0x15f)]();const _0x1538b5=_0x913174[_0x2c2fcc(0x1fb)](getCodeceptDriver),_0x5056b2=new O11yHelper(_0x1538b5,_0x5793e1),_0x4cfe14=!!CodeceptJS[_0x2c2fcc(0x1fc)][_0x2c2fcc(0x1a7)](_0x913174[_0x2c2fcc(0x1ab)]);global[_0x2c2fcc(0x1de)]=_0x1538b5,_0x1538b5&&(PerformanceTester[_0x2c2fcc(0x1bb)](PerformanceEvents[_0x2c2fcc(0x1d7)],()=>{const _0x343bf5=_0x2c2fcc;_0x4cfe14?_0x913174[_0x343bf5(0x190)](patchPlaywrightBefore):_0x913174[_0x343bf5(0x18b)](patchWebDriverBefore,_0x1538b5);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x2c2fcc(0x1c0)],()=>{const _0x4ca187=_0x2c2fcc;_0x1538b5[_0x4ca187(0x1e6)]=async()=>{const _0x4ce0b8=_0x4ca187;if(global[_0x4ce0b8(0x15d)]){const _0x57100d={};_0x57100d[_0x4ce0b8(0x1be)]=_0x913174['uRqNd'],await PerformanceTester[_0x4ce0b8(0x1bb)](PerformanceA11yEvents[_0x4ce0b8(0x19e)],async()=>{const _0x1ffedb=_0x4ce0b8;await AccessibilityHelper[_0x1ffedb(0x1c9)](_0x1538b5,scripts[_0x1ffedb(0x208)]);},_0x57100d)(),await PerformanceTester[_0x4ce0b8(0x1bb)](PerformanceA11yEvents[_0x4ce0b8(0x180)],async()=>{const _0x5073c6=_0x4ce0b8;await AccessibilityHelper['browserStackExecuteDriver'](_0x1538b5,scripts[_0x5073c6(0x1b9)]);})();}else return logger[_0x4ce0b8(0x1b0)](_0x913174[_0x4ce0b8(0x192)]),{};},_0x1538b5[_0x4ca187(0x18c)]=async()=>{const _0x126b1d=_0x4ca187;if(global[_0x126b1d(0x15d)]){const _0x283e1e={};_0x283e1e[_0x126b1d(0x1be)]=_0x913174[_0x126b1d(0x16c)],await PerformanceTester[_0x126b1d(0x1bb)](PerformanceA11yEvents[_0x126b1d(0x19e)],async()=>{const _0x4e6f97=_0x126b1d;await AccessibilityHelper[_0x4e6f97(0x1c9)](_0x1538b5,scripts[_0x4e6f97(0x208)]);},_0x283e1e)(),await PerformanceTester[_0x126b1d(0x1bb)](PerformanceA11yEvents[_0x126b1d(0x182)],async()=>{const _0x86c212=_0x126b1d;await AccessibilityHelper[_0x86c212(0x1c9)](_0x1538b5,scripts[_0x86c212(0x17a)]);})();}else return logger[_0x126b1d(0x1b0)](_0x913174['iCMMN']),{};},_0x913174[_0x4ca187(0x18b)](patchSaveScreenshot,_0x1538b5);})()),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['all'][_0x2c2fcc(0x1da)],()=>{const _0x63e23f=_0x2c2fcc;PerformanceTester['start'](PerformanceEvents[_0x63e23f(0x1f7)]);try{_0x5056b2['start'](),testOpsHelper[_0x63e23f(0x199)](),PerformanceTester[_0x63e23f(0x1af)](PerformanceEvents[_0x63e23f(0x1f7)]);}catch(_0x4ece15){PerformanceTester[_0x63e23f(0x18a)](_0x4ece15),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x4ece15);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x1d6)][_0x2c2fcc(0x1c1)],async()=>{const _0x3817b8=_0x2c2fcc;PerformanceTester[_0x3817b8(0x1c5)](PerformanceEvents[_0x3817b8(0x19c)]);try{requestSpy[_0x3817b8(0x18f)](),await _0x5056b2[_0x3817b8(0x213)](),PerformanceTester[_0x3817b8(0x1af)](PerformanceEvents[_0x3817b8(0x19c)]);}catch(_0xdd9469){PerformanceTester[_0x3817b8(0x18a)](_0xdd9469),PerformanceTester[_0x3817b8(0x1af)](PerformanceEvents['SDK_POST_TEST'],![],_0xdd9469);}finally{PerformanceTester[_0x3817b8(0x15e)]();}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1f2)][_0x2c2fcc(0x1d3)],_0x3ae6ea=>{const _0x3afb5c=_0x2c2fcc;PerformanceTester[_0x3afb5c(0x1c5)](PerformanceEvents[_0x3afb5c(0x22f)]);try{const _0x4657ab=_0x3ae6ea[_0x3afb5c(0x17d)][_0x3afb5c(0x203)],_0x2cfacc=_0x5056b2[_0x3afb5c(0x20d)](TEST_EVENTS[_0x3afb5c(0x1b2)],_0x4657ab);CodeceptRecorder[_0x3afb5c(0x22c)](()=>_0x5056b2['fireEvent'](TEST_EVENTS[_0x3afb5c(0x1b2)],_0x2cfacc));const _0x2e8339={};_0x2e8339[_0x3afb5c(0x1db)]=_0x913174['YIbIA'],PerformanceTester[_0x3afb5c(0x1af)](PerformanceEvents[_0x3afb5c(0x22f)],!![],null,_0x2e8339);}catch(_0x5d987f){const _0x2acb2b={};_0x2acb2b[_0x3afb5c(0x1db)]=_0x913174['YIbIA'],PerformanceTester[_0x3afb5c(0x1af)](PerformanceEvents[_0x3afb5c(0x22f)],![],_0x5d987f,_0x2acb2b),PerformanceTester[_0x3afb5c(0x18a)](_0x5d987f);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1f2)][_0x2c2fcc(0x1cf)],_0x23244c=>{const _0x2c8189=_0x2c2fcc,_0x126dd2={};_0x126dd2['hookType']=_0x913174[_0x2c8189(0x217)],PerformanceTester[_0x2c8189(0x1c5)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x126dd2);try{const _0x7c327d=_0x23244c['ctx'][_0x2c8189(0x203)],_0x30fe64=_0x5056b2[_0x2c8189(0x20d)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x7c327d);CodeceptRecorder[_0x2c8189(0x22c)](()=>_0x5056b2[_0x2c8189(0x201)](TEST_EVENTS[_0x2c8189(0x20b)],_0x30fe64));const _0x32af61={};_0x32af61[_0x2c8189(0x1db)]=_0x913174[_0x2c8189(0x217)],PerformanceTester[_0x2c8189(0x1af)](PerformanceHookEvents[_0x2c8189(0x22f)],!![],null,_0x32af61);}catch(_0x21f38d){PerformanceTester[_0x2c8189(0x18a)](_0x21f38d);const _0x3c84d8={};_0x3c84d8[_0x2c8189(0x1db)]=_0x913174['sBXZR'],PerformanceTester['end'](PerformanceHookEvents[_0x2c8189(0x22f)],![],_0x21f38d,_0x3c84d8);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['hook'][_0x2c2fcc(0x16e)],async(_0x57eb75,_0x57b655)=>{const _0x70eccc=_0x2c2fcc;PerformanceTester[_0x70eccc(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{const _0xf52300=_0x57eb75[_0x70eccc(0x17d)][_0x70eccc(0x203)],_0x25d0e7=_0x5056b2[_0x70eccc(0x20d)](TEST_EVENTS[_0x70eccc(0x20b)],_0xf52300,_0x57b655);CodeceptRecorder[_0x70eccc(0x22c)](()=>_0x5056b2[_0x70eccc(0x201)](TEST_EVENTS[_0x70eccc(0x20b)],_0x25d0e7));const _0x5d5d65={};_0x5d5d65[_0x70eccc(0x1db)]=_0x913174[_0x70eccc(0x1fe)],PerformanceTester[_0x70eccc(0x1c5)](PerformanceHookEvents[_0x70eccc(0x22f)],!![],null,_0x5d5d65);}catch(_0x188f4f){PerformanceTester[_0x70eccc(0x18a)](_0x188f4f);const _0x20e383={};_0x20e383[_0x70eccc(0x1db)]=_0x913174['PavbX'],PerformanceTester[_0x70eccc(0x1af)](PerformanceHookEvents[_0x70eccc(0x22f)],![],_0x188f4f,_0x20e383);}const _0x1348f4={};_0x1348f4[_0x70eccc(0x1db)]=_0x913174[_0x70eccc(0x1fe)],PerformanceTester[_0x70eccc(0x1af)](PerformanceHookEvents[_0x70eccc(0x22f)],!![],null,_0x1348f4);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x203)][_0x2c2fcc(0x1da)],_0x42a81a=>{const _0x32c715=_0x2c2fcc;PerformanceTester[_0x32c715(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x32c715(0x20f)](_0x913174[_0x32c715(0x231)],_0x42a81a[_0x32c715(0x1c4)]);_0x913174[_0x32c715(0x1df)](isBrowserstackInfra)&&(_0x4cfe14&&(global['__workerDetails']={'currentTest':{'name':_0x42a81a[_0x32c715(0x1c4)],'testInfo':{'titlePath':_0x42a81a[_0x32c715(0x15c)]()}}}));const _0x2bcf13={};_0x2bcf13[_0x32c715(0x1db)]=_0x913174[_0x32c715(0x1e5)],PerformanceTester[_0x32c715(0x1af)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x2bcf13);}catch(_0x4cbd87){PerformanceTester['captureError'](_0x4cbd87);const _0x4e077c={};_0x4e077c[_0x32c715(0x1db)]=_0x913174[_0x32c715(0x1e5)],PerformanceTester[_0x32c715(0x1af)](PerformanceHookEvents[_0x32c715(0x22f)],![],_0x4cbd87,_0x4e077c);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1d3)],_0x367856=>{const _0x130f5b=_0x2c2fcc,_0x44a502={'wmskn':function(_0x38db33){const _0x26202b=a1_0x2a1d;return _0x913174[_0x26202b(0x1df)](_0x38db33);},'WjkpO':function(_0x75496b,_0x30322b){const _0x4fc716=a1_0x2a1d;return _0x913174[_0x4fc716(0x21e)](_0x75496b,_0x30322b);},'xdwqm':function(_0x348b58,_0x2368ae,_0x1ccd40){const _0x5f1171=a1_0x2a1d;return _0x913174[_0x5f1171(0x1ff)](_0x348b58,_0x2368ae,_0x1ccd40);}};PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x130f5b(0x20f)](_0x913174[_0x130f5b(0x231)],_0x367856[_0x130f5b(0x1c4)]);const _0x33bfae=_0x5056b2[_0x130f5b(0x20d)](TEST_EVENTS['TEST_RUN_STARTED'],_0x367856);CodeceptRecorder[_0x130f5b(0x22c)](()=>_0x5056b2['fireEvent'](TEST_EVENTS[_0x130f5b(0x202)],_0x33bfae)),CodeceptRecorder[_0x130f5b(0x22c)](async()=>{const _0x3e648b=_0x130f5b;_0x44a502[_0x3e648b(0x1f8)](isBrowserstackInfra)&&(!_0x44a502[_0x3e648b(0x1ac)](isTrue,_0x5793e1[_0x3e648b(0x1f9)])&&await _0x44a502[_0x3e648b(0x225)](markSessionName,_0x1538b5,_0x367856['title']),_0x5056b2[_0x3e648b(0x1e4)]&&await _0x44a502[_0x3e648b(0x1ac)](o11ySync,_0x1538b5));});}catch(_0x2561fd){const _0x10e3b={};_0x10e3b[_0x130f5b(0x1db)]=_0x913174[_0x130f5b(0x194)],PerformanceTester['end'](PerformanceHookEvents[_0x130f5b(0x22f)],![],_0x2561fd,_0x10e3b),PerformanceTester[_0x130f5b(0x18a)](_0x2561fd);}const _0xe1bfcf={};_0xe1bfcf['hookType']=_0x913174[_0x130f5b(0x194)],PerformanceTester[_0x130f5b(0x1af)](PerformanceHookEvents[_0x130f5b(0x22f)],!![],null,_0xe1bfcf);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1cf)],_0x4105ee=>{const _0x6da0c9=_0x2c2fcc,_0x34c25d={'sWEWd':function(_0x15031d,_0x6deb7c,_0x325d46){const _0x437877=a1_0x2a1d;return _0x913174[_0x437877(0x1ff)](_0x15031d,_0x6deb7c,_0x325d46);}};PerformanceTester[_0x6da0c9(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{const _0x295d45=_0x5056b2[_0x6da0c9(0x20d)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4105ee);CodeceptRecorder[_0x6da0c9(0x22c)](()=>_0x5056b2[_0x6da0c9(0x201)](TEST_EVENTS[_0x6da0c9(0x1e1)],_0x295d45)),CodeceptRecorder['add'](async()=>{const _0x194c33=_0x6da0c9;_0x913174[_0x194c33(0x190)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x194c33(0x1a0)],async()=>{const _0x542250=_0x194c33;_0x4cfe14?await _0x34c25d[_0x542250(0x223)](playwrightMarkSessionStatus,_0x1538b5,STATE_PASSED):await _0x34c25d[_0x542250(0x223)](markSessionStatus,_0x1538b5,STATE_PASSED);})();}),PerformanceTester[_0x6da0c9(0x1af)](PerformanceEvents[_0x6da0c9(0x19b)]);}catch(_0x37c87a){PerformanceTester[_0x6da0c9(0x18a)](_0x37c87a);const _0x4fdece={};_0x4fdece[_0x6da0c9(0x1db)]=_0x913174[_0x6da0c9(0x1b6)],PerformanceTester[_0x6da0c9(0x1af)](PerformanceHookEvents[_0x6da0c9(0x22f)],![],_0x37c87a,_0x4fdece),PerformanceTester[_0x6da0c9(0x1af)](PerformanceEvents[_0x6da0c9(0x19b)],![],_0x37c87a);}const _0x211d6e={};_0x211d6e[_0x6da0c9(0x1db)]=_0x913174[_0x6da0c9(0x1b6)],PerformanceTester[_0x6da0c9(0x1af)](PerformanceHookEvents[_0x6da0c9(0x22f)],!![],null,_0x211d6e);}),CodeceptJS[_0x2c2fcc(0x1d2)]['dispatcher']['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x16e)],(_0x1b4e7e,_0x3eba51)=>{const _0x395399=_0x2c2fcc;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x913174[_0x395399(0x1e3)](_0x1b4e7e[_0x395399(0x178)][_0x395399(0x209)],_0x913174[_0x395399(0x1a1)])){const _0x502f64=_0x5056b2[_0x395399(0x20d)](TEST_EVENTS[_0x395399(0x224)],_0x1b4e7e[_0x395399(0x17d)]['currentTest']);CodeceptRecorder[_0x395399(0x22c)](()=>_0x5056b2[_0x395399(0x201)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x502f64));}else{const _0x4d8297=_0x5056b2[_0x395399(0x20d)](TEST_EVENTS[_0x395399(0x1e1)],_0x1b4e7e,_0x3eba51);CodeceptRecorder['add'](()=>{const _0x3c8e98=_0x395399;try{_0x5056b2['fireEvent'](TEST_EVENTS[_0x3c8e98(0x1e1)],_0x4d8297);}catch(_0x31f738){logger[_0x3c8e98(0x193)](_0x3c8e98(0x20a)+util['format'](_0x31f738)),PerformanceTester[_0x3c8e98(0x1af)](PerformanceEvents[_0x3c8e98(0x19b)],![],_0x31f738);}}),CodeceptRecorder[_0x395399(0x22c)](async()=>{const _0x1a1854=_0x395399;try{_0x913174[_0x1a1854(0x232)](isBrowserstackInfra)&&(_0x4cfe14?await _0x913174['iBflQ'](playwrightMarkSessionStatus,_0x1538b5,STATE_FAILED,_0x3eba51):await _0x913174[_0x1a1854(0x1d8)](markSessionStatus,_0x1538b5,STATE_FAILED,_0x3eba51));}catch(_0x394abb){logger['debug'](_0x1a1854(0x219)+util[_0x1a1854(0x16d)](_0x394abb)),PerformanceTester[_0x1a1854(0x1af)](PerformanceEvents[_0x1a1854(0x19b)],![],_0x394abb);}});}PerformanceTester[_0x395399(0x1af)](PerformanceEvents[_0x395399(0x19b)]);}catch(_0x2ee8e8){PerformanceTester['captureError'](_0x2ee8e8);const _0x3094b8={};_0x3094b8[_0x395399(0x1db)]=_0x913174[_0x395399(0x183)],PerformanceTester[_0x395399(0x1af)](PerformanceHookEvents['SDK_HOOK'],![],_0x2ee8e8,_0x3094b8),PerformanceTester[_0x395399(0x1af)](PerformanceEvents['SDK_TEST'],![],_0x2ee8e8);}const _0x43ee3e={};_0x43ee3e['hookType']=_0x913174['rrmpG'],PerformanceTester[_0x395399(0x1af)](PerformanceHookEvents[_0x395399(0x22f)],!![],null,_0x43ee3e);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS['event'][_0x2c2fcc(0x203)][_0x2c2fcc(0x16a)],_0x164277=>{const _0xefd1da=_0x2c2fcc;PerformanceTester[_0xefd1da(0x1c5)](PerformanceHookEvents[_0xefd1da(0x22f)]);try{const _0x329147=_0x5056b2[_0xefd1da(0x20d)](TEST_EVENTS[_0xefd1da(0x224)],_0x164277);CodeceptRecorder[_0xefd1da(0x22c)](()=>_0x5056b2[_0xefd1da(0x201)](TEST_EVENTS[_0xefd1da(0x224)],_0x329147)),PerformanceTester[_0xefd1da(0x1af)](PerformanceEvents['SDK_TEST']);}catch(_0x200eb6){PerformanceTester[_0xefd1da(0x18a)](_0x200eb6),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x200eb6);const _0x1d7fe4={};_0x1d7fe4['hookType']=_0x913174[_0xefd1da(0x1d4)],PerformanceTester[_0xefd1da(0x1af)](PerformanceHookEvents[_0xefd1da(0x22f)],![],_0x200eb6,_0x1d7fe4);}const _0x390c79={};_0x390c79[_0xefd1da(0x1db)]=_0x913174[_0xefd1da(0x1d4)],PerformanceTester[_0xefd1da(0x1af)](PerformanceHookEvents[_0xefd1da(0x22f)],!![],null,_0x390c79);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x203)][_0x2c2fcc(0x1c1)],async(_0x2ebb18,_0x2ce497)=>{const _0x191d55=_0x2c2fcc,_0x294174={};_0x294174[_0x191d55(0x1b1)]=_0x913174[_0x191d55(0x20c)];const _0x34fbc1=_0x294174;try{PerformanceTester[_0x191d55(0x1c5)](PerformanceHookEvents['SDK_HOOK']);if(_0x913174[_0x191d55(0x1c8)](isBrowserstackInfra)){const _0x2485d4=_0x913174[_0x191d55(0x1c7)](shouldScanTestForAccessibility,_0x2ebb18[_0x191d55(0x15c)](),!![]);if(_0x913174['jbCBr'](isAccessibilityAutomationSession)&&global[_0x191d55(0x15d)]&&_0x2485d4){const _0x185612={};_0x185612[_0x191d55(0x1f1)]=_0x2ebb18[_0x191d55(0x170)],_0x185612[_0x191d55(0x1eb)]=process['env'][testHubConstants[_0x191d55(0x1b3)][_0x191d55(0x215)]],_0x185612[_0x191d55(0x18d)]=process['env'][testHubConstants['ENV_VAR'][_0x191d55(0x1f3)]];const _0x116294=_0x185612;logger[_0x191d55(0x193)](_0x191d55(0x1aa)+JSON[_0x191d55(0x229)](_0x116294)),CodeceptRecorder['add'](async()=>{const _0x262fc3=_0x191d55,_0x12dad9={};_0x12dad9[_0x262fc3(0x1be)]=_0x34fbc1['Ftztn'],await PerformanceTester[_0x262fc3(0x1bb)](PerformanceA11yEvents[_0x262fc3(0x19e)],async()=>{const _0x47d75f=_0x262fc3;await AccessibilityHelper[_0x47d75f(0x1c9)](_0x1538b5,scripts[_0x47d75f(0x208)]);},_0x12dad9)(),await PerformanceTester[_0x262fc3(0x1bb)](PerformanceA11yEvents[_0x262fc3(0x17e)],async()=>{const _0x136e09=_0x262fc3;await AccessibilityHelper[_0x136e09(0x1c9)](_0x1538b5,scripts[_0x136e09(0x1cd)],_0x116294);})();}),logger[_0x191d55(0x168)](_0x913174['tXEPn']);}}const _0x24bc00={};_0x24bc00[_0x191d55(0x1db)]=_0x913174['SBkZL'],PerformanceTester['end'](PerformanceHookEvents[_0x191d55(0x22f)],!![],null,_0x24bc00);}catch(_0x5847da){PerformanceTester[_0x191d55(0x18a)](_0x5847da);const _0x1864aa={};_0x1864aa[_0x191d55(0x1db)]=_0x913174['SBkZL'],PerformanceTester[_0x191d55(0x1af)](PerformanceHookEvents[_0x191d55(0x22f)],![],_0x5847da,_0x1864aa);}}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x1a8)][_0x2c2fcc(0x165)],_0x19457a=>{const _0x12b3fc=_0x2c2fcc;PerformanceTester[_0x12b3fc(0x1c5)](PerformanceHookEvents['SDK_HOOK']);try{process[_0x12b3fc(0x1cc)](_0x12b3fc(0x1ae)+process['pid'],{'timestamp':new Date()[_0x12b3fc(0x22e)](),'level':_0x913174[_0x12b3fc(0x184)],'message':_0x19457a,'kind':_0x913174['PiaCF'],'http_response':{}});}catch(_0x3539d6){PerformanceTester['captureError'](_0x3539d6);const _0x3da04a={};_0x3da04a['hookType']=_0x913174[_0x12b3fc(0x1a5)],PerformanceTester['end'](PerformanceHookEvents[_0x12b3fc(0x22f)],![],_0x3539d6,_0x3da04a);}const _0x7c2c8f={};_0x7c2c8f[_0x12b3fc(0x1db)]=_0x913174[_0x12b3fc(0x1a5)],PerformanceTester[_0x12b3fc(0x1af)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x7c2c8f);}),CodeceptJS[_0x2c2fcc(0x1d2)][_0x2c2fcc(0x177)]['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['bddStep'][_0x2c2fcc(0x1da)],_0x449756=>{const _0xe1ff66=_0x2c2fcc,_0x517815={};_0x517815[_0xe1ff66(0x1db)]=_0x913174[_0xe1ff66(0x187)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0xe1ff66(0x22f)],()=>{const _0x553f05=_0xe1ff66;_0x5056b2[_0x553f05(0x196)](_0x449756);},_0x517815)();}),CodeceptJS[_0x2c2fcc(0x1d2)]['dispatcher']['on'](CodeceptJS[_0x2c2fcc(0x1d2)]['bddStep'][_0x2c2fcc(0x1c1)],_0x19550a=>{const _0x3c8a14=_0x2c2fcc,_0x251bed={};_0x251bed['hookType']=_0x913174[_0x3c8a14(0x163)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x3c8a14(0x22f)],()=>{_0x5056b2['bddStepFinish'](_0x19550a);},_0x251bed)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a2_0x192a51=a2_0x598e;(function(_0x213589,_0x17894e){const _0x4e020f=a2_0x598e,_0x24d2db=_0x213589();while(!![]){try{const _0x5f2bd7=parseInt(_0x4e020f(0x1f9))/0x1*(parseInt(_0x4e020f(0x1ef))/0x2)+-parseInt(_0x4e020f(0x20f))/0x3*(parseInt(_0x4e020f(0x1b7))/0x4)+-parseInt(_0x4e020f(0x189))/0x5+parseInt(_0x4e020f(0x1bd))/0x6*(parseInt(_0x4e020f(0x1d6))/0x7)+-parseInt(_0x4e020f(0x19d))/0x8*(-parseInt(_0x4e020f(0x1da))/0x9)+-parseInt(_0x4e020f(0x1fc))/0xa+parseInt(_0x4e020f(0x188))/0xb*(-parseInt(_0x4e020f(0x1dd))/0xc);if(_0x5f2bd7===_0x17894e)break;else _0x24d2db['push'](_0x24d2db['shift']());}catch(_0x10d462){_0x24d2db['push'](_0x24d2db['shift']());}}}(a2_0x18ab,0x6e38c));const fs=require('fs'),path=require('path'),util=require(a2_0x192a51(0x1d7)),process=require('process'),logger=require(a2_0x192a51(0x214))[a2_0x192a51(0x1f7)],{default:BrowserStackSetup}=require(a2_0x192a51(0x1cd)),helper=require('../../helpers/helper'),utilities=require(a2_0x192a51(0x1e1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x192a51(0x1de),'codeceptjs'),testOpsHelper=require(a2_0x192a51(0x1c0)),TestHubHandler=require(a2_0x192a51(0x1d8)),constants=require(a2_0x192a51(0x196)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x192a51(0x1db))[a2_0x192a51(0x207)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x410aab,_0x199b6e)=>{const _0xf4fe10=a2_0x192a51,_0x4bcf5d={};_0x4bcf5d[_0xf4fe10(0x203)]=function(_0x1a6926,_0x4a21b2){return _0x1a6926===_0x4a21b2;},_0x4bcf5d[_0xf4fe10(0x1e6)]=_0xf4fe10(0x1e3),_0x4bcf5d[_0xf4fe10(0x1b2)]=_0xf4fe10(0x1af);const _0x206f14=_0x4bcf5d;let _0x5f06c2=null;const _0x1d5ab9={};let _0xe4c0d8=_0x199b6e['findIndex'](_0x4ee1f6=>_0x4ee1f6===_0xf4fe10(0x1ec));_0x206f14[_0xf4fe10(0x203)](_0xe4c0d8,-0x1)&&(_0xe4c0d8=_0x199b6e['findIndex'](_0x34be09=>_0x34be09==='-c'));if(!helper['isUndefined'](_0x410aab[_0xf4fe10(0x1a9)])&&fs[_0xf4fe10(0x1a5)](path['join'](process[_0xf4fe10(0x19a)](),_0x410aab[_0xf4fe10(0x1a9)])))_0x5f06c2=path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x410aab['config']),_0x199b6e[_0xf4fe10(0x206)](_0xe4c0d8,0x2);else{if(!helper['isUndefined'](_0x410aab['c'])&&fs['existsSync'](path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x410aab['c'])))_0x5f06c2=path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x410aab['c']),_0x199b6e[_0xf4fe10(0x206)](_0xe4c0d8,0x2);else{if(fs['existsSync'](path['join'](process[_0xf4fe10(0x19a)](),_0x206f14[_0xf4fe10(0x1e6)])))_0x5f06c2=path[_0xf4fe10(0x1d5)](process['cwd'](),_0x206f14['Ewkmg']);else fs[_0xf4fe10(0x1a5)](path['join'](process['cwd'](),_0x206f14[_0xf4fe10(0x1b2)]))&&(_0x5f06c2=path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x206f14[_0xf4fe10(0x1b2)]));}}return process[_0xf4fe10(0x1d3)][_0xf4fe10(0x190)]=_0x5f06c2,_0x5f06c2;},getO11yRerunPattern=()=>{const _0x1cd6b3=a2_0x192a51,_0x1ecdaa=helper['isTrue'](process[_0x1cd6b3(0x1d3)][_0x1cd6b3(0x1c1)]);if(_0x1ecdaa){const _0x562457=process['env'][_0x1cd6b3(0x200)],_0x4a557b=[];if(helper[_0x1cd6b3(0x1c2)](_0x562457)&&!helper[_0x1cd6b3(0x208)](_0x562457)){_0x562457[_0x1cd6b3(0x193)](',')[_0x1cd6b3(0x1fd)](_0x1a579c=>{const _0x1d3f2f=_0x1cd6b3;_0x4a557b[_0x1d3f2f(0x1f0)]('('+_0x1a579c[_0x1d3f2f(0x21b)]()+')');});const _0x8525bb='^'+_0x4a557b[_0x1cd6b3(0x1d5)]('|')+'$';return _0x8525bb;}}return null;},a2_0x1a249e={};a2_0x1a249e[a2_0x192a51(0x1a6)]='chromium',a2_0x1a249e['playwright-chromium']='chromium',a2_0x1a249e[a2_0x192a51(0x1b8)]=a2_0x192a51(0x1dc),a2_0x1a249e[a2_0x192a51(0x1e2)]=a2_0x192a51(0x18c);const pwToCodeceptBrowser=a2_0x1a249e;async function run(_0x5f2959,_0x4b03dc,_0x5b4da3){const _0x1c607c=a2_0x192a51,_0x28ab46={'GLenW':function(_0x2c1938,_0x575ea2){return _0x2c1938+_0x575ea2;},'UDCAa':function(_0xe63cfa,_0x1a7d20){return _0xe63cfa(_0x1a7d20);},'qITIy':function(_0x30ca86,_0x5ca1bc,_0x181797){return _0x30ca86(_0x5ca1bc,_0x181797);},'XKLCt':_0x1c607c(0x1f6),'hBpFM':function(_0x1ec22f){return _0x1ec22f();},'wOMMC':_0x1c607c(0x1ed),'QIkal':_0x1c607c(0x19f),'PthDh':_0x1c607c(0x19e),'hgRQy':'3|1|2|5|4|0','NJKbu':function(_0xf50736,_0x5ed0c2,_0x45c52e){return _0xf50736(_0x5ed0c2,_0x45c52e);},'fGXNb':_0x1c607c(0x215),'aIttc':function(_0x19d812,_0x235243,_0x5ed8b8){return _0x19d812(_0x235243,_0x5ed8b8);},'JbUGQ':'Playwright','UzJZN':_0x1c607c(0x211),'BWpMP':function(_0x1d9aad,_0x32dbe7){return _0x1d9aad!=_0x32dbe7;},'qbQvm':function(_0x4d6bfb,_0x5f50ea){return _0x4d6bfb===_0x5f50ea;},'ITgwR':function(_0x282e9,_0x4df9d8,_0x261deb){return _0x282e9(_0x4df9d8,_0x261deb);},'Annfb':_0x1c607c(0x1a8),'vKVIo':function(_0x7eee40){return _0x7eee40();},'RDZMC':function(_0x31ceae,_0x3e2a74){return _0x31ceae*_0x3e2a74;},'TyJzt':'browser','KpBZz':_0x1c607c(0x198),'cmuuu':'root','SCqAf':_0x1c607c(0x1fb),'xRhKd':_0x1c607c(0x18d)};await _0x5b4da3[_0x1c607c(0x18b)](_0x5f2959),await helper[_0x1c607c(0x1d1)](_0x5b4da3['config']);if(!_0x5b4da3['config'])return;process['profile']=_0x5f2959['profile'];_0x5f2959[_0x1c607c(0x1fe)]&&(process['env'][_0x1c607c(0x1fe)]=_0x5f2959[_0x1c607c(0x1fe)]);const _0xc42d9b=_0x28ab46[_0x1c607c(0x1e8)](getUserCodeceptJSConfigs,_0x5f2959,_0x4b03dc);let _0xe316eb={};_0xc42d9b?(logger['info'](_0x1c607c(0x1d2)+_0xc42d9b),_0xe316eb=CodeceptJS[_0x1c607c(0x1a9)]['load'](_0xc42d9b)):logger['info'](_0x28ab46[_0x1c607c(0x20d)]);let _0x2e9b17=![];_0x28ab46[_0x1c607c(0x194)](nestedKeyValue,_0xe316eb,[_0x28ab46['XKLCt'],_0x28ab46[_0x1c607c(0x1b4)]])&&(_0x2e9b17=!![]);const _0x507fee=_0x2e9b17?_0x28ab46[_0x1c607c(0x1b4)]:_0x28ab46['UzJZN'];let _0x262de6=!_0x2e9b17?helper[_0x1c607c(0x1a1)](_0x5b4da3[_0x1c607c(0x1a9)]):![];!helper[_0x1c607c(0x208)](_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1f1)])&&(process['env'][_0x1c607c(0x1b6)]=JSON[_0x1c607c(0x218)](_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1f1)]));let _0x28c21b=_0x5b4da3[_0x1c607c(0x1a9)]['accessibility'];_0x28c21b=_0x28c21b||_0x28ab46['UDCAa'](checkAccessibilityPlatformConfig,_0x5b4da3[_0x1c607c(0x1a9)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x28c21b;_0x28c21b&&(_0x262de6=!_0x28c21b);_0x28ab46['BWpMP'](_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x18a)],null)?process[_0x1c607c(0x1d3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x18a)]:process[_0x1c607c(0x1d3)][_0x1c607c(0x210)]=_0x28ab46[_0x1c607c(0x191)](_0x507fee,_0x28ab46[_0x1c607c(0x1b4)]);const _0x1c180e=_0x28ab46[_0x1c607c(0x1c3)](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x1c607c(0x1a2)]]),_0xd7b40=_0x1c180e&&!helper[_0x1c607c(0x1df)](_0x1c180e)?FRAMEWORKS[_0x1c607c(0x1e5)]:FRAMEWORKS[_0x1c607c(0x19b)],_0x3f781e=await TestHubHandler[_0x1c607c(0x18f)](_0xd7b40,_0x5b4da3);_0x28c21b&&_0x28ab46[_0x1c607c(0x1bb)](setAccessibilityCapabilities,_0x5b4da3[_0x1c607c(0x1a9)]);const _0x2f6cba={},_0xa65470=[],_0x53015d=_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1cf)]||helper[_0x1c607c(0x187)](_0x5f2959,_0x4b03dc,_0x5b4da3[_0x1c607c(0x1a9)],constants[_0x1c607c(0x1c9)][_0x1c607c(0x19b)])||0x1;let _0x3bcf11=0x1;if(_0x28ab46['vKVIo'](isBrowserstackInfra)){const _0x453df2=helper['prepareCapabilities'](_0x5b4da3[_0x1c607c(0x1a9)],_0x262de6,constants[_0x1c607c(0x1c9)]['CODECEPT']);_0x453df2[_0x1c607c(0x1c8)](_0x13156b=>{helper['setAdditionalCapabilities'](_0x13156b);}),helper[_0x1c607c(0x1ba)](_0x5b4da3[_0x1c607c(0x1a9)])?_0x3bcf11=_0x28ab46[_0x1c607c(0x1a7)](_0x53015d,_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1b0)][_0x1c607c(0x20b)]):_0x3bcf11=_0x53015d,_0x453df2[_0x1c607c(0x1c8)](_0x290a54=>{const _0x46eb6d=_0x1c607c,_0x31faee=_0x28ab46[_0x46eb6d(0x1b9)](helper[_0x46eb6d(0x1c7)](_0x290a54,'_'),'_'+Date[_0x46eb6d(0x1d9)]()),_0x836a7b=((()=>{const _0x2adb26=_0x46eb6d;if(_0x2e9b17){const _0x26aa97=pwToCodeceptBrowser[_0x290a54[_0x2adb26(0x1ad)]]||_0x290a54[_0x2adb26(0x1ad)];return{'browser':_0x26aa97,[_0x26aa97]:{'browserWSEndpoint':_0x28ab46[_0x2adb26(0x1b9)](helper[_0x2adb26(0x1f5)](_0x5b4da3['config']),_0x28ab46[_0x2adb26(0x1bb)](encodeURIComponent,JSON['stringify'](_0x290a54)))}};}const _0x4a18be={};return _0x4a18be[_0x2adb26(0x198)]=_0x290a54,_0x4a18be;})()),_0x4ca513=_0x28ab46[_0x46eb6d(0x1be)](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x46eb6d(0x1ab)],_0x507fee]);_0x2f6cba[_0x31faee]=_0x4ca513?helper[_0x46eb6d(0x197)](_0x836a7b,_0x4ca513):_0x836a7b,!_0x2e9b17&&(_0x2f6cba[_0x31faee][_0x46eb6d(0x1f2)]=_0x290a54[_0x46eb6d(0x1ad)]||_0x836a7b['browser']),_0xa65470['push'](_0x31faee);});}else{_0x3bcf11=0x1;if(_0x2e9b17){const _0x1e4b07=_0x28ab46['NJKbu'](nestedKeyValue,_0xe316eb,[_0x28ab46['XKLCt'],_0x507fee,_0x28ab46[_0x1c607c(0x199)]]),_0x4a4bf0=_0x28ab46['NJKbu'](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x1c607c(0x1ab)],_0x507fee,_0x1e4b07]);_0x4a4bf0&&_0x4a4bf0['browserWSEndpoint']&&(_0x4a4bf0[_0x1c607c(0x1b3)]=helper['prepareCapabilities'](null,null,_0xd7b40[_0x1c607c(0x20c)](),null,null,_0x4a4bf0[_0x1c607c(0x1b3)]));}else _0xe316eb[_0x28ab46[_0x1c607c(0x1ab)]][_0x507fee][_0x28ab46[_0x1c607c(0x217)]]=helper['prepareCapabilities'](null,null,_0xd7b40['toLowerCase'](),_0x28ab46[_0x1c607c(0x1e8)](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x1c607c(0x1ab)],_0x507fee,_0x28ab46[_0x1c607c(0x217)]]),null,null);_0x2f6cba[_0x28ab46[_0x1c607c(0x1b5)]]=_0xe316eb,_0xa65470['push'](_0x28ab46[_0x1c607c(0x1b5)]);}const _0x59591f={};_0x59591f[_0x1c607c(0x1ac)]=_0xc42d9b;const _0x2c442b=_0x59591f,_0x156e3c=path[_0x1c607c(0x1d5)](__dirname,_0x28ab46[_0x1c607c(0x1a0)]),_0x4db524=process['cwd']();process[_0x1c607c(0x1d3)][_0x28ab46[_0x1c607c(0x20a)]]=_0x4db524,process[_0x1c607c(0x1eb)](path[_0x1c607c(0x1a4)](_0xc42d9b));const _0x32c035=new CodeceptJS[(_0x1c607c(0x1cb))](null,_0x2c442b),_0x4e5e66=_0x32c035[_0x1c607c(0x201)](_0x3bcf11),_0x535358=testOpsHelper[_0x1c607c(0x1f3)](),_0x49cc2e=_0xa65470[_0x1c607c(0x1fd)](_0x27f140=>{const _0x2a3f14=_0x1c607c,_0xc00420={};_0xc00420[_0x2a3f14(0x209)]=_0x2f6cba[_0x27f140];const _0x3ce78d={};_0x3ce78d[_0x2a3f14(0x211)]=_0x2f6cba[_0x27f140];const _0x3afe1f=_0x2e9b17?_0xc00420:_0x3ce78d,_0x2b60ab=_0x28ab46[_0x2a3f14(0x1d0)](getO11yRerunPattern),_0x42fb7b={};_0x42fb7b['helpers']=_0x3afe1f;const _0x411b2b={};_0x411b2b[_0x2a3f14(0x1ff)]=_0x156e3c,_0x411b2b[_0x2a3f14(0x1e4)]=!![],_0x411b2b[_0x2a3f14(0x1aa)]=_0x5b4da3[_0x2a3f14(0x1a9)][_0x2a3f14(0x1ca)][_0x2a3f14(0x1aa)],_0x411b2b[_0x2a3f14(0x1cc)]=_0x5b4da3[_0x2a3f14(0x1a9)][_0x2a3f14(0x1ca)]['skipSessionStatus'],_0x411b2b[_0x2a3f14(0x18a)]=_0x535358,_0x411b2b[_0x2a3f14(0x202)]=_0xd7b40;const _0x4c3c5a={};_0x4c3c5a[_0x2a3f14(0x1f4)]=_0x411b2b;const _0x365b3e={};return _0x365b3e[_0x2a3f14(0x1bf)]=_0x4c3c5a,helper['mergeDeep']({},_0xe316eb,_0x28ab46['hBpFM'](isBrowserstackInfra)?_0x42fb7b:{},_0x2b60ab?{'grep':_0x2b60ab}:{},_0x365b3e);});for(const _0x4d60b3 of _0x49cc2e){for(const _0x1cf4e3 of _0x4e5e66){const _0x33f0e1=_0x32c035[_0x1c607c(0x219)]();_0x33f0e1[_0x1c607c(0x1ee)](_0x1cf4e3),_0x33f0e1['addConfig'](_0x4d60b3);const _0x412acb={};_0x412acb['config']=_0xc42d9b,_0x33f0e1['addOptions'](_0x412acb);}}_0x32c035['on'](CodeceptJS['event']['test'][_0x1c607c(0x18e)],(_0x419b76,_0xad956)=>{const _0x4dbb5f=_0x1c607c;console[_0x4dbb5f(0x1e7)](_0x28ab46['wOMMC'],_0x419b76[_0x4dbb5f(0x212)]);const _0x330757={[_0x419b76[_0x4dbb5f(0x212)]]:_0x419b76['err'][_0x4dbb5f(0x1c4)]};_testErrorData['push'](_0x330757);}),_0x32c035['on'](CodeceptJS[_0x1c607c(0x1ae)][_0x1c607c(0x1d4)]['passed'],async _0x2a0045=>{const _0x5f05de=_0x1c607c;console[_0x5f05de(0x1e7)](_0x28ab46[_0x5f05de(0x192)],_0x2a0045[_0x5f05de(0x212)]);}),_0x32c035['on'](CodeceptJS[_0x1c607c(0x1ae)]['test'][_0x1c607c(0x1ce)],async _0x178683=>{const _0x3cbc44=_0x1c607c;console[_0x3cbc44(0x1e7)](_0x28ab46['PthDh'],_0x178683[_0x3cbc44(0x212)]);}),_0x32c035['on'](CodeceptJS[_0x1c607c(0x1ae)][_0x1c607c(0x213)][_0x1c607c(0x216)],async()=>{const _0x5ab1bc=_0x1c607c,_0x3e28f8=_0x28ab46[_0x5ab1bc(0x20e)][_0x5ab1bc(0x193)]('|');let _0x2e8197=0x0;while(!![]){switch(_0x3e28f8[_0x2e8197++]){case'0':_0x32c035[_0x5ab1bc(0x21a)]();continue;case'1':_0x5b4da3[_0x5ab1bc(0x21c)]=_testErrorData;continue;case'2':testOpsHelper[_0x5ab1bc(0x1bc)]();continue;case'3':PerformanceTester[_0x5ab1bc(0x1a3)](PerformanceEvents[_0x5ab1bc(0x1c5)]);continue;case'4':try{await TestHubHandler[_0x5ab1bc(0x204)]();}catch(_0x240401){logger['debug'](_0x5ab1bc(0x1e9)+util[_0x5ab1bc(0x195)](_0x240401));}continue;case'5':utilities[_0x5ab1bc(0x1c6)](_0x5b4da3);continue;}break;}});async function _0x38e9cb(){const _0x11f999=_0x1c607c;try{await _0x32c035[_0x11f999(0x19c)](),await _0x32c035[_0x11f999(0x1ea)]();}finally{process[_0x11f999(0x1eb)](_0x4db524),await _0x32c035[_0x11f999(0x205)]();}}PerformanceTester[_0x1c607c(0x1e0)](PerformanceEvents[_0x1c607c(0x1f8)]),_0x28ab46[_0x1c607c(0x1b1)](_0x38e9cb);}function a2_0x598e(_0xdf5345,_0x4525f){const _0x18ab40=a2_0x18ab();return a2_0x598e=function(_0x598ee5,_0x34cfb5){_0x598ee5=_0x598ee5-0x187;let _0xa402e0=_0x18ab40[_0x598ee5];return _0xa402e0;},a2_0x598e(_0xdf5345,_0x4525f);}function a2_0x18ab(){const _0x2b953b=['BROWSERSTACK_RERUN','validateRerunTestList','ITgwR','stack','SDK_CLEANUP','finalExecution','getPlatformName','forEach','FRAMEWORKS','testContextOptions','Workers','skipSessionStatus','../../helpers/BrowserStackSetup','before','parallelsPerPlatform','hBpFM','handleApp','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','env','test','join','6167finxMN','util','../../helpers/testhub/testhubHandler','now','1503nucydA','../../helpers/performance/constants','firefox','203208hYufGp','codeceptjs/lib/index.js','isEmpty','end','../../helpers/utilities','playwright-webkit','codecept.conf.js','enabled','CODECEPT_CUCUMBER','Ewkmg','log','NJKbu','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','run','chdir','--config','Failed\x20:\x20','addTests','48574YWnQds','push','accessibilityOptions','browser','isTestObservabilitySession','BrowserStackPlugin','getPlaywrightUrl','helpers','winstonLogger','SDK_SETUP','16GWMbiF','exports','BrowserStackPlugin.js','3231030XZgDGe','map','profile','require','BROWSERSTACK_RERUN_TESTS','createGroupsOfSuites','frameworkName','AvdNz','stop','teardownAll','slice','EVENTS','isUndefined','Playwright','xRhKd','length','toLowerCase','fGXNb','hgRQy','33lRDBPZ','BROWSERSTACK_TEST_OBSERVABILITY_YML','WebDriver','title','all','../../helpers/logger','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','result','KpBZz','stringify','spawn','printResults','trim','errorMessage','getUserWorkerCount','231ayjLKu','682095MptUHp','testObservability','initialize','webkit','browserStackCwd','failed','launchBuild','USER_CONFIG_DETAILS_PATH','qbQvm','QIkal','split','aIttc','format','../utils/constants','mergeDeep','desiredCapabilities','TyJzt','cwd','CODECEPT','bootstrapAll','42392HYfxfF','Started\x20:\x20','Passed\x20:\x20','SCqAf','useW3C','Annfb','start','dirname','existsSync','chrome','RDZMC','gherkin','config','skipSessionName','XKLCt','testConfig','browserName','event','codecept.json','platforms','vKVIo','gWGnC','browserWSEndpoint','JbUGQ','cmuuu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','86452bsskTO','playwright-firefox','GLenW','validPlatformsPresent','UDCAa','printBuildLink','1572yfjjlZ','qITIy','plugins','../../helpers/test-observability/utils'];a2_0x18ab=function(){return _0x2b953b;};return a2_0x18ab();}module[a2_0x192a51(0x1fa)]=run;
2
+ 'use strict';function a2_0x1a52(_0xa9fd09,_0x19d413){const _0x53a623=a2_0x53a6();return a2_0x1a52=function(_0x1a52bf,_0x7980cd){_0x1a52bf=_0x1a52bf-0x119;let _0x9fde9c=_0x53a623[_0x1a52bf];return _0x9fde9c;},a2_0x1a52(_0xa9fd09,_0x19d413);}const a2_0x2ba508=a2_0x1a52;(function(_0x46b01f,_0x142e76){const _0x16a610=a2_0x1a52,_0x3c13be=_0x46b01f();while(!![]){try{const _0x5b80ad=parseInt(_0x16a610(0x134))/0x1*(parseInt(_0x16a610(0x1af))/0x2)+parseInt(_0x16a610(0x139))/0x3*(-parseInt(_0x16a610(0x12c))/0x4)+parseInt(_0x16a610(0x123))/0x5*(parseInt(_0x16a610(0x157))/0x6)+-parseInt(_0x16a610(0x193))/0x7+-parseInt(_0x16a610(0x11e))/0x8+-parseInt(_0x16a610(0x187))/0x9*(parseInt(_0x16a610(0x198))/0xa)+parseInt(_0x16a610(0x16a))/0xb*(parseInt(_0x16a610(0x11b))/0xc);if(_0x5b80ad===_0x142e76)break;else _0x3c13be['push'](_0x3c13be['shift']());}catch(_0x475ab4){_0x3c13be['push'](_0x3c13be['shift']());}}}(a2_0x53a6,0xd1e51));const fs=require('fs'),path=require(a2_0x2ba508(0x18f)),util=require(a2_0x2ba508(0x152)),process=require(a2_0x2ba508(0x133)),logger=require(a2_0x2ba508(0x175))[a2_0x2ba508(0x185)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x2ba508(0x16e)),utilities=require(a2_0x2ba508(0x124)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x2ba508(0x16e)),CodeceptJS=requireModule(a2_0x2ba508(0x194),a2_0x2ba508(0x168)),testOpsHelper=require(a2_0x2ba508(0x18c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x2ba508(0x172)),PerformanceTester=require(a2_0x2ba508(0x1ac)),{FRAMEWORKS}=require(a2_0x2ba508(0x12f)),PerformanceEvents=require(a2_0x2ba508(0x195))[a2_0x2ba508(0x184)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x56a7ed,_0x19a9e5)=>{const _0x148d9e=a2_0x2ba508,_0x3d7084={};_0x3d7084[_0x148d9e(0x19c)]=function(_0x48ad6d,_0x277f5b){return _0x48ad6d===_0x277f5b;},_0x3d7084['yykGe']=_0x148d9e(0x14c),_0x3d7084['QCjVB']=_0x148d9e(0x189);const _0x2215be=_0x3d7084;let _0x10964f=null;const _0x3c9ca0={};let _0x313f97=_0x19a9e5[_0x148d9e(0x142)](_0x45babb=>_0x45babb==='--config');_0x2215be[_0x148d9e(0x19c)](_0x313f97,-0x1)&&(_0x313f97=_0x19a9e5[_0x148d9e(0x142)](_0x57e025=>_0x57e025==='-c'));if(!helper['isUndefined'](_0x56a7ed['config'])&&fs[_0x148d9e(0x148)](path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed[_0x148d9e(0x176)])))_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed[_0x148d9e(0x176)]),_0x19a9e5[_0x148d9e(0x16f)](_0x313f97,0x2);else{if(!helper['isUndefined'](_0x56a7ed['c'])&&fs[_0x148d9e(0x148)](path['join'](process['cwd'](),_0x56a7ed['c'])))_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x56a7ed['c']),_0x19a9e5[_0x148d9e(0x16f)](_0x313f97,0x2);else{if(fs['existsSync'](path['join'](process['cwd'](),_0x2215be[_0x148d9e(0x1ab)])))_0x10964f=path['join'](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x1ab)]);else fs['existsSync'](path['join'](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x15f)]))&&(_0x10964f=path[_0x148d9e(0x1a7)](process[_0x148d9e(0x164)](),_0x2215be[_0x148d9e(0x15f)]));}}return process[_0x148d9e(0x13a)][_0x148d9e(0x16b)]=_0x10964f,_0x10964f;},getO11yRerunPattern=()=>{const _0x470488=a2_0x2ba508,_0xf93e3c=helper[_0x470488(0x160)](process[_0x470488(0x13a)]['BROWSERSTACK_RERUN']);if(_0xf93e3c){const _0x32c78d=process[_0x470488(0x13a)][_0x470488(0x173)],_0x5c46f7=[];if(helper[_0x470488(0x138)](_0x32c78d)&&!helper[_0x470488(0x12b)](_0x32c78d)){_0x32c78d['split'](',')[_0x470488(0x1a5)](_0x299c61=>{const _0x463103=_0x470488;_0x5c46f7[_0x463103(0x136)]('('+_0x299c61[_0x463103(0x163)]()+')');});const _0x5cc8ac='^'+_0x5c46f7[_0x470488(0x1a7)]('|')+'$';return _0x5cc8ac;}}return null;},a2_0x4ea587={};a2_0x4ea587[a2_0x2ba508(0x158)]=a2_0x2ba508(0x1a1),a2_0x4ea587[a2_0x2ba508(0x170)]=a2_0x2ba508(0x1a1),a2_0x4ea587[a2_0x2ba508(0x18a)]=a2_0x2ba508(0x151),a2_0x4ea587[a2_0x2ba508(0x19a)]=a2_0x2ba508(0x132);function a2_0x53a6(){const _0x1fbe0c=['printBuildLink','skipSessionName','7564968sBhKRj','vYGvu','kTLqL','getPlatformName','getPlaywrightUrl','21445ZqcKka','../../helpers/utilities','isTestObservabilitySession','passed','run','getUserWorkerCount','uCAwx','JpNxq','isUndefined','748aeTXbn','format','Workers','../../helpers/test-observability/constants','split','OfSCd','webkit','process','79711adfbdB','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','push','Playwright','validateRerunTestList','23739gDmfbH','env','dfLCG','profile','bootstrapAll','toLowerCase','iXbxb','Started\x20:\x20','laYNI','findIndex','JjUPA','BrowserStackPlugin.js','stringify','SDK_SETUP','event','existsSync','skipSessionStatus','PXVFC','exports','codecept.conf.js','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','load','test','ZhTcG','firefox','util','dKTwE','lCQpB','frameworkName','now','150lZFDsr','chrome','initialize','browserStackCwd','info','swknW','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','stop','QCjVB','isTrue','MpyyY','testObservability','trim','cwd','before','browserWSEndpoint','require','codeceptjs','helpers','32703iTMgQS','USER_CONFIG_DETAILS_PATH','launchBuild','browser','../../helpers/helper','slice','playwright-chromium','debug','../utils/constants','BROWSERSTACK_RERUN_TESTS','end','../../helpers/logger','config','mergeDeep','title','plugins','RDAly','errorMessage','WebDriver','desiredCapabilities','4|5|2|3|1|0','JfyPZ','addConfig','BROWSERSTACK_TEST_OBSERVABILITY_YML','TfsxA','isEmpty','EVENTS','winstonLogger','printResults','109530tuhkIJ','parallelsPerPlatform','codecept.json','playwright-firefox','SDK_CLEANUP','../../helpers/test-observability/utils','all','BROWSERSTACK_TEST_ACCESSIBILITY_YML','path','dirname','teardownAll','chdir','8098748XELsQa','codeceptjs/lib/index.js','../../helpers/performance/constants','enabled','CODECEPT_CUCUMBER','680wwMTpH','spawn','playwright-webkit','SMtrE','OBJSy','length','AJhxD','accessibilityOptions','forEach','chromium','useW3C','CODECEPT','BrowserStackPlugin','map','log','join','browserName','yduQX','addTests','yykGe','../../helpers/performance/performance-tester','testContextOptions','accessibility','38wYydjW','VyVpa','prepareCapabilities','14724suCvkg'];a2_0x53a6=function(){return _0x1fbe0c;};return a2_0x53a6();}const pwToCodeceptBrowser=a2_0x4ea587;async function run(_0x5f1401,_0x4a1bdb,_0x1d0be3){const _0x388bd2=a2_0x2ba508,_0x201627={'uCAwx':function(_0x18db7c,_0x194a13){return _0x18db7c+_0x194a13;},'dfLCG':function(_0x2b3723,_0x5316b9){return _0x2b3723(_0x5316b9);},'TfsxA':function(_0xe6b197,_0x2a7518,_0x5a35d1){return _0xe6b197(_0x2a7518,_0x5a35d1);},'AJhxD':'helpers','RDAly':function(_0x10e759){return _0x10e759();},'SMtrE':function(_0x3017f0){return _0x3017f0();},'JfyPZ':'Failed\x20:\x20','PXVFC':'Passed\x20:\x20','yduQX':_0x388bd2(0x140),'QeAwd':_0x388bd2(0x17e),'MpyyY':_0x388bd2(0x15d),'vYGvu':function(_0x2c6ef6,_0x3d3620,_0x4e83a9){return _0x2c6ef6(_0x3d3620,_0x4e83a9);},'cnrTt':_0x388bd2(0x137),'iXbxb':_0x388bd2(0x17c),'vlnvk':function(_0x5461b3,_0x1d63af){return _0x5461b3(_0x1d63af);},'laYNI':function(_0x2a3785,_0xf53906){return _0x2a3785!=_0xf53906;},'gyfsE':function(_0x5b33ce,_0x439884){return _0x5b33ce===_0x439884;},'OfSCd':'gherkin','kTLqL':function(_0x5a290d,_0x5cb2e3){return _0x5a290d(_0x5cb2e3);},'VyVpa':function(_0x5b937b){return _0x5b937b();},'dKTwE':function(_0x5394d9,_0x17973a){return _0x5394d9*_0x17973a;},'JouRJ':_0x388bd2(0x16d),'JjUPA':_0x388bd2(0x17d),'lCQpB':function(_0x17c875,_0x1f25fb,_0xf315bf){return _0x17c875(_0x1f25fb,_0xf315bf);},'ZhTcG':'root','swknW':_0x388bd2(0x144),'JpNxq':_0x388bd2(0x15a)};await _0x1d0be3[_0x388bd2(0x159)](_0x5f1401),await helper['handleApp'](_0x1d0be3[_0x388bd2(0x176)]);if(!_0x1d0be3['config'])return;process[_0x388bd2(0x13c)]=_0x5f1401['profile'];_0x5f1401[_0x388bd2(0x13c)]&&(process[_0x388bd2(0x13a)][_0x388bd2(0x13c)]=_0x5f1401[_0x388bd2(0x13c)]);const _0x126dc9=_0x201627[_0x388bd2(0x182)](getUserCodeceptJSConfigs,_0x5f1401,_0x4a1bdb);let _0x39cd27={};_0x126dc9?(logger[_0x388bd2(0x15b)](_0x388bd2(0x135)+_0x126dc9),_0x39cd27=CodeceptJS[_0x388bd2(0x176)][_0x388bd2(0x14e)](_0x126dc9)):logger[_0x388bd2(0x15b)](_0x201627[_0x388bd2(0x161)]);let _0x86d401=![];_0x201627[_0x388bd2(0x11f)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x201627['cnrTt']])&&(_0x86d401=!![]);const _0x5b99a2=_0x86d401?_0x201627['cnrTt']:_0x201627[_0x388bd2(0x13f)];let _0x5a6dba=!_0x86d401?helper[_0x388bd2(0x1a2)](_0x1d0be3[_0x388bd2(0x176)]):![];!helper[_0x388bd2(0x12b)](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x19f)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x19f)]));let _0x4a2653=_0x1d0be3['config'][_0x388bd2(0x1ae)];_0x4a2653=_0x4a2653||_0x201627['vlnvk'](checkAccessibilityPlatformConfig,_0x1d0be3[_0x388bd2(0x176)]),process[_0x388bd2(0x13a)][_0x388bd2(0x18e)]=_0x4a2653;_0x4a2653&&(_0x5a6dba=!_0x4a2653);_0x201627[_0x388bd2(0x141)](_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x162)],null)?process[_0x388bd2(0x13a)][_0x388bd2(0x181)]=_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x162)]:process[_0x388bd2(0x13a)][_0x388bd2(0x181)]=_0x201627['gyfsE'](_0x5b99a2,_0x201627['cnrTt']);const _0x2f72b7=_0x201627[_0x388bd2(0x182)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x131)]]),_0x60551f=_0x2f72b7&&!helper[_0x388bd2(0x183)](_0x2f72b7)?FRAMEWORKS[_0x388bd2(0x197)]:FRAMEWORKS[_0x388bd2(0x1a3)],_0xec4f88=await TestHubHandler[_0x388bd2(0x16c)](_0x60551f,_0x1d0be3);_0x4a2653&&_0x201627[_0x388bd2(0x120)](setAccessibilityCapabilities,_0x1d0be3['config']);const _0x399753={},_0x455529=[],_0x3f4b1a=_0x1d0be3[_0x388bd2(0x176)][_0x388bd2(0x188)]||helper[_0x388bd2(0x128)](_0x5f1401,_0x4a1bdb,_0x1d0be3[_0x388bd2(0x176)],constants['FRAMEWORKS'][_0x388bd2(0x1a3)])||0x1;let _0xe718b2=0x1;if(_0x201627[_0x388bd2(0x119)](isBrowserstackInfra)){const _0x71f57b=helper[_0x388bd2(0x11a)](_0x1d0be3['config'],_0x5a6dba,constants['FRAMEWORKS'][_0x388bd2(0x1a3)]);_0x71f57b[_0x388bd2(0x1a0)](_0x212960=>{helper['setAdditionalCapabilities'](_0x212960);}),helper['validPlatformsPresent'](_0x1d0be3[_0x388bd2(0x176)])?_0xe718b2=_0x201627[_0x388bd2(0x153)](_0x3f4b1a,_0x1d0be3[_0x388bd2(0x176)]['platforms'][_0x388bd2(0x19d)]):_0xe718b2=_0x3f4b1a,_0x71f57b['forEach'](_0x18f838=>{const _0x2617ab=_0x388bd2,_0x34e54e=_0x201627['uCAwx'](helper[_0x2617ab(0x121)](_0x18f838,'_'),'_'+Date[_0x2617ab(0x156)]()),_0x5765ec=((()=>{const _0x3a92e3=_0x2617ab;if(_0x86d401){const _0x465a2c=pwToCodeceptBrowser[_0x18f838[_0x3a92e3(0x1a8)]]||_0x18f838[_0x3a92e3(0x1a8)];return{'browser':_0x465a2c,[_0x465a2c]:{'browserWSEndpoint':_0x201627[_0x3a92e3(0x129)](helper[_0x3a92e3(0x122)](_0x1d0be3[_0x3a92e3(0x176)]),_0x201627[_0x3a92e3(0x13b)](encodeURIComponent,JSON[_0x3a92e3(0x145)](_0x18f838)))}};}const _0x365340={};return _0x365340[_0x3a92e3(0x17d)]=_0x18f838,_0x365340;})()),_0x5b85fc=_0x201627[_0x2617ab(0x182)](nestedKeyValue,_0x39cd27,[_0x201627[_0x2617ab(0x19e)],_0x5b99a2]);_0x399753[_0x34e54e]=_0x5b85fc?helper[_0x2617ab(0x177)](_0x5765ec,_0x5b85fc):_0x5765ec,!_0x86d401&&(_0x399753[_0x34e54e][_0x2617ab(0x16d)]=_0x18f838['browserName']||_0x5765ec[_0x2617ab(0x16d)]),_0x455529[_0x2617ab(0x136)](_0x34e54e);});}else{_0xe718b2=0x1;if(_0x86d401){const _0x2f5f4a=_0x201627['TfsxA'](nestedKeyValue,_0x39cd27,[_0x201627['AJhxD'],_0x5b99a2,_0x201627['JouRJ']]),_0x5b6b76=_0x201627['TfsxA'](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x5b99a2,_0x2f5f4a]);_0x5b6b76&&_0x5b6b76[_0x388bd2(0x166)]&&(_0x5b6b76['browserWSEndpoint']=helper[_0x388bd2(0x11a)](null,null,_0x60551f[_0x388bd2(0x13e)](),null,null,_0x5b6b76[_0x388bd2(0x166)]));}else _0x39cd27[_0x201627[_0x388bd2(0x19e)]][_0x5b99a2][_0x201627[_0x388bd2(0x143)]]=helper[_0x388bd2(0x11a)](null,null,_0x60551f[_0x388bd2(0x13e)](),_0x201627[_0x388bd2(0x154)](nestedKeyValue,_0x39cd27,[_0x201627[_0x388bd2(0x19e)],_0x5b99a2,_0x201627['JjUPA']]),null,null);_0x399753[_0x201627[_0x388bd2(0x150)]]=_0x39cd27,_0x455529[_0x388bd2(0x136)](_0x201627[_0x388bd2(0x150)]);}const _0x59b6b4={};_0x59b6b4['testConfig']=_0x126dc9;const _0x183aec=_0x59b6b4,_0x5b3313=path[_0x388bd2(0x1a7)](__dirname,_0x201627[_0x388bd2(0x15c)]),_0x286d35=process[_0x388bd2(0x164)]();process['env'][_0x201627[_0x388bd2(0x12a)]]=_0x286d35,process[_0x388bd2(0x192)](path[_0x388bd2(0x190)](_0x126dc9));const _0x5c2c4b=new CodeceptJS[(_0x388bd2(0x12e))](null,_0x183aec),_0x69b7=_0x5c2c4b['createGroupsOfSuites'](_0xe718b2),_0x201de3=testOpsHelper[_0x388bd2(0x125)](),_0x4d4ad9=_0x455529[_0x388bd2(0x1a5)](_0x1f9436=>{const _0x462f6=_0x388bd2,_0x34b668={};_0x34b668[_0x462f6(0x137)]=_0x399753[_0x1f9436];const _0x14ea34={};_0x14ea34['WebDriver']=_0x399753[_0x1f9436];const _0x22bd17=_0x86d401?_0x34b668:_0x14ea34,_0x482954=_0x201627['RDAly'](getO11yRerunPattern),_0x1e86bc={};_0x1e86bc[_0x462f6(0x169)]=_0x22bd17;const _0x261b5f={};_0x261b5f[_0x462f6(0x167)]=_0x5b3313,_0x261b5f[_0x462f6(0x196)]=!![],_0x261b5f[_0x462f6(0x11d)]=_0x1d0be3[_0x462f6(0x176)][_0x462f6(0x1ad)][_0x462f6(0x11d)],_0x261b5f[_0x462f6(0x149)]=_0x1d0be3[_0x462f6(0x176)][_0x462f6(0x1ad)][_0x462f6(0x149)],_0x261b5f[_0x462f6(0x162)]=_0x201de3,_0x261b5f[_0x462f6(0x155)]=_0x60551f;const _0x2c1338={};_0x2c1338[_0x462f6(0x1a4)]=_0x261b5f;const _0x258d3a={};return _0x258d3a[_0x462f6(0x179)]=_0x2c1338,helper[_0x462f6(0x177)]({},_0x39cd27,_0x201627[_0x462f6(0x19b)](isBrowserstackInfra)?_0x1e86bc:{},_0x482954?{'grep':_0x482954}:{},_0x258d3a);});for(const _0x204947 of _0x4d4ad9){for(const _0x551006 of _0x69b7){const _0x1cf949=_0x5c2c4b[_0x388bd2(0x199)]();_0x1cf949[_0x388bd2(0x1aa)](_0x551006),_0x1cf949[_0x388bd2(0x180)](_0x204947);const _0x80f5fe={};_0x80f5fe[_0x388bd2(0x176)]=_0x126dc9,_0x1cf949['addOptions'](_0x80f5fe);}}_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)]['test']['failed'],(_0x3ef934,_0x11e4cf)=>{const _0x399e64=_0x388bd2;console[_0x399e64(0x1a6)](_0x201627[_0x399e64(0x17f)],_0x3ef934['title']);const _0x34c9a0={[_0x3ef934[_0x399e64(0x178)]]:_0x3ef934['err']['stack']};_testErrorData[_0x399e64(0x136)](_0x34c9a0);}),_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)][_0x388bd2(0x14f)][_0x388bd2(0x126)],async _0x4015fd=>{const _0x2f1c5f=_0x388bd2;console[_0x2f1c5f(0x1a6)](_0x201627[_0x2f1c5f(0x14a)],_0x4015fd['title']);}),_0x5c2c4b['on'](CodeceptJS['event'][_0x388bd2(0x14f)][_0x388bd2(0x165)],async _0xb5ab44=>{const _0x2fcc5e=_0x388bd2;console['log'](_0x201627[_0x2fcc5e(0x1a9)],_0xb5ab44[_0x2fcc5e(0x178)]);}),_0x5c2c4b['on'](CodeceptJS[_0x388bd2(0x147)][_0x388bd2(0x18d)]['result'],async()=>{const _0x475207=_0x388bd2,_0x21900a=_0x201627['QeAwd'][_0x475207(0x130)]('|');let _0x3e8e91=0x0;while(!![]){switch(_0x21900a[_0x3e8e91++]){case'0':_0x5c2c4b[_0x475207(0x186)]();continue;case'1':try{await TestHubHandler[_0x475207(0x15e)]();}catch(_0x338992){logger[_0x475207(0x171)](_0x475207(0x14d)+util[_0x475207(0x12d)](_0x338992));}continue;case'2':testOpsHelper[_0x475207(0x11c)]();continue;case'3':utilities['finalExecution'](_0x1d0be3);continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x475207(0x18b)]);continue;case'5':_0x1d0be3[_0x475207(0x17b)]=_testErrorData;continue;}break;}});async function _0x244aa3(){const _0x29151b=_0x388bd2;try{await _0x5c2c4b[_0x29151b(0x13d)](),await _0x5c2c4b[_0x29151b(0x127)]();}finally{process[_0x29151b(0x192)](_0x286d35),await _0x5c2c4b[_0x29151b(0x191)]();}}PerformanceTester[_0x388bd2(0x174)](PerformanceEvents[_0x388bd2(0x146)]),_0x201627[_0x388bd2(0x17a)](_0x244aa3);}module[a2_0x2ba508(0x14b)]=run;
@@ -1 +1 @@
1
- function a3_0x3c09(_0x439b31,_0x39a18a){const _0x32c6b3=a3_0x32c6();return a3_0x3c09=function(_0x3c095f,_0x139185){_0x3c095f=_0x3c095f-0x174;let _0xa0647a=_0x32c6b3[_0x3c095f];return _0xa0647a;},a3_0x3c09(_0x439b31,_0x39a18a);}const a3_0x470c4a=a3_0x3c09;(function(_0x21188f,_0x341e7d){const _0x68d1ed=a3_0x3c09,_0x5ebdae=_0x21188f();while(!![]){try{const _0x1a3ec3=-parseInt(_0x68d1ed(0x181))/0x1+parseInt(_0x68d1ed(0x17f))/0x2*(parseInt(_0x68d1ed(0x1a3))/0x3)+parseInt(_0x68d1ed(0x1c1))/0x4+parseInt(_0x68d1ed(0x18c))/0x5*(parseInt(_0x68d1ed(0x1ae))/0x6)+parseInt(_0x68d1ed(0x1bf))/0x7+-parseInt(_0x68d1ed(0x195))/0x8*(-parseInt(_0x68d1ed(0x18e))/0x9)+-parseInt(_0x68d1ed(0x1b9))/0xa;if(_0x1a3ec3===_0x341e7d)break;else _0x5ebdae['push'](_0x5ebdae['shift']());}catch(_0x56f09c){_0x5ebdae['push'](_0x5ebdae['shift']());}}}(a3_0x32c6,0xb7f8c));function a3_0x32c6(){const _0x2f650b=['searchParams','WeoOG','ZhUwY','platformName','unknown_grid','../../helpers/helper','lfLqh','WebDriver','6nyaNXh','includes','browserVersion','qwKVY','config','OlNBM','AmfiF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserstack_accessibility_automation_script','FiZcK','aQAWF','7069950bdfWSB','processWebDriverConfig','rWAHI','desiredCapabilities','WFops','capabilities','2225993GfsnSA','platformVersion','2027016SOTiye','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','HGwDE','getDetails','taemP','LnUXx','parse','ulbBU','caps','playwright-chromium','cloudProvider','browser_version','latest','__cloud_provider___','514fsvomC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','924233rqfuEj','Playwright','accessibilityPlatform','VIlXw','BIAxF','lvtNF','bstack:options','platform_version','browserName','UqShp','MSbKY','47165NKOkws','YPNHr','27ypopiz','browser','etQyQ','../../bin/playwright/sessionDetails','browserstack_executor','../../helpers/test-observability/utils','winstonLogger','3516736xtzbbE','sessionId','name','otlOV','warn','GGojn','osVersion','../../helpers/accessibility-automation/helper','JDhCQ','TxiIZ','../../helpers/logger','constructor','BEvcA','get','2706MKwcEs','WGRue','XzbxQ'];a3_0x32c6=function(){return _0x2f650b;};return a3_0x32c6();}const {isUndefined,nestedKeyValue}=require(a3_0x470c4a(0x1ab)),logger=require(a3_0x470c4a(0x19f))[a3_0x470c4a(0x194)],PlaywrightSessionDetails=require(a3_0x470c4a(0x191)),{isAccessibilityAutomationSession}=require(a3_0x470c4a(0x19c)),{getObservabilityLinkedProductName}=require(a3_0x470c4a(0x193)),getOSVersionFromCaps=_0x15ddfb=>{const _0xa10c68=a3_0x470c4a,_0x1a76fa={};_0x1a76fa[_0xa10c68(0x1a4)]=_0xa10c68(0x187),_0x1a76fa[_0xa10c68(0x186)]='platformVersion',_0x1a76fa[_0xa10c68(0x19a)]=_0xa10c68(0x188),_0x1a76fa[_0xa10c68(0x190)]=_0xa10c68(0x19b),_0x1a76fa[_0xa10c68(0x1a8)]='os_version';const _0x1679ab=_0x1a76fa;if(!_0x15ddfb)return null;const _0x2e0c80=_0x15ddfb[_0x1679ab[_0xa10c68(0x1a4)]],_0x360f7e=[_0x1679ab[_0xa10c68(0x186)],_0x1679ab[_0xa10c68(0x19a)],_0x1679ab[_0xa10c68(0x190)],_0x1679ab[_0xa10c68(0x1a8)]];for(const _0x40d75c of _0x360f7e){if(_0x2e0c80&&_0x2e0c80[_0x40d75c])return _0x2e0c80[_0x40d75c];else{if(_0x15ddfb[_0x40d75c])return _0x15ddfb[_0x40d75c];}}return null;};exports['fetchPlatformDetails']=_0x980574=>{const _0xd532a=a3_0x470c4a,_0x27bc8f={'OlNBM':_0xd532a(0x1aa),'AmfiF':function(_0x28df5a,_0x1bf3ec){return _0x28df5a===_0x1bf3ec;},'TxiIZ':_0xd532a(0x1ad),'HGwDE':function(_0x2dbb73,_0x1cf468){return _0x2dbb73(_0x1cf468);},'rWAHI':function(_0x712aeb,_0x4d3e80,_0x46cb7a){return _0x712aeb(_0x4d3e80,_0x46cb7a);},'UqShp':_0xd532a(0x1b2),'XzbxQ':_0xd532a(0x1bc),'jrfXr':function(_0x6187c4,_0x50d7a4){return _0x6187c4===_0x50d7a4;},'MSbKY':_0xd532a(0x182),'WeoOG':function(_0x1302e8,_0x1dba45,_0x36b1c3){return _0x1302e8(_0x1dba45,_0x36b1c3);},'BTicl':'browser','BIAxF':'browserWSEndpoint','httDq':_0xd532a(0x179),'WFops':function(_0x58c0b9,_0x419b43){return _0x58c0b9(_0x419b43);}};if(!_0x980574)return null;let _0x3d7fcc=global[_0xd532a(0x17e)]||_0x27bc8f[_0xd532a(0x1b3)];if(_0x27bc8f[_0xd532a(0x1b4)](_0x980574[_0xd532a(0x1a0)][_0xd532a(0x197)],_0x27bc8f[_0xd532a(0x19e)])){const _0x6ea4c0=_0x980574[_0xd532a(0x18f)];if(!_0x6ea4c0)return null;const _0x4b894b=_0x6ea4c0[_0xd532a(0x1be)],_0x3a17df=_0x27bc8f[_0xd532a(0x1c3)](getOSVersionFromCaps,_0x27bc8f[_0xd532a(0x1bb)](nestedKeyValue,_0x980574,[_0x27bc8f[_0xd532a(0x18a)],_0x27bc8f[_0xd532a(0x1a5)]]));return{[_0x3d7fcc]:{'browser':_0x4b894b[_0xd532a(0x189)],'browser_version':_0x4b894b[_0xd532a(0x1b0)],'capabilities':_0x4b894b,'platform':_0x4b894b[_0xd532a(0x1a9)],'platform_version':_0x4b894b[_0xd532a(0x1c0)]||_0x3a17df,'product':_0x27bc8f['HGwDE'](getObservabilityLinkedProductName,_0x4b894b),'session_id':_0x6ea4c0[_0xd532a(0x196)]}};}else{if(_0x27bc8f['jrfXr'](_0x980574[_0xd532a(0x1a0)][_0xd532a(0x197)],_0x27bc8f[_0xd532a(0x18b)])){const _0x2b44f5=PlaywrightSessionDetails[_0xd532a(0x174)]();_0x3d7fcc=_0x2b44f5[_0xd532a(0x17b)]||_0x3d7fcc;const _0x560979=_0x27bc8f[_0xd532a(0x1a7)](nestedKeyValue,_0x980574,[_0x27bc8f[_0xd532a(0x18a)],_0x27bc8f['BTicl'],_0x27bc8f[_0xd532a(0x185)]]),_0x2de4b0=_0x560979?JSON[_0xd532a(0x177)](new URL(_0x560979)[_0xd532a(0x1a6)][_0xd532a(0x1a2)](_0x27bc8f['httDq'])):{};return{[_0x3d7fcc]:{'browser':_0x2b44f5[_0xd532a(0x18f)]||_0x2de4b0['browserName'],'browser_version':_0x2b44f5['browser_version']||_0x2de4b0[_0xd532a(0x17c)],'capabilities':_0x2de4b0,'platform':_0x2b44f5['platform'],'platform_version':_0x2b44f5[_0xd532a(0x188)],'product':_0x27bc8f[_0xd532a(0x1bd)](getObservabilityLinkedProductName,_0x2de4b0),'session_id':_0x2b44f5['bsSessionId']}};}}},exports[a3_0x470c4a(0x1ba)]=_0x479a9d=>{const _0x52b304=a3_0x470c4a,_0x477194={'VIlXw':function(_0x1d288e){return _0x1d288e();},'otlOV':function(_0x1b7026,_0xd5c1a9){return _0x1b7026===_0xd5c1a9;},'JDhCQ':_0x52b304(0x17d),'LnUXx':function(_0x5a81c2,_0x5eb5cb){return _0x5a81c2>_0x5eb5cb;},'YPNHr':function(_0x2ec443,_0x74c361){return _0x2ec443(_0x74c361);},'BEvcA':_0x52b304(0x1b5),'aQAWF':'chrome','qwKVY':function(_0x3d2414,_0x581b93){return _0x3d2414===_0x581b93;},'sEQJw':_0x52b304(0x17a),'taemP':_0x52b304(0x180),'kGiNi':function(_0x54952b,_0x597c01){return _0x54952b(_0x597c01);},'ulbBU':_0x52b304(0x1c2)};if(_0x477194[_0x52b304(0x184)](isAccessibilityAutomationSession)){const _0x2b6763=_0x479a9d[_0x52b304(0x18f)],_0x46afd6=_0x2b6763[_0x52b304(0x1be)];global['accessibilityPlatform']=!![],!(_0x477194[_0x52b304(0x198)](_0x46afd6[_0x52b304(0x1b0)],_0x477194[_0x52b304(0x19d)])||_0x477194[_0x52b304(0x176)](_0x477194[_0x52b304(0x18d)](parseInt,_0x46afd6[_0x52b304(0x1b0)]),0x5e))&&(logger[_0x52b304(0x199)](_0x477194[_0x52b304(0x1a1)]),global[_0x52b304(0x183)]=![]),!(_0x477194[_0x52b304(0x198)](_0x46afd6['browserName'],_0x477194[_0x52b304(0x1b8)])||_0x477194[_0x52b304(0x1b1)](_0x46afd6['browserName'],_0x477194['sEQJw']))&&(logger[_0x52b304(0x199)](_0x477194[_0x52b304(0x175)]),global['accessibilityPlatform']=![]),!_0x477194['kGiNi'](isUndefined,_0x46afd6['deviceName'])&&(logger['warn'](_0x477194[_0x52b304(0x178)]),global[_0x52b304(0x183)]=![]);}},exports['shouldPatchExecuteScript']=_0x7561a5=>{const _0x57a499=a3_0x470c4a,_0x351b1a={};_0x351b1a[_0x57a499(0x1ac)]=_0x57a499(0x192),_0x351b1a[_0x57a499(0x1b7)]=_0x57a499(0x1b6);const _0x44afbf=_0x351b1a;if(!_0x7561a5)return![];return!_0x7561a5['includes'](_0x44afbf[_0x57a499(0x1ac)])&&!_0x7561a5[_0x57a499(0x1af)](_0x44afbf[_0x57a499(0x1b7)]);};
1
+ const a3_0x1ca6ca=a3_0x20bd;function a3_0x20bd(_0xde0294,_0x2dc2dd){const _0x445c30=a3_0x445c();return a3_0x20bd=function(_0x20bddb,_0x2f2d9c){_0x20bddb=_0x20bddb-0x84;let _0x2b5368=_0x445c30[_0x20bddb];return _0x2b5368;},a3_0x20bd(_0xde0294,_0x2dc2dd);}(function(_0x57868a,_0x3b175f){const _0x320a17=a3_0x20bd,_0x2aa384=_0x57868a();while(!![]){try{const _0x41f0e2=parseInt(_0x320a17(0xc4))/0x1+parseInt(_0x320a17(0xb9))/0x2*(-parseInt(_0x320a17(0xa2))/0x3)+parseInt(_0x320a17(0xc7))/0x4*(-parseInt(_0x320a17(0xc5))/0x5)+-parseInt(_0x320a17(0x8f))/0x6*(-parseInt(_0x320a17(0xb6))/0x7)+parseInt(_0x320a17(0xd0))/0x8*(-parseInt(_0x320a17(0xcb))/0x9)+-parseInt(_0x320a17(0x87))/0xa+-parseInt(_0x320a17(0xc8))/0xb*(-parseInt(_0x320a17(0xae))/0xc);if(_0x41f0e2===_0x3b175f)break;else _0x2aa384['push'](_0x2aa384['shift']());}catch(_0x3730d7){_0x2aa384['push'](_0x2aa384['shift']());}}}(a3_0x445c,0x51dfc));function a3_0x445c(){const _0xdb0005=['LFNjl','os_version','VfWLP','browserName','BvsjH','wLdFs','browser','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','11100wtjitm','config','AQfWl','bsSessionId','warn','HBmDl','capabilities','unknown_grid','266TMZDzi','chrome','desiredCapabilities','165226BogHAS','RYjhq','playwright-chromium','jSndf','vrqhJ','accessibilityPlatform','../../helpers/accessibility-automation/helper','browserWSEndpoint','deviceName','NbkJf','searchParams','187918UaGAFy','35nXPoBN','processWebDriverConfig','333420GSZOxx','15037YjvQYW','uQHpq','exfYb','9873XtOFFP','browser_version','EmyQC','VmGqh','Qvckk','1432qtogJZ','OqsIj','platformName','../../helpers/logger','miECX','mQztG','itWKO','2543840EHRDhH','agASv','get','LRjGI','platformVersion','platform','iXHaG','../../helpers/test-observability/utils','26058kJuPZf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','cloudProvider','getDetails','name','sessionId','browserstack_accessibility_automation_script','../../helpers/helper','browserVersion','platform_version','winstonLogger','quetC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','constructor','pIuUl','ONrYH','fetchPlatformDetails','parse','Mgsxa','9GAosQQ','shouldPatchExecuteScript','jPCod','../../bin/playwright/sessionDetails'];a3_0x445c=function(){return _0xdb0005;};return a3_0x445c();}const {isUndefined,nestedKeyValue}=require(a3_0x1ca6ca(0x96)),logger=require(a3_0x1ca6ca(0xd3))[a3_0x1ca6ca(0x99)],PlaywrightSessionDetails=require(a3_0x1ca6ca(0xa5)),{isAccessibilityAutomationSession}=require(a3_0x1ca6ca(0xbf)),{getObservabilityLinkedProductName}=require(a3_0x1ca6ca(0x8e)),getOSVersionFromCaps=_0x1dc420=>{const _0x548fe1=a3_0x1ca6ca,_0x2f98b0={};_0x2f98b0[_0x548fe1(0x84)]='bstack:options',_0x2f98b0[_0x548fe1(0xcd)]=_0x548fe1(0x8b),_0x2f98b0[_0x548fe1(0xbc)]=_0x548fe1(0x98),_0x2f98b0[_0x548fe1(0xba)]='osVersion',_0x2f98b0['AQfWl']=_0x548fe1(0xa7);const _0x254600=_0x2f98b0;if(!_0x1dc420)return null;const _0x201542=_0x1dc420[_0x254600['miECX']],_0x4535c8=[_0x254600[_0x548fe1(0xcd)],_0x254600[_0x548fe1(0xbc)],_0x254600[_0x548fe1(0xba)],_0x254600[_0x548fe1(0xb0)]];for(const _0xea499f of _0x4535c8){if(_0x201542&&_0x201542[_0xea499f])return _0x201542[_0xea499f];else{if(_0x1dc420[_0xea499f])return _0x1dc420[_0xea499f];}}return null;};exports[a3_0x1ca6ca(0x9f)]=_0x52c778=>{const _0x9d36bc=a3_0x1ca6ca,_0x5438e2={'exfYb':_0x9d36bc(0xb5),'wLdFs':function(_0xb978b1,_0x1a7cad){return _0xb978b1===_0x1a7cad;},'pIAlD':'WebDriver','LFNjl':function(_0x2d86f5,_0x3bfd2e){return _0x2d86f5(_0x3bfd2e);},'vrqhJ':function(_0x46431b,_0x1d74a1,_0x5891a3){return _0x46431b(_0x1d74a1,_0x5891a3);},'mQztG':_0x9d36bc(0xaf),'quetC':_0x9d36bc(0xb8),'uQHpq':'Playwright','NqXFp':'browser','Qvckk':_0x9d36bc(0xc0),'VfWLP':'caps','VcQuO':function(_0x31774f,_0x519970){return _0x31774f(_0x519970);}};if(!_0x52c778)return null;let _0x3285b8=global['__cloud_provider___']||_0x5438e2[_0x9d36bc(0xca)];if(_0x5438e2['wLdFs'](_0x52c778[_0x9d36bc(0x9c)][_0x9d36bc(0x93)],_0x5438e2['pIAlD'])){const _0x2bf291=_0x52c778[_0x9d36bc(0xac)];if(!_0x2bf291)return null;const _0x5aed5f=_0x2bf291[_0x9d36bc(0xb4)],_0x312fb1=_0x5438e2[_0x9d36bc(0xa6)](getOSVersionFromCaps,_0x5438e2[_0x9d36bc(0xbd)](nestedKeyValue,_0x52c778,[_0x5438e2['mQztG'],_0x5438e2[_0x9d36bc(0x9a)]]));return{[_0x3285b8]:{'browser':_0x5aed5f['browserName'],'browser_version':_0x5aed5f[_0x9d36bc(0x97)],'capabilities':_0x5aed5f,'platform':_0x5aed5f[_0x9d36bc(0xd2)],'platform_version':_0x5aed5f[_0x9d36bc(0x8b)]||_0x312fb1,'product':_0x5438e2[_0x9d36bc(0xa6)](getObservabilityLinkedProductName,_0x5aed5f),'session_id':_0x2bf291[_0x9d36bc(0x94)]}};}else{if(_0x5438e2[_0x9d36bc(0xab)](_0x52c778['constructor'][_0x9d36bc(0x93)],_0x5438e2[_0x9d36bc(0xc9)])){const _0x12a10b=PlaywrightSessionDetails[_0x9d36bc(0x92)]();_0x3285b8=_0x12a10b[_0x9d36bc(0x91)]||_0x3285b8;const _0x5e4685=_0x5438e2[_0x9d36bc(0xbd)](nestedKeyValue,_0x52c778,[_0x5438e2[_0x9d36bc(0x85)],_0x5438e2['NqXFp'],_0x5438e2[_0x9d36bc(0xcf)]]),_0x1071c2=_0x5e4685?JSON[_0x9d36bc(0xa0)](new URL(_0x5e4685)[_0x9d36bc(0xc3)][_0x9d36bc(0x89)](_0x5438e2[_0x9d36bc(0xa8)])):{};return{[_0x3285b8]:{'browser':_0x12a10b[_0x9d36bc(0xac)]||_0x1071c2[_0x9d36bc(0xa9)],'browser_version':_0x12a10b[_0x9d36bc(0xcc)]||_0x1071c2['browser_version'],'capabilities':_0x1071c2,'platform':_0x12a10b[_0x9d36bc(0x8c)],'platform_version':_0x12a10b[_0x9d36bc(0x98)],'product':_0x5438e2['VcQuO'](getObservabilityLinkedProductName,_0x1071c2),'session_id':_0x12a10b[_0x9d36bc(0xb1)]}};}}},exports[a3_0x1ca6ca(0xc6)]=_0x22ca1c=>{const _0x234840=a3_0x1ca6ca,_0x3fb7c6={'itWKO':function(_0x4d9190){return _0x4d9190();},'ONrYH':function(_0x4a6e44,_0x5e0afe){return _0x4a6e44===_0x5e0afe;},'OqsIj':'latest','VmGqh':function(_0x4551d6,_0x1a870b){return _0x4551d6>_0x1a870b;},'NbkJf':function(_0x746326,_0x96da7a){return _0x746326(_0x96da7a);},'iXHaG':_0x234840(0xad),'LRjGI':function(_0x1ee3be,_0x5e2d7d){return _0x1ee3be===_0x5e2d7d;},'HBmDl':_0x234840(0xb7),'Uzxdh':_0x234840(0xbb),'jPCod':_0x234840(0x9b),'Mgsxa':function(_0x327c22,_0x1ad11a){return _0x327c22(_0x1ad11a);},'pIuUl':_0x234840(0x90)};if(_0x3fb7c6[_0x234840(0x86)](isAccessibilityAutomationSession)){const _0x2fc845=_0x22ca1c[_0x234840(0xac)],_0x5f34d2=_0x2fc845[_0x234840(0xb4)];global[_0x234840(0xbe)]=!![],!(_0x3fb7c6[_0x234840(0x9e)](_0x5f34d2['browserVersion'],_0x3fb7c6[_0x234840(0xd1)])||_0x3fb7c6[_0x234840(0xce)](_0x3fb7c6[_0x234840(0xc2)](parseInt,_0x5f34d2[_0x234840(0x97)]),0x5e))&&(logger[_0x234840(0xb2)](_0x3fb7c6[_0x234840(0x8d)]),global[_0x234840(0xbe)]=![]),!(_0x3fb7c6[_0x234840(0x8a)](_0x5f34d2[_0x234840(0xa9)],_0x3fb7c6[_0x234840(0xb3)])||_0x3fb7c6[_0x234840(0x9e)](_0x5f34d2[_0x234840(0xa9)],_0x3fb7c6['Uzxdh']))&&(logger[_0x234840(0xb2)](_0x3fb7c6[_0x234840(0xa4)]),global[_0x234840(0xbe)]=![]),!_0x3fb7c6[_0x234840(0xa1)](isUndefined,_0x5f34d2[_0x234840(0xc1)])&&(logger[_0x234840(0xb2)](_0x3fb7c6[_0x234840(0x9d)]),global[_0x234840(0xbe)]=![]);}},exports[a3_0x1ca6ca(0xa3)]=_0x32a9b8=>{const _0x2188b3=a3_0x1ca6ca,_0x443491={};_0x443491[_0x2188b3(0xaa)]='browserstack_executor',_0x443491[_0x2188b3(0x88)]=_0x2188b3(0x95);const _0x2c8f03=_0x443491;if(!_0x32a9b8)return![];return!_0x32a9b8['includes'](_0x2c8f03['BvsjH'])&&!_0x32a9b8['includes'](_0x2c8f03[_0x2188b3(0x88)]);};
@@ -1 +1 @@
1
- const a4_0x5945d8=a4_0x29c4;(function(_0x35375b,_0x5385a3){const _0x3ea9ff=a4_0x29c4,_0x3c06f1=_0x35375b();while(!![]){try{const _0xcb7817=-parseInt(_0x3ea9ff(0x14c))/0x1+-parseInt(_0x3ea9ff(0x82))/0x2+parseInt(_0x3ea9ff(0x133))/0x3+parseInt(_0x3ea9ff(0xab))/0x4*(parseInt(_0x3ea9ff(0xcb))/0x5)+-parseInt(_0x3ea9ff(0x9f))/0x6+parseInt(_0x3ea9ff(0x13d))/0x7*(parseInt(_0x3ea9ff(0x135))/0x8)+parseInt(_0x3ea9ff(0x116))/0x9*(parseInt(_0x3ea9ff(0x154))/0xa);if(_0xcb7817===_0x5385a3)break;else _0x3c06f1['push'](_0x3c06f1['shift']());}catch(_0x3df31e){_0x3c06f1['push'](_0x3c06f1['shift']());}}}(a4_0x2967,0x89938));const path=require(a4_0x5945d8(0x10f)),fs=require('fs'),{v4:uuidv4}=require(a4_0x5945d8(0x156)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x5945d8(0xc8)),testOpsHelper=require(a4_0x5945d8(0xb2)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x5945d8(0x90)),logger=require(a4_0x5945d8(0xf3))[a4_0x5945d8(0xd7)],SessionHandler=require(a4_0x5945d8(0x9e)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x5945d8(0x94)],{processAccessibilityCaps}=require(a4_0x5945d8(0x11d)),Constants=require(a4_0x5945d8(0x11e)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x5945d8(0x119),STATE_FAILED=a4_0x5945d8(0x99),a4_0xf5f5ca={};a4_0xf5f5ca[a4_0x5945d8(0x101)]=a4_0x5945d8(0x144),a4_0xf5f5ca[a4_0x5945d8(0x129)]=a4_0x5945d8(0xa0),a4_0xf5f5ca[a4_0x5945d8(0x11a)]=a4_0x5945d8(0xb8),a4_0xf5f5ca[a4_0x5945d8(0x71)]=a4_0x5945d8(0x152),a4_0xf5f5ca['HOOK_RUN_FINISHED']=a4_0x5945d8(0x12c);const TEST_EVENTS=a4_0xf5f5ca,parseEvent=_0x215047=>{const _0x25de07=a4_0x5945d8,_0x4bc606={};_0x4bc606[_0x25de07(0x80)]=function(_0x2dc85e,_0x462ad6){return _0x2dc85e<_0x462ad6;},_0x4bc606[_0x25de07(0xdd)]=function(_0x4b80e5,_0x66c61a){return _0x4b80e5===_0x66c61a;},_0x4bc606['eQvvM']=_0x25de07(0x125),_0x4bc606[_0x25de07(0x72)]=_0x25de07(0x88),_0x4bc606[_0x25de07(0xdb)]=function(_0x5c003f,_0x3e1522){return _0x5c003f===_0x3e1522;},_0x4bc606['bYeKL']=_0x25de07(0x86),_0x4bc606[_0x25de07(0xb6)]=_0x25de07(0x16e),_0x4bc606[_0x25de07(0xce)]='finished';const _0x1143e7=_0x4bc606,_0x5cff43=_0x215047[_0x25de07(0x162)](/^(.*)Run(.*)$/);if(!_0x5cff43)return null;if(_0x1143e7[_0x25de07(0x80)](_0x5cff43[_0x25de07(0x166)],0x3))return null;const _0x54eca9=_0x5cff43[0x1]['toLowerCase'](),_0x205028=_0x5cff43[0x2][_0x25de07(0xb9)]();return{'test':_0x1143e7[_0x25de07(0xdd)](_0x54eca9,_0x1143e7[_0x25de07(0xa5)]),'hook':_0x1143e7[_0x25de07(0xdd)](_0x54eca9,_0x1143e7[_0x25de07(0x72)]),'skipped':_0x1143e7[_0x25de07(0xdb)](_0x205028,_0x1143e7[_0x25de07(0x140)]),'started':_0x1143e7[_0x25de07(0xdb)](_0x205028,_0x1143e7[_0x25de07(0xb6)]),'finished':_0x1143e7[_0x25de07(0xdb)](_0x205028,_0x1143e7[_0x25de07(0xce)])};},mockPWBrowserType=_0x119d9a=>{const _0x22f3a8=a4_0x5945d8,_0x5a9bfe={'yDWVX':function(_0x1e112f,_0x589fcf){return _0x1e112f===_0x589fcf;},'uzzah':'string','cpcfG':function(_0x3916e4,_0x441006,_0x255cf6){return _0x3916e4(_0x441006,_0x255cf6);},'WKoad':_0x22f3a8(0x97),'zCzpn':function(_0x45f5a4,_0x2c2814){return _0x45f5a4(_0x2c2814);},'eDBJo':'browserstack','uSVfI':_0x22f3a8(0x139),'FnHxm':_0x22f3a8(0x76),'baBSs':_0x22f3a8(0xd5),'zQrMg':function(_0x24ecbe,_0x1782df){return _0x24ecbe(_0x1782df);},'FoPlW':_0x22f3a8(0x161),'Dhlmt':'connect','saDCq':'launch'},_0x6df745=path[_0x22f3a8(0x158)](_0x5a9bfe[_0x22f3a8(0x113)],_0x5a9bfe[_0x22f3a8(0x85)],_0x5a9bfe[_0x22f3a8(0x149)]),_0x345ffc=_0x5a9bfe[_0x22f3a8(0x123)](importFileFromPWCore,_0x6df745);if(!_0x345ffc){_0x5a9bfe[_0x22f3a8(0xfd)](debug,_0x5a9bfe[_0x22f3a8(0x15c)]);return;}const _0x13d0b5=_0x345ffc[_0x22f3a8(0xf1)],_0x4bc2b9=_0x13d0b5[_0x22f3a8(0x7a)];if(_0x4bc2b9[_0x22f3a8(0xe9)])return;const _0x188386=_0x4bc2b9['connect'];Object[_0x22f3a8(0x74)](_0x4bc2b9,_0x5a9bfe[_0x22f3a8(0xe5)],{'get':function(){const _0x1947db=_0x22f3a8,_0x2b3cf5={'GyjBd':function(_0x1e1d00,_0x4a6641){const _0x5a268c=a4_0x29c4;return _0x5a9bfe[_0x5a268c(0xd9)](_0x1e1d00,_0x4a6641);},'oQHNm':_0x5a9bfe[_0x1947db(0xac)],'lvqHu':function(_0x2fd0d3,_0x2f06ff,_0x50cbfd){const _0xddad4e=_0x1947db;return _0x5a9bfe[_0xddad4e(0x130)](_0x2fd0d3,_0x2f06ff,_0x50cbfd);},'swvfO':_0x5a9bfe['WKoad'],'MUqNZ':function(_0x335deb,_0xe5727f){const _0xd98b5e=_0x1947db;return _0x5a9bfe[_0xd98b5e(0x123)](_0x335deb,_0xe5727f);},'dqvsi':_0x5a9bfe[_0x1947db(0x168)],'ZvPUs':function(_0x530453,_0x258171,_0x3c2605){const _0x3af557=_0x1947db;return _0x5a9bfe[_0x3af557(0x130)](_0x530453,_0x258171,_0x3c2605);},'rdPCO':function(_0x5d9835,_0x3581ea){const _0x15f628=_0x1947db;return _0x5a9bfe[_0x15f628(0x123)](_0x5d9835,_0x3581ea);}};return async function _0x207dba(_0x1fd590,_0x3d4155){const _0x26a3c0=_0x1947db,_0x3c95e5={'pQIfA':function(_0x2be490,_0x43035f){const _0xdfa5a3=a4_0x29c4;return _0x2b3cf5[_0xdfa5a3(0xc3)](_0x2be490,_0x43035f);},'vKJrb':_0x2b3cf5['oQHNm']},_0x38d337=_0x2b3cf5['lvqHu'](nestedKeyValue,_0x1fd590,[_0x2b3cf5[_0x26a3c0(0xb4)]])||_0x1fd590;let _0x2f67d0=null,_0x2ccb8b=null;try{[_0x2ccb8b,_0x2f67d0]=_0x38d337?_0x2b3cf5[_0x26a3c0(0x110)](parseWSEndpoint,_0x38d337):[null,null],global[_0x26a3c0(0xd3)]=_0x2f67d0,_0x2ccb8b[_0x26a3c0(0x159)](_0x2b3cf5[_0x26a3c0(0xef)])&&(global[_0x26a3c0(0x104)]=_0x2b3cf5[_0x26a3c0(0xef)]);}catch(_0x579870){logger[_0x26a3c0(0x94)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x38d337+'\x20'+_0x579870);}_0x2b3cf5[_0x26a3c0(0xbb)](processAccessibilityCaps,_0x2f67d0,_0x2ccb8b);if(global[_0x26a3c0(0x103)]){const _0x235204=await _0x4bc2b9[_0x26a3c0(0xb5)][_0x26a3c0(0x8a)](this,[''+Constants[_0x26a3c0(0x141)]+_0x2b3cf5[_0x26a3c0(0x147)](encodeURIComponent,JSON['stringify'](_0x2f67d0))]);return PlaywrightSessionDetails[_0x26a3c0(0x115)](_0x235204,_0x119d9a,_0x38d337),_0x235204;}return _0x188386[_0x26a3c0(0x8a)](this,arguments)[_0x26a3c0(0xc5)](_0x4b0ee4=>{const _0x506a36=_0x26a3c0;let _0x1a3255=_0x1fd590['wsEndpoint'];return _0x3c95e5[_0x506a36(0xc2)](typeof _0x1fd590,_0x3c95e5['vKJrb'])&&(_0x1a3255=_0x1fd590),PlaywrightSessionDetails['setupBrowserDetails'](_0x4b0ee4,_0x119d9a,_0x1a3255),_0x4b0ee4;});};}});const _0xa41295=_0x4bc2b9[_0x22f3a8(0xa6)];Object[_0x22f3a8(0x74)](_0x4bc2b9,_0x5a9bfe[_0x22f3a8(0x84)],{'get':function(){return async function _0x153a44(){const _0x122f44=a4_0x29c4;return _0xa41295[_0x122f44(0x8a)](this,arguments)[_0x122f44(0xc5)](_0x137043=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x137043,null),_0x137043;});};}});};class O11yHelper{[a4_0x5945d8(0x9a)]=null;[a4_0x5945d8(0x132)]=null;[a4_0x5945d8(0x127)]=![];['frameworkName']=![];constructor(_0x4bda02,_0x5e73fa){const _0x2a1e2d=a4_0x5945d8,_0x11737d={'ADfsh':_0x2a1e2d(0xae),'AKQbL':function(_0xa6b880){return _0xa6b880();},'zbpAA':function(_0x4e80f8){return _0x4e80f8();},'aCWJB':function(_0x4aefa4,_0x37d56e){return _0x4aefa4===_0x37d56e;},'LgbPE':_0x2a1e2d(0x98),'iGwkv':function(_0x1e8415,_0xb8b54b){return _0x1e8415(_0xb8b54b);}},_0x3a4bd4=_0x11737d[_0x2a1e2d(0x10a)][_0x2a1e2d(0x15b)]('|');let _0x332b4a=0x0;while(!![]){switch(_0x3a4bd4[_0x332b4a++]){case'0':this[_0x2a1e2d(0xeb)]=_0x11737d[_0x2a1e2d(0x9b)](getTestEnv);continue;case'1':this[_0x2a1e2d(0x127)]=_0x11737d[_0x2a1e2d(0x12a)](shouldProcessEventForTesthub);continue;case'2':this[_0x2a1e2d(0xd1)]=new testOpsHelper[(_0x2a1e2d(0x14e))]({'cwd':process['cwd']()},this[_0x2a1e2d(0xeb)]['location_prefix']);continue;case'3':this[_0x2a1e2d(0xf6)]&&_0x11737d[_0x2a1e2d(0x7e)](this[_0x2a1e2d(0xf6)][_0x2a1e2d(0xcf)][_0x2a1e2d(0xfa)],_0x11737d['LgbPE'])&&_0x11737d[_0x2a1e2d(0x138)](mockPWBrowserType,null);continue;case'4':this[_0x2a1e2d(0x137)]=_0x5e73fa[_0x2a1e2d(0x137)];continue;case'5':this['driver']=_0x4bda02;continue;}break;}}['start'](){const _0x3a3240=a4_0x5945d8;if(!this[_0x3a3240(0x127)])return;testOpsHelper[_0x3a3240(0x121)](),process[_0x3a3240(0xe2)](_0x3a3240(0xb0)+process[_0x3a3240(0xb3)]),process['on'](_0x3a3240(0xb0)+process[_0x3a3240(0xb3)],this[_0x3a3240(0x122)][_0x3a3240(0xaa)](this));}async[a4_0x5945d8(0x7c)](){const _0x4a43d9=a4_0x5945d8;await RequestQueueHandler[_0x4a43d9(0x16a)]()[_0x4a43d9(0xf0)]();}async['appendTestItemLog'](_0x68abc1){const _0x46773e=a4_0x5945d8,_0x59ab58={'VqVZX':_0x46773e(0x7b),'STYzf':function(_0x30d334,_0x3a6e82){return _0x30d334(_0x3a6e82);}};try{this[_0x46773e(0x132)]&&!this[_0x46773e(0x132)][_0x46773e(0x102)]&&(_0x68abc1[_0x46773e(0x7d)]=this['currentHook'][_0x46773e(0x134)]);!_0x68abc1[_0x46773e(0x7d)]&&this[_0x46773e(0x9a)]&&!this[_0x46773e(0x9a)][_0x46773e(0x102)]&&(_0x68abc1['test_run_uuid']=this[_0x46773e(0x9a)][_0x46773e(0xe0)]);if(_0x68abc1[_0x46773e(0x7d)]||_0x68abc1[_0x46773e(0x14f)]){const _0xb5f4f7={};_0xb5f4f7[_0x46773e(0x13e)]=_0x59ab58[_0x46773e(0xcd)],_0xb5f4f7[_0x46773e(0x167)]=[_0x68abc1],await SessionHandler['uploadEventData'](_0xb5f4f7);}}catch(_0x32702c){_0x59ab58[_0x46773e(0x153)](debug,_0x46773e(0x10e)+_0x32702c);}}async[a4_0x5945d8(0x15e)](_0x400afa){const _0xa98409=a4_0x5945d8,_0x24b3a3={'oDBuf':_0xa98409(0x155),'GIbCJ':function(_0x572166,_0x9b803f){return _0x572166(_0x9b803f);}};if(!this['enabled'])return;const _0x3706f8=this['getCBTInfo'](this[_0xa98409(0xf6)]);try{const _0x566565={};_0x566565['uuid']=_0x400afa,_0x566565['integrations']=_0x3706f8;const _0x47eaa7=_0x566565,_0x2b739a={};_0x2b739a['event_type']=_0x24b3a3[_0xa98409(0xf9)],_0x2b739a[_0xa98409(0x15f)]=_0x47eaa7,await SessionHandler['uploadEventData'](_0x2b739a);}catch(_0x29462c){_0x24b3a3['GIbCJ'](debug,_0xa98409(0x100)+_0x29462c);}}[a4_0x5945d8(0xe7)](_0x3f7b05){const _0x43845a={'utFaM':function(_0x38894d,_0x15e5b1){return _0x38894d(_0x15e5b1);}};return _0x43845a['utFaM'](fetchPlatformDetails,_0x3f7b05);}[a4_0x5945d8(0x95)]=_0xbda1fb=>{const _0x5dd506=a4_0x5945d8,_0xb1529b={};_0xb1529b['RdbbI']=_0x5dd506(0x12f),_0xb1529b[_0x5dd506(0x15d)]=_0x5dd506(0xe3);const _0x5bd4ab=_0xb1529b;if(!_0xbda1fb||!_0xbda1fb[_0x5dd506(0x8e)])return;[_0x5bd4ab[_0x5dd506(0xc7)],_0x5bd4ab[_0x5dd506(0x15d)]][_0x5dd506(0x148)](_0x254153=>{const _0xbd9968=_0x5dd506,_0x325d9a=_0xbda1fb[_0xbd9968(0x8e)][_0x254153];_0x325d9a['forEach'](_0x41290e=>{const _0x57c30b=_0xbd9968;_0x41290e[_0x57c30b(0x134)]&&(_0x41290e[_0x57c30b(0x134)]=null);});});};[a4_0x5945d8(0xea)](_0x5440f6){const _0x30566f=a4_0x5945d8,_0x2bb854={'yutTc':_0x30566f(0x9c),'dbgAi':function(_0xb4c451){return _0xb4c451();},'gULJi':function(_0x427fd6,_0x333b12){return _0x427fd6===_0x333b12;},'bYjsh':_0x30566f(0xe3),'JOpVe':_0x30566f(0x89),'goNsf':_0x30566f(0xde),'IBJxY':_0x30566f(0x12f)};if(!_0x5440f6||!_0x5440f6['parent'])return;[_0x2bb854[_0x30566f(0xa8)],_0x2bb854['goNsf'],_0x2bb854[_0x30566f(0xec)],_0x2bb854['bYjsh']][_0x30566f(0x148)](_0x413220=>{const _0x30ee07=_0x30566f,_0x1c26a1={'WPhDc':_0x2bb854[_0x30ee07(0x165)],'APZUm':function(_0x558754){const _0x18ae64=_0x30ee07;return _0x2bb854[_0x18ae64(0x105)](_0x558754);},'yHGEm':function(_0x24a4cf,_0xed4f61){return _0x2bb854['gULJi'](_0x24a4cf,_0xed4f61);},'VnkwZ':_0x2bb854[_0x30ee07(0x81)]},_0x17d8b1=_0x5440f6[_0x30ee07(0x8e)][_0x413220]||[];_0x17d8b1[_0x30ee07(0x148)](_0x4e53a1=>{const _0x3063b5=_0x30ee07;if(_0x4e53a1[_0x3063b5(0xfe)][_0x3063b5(0x159)](_0x1c26a1[_0x3063b5(0xc4)]))return;if(!_0x4e53a1[_0x3063b5(0x134)])_0x4e53a1['hookAnalyticsId']=_0x1c26a1[_0x3063b5(0x124)](uuidv4);else _0x4e53a1['markedStatus']&&_0x1c26a1['yHGEm'](_0x413220,_0x1c26a1['VnkwZ'])&&(_0x4e53a1['hookAnalyticsId']=_0x1c26a1[_0x3063b5(0x124)](uuidv4),delete _0x4e53a1['markedStatus']);});}),this[_0x30566f(0xea)](_0x5440f6[_0x30566f(0x8e)]);}[a4_0x5945d8(0x10b)](_0x3ca0c7){const _0x437570=a4_0x5945d8,_0x57779c={};_0x57779c[_0x437570(0xd6)]=_0x437570(0x89),_0x57779c[_0x437570(0xd2)]='_afterAll',_0x57779c[_0x437570(0xda)]='_beforeEach',_0x57779c[_0x437570(0x73)]='_afterEach';const _0xa7adf3=_0x57779c;if(!_0x3ca0c7||!_0x3ca0c7[_0x437570(0x8e)])return[];const _0x5a785e=[];return[_0xa7adf3[_0x437570(0xd6)],_0xa7adf3[_0x437570(0xd2)],_0xa7adf3['jqzfc'],_0xa7adf3[_0x437570(0x73)]][_0x437570(0x148)](_0xd7adfb=>{const _0x49d839=_0x437570,_0x351b3e=_0x3ca0c7['parent'][_0xd7adfb]||[];_0x351b3e[_0x49d839(0x148)](_0xc49302=>{const _0x45095e=_0x49d839;_0xc49302[_0x45095e(0x134)]&&_0x5a785e[_0x45095e(0xd4)](_0xc49302['hookAnalyticsId']);});}),[][_0x437570(0x11f)](_0x5a785e,this[_0x437570(0x10b)](_0x3ca0c7[_0x437570(0x8e)]));}[a4_0x5945d8(0xba)](_0x2bbca0){const _0x23c7c2=a4_0x5945d8,_0x5341fe=/^"(?<hook>.*)" hook:.*$/,_0x103de4=_0x2bbca0['title'],_0x8cecd5=_0x103de4[_0x23c7c2(0x162)](_0x5341fe);if(_0x8cecd5&&_0x8cecd5[_0x23c7c2(0xe8)])return _0x8cecd5[_0x23c7c2(0xe8)]['hook'][_0x23c7c2(0x106)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x297ef7){const _0x5727ec=a4_0x5945d8,_0x2f249b={};_0x2f249b['eCOyZ']=function(_0x9e2936,_0x3ff1b3){return _0x9e2936===_0x3ff1b3;},_0x2f249b[_0x5727ec(0x15a)]=function(_0x2e60bf,_0x26558f){return _0x2e60bf===_0x26558f;},_0x2f249b[_0x5727ec(0xf5)]=function(_0x3d07ff,_0xb3f2a0){return _0x3d07ff===_0xb3f2a0;},_0x2f249b[_0x5727ec(0xdf)]=_0x5727ec(0xed),_0x2f249b[_0x5727ec(0x10d)]=_0x5727ec(0x16b);const _0x3ecc9a=_0x2f249b,_0x31193b=path[_0x5727ec(0x12b)];if(_0x3ecc9a[_0x5727ec(0x12e)](_0x297ef7,null)||_0x3ecc9a[_0x5727ec(0x15a)](_0x297ef7,'')||_0x3ecc9a[_0x5727ec(0xf5)](_0x297ef7,_0x31193b)||_0x3ecc9a[_0x5727ec(0xf5)](_0x297ef7,path['dirname'](_0x297ef7)))return null;try{return fs[_0x5727ec(0x150)](path['join'](_0x297ef7,_0x3ecc9a[_0x5727ec(0xdf)],_0x3ecc9a[_0x5727ec(0x10d)])),_0x297ef7;}catch(_0x56a3e2){const _0x3d7452=path[_0x5727ec(0xbf)](_0x297ef7);return this[_0x5727ec(0x109)](_0x3d7452);}}[a4_0x5945d8(0xe1)](_0x4189dd){const _0x2340de=a4_0x5945d8,_0x311196={};_0x311196[_0x2340de(0x83)]=function(_0x5a2b7e,_0x38198d){return _0x5a2b7e>_0x38198d;};const _0x315077=_0x311196;if(_0x4189dd[_0x2340de(0x169)])return _0x4189dd[_0x2340de(0x169)];if(_0x4189dd[_0x2340de(0xcc)]){const _0x211b7d=_0x4189dd[_0x2340de(0xcc)][_0x2340de(0x9a)]?this[_0x2340de(0xe1)](_0x4189dd[_0x2340de(0xcc)][_0x2340de(0x9a)]):null;if(_0x211b7d)return _0x211b7d;}if(_0x4189dd[_0x2340de(0x8e)]){const _0x3604c7=this['getRootParentFile'](_0x4189dd['parent'])||(_0x4189dd['parent'][_0x2340de(0xcc)]&&_0x4189dd[_0x2340de(0x8e)]['ctx'][_0x2340de(0x9a)]?this[_0x2340de(0xe1)](_0x4189dd[_0x2340de(0x8e)]['ctx'][_0x2340de(0x9a)]):null);if(_0x3604c7)return _0x3604c7;_0x4189dd[_0x2340de(0x8e)][_0x2340de(0x79)]&&_0x315077[_0x2340de(0x83)](_0x4189dd['parent'][_0x2340de(0x79)][_0x2340de(0x166)],0x0)&&_0x4189dd[_0x2340de(0x8e)][_0x2340de(0x79)][_0x2340de(0x148)](_0x510ac8=>{const _0x51716c=_0x2340de,_0x48fbb9=_0x510ac8[_0x51716c(0xcc)]?this[_0x51716c(0xe1)](_0x510ac8[_0x51716c(0xcc)]):null;if(_0x48fbb9)return _0x48fbb9;});}return null;}[a4_0x5945d8(0x96)](_0x5e9206){const _0x4ca6ce=a4_0x5945d8,_0x11f7da={};_0x11f7da[_0x4ca6ce(0x91)]=function(_0x213f63,_0x5a51c5){return _0x213f63!==_0x5a51c5;};const _0x36303f=_0x11f7da,_0x2f13bb=[];if(_0x5e9206&&_0x5e9206[_0x4ca6ce(0x8e)]){let _0x2ca520=_0x5e9206[_0x4ca6ce(0x8e)];while(_0x2ca520&&_0x36303f[_0x4ca6ce(0x91)](_0x2ca520[_0x4ca6ce(0xfe)],'')){_0x2f13bb['push'](_0x2ca520[_0x4ca6ce(0xfe)]),_0x2ca520=_0x2ca520[_0x4ca6ce(0x8e)];}}return _0x2f13bb;}[a4_0x5945d8(0xf2)](_0x42591c,_0xaedcbb,_0x29fa85=undefined){const _0x4d42ea=a4_0x5945d8,_0x244110={'oWQYZ':function(_0x2ee601,_0x48635e){return _0x2ee601(_0x48635e);},'JqhYr':function(_0xc5c409){return _0xc5c409();},'fReqT':function(_0x5da895){return _0x5da895();},'sTkNA':function(_0x5db164,_0x19ce16){return _0x5db164(_0x19ce16);},'vXcdT':_0x4d42ea(0x107),'lByvg':_0x4d42ea(0xf8),'fwIoB':function(_0x300739,_0x1cdc5d){return _0x300739!==_0x1cdc5d;},'YXohx':_0x4d42ea(0xfc),'WCmXX':_0x4d42ea(0x14a),'fkAuB':_0x4d42ea(0x99),'Oqqtu':_0x4d42ea(0x119),'DQpAj':_0x4d42ea(0x86),'vQgiq':_0x4d42ea(0x12d),'ndRHr':function(_0xd57110,_0x1aa78e){return _0xd57110-_0x1aa78e;},'UrFlt':function(_0x90ca1b,_0x159edc,_0x447dca,_0x3f5ffd,_0x22ef38){return _0x90ca1b(_0x159edc,_0x447dca,_0x3f5ffd,_0x22ef38);},'nCiZz':_0x4d42ea(0xa7),'qugwG':'meta','sOEBo':_0x4d42ea(0x145),'GYtrj':_0x4d42ea(0xe4),'tGpQF':'backtrace','Nakxd':_0x4d42ea(0x146),'dFHsj':'expanded','CgMlH':function(_0x1a0378,_0x3c8542){return _0x1a0378===_0x3c8542;},'oTMje':_0x4d42ea(0x8d),'MlgEH':_0x4d42ea(0x15f)};if(!this[_0x4d42ea(0x127)])return;try{if(_0xaedcbb['fn']&&_0xaedcbb['fn'][_0x4d42ea(0x78)]()[_0x4d42ea(0x162)](/browserstack internal helper hook/))return;const _0x42b60a=_0x244110[_0x4d42ea(0x10c)](parseEvent,_0x42591c);if(!_0x42b60a)return;if(_0x42b60a[_0x4d42ea(0x125)]){this[_0x4d42ea(0x9a)]=_0xaedcbb,this[_0x4d42ea(0x132)]=null;if(_0x42b60a[_0x4d42ea(0x16e)]||_0x42b60a[_0x4d42ea(0x86)]){_0xaedcbb['startedAt']=new Date(),_0xaedcbb[_0x4d42ea(0x102)]=![];if(!_0xaedcbb[_0x4d42ea(0xe0)])_0xaedcbb[_0x4d42ea(0xe0)]=_0x244110[_0x4d42ea(0x117)](uuidv4);else _0xaedcbb[_0x4d42ea(0x102)]&&(!_0xaedcbb[_0x4d42ea(0x13c)]&&(_0xaedcbb[_0x4d42ea(0x13c)]=_0xaedcbb[_0x4d42ea(0xe0)]),_0xaedcbb['testAnalyticsId']=_0x244110[_0x4d42ea(0x117)](uuidv4));}}else{if(_0x42b60a[_0x4d42ea(0x88)]){this[_0x4d42ea(0x132)]=_0xaedcbb;if(_0x42b60a[_0x4d42ea(0x16e)]){_0xaedcbb[_0x4d42ea(0xdc)]=new Date(),_0xaedcbb[_0x4d42ea(0x102)]=![];if(!_0xaedcbb['hookAnalyticsId'])_0xaedcbb['hookAnalyticsId']=_0x244110['JqhYr'](uuidv4);else _0xaedcbb[_0x4d42ea(0x134)]&&_0xaedcbb[_0x4d42ea(0x102)]&&(_0xaedcbb[_0x4d42ea(0x134)]=_0x244110[_0x4d42ea(0xc9)](uuidv4));}}}if(_0x42b60a['finished']&&_0xaedcbb[_0x4d42ea(0x102)])return;let _0x30a986;try{_0x30a986=this[_0x4d42ea(0xe1)](_0xaedcbb);}catch(_0x3dbb42){logger[_0x4d42ea(0x94)](_0x4d42ea(0xe6)+_0x3dbb42),_0x30a986=null;}const _0x1954bd=_0x244110['sTkNA'](require,_0x244110[_0x4d42ea(0x114)]);let _0x560573=[];_0x29fa85&&(_0x560573=[_0x29fa85,_0x244110[_0x4d42ea(0x7f)]]);const _0x4d00fd=_0x244110['fwIoB'](_0xaedcbb[_0x4d42ea(0xee)],undefined)?_0x1954bd[_0x4d42ea(0xb1)](_0xaedcbb[_0x4d42ea(0xee)][0x0]):_0x244110[_0x4d42ea(0x126)](_0x29fa85,undefined)?_0x29fa85[_0x4d42ea(0x78)]():undefined,_0x4e5da7=_0x30a986?this['findGitConfig'](_0x30a986):null,_0x3d83b1=_0x30a986?this['_paths'][_0x4d42ea(0x75)](this['getRootParentFile'](_0xaedcbb)):_0x244110[_0x4d42ea(0xb7)];let _0x2429ec=_0x244110['WCmXX'];const _0x3456a2=!_0x42b60a[_0x4d42ea(0x16e)]?new Date()[_0x4d42ea(0x13b)]():null;if(_0x42b60a[_0x4d42ea(0x157)])_0x2429ec=_0x29fa85?_0x244110[_0x4d42ea(0xa2)]:_0x244110[_0x4d42ea(0xf4)],_0xaedcbb['markedStatus']=!![];else _0x42b60a[_0x4d42ea(0x86)]&&(_0x2429ec=_0x244110[_0x4d42ea(0xfb)],_0xaedcbb[_0x4d42ea(0x102)]=!![]);const _0x339038={'framework':this['frameworkName'],'uuid':_0xaedcbb[_0x4d42ea(0xe0)]||_0xaedcbb[_0x4d42ea(0x134)],'name':_0xaedcbb[_0x4d42ea(0xfe)],'body':{'lang':_0x244110[_0x4d42ea(0x70)],'code':_0xaedcbb['body'][_0x4d42ea(0x78)]()},'type':_0xaedcbb[_0x4d42ea(0x112)],'scope':_0xaedcbb[_0x4d42ea(0x151)](),'scopes':this[_0x4d42ea(0x96)](_0xaedcbb),'file_name':_0x3d83b1,'vc_filepath':_0x4e5da7?path[_0x4d42ea(0x11c)](_0x4e5da7,_0x30a986):null,'location':_0x3d83b1,'result':_0x2429ec,'failure_reason':_0x4d00fd,'duration_in_ms':_0xaedcbb['duration']||(_0x42b60a['finished']||_0x42b60a[_0x4d42ea(0x86)])?_0x244110[_0x4d42ea(0x108)](Date[_0x4d42ea(0xa9)](),new Date(_0xaedcbb['startedAt'])['getTime']()):null,'started_at':new Date(_0xaedcbb[_0x4d42ea(0xdc)])['toISOString'](),'finished_at':_0x3456a2,'failure':testOpsHelper[_0x4d42ea(0xca)][_0x4d42ea(0x8a)](null,_0x560573),'failure_type':!_0x4d00fd?null:testOpsHelper[_0x4d42ea(0x170)](_0x4d00fd),'retry_of':_0xaedcbb[_0x4d42ea(0x13c)]||null,'tags':_0xaedcbb[_0x4d42ea(0x8b)]||[],'customRerunParam':{'rerun_name':_0xaedcbb[_0x4d42ea(0x151)]()}};_0x244110[_0x4d42ea(0x11b)](appendTesthubParams,_0x339038,_0x42591c,_0xaedcbb,FRAMEWORKS[_0x4d42ea(0x118)]);if(_0x42b60a['hook'])[_0x339038['hook_type'],_0x339038['name']]=[this[_0x4d42ea(0xba)](_0xaedcbb),_0xaedcbb['ctx']['test'][_0x4d42ea(0xfe)]],_0x42b60a['finished']?_0x244110[_0x4d42ea(0x126)](_0x339038[_0x4d42ea(0xaf)],_0x244110[_0x4d42ea(0xa2)])&&(_0x339038['result']=_0x244110[_0x4d42ea(0xf4)]):_0x339038[_0x4d42ea(0xff)]={};else _0x42b60a['test']&&(this[_0x4d42ea(0xea)](_0xaedcbb),_0x42b60a['skipped']&&this['resetSkipTestHooks'](_0xaedcbb),(_0x42b60a[_0x4d42ea(0x157)]||_0x42b60a['skipped'])&&(_0x339038[_0x4d42ea(0x111)]=this[_0x4d42ea(0x10b)](_0xaedcbb)));this[_0x4d42ea(0xf6)]&&(_0x42b60a['started']||_0x42b60a[_0x4d42ea(0x86)])&&(_0x339038[_0x244110[_0x4d42ea(0x120)]]=this[_0x4d42ea(0xe7)](this[_0x4d42ea(0xf6)]));_0x42b60a['test']&&_0x42b60a[_0x4d42ea(0x157)]&&_0xaedcbb[_0x4d42ea(0xbc)]&&(_0x339038[_0x244110['qugwG']]={'feature':{'name':_0xaedcbb[_0x4d42ea(0x8e)][_0x4d42ea(0x92)][_0x4d42ea(0xfa)],'path':_0x339038['file_name'],'description':_0xaedcbb[_0x4d42ea(0x8e)][_0x4d42ea(0xd8)]},'scenario':{'name':_0xaedcbb[_0x4d42ea(0xfe)]},'steps':_0xaedcbb[_0x4d42ea(0xbc)]});const _0x4b98f0=_0x339038[_0x244110[_0x4d42ea(0x77)]][0x0];_0x4b98f0&&(_0x339038[_0x244110['GYtrj']]=_0x4b98f0[_0x244110[_0x4d42ea(0x163)]],_0x339038[_0x244110[_0x4d42ea(0x9d)]]=_0x4b98f0[_0x244110[_0x4d42ea(0xa1)]]);if(_0xaedcbb[_0x4d42ea(0xbc)])for(const _0x28fefe of _0xaedcbb[_0x4d42ea(0xbc)]){!_0x28fefe[_0x4d42ea(0x164)]&&(_0x28fefe[_0x4d42ea(0x164)]=new Date()[_0x4d42ea(0x13b)](),_0x244110[_0x4d42ea(0x8c)](_0x28fefe[_0x4d42ea(0xaf)],_0x244110[_0x4d42ea(0xf7)])&&(_0x4b98f0?(_0x28fefe[_0x4d42ea(0xaf)]=_0x244110[_0x4d42ea(0xa2)],_0x28fefe['failure']=_0x4b98f0[_0x244110[_0x4d42ea(0x163)]][0x0]):_0x28fefe[_0x4d42ea(0xaf)]=_0x244110['Oqqtu']));}const _0x28a168={};_0x28a168['event_type']=_0x42b60a[_0x4d42ea(0x86)]?TEST_EVENTS[_0x4d42ea(0x129)]:_0x42591c;const _0x20be1d=_0x28a168;return _0x42b60a[_0x4d42ea(0x88)]?_0x20be1d[_0x244110[_0x4d42ea(0xc6)]]=_0x339038:_0x20be1d[_0x244110[_0x4d42ea(0x16f)]]=_0x339038,_0x20be1d;}catch(_0x1bab3f){logger['debug'](_0x4d42ea(0x136)+_0x42591c+_0x4d42ea(0x131)+_0x1bab3f);}}async['fireEvent'](_0x4f9487,_0x293646){const _0x325706=a4_0x5945d8;if(!this[_0x325706(0x127)]||!_0x293646||!_0x4f9487)return![];try{return await SessionHandler['uploadEventData'](_0x293646);}catch(_0x53b97f){logger[_0x325706(0x94)](_0x325706(0x13a)+_0x4f9487+_0x325706(0x131)+_0x53b97f);}}['initializeBddStep'](_0x427638){const _0x93ecd4=a4_0x5945d8,_0x6bfe46={};_0x6bfe46[_0x93ecd4(0x143)]=_0x93ecd4(0x14a);const _0x241068=_0x6bfe46;return{'id':_0x427638[_0x93ecd4(0x14b)],'text':_0x427638[_0x93ecd4(0x8f)],'keyword':_0x427638[_0x93ecd4(0xbe)],'started_at':_0x427638[_0x93ecd4(0xdc)][_0x93ecd4(0x13b)](),'result':_0x241068[_0x93ecd4(0x143)]};}[a4_0x5945d8(0xd0)](_0x3eee48){const _0x3e8354=a4_0x5945d8,_0x3fa927={'Wwoub':function(_0x3a8543){return _0x3a8543();}};!this[_0x3e8354(0x9a)][_0x3e8354(0xbc)]&&(this[_0x3e8354(0x9a)][_0x3e8354(0xbc)]=[]),!_0x3eee48[_0x3e8354(0x14b)]&&(_0x3eee48[_0x3e8354(0x14b)]=_0x3fa927[_0x3e8354(0xa4)](uuidv4),_0x3eee48[_0x3e8354(0xdc)]=new Date(),this[_0x3e8354(0x9a)][_0x3e8354(0xbc)][_0x3e8354(0xd4)](this[_0x3e8354(0x142)](_0x3eee48)));}[a4_0x5945d8(0xc0)](_0xa91bf2){const _0x2cc30c=a4_0x5945d8,_0x393393={'HzORI':function(_0x5f4522,_0x294396){return _0x5f4522(_0x294396);},'qLdSY':_0x2cc30c(0x87),'JdwCR':_0x2cc30c(0x14a),'pKqsW':_0x2cc30c(0x119),'nLPKU':function(_0xfa10f2,_0x4b568b){return _0xfa10f2-_0x4b568b;}};let _0x56b4a0=this[_0x2cc30c(0x9a)][_0x2cc30c(0xbc)]['find'](_0x3d91a4=>_0x3d91a4['id']===_0xa91bf2[_0x2cc30c(0x14b)]);_0x393393[_0x2cc30c(0xc1)](isUndefined,_0x56b4a0)&&(_0x56b4a0=this[_0x2cc30c(0x142)](_0xa91bf2)),_0x56b4a0['result']=[_0x393393[_0x2cc30c(0x16d)],_0x393393[_0x2cc30c(0x16c)]][_0x2cc30c(0x159)](_0xa91bf2['status'])?_0x393393['pKqsW']:_0xa91bf2[_0x2cc30c(0x13f)],_0x56b4a0[_0x2cc30c(0x164)]=new Date()['toISOString'](),_0x56b4a0[_0x2cc30c(0xbd)]=_0x393393['nLPKU'](Date['now'](),_0xa91bf2['startedAt'][_0x2cc30c(0x14d)]()),_0x56b4a0[_0x2cc30c(0x145)]=_0xa91bf2[_0x2cc30c(0xf8)]?_0xa91bf2[_0x2cc30c(0xf8)][_0x2cc30c(0xad)]:null;}}function a4_0x29c4(_0x5aaa89,_0x5ee533){const _0x29671e=a4_0x2967();return a4_0x29c4=function(_0x29c4b9,_0x1d3b24){_0x29c4b9=_0x29c4b9-0x70;let _0x1f5ab6=_0x29671e[_0x29c4b9];return _0x1f5ab6;},a4_0x29c4(_0x5aaa89,_0x5ee533);}function a4_0x2967(){const _0x1d0e33=['findGitConfig','ADfsh','getHooksForTest','oWQYZ','quJrV','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','path','MUqNZ','hooks','type','uSVfI','vXcdT','setupBrowserDetails','29637wNpedp','JqhYr','CODECEPT','passed','TEST_RUN_SKIPPED','UrFlt','relative','../playwright/accessibility-helper','../utils/constants','concat','nCiZz','patchConsoleLogger','appendTestItemLog','zCzpn','APZUm','test','fwIoB','enabled','STATE_PASSED','TEST_RUN_FINISHED','zbpAA','sep','HookRunFinished','javascript','eCOyZ','_beforeEach','cpcfG','\x20with\x20error\x20:\x20','currentHook','1507791PRgxBx','hookAnalyticsId','15328cfgJDv','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','frameworkName','iGwkv','lib','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','toISOString','retryOf','2366evyoYr','event_type','status','bYeKL','PLAYWRIGHT_HUB_URL','initializeBddStep','LqIhL','TestRunStarted','failure','failure_reason_expanded','rdPCO','forEach','baBSs','pending','stepAnalyticsId','512004weQdNF','getTime','PathHelper','test_run_uuid','statSync','fullTitle','HookRunStarted','STYzf','1130nceLOm','CBTSessionCreated','uuid','finished','join','includes','NBQdn','split','FoPlW','ErisA','sendCBTInfo','test_run','STATE_FAILED','Not\x20able\x20to\x20import\x20Browser','match','tGpQF','finished_at','yutTc','length','logs','eDBJo','file','getInstance','config','JdwCR','qLdSY','started','MlgEH','getFailureType','vQgiq','HOOK_RUN_STARTED','BWIIR','crPFi','defineProperty','prefixTestPath','client','sOEBo','toString','suites','prototype','LogCreated','stop','hook_run_uuid','aCWJB','lByvg','NlooZ','bYjsh','626346jpoAFy','OGeoe','saDCq','FnHxm','skipped','success','hook','_beforeAll','apply','tags','CgMlH','hook_run','parent','text','../../helpers/test-observability/constants','PQLpH','feature','O11yHelper','debug','resetSkipTestHooks','getHierarchy','wsEndpoint','Playwright','failed','currentTest','AKQbL','codeceptjs','Nakxd','../../helpers/test-observability/sessionHandler','6231030LHvgam','TestRunFinished','dFHsj','fkAuB','exports','Wwoub','eQvvM','launch','integrations','JOpVe','now','bind','1809760bToHzp','uzzah','message','1|4|5|0|2|3','result','bs:addLog:','inspect','../../helpers/test-observability/utils','pid','swvfO','connectOverCDP','lKkaa','YXohx','TestRunSkipped','toLowerCase','getHookType','ZvPUs','bddSteps','duration','keyword','dirname','bddStepFinish','HzORI','pQIfA','GyjBd','WPhDc','then','oTMje','RdbbI','../../helpers/helper','fReqT','failureData','10fymQEW','ctx','VqVZX','NBoPG','constructor','bddStepStart','_paths','FxPze','__platformCaps','push','browserType.js','FfxPS','winstonLogger','comment','yDWVX','jqzfc','PQRsu','startedAt','juDge','_afterAll','iYSht','testAnalyticsId','getRootParentFile','removeAllListeners','_afterEach','failure_backtrace','Dhlmt','failed\x20to\x20get\x20root\x20parent\x20file\x20','getCBTInfo','groups','obsBrowserTypeMockApplied','mapTestHooks','_testEnv','IBJxY','.git','errorsDetailed','dqvsi','shutdown','BrowserType','captureEvent','../../helpers/logger','Oqqtu','HncSK','driver','WCmXX','err','oDBuf','name','DQpAj','File\x20path\x20could\x20not\x20be\x20found','zQrMg','title','body','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','TEST_RUN_STARTED','markedStatus','accessibilityPlatform','__cloud_provider___','dbgAi','toUpperCase','util','ndRHr'];a4_0x2967=function(){return _0x1d0e33;};return a4_0x2967();}const a4_0x2162f5={};a4_0x2162f5[a4_0x5945d8(0x93)]=O11yHelper,a4_0x2162f5[a4_0x5945d8(0x128)]=STATE_PASSED,a4_0x2162f5[a4_0x5945d8(0x160)]=STATE_FAILED,a4_0x2162f5['TEST_EVENTS']=TEST_EVENTS,module[a4_0x5945d8(0xa3)]=a4_0x2162f5;
1
+ const a4_0x2205ca=a4_0x2cb4;function a4_0x2cb4(_0x64a768,_0x5b2ed8){const _0x2b255a=a4_0x2b25();return a4_0x2cb4=function(_0x2cb47e,_0x52d9f4){_0x2cb47e=_0x2cb47e-0xa7;let _0x577120=_0x2b255a[_0x2cb47e];return _0x577120;},a4_0x2cb4(_0x64a768,_0x5b2ed8);}(function(_0x3d2627,_0x105b39){const _0x4d6f84=a4_0x2cb4,_0x2ffda=_0x3d2627();while(!![]){try{const _0x47ec01=-parseInt(_0x4d6f84(0xcc))/0x1+parseInt(_0x4d6f84(0xad))/0x2+-parseInt(_0x4d6f84(0xc5))/0x3*(parseInt(_0x4d6f84(0x16d))/0x4)+parseInt(_0x4d6f84(0x14e))/0x5+-parseInt(_0x4d6f84(0x148))/0x6*(-parseInt(_0x4d6f84(0x150))/0x7)+-parseInt(_0x4d6f84(0xf2))/0x8+parseInt(_0x4d6f84(0x149))/0x9;if(_0x47ec01===_0x105b39)break;else _0x2ffda['push'](_0x2ffda['shift']());}catch(_0x3e1014){_0x2ffda['push'](_0x2ffda['shift']());}}}(a4_0x2b25,0xe5c3e));const path=require(a4_0x2205ca(0xc8)),fs=require('fs'),{v4:uuidv4}=require(a4_0x2205ca(0x126)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x2205ca(0xfc)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x2205ca(0xaf)),{FRAMEWORKS}=require(a4_0x2205ca(0xaa)),logger=require('../../helpers/logger')[a4_0x2205ca(0x131)],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require(a4_0x2205ca(0x163)),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x2205ca(0x101)],{processAccessibilityCaps}=require(a4_0x2205ca(0x115)),Constants=require(a4_0x2205ca(0xdd)),{fetchPlatformDetails}=require(a4_0x2205ca(0x161)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED='passed',STATE_FAILED='failed',a4_0x113121={};a4_0x113121[a4_0x2205ca(0xe6)]=a4_0x2205ca(0x156),a4_0x113121[a4_0x2205ca(0x107)]='TestRunFinished',a4_0x113121[a4_0x2205ca(0x172)]=a4_0x2205ca(0x12d),a4_0x113121['HOOK_RUN_STARTED']=a4_0x2205ca(0x182),a4_0x113121[a4_0x2205ca(0x16f)]='HookRunFinished';const TEST_EVENTS=a4_0x113121,parseEvent=_0x3ae981=>{const _0x3a79f2=a4_0x2205ca,_0x41aa2a={};_0x41aa2a[_0x3a79f2(0x100)]=function(_0x13e46a,_0x1ae666){return _0x13e46a<_0x1ae666;},_0x41aa2a[_0x3a79f2(0x177)]=function(_0xa6d0ed,_0x5e7bed){return _0xa6d0ed===_0x5e7bed;},_0x41aa2a[_0x3a79f2(0x187)]='test',_0x41aa2a['fiFLf']='hook',_0x41aa2a[_0x3a79f2(0x17e)]=_0x3a79f2(0x160),_0x41aa2a['joHbk']=function(_0x3f4c47,_0xa76408){return _0x3f4c47===_0xa76408;},_0x41aa2a[_0x3a79f2(0x104)]=_0x3a79f2(0x183),_0x41aa2a[_0x3a79f2(0x164)]=function(_0x3f449d,_0x295097){return _0x3f449d===_0x295097;},_0x41aa2a[_0x3a79f2(0x13e)]=_0x3a79f2(0x173);const _0x1140ce=_0x41aa2a,_0x2b5e6e=_0x3ae981['match'](/^(.*)Run(.*)$/);if(!_0x2b5e6e)return null;if(_0x1140ce[_0x3a79f2(0x100)](_0x2b5e6e[_0x3a79f2(0x109)],0x3))return null;const _0x4b0e99=_0x2b5e6e[0x1][_0x3a79f2(0xf1)](),_0x467f18=_0x2b5e6e[0x2][_0x3a79f2(0xf1)]();return{'test':_0x1140ce[_0x3a79f2(0x177)](_0x4b0e99,_0x1140ce['vKLoI']),'hook':_0x1140ce[_0x3a79f2(0x177)](_0x4b0e99,_0x1140ce[_0x3a79f2(0xb5)]),'skipped':_0x1140ce[_0x3a79f2(0x177)](_0x467f18,_0x1140ce[_0x3a79f2(0x17e)]),'started':_0x1140ce[_0x3a79f2(0xba)](_0x467f18,_0x1140ce[_0x3a79f2(0x104)]),'finished':_0x1140ce[_0x3a79f2(0x164)](_0x467f18,_0x1140ce['AtrLu'])};},mockPWBrowserType=_0x33ba33=>{const _0x345468=a4_0x2205ca,_0x68bf9e={'DtyGm':function(_0x2edad5,_0x4185d8){return _0x2edad5===_0x4185d8;},'DAsfk':_0x345468(0x14f),'yVwlI':function(_0x295a1c,_0x28e058,_0x16a8d9){return _0x295a1c(_0x28e058,_0x16a8d9);},'rGuud':'wsEndpoint','hDDrb':function(_0x10e6b1,_0x473ff9){return _0x10e6b1(_0x473ff9);},'hcKMg':_0x345468(0xf5),'lZGZI':function(_0x266275,_0x1022dc,_0x4438d8){return _0x266275(_0x1022dc,_0x4438d8);},'MCXsP':function(_0x357227,_0x4d273c){return _0x357227(_0x4d273c);},'CskHr':_0x345468(0xd5),'jOZNN':_0x345468(0x138),'yuXxc':_0x345468(0x14a),'mWftP':function(_0x3a0a6f,_0x614d2a){return _0x3a0a6f(_0x614d2a);},'HVBSz':function(_0x197996,_0x11cc30){return _0x197996(_0x11cc30);},'HUHHe':_0x345468(0xcb),'JmaRd':_0x345468(0x169),'GBIJt':'launch'},_0x26296e=path[_0x345468(0x17c)](_0x68bf9e['CskHr'],_0x68bf9e[_0x345468(0x114)],_0x68bf9e[_0x345468(0xe7)]),_0x3a8084=_0x68bf9e[_0x345468(0x192)](importFileFromPWCore,_0x26296e);if(!_0x3a8084){_0x68bf9e[_0x345468(0x11d)](debug,_0x68bf9e['HUHHe']);return;}const _0x26aad6=_0x3a8084[_0x345468(0xee)],_0x58444f=_0x26aad6[_0x345468(0xf9)];if(_0x58444f['obsBrowserTypeMockApplied'])return;const _0x501129=_0x58444f[_0x345468(0x169)];Object[_0x345468(0x16c)](_0x58444f,_0x68bf9e[_0x345468(0x17d)],{'get':function(){return async function _0x3b46d4(_0x56fe81,_0x26d5b8){const _0x19eeab=a4_0x2cb4,_0xa92f1a={'uWyWq':function(_0x3ad3ae,_0x23e3b5){const _0x490df6=a4_0x2cb4;return _0x68bf9e[_0x490df6(0x171)](_0x3ad3ae,_0x23e3b5);},'BdZDC':_0x68bf9e[_0x19eeab(0x159)]},_0x5f0d53=_0x68bf9e[_0x19eeab(0x16e)](nestedKeyValue,_0x56fe81,[_0x68bf9e[_0x19eeab(0xd4)]])||_0x56fe81;let _0x4604bf=null,_0x4355aa=null;try{[_0x4355aa,_0x4604bf]=_0x5f0d53?_0x68bf9e[_0x19eeab(0xe1)](parseWSEndpoint,_0x5f0d53):[null,null],global[_0x19eeab(0xf0)]=_0x4604bf,_0x4355aa[_0x19eeab(0xa8)](_0x68bf9e[_0x19eeab(0x193)])&&(global[_0x19eeab(0x146)]=_0x68bf9e[_0x19eeab(0x193)]);}catch(_0x1c73bf){logger[_0x19eeab(0x101)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x5f0d53+'\x20'+_0x1c73bf);}_0x68bf9e[_0x19eeab(0xd6)](processAccessibilityCaps,_0x4604bf,_0x4355aa);if(global[_0x19eeab(0x18a)]){const _0x41fabb=await _0x58444f['connectOverCDP'][_0x19eeab(0x120)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x68bf9e['MCXsP'](encodeURIComponent,JSON[_0x19eeab(0x13a)](_0x4604bf))]);return PlaywrightSessionDetails[_0x19eeab(0x129)](_0x41fabb,_0x33ba33,_0x5f0d53),_0x41fabb;}return _0x501129['apply'](this,arguments)['then'](_0x423e14=>{const _0x121410=_0x19eeab;let _0x38d48c=_0x56fe81[_0x121410(0xb6)];return _0xa92f1a[_0x121410(0x194)](typeof _0x56fe81,_0xa92f1a[_0x121410(0x11f)])&&(_0x38d48c=_0x56fe81),PlaywrightSessionDetails[_0x121410(0x129)](_0x423e14,_0x33ba33,_0x38d48c),_0x423e14;});};}});const _0x47d34d=_0x58444f[_0x345468(0x189)];Object[_0x345468(0x16c)](_0x58444f,_0x68bf9e['GBIJt'],{'get':function(){return async function _0x5f411b(){const _0x80f8ac=a4_0x2cb4;return _0x47d34d[_0x80f8ac(0x120)](this,arguments)[_0x80f8ac(0x134)](_0xd8a69d=>{const _0x4f561a=_0x80f8ac;return PlaywrightSessionDetails[_0x4f561a(0x129)](_0xd8a69d,null),_0xd8a69d;});};}});};class O11yHelper{[a4_0x2205ca(0xd8)]=null;['currentHook']=null;['enabled']=![];[a4_0x2205ca(0x14d)]=![];constructor(_0x140005,_0x5c1198){const _0x26d0dd=a4_0x2205ca,_0x12f9b4={'qNThK':'3|0|5|1|4|2','BhLsW':function(_0xf87124){return _0xf87124();},'htHTW':function(_0x24f4d0,_0x198454){return _0x24f4d0===_0x198454;},'mLblX':_0x26d0dd(0x127),'aVbsw':function(_0x1224fb,_0x456610){return _0x1224fb(_0x456610);},'vfgch':function(_0x48218c){return _0x48218c();}},_0x4e1571=_0x12f9b4[_0x26d0dd(0x18d)]['split']('|');let _0x363b91=0x0;while(!![]){switch(_0x4e1571[_0x363b91++]){case'0':this[_0x26d0dd(0x14d)]=_0x5c1198['frameworkName'];continue;case'1':this[_0x26d0dd(0x176)]=_0x12f9b4['BhLsW'](getTestEnv);continue;case'2':this['driver']&&_0x12f9b4['htHTW'](this[_0x26d0dd(0xd2)][_0x26d0dd(0xac)][_0x26d0dd(0x124)],_0x12f9b4['mLblX'])&&_0x12f9b4['aVbsw'](mockPWBrowserType,null);continue;case'3':this[_0x26d0dd(0x13c)]=_0x12f9b4[_0x26d0dd(0x166)](shouldProcessEventForTesthub);continue;case'4':this[_0x26d0dd(0x117)]=new testOpsHelper[(_0x26d0dd(0xe9))]({'cwd':process['cwd']()},this[_0x26d0dd(0x176)][_0x26d0dd(0x108)]);continue;case'5':this[_0x26d0dd(0xd2)]=_0x140005;continue;}break;}}['start'](){const _0xa6f38a=a4_0x2205ca;if(!this[_0xa6f38a(0x13c)])return;testOpsHelper[_0xa6f38a(0x15e)](),process[_0xa6f38a(0xb0)]('bs:addLog:'+process[_0xa6f38a(0xd1)]),process['on'](_0xa6f38a(0x147)+process[_0xa6f38a(0xd1)],this[_0xa6f38a(0x175)][_0xa6f38a(0x128)](this));}async['stop'](){const _0x4b658e=a4_0x2205ca;await RequestQueueHandler[_0x4b658e(0x188)]()[_0x4b658e(0x12e)]();}async[a4_0x2205ca(0x175)](_0x2408d5){const _0x1ab46c=a4_0x2205ca,_0x508868={'EJhhI':'LogCreated','VLbbP':function(_0x5123c6,_0x5ae75d){return _0x5123c6(_0x5ae75d);}};try{this[_0x1ab46c(0x186)]&&!this['currentHook'][_0x1ab46c(0xb8)]&&(_0x2408d5['hook_run_uuid']=this[_0x1ab46c(0x186)]['hookAnalyticsId']);!_0x2408d5[_0x1ab46c(0x118)]&&this[_0x1ab46c(0xd8)]&&!this['currentTest'][_0x1ab46c(0xb8)]&&(_0x2408d5['test_run_uuid']=this[_0x1ab46c(0xd8)][_0x1ab46c(0xb2)]);if(_0x2408d5[_0x1ab46c(0x118)]||_0x2408d5['test_run_uuid']){const _0x22325b={};_0x22325b[_0x1ab46c(0x10d)]=_0x508868['EJhhI'],_0x22325b[_0x1ab46c(0x136)]=[_0x2408d5],await SessionHandler['uploadEventData'](_0x22325b);}}catch(_0x33c435){_0x508868[_0x1ab46c(0x168)](debug,_0x1ab46c(0x13b)+_0x33c435);}}async[a4_0x2205ca(0x16b)](_0x17924a){const _0x5b8273=a4_0x2205ca,_0xb99076={'kcDOO':_0x5b8273(0xda),'tqhAw':function(_0x840f4b,_0x23e57e){return _0x840f4b(_0x23e57e);}};if(!this[_0x5b8273(0x13c)])return;const _0x6250c3=this[_0x5b8273(0x11b)](this[_0x5b8273(0xd2)]);try{const _0x491008={};_0x491008[_0x5b8273(0x126)]=_0x17924a,_0x491008[_0x5b8273(0x18f)]=_0x6250c3;const _0x19ed22=_0x491008,_0x3d71ed={};_0x3d71ed[_0x5b8273(0x10d)]=_0xb99076[_0x5b8273(0x174)],_0x3d71ed[_0x5b8273(0x10b)]=_0x19ed22,await SessionHandler['uploadEventData'](_0x3d71ed);}catch(_0x1273f8){_0xb99076[_0x5b8273(0x11e)](debug,_0x5b8273(0x102)+_0x1273f8);}}[a4_0x2205ca(0x11b)](_0xbfa3f0){const _0x5f04bb={'rhaCJ':function(_0x3ffaa1,_0x4283bf){return _0x3ffaa1(_0x4283bf);}};return _0x5f04bb['rhaCJ'](fetchPlatformDetails,_0xbfa3f0);}[a4_0x2205ca(0x13f)]=_0x27c010=>{const _0x4a752a=a4_0x2205ca,_0x1d8923={};_0x1d8923[_0x4a752a(0xf6)]=_0x4a752a(0x195),_0x1d8923[_0x4a752a(0x179)]=_0x4a752a(0x18b);const _0x49a22d=_0x1d8923;if(!_0x27c010||!_0x27c010[_0x4a752a(0x13d)])return;[_0x49a22d['CKRkX'],_0x49a22d[_0x4a752a(0x179)]][_0x4a752a(0xdb)](_0x37a6be=>{const _0x269ac2=_0x4a752a,_0x58a041=_0x27c010[_0x269ac2(0x13d)][_0x37a6be];_0x58a041[_0x269ac2(0xdb)](_0x397b78=>{const _0x23f1b2=_0x269ac2;_0x397b78[_0x23f1b2(0xef)]&&(_0x397b78['hookAnalyticsId']=null);});});};['mapTestHooks'](_0x3b7fcf){const _0x1dee64=a4_0x2205ca,_0x44c213={'ZXmkP':'codeceptjs','yXHcy':function(_0xc85a67){return _0xc85a67();},'pPyrL':function(_0x1fd484,_0x3d8dd9){return _0x1fd484===_0x3d8dd9;},'mnzHo':_0x1dee64(0x18b),'uGTwb':_0x1dee64(0xc2),'cdaYS':_0x1dee64(0x17b),'ekwsV':_0x1dee64(0x195)};if(!_0x3b7fcf||!_0x3b7fcf[_0x1dee64(0x13d)])return;[_0x44c213[_0x1dee64(0x12b)],_0x44c213[_0x1dee64(0xbf)],_0x44c213['ekwsV'],_0x44c213[_0x1dee64(0x11a)]][_0x1dee64(0xdb)](_0x4cb411=>{const _0x11b47b=_0x1dee64,_0x393173={'wgARB':_0x44c213[_0x11b47b(0x141)],'xtzWB':function(_0x8a587e){const _0x3846ff=_0x11b47b;return _0x44c213[_0x3846ff(0x17a)](_0x8a587e);},'kWvMq':function(_0x3954d2,_0x9a3130){return _0x44c213['pPyrL'](_0x3954d2,_0x9a3130);},'vMQjN':_0x44c213['mnzHo']},_0x12dbf6=_0x3b7fcf['parent'][_0x4cb411]||[];_0x12dbf6[_0x11b47b(0xdb)](_0x6304ee=>{const _0xd0108f=_0x11b47b;if(_0x6304ee[_0xd0108f(0x165)][_0xd0108f(0xa8)](_0x393173[_0xd0108f(0xae)]))return;if(!_0x6304ee[_0xd0108f(0xef)])_0x6304ee[_0xd0108f(0xef)]=_0x393173[_0xd0108f(0x190)](uuidv4);else _0x6304ee[_0xd0108f(0xb8)]&&_0x393173[_0xd0108f(0xe3)](_0x4cb411,_0x393173[_0xd0108f(0x170)])&&(_0x6304ee[_0xd0108f(0xef)]=_0x393173[_0xd0108f(0x190)](uuidv4),delete _0x6304ee[_0xd0108f(0xb8)]);});}),this[_0x1dee64(0x144)](_0x3b7fcf['parent']);}[a4_0x2205ca(0xf4)](_0x5c7b38){const _0x4e8823=a4_0x2205ca,_0xc3373={};_0xc3373['EneAs']=_0x4e8823(0xc2),_0xc3373[_0x4e8823(0x185)]=_0x4e8823(0x17b),_0xc3373['OXGJJ']=_0x4e8823(0x195),_0xc3373[_0x4e8823(0x10e)]=_0x4e8823(0x18b);const _0x5a10d1=_0xc3373;if(!_0x5c7b38||!_0x5c7b38[_0x4e8823(0x13d)])return[];const _0x3d07ff=[];return[_0x5a10d1['EneAs'],_0x5a10d1[_0x4e8823(0x185)],_0x5a10d1[_0x4e8823(0xe5)],_0x5a10d1[_0x4e8823(0x10e)]]['forEach'](_0x2691ad=>{const _0x4e036a=_0x4e8823,_0x5e8d36=_0x5c7b38[_0x4e036a(0x13d)][_0x2691ad]||[];_0x5e8d36['forEach'](_0x4410b8=>{const _0x2ad482=_0x4e036a;_0x4410b8[_0x2ad482(0xef)]&&_0x3d07ff[_0x2ad482(0xd9)](_0x4410b8[_0x2ad482(0xef)]);});}),[]['concat'](_0x3d07ff,this[_0x4e8823(0xf4)](_0x5c7b38[_0x4e8823(0x13d)]));}[a4_0x2205ca(0xcf)](_0x51310f){const _0x334fb8=a4_0x2205ca,_0x1ba3c6=/^"(?<hook>.*)" hook:.*$/,_0x164150=_0x51310f[_0x334fb8(0x165)],_0x350aa8=_0x164150['match'](_0x1ba3c6);if(_0x350aa8&&_0x350aa8[_0x334fb8(0x157)])return _0x350aa8['groups']['hook'][_0x334fb8(0xa9)]()[_0x334fb8(0x142)]('\x20','_');return null;}['findGitConfig'](_0x11fcb1){const _0x4f1daa=a4_0x2205ca,_0x23a402={};_0x23a402[_0x4f1daa(0x151)]=function(_0x23366a,_0x5c70da){return _0x23366a===_0x5c70da;},_0x23a402[_0x4f1daa(0x178)]=_0x4f1daa(0xc7),_0x23a402['rcaHy']=_0x4f1daa(0x140);const _0x573090=_0x23a402,_0x112dad=path['sep'];if(_0x573090['rrRQy'](_0x11fcb1,null)||_0x573090['rrRQy'](_0x11fcb1,'')||_0x573090[_0x4f1daa(0x151)](_0x11fcb1,_0x112dad)||_0x573090[_0x4f1daa(0x151)](_0x11fcb1,path[_0x4f1daa(0xab)](_0x11fcb1)))return null;try{return fs[_0x4f1daa(0xe0)](path[_0x4f1daa(0x17c)](_0x11fcb1,_0x573090[_0x4f1daa(0x178)],_0x573090[_0x4f1daa(0x184)])),_0x11fcb1;}catch(_0x5a265e){const _0x569f18=path[_0x4f1daa(0xab)](_0x11fcb1);return this['findGitConfig'](_0x569f18);}}['getRootParentFile'](_0x39302a){const _0x2a1e69=a4_0x2205ca,_0x2b8813={};_0x2b8813[_0x2a1e69(0x167)]=function(_0x1cc125,_0x4429be){return _0x1cc125>_0x4429be;};const _0x4eddac=_0x2b8813;if(_0x39302a[_0x2a1e69(0xc0)])return _0x39302a[_0x2a1e69(0xc0)];if(_0x39302a[_0x2a1e69(0x11c)]){const _0x18affb=_0x39302a[_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]?this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]):null;if(_0x18affb)return _0x18affb;}if(_0x39302a['parent']){const _0x1ac304=this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x13d)])||(_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)]&&_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]?this[_0x2a1e69(0x135)](_0x39302a[_0x2a1e69(0x13d)][_0x2a1e69(0x11c)][_0x2a1e69(0xd8)]):null);if(_0x1ac304)return _0x1ac304;_0x39302a['parent'][_0x2a1e69(0xb7)]&&_0x4eddac[_0x2a1e69(0x167)](_0x39302a[_0x2a1e69(0x13d)]['suites'][_0x2a1e69(0x109)],0x0)&&_0x39302a[_0x2a1e69(0x13d)]['suites'][_0x2a1e69(0xdb)](_0x1d79df=>{const _0x59b1e4=_0x2a1e69,_0x43d0c8=_0x1d79df['ctx']?this[_0x59b1e4(0x135)](_0x1d79df[_0x59b1e4(0x11c)]):null;if(_0x43d0c8)return _0x43d0c8;});}return null;}['getHierarchy'](_0x5db31f){const _0xf26f4=a4_0x2205ca,_0xeaf8d1={};_0xeaf8d1[_0xf26f4(0x121)]=function(_0xa6473d,_0x103c38){return _0xa6473d!==_0x103c38;};const _0xd0e9b1=_0xeaf8d1,_0x26c609=[];if(_0x5db31f&&_0x5db31f[_0xf26f4(0x13d)]){let _0x53548c=_0x5db31f[_0xf26f4(0x13d)];while(_0x53548c&&_0xd0e9b1['klIUB'](_0x53548c[_0xf26f4(0x165)],'')){_0x26c609[_0xf26f4(0xd9)](_0x53548c[_0xf26f4(0x165)]),_0x53548c=_0x53548c[_0xf26f4(0x13d)];}}return _0x26c609;}['captureEvent'](_0x5a277d,_0x43537b,_0x2ac4e6=undefined){const _0x5bb9ff=a4_0x2205ca,_0x24f877={'Bytxy':function(_0x42be0d,_0x2eadd5){return _0x42be0d(_0x2eadd5);},'gpMgs':function(_0x435bec){return _0x435bec();},'DVAgi':function(_0x2a04f4){return _0x2a04f4();},'NjpsY':_0x5bb9ff(0xc9),'RbahY':'err','ERKnz':function(_0x17b7f0,_0x160686){return _0x17b7f0!==_0x160686;},'gPaGR':function(_0x5ae68c,_0x303630){return _0x5ae68c!==_0x303630;},'gQlTa':_0x5bb9ff(0x130),'ynnHa':_0x5bb9ff(0x12a),'LGYEU':_0x5bb9ff(0x162),'FmFmv':'passed','xbCIJ':'skipped','YlZcE':'javascript','MXURy':function(_0x5db64b,_0xc0e7e2){return _0x5db64b-_0xc0e7e2;},'DGxWn':function(_0x852036,_0x5c059e,_0x43bc18,_0x5d614d,_0x44de03){return _0x852036(_0x5c059e,_0x43bc18,_0x5d614d,_0x44de03);},'ZlGuG':_0x5bb9ff(0x18f),'aywUq':_0x5bb9ff(0xbc),'HooWn':_0x5bb9ff(0x110),'XAdUg':_0x5bb9ff(0x197),'aInOB':_0x5bb9ff(0x16a),'bRfCY':_0x5bb9ff(0xfb),'DctSq':_0x5bb9ff(0x113),'hnvOI':function(_0x23b733,_0x4eea35){return _0x23b733===_0x4eea35;},'PixGB':_0x5bb9ff(0xd3),'eotAj':_0x5bb9ff(0x10b)};if(!this[_0x5bb9ff(0x13c)])return;try{if(_0x43537b['fn']&&_0x43537b['fn'][_0x5bb9ff(0x137)]()[_0x5bb9ff(0xb1)](/browserstack internal helper hook/))return;const _0x4e9f54=_0x24f877[_0x5bb9ff(0x103)](parseEvent,_0x5a277d);if(!_0x4e9f54)return;if(_0x4e9f54[_0x5bb9ff(0xde)]){this['currentTest']=_0x43537b,this[_0x5bb9ff(0x186)]=null;if(_0x4e9f54[_0x5bb9ff(0x183)]||_0x4e9f54[_0x5bb9ff(0x160)]){_0x43537b[_0x5bb9ff(0xfa)]=new Date(),_0x43537b[_0x5bb9ff(0xb8)]=![];if(!_0x43537b[_0x5bb9ff(0xb2)])_0x43537b[_0x5bb9ff(0xb2)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4);else _0x43537b[_0x5bb9ff(0xb8)]&&(!_0x43537b['retryOf']&&(_0x43537b[_0x5bb9ff(0xc4)]=_0x43537b[_0x5bb9ff(0xb2)]),_0x43537b[_0x5bb9ff(0xb2)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4));}}else{if(_0x4e9f54[_0x5bb9ff(0xf7)]){this[_0x5bb9ff(0x186)]=_0x43537b;if(_0x4e9f54['started']){_0x43537b['startedAt']=new Date(),_0x43537b[_0x5bb9ff(0xb8)]=![];if(!_0x43537b[_0x5bb9ff(0xef)])_0x43537b['hookAnalyticsId']=_0x24f877[_0x5bb9ff(0xbe)](uuidv4);else _0x43537b[_0x5bb9ff(0xef)]&&_0x43537b[_0x5bb9ff(0xb8)]&&(_0x43537b[_0x5bb9ff(0xef)]=_0x24f877[_0x5bb9ff(0x15d)](uuidv4));}}}if(_0x4e9f54['finished']&&_0x43537b[_0x5bb9ff(0xb8)])return;let _0x46c391;try{_0x46c391=this[_0x5bb9ff(0x135)](_0x43537b);}catch(_0x5209b8){logger['debug'](_0x5bb9ff(0x116)+_0x5209b8),_0x46c391=null;}const _0x3fd26d=_0x24f877[_0x5bb9ff(0x103)](require,_0x24f877[_0x5bb9ff(0x122)]);let _0x557a20=[];_0x2ac4e6&&(_0x557a20=[_0x2ac4e6,_0x24f877[_0x5bb9ff(0xe2)]]);const _0xb71107=_0x24f877[_0x5bb9ff(0xfd)](_0x43537b[_0x5bb9ff(0xf3)],undefined)?_0x3fd26d[_0x5bb9ff(0x14b)](_0x43537b[_0x5bb9ff(0xf3)][0x0]):_0x24f877[_0x5bb9ff(0x155)](_0x2ac4e6,undefined)?_0x2ac4e6[_0x5bb9ff(0x137)]():undefined,_0x126019=_0x46c391?this[_0x5bb9ff(0xfe)](_0x46c391):null,_0xb7e4d4=_0x46c391?this[_0x5bb9ff(0x117)][_0x5bb9ff(0x196)](this[_0x5bb9ff(0x135)](_0x43537b)):_0x24f877[_0x5bb9ff(0x105)];let _0x1a2760=_0x24f877[_0x5bb9ff(0xeb)];const _0x40560b=!_0x4e9f54['started']?new Date()[_0x5bb9ff(0xb4)]():null;if(_0x4e9f54['finished'])_0x1a2760=_0x2ac4e6?_0x24f877[_0x5bb9ff(0x180)]:_0x24f877['FmFmv'],_0x43537b[_0x5bb9ff(0xb8)]=!![];else _0x4e9f54[_0x5bb9ff(0x160)]&&(_0x1a2760=_0x24f877[_0x5bb9ff(0x158)],_0x43537b['markedStatus']=!![]);const _0x28cd06={'framework':this[_0x5bb9ff(0x14d)],'uuid':_0x43537b[_0x5bb9ff(0xb2)]||_0x43537b[_0x5bb9ff(0xef)],'name':_0x43537b['title'],'body':{'lang':_0x24f877[_0x5bb9ff(0x106)],'code':_0x43537b[_0x5bb9ff(0xb3)]['toString']()},'type':_0x43537b[_0x5bb9ff(0x12c)],'scope':_0x43537b['fullTitle'](),'scopes':this[_0x5bb9ff(0xf8)](_0x43537b),'file_name':_0xb7e4d4,'vc_filepath':_0x126019?path['relative'](_0x126019,_0x46c391):null,'location':_0xb7e4d4,'result':_0x1a2760,'failure_reason':_0xb71107,'duration_in_ms':_0x43537b[_0x5bb9ff(0xcd)]||(_0x4e9f54[_0x5bb9ff(0x173)]||_0x4e9f54[_0x5bb9ff(0x160)])?_0x24f877[_0x5bb9ff(0x15b)](Date[_0x5bb9ff(0x125)](),new Date(_0x43537b[_0x5bb9ff(0xfa)])['getTime']()):null,'started_at':new Date(_0x43537b[_0x5bb9ff(0xfa)])[_0x5bb9ff(0xb4)](),'finished_at':_0x40560b,'failure':testOpsHelper['failureData'][_0x5bb9ff(0x120)](null,_0x557a20),'failure_type':!_0xb71107?null:testOpsHelper[_0x5bb9ff(0x119)](_0xb71107),'retry_of':_0x43537b[_0x5bb9ff(0xc4)]||null,'tags':_0x43537b[_0x5bb9ff(0x18e)]||[],'customRerunParam':{'rerun_name':_0x43537b[_0x5bb9ff(0x10c)]()}};_0x24f877[_0x5bb9ff(0x10a)](appendTesthubParams,_0x28cd06,_0x5a277d,_0x43537b,FRAMEWORKS['CODECEPT']);if(_0x4e9f54[_0x5bb9ff(0xf7)])[_0x28cd06[_0x5bb9ff(0xe4)],_0x28cd06['name']]=[this[_0x5bb9ff(0xcf)](_0x43537b),_0x43537b[_0x5bb9ff(0x11c)]['test']['title']],_0x4e9f54[_0x5bb9ff(0x173)]?_0x24f877[_0x5bb9ff(0x155)](_0x28cd06[_0x5bb9ff(0xca)],_0x24f877['LGYEU'])&&(_0x28cd06['result']=_0x24f877[_0x5bb9ff(0x10f)]):_0x28cd06[_0x5bb9ff(0xb3)]={};else _0x4e9f54[_0x5bb9ff(0xde)]&&(this[_0x5bb9ff(0x144)](_0x43537b),_0x4e9f54[_0x5bb9ff(0x160)]&&this[_0x5bb9ff(0x13f)](_0x43537b),(_0x4e9f54['finished']||_0x4e9f54['skipped'])&&(_0x28cd06[_0x5bb9ff(0xdf)]=this[_0x5bb9ff(0xf4)](_0x43537b)));this[_0x5bb9ff(0xd2)]&&(_0x4e9f54['started']||_0x4e9f54[_0x5bb9ff(0x160)])&&(_0x28cd06[_0x24f877[_0x5bb9ff(0x15c)]]=this[_0x5bb9ff(0x11b)](this['driver']));_0x4e9f54[_0x5bb9ff(0xde)]&&_0x4e9f54[_0x5bb9ff(0x173)]&&_0x43537b[_0x5bb9ff(0x12f)]&&(_0x28cd06[_0x24f877[_0x5bb9ff(0x123)]]={'feature':{'name':_0x43537b[_0x5bb9ff(0x13d)][_0x5bb9ff(0x15f)][_0x5bb9ff(0x124)],'path':_0x28cd06[_0x5bb9ff(0x145)],'description':_0x43537b[_0x5bb9ff(0x13d)]['comment']},'scenario':{'name':_0x43537b[_0x5bb9ff(0x165)]},'steps':_0x43537b[_0x5bb9ff(0x12f)]});const _0x115b8b=_0x28cd06[_0x24f877[_0x5bb9ff(0x143)]][0x0];_0x115b8b&&(_0x28cd06[_0x24f877[_0x5bb9ff(0xff)]]=_0x115b8b[_0x24f877[_0x5bb9ff(0x181)]],_0x28cd06[_0x24f877[_0x5bb9ff(0x15a)]]=_0x115b8b[_0x24f877['DctSq']]);if(_0x43537b[_0x5bb9ff(0x12f)])for(const _0x553aeb of _0x43537b[_0x5bb9ff(0x12f)]){!_0x553aeb[_0x5bb9ff(0x154)]&&(_0x553aeb[_0x5bb9ff(0x154)]=new Date()['toISOString'](),_0x24f877[_0x5bb9ff(0x14c)](_0x553aeb[_0x5bb9ff(0xca)],_0x24f877[_0x5bb9ff(0xeb)])&&(_0x115b8b?(_0x553aeb[_0x5bb9ff(0xca)]=_0x24f877[_0x5bb9ff(0x180)],_0x553aeb[_0x5bb9ff(0x110)]=_0x115b8b[_0x24f877[_0x5bb9ff(0x181)]][0x0]):_0x553aeb[_0x5bb9ff(0xca)]=_0x24f877[_0x5bb9ff(0x10f)]));}const _0x141669={};_0x141669[_0x5bb9ff(0x10d)]=_0x4e9f54[_0x5bb9ff(0x160)]?TEST_EVENTS[_0x5bb9ff(0x107)]:_0x5a277d;const _0x2702f5=_0x141669;return _0x4e9f54[_0x5bb9ff(0xf7)]?_0x2702f5[_0x24f877[_0x5bb9ff(0x111)]]=_0x28cd06:_0x2702f5[_0x24f877['eotAj']]=_0x28cd06,_0x2702f5;}catch(_0x582e00){logger[_0x5bb9ff(0x101)]('Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x5a277d+_0x5bb9ff(0x152)+_0x582e00);}}async[a4_0x2205ca(0x153)](_0xa0f4b5,_0x3b7854){const _0x379c9e=a4_0x2205ca;if(!this[_0x379c9e(0x13c)]||!_0x3b7854||!_0xa0f4b5)return![];try{return await SessionHandler[_0x379c9e(0xb9)](_0x3b7854);}catch(_0x468fd5){logger[_0x379c9e(0x101)](_0x379c9e(0x112)+_0xa0f4b5+_0x379c9e(0x152)+_0x468fd5);}}[a4_0x2205ca(0x191)](_0x3803da){const _0x4af65d=a4_0x2205ca,_0x36133a={};_0x36133a['uFijA']=_0x4af65d(0x12a);const _0x43bcf7=_0x36133a;return{'id':_0x3803da[_0x4af65d(0x139)],'text':_0x3803da[_0x4af65d(0xe8)],'keyword':_0x3803da[_0x4af65d(0xbb)],'started_at':_0x3803da[_0x4af65d(0xfa)]['toISOString'](),'result':_0x43bcf7[_0x4af65d(0xc1)]};}['bddStepStart'](_0x4fe646){const _0x480e4e=a4_0x2205ca,_0x59721e={'HONbM':function(_0x5eb0ef){return _0x5eb0ef();}};!this[_0x480e4e(0xd8)][_0x480e4e(0x12f)]&&(this[_0x480e4e(0xd8)][_0x480e4e(0x12f)]=[]),!_0x4fe646[_0x480e4e(0x139)]&&(_0x4fe646[_0x480e4e(0x139)]=_0x59721e['HONbM'](uuidv4),_0x4fe646['startedAt']=new Date(),this['currentTest']['bddSteps'][_0x480e4e(0xd9)](this['initializeBddStep'](_0x4fe646)));}[a4_0x2205ca(0xa7)](_0x61ca92){const _0x44a496=a4_0x2205ca,_0x291f41={'vFAcz':function(_0x1f7f17,_0x309900){return _0x1f7f17(_0x309900);},'gliur':_0x44a496(0xc3),'fdQRS':_0x44a496(0x12a),'sonHb':'passed','VMPap':function(_0x3fe481,_0x4edb74){return _0x3fe481-_0x4edb74;}};let _0x247be2=this['currentTest'][_0x44a496(0x12f)][_0x44a496(0xec)](_0x5926f7=>_0x5926f7['id']===_0x61ca92[_0x44a496(0x139)]);_0x291f41[_0x44a496(0x133)](isUndefined,_0x247be2)&&(_0x247be2=this[_0x44a496(0x191)](_0x61ca92)),_0x247be2[_0x44a496(0xca)]=[_0x291f41[_0x44a496(0xed)],_0x291f41[_0x44a496(0xbd)]][_0x44a496(0xa8)](_0x61ca92['status'])?_0x291f41[_0x44a496(0xea)]:_0x61ca92[_0x44a496(0xdc)],_0x247be2[_0x44a496(0x154)]=new Date()[_0x44a496(0xb4)](),_0x247be2[_0x44a496(0xcd)]=_0x291f41[_0x44a496(0xd0)](Date[_0x44a496(0x125)](),_0x61ca92[_0x44a496(0xfa)][_0x44a496(0x18c)]()),_0x247be2[_0x44a496(0x110)]=_0x61ca92[_0x44a496(0xce)]?_0x61ca92[_0x44a496(0xce)][_0x44a496(0x132)]:null;}}const a4_0x3b6e1e={};function a4_0x2b25(){const _0x407f99=['HVBSz','tqhAw','BdZDC','apply','klIUB','NjpsY','aywUq','name','now','uuid','Playwright','bind','setupBrowserDetails','pending','uGTwb','type','TestRunSkipped','shutdown','bddSteps','File\x20path\x20could\x20not\x20be\x20found','winstonLogger','message','vFAcz','then','getRootParentFile','logs','toString','client','stepAnalyticsId','stringify','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','enabled','parent','AtrLu','resetSkipTestHooks','config','ZXmkP','replace','HooWn','mapTestHooks','file_name','__cloud_provider___','bs:addLog:','156NQunuZ','9466137jRCTVt','browserType.js','inspect','hnvOI','frameworkName','7400000bUZyde','string','428862HkLtBA','rrRQy','\x20with\x20error\x20:\x20','fireEvent','finished_at','gPaGR','TestRunStarted','groups','xbCIJ','DAsfk','bRfCY','MXURy','ZlGuG','gpMgs','patchConsoleLogger','feature','skipped','./helper.js','failed','../../helpers/test-observability/requestQueueHandler','Cczos','title','vfgch','SOYsG','VLbbP','connect','backtrace','sendCBTInfo','defineProperty','34976hHjXwl','yVwlI','HOOK_RUN_FINISHED','vMQjN','DtyGm','TEST_RUN_SKIPPED','finished','kcDOO','appendTestItemLog','_testEnv','KJVaY','tSjOI','iQeGj','yXHcy','_afterAll','join','JmaRd','URPRU','STATE_PASSED','LGYEU','aInOB','HookRunStarted','started','rcaHy','JRbts','currentHook','vKLoI','getInstance','launch','accessibilityPlatform','_afterEach','getTime','qNThK','tags','integrations','xtzWB','initializeBddStep','mWftP','hcKMg','uWyWq','_beforeEach','prefixTestPath','failure_backtrace','bddStepFinish','includes','toUpperCase','../../helpers/test-observability/constants','dirname','constructor','2885714heVoWx','wgARB','../mocha/test-observability/mochaUtils','removeAllListeners','match','testAnalyticsId','body','toISOString','fiFLf','wsEndpoint','suites','markedStatus','uploadEventData','joHbk','keyword','meta','fdQRS','DVAgi','cdaYS','file','uFijA','_beforeAll','success','retryOf','573WVYPkY','TEST_EVENTS','.git','path','util','result','Not\x20able\x20to\x20import\x20Browser','1596680IEZeee','duration','err','getHookType','VMPap','pid','driver','hook_run','rGuud','lib','lZGZI','exports','currentTest','push','CBTSessionCreated','forEach','status','../utils/constants','test','hooks','statSync','hDDrb','RbahY','kWvMq','hook_type','OXGJJ','TEST_RUN_STARTED','yuXxc','text','PathHelper','sonHb','ynnHa','find','gliur','BrowserType','hookAnalyticsId','__platformCaps','toLowerCase','10877312kreaTC','errorsDetailed','getHooksForTest','browserstack','CKRkX','hook','getHierarchy','prototype','startedAt','failure_reason_expanded','../../helpers/helper','ERKnz','findGitConfig','XAdUg','zWCid','debug','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','Bytxy','sNxsH','gQlTa','YlZcE','TEST_RUN_FINISHED','location_prefix','length','DGxWn','test_run','fullTitle','event_type','EgvwD','FmFmv','failure','PixGB','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','expanded','jOZNN','../playwright/accessibility-helper','failed\x20to\x20get\x20root\x20parent\x20file\x20','_paths','hook_run_uuid','getFailureType','mnzHo','getCBTInfo','ctx'];a4_0x2b25=function(){return _0x407f99;};return a4_0x2b25();}a4_0x3b6e1e['O11yHelper']=O11yHelper,a4_0x3b6e1e[a4_0x2205ca(0x17f)]=STATE_PASSED,a4_0x3b6e1e['STATE_FAILED']=STATE_FAILED,a4_0x3b6e1e[a4_0x2205ca(0xc6)]=TEST_EVENTS,module[a4_0x2205ca(0xd7)]=a4_0x3b6e1e;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0x54d2fc=a5_0x6cab;(function(_0x2bb923,_0x1ba2fa){const _0x32daa9=a5_0x6cab,_0x345e28=_0x2bb923();while(!![]){try{const _0x117c59=parseInt(_0x32daa9(0x1d7))/0x1+-parseInt(_0x32daa9(0x22c))/0x2*(parseInt(_0x32daa9(0x20a))/0x3)+parseInt(_0x32daa9(0x1f9))/0x4*(parseInt(_0x32daa9(0x20b))/0x5)+parseInt(_0x32daa9(0x23d))/0x6*(-parseInt(_0x32daa9(0x219))/0x7)+-parseInt(_0x32daa9(0x216))/0x8*(-parseInt(_0x32daa9(0x207))/0x9)+parseInt(_0x32daa9(0x223))/0xa+-parseInt(_0x32daa9(0x21d))/0xb;if(_0x117c59===_0x1ba2fa)break;else _0x345e28['push'](_0x345e28['shift']());}catch(_0x4c29c7){_0x345e28['push'](_0x345e28['shift']());}}}(a5_0x3eb6,0x1962b));function a5_0x3eb6(){const _0x49cbe0=['testContextOptions','steps','log','testObservability','setupTCGAuth','env','stop','mergeOutputFiles','SDK_SETUP','bold','SkTaK','SvseS','../../helpers/test-observability/utils','isBrowserstackInfra','209624RxdQcM','finalExecution','processSuccess','parallelsPerPlatform','EVENTS','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stepsPassed','RWZnJ','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20skipped','scenarios','skipSessionStatus','stepsUndefined','63phfIQC','error\x20removing\x20tcg\x20config\x20file','GDRTY','67641YaDNpu','5Vzgdps','JXsMx','../utils/constants','setUserConfigPath','format','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','config','\x20undefined','finally','YKlzs','push','10392KhPcKL','ryVwO','parseFormatters','715883OcHGmB','yellow','errorMessage','CUCUMBER','189695LySLJs','framework','\x20ambiguous','length','Generating\x20consolidated\x20report...','then','2059410cKMCUK','Oiywf','logLevel','\x20passed','initialize','debug','rmdirSync','exitCode','accessibilityOptions','14kJaUfp','SDK_CLEANUP','splice','\x20failed','Mjtpk','mjpkX','path','removeDir','turboScaleUrl','../test-runner','\x20scenarios','TgWrk','cyan','Removing\x20tmp\x20directory\x20created\x20for\x20reports','stepsPending','red','../../helpers/logger','6DZTRIk','winstonLogger','BNhpu','lQjks','uJZNF','bgWhite','getUserWorkerCount','EpTpg','true','scenariosFailed','****\x20RESULTS\x20****','RKgoj','proxySettings','FRAMEWORKS','XMgQq','../../helpers/performance/constants','DmNbE','../../helpers/BrowserStackSetup','113882gbUVwc','prepareCapabilities','util','green','PutFL','../../helpers/performance/performance-tester','hAaTE','end','\x20pending','OVeZP','cucumber','launchBuild','createDir','tmp','RdPJz','printBuildLink','getPlatformName','getErrorMessageFromResults','aOdUH','forEach'];a5_0x3eb6=function(){return _0x49cbe0;};return a5_0x3eb6();}function a5_0x6cab(_0x3ce5e8,_0x3c45b0){const _0x3eb6e8=a5_0x3eb6();return a5_0x6cab=function(_0x6cab83,_0x493d15){_0x6cab83=_0x6cab83-0x1d3;let _0x312e43=_0x3eb6e8[_0x6cab83];return _0x312e43;},a5_0x6cab(_0x3ce5e8,_0x3c45b0);}const fs=require('fs'),path=require(a5_0x54d2fc(0x232)),util=require(a5_0x54d2fc(0x1d9)),logger=require(a5_0x54d2fc(0x23c))[a5_0x54d2fc(0x23e)],{default:BrowserStackSetup}=require(a5_0x54d2fc(0x1d6)),helper=require('../../helpers/helper'),utilities=require(a5_0x54d2fc(0x1fe)),constants=require(a5_0x54d2fc(0x20d)),{parallelCucumberRun}=require(a5_0x54d2fc(0x235)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x54d2fc(0x1f7)),chalk=require('chalk'),PerformanceTester=require(a5_0x54d2fc(0x1dc)),PerformanceEvents=require(a5_0x54d2fc(0x1d4))[a5_0x54d2fc(0x1fd)];function printCucumberStats(_0x1eb6cc){const _0x18dee9=a5_0x54d2fc,_0x170eab={};_0x170eab[_0x18dee9(0x1dd)]=function(_0xb5576e,_0x587401){return _0xb5576e>_0x587401;},_0x170eab[_0x18dee9(0x20c)]=function(_0x2c61a4,_0x85d276){return _0x2c61a4-_0x85d276;},_0x170eab[_0x18dee9(0x1db)]=function(_0x56601f,_0x107b74){return _0x56601f>_0x107b74;},_0x170eab[_0x18dee9(0x201)]=function(_0x29f1ff,_0x4a6162){return _0x29f1ff>_0x4a6162;},_0x170eab[_0x18dee9(0x241)]=function(_0x6b90bc,_0x242c62){return _0x6b90bc>_0x242c62;},_0x170eab[_0x18dee9(0x1e9)]=function(_0x2976ea,_0x542d7c){return _0x2976ea>_0x542d7c;},_0x170eab[_0x18dee9(0x23f)]=function(_0x5c846d,_0x890375){return _0x5c846d+_0x890375;},_0x170eab[_0x18dee9(0x240)]=function(_0x4e4552,_0xcf1eee){return _0x4e4552+_0xcf1eee;},_0x170eab['OVeZP']=function(_0x3aa300,_0x486edf){return _0x3aa300+_0x486edf;},_0x170eab[_0x18dee9(0x231)]=function(_0x49d20,_0x57caaf){return _0x49d20+_0x57caaf;},_0x170eab[_0x18dee9(0x244)]=function(_0x46fd8c,_0x9ad458){return _0x46fd8c===_0x9ad458;},_0x170eab[_0x18dee9(0x214)]=function(_0x5536be,_0x2276ba){return _0x5536be===_0x2276ba;},_0x170eab[_0x18dee9(0x217)]=_0x18dee9(0x247);const _0x6ea1ec=_0x170eab;let _0x1a41c6=0x0;if(_0x6ea1ec['YKlzs'](_0x1eb6cc[_0x18dee9(0x220)],0x0))return _0x1a41c6;return console[_0x18dee9(0x1ed)](chalk['bold'][_0x18dee9(0x242)](_0x6ea1ec[_0x18dee9(0x217)])),_0x1eb6cc[_0x18dee9(0x1ea)](_0x3f2085=>{const _0x4ac87d=_0x18dee9,_0x4baf00=_0x3f2085[0x0],_0xe12e19=_0x3f2085[0x1];console['log']('\x0a'+chalk[_0x4ac87d(0x1f4)]['yellow'](''+helper[_0x4ac87d(0x1e7)](_0x4baf00)));const _0x4cb59a=_0xe12e19[_0x4ac87d(0x204)],_0x2a98b7=_0xe12e19[_0x4ac87d(0x1ec)],_0x5cd678=_0xe12e19[_0x4ac87d(0x246)],_0x382cbf=_0xe12e19['stepsFailed'],_0x34b754=_0xe12e19[_0x4ac87d(0x200)],_0x70c956=_0xe12e19['stepsSkipped'],_0x45fc69=_0xe12e19[_0x4ac87d(0x23a)],_0x5b4586=_0xe12e19[_0x4ac87d(0x206)],_0x4ea7ff=_0xe12e19['stepsUnknown'],_0xb46a7e=_0xe12e19['stepsAmbiguous'],_0x31b36e=_0xe12e19[_0x4ac87d(0x1fb)];let _0x5574f3=_0x4cb59a+_0x4ac87d(0x236);const _0x1ba413=_0x6ea1ec[_0x4ac87d(0x1dd)](_0x6ea1ec[_0x4ac87d(0x20c)](_0x4cb59a,_0x5cd678),0x0)?_0x6ea1ec[_0x4ac87d(0x20c)](_0x4cb59a,_0x5cd678):0x0;if(_0x6ea1ec[_0x4ac87d(0x1dd)](_0x5cd678,0x0)&&_0x6ea1ec[_0x4ac87d(0x1dd)](_0x1ba413,0x0))_0x5574f3+='\x20('+chalk[_0x4ac87d(0x1f4)]['red'](_0x5cd678+_0x4ac87d(0x22f))+',\x20'+chalk[_0x4ac87d(0x1f4)]['green'](_0x1ba413+_0x4ac87d(0x226))+')';else(_0x6ea1ec['PutFL'](_0x5cd678,0x0)||_0x6ea1ec[_0x4ac87d(0x1dd)](_0x1ba413,0x0))&&(_0x5574f3+=_0x6ea1ec[_0x4ac87d(0x1dd)](_0x5cd678,0x0)?'\x20('+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x23b)](_0x5cd678+_0x4ac87d(0x22f))+')':'\x20('+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x1da)](_0x1ba413+_0x4ac87d(0x226))+')');const _0x2db55d=_0x2a98b7+'\x20steps',_0x4c75ce=[];_0x6ea1ec['hAaTE'](_0xb46a7e,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x23b)](_0xb46a7e+_0x4ac87d(0x21f)));_0x6ea1ec['RWZnJ'](_0x382cbf,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x23b)](_0x382cbf+'\x20failed'));_0x6ea1ec[_0x4ac87d(0x201)](_0x34b754,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)]['green'](_0x34b754+_0x4ac87d(0x226)));_0x6ea1ec[_0x4ac87d(0x1db)](_0x45fc69,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x21a)](_0x45fc69+_0x4ac87d(0x1df)));_0x6ea1ec[_0x4ac87d(0x201)](_0x70c956,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x238)](_0x70c956+'\x20skipped'));_0x6ea1ec['uJZNF'](_0x5b4586,0x0)&&_0x4c75ce[_0x4ac87d(0x215)](''+chalk[_0x4ac87d(0x1f4)]['yellow'](_0x5b4586+_0x4ac87d(0x212)));_0x6ea1ec[_0x4ac87d(0x1e9)](_0x4ea7ff,0x0)&&_0x4c75ce[_0x4ac87d(0x215)](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x21a)](_0x4ea7ff+_0x4ac87d(0x203)));const _0x3bd431=_0x6ea1ec[_0x4ac87d(0x23f)](_0x6ea1ec['lQjks'](_0x6ea1ec[_0x4ac87d(0x1e0)](_0x2db55d,'('),_0x4c75ce['join'](',\x20')),')');console[_0x4ac87d(0x1ed)](_0x6ea1ec[_0x4ac87d(0x23f)](_0x6ea1ec['mjpkX'](_0x6ea1ec[_0x4ac87d(0x231)](_0x6ea1ec[_0x4ac87d(0x231)]('\x0a',_0x5574f3),'\x0a'),_0x3bd431),'\x0a')),_0x6ea1ec[_0x4ac87d(0x244)](_0x31b36e,![])&&(_0x1a41c6=0x1);}),_0x1a41c6;}async function run(_0x19ba6e,_0x5b0c3c,_0x3b1ff7){const _0xa4a8b5=a5_0x54d2fc,_0x35d672={'Mjtpk':function(_0x29a5bc,_0x52df2e){return _0x29a5bc(_0x52df2e);},'GDRTY':function(_0x411060,_0x164aa3){return _0x411060>_0x164aa3;},'SvseS':_0xa4a8b5(0x221),'SkTaK':_0xa4a8b5(0x239),'vUmSB':_0xa4a8b5(0x1e1),'Oiywf':_0xa4a8b5(0x208),'XMgQq':_0xa4a8b5(0x1e4),'TgWrk':function(_0xfe6064,_0x1d6475){return _0xfe6064-_0x1d6475;},'RdPJz':function(_0x362e38,_0x71f446){return _0x362e38>=_0x71f446;},'DmNbE':function(_0x105eb8,_0x1dcbea){return _0x105eb8!=_0x1dcbea;},'RKgoj':_0xa4a8b5(0x245),'PyQGR':function(_0x25273d,_0x3e27ff,_0x2354e4,_0x33ffff,_0x3a6029,_0xa9e8fd){return _0x25273d(_0x3e27ff,_0x2354e4,_0x33ffff,_0x3a6029,_0xa9e8fd);}};await _0x3b1ff7[_0xa4a8b5(0x227)](_0x19ba6e),helper[_0xa4a8b5(0x20e)](_0x3b1ff7[_0xa4a8b5(0x21e)],_0x19ba6e);!helper[_0xa4a8b5(0x1f8)]()&&await _0x3b1ff7[_0xa4a8b5(0x1ef)]();await helper['handleApp'](_0x3b1ff7['config']);const _0x348308=helper['useW3C'](_0x3b1ff7['config']);!helper['isUndefined'](_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x22b)])&&(process[_0xa4a8b5(0x1f0)][_0xa4a8b5(0x1ff)]=JSON['stringify'](_0x3b1ff7['config'][_0xa4a8b5(0x22b)]));const _0x4bddd0=await TestHubHandler[_0xa4a8b5(0x1e2)](constants[_0xa4a8b5(0x24a)][_0xa4a8b5(0x21c)],_0x3b1ff7),_0x85e2fb=helper[_0xa4a8b5(0x1d8)](_0x3b1ff7[_0xa4a8b5(0x211)],_0x348308,constants[_0xa4a8b5(0x24a)][_0xa4a8b5(0x21c)]);if(!_0x3b1ff7[_0xa4a8b5(0x211)])return;const _0x1ec41b=_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x1fc)]||helper[_0xa4a8b5(0x243)](_0x19ba6e,_0x5b0c3c,_0x3b1ff7[_0xa4a8b5(0x211)],constants[_0xa4a8b5(0x24a)][_0xa4a8b5(0x21c)])||0x1,_0x1c4ff1={'server':helper['getHubUrl'](_0x3b1ff7[_0xa4a8b5(0x211)]),'proxySettings':_0x3b1ff7['config'][_0xa4a8b5(0x249)],'maxWorkers':_0x1ec41b,'browserStackLogLevel':_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x225)],'skipSessionName':_0x3b1ff7['config']['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x1eb)][_0xa4a8b5(0x205)],'turboScaleUrl':_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x234)]},_0x2beca6=process['argv'],[_0x3e35a7,_0x27f2ef]=helper[_0xa4a8b5(0x218)](_0x2beca6),_0x45995e=path['join'](process['cwd'](),_0x35d672[_0xa4a8b5(0x1d3)]);if(_0x35d672[_0xa4a8b5(0x209)](_0x27f2ef['length'],0x0)){helper[_0xa4a8b5(0x1e3)](_0x45995e);for(let _0x524d27=_0x35d672[_0xa4a8b5(0x237)](_0x3e35a7[_0xa4a8b5(0x220)],0x1);_0x35d672[_0xa4a8b5(0x1e5)](_0x524d27,0x0);_0x524d27--){_0x2beca6[_0xa4a8b5(0x22e)](_0x3e35a7[_0x524d27],0x2);}}_0x35d672[_0xa4a8b5(0x1d5)](_0x3b1ff7['config'][_0xa4a8b5(0x1ee)],null)?process[_0xa4a8b5(0x1f0)][_0xa4a8b5(0x202)]=_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x1ee)]:process[_0xa4a8b5(0x1f0)][_0xa4a8b5(0x202)]=_0x35d672[_0xa4a8b5(0x248)];PerformanceTester[_0xa4a8b5(0x1de)](PerformanceEvents[_0xa4a8b5(0x1f3)]);let _0x30026b;_0x35d672['PyQGR'](parallelCucumberRun,_0x85e2fb,_0x1c4ff1,_0x3b1ff7[_0xa4a8b5(0x211)],_0x2beca6,_0x27f2ef)[_0xa4a8b5(0x222)](async _0x21c4de=>{const _0x1095e6=_0xa4a8b5;PerformanceTester['start'](PerformanceEvents[_0x1095e6(0x22d)]),_0x30026b=_0x21c4de;const _0x19b397=_0x35d672[_0x1095e6(0x230)](printCucumberStats,_0x21c4de);process[_0x1095e6(0x22a)]=_0x19b397,_0x35d672[_0x1095e6(0x209)](_0x27f2ef[_0x1095e6(0x220)],0x0)&&(logger[_0x1095e6(0x228)](_0x35d672[_0x1095e6(0x1f6)]),helper[_0x1095e6(0x1f2)](_0x45995e,_0x27f2ef),logger[_0x1095e6(0x228)](_0x35d672[_0x1095e6(0x1f5)]),helper[_0x1095e6(0x233)](_0x45995e));})[_0xa4a8b5(0x213)](async()=>{const _0x1c5e47=_0xa4a8b5;PerformanceTester['start'](PerformanceEvents[_0x1c5e47(0x22d)]),_0x3b1ff7[_0x1c5e47(0x21b)]=helper[_0x1c5e47(0x1e8)](_0x30026b,_0x35d672['vUmSB']),testOpsHelper[_0x1c5e47(0x1e6)]();try{await TestHubHandler[_0x1c5e47(0x1f1)]();}catch(_0x2f7cf3){logger['debug'](_0x1c5e47(0x210)+util[_0x1c5e47(0x20f)](_0x2f7cf3));}try{const {browserstackFolderPath:_0x4a0a99,tcgConfigPath:_0x2dc3aa}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x2dc3aa),fs[_0x1c5e47(0x229)](_0x4a0a99);}catch(_0x35c56b){logger[_0x1c5e47(0x228)](_0x35d672[_0x1c5e47(0x224)],_0x35c56b);}await utilities[_0x1c5e47(0x1fa)](_0x3b1ff7);});}module['exports']=run;
2
+ 'use strict';const a5_0x245cb7=a5_0x230c;(function(_0x4f258f,_0x4aec89){const _0x5731b3=a5_0x230c,_0x7a98e2=_0x4f258f();while(!![]){try{const _0x1413a8=parseInt(_0x5731b3(0x1fc))/0x1*(-parseInt(_0x5731b3(0x1e3))/0x2)+parseInt(_0x5731b3(0x1e9))/0x3*(-parseInt(_0x5731b3(0x1b3))/0x4)+parseInt(_0x5731b3(0x203))/0x5*(-parseInt(_0x5731b3(0x1cf))/0x6)+-parseInt(_0x5731b3(0x1f6))/0x7+parseInt(_0x5731b3(0x1ef))/0x8+-parseInt(_0x5731b3(0x1de))/0x9*(-parseInt(_0x5731b3(0x1e7))/0xa)+parseInt(_0x5731b3(0x1e8))/0xb*(parseInt(_0x5731b3(0x1e5))/0xc);if(_0x1413a8===_0x4aec89)break;else _0x7a98e2['push'](_0x7a98e2['shift']());}catch(_0x4587d9){_0x7a98e2['push'](_0x7a98e2['shift']());}}}(a5_0x4b4d,0xd1c54));function a5_0x4b4d(){const _0x305273=['prepareCapabilities','stepsFailed','KUIaQ','SVFTz','SDK_SETUP','scenariosFailed','framework','tWjlC','scenarios','SDK_CLEANUP','getUserWorkerCount','../../helpers/helper','tRajL','turboScaleUrl','exitCode','jRZHt','rmdirSync','testObservability','exports','cwd','join','\x20failed','util','CUCUMBER','testContextOptions','pkAtr','true','iMZIt','712552FCmhJs','hmMtE','start','getPlatformName','cucumber','bgWhite','parseFormatters','chalk','BROWSERSTACK_TEST_OBSERVABILITY_YML','XSZDM','stop','yellow','\x20skipped','mergeOutputFiles','rSywh','stepsUnknown','winstonLogger','../utils/constants','isBrowserstackInfra','config','green','../../helpers/performance/performance-tester','stepsAmbiguous','snEFW','jxrWh','removeDir','push','env','7915722XEvErz','length','logLevel','setupTCGAuth','getHubUrl','processSuccess','iPFKv','\x20steps','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','nNmug','stringify','cyan','bold','unlinkSync','log','27108uHBFBr','brura','tmp','Generating\x20consolidated\x20report...','getErrorMessageFromResults','3267742rDXyoA','errorMessage','8224716OaqkmI','pJEXp','1560NfKMfU','88EQcMfe','24QopTzl','proxySettings','error\x20removing\x20tcg\x20config\x20file','initialize','oYJHC','setUserConfigPath','6178688OFBxnf','../../helpers/performance/constants','\x20scenarios','debug','\x20ambiguous','handleApp','yPxov','10415090Ezwrre','wzDmS','../test-runner','joiwf','stepsPending','../../helpers/test-observability/utils','1trRSKA','iXQfx','stepsUndefined','finalExecution','FRAMEWORKS','then','\x20passed','5XuJKlL','skipSessionName','../../helpers/utilities','red','BhqvA','accessibilityOptions','useW3C','printBuildLink','isUndefined'];a5_0x4b4d=function(){return _0x305273;};return a5_0x4b4d();}const fs=require('fs'),path=require('path'),util=require(a5_0x245cb7(0x1ad)),logger=require('../../helpers/logger')[a5_0x245cb7(0x1c3)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0x245cb7(0x217)),utilities=require(a5_0x245cb7(0x205)),constants=require(a5_0x245cb7(0x1c4)),{parallelCucumberRun}=require(a5_0x245cb7(0x1f8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x245cb7(0x1fb)),chalk=require(a5_0x245cb7(0x1ba)),PerformanceTester=require(a5_0x245cb7(0x1c8)),PerformanceEvents=require(a5_0x245cb7(0x1f0))['EVENTS'];function printCucumberStats(_0xead25f){const _0x40f3fd=a5_0x245cb7,_0x1dbb08={};_0x1dbb08['iMZIt']=function(_0x21797e,_0x5326ee){return _0x21797e>_0x5326ee;},_0x1dbb08['tRajL']=function(_0x48d4ab,_0x5064db){return _0x48d4ab-_0x5064db;},_0x1dbb08[_0x40f3fd(0x1b4)]=function(_0x5d18d8,_0xbbdb3e){return _0x5d18d8-_0xbbdb3e;},_0x1dbb08[_0x40f3fd(0x1d8)]=function(_0x2c162c,_0xce9b1){return _0x2c162c>_0xce9b1;},_0x1dbb08[_0x40f3fd(0x1bc)]=function(_0x59200b,_0xa5474d){return _0x59200b>_0xa5474d;},_0x1dbb08[_0x40f3fd(0x1cb)]=function(_0x5ab722,_0x1899a4){return _0x5ab722>_0x1899a4;},_0x1dbb08[_0x40f3fd(0x1b0)]=function(_0x42b062,_0x1a5508){return _0x42b062>_0x1a5508;},_0x1dbb08[_0x40f3fd(0x1ed)]=function(_0x51abef,_0x57ed6a){return _0x51abef>_0x57ed6a;},_0x1dbb08[_0x40f3fd(0x1fd)]=function(_0x2a6974,_0x1b4b81){return _0x2a6974+_0x1b4b81;},_0x1dbb08[_0x40f3fd(0x1f7)]=function(_0x2431a7,_0x2f18ee){return _0x2431a7+_0x2f18ee;},_0x1dbb08[_0x40f3fd(0x1d5)]=function(_0xb6e61e,_0x7ce281){return _0xb6e61e+_0x7ce281;},_0x1dbb08[_0x40f3fd(0x21b)]=function(_0x3d67b4,_0x3de281){return _0x3d67b4+_0x3de281;},_0x1dbb08[_0x40f3fd(0x1df)]=function(_0x358b75,_0x2365d6){return _0x358b75+_0x2365d6;},_0x1dbb08[_0x40f3fd(0x1ca)]=function(_0x5639da,_0x3ed35e){return _0x5639da===_0x3ed35e;},_0x1dbb08[_0x40f3fd(0x1c1)]=function(_0x24f3ba,_0x4b164b){return _0x24f3ba===_0x4b164b;},_0x1dbb08[_0x40f3fd(0x20e)]='****\x20RESULTS\x20****';const _0x303c97=_0x1dbb08;let _0x4aef11=0x0;if(_0x303c97[_0x40f3fd(0x1c1)](_0xead25f[_0x40f3fd(0x1d0)],0x0))return _0x4aef11;return console['log'](chalk['bold'][_0x40f3fd(0x1b8)](_0x303c97[_0x40f3fd(0x20e)])),_0xead25f['forEach'](_0x443c57=>{const _0x390dae=_0x40f3fd,_0xc878d0=_0x443c57[0x0],_0x82c44e=_0x443c57[0x1];console[_0x390dae(0x1dd)]('\x0a'+chalk[_0x390dae(0x1db)]['yellow'](''+helper[_0x390dae(0x1b6)](_0xc878d0)));const _0x430dbf=_0x82c44e[_0x390dae(0x214)],_0x1aff43=_0x82c44e['steps'],_0x5b50d3=_0x82c44e[_0x390dae(0x211)],_0x26fc13=_0x82c44e[_0x390dae(0x20d)],_0x2c04a3=_0x82c44e['stepsPassed'],_0x2ca920=_0x82c44e['stepsSkipped'],_0x40e9c0=_0x82c44e[_0x390dae(0x1fa)],_0x778fe=_0x82c44e[_0x390dae(0x1fe)],_0x500cfb=_0x82c44e[_0x390dae(0x1c2)],_0x8ea892=_0x82c44e[_0x390dae(0x1c9)],_0x23af7f=_0x82c44e[_0x390dae(0x1d4)];let _0x4c748e=_0x430dbf+_0x390dae(0x1f1);const _0x5d7b6f=_0x303c97['iMZIt'](_0x303c97[_0x390dae(0x218)](_0x430dbf,_0x5b50d3),0x0)?_0x303c97[_0x390dae(0x1b4)](_0x430dbf,_0x5b50d3):0x0;if(_0x303c97[_0x390dae(0x1b2)](_0x5b50d3,0x0)&&_0x303c97[_0x390dae(0x1b2)](_0x5d7b6f,0x0))_0x4c748e+='\x20('+chalk['bold'][_0x390dae(0x206)](_0x5b50d3+_0x390dae(0x1ac))+',\x20'+chalk[_0x390dae(0x1db)]['green'](_0x5d7b6f+_0x390dae(0x202))+')';else(_0x303c97[_0x390dae(0x1d8)](_0x5b50d3,0x0)||_0x303c97[_0x390dae(0x1d8)](_0x5d7b6f,0x0))&&(_0x4c748e+=_0x303c97[_0x390dae(0x1bc)](_0x5b50d3,0x0)?'\x20('+chalk[_0x390dae(0x1db)][_0x390dae(0x206)](_0x5b50d3+_0x390dae(0x1ac))+')':'\x20('+chalk[_0x390dae(0x1db)][_0x390dae(0x1c7)](_0x5d7b6f+'\x20passed')+')');const _0x50c574=_0x1aff43+_0x390dae(0x1d6),_0x5939b9=[];_0x303c97[_0x390dae(0x1cb)](_0x8ea892,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x206)](_0x8ea892+_0x390dae(0x1f3)));_0x303c97['XSZDM'](_0x26fc13,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x206)](_0x26fc13+_0x390dae(0x1ac)));_0x303c97[_0x390dae(0x1b0)](_0x2c04a3,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk[_0x390dae(0x1db)][_0x390dae(0x1c7)](_0x2c04a3+_0x390dae(0x202)));_0x303c97[_0x390dae(0x1bc)](_0x40e9c0,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk[_0x390dae(0x1db)][_0x390dae(0x1be)](_0x40e9c0+'\x20pending'));_0x303c97[_0x390dae(0x1ed)](_0x2ca920,0x0)&&_0x5939b9['push'](''+chalk['bold'][_0x390dae(0x1da)](_0x2ca920+_0x390dae(0x1bf)));_0x303c97[_0x390dae(0x1b2)](_0x778fe,0x0)&&_0x5939b9['push'](''+chalk[_0x390dae(0x1db)]['yellow'](_0x778fe+'\x20undefined'));_0x303c97[_0x390dae(0x1ed)](_0x500cfb,0x0)&&_0x5939b9[_0x390dae(0x1cd)](''+chalk['bold'][_0x390dae(0x1be)](_0x500cfb+'\x20skipped'));const _0x165e05=_0x303c97['iXQfx'](_0x303c97[_0x390dae(0x1fd)](_0x303c97[_0x390dae(0x1f7)](_0x50c574,'('),_0x5939b9[_0x390dae(0x220)](',\x20')),')');console[_0x390dae(0x1dd)](_0x303c97[_0x390dae(0x1f7)](_0x303c97['iPFKv'](_0x303c97[_0x390dae(0x21b)](_0x303c97[_0x390dae(0x1df)]('\x0a',_0x4c748e),'\x0a'),_0x165e05),'\x0a')),_0x303c97['snEFW'](_0x23af7f,![])&&(_0x4aef11=0x1);}),_0x4aef11;}function a5_0x230c(_0x2d6bd3,_0x71adcb){const _0x4b4ddb=a5_0x4b4d();return a5_0x230c=function(_0x230c3b,_0x4539bf){_0x230c3b=_0x230c3b-0x1ac;let _0x57a324=_0x4b4ddb[_0x230c3b];return _0x57a324;},a5_0x230c(_0x2d6bd3,_0x71adcb);}async function run(_0x34958e,_0x77c30b,_0x2c5939){const _0x578aea=a5_0x245cb7,_0x526723={'yPxov':function(_0x3bb020,_0x2b9dec){return _0x3bb020(_0x2b9dec);},'EFdvL':function(_0xd475f1,_0x466034){return _0xd475f1>_0x466034;},'Rwfmm':_0x578aea(0x1e1),'SVFTz':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','BhqvA':_0x578aea(0x1b7),'rospz':_0x578aea(0x1eb),'TQsao':_0x578aea(0x1e0),'tWjlC':function(_0x316858,_0x4cb22b){return _0x316858>_0x4cb22b;},'pJEXp':function(_0x5d52ca,_0x5b31cd){return _0x5d52ca-_0x5b31cd;},'tfazv':function(_0x4a95b1,_0x80e87b){return _0x4a95b1>=_0x80e87b;},'joiwf':function(_0x366e7c,_0x3bc10c){return _0x366e7c!=_0x3bc10c;},'Kssaz':_0x578aea(0x1b1),'SHyQk':function(_0x293adb,_0x41af96,_0x1dc560,_0x515862,_0x72787f,_0x5d3aa8){return _0x293adb(_0x41af96,_0x1dc560,_0x515862,_0x72787f,_0x5d3aa8);}};await _0x2c5939[_0x578aea(0x1ec)](_0x34958e),helper[_0x578aea(0x1ee)](_0x2c5939[_0x578aea(0x212)],_0x34958e);!helper[_0x578aea(0x1c5)]()&&await _0x2c5939[_0x578aea(0x1d2)]();await helper[_0x578aea(0x1f4)](_0x2c5939[_0x578aea(0x1c6)]);const _0x371811=helper[_0x578aea(0x209)](_0x2c5939[_0x578aea(0x1c6)]);!helper[_0x578aea(0x20b)](_0x2c5939['config'][_0x578aea(0x208)])&&(process['env'][_0x578aea(0x1d7)]=JSON[_0x578aea(0x1d9)](_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x208)]));const _0x9eb633=await TestHubHandler['launchBuild'](constants['FRAMEWORKS']['CUCUMBER'],_0x2c5939),_0x34c734=helper[_0x578aea(0x20c)](_0x2c5939[_0x578aea(0x1c6)],_0x371811,constants['FRAMEWORKS'][_0x578aea(0x1ae)]);if(!_0x2c5939[_0x578aea(0x1c6)])return;const _0x84cc6f=_0x2c5939[_0x578aea(0x1c6)]['parallelsPerPlatform']||helper[_0x578aea(0x216)](_0x34958e,_0x77c30b,_0x2c5939[_0x578aea(0x1c6)],constants[_0x578aea(0x200)][_0x578aea(0x1ae)])||0x1,_0x4478bc={'server':helper[_0x578aea(0x1d3)](_0x2c5939['config']),'proxySettings':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1ea)],'maxWorkers':_0x84cc6f,'browserStackLogLevel':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1d1)],'skipSessionName':_0x2c5939[_0x578aea(0x1c6)]['testContextOptions'][_0x578aea(0x204)],'skipSessionStatus':_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x1af)]['skipSessionStatus'],'turboScaleUrl':_0x2c5939['config'][_0x578aea(0x219)]},_0x503e34=process['argv'],[_0x2f3d5a,_0x94c0ef]=helper[_0x578aea(0x1b9)](_0x503e34),_0x3b5af0=path[_0x578aea(0x220)](process[_0x578aea(0x21f)](),_0x526723['TQsao']);if(_0x526723[_0x578aea(0x213)](_0x94c0ef[_0x578aea(0x1d0)],0x0)){helper['createDir'](_0x3b5af0);for(let _0xce7f8c=_0x526723[_0x578aea(0x1e6)](_0x2f3d5a['length'],0x1);_0x526723['tfazv'](_0xce7f8c,0x0);_0xce7f8c--){_0x503e34['splice'](_0x2f3d5a[_0xce7f8c],0x2);}}_0x526723[_0x578aea(0x1f9)](_0x2c5939[_0x578aea(0x1c6)][_0x578aea(0x21d)],null)?process[_0x578aea(0x1ce)][_0x578aea(0x1bb)]=_0x2c5939['config']['testObservability']:process[_0x578aea(0x1ce)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x526723['Kssaz'];PerformanceTester['end'](PerformanceEvents[_0x578aea(0x210)]);let _0x5361f7;_0x526723['SHyQk'](parallelCucumberRun,_0x34c734,_0x4478bc,_0x2c5939[_0x578aea(0x1c6)],_0x503e34,_0x94c0ef)[_0x578aea(0x201)](async _0x231eea=>{const _0x45747e=_0x578aea;PerformanceTester[_0x45747e(0x1b5)](PerformanceEvents[_0x45747e(0x215)]),_0x5361f7=_0x231eea;const _0x28b688=_0x526723[_0x45747e(0x1f5)](printCucumberStats,_0x231eea);process[_0x45747e(0x21a)]=_0x28b688,_0x526723['EFdvL'](_0x94c0ef[_0x45747e(0x1d0)],0x0)&&(logger[_0x45747e(0x1f2)](_0x526723['Rwfmm']),helper[_0x45747e(0x1c0)](_0x3b5af0,_0x94c0ef),logger[_0x45747e(0x1f2)](_0x526723[_0x45747e(0x20f)]),helper[_0x45747e(0x1cc)](_0x3b5af0));})['finally'](async()=>{const _0x26c7d8=_0x578aea;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x2c5939[_0x26c7d8(0x1e4)]=helper[_0x26c7d8(0x1e2)](_0x5361f7,_0x526723[_0x26c7d8(0x207)]),testOpsHelper[_0x26c7d8(0x20a)]();try{await TestHubHandler[_0x26c7d8(0x1bd)]();}catch(_0x41875f){logger[_0x26c7d8(0x1f2)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x41875f));}try{const {browserstackFolderPath:_0x306565,tcgConfigPath:_0x5b14da}=helper['getTCGConfigFilePaths']();fs[_0x26c7d8(0x1dc)](_0x5b14da),fs[_0x26c7d8(0x21c)](_0x306565);}catch(_0xb01ae5){logger[_0x26c7d8(0x1f2)](_0x526723['rospz'],_0xb01ae5);}await utilities[_0x26c7d8(0x1ff)](_0x2c5939);});}module[a5_0x245cb7(0x21e)]=run;