browserstack-node-sdk 1.34.54 → 1.34.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/ai-sdk-node/bundle.js +1 -1
  42. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  43. package/src/bin/codeceptjs/command.js +1 -1
  44. package/src/bin/codeceptjs/helper.js +1 -1
  45. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  46. package/src/bin/cucumber-js/command.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  48. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  49. package/src/bin/cucumber-js/test-observability.js +1 -1
  50. package/src/bin/cucumber-js/test.setup.js +1 -1
  51. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  52. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  53. package/src/bin/integrations/command.js +1 -1
  54. package/src/bin/integrations/constants.js +1 -1
  55. package/src/bin/jest/command.js +1 -1
  56. package/src/bin/jest/customImplements/customCircus.js +1 -1
  57. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  58. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  59. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  60. package/src/bin/jest/jest.setup.js +1 -1
  61. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  62. package/src/bin/jest/test-observability/helper.js +1 -1
  63. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  64. package/src/bin/jest/test-observability/test-details.js +1 -1
  65. package/src/bin/jest/test_before.setup.js +1 -1
  66. package/src/bin/launcher/launcher.js +1 -1
  67. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  68. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  69. package/src/bin/mocha/command.js +1 -1
  70. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  71. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  72. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  73. package/src/bin/mocha/test.setup.js +1 -1
  74. package/src/bin/nightwatch/command.js +1 -1
  75. package/src/bin/playwright/accessibility-helper.js +1 -1
  76. package/src/bin/playwright/command.js +1 -1
  77. package/src/bin/playwright/globalSetup.js +1 -1
  78. package/src/bin/playwright/mock-process.js +1 -1
  79. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  80. package/src/bin/playwright/patches.js +1 -1
  81. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  82. package/src/bin/playwright/reporter/reporter.js +1 -1
  83. package/src/bin/playwright/reporter/test-details.js +1 -1
  84. package/src/bin/playwright/sessionDetails.js +1 -1
  85. package/src/bin/runner.js +1 -1
  86. package/src/bin/setup.js +1 -1
  87. package/src/bin/test-runner/index.js +1 -1
  88. package/src/bin/test-runner/runTest.js +1 -1
  89. package/src/bin/test-runner/testWorker.js +1 -1
  90. package/src/bin/utils/constants.js +1 -1
  91. package/src/bin/utils/log4jsAppender.js +1 -1
  92. package/src/bin/utils/logPatcher.js +1 -1
  93. package/src/bin/utils/logReportingAPI.js +1 -1
  94. package/src/bin/vanilla-js/command.js +1 -1
  95. package/src/browserStackSdk.js +1 -1
  96. package/src/helpers/BrowserStackSetup.js +1 -1
  97. package/src/helpers/accessibility-automation/constants.js +1 -1
  98. package/src/helpers/accessibility-automation/helper.js +1 -1
  99. package/src/helpers/accessibility-automation/scripts.js +1 -1
  100. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  101. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  102. package/src/helpers/ats/constants.js +1 -1
  103. package/src/helpers/ats/helper.js +1 -1
  104. package/src/helpers/capsMapping.js +1 -1
  105. package/src/helpers/central-scanner/constants.js +1 -1
  106. package/src/helpers/central-scanner/helpers.js +1 -1
  107. package/src/helpers/globals.js +1 -1
  108. package/src/helpers/helper.js +1 -1
  109. package/src/helpers/logger.js +1 -1
  110. package/src/helpers/metadata.js +1 -1
  111. package/src/helpers/patchHelper.js +1 -1
  112. package/src/helpers/patchHelpers.js +1 -1
  113. package/src/helpers/percy/Percy.js +1 -1
  114. package/src/helpers/percy/PercyBinary.js +1 -1
  115. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  116. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  117. package/src/helpers/percy/PercySDK.js +1 -1
  118. package/src/helpers/percy/index.js +1 -1
  119. package/src/helpers/percy/utils.js +1 -1
  120. package/src/helpers/performance/constants.js +1 -1
  121. package/src/helpers/performance/performance-tester.js +1 -1
  122. package/src/helpers/processHelper.js +1 -1
  123. package/src/helpers/request-spy.js +1 -1
  124. package/src/helpers/setKeepAlive.js +1 -1
  125. package/src/helpers/test-observability/constants.js +1 -1
  126. package/src/helpers/test-observability/error-handler.js +1 -1
  127. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  128. package/src/helpers/test-observability/sessionHandler.js +1 -1
  129. package/src/helpers/test-observability/utils.js +1 -1
  130. package/src/helpers/testhub/constants.js +1 -1
  131. package/src/helpers/testhub/testhubHandler.js +1 -1
  132. package/src/helpers/testhub/utils.js +1 -1
  133. package/src/helpers/timeoutPromise.js +1 -1
  134. package/src/helpers/utilities.js +1 -1
  135. package/src/helpers/w3cMapping.js +1 -1
  136. package/src/hubAllocationMethods.js +1 -1
  137. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a1_0x4772ab=a1_0x3030;(function(_0x4425af,_0x1019e7){const _0x382bbd=a1_0x3030,_0xf29108=_0x4425af();while(!![]){try{const _0x3eb543=-parseInt(_0x382bbd(0x166))/0x1*(-parseInt(_0x382bbd(0x12a))/0x2)+-parseInt(_0x382bbd(0x8b))/0x3*(parseInt(_0x382bbd(0xb6))/0x4)+-parseInt(_0x382bbd(0x134))/0x5+-parseInt(_0x382bbd(0x94))/0x6+parseInt(_0x382bbd(0x15b))/0x7+-parseInt(_0x382bbd(0xf9))/0x8+parseInt(_0x382bbd(0xfb))/0x9;if(_0x3eb543===_0x1019e7)break;else _0xf29108['push'](_0xf29108['shift']());}catch(_0x6c5556){_0xf29108['push'](_0xf29108['shift']());}}}(a1_0x4217,0xd4bec));const fs=require('fs'),util=require(a1_0x4772ab(0x127)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4772ab(0xbf)),logger=require(a1_0x4772ab(0x106))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require(a1_0x4772ab(0x160)),PlaywrightSessionDetails=require(a1_0x4772ab(0xbd)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4772ab(0xc3)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4772ab(0x13c)),AccessibilityHelper=require(a1_0x4772ab(0xa7)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x4772ab(0x100)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require('../../helpers/performance/constants'),{processWebDriverConfig,shouldPatchExecuteScript}=require('./helper.js'),testHubConstants=require(a1_0x4772ab(0x164)),globals=require(a1_0x4772ab(0xba)),CodeceptJS=requireModule('codeceptjs/lib/index.js','codeceptjs'),CodeceptUtils=requireModule(a1_0x4772ab(0xc6),a1_0x4772ab(0x158)),CodeceptWebDriver=requireModule(a1_0x4772ab(0xb7),a1_0x4772ab(0x158)),CodeceptRecorder=requireModule(a1_0x4772ab(0x13a),a1_0x4772ab(0x158)),CodeceptPlaywright=requireModule(a1_0x4772ab(0xb9),a1_0x4772ab(0x158)),playwrightMarkSessionStatus=(_0x1a0a18,_0x275b72,_0x4c2658)=>{const _0x31fb83=a1_0x4772ab,_0x113353={'fXrLm':_0x31fb83(0xad),'WZBYg':function(_0x54457d,_0x465c28){return _0x54457d(_0x465c28);}},_0x1cba1f={};_0x1cba1f[_0x31fb83(0x8c)]=_0x275b72;const _0x469864={};_0x469864[_0x31fb83(0x14f)]=_0x113353['fXrLm'],_0x469864[_0x31fb83(0xf3)]=_0x1cba1f;const _0x2244ff=_0x469864;return!_0x113353[_0x31fb83(0x131)](isUndefined,_0x4c2658)&&(_0x2244ff['arguments'][_0x31fb83(0xfd)]=JSON[_0x31fb83(0xa4)](_0x4c2658)),_0x1a0a18[_0x31fb83(0x155)](()=>{},'browserstack_executor:\x20'+JSON[_0x31fb83(0xa4)](_0x2244ff));},o11ySync=PerformanceTester[a1_0x4772ab(0xb1)](PerformanceO11yEvents[a1_0x4772ab(0xa8)],async _0x662cd8=>{const _0x3f3895=a1_0x4772ab,_0x5e980f={};_0x5e980f[_0x3f3895(0x159)]=function(_0x1cc523,_0x316bac){return _0x1cc523===_0x316bac;},_0x5e980f[_0x3f3895(0xdc)]='Playwright';const _0x143112=_0x5e980f;_0x143112['pyPGe'](_0x662cd8[_0x3f3895(0x128)][_0x3f3895(0x137)],_0x143112[_0x3f3895(0xdc)])?await _0x662cd8[_0x3f3895(0x155)](_0x18493a=>{},testOpsHelper[_0x3f3895(0xbb)]()):await _0x662cd8['executeScript'](testOpsHelper[_0x3f3895(0xbb)]());}),markSessionName=PerformanceTester[a1_0x4772ab(0xb1)](PerformanceAutEvents[a1_0x4772ab(0x152)],async(_0xf5a79c,_0x45b3a4)=>{const _0x3fac66=a1_0x4772ab,_0x14569e={};_0x14569e[_0x3fac66(0x138)]=_0x3fac66(0xcb),_0x14569e['Ghszc']=function(_0x2217a8,_0x27b124){return _0x2217a8===_0x27b124;},_0x14569e[_0x3fac66(0x143)]=_0x3fac66(0xd0);const _0x45437e=_0x14569e,_0x2c0dc9={};_0x2c0dc9[_0x3fac66(0x137)]=_0x45b3a4;const _0xbf0fe8={};_0xbf0fe8[_0x3fac66(0x14f)]=_0x45437e['UOpBV'],_0xbf0fe8['arguments']=_0x2c0dc9;const _0x51ecb1=_0xbf0fe8;_0x45437e[_0x3fac66(0x149)](_0xf5a79c['constructor'][_0x3fac66(0x137)],_0x45437e[_0x3fac66(0x143)])?await _0xf5a79c['executeScript'](()=>{},_0x3fac66(0x9b)+JSON[_0x3fac66(0xa4)](_0x51ecb1)):await _0xf5a79c['executeScript']('browserstack_executor:\x20'+JSON[_0x3fac66(0xa4)](_0x51ecb1));}),patchSaveScreenshot=_0x14791b=>{const _0x49fac2=a1_0x4772ab,_0x3da818={'nzLNA':_0x49fac2(0xde),'hCpPX':_0x49fac2(0x13d),'btlGD':function(_0x177a02){return _0x177a02();},'PDkWV':function(_0x5aeb78,_0x2e610b){return _0x5aeb78(_0x2e610b);},'aHWLF':_0x49fac2(0xdb)};_0x3da818[_0x49fac2(0x99)](isTrue,process[_0x49fac2(0xce)][_0x49fac2(0x133)])&&!_0x14791b['patchSaveScreenshot']&&(_0x14791b[_0x49fac2(0x11a)]=!![],_0x14791b[_0x49fac2(0xd8)]=_0x14791b[_0x49fac2(0x120)],_0x14791b[_0x49fac2(0x120)]=(_0x66be95,_0x43808c=![])=>{const _0x29b792=_0x49fac2,_0x40cc7f={'gFyBN':_0x3da818['nzLNA'],'dnaXw':_0x3da818[_0x29b792(0xae)],'GWgUC':function(_0x2da14c){const _0x4a4207=_0x29b792;return _0x3da818[_0x4a4207(0x10f)](_0x2da14c);},'VCTfI':function(_0x13e0c2,_0x113cf7){const _0xe8f750=_0x29b792;return _0x3da818[_0xe8f750(0x99)](_0x13e0c2,_0x113cf7);},'LQezA':_0x3da818[_0x29b792(0x10b)]};return new Promise(function(_0x3ba78f,_0x5dee3d){const _0xbee4b6=_0x29b792,_0x5862cd={'DDThs':_0x40cc7f[_0xbee4b6(0x8e)],'hqxVg':_0x40cc7f['dnaXw'],'RAdAf':function(_0x3e4ed4){const _0x13b128=_0xbee4b6;return _0x40cc7f[_0x13b128(0x91)](_0x3e4ed4);},'hHjxL':function(_0x48b7d1,_0x585243){const _0x32c894=_0xbee4b6;return _0x40cc7f[_0x32c894(0xe0)](_0x48b7d1,_0x585243);},'SJHcS':_0x40cc7f['LQezA']};_0x14791b[_0xbee4b6(0xd8)](_0x66be95,_0x43808c)[_0xbee4b6(0xfe)](()=>{const _0x43ab1e=_0xbee4b6,_0x19961b=CodeceptUtils[_0x43ab1e(0x132)](_0x66be95);if(_0x19961b){const _0x2c2ac2=fs['readFileSync'](_0x19961b);process['emit'](_0x43ab1e(0x165)+process[_0x43ab1e(0xbc)],{'timestamp':new Date()['toISOString'](),'message':_0x2c2ac2[_0x43ab1e(0xd6)](_0x5862cd[_0x43ab1e(0x157)]),'kind':_0x5862cd[_0x43ab1e(0x119)]}),_0x5862cd['RAdAf'](_0x3ba78f);}_0x5862cd[_0x43ab1e(0xc8)](_0x5dee3d,new Error(_0x5862cd[_0x43ab1e(0xc4)]));})[_0xbee4b6(0x151)](()=>null);});});},patchWebDriverBefore=_0x342147=>{const _0x5440f4=a1_0x4772ab,_0x4cdd8e={'xLmFz':function(_0x1c3424){return _0x1c3424();},'gJqFg':function(_0x10f9cb,_0xeac8f6){return _0x10f9cb(_0xeac8f6);},'ocaQY':function(_0x2c2551,_0x3ee50b){return _0x2c2551===_0x3ee50b;},'Pcbxo':'Element','QOYkJ':function(_0x397a9c,_0x5e7588){return _0x397a9c(_0x5e7588);}},_0x341476=async function(_0x388eb2,_0x217f7d){const _0x589d5f=a1_0x3030;return _0x4cdd8e[_0x589d5f(0x15a)](isAccessibilityAutomationSession)&&!global[_0x589d5f(0xbe)]&&global[_0x589d5f(0x105)]&&scripts['shouldWrapCommand'](_0x388eb2['name'])&&_0x4cdd8e[_0x589d5f(0xc7)](shouldPatchExecuteScript,arguments[0x2])&&(global['bstackAllyScanning']=!![],await PerformanceTester[_0x589d5f(0xb1)](PerformanceA11yEvents[_0x589d5f(0xe4)],async()=>{const _0x1ac51c=_0x589d5f;logger[_0x1ac51c(0xe3)](_0x1ac51c(0x10e)+_0x388eb2['class']+'\x20'+_0x388eb2['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x342147,scripts[_0x1ac51c(0xa9)]);},{'command':_0x388eb2[_0x589d5f(0x137)]})()),global['bstackAllyScanning']=![],_0x217f7d[_0x589d5f(0xdd)](this,Array['prototype'][_0x589d5f(0xed)]['call'](arguments,0x2));},_0x51aefe=CodeceptWebDriver[_0x5440f4(0x9f)][_0x5440f4(0x9a)];CodeceptWebDriver['prototype'][_0x5440f4(0x9a)]=async function(){const _0x5b77b7=_0x5440f4,_0x1a9c94={'Qquqv':function(_0x5d2f65,_0x44dba2){const _0x51d327=a1_0x3030;return _0x4cdd8e[_0x51d327(0xf6)](_0x5d2f65,_0x44dba2);},'KusmF':_0x4cdd8e[_0x5b77b7(0x15c)]};try{await _0x51aefe[_0x5b77b7(0xdd)](this,arguments);}catch(_0x3bc7c3){logger['debug'](_0x5b77b7(0x10a)+util[_0x5b77b7(0x162)](_0x3bc7c3));}scripts[_0x5b77b7(0xee)][_0x5b77b7(0x101)](_0x564ab9=>_0x564ab9[_0x5b77b7(0x137)]&&_0x564ab9['class'])[_0x5b77b7(0x12f)](_0x4697f3=>{const _0x582a3b=_0x5b77b7;this[_0x582a3b(0x9d)][_0x582a3b(0x10d)](_0x4697f3[_0x582a3b(0x137)],_0x341476[_0x582a3b(0x11b)](this,_0x4697f3),_0x1a9c94[_0x582a3b(0x115)](_0x4697f3['class'],_0x1a9c94['KusmF']));}),_0x4cdd8e[_0x5b77b7(0x13b)](processWebDriverConfig,_0x342147);};},patchPlaywrightBefore=()=>{const _0x435b19=a1_0x4772ab;PlaywrightSessionDetails['patch']();const _0x2da8b3=CodeceptPlaywright[_0x435b19(0x9f)][_0x435b19(0x9a)];CodeceptPlaywright[_0x435b19(0x9f)][_0x435b19(0x9a)]=async function(){const _0x55269b=_0x435b19;this[_0x55269b(0x108)]=await this[_0x55269b(0x9d)][_0x55269b(0x136)]()[0x0],await _0x2da8b3[_0x55269b(0xdd)](this,arguments);};},getCodeceptDriver=()=>{const _0x2da39c=a1_0x4772ab,_0x44e4da={};_0x44e4da[_0x2da39c(0x8f)]='WebDriver',_0x44e4da[_0x2da39c(0x110)]=_0x2da39c(0xd0),_0x44e4da[_0x2da39c(0xe1)]=_0x2da39c(0x107),_0x44e4da[_0x2da39c(0xc1)]=_0x2da39c(0x12b);const _0xb438e7=_0x44e4da,_0x4a4876=[_0xb438e7['lgAUs'],_0xb438e7[_0x2da39c(0x110)],_0xb438e7[_0x2da39c(0xe1)],_0xb438e7[_0x2da39c(0xc1)]],_0x4ae986=_0x4a4876['find'](_0x6fe4b3=>!!CodeceptJS['container'][_0x2da39c(0xb4)](_0x6fe4b3));if(!_0x4ae986)return null;return CodeceptJS[_0x2da39c(0xaa)][_0x2da39c(0xb4)](_0x4ae986);};module['exports']=function(_0xc8b857){const _0x5485f8=a1_0x4772ab,_0x5d4c22={'TNoMK':function(_0x4bfb37){return _0x4bfb37();},'XmWBH':function(_0x134c52,_0xb647bf){return _0x134c52(_0xb647bf);},'xNBjD':'getAccessibilityResultsSummary','hmKwV':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','ahDMb':'getAccessibilityResults','Wpxsg':_0x5485f8(0x140),'jTXYx':_0x5485f8(0x126),'bXIck':_0x5485f8(0x90),'eXVfU':_0x5485f8(0x12e),'qPPiz':_0x5485f8(0x13e),'LTLpl':function(_0x562e7c){return _0x562e7c();},'LKPch':_0x5485f8(0xf7),'WGOnX':function(_0x41a1e5){return _0x41a1e5();},'Vduuf':function(_0x714e14,_0x3d3ae3,_0x4f65ed){return _0x714e14(_0x3d3ae3,_0x4f65ed);},'xuvxN':'test-started','cmTTG':function(_0x2c5337,_0x135085,_0x2e869e){return _0x2c5337(_0x135085,_0x2e869e);},'MXEKA':function(_0x232331){return _0x232331();},'lXyAY':_0x5485f8(0x8d),'fIWXH':function(_0x187592,_0x25fb00,_0x1c6665,_0x1ef9ca){return _0x187592(_0x25fb00,_0x1c6665,_0x1ef9ca);},'AziZv':function(_0x152d48,_0x12cb8,_0x54aa02,_0x2714b9){return _0x152d48(_0x12cb8,_0x54aa02,_0x2714b9);},'EGutB':function(_0x548800,_0x43b0d6){return _0x548800===_0x43b0d6;},'CiCUY':_0x5485f8(0xb3),'heSpZ':_0x5485f8(0xa3),'Fxjpa':_0x5485f8(0x121),'AkLsV':_0x5485f8(0x125),'lHidg':function(_0x2493c3){return _0x2493c3();},'fPEFA':function(_0xb9c4de,_0xdeb62b,_0x945979){return _0xb9c4de(_0xdeb62b,_0x945979);},'TJhqI':function(_0x185465){return _0x185465();},'IXMpJ':_0x5485f8(0xab),'FozNI':_0x5485f8(0x14c),'QICRg':_0x5485f8(0xd5),'ANaTp':'TEST_LOG','RzyKy':'step-comment','xnMsy':_0x5485f8(0x146),'YvxFY':_0x5485f8(0xd4),'gABND':function(_0x177732){return _0x177732();},'vWIQa':_0x5485f8(0xd0)};_0xc8b857[_0x5485f8(0xe2)]&&(global[_0x5485f8(0xe5)]=_0xc8b857[_0x5485f8(0xe2)]);PerformanceTester[_0x5485f8(0x153)]();const _0x43d81c=_0x5d4c22['gABND'](getCodeceptDriver),_0x4b4e6f=new O11yHelper(_0x43d81c,_0xc8b857),_0x3c625f=!!CodeceptJS[_0x5485f8(0xaa)][_0x5485f8(0xb4)](_0x5d4c22[_0x5485f8(0xdf)]);global[_0x5485f8(0x95)]=_0x43d81c,_0x43d81c&&(PerformanceTester[_0x5485f8(0xb1)](PerformanceEvents[_0x5485f8(0x139)],()=>{const _0x2c724e=_0x5485f8;_0x3c625f?_0x5d4c22[_0x2c724e(0x8a)](patchPlaywrightBefore):_0x5d4c22[_0x2c724e(0xaf)](patchWebDriverBefore,_0x43d81c);})(),PerformanceTester[_0x5485f8(0xb1)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x34d5ee=_0x5485f8;_0x43d81c[_0x34d5ee(0xcd)]=async()=>{const _0x828964=_0x34d5ee;if(global[_0x828964(0x105)]){const _0x30b040={};_0x30b040[_0x828964(0xec)]=_0x5d4c22[_0x828964(0x11d)],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x241fdd=_0x828964;await AccessibilityHelper[_0x241fdd(0x10c)](_0x43d81c,scripts[_0x241fdd(0xa9)]);},_0x30b040)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x828964(0x14b)],async()=>{const _0x53a22e=_0x828964;await AccessibilityHelper['browserStackExecuteDriver'](_0x43d81c,scripts[_0x53a22e(0xb2)]);})();}else return logger[_0x828964(0x145)](_0x5d4c22['hmKwV']),{};},_0x43d81c[_0x34d5ee(0xd7)]=async()=>{const _0x1f4911=_0x34d5ee;if(global[_0x1f4911(0x105)]){const _0xacf378={};_0xacf378['command']=_0x5d4c22[_0x1f4911(0xe6)],await PerformanceTester[_0x1f4911(0xb1)](PerformanceA11yEvents[_0x1f4911(0xe4)],async()=>{const _0x2e7dd6=_0x1f4911;await AccessibilityHelper[_0x2e7dd6(0x10c)](_0x43d81c,scripts[_0x2e7dd6(0xa9)]);},_0xacf378)(),await PerformanceTester[_0x1f4911(0xb1)](PerformanceA11yEvents[_0x1f4911(0xa0)],async()=>{const _0x1e2b67=_0x1f4911;await AccessibilityHelper['browserStackExecuteDriver'](_0x43d81c,scripts[_0x1e2b67(0xff)]);})();}else return logger['warn'](_0x5d4c22[_0x1f4911(0x142)]),{};},_0x5d4c22[_0x34d5ee(0xaf)](patchSaveScreenshot,_0x43d81c);})()),CodeceptJS[_0x5485f8(0xef)]['dispatcher']['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xe8)][_0x5485f8(0xf2)],()=>{const _0x54a807=_0x5485f8;PerformanceTester[_0x54a807(0xd3)](PerformanceEvents[_0x54a807(0xfa)]);try{_0x4b4e6f[_0x54a807(0xd3)](),testOpsHelper['addRequestSpy'](),PerformanceTester[_0x54a807(0x15e)](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x377a0b){PerformanceTester[_0x54a807(0x163)](_0x377a0b),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x377a0b);}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xe8)][_0x5485f8(0xd9)],async()=>{const _0x8817ed=_0x5485f8;PerformanceTester[_0x8817ed(0xd3)](PerformanceEvents[_0x8817ed(0x11f)]);try{requestSpy[_0x8817ed(0x156)](),await _0x4b4e6f['stop'](),PerformanceTester['end'](PerformanceEvents['SDK_POST_TEST']);}catch(_0x4b354e){PerformanceTester[_0x8817ed(0x163)](_0x4b354e),PerformanceTester[_0x8817ed(0x15e)](PerformanceEvents[_0x8817ed(0x11f)],![],_0x4b354e);}finally{PerformanceTester['stopMonitoring']();}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x141)][_0x5485f8(0x15f)],_0x1ea7b5=>{const _0x8b0686=_0x5485f8;PerformanceTester[_0x8b0686(0xd3)](PerformanceEvents[_0x8b0686(0xeb)]);try{const _0x230b4c=_0x1ea7b5[_0x8b0686(0xea)]['test'],_0x319261=_0x4b4e6f['captureEvent'](TEST_EVENTS[_0x8b0686(0x104)],_0x230b4c);CodeceptRecorder[_0x8b0686(0xd1)](()=>_0x4b4e6f[_0x8b0686(0xa1)](TEST_EVENTS[_0x8b0686(0x104)],_0x319261));const _0x76acce={};_0x76acce['hookType']=_0x5d4c22[_0x8b0686(0xac)],PerformanceTester['end'](PerformanceEvents[_0x8b0686(0xeb)],!![],null,_0x76acce);}catch(_0x226afb){const _0x3e8032={};_0x3e8032[_0x8b0686(0xcf)]=_0x5d4c22[_0x8b0686(0xac)],PerformanceTester['end'](PerformanceEvents[_0x8b0686(0xeb)],![],_0x226afb,_0x3e8032),PerformanceTester['captureError'](_0x226afb);}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)]['hook'][_0x5485f8(0xc5)],_0x5024e0=>{const _0x5e0bf3=_0x5485f8,_0x3ce7bb={};_0x3ce7bb[_0x5e0bf3(0xcf)]=_0x5d4c22[_0x5e0bf3(0x154)],PerformanceTester[_0x5e0bf3(0xd3)](PerformanceHookEvents[_0x5e0bf3(0xeb)],!![],null,_0x3ce7bb);try{const _0x368fcc=_0x5024e0[_0x5e0bf3(0xea)]['test'],_0x3c7e15=_0x4b4e6f['captureEvent'](TEST_EVENTS[_0x5e0bf3(0x113)],_0x368fcc);CodeceptRecorder[_0x5e0bf3(0xd1)](()=>_0x4b4e6f[_0x5e0bf3(0xa1)](TEST_EVENTS[_0x5e0bf3(0x113)],_0x3c7e15));const _0x3d77f7={};_0x3d77f7[_0x5e0bf3(0xcf)]=_0x5d4c22[_0x5e0bf3(0x154)],PerformanceTester[_0x5e0bf3(0x15e)](PerformanceHookEvents[_0x5e0bf3(0xeb)],!![],null,_0x3d77f7);}catch(_0x257d86){PerformanceTester[_0x5e0bf3(0x163)](_0x257d86);const _0x4e3975={};_0x4e3975[_0x5e0bf3(0xcf)]=_0x5d4c22['bXIck'],PerformanceTester[_0x5e0bf3(0x15e)](PerformanceHookEvents[_0x5e0bf3(0xeb)],![],_0x257d86,_0x4e3975);}}),CodeceptJS['event'][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x141)]['failed'],async(_0x9d620f,_0x2ff9de)=>{const _0xeebf8e=_0x5485f8;PerformanceTester['start'](PerformanceHookEvents[_0xeebf8e(0xeb)]);try{const _0x41fbe5=_0x9d620f[_0xeebf8e(0xea)][_0xeebf8e(0x117)],_0x43afc5=_0x4b4e6f[_0xeebf8e(0x109)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x41fbe5,_0x2ff9de);CodeceptRecorder['add'](()=>_0x4b4e6f[_0xeebf8e(0xa1)](TEST_EVENTS[_0xeebf8e(0x113)],_0x43afc5));const _0x1ef116={};_0x1ef116[_0xeebf8e(0xcf)]=_0x5d4c22[_0xeebf8e(0xca)],PerformanceTester[_0xeebf8e(0xd3)](PerformanceHookEvents[_0xeebf8e(0xeb)],!![],null,_0x1ef116);}catch(_0x5bd1df){PerformanceTester[_0xeebf8e(0x163)](_0x5bd1df);const _0x214676={};_0x214676[_0xeebf8e(0xcf)]=_0x5d4c22['eXVfU'],PerformanceTester[_0xeebf8e(0x15e)](PerformanceHookEvents['SDK_HOOK'],![],_0x5bd1df,_0x214676);}const _0x3dff82={};_0x3dff82[_0xeebf8e(0xcf)]=_0x5d4c22[_0xeebf8e(0xca)],PerformanceTester[_0xeebf8e(0x15e)](PerformanceHookEvents[_0xeebf8e(0xeb)],!![],null,_0x3dff82);}),CodeceptJS[_0x5485f8(0xef)]['dispatcher']['on'](CodeceptJS['event'][_0x5485f8(0x117)][_0x5485f8(0xf2)],_0x39ee98=>{const _0x279be6=_0x5485f8;PerformanceTester[_0x279be6(0xd3)](PerformanceHookEvents[_0x279be6(0xeb)]);try{globals['setGlobal'](_0x5d4c22[_0x279be6(0xc9)],_0x39ee98[_0x279be6(0xf1)]);_0x5d4c22['LTLpl'](isBrowserstackInfra)&&(_0x3c625f&&(global[_0x279be6(0x118)]={'currentTest':{'name':_0x39ee98[_0x279be6(0xf1)],'testInfo':{'titlePath':_0x39ee98[_0x279be6(0x102)]()}}}));const _0x4d0323={};_0x4d0323[_0x279be6(0xcf)]=_0x5d4c22[_0x279be6(0xf4)],PerformanceTester[_0x279be6(0x15e)](PerformanceHookEvents[_0x279be6(0xeb)],!![],null,_0x4d0323);}catch(_0x3d7458){PerformanceTester[_0x279be6(0x163)](_0x3d7458);const _0xacdc13={};_0xacdc13[_0x279be6(0xcf)]=_0x5d4c22[_0x279be6(0xf4)],PerformanceTester[_0x279be6(0x15e)](PerformanceHookEvents[_0x279be6(0xeb)],![],_0x3d7458,_0xacdc13);}}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)][_0x5485f8(0x15f)],_0x272a0d=>{const _0x4be7ab=_0x5485f8,_0x4881e4={'puNpx':function(_0x132bdb){const _0x5d7cb8=a1_0x3030;return _0x5d4c22[_0x5d7cb8(0x96)](_0x132bdb);},'mzQvc':function(_0xb3dedf,_0x4f5199){const _0x2476ff=a1_0x3030;return _0x5d4c22[_0x2476ff(0xaf)](_0xb3dedf,_0x4f5199);},'ZSUDD':function(_0x47d332,_0x45d7ea,_0x5d9526){const _0x37022c=a1_0x3030;return _0x5d4c22[_0x37022c(0x147)](_0x47d332,_0x45d7ea,_0x5d9526);}};PerformanceTester['start'](PerformanceHookEvents[_0x4be7ab(0xeb)]);try{globals['setGlobal'](_0x5d4c22[_0x4be7ab(0xc9)],_0x272a0d[_0x4be7ab(0xf1)]);const _0x5f10f2=_0x4b4e6f[_0x4be7ab(0x109)](TEST_EVENTS[_0x4be7ab(0x13f)],_0x272a0d);CodeceptRecorder[_0x4be7ab(0xd1)](()=>_0x4b4e6f['fireEvent'](TEST_EVENTS[_0x4be7ab(0x13f)],_0x5f10f2)),CodeceptRecorder[_0x4be7ab(0xd1)](async()=>{const _0x5cc694=_0x4be7ab;_0x4881e4['puNpx'](isBrowserstackInfra)&&(!_0x4881e4['mzQvc'](isTrue,_0xc8b857['skipSessionName'])&&await _0x4881e4['ZSUDD'](markSessionName,_0x43d81c,_0x272a0d[_0x5cc694(0xf1)]),_0x4b4e6f[_0x5cc694(0xf0)]&&await _0x4881e4[_0x5cc694(0xc0)](o11ySync,_0x43d81c));});}catch(_0x1151ea){const _0x1e5f6d={};_0x1e5f6d[_0x4be7ab(0xcf)]=_0x5d4c22[_0x4be7ab(0x9c)],PerformanceTester[_0x4be7ab(0x15e)](PerformanceHookEvents[_0x4be7ab(0xeb)],![],_0x1151ea,_0x1e5f6d),PerformanceTester[_0x4be7ab(0x163)](_0x1151ea);}const _0x3e6e02={};_0x3e6e02[_0x4be7ab(0xcf)]=_0x5d4c22[_0x4be7ab(0x9c)],PerformanceTester[_0x4be7ab(0x15e)](PerformanceHookEvents[_0x4be7ab(0xeb)],!![],null,_0x3e6e02);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)]['test'][_0x5485f8(0xc5)],_0xfd85cf=>{const _0x91cba7=_0x5485f8;PerformanceTester[_0x91cba7(0xd3)](PerformanceHookEvents[_0x91cba7(0xeb)]);try{const _0x48984c=_0x4b4e6f[_0x91cba7(0x109)](TEST_EVENTS[_0x91cba7(0x114)],_0xfd85cf);CodeceptRecorder['add'](()=>_0x4b4e6f[_0x91cba7(0xa1)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x48984c)),CodeceptRecorder[_0x91cba7(0xd1)](async()=>{const _0x433f4b=_0x91cba7,_0x49916f={'oevvl':function(_0x5e71a9,_0x533cbf,_0x3337f5){const _0x13e55a=a1_0x3030;return _0x5d4c22[_0x13e55a(0x147)](_0x5e71a9,_0x533cbf,_0x3337f5);},'EMDpI':function(_0x40ea90,_0x517ffa,_0x115d80){const _0x1a6d10=a1_0x3030;return _0x5d4c22[_0x1a6d10(0x112)](_0x40ea90,_0x517ffa,_0x115d80);}};_0x5d4c22['MXEKA'](isBrowserstackInfra)&&await PerformanceTester[_0x433f4b(0xb1)](PerformanceAutEvents[_0x433f4b(0x111)],async()=>{const _0x390248=_0x433f4b;_0x3c625f?await _0x49916f[_0x390248(0xd2)](playwrightMarkSessionStatus,_0x43d81c,STATE_PASSED):await _0x49916f[_0x390248(0x11e)](markSessionStatus,_0x43d81c,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents['SDK_TEST']);}catch(_0x50ed58){PerformanceTester[_0x91cba7(0x163)](_0x50ed58);const _0x26f17c={};_0x26f17c[_0x91cba7(0xcf)]=_0x5d4c22[_0x91cba7(0x93)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x50ed58,_0x26f17c),PerformanceTester[_0x91cba7(0x15e)](PerformanceEvents[_0x91cba7(0xe9)],![],_0x50ed58);}const _0x3e40b6={};_0x3e40b6[_0x91cba7(0xcf)]=_0x5d4c22[_0x91cba7(0x93)],PerformanceTester[_0x91cba7(0x15e)](PerformanceHookEvents[_0x91cba7(0xeb)],!![],null,_0x3e40b6);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)][_0x5485f8(0x135)],(_0x6bfe2e,_0x5cc69a)=>{const _0x25dae9=_0x5485f8;PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK']);try{if(_0x5d4c22[_0x25dae9(0xc2)](_0x6bfe2e['constructor']['name'],_0x5d4c22['CiCUY'])){const _0x5cc402=_0x4b4e6f[_0x25dae9(0x109)](TEST_EVENTS[_0x25dae9(0x97)],_0x6bfe2e['ctx']['currentTest']);CodeceptRecorder[_0x25dae9(0xd1)](()=>_0x4b4e6f[_0x25dae9(0xa1)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x5cc402));}else{const _0x51af34=_0x4b4e6f[_0x25dae9(0x109)](TEST_EVENTS[_0x25dae9(0x114)],_0x6bfe2e,_0x5cc69a);CodeceptRecorder[_0x25dae9(0xd1)](()=>{const _0x3b3475=_0x25dae9;try{_0x4b4e6f['fireEvent'](TEST_EVENTS[_0x3b3475(0x114)],_0x51af34);}catch(_0x918365){logger[_0x3b3475(0xe3)](_0x3b3475(0x98)+util[_0x3b3475(0x162)](_0x918365)),PerformanceTester[_0x3b3475(0x15e)](PerformanceEvents[_0x3b3475(0xe9)],![],_0x918365);}}),CodeceptRecorder[_0x25dae9(0xd1)](async()=>{const _0x3463f5=_0x25dae9;try{_0x5d4c22[_0x3463f5(0x8a)](isBrowserstackInfra)&&(_0x3c625f?await _0x5d4c22[_0x3463f5(0x144)](playwrightMarkSessionStatus,_0x43d81c,STATE_FAILED,_0x5cc69a):await _0x5d4c22[_0x3463f5(0x92)](markSessionStatus,_0x43d81c,STATE_FAILED,_0x5cc69a));}catch(_0x12b72e){logger['debug'](_0x3463f5(0x123)+util[_0x3463f5(0x162)](_0x12b72e)),PerformanceTester[_0x3463f5(0x15e)](PerformanceEvents['SDK_TEST'],![],_0x12b72e);}});}PerformanceTester[_0x25dae9(0x15e)](PerformanceEvents[_0x25dae9(0xe9)]);}catch(_0x206a06){PerformanceTester[_0x25dae9(0x163)](_0x206a06);const _0x5d46ed={};_0x5d46ed[_0x25dae9(0xcf)]=_0x5d4c22[_0x25dae9(0x124)],PerformanceTester[_0x25dae9(0x15e)](PerformanceHookEvents[_0x25dae9(0xeb)],![],_0x206a06,_0x5d46ed),PerformanceTester['end'](PerformanceEvents[_0x25dae9(0xe9)],![],_0x206a06);}const _0x19384c={};_0x19384c[_0x25dae9(0xcf)]=_0x5d4c22[_0x25dae9(0x124)],PerformanceTester[_0x25dae9(0x15e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x19384c);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)][_0x5485f8(0x12d)],_0x1d3c0e=>{const _0x3a526c=_0x5485f8;PerformanceTester[_0x3a526c(0xd3)](PerformanceHookEvents[_0x3a526c(0xeb)]);try{const _0x4c7df8=_0x4b4e6f['captureEvent'](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x1d3c0e);CodeceptRecorder[_0x3a526c(0xd1)](()=>_0x4b4e6f['fireEvent'](TEST_EVENTS[_0x3a526c(0x97)],_0x4c7df8)),PerformanceTester[_0x3a526c(0x15e)](PerformanceEvents['SDK_TEST']);}catch(_0x3c36bb){PerformanceTester[_0x3a526c(0x163)](_0x3c36bb),PerformanceTester[_0x3a526c(0x15e)](PerformanceEvents['SDK_TEST'],![],_0x3c36bb);const _0x4794e2={};_0x4794e2['hookType']=_0x5d4c22[_0x3a526c(0xf8)],PerformanceTester[_0x3a526c(0x15e)](PerformanceHookEvents[_0x3a526c(0xeb)],![],_0x3c36bb,_0x4794e2);}const _0x4552ca={};_0x4552ca['hookType']=_0x5d4c22[_0x3a526c(0xf8)],PerformanceTester[_0x3a526c(0x15e)](PerformanceHookEvents[_0x3a526c(0xeb)],!![],null,_0x4552ca);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x117)]['after'],async(_0x5ab347,_0x5c0a1a)=>{const _0x4ddfaf=_0x5485f8;try{PerformanceTester['start'](PerformanceHookEvents[_0x4ddfaf(0xeb)]);if(_0x5d4c22[_0x4ddfaf(0x116)](isBrowserstackInfra)){const _0x52e8dd=_0x5d4c22[_0x4ddfaf(0x103)](shouldScanTestForAccessibility,_0x5ab347[_0x4ddfaf(0x102)](),!![]);if(_0x5d4c22[_0x4ddfaf(0x148)](isAccessibilityAutomationSession)&&global[_0x4ddfaf(0x105)]&&_0x52e8dd){const _0x8c911c={};_0x8c911c[_0x4ddfaf(0xa5)]=_0x5ab347['testAnalyticsId'],_0x8c911c[_0x4ddfaf(0x129)]=process[_0x4ddfaf(0xce)][testHubConstants[_0x4ddfaf(0xe7)][_0x4ddfaf(0xb0)]],_0x8c911c[_0x4ddfaf(0x12c)]=process[_0x4ddfaf(0xce)][testHubConstants[_0x4ddfaf(0xe7)][_0x4ddfaf(0xf5)]];const _0x243432=_0x8c911c;logger[_0x4ddfaf(0xe3)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4ddfaf(0xa4)](_0x243432)),CodeceptRecorder[_0x4ddfaf(0xd1)](async()=>{const _0x281059=_0x4ddfaf,_0x554752={};_0x554752['command']=_0x5d4c22[_0x281059(0xcc)],await PerformanceTester[_0x281059(0xb1)](PerformanceA11yEvents[_0x281059(0xe4)],async()=>{const _0x23698a=_0x281059;await AccessibilityHelper[_0x23698a(0x10c)](_0x43d81c,scripts[_0x23698a(0xa9)]);},_0x554752)(),await PerformanceTester[_0x281059(0xb1)](PerformanceA11yEvents[_0x281059(0x150)],async()=>{const _0x3863f0=_0x281059;await AccessibilityHelper[_0x3863f0(0x10c)](_0x43d81c,scripts[_0x3863f0(0x130)],_0x243432);})();}),logger[_0x4ddfaf(0xa6)](_0x5d4c22[_0x4ddfaf(0x9e)]);}}const _0xea6f8a={};_0xea6f8a[_0x4ddfaf(0xcf)]=_0x5d4c22[_0x4ddfaf(0xda)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xea6f8a);}catch(_0x55b656){PerformanceTester[_0x4ddfaf(0x163)](_0x55b656);const _0x1838a8={};_0x1838a8[_0x4ddfaf(0xcf)]=_0x5d4c22[_0x4ddfaf(0xda)],PerformanceTester[_0x4ddfaf(0x15e)](PerformanceHookEvents[_0x4ddfaf(0xeb)],![],_0x55b656,_0x1838a8);}}),CodeceptJS[_0x5485f8(0xef)]['dispatcher']['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x14a)][_0x5485f8(0x122)],_0x4317a5=>{const _0xadcff=_0x5485f8;PerformanceTester[_0xadcff(0xd3)](PerformanceHookEvents[_0xadcff(0xeb)]);try{process['emit'](_0xadcff(0x165)+process[_0xadcff(0xbc)],{'timestamp':new Date()[_0xadcff(0x11c)](),'level':_0x5d4c22[_0xadcff(0xb5)],'message':_0x4317a5,'kind':_0x5d4c22[_0xadcff(0x161)],'http_response':{}});}catch(_0x415a74){PerformanceTester[_0xadcff(0x163)](_0x415a74);const _0x54c38b={};_0x54c38b[_0xadcff(0xcf)]=_0x5d4c22[_0xadcff(0xfc)],PerformanceTester[_0xadcff(0x15e)](PerformanceHookEvents[_0xadcff(0xeb)],![],_0x415a74,_0x54c38b);}const _0x35db29={};_0x35db29[_0xadcff(0xcf)]=_0x5d4c22[_0xadcff(0xfc)],PerformanceTester[_0xadcff(0x15e)](PerformanceHookEvents[_0xadcff(0xeb)],!![],null,_0x35db29);}),CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x14d)][_0x5485f8(0xf2)],_0x470ec8=>{const _0x2287f2=_0x5485f8,_0x2a2047={};_0x2a2047[_0x2287f2(0xcf)]=_0x5d4c22[_0x2287f2(0x15d)],PerformanceTester['measureWrapper'](PerformanceHookEvents[_0x2287f2(0xeb)],()=>{const _0x53635f=_0x2287f2;_0x4b4e6f[_0x53635f(0xb8)](_0x470ec8);},_0x2a2047)();}),CodeceptJS['event'][_0x5485f8(0xa2)]['on'](CodeceptJS[_0x5485f8(0xef)][_0x5485f8(0x14d)]['after'],_0x1b53ba=>{const _0x1ba889=_0x5485f8,_0xa54c41={};_0xa54c41[_0x1ba889(0xcf)]=_0x5d4c22[_0x1ba889(0x14e)],PerformanceTester[_0x1ba889(0xb1)](PerformanceHookEvents[_0x1ba889(0xeb)],()=>{_0x4b4e6f['bddStepFinish'](_0x1b53ba);},_0xa54c41)();});};function a1_0x3030(_0x32bcd0,_0x3cffce){const _0x421761=a1_0x4217();return a1_0x3030=function(_0x3030a0,_0x2ce24c){_0x3030a0=_0x3030a0-0x8a;let _0x2ce76f=_0x421761[_0x3030a0];return _0x2ce76f;},a1_0x3030(_0x32bcd0,_0x3cffce);}function a1_0x4217(){const _0x5c271e=['codeceptjs/lib/recorder.js','QOYkJ','../../helpers/accessibility-automation/helper','TEST_SCREENSHOT','browserstackTestName','TEST_RUN_STARTED','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hook','Wpxsg','AtOeA','fIWXH','warn','bddStep-before','Vduuf','TJhqI','Ghszc','step','GET_RESULTS_SUMMARY','test-after','bddStep','YvxFY','action','SAVE_RESULTS','catch','SESSION_NAME','startMonitoring','bXIck','executeScript','restore','DDThs','codeceptjs','pyPGe','xLmFz','6871004RDZfQD','Pcbxo','xnMsy','end','started','../../helpers/request-spy','ANaTp','format','captureError','../../helpers/testhub/constants.js','bs:addLog:','32366eKPUJt','TNoMK','3MsgKio','status','test-passed','gFyBN','lgAUs','hook-passed','GWgUC','AziZv','lXyAY','5170506OQxPby','__driver','WGOnX','TEST_RUN_SKIPPED','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','PDkWV','_before','browserstack_executor:\x20','xuvxN','browser','IXMpJ','prototype','GET_RESULTS','fireEvent','dispatcher','test-failed','stringify','thTestRunUuid','info','../../bin/playwright/accessibility-helper','SYNC','performScan','container','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','jTXYx','setSessionStatus','hCpPX','XmWBH','BROWSERSTACK_TESTHUB_UUID','measureWrapper','getResultsSummary','Suite','helpers','QICRg','3964836kMrbfM','codeceptjs/lib/helper/WebDriver.js','bddStepStart','codeceptjs/lib/helper/Playwright.js','../../helpers/globals.js','getSyncScript','pid','../../bin/playwright/sessionDetails','bstackAllyScanning','../../helpers/helper','mzQvc','HQaSp','EGutB','./o11yHelper','SJHcS','passed','codeceptjs/lib/utils.js','gJqFg','hHjxL','qPPiz','eXVfU','setSessionName','AkLsV','getAccessibilityResultsSummary','env','hookType','Playwright','add','oevvl','start','bddStep-after','INFO','toString','getAccessibilityResults','initSaveScreenshot','after','FozNI','Screenshot\x20path\x20not\x20found','hcKjV','apply','base64','vWIQa','VCTfI','RtaYK','skipSessionStatus','debug','PERFORM_SCAN','__skipSessionStatus','ahDMb','ENV_VAR','all','SDK_TEST','ctx','SDK_HOOK','command','slice','commandsToWrap','event','enabled','title','before','arguments','LKPch','BROWSERSTACK_TESTHUB_JWT','ocaQY','test-before','Fxjpa','13302808qoEfzK','SDK_PRE_TEST','32703237TsBRHG','RzyKy','reason','then','getResults','../../helpers/performance/performance-tester','filter','titlePath','fPEFA','HOOK_RUN_STARTED','accessibilityPlatform','../../helpers/logger','Puppeteer','browserContext','captureEvent','Failed\x20to\x20execute\x20_before:\x20','aHWLF','browserStackExecuteDriver','overwriteCommand','Performing\x20scan\x20for\x20','btlGD','RCVzi','SESSION_STATUS','cmTTG','HOOK_RUN_FINISHED','TEST_RUN_FINISHED','Qquqv','lHidg','test','__workerDetails','hqxVg','patchSaveScreenshot','bind','toISOString','xNBjD','EMDpI','SDK_POST_TEST','saveScreenshot','test-skipped','comment','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','heSpZ','afterTest','hook-started','util','constructor','thBuildUuid','28NrOtxu','TestCafe','thJwtToken','skipped','hook-failed','forEach','saveTestResults','WZBYg','screenshotOutputFolder','BS_TESTOPS_ALLOW_SCREENSHOTS','3405870DcEwwu','failed','contexts','name','UOpBV','SDK_PRE_INITIALIZE'];a1_0x4217=function(){return _0x5c271e;};return a1_0x4217();}
1
+ const a1_0x4b19bf=a1_0x5ad8;(function(_0x1d8ae4,_0x3aea3d){const _0x1c0ddc=a1_0x5ad8,_0x373b5a=_0x1d8ae4();while(!![]){try{const _0x1d4ba3=parseInt(_0x1c0ddc(0x1b2))/0x1*(-parseInt(_0x1c0ddc(0x18f))/0x2)+-parseInt(_0x1c0ddc(0x186))/0x3+-parseInt(_0x1c0ddc(0x1ea))/0x4+-parseInt(_0x1c0ddc(0x202))/0x5+-parseInt(_0x1c0ddc(0x203))/0x6*(parseInt(_0x1c0ddc(0x218))/0x7)+-parseInt(_0x1c0ddc(0x1dd))/0x8*(-parseInt(_0x1c0ddc(0x1fa))/0x9)+parseInt(_0x1c0ddc(0x159))/0xa;if(_0x1d4ba3===_0x3aea3d)break;else _0x373b5a['push'](_0x373b5a['shift']());}catch(_0x249736){_0x373b5a['push'](_0x373b5a['shift']());}}}(a1_0x1fd9,0xedfa5));const fs=require('fs'),util=require(a1_0x4b19bf(0x19d)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x4b19bf(0x215)),logger=require(a1_0x4b19bf(0x170))[a1_0x4b19bf(0x1a3)],testOpsHelper=require(a1_0x4b19bf(0x189)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x4b19bf(0x1f8)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x4b19bf(0x1f0)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x4b19bf(0x169)),AccessibilityHelper=require(a1_0x4b19bf(0x1fc)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require(a1_0x4b19bf(0x1b5)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x4b19bf(0x20e)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x4b19bf(0x181)),testHubConstants=require(a1_0x4b19bf(0x162)),globals=require(a1_0x4b19bf(0x1f6)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a1_0x4b19bf(0x18e)),CodeceptUtils=requireModule(a1_0x4b19bf(0x209),'codeceptjs'),CodeceptWebDriver=requireModule(a1_0x4b19bf(0x172),a1_0x4b19bf(0x18e)),CodeceptRecorder=requireModule(a1_0x4b19bf(0x1a5),a1_0x4b19bf(0x18e)),CodeceptPlaywright=requireModule(a1_0x4b19bf(0x1d0),a1_0x4b19bf(0x18e)),playwrightMarkSessionStatus=(_0x3d9d8b,_0x3f0053,_0xb1de15)=>{const _0x23a21d=a1_0x4b19bf,_0x584d49={'mNlpk':_0x23a21d(0x18d),'UTdOX':function(_0x570706,_0x30aae8){return _0x570706(_0x30aae8);}},_0x4865bc={};_0x4865bc[_0x23a21d(0x1ef)]=_0x3f0053;const _0x203060={};_0x203060['action']=_0x584d49[_0x23a21d(0x21c)],_0x203060['arguments']=_0x4865bc;const _0x502680=_0x203060;return!_0x584d49[_0x23a21d(0x16f)](isUndefined,_0xb1de15)&&(_0x502680[_0x23a21d(0x197)][_0x23a21d(0x167)]=JSON['stringify'](_0xb1de15)),_0x3d9d8b[_0x23a21d(0x182)](()=>{},_0x23a21d(0x1cb)+JSON[_0x23a21d(0x174)](_0x502680));},o11ySync=PerformanceTester[a1_0x4b19bf(0x1c8)](PerformanceO11yEvents[a1_0x4b19bf(0x20f)],async _0x299c01=>{const _0x16e16a=a1_0x4b19bf,_0x5391f5={};_0x5391f5['QcsdS']=function(_0x363bf5,_0x4b350c){return _0x363bf5===_0x4b350c;},_0x5391f5[_0x16e16a(0x1b7)]=_0x16e16a(0x1a8);const _0x42203=_0x5391f5;_0x42203[_0x16e16a(0x208)](_0x299c01[_0x16e16a(0x1e8)]['name'],_0x42203['HMqDP'])?await _0x299c01['executeScript'](_0x37d551=>{},testOpsHelper[_0x16e16a(0x1eb)]()):await _0x299c01[_0x16e16a(0x182)](testOpsHelper[_0x16e16a(0x1eb)]());}),markSessionName=PerformanceTester[a1_0x4b19bf(0x1c8)](PerformanceAutEvents[a1_0x4b19bf(0x168)],async(_0x9a79b7,_0x50c99d)=>{const _0x263fd8=a1_0x4b19bf,_0xb478fc={};_0xb478fc[_0x263fd8(0x20a)]='setSessionName',_0xb478fc[_0x263fd8(0x1ab)]=function(_0x2c51e0,_0xac7a7c){return _0x2c51e0===_0xac7a7c;},_0xb478fc[_0x263fd8(0x1b3)]='Playwright';const _0x1d6db0=_0xb478fc,_0x5a7108={};_0x5a7108[_0x263fd8(0x157)]=_0x50c99d;const _0x4ecd4a={};_0x4ecd4a[_0x263fd8(0x1af)]=_0x1d6db0['dDupr'],_0x4ecd4a[_0x263fd8(0x197)]=_0x5a7108;const _0xcb6285=_0x4ecd4a;_0x1d6db0[_0x263fd8(0x1ab)](_0x9a79b7[_0x263fd8(0x1e8)]['name'],_0x1d6db0[_0x263fd8(0x1b3)])?await _0x9a79b7[_0x263fd8(0x182)](()=>{},_0x263fd8(0x1cb)+JSON[_0x263fd8(0x174)](_0xcb6285)):await _0x9a79b7[_0x263fd8(0x182)](_0x263fd8(0x1cb)+JSON[_0x263fd8(0x174)](_0xcb6285));}),patchSaveScreenshot=_0x108143=>{const _0x51df9e=a1_0x4b19bf,_0x1d2c11={'PvmyO':_0x51df9e(0x1f4),'eVLTi':_0x51df9e(0x1ee),'YgiGO':function(_0x3ff01f){return _0x3ff01f();},'dHzsm':function(_0x36c0c5,_0x433cfe){return _0x36c0c5(_0x433cfe);},'CuMsk':_0x51df9e(0x177),'AMCcA':function(_0x445c61,_0x4bb7fe){return _0x445c61(_0x4bb7fe);}};_0x1d2c11['AMCcA'](isTrue,process[_0x51df9e(0x1ac)][_0x51df9e(0x180)])&&!_0x108143[_0x51df9e(0x153)]&&(_0x108143[_0x51df9e(0x153)]=!![],_0x108143[_0x51df9e(0x15e)]=_0x108143[_0x51df9e(0x1fe)],_0x108143['saveScreenshot']=(_0x136446,_0xa721a2=![])=>{return new Promise(function(_0xa7905,_0x1f1761){const _0x277147=a1_0x5ad8,_0x150051={'ApUdk':_0x1d2c11['PvmyO'],'lAjHg':_0x1d2c11[_0x277147(0x1fd)],'AsnGc':function(_0xee08d3){return _0x1d2c11['YgiGO'](_0xee08d3);},'CGIaG':function(_0x41a59f,_0x4b3f99){const _0x4a521b=_0x277147;return _0x1d2c11[_0x4a521b(0x151)](_0x41a59f,_0x4b3f99);},'oxCUP':_0x1d2c11['CuMsk']};_0x108143[_0x277147(0x15e)](_0x136446,_0xa721a2)[_0x277147(0x1d2)](()=>{const _0x263c52=_0x277147,_0x3969c6=CodeceptUtils[_0x263c52(0x1b1)](_0x136446);if(_0x3969c6){const _0x4f3292=fs[_0x263c52(0x150)](_0x3969c6);process[_0x263c52(0x160)]('bs:addLog:'+process[_0x263c52(0x1bd)],{'timestamp':new Date()[_0x263c52(0x198)](),'message':_0x4f3292[_0x263c52(0x1c2)](_0x150051[_0x263c52(0x213)]),'kind':_0x150051['lAjHg']}),_0x150051[_0x263c52(0x16a)](_0xa7905);}_0x150051[_0x263c52(0x200)](_0x1f1761,new Error(_0x150051[_0x263c52(0x207)]));})[_0x277147(0x1c7)](()=>null);});});},patchWebDriverBefore=_0xefba9c=>{const _0x4f12cb=a1_0x4b19bf,_0x41580b={'LVfyC':function(_0x1c40ea){return _0x1c40ea();},'eabFN':function(_0x4ec341,_0x364c6c){return _0x4ec341(_0x364c6c);},'EUPXH':function(_0x249488,_0x123b01){return _0x249488===_0x123b01;},'jMCjR':_0x4f12cb(0x1d3)},_0x4c0a09=async function(_0x50b91e,_0x1e9cf8){const _0x495373=_0x4f12cb;return _0x41580b['LVfyC'](isAccessibilityAutomationSession)&&!global[_0x495373(0x149)]&&global[_0x495373(0x1ec)]&&scripts['shouldWrapCommand'](_0x50b91e[_0x495373(0x157)])&&_0x41580b['eabFN'](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x495373(0x149)]=!![],await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3e6458=_0x495373;logger['debug']('Performing\x20scan\x20for\x20'+_0x50b91e[_0x3e6458(0x1e7)]+'\x20'+_0x50b91e[_0x3e6458(0x157)]),await AccessibilityHelper[_0x3e6458(0x183)](_0xefba9c,scripts[_0x3e6458(0x20c)]);},{'command':_0x50b91e[_0x495373(0x157)]})()),global[_0x495373(0x149)]=![],_0x1e9cf8[_0x495373(0x1f2)](this,Array[_0x495373(0x164)]['slice'][_0x495373(0x212)](arguments,0x2));},_0x4076f4=CodeceptWebDriver[_0x4f12cb(0x164)][_0x4f12cb(0x1a7)];CodeceptWebDriver[_0x4f12cb(0x164)][_0x4f12cb(0x1a7)]=async function(){const _0x176013=_0x4f12cb,_0xc3c920={'QYNdD':function(_0x595b09,_0x57a450){const _0x32fbf9=a1_0x5ad8;return _0x41580b[_0x32fbf9(0x144)](_0x595b09,_0x57a450);},'UmIyk':_0x41580b[_0x176013(0x178)]};try{await _0x4076f4[_0x176013(0x1f2)](this,arguments);}catch(_0x2c955d){logger[_0x176013(0x19a)](_0x176013(0x1cf)+util[_0x176013(0x17d)](_0x2c955d));}scripts[_0x176013(0x187)][_0x176013(0x143)](_0x2756d2=>_0x2756d2['name']&&_0x2756d2[_0x176013(0x1e7)])[_0x176013(0x1bf)](_0x2e862d=>{const _0x358a4c=_0x176013;this[_0x358a4c(0x1f1)]['overwriteCommand'](_0x2e862d['name'],_0x4c0a09[_0x358a4c(0x1ed)](this,_0x2e862d),_0xc3c920[_0x358a4c(0x175)](_0x2e862d[_0x358a4c(0x1e7)],_0xc3c920[_0x358a4c(0x1c1)]));}),_0x41580b[_0x176013(0x1f5)](processWebDriverConfig,_0xefba9c);};},patchPlaywrightBefore=()=>{const _0x40e519=a1_0x4b19bf;PlaywrightSessionDetails['patch']();const _0x4ded42=CodeceptPlaywright[_0x40e519(0x164)][_0x40e519(0x1a7)];CodeceptPlaywright[_0x40e519(0x164)][_0x40e519(0x1a7)]=async function(){const _0x4dca05=_0x40e519;this[_0x4dca05(0x16b)]=await this['browser'][_0x4dca05(0x14f)]()[0x0],await _0x4ded42[_0x4dca05(0x1f2)](this,arguments);};},getCodeceptDriver=()=>{const _0x1b5206=a1_0x4b19bf,_0x13c529={};_0x13c529['oGoMX']=_0x1b5206(0x1c0),_0x13c529[_0x1b5206(0x14e)]=_0x1b5206(0x1a8),_0x13c529[_0x1b5206(0x15c)]=_0x1b5206(0x1d7),_0x13c529[_0x1b5206(0x1ff)]=_0x1b5206(0x145);const _0x4976e2=_0x13c529,_0x43327d=[_0x4976e2[_0x1b5206(0x1d4)],_0x4976e2[_0x1b5206(0x14e)],_0x4976e2[_0x1b5206(0x15c)],_0x4976e2[_0x1b5206(0x1ff)]],_0x18d5cf=_0x43327d['find'](_0x87490a=>!!CodeceptJS[_0x1b5206(0x17e)][_0x1b5206(0x204)](_0x87490a));if(!_0x18d5cf)return null;return CodeceptJS[_0x1b5206(0x17e)][_0x1b5206(0x204)](_0x18d5cf);};module[a1_0x4b19bf(0x21d)]=function(_0x2521a9){const _0x7f06e3=a1_0x4b19bf,_0x1278cb={'Upycf':function(_0x29eb56){return _0x29eb56();},'vpEaZ':function(_0x54159a,_0x3331c8){return _0x54159a(_0x3331c8);},'BgtJf':_0x7f06e3(0x1e0),'vhlNF':_0x7f06e3(0x154),'fbIHn':_0x7f06e3(0x1f3),'crudt':_0x7f06e3(0x1d8),'CZXJb':function(_0x4f1bb9,_0x28042c){return _0x4f1bb9(_0x28042c);},'bWHBA':_0x7f06e3(0x1e6),'zQEoi':'hook-passed','czYTy':_0x7f06e3(0x16c),'zNQKf':_0x7f06e3(0x1cc),'svIEc':'test-before','APJeU':function(_0xa04e89,_0x130050,_0x4d990d){return _0xa04e89(_0x130050,_0x4d990d);},'yrDHm':'test-started','hePdX':function(_0x4af397){return _0x4af397();},'jDjdu':function(_0x34abaf,_0x5be676,_0x3cf58b){return _0x34abaf(_0x5be676,_0x3cf58b);},'wznhp':_0x7f06e3(0x14c),'GHLJG':function(_0x3de9fe,_0x35914c,_0x2107cf,_0x4ef820){return _0x3de9fe(_0x35914c,_0x2107cf,_0x4ef820);},'VARhs':function(_0x2a0c38,_0x3a5785,_0x2d1147,_0x2c1370){return _0x2a0c38(_0x3a5785,_0x2d1147,_0x2c1370);},'iyPam':function(_0x69b6d7,_0x2b5aa1){return _0x69b6d7===_0x2b5aa1;},'WoLlH':_0x7f06e3(0x15f),'zIGJY':'test-failed','iHUrI':_0x7f06e3(0x1a9),'RNOft':'afterTest','itrHA':function(_0xe01620){return _0xe01620();},'rjlAY':function(_0x4c4fb6){return _0x4c4fb6();},'iuBtp':_0x7f06e3(0x171),'iVoiW':_0x7f06e3(0x15a),'VkIni':'INFO','RMbpR':_0x7f06e3(0x146),'uVUfx':_0x7f06e3(0x15d),'AoYma':_0x7f06e3(0x188),'hDmDQ':_0x7f06e3(0x20b),'ZriMP':'Playwright'};_0x2521a9['skipSessionStatus']&&(global[_0x7f06e3(0x1ad)]=_0x2521a9['skipSessionStatus']);PerformanceTester[_0x7f06e3(0x1f9)]();const _0x2f69f8=_0x1278cb[_0x7f06e3(0x166)](getCodeceptDriver),_0x1db5ae=new O11yHelper(_0x2f69f8,_0x2521a9),_0x502eaa=!!CodeceptJS[_0x7f06e3(0x17e)][_0x7f06e3(0x204)](_0x1278cb[_0x7f06e3(0x16d)]);global[_0x7f06e3(0x1a1)]=_0x2f69f8,_0x2f69f8&&(PerformanceTester[_0x7f06e3(0x1c8)](PerformanceEvents[_0x7f06e3(0x1c5)],()=>{const _0x4a1889=_0x7f06e3;_0x502eaa?_0x1278cb[_0x4a1889(0x219)](patchPlaywrightBefore):_0x1278cb[_0x4a1889(0x194)](patchWebDriverBefore,_0x2f69f8);})(),PerformanceTester[_0x7f06e3(0x1c8)](PerformanceEvents[_0x7f06e3(0x19f)],()=>{const _0xdee72b=_0x7f06e3;_0x2f69f8[_0xdee72b(0x1e0)]=async()=>{const _0x43d14e=_0xdee72b;if(global[_0x43d14e(0x1ec)]){const _0x3205ce={};_0x3205ce[_0x43d14e(0x1de)]=_0x1278cb[_0x43d14e(0x1df)],await PerformanceTester[_0x43d14e(0x1c8)](PerformanceA11yEvents[_0x43d14e(0x19e)],async()=>{await AccessibilityHelper['browserStackExecuteDriver'](_0x2f69f8,scripts['performScan']);},_0x3205ce)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x43d14e(0x142)],async()=>{const _0x3f9f9a=_0x43d14e;await AccessibilityHelper[_0x3f9f9a(0x183)](_0x2f69f8,scripts['getResultsSummary']);})();}else return logger[_0x43d14e(0x1fb)](_0x1278cb[_0x43d14e(0x1c9)]),{};},_0x2f69f8[_0xdee72b(0x1f3)]=async()=>{const _0x5a7450=_0xdee72b;if(global[_0x5a7450(0x1ec)]){const _0x4b3dbf={};_0x4b3dbf[_0x5a7450(0x1de)]=_0x1278cb[_0x5a7450(0x18b)],await PerformanceTester[_0x5a7450(0x1c8)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0xc55e78=_0x5a7450;await AccessibilityHelper[_0xc55e78(0x183)](_0x2f69f8,scripts[_0xc55e78(0x20c)]);},_0x4b3dbf)(),await PerformanceTester[_0x5a7450(0x1c8)](PerformanceA11yEvents[_0x5a7450(0x17b)],async()=>{const _0x15afe5=_0x5a7450;await AccessibilityHelper['browserStackExecuteDriver'](_0x2f69f8,scripts[_0x15afe5(0x1a0)]);})();}else return logger[_0x5a7450(0x1fb)](_0x1278cb['crudt']),{};},_0x1278cb[_0xdee72b(0x176)](patchSaveScreenshot,_0x2f69f8);})()),CodeceptJS[_0x7f06e3(0x1bc)]['dispatcher']['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1e4)]['before'],()=>{const _0x423391=_0x7f06e3;PerformanceTester['start'](PerformanceEvents[_0x423391(0x199)]);try{_0x1db5ae[_0x423391(0x20d)](),testOpsHelper[_0x423391(0x214)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x2e1e81){PerformanceTester[_0x423391(0x17c)](_0x2e1e81),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST'],![],_0x2e1e81);}}),CodeceptJS[_0x7f06e3(0x1bc)]['dispatcher']['on'](CodeceptJS['event'][_0x7f06e3(0x1e4)][_0x7f06e3(0x179)],async()=>{const _0x50bf62=_0x7f06e3;PerformanceTester[_0x50bf62(0x20d)](PerformanceEvents[_0x50bf62(0x205)]);try{requestSpy[_0x50bf62(0x190)](),await _0x1db5ae[_0x50bf62(0x1c6)](),PerformanceTester[_0x50bf62(0x1be)](PerformanceEvents[_0x50bf62(0x205)]);}catch(_0x4550b8){PerformanceTester['captureError'](_0x4550b8),PerformanceTester[_0x50bf62(0x1be)](PerformanceEvents[_0x50bf62(0x205)],![],_0x4550b8);}finally{PerformanceTester[_0x50bf62(0x196)]();}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS['event']['hook'][_0x7f06e3(0x1d6)],_0x41808d=>{const _0x1b1b53=_0x7f06e3;PerformanceTester[_0x1b1b53(0x20d)](PerformanceEvents[_0x1b1b53(0x155)]);try{const _0xcb7f9=_0x41808d[_0x1b1b53(0x1ba)][_0x1b1b53(0x16e)],_0x2e0183=_0x1db5ae[_0x1b1b53(0x15b)](TEST_EVENTS['HOOK_RUN_STARTED'],_0xcb7f9);CodeceptRecorder['add'](()=>_0x1db5ae['fireEvent'](TEST_EVENTS['HOOK_RUN_STARTED'],_0x2e0183));const _0x354c05={};_0x354c05[_0x1b1b53(0x158)]=_0x1278cb[_0x1b1b53(0x1e1)],PerformanceTester[_0x1b1b53(0x1be)](PerformanceEvents[_0x1b1b53(0x155)],!![],null,_0x354c05);}catch(_0x246c19){const _0x34627d={};_0x34627d[_0x1b1b53(0x158)]=_0x1278cb[_0x1b1b53(0x1e1)],PerformanceTester['end'](PerformanceEvents[_0x1b1b53(0x155)],![],_0x246c19,_0x34627d),PerformanceTester[_0x1b1b53(0x17c)](_0x246c19);}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS['event']['hook'][_0x7f06e3(0x1aa)],_0x4243f4=>{const _0x224075=_0x7f06e3,_0x20c5f0={};_0x20c5f0[_0x224075(0x158)]=_0x1278cb['zQEoi'],PerformanceTester['start'](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x20c5f0);try{const _0x29e590=_0x4243f4['ctx'][_0x224075(0x16e)],_0x2fb14c=_0x1db5ae[_0x224075(0x15b)](TEST_EVENTS[_0x224075(0x1e9)],_0x29e590);CodeceptRecorder[_0x224075(0x18c)](()=>_0x1db5ae['fireEvent'](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x2fb14c));const _0x453134={};_0x453134[_0x224075(0x158)]=_0x1278cb[_0x224075(0x1b9)],PerformanceTester[_0x224075(0x1be)](PerformanceHookEvents[_0x224075(0x155)],!![],null,_0x453134);}catch(_0x415c60){PerformanceTester[_0x224075(0x17c)](_0x415c60);const _0x353f35={};_0x353f35['hookType']=_0x1278cb[_0x224075(0x1b9)],PerformanceTester[_0x224075(0x1be)](PerformanceHookEvents[_0x224075(0x155)],![],_0x415c60,_0x353f35);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x195)][_0x7f06e3(0x14a)],async(_0x2df917,_0x3998b2)=>{const _0xd7619a=_0x7f06e3;PerformanceTester[_0xd7619a(0x20d)](PerformanceHookEvents['SDK_HOOK']);try{const _0x437f7e=_0x2df917[_0xd7619a(0x1ba)][_0xd7619a(0x16e)],_0x1157f1=_0x1db5ae[_0xd7619a(0x15b)](TEST_EVENTS[_0xd7619a(0x1e9)],_0x437f7e,_0x3998b2);CodeceptRecorder[_0xd7619a(0x18c)](()=>_0x1db5ae[_0xd7619a(0x17a)](TEST_EVENTS['HOOK_RUN_FINISHED'],_0x1157f1));const _0x2845b0={};_0x2845b0['hookType']=_0x1278cb['czYTy'],PerformanceTester['start'](PerformanceHookEvents[_0xd7619a(0x155)],!![],null,_0x2845b0);}catch(_0x413ac6){PerformanceTester[_0xd7619a(0x17c)](_0x413ac6);const _0xfaeee2={};_0xfaeee2['hookType']=_0x1278cb[_0xd7619a(0x1c4)],PerformanceTester[_0xd7619a(0x1be)](PerformanceHookEvents[_0xd7619a(0x155)],![],_0x413ac6,_0xfaeee2);}const _0x4a501c={};_0x4a501c['hookType']=_0x1278cb[_0xd7619a(0x1c4)],PerformanceTester[_0xd7619a(0x1be)](PerformanceHookEvents[_0xd7619a(0x155)],!![],null,_0x4a501c);}),CodeceptJS['event'][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x156)],_0x5d8280=>{const _0x808a8b=_0x7f06e3;PerformanceTester[_0x808a8b(0x20d)](PerformanceHookEvents[_0x808a8b(0x155)]);try{globals[_0x808a8b(0x211)](_0x1278cb['zNQKf'],_0x5d8280['title']);_0x1278cb['Upycf'](isBrowserstackInfra)&&(_0x502eaa&&(global[_0x808a8b(0x1ce)]={'currentTest':{'name':_0x5d8280[_0x808a8b(0x1b4)],'testInfo':{'titlePath':_0x5d8280[_0x808a8b(0x1d9)]()}}}));const _0xe271e6={};_0xe271e6['hookType']=_0x1278cb['svIEc'],PerformanceTester[_0x808a8b(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0xe271e6);}catch(_0x4d1997){PerformanceTester[_0x808a8b(0x17c)](_0x4d1997);const _0x2c8b57={};_0x2c8b57['hookType']=_0x1278cb['svIEc'],PerformanceTester[_0x808a8b(0x1be)](PerformanceHookEvents[_0x808a8b(0x155)],![],_0x4d1997,_0x2c8b57);}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x1d6)],_0x5b1845=>{const _0x44cdcc=_0x7f06e3,_0x2da33f={'HGAxy':function(_0x567cf1){const _0x3ae6bf=a1_0x5ad8;return _0x1278cb[_0x3ae6bf(0x219)](_0x567cf1);},'mKedV':function(_0xe7d63b,_0x2f8834){return _0x1278cb['vpEaZ'](_0xe7d63b,_0x2f8834);},'XbTqB':function(_0x220674,_0x50615d,_0x395b37){return _0x1278cb['APJeU'](_0x220674,_0x50615d,_0x395b37);},'HZQKy':function(_0x18c3a7,_0x6b0f2b){return _0x1278cb['CZXJb'](_0x18c3a7,_0x6b0f2b);}};PerformanceTester['start'](PerformanceHookEvents[_0x44cdcc(0x155)]);try{globals['setGlobal'](_0x1278cb[_0x44cdcc(0x1b0)],_0x5b1845[_0x44cdcc(0x1b4)]);const _0x3a730e=_0x1db5ae['captureEvent'](TEST_EVENTS[_0x44cdcc(0x1e3)],_0x5b1845);CodeceptRecorder[_0x44cdcc(0x18c)](()=>_0x1db5ae[_0x44cdcc(0x17a)](TEST_EVENTS[_0x44cdcc(0x1e3)],_0x3a730e)),CodeceptRecorder['add'](async()=>{const _0x3a9861=_0x44cdcc;_0x2da33f[_0x3a9861(0x152)](isBrowserstackInfra)&&(!_0x2da33f[_0x3a9861(0x165)](isTrue,_0x2521a9[_0x3a9861(0x206)])&&await _0x2da33f[_0x3a9861(0x148)](markSessionName,_0x2f69f8,_0x5b1845['title']),_0x1db5ae[_0x3a9861(0x21b)]&&await _0x2da33f[_0x3a9861(0x14d)](o11ySync,_0x2f69f8));});}catch(_0x3898be){const _0x5a9aa4={};_0x5a9aa4[_0x44cdcc(0x158)]=_0x1278cb[_0x44cdcc(0x1d5)],PerformanceTester[_0x44cdcc(0x1be)](PerformanceHookEvents[_0x44cdcc(0x155)],![],_0x3898be,_0x5a9aa4),PerformanceTester[_0x44cdcc(0x17c)](_0x3898be);}const _0x297a03={};_0x297a03[_0x44cdcc(0x158)]=_0x1278cb[_0x44cdcc(0x1d5)],PerformanceTester[_0x44cdcc(0x1be)](PerformanceHookEvents[_0x44cdcc(0x155)],!![],null,_0x297a03);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x1aa)],_0x4be193=>{const _0x518e63=_0x7f06e3,_0x39521c={'CdMtu':function(_0xe58448,_0x1a2ab8,_0x56a5c5){return _0x1278cb['APJeU'](_0xe58448,_0x1a2ab8,_0x56a5c5);},'FAOzX':function(_0xdf345d,_0x159cca,_0x36d9d1){const _0x500577=a1_0x5ad8;return _0x1278cb[_0x500577(0x1f7)](_0xdf345d,_0x159cca,_0x36d9d1);}};PerformanceTester[_0x518e63(0x20d)](PerformanceHookEvents[_0x518e63(0x155)]);try{const _0x4c4b32=_0x1db5ae['captureEvent'](TEST_EVENTS[_0x518e63(0x14b)],_0x4be193);CodeceptRecorder[_0x518e63(0x18c)](()=>_0x1db5ae[_0x518e63(0x17a)](TEST_EVENTS['TEST_RUN_FINISHED'],_0x4c4b32)),CodeceptRecorder[_0x518e63(0x18c)](async()=>{_0x1278cb['hePdX'](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x2a4216=a1_0x5ad8;_0x502eaa?await _0x39521c[_0x2a4216(0x201)](playwrightMarkSessionStatus,_0x2f69f8,STATE_PASSED):await _0x39521c[_0x2a4216(0x1d1)](markSessionStatus,_0x2f69f8,STATE_PASSED);})();}),PerformanceTester[_0x518e63(0x1be)](PerformanceEvents[_0x518e63(0x1e2)]);}catch(_0x27d2e4){PerformanceTester[_0x518e63(0x17c)](_0x27d2e4);const _0x3800bb={};_0x3800bb['hookType']=_0x1278cb[_0x518e63(0x19b)],PerformanceTester[_0x518e63(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x27d2e4,_0x3800bb),PerformanceTester[_0x518e63(0x1be)](PerformanceEvents[_0x518e63(0x1e2)],![],_0x27d2e4);}const _0x57c266={};_0x57c266[_0x518e63(0x158)]=_0x1278cb['wznhp'],PerformanceTester['end'](PerformanceHookEvents[_0x518e63(0x155)],!![],null,_0x57c266);}),CodeceptJS[_0x7f06e3(0x1bc)]['dispatcher']['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)][_0x7f06e3(0x14a)],(_0x3960e1,_0x21db66)=>{const _0x3c2a90=_0x7f06e3;PerformanceTester[_0x3c2a90(0x20d)](PerformanceHookEvents[_0x3c2a90(0x155)]);try{if(_0x1278cb[_0x3c2a90(0x147)](_0x3960e1[_0x3c2a90(0x1e8)][_0x3c2a90(0x157)],_0x1278cb[_0x3c2a90(0x161)])){const _0x5255c1=_0x1db5ae[_0x3c2a90(0x15b)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x3960e1[_0x3c2a90(0x1ba)]['currentTest']);CodeceptRecorder[_0x3c2a90(0x18c)](()=>_0x1db5ae['fireEvent'](TEST_EVENTS[_0x3c2a90(0x1ca)],_0x5255c1));}else{const _0x24d56f=_0x1db5ae['captureEvent'](TEST_EVENTS[_0x3c2a90(0x14b)],_0x3960e1,_0x21db66);CodeceptRecorder[_0x3c2a90(0x18c)](()=>{const _0x479122=_0x3c2a90;try{_0x1db5ae[_0x479122(0x17a)](TEST_EVENTS[_0x479122(0x14b)],_0x24d56f);}catch(_0xdbbffc){logger[_0x479122(0x19a)](_0x479122(0x1e5)+util[_0x479122(0x17d)](_0xdbbffc)),PerformanceTester[_0x479122(0x1be)](PerformanceEvents['SDK_TEST'],![],_0xdbbffc);}}),CodeceptRecorder['add'](async()=>{const _0x5d6cfb=_0x3c2a90;try{_0x1278cb['hePdX'](isBrowserstackInfra)&&(_0x502eaa?await _0x1278cb[_0x5d6cfb(0x1da)](playwrightMarkSessionStatus,_0x2f69f8,STATE_FAILED,_0x21db66):await _0x1278cb[_0x5d6cfb(0x1dc)](markSessionStatus,_0x2f69f8,STATE_FAILED,_0x21db66));}catch(_0x5e5352){logger['debug'](_0x5d6cfb(0x192)+util['format'](_0x5e5352)),PerformanceTester['end'](PerformanceEvents[_0x5d6cfb(0x1e2)],![],_0x5e5352);}});}PerformanceTester[_0x3c2a90(0x1be)](PerformanceEvents[_0x3c2a90(0x1e2)]);}catch(_0x4f592e){PerformanceTester['captureError'](_0x4f592e);const _0x3f17e2={};_0x3f17e2[_0x3c2a90(0x158)]=_0x1278cb[_0x3c2a90(0x163)],PerformanceTester[_0x3c2a90(0x1be)](PerformanceHookEvents[_0x3c2a90(0x155)],![],_0x4f592e,_0x3f17e2),PerformanceTester[_0x3c2a90(0x1be)](PerformanceEvents['SDK_TEST'],![],_0x4f592e);}const _0x159082={};_0x159082[_0x3c2a90(0x158)]=_0x1278cb[_0x3c2a90(0x163)],PerformanceTester[_0x3c2a90(0x1be)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x159082);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)]['skipped'],_0x36db63=>{const _0xc08809=_0x7f06e3;PerformanceTester['start'](PerformanceHookEvents[_0xc08809(0x155)]);try{const _0x40484c=_0x1db5ae[_0xc08809(0x15b)](TEST_EVENTS[_0xc08809(0x1ca)],_0x36db63);CodeceptRecorder[_0xc08809(0x18c)](()=>_0x1db5ae[_0xc08809(0x17a)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x40484c)),PerformanceTester[_0xc08809(0x1be)](PerformanceEvents[_0xc08809(0x1e2)]);}catch(_0x165233){PerformanceTester[_0xc08809(0x17c)](_0x165233),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x165233);const _0x4e25d7={};_0x4e25d7[_0xc08809(0x158)]=_0x1278cb[_0xc08809(0x1ae)],PerformanceTester['end'](PerformanceHookEvents[_0xc08809(0x155)],![],_0x165233,_0x4e25d7);}const _0x14edb6={};_0x14edb6['hookType']=_0x1278cb[_0xc08809(0x1ae)],PerformanceTester[_0xc08809(0x1be)](PerformanceHookEvents[_0xc08809(0x155)],!![],null,_0x14edb6);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x16e)]['after'],async(_0x59c7f4,_0x37091b)=>{const _0x8acfe0=_0x7f06e3;try{PerformanceTester['start'](PerformanceHookEvents[_0x8acfe0(0x155)]);if(_0x1278cb[_0x8acfe0(0x166)](isBrowserstackInfra)){const _0x44727d=_0x1278cb[_0x8acfe0(0x1f7)](shouldScanTestForAccessibility,_0x59c7f4[_0x8acfe0(0x1d9)](),!![]);if(_0x1278cb[_0x8acfe0(0x18a)](isAccessibilityAutomationSession)&&global['accessibilityPlatform']&&_0x44727d){const _0x13bc4f={};_0x13bc4f[_0x8acfe0(0x1bb)]=_0x59c7f4[_0x8acfe0(0x173)],_0x13bc4f['thBuildUuid']=process[_0x8acfe0(0x1ac)][testHubConstants['ENV_VAR'][_0x8acfe0(0x193)]],_0x13bc4f[_0x8acfe0(0x17f)]=process['env'][testHubConstants[_0x8acfe0(0x1db)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1d1388=_0x13bc4f;logger[_0x8acfe0(0x19a)](_0x8acfe0(0x1a4)+JSON[_0x8acfe0(0x174)](_0x1d1388)),CodeceptRecorder[_0x8acfe0(0x18c)](async()=>{const _0x341074=_0x8acfe0,_0x2053fb={};_0x2053fb[_0x341074(0x1de)]=_0x1278cb[_0x341074(0x1b6)],await PerformanceTester[_0x341074(0x1c8)](PerformanceA11yEvents[_0x341074(0x19e)],async()=>{const _0x4ef73a=_0x341074;await AccessibilityHelper[_0x4ef73a(0x183)](_0x2f69f8,scripts[_0x4ef73a(0x20c)]);},_0x2053fb)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1cdf30=_0x341074;await AccessibilityHelper[_0x1cdf30(0x183)](_0x2f69f8,scripts[_0x1cdf30(0x191)],_0x1d1388);})();}),logger[_0x8acfe0(0x1b8)](_0x1278cb[_0x8acfe0(0x19c)]);}}const _0x305f5c={};_0x305f5c[_0x8acfe0(0x158)]=_0x1278cb['iVoiW'],PerformanceTester[_0x8acfe0(0x1be)](PerformanceHookEvents[_0x8acfe0(0x155)],!![],null,_0x305f5c);}catch(_0x32f5de){PerformanceTester[_0x8acfe0(0x17c)](_0x32f5de);const _0x1eaabe={};_0x1eaabe['hookType']=_0x1278cb[_0x8acfe0(0x1cd)],PerformanceTester[_0x8acfe0(0x1be)](PerformanceHookEvents['SDK_HOOK'],![],_0x32f5de,_0x1eaabe);}}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1c3)][_0x7f06e3(0x217)],_0x5a2ad6=>{const _0x4bcabe=_0x7f06e3;PerformanceTester[_0x4bcabe(0x20d)](PerformanceHookEvents[_0x4bcabe(0x155)]);try{process[_0x4bcabe(0x160)](_0x4bcabe(0x21a)+process[_0x4bcabe(0x1bd)],{'timestamp':new Date()['toISOString'](),'level':_0x1278cb[_0x4bcabe(0x210)],'message':_0x5a2ad6,'kind':_0x1278cb['RMbpR'],'http_response':{}});}catch(_0x44c5cc){PerformanceTester['captureError'](_0x44c5cc);const _0x1dba32={};_0x1dba32['hookType']=_0x1278cb[_0x4bcabe(0x1a6)],PerformanceTester[_0x4bcabe(0x1be)](PerformanceHookEvents[_0x4bcabe(0x155)],![],_0x44c5cc,_0x1dba32);}const _0x3fa0f2={};_0x3fa0f2[_0x4bcabe(0x158)]=_0x1278cb[_0x4bcabe(0x1a6)],PerformanceTester[_0x4bcabe(0x1be)](PerformanceHookEvents[_0x4bcabe(0x155)],!![],null,_0x3fa0f2);}),CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x216)][_0x7f06e3(0x156)],_0x475364=>{const _0x10f5f4=_0x7f06e3,_0x5c06f4={};_0x5c06f4['hookType']=_0x1278cb['AoYma'],PerformanceTester[_0x10f5f4(0x1c8)](PerformanceHookEvents['SDK_HOOK'],()=>{_0x1db5ae['bddStepStart'](_0x475364);},_0x5c06f4)();}),CodeceptJS['event'][_0x7f06e3(0x1a2)]['on'](CodeceptJS[_0x7f06e3(0x1bc)][_0x7f06e3(0x216)][_0x7f06e3(0x179)],_0x5aeb95=>{const _0x43363a=_0x7f06e3,_0xe12cbb={};_0xe12cbb['hookType']=_0x1278cb[_0x43363a(0x184)],PerformanceTester[_0x43363a(0x1c8)](PerformanceHookEvents[_0x43363a(0x155)],()=>{const _0x44dd67=_0x43363a;_0x1db5ae[_0x44dd67(0x185)](_0x5aeb95);},_0xe12cbb)();});};function a1_0x5ad8(_0x2695ea,_0x59dbdc){const _0x1fd9af=a1_0x1fd9();return a1_0x5ad8=function(_0x5ad879,_0x5e664f){_0x5ad879=_0x5ad879-0x142;let _0x330e03=_0x1fd9af[_0x5ad879];return _0x330e03;},a1_0x5ad8(_0x2695ea,_0x59dbdc);}function a1_0x1fd9(){const _0x1d2679=['qCxjv','env','__skipSessionStatus','iHUrI','action','zNQKf','screenshotOutputFolder','2VPLtPe','MQple','title','../../helpers/performance/performance-tester','RNOft','HMqDP','info','zQEoi','ctx','thTestRunUuid','event','pid','end','forEach','WebDriver','UmIyk','toString','step','czYTy','SDK_PRE_INITIALIZE','stop','catch','measureWrapper','vhlNF','TEST_RUN_SKIPPED','browserstack_executor:\x20','browserstackTestName','iVoiW','__workerDetails','Failed\x20to\x20execute\x20_before:\x20','codeceptjs/lib/helper/Playwright.js','FAOzX','then','Element','oGoMX','yrDHm','started','Puppeteer','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','titlePath','GHLJG','ENV_VAR','VARhs','35824UucQNL','command','BgtJf','getAccessibilityResultsSummary','bWHBA','SDK_TEST','TEST_RUN_STARTED','all','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','hook-started','class','constructor','HOOK_RUN_FINISHED','1268684qVJSpI','getSyncScript','accessibilityPlatform','bind','TEST_SCREENSHOT','status','./o11yHelper','browser','apply','getAccessibilityResults','base64','eabFN','../../helpers/globals.js','jDjdu','../../bin/playwright/sessionDetails','startMonitoring','3582FHNQTJ','warn','../../bin/playwright/accessibility-helper','eVLTi','saveScreenshot','SoabI','CGIaG','CdMtu','4649295ILarli','6ROPIkh','helpers','SDK_POST_TEST','skipSessionName','oxCUP','QcsdS','codeceptjs/lib/utils.js','dDupr','bddStep-after','performScan','start','../../helpers/performance/constants','SYNC','VkIni','setGlobal','call','ApUdk','addRequestSpy','../../helpers/helper','bddStep','comment','1254379fbxhpv','Upycf','bs:addLog:','enabled','mNlpk','exports','GET_RESULTS_SUMMARY','filter','EUPXH','TestCafe','TEST_LOG','iyPam','XbTqB','bstackAllyScanning','failed','TEST_RUN_FINISHED','test-passed','HZQKy','FXiMi','contexts','readFileSync','dHzsm','HGAxy','patchSaveScreenshot','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','SDK_HOOK','before','name','hookType','25922700ISTWQM','test-after','captureEvent','KuZOM','step-comment','initSaveScreenshot','Suite','emit','WoLlH','../../helpers/testhub/constants.js','zIGJY','prototype','mKedV','itrHA','reason','SESSION_NAME','../../helpers/accessibility-automation/helper','AsnGc','browserContext','hook-failed','ZriMP','test','UTdOX','../../helpers/logger','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','codeceptjs/lib/helper/WebDriver.js','testAnalyticsId','stringify','QYNdD','CZXJb','Screenshot\x20path\x20not\x20found','jMCjR','after','fireEvent','GET_RESULTS','captureError','format','container','thJwtToken','BS_TESTOPS_ALLOW_SCREENSHOTS','./helper.js','executeScript','browserStackExecuteDriver','hDmDQ','bddStepFinish','2156604TKJWZF','commandsToWrap','bddStep-before','../../helpers/test-observability/utils','rjlAY','fbIHn','add','setSessionStatus','codeceptjs','1254662QKhLOt','restore','saveTestResults','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','BROWSERSTACK_TESTHUB_UUID','vpEaZ','hook','stopMonitoring','arguments','toISOString','SDK_PRE_TEST','debug','wznhp','iuBtp','util','PERFORM_SCAN','SDK_POST_INITIALIZE','getResults','__driver','dispatcher','winstonLogger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','codeceptjs/lib/recorder.js','uVUfx','_before','Playwright','test-skipped','passed'];a1_0x1fd9=function(){return _0x1d2679;};return a1_0x1fd9();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0x1f1b(){const _0x44f28d=['Getting\x20your\x20codeceptjs\x20configs\x20from\x20','CODECEPT','ASTyL','enabled','useW3C','forEach','title','now','browserName','../../helpers/testhub/testhubHandler','Playwright','winstonLogger','log','getPlatformName','../../helpers/utilities','join','KqecS','4qFsPHe','QPPVi','UVSBN','accessibilityOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','helpers','../utils/constants','cwd','setAdditionalCapabilities','BwUJc','run','skipSessionName','aKQbo','trim','dirname','stringify','../../helpers/performance/constants','188070xTvBMg','findIndex','process','load','testContextOptions','desiredCapabilities','frameworkName','skipSessionStatus','sxPdH','MZWeY','testObservability','BrowserStackPlugin.js','IiiEf','parallelsPerPlatform','format','prepareCapabilities','slice','XvHTV','--config','root','printResults','platforms','../../bin/playwright/accessibility-helper','4|2|1|5|3|0','config','env','playwright-webkit','vJAwK','existsSync','map','FNFVS','../../helpers/helper','plugins','BrowserStackPlugin','EVENTS','length','../../helpers/performance/performance-tester','failed','playwright-firefox','initialize','SbIFn','before','getUserWorkerCount','160qjzHJo','launchBuild','browserStackCwd','browserWSEndpoint','Passed\x20:\x20','BROWSERSTACK_RERUN_TESTS','passed','4587156eNWbmL','17595fTwshk','path','end','result','Started\x20:\x20','createGroupsOfSuites','../../helpers/test-observability/constants','15MFTYHG','toLowerCase','../../helpers/BrowserStackSetup','OYQaY','stop','spawn','../../helpers/accessibility-automation/helper','debug','bBWrb','handleApp','isTestObservabilitySession','hesbO','push','codeceptjs','test','split','isTrue','CODECEPT_CUCUMBER','BROWSERSTACK_TEST_ACCESSIBILITY_YML','oqPxW','addConfig','require','validateRerunTestList','544468DAfRjv','event','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stack','chromium','bootstrapAll','FRAMEWORKS','exports','SDK_SETUP','BROWSERSTACK_RERUN','codecept.conf.js','teardownAll','WebDriver','785844QYoYAk','3456550dahqWM','accessibility','LBnCz','2361075EnTMCY','codecept.json','USER_CONFIG_DETAILS_PATH','browser','tqeSP','mergeDeep','isUndefined','chdir','addTests','ZulOW','err','SDK_CLEANUP','errorMessage','util','../../helpers/test-observability/utils','VWotJ','profile','lwlNX','TfIYS','AhcJW','KAnDb','gherkin'];a2_0x1f1b=function(){return _0x44f28d;};return a2_0x1f1b();}const a2_0x222e02=a2_0x50f9;function a2_0x50f9(_0xbf13c7,_0x828137){const _0x1f1b60=a2_0x1f1b();return a2_0x50f9=function(_0x50f9e4,_0x55a65a){_0x50f9e4=_0x50f9e4-0x89;let _0x46b69d=_0x1f1b60[_0x50f9e4];return _0x46b69d;},a2_0x50f9(_0xbf13c7,_0x828137);}(function(_0x3f3ea6,_0x5e4aed){const _0x2d49e5=a2_0x50f9,_0x4bef25=_0x3f3ea6();while(!![]){try{const _0x8fad4b=parseInt(_0x2d49e5(0xe3))/0x1+-parseInt(_0x2d49e5(0xf0))/0x2+parseInt(_0x2d49e5(0xf4))/0x3*(parseInt(_0x2d49e5(0x11b))/0x4)+parseInt(_0x2d49e5(0xcc))/0x5*(-parseInt(_0x2d49e5(0x92))/0x6)+-parseInt(_0x2d49e5(0xc4))/0x7+parseInt(_0x2d49e5(0xbd))/0x8*(parseInt(_0x2d49e5(0xc5))/0x9)+parseInt(_0x2d49e5(0xf1))/0xa;if(_0x8fad4b===_0x5e4aed)break;else _0x4bef25['push'](_0x4bef25['shift']());}catch(_0x58e3f6){_0x4bef25['push'](_0x4bef25['shift']());}}}(a2_0x1f1b,0x8c21f));const fs=require('fs'),path=require(a2_0x222e02(0xc6)),util=require(a2_0x222e02(0x101)),process=require(a2_0x222e02(0x94)),logger=require('../../helpers/logger')[a2_0x222e02(0x115)],{default:BrowserStackSetup}=require(a2_0x222e02(0xce)),helper=require(a2_0x222e02(0xb1)),utilities=require(a2_0x222e02(0x118)),{checkAccessibilityPlatformConfig}=require(a2_0x222e02(0xd2)),{setAccessibilityCapabilities}=require(a2_0x222e02(0xa8)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x222e02(0xb1)),CodeceptJS=requireModule('codeceptjs/lib/index.js',a2_0x222e02(0xd9)),testOpsHelper=require(a2_0x222e02(0x102)),TestHubHandler=require(a2_0x222e02(0x113)),constants=require(a2_0x222e02(0x121)),PerformanceTester=require(a2_0x222e02(0xb6)),{FRAMEWORKS}=require(a2_0x222e02(0xcb)),PerformanceEvents=require(a2_0x222e02(0x91))[a2_0x222e02(0xb4)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x2468d6,_0x10edbf)=>{const _0x1ef5fa=a2_0x222e02,_0x3c03fc={};_0x3c03fc['hesbO']=function(_0x52b5fa,_0x2703c5){return _0x52b5fa===_0x2703c5;},_0x3c03fc[_0x1ef5fa(0xba)]=_0x1ef5fa(0xed),_0x3c03fc[_0x1ef5fa(0x10c)]=_0x1ef5fa(0xf5);const _0x5b5e6d=_0x3c03fc;let _0x580be6=null;const _0x3ac6e4={};let _0x27e560=_0x10edbf[_0x1ef5fa(0x93)](_0x55c569=>_0x55c569===_0x1ef5fa(0xa4));_0x5b5e6d[_0x1ef5fa(0xd7)](_0x27e560,-0x1)&&(_0x27e560=_0x10edbf['findIndex'](_0x4be517=>_0x4be517==='-c'));if(!helper[_0x1ef5fa(0xfa)](_0x2468d6[_0x1ef5fa(0xaa)])&&fs['existsSync'](path['join'](process[_0x1ef5fa(0x122)](),_0x2468d6['config'])))_0x580be6=path['join'](process[_0x1ef5fa(0x122)](),_0x2468d6[_0x1ef5fa(0xaa)]),_0x10edbf['slice'](_0x27e560,0x2);else{if(!helper[_0x1ef5fa(0xfa)](_0x2468d6['c'])&&fs[_0x1ef5fa(0xae)](path[_0x1ef5fa(0x119)](process[_0x1ef5fa(0x122)](),_0x2468d6['c'])))_0x580be6=path['join'](process[_0x1ef5fa(0x122)](),_0x2468d6['c']),_0x10edbf[_0x1ef5fa(0xa2)](_0x27e560,0x2);else{if(fs[_0x1ef5fa(0xae)](path[_0x1ef5fa(0x119)](process['cwd'](),_0x5b5e6d['SbIFn'])))_0x580be6=path[_0x1ef5fa(0x119)](process[_0x1ef5fa(0x122)](),_0x5b5e6d['SbIFn']);else fs[_0x1ef5fa(0xae)](path['join'](process[_0x1ef5fa(0x122)](),_0x5b5e6d['ASTyL']))&&(_0x580be6=path[_0x1ef5fa(0x119)](process['cwd'](),_0x5b5e6d[_0x1ef5fa(0x10c)]));}}return process['env'][_0x1ef5fa(0xf6)]=_0x580be6,_0x580be6;},getO11yRerunPattern=()=>{const _0x58aa9c=a2_0x222e02,_0x2da62f=helper[_0x58aa9c(0xdc)](process[_0x58aa9c(0xab)][_0x58aa9c(0xec)]);if(_0x2da62f){const _0x260d0e=process[_0x58aa9c(0xab)][_0x58aa9c(0xc2)],_0x373864=[];if(helper[_0x58aa9c(0xe2)](_0x260d0e)&&!helper[_0x58aa9c(0xfa)](_0x260d0e)){_0x260d0e[_0x58aa9c(0xdb)](',')['map'](_0x3477bb=>{const _0x759512=_0x58aa9c;_0x373864[_0x759512(0xd8)]('('+_0x3477bb[_0x759512(0x8e)]()+')');});const _0x390132='^'+_0x373864['join']('|')+'$';return _0x390132;}}return null;},a2_0x5a8f26={};a2_0x5a8f26['chrome']=a2_0x222e02(0xe7),a2_0x5a8f26['playwright-chromium']='chromium',a2_0x5a8f26[a2_0x222e02(0xb8)]='firefox',a2_0x5a8f26[a2_0x222e02(0xac)]='webkit';const pwToCodeceptBrowser=a2_0x5a8f26;async function run(_0xa8c8e6,_0x5df688){const _0x30ed5d=a2_0x222e02,_0x19f618={'BwUJc':function(_0x194d70,_0x3fcbd6){return _0x194d70+_0x3fcbd6;},'KqecS':function(_0x35dcc0,_0x4144c1){return _0x35dcc0(_0x4144c1);},'bBWrb':function(_0x3c43be,_0x52fde7,_0x260473){return _0x3c43be(_0x52fde7,_0x260473);},'IiiEf':_0x30ed5d(0x120),'aKQbo':function(_0x2d362f){return _0x2d362f();},'lwlNX':'Failed\x20:\x20','ZulOW':_0x30ed5d(0xc1),'oqPxW':_0x30ed5d(0xc9),'VWotJ':_0x30ed5d(0xa9),'IeFHx':_0x30ed5d(0xd9),'vJAwK':function(_0x34ca8e,_0x5bf913,_0x4e7378){return _0x34ca8e(_0x5bf913,_0x4e7378);},'XvHTV':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','MZWeY':'Playwright','TfIYS':_0x30ed5d(0xef),'QPPVi':function(_0x1dc7e1,_0x325834){return _0x1dc7e1(_0x325834);},'VuHVU':function(_0x22bec8,_0x3ec1bc){return _0x22bec8!=_0x3ec1bc;},'FNFVS':function(_0x56363b,_0x5c24ac){return _0x56363b===_0x5c24ac;},'UVSBN':_0x30ed5d(0x109),'pLjiE':function(_0x3537ba){return _0x3537ba();},'OYQaY':function(_0x3f0e76,_0x35a3bb){return _0x3f0e76*_0x35a3bb;},'AhcJW':_0x30ed5d(0xf7),'KAnDb':_0x30ed5d(0x97),'tqeSP':_0x30ed5d(0xa5),'sxPdH':_0x30ed5d(0x9d),'ZEdBN':_0x30ed5d(0xbf),'LBnCz':function(_0x2e32f8){return _0x2e32f8();}},_0x4b3231=new BrowserStackSetup(_0xa8c8e6,_0x19f618['IeFHx']);await _0x4b3231[_0x30ed5d(0xb9)](),await helper[_0x30ed5d(0xd5)](_0x4b3231[_0x30ed5d(0xaa)]);if(!_0x4b3231[_0x30ed5d(0xaa)])return;process[_0x30ed5d(0x104)]=_0xa8c8e6[_0x30ed5d(0x104)];_0xa8c8e6[_0x30ed5d(0x104)]&&(process[_0x30ed5d(0xab)][_0x30ed5d(0x104)]=_0xa8c8e6[_0x30ed5d(0x104)]);const _0x13dbb3=_0x19f618[_0x30ed5d(0xad)](getUserCodeceptJSConfigs,_0xa8c8e6,_0x5df688);let _0x3b9a82={};_0x13dbb3?(logger['info'](_0x30ed5d(0x10a)+_0x13dbb3),_0x3b9a82=CodeceptJS[_0x30ed5d(0xaa)][_0x30ed5d(0x95)](_0x13dbb3)):logger['info'](_0x19f618[_0x30ed5d(0xa3)]);let _0x1b33b2=![];_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x19f618[_0x30ed5d(0x9b)]])&&(_0x1b33b2=!![]);const _0x1075a1=_0x1b33b2?_0x19f618[_0x30ed5d(0x9b)]:_0x19f618[_0x30ed5d(0x106)];let _0x415428=!_0x1b33b2?helper[_0x30ed5d(0x10e)](_0x4b3231[_0x30ed5d(0xaa)]):![];!helper['isUndefined'](_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0x11e)])&&(process[_0x30ed5d(0xab)][_0x30ed5d(0xe5)]=JSON[_0x30ed5d(0x90)](_0x4b3231[_0x30ed5d(0xaa)]['accessibilityOptions']));let _0x44c123=_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0xf2)];_0x44c123=_0x44c123||_0x19f618[_0x30ed5d(0x11c)](checkAccessibilityPlatformConfig,_0x4b3231['config']),process[_0x30ed5d(0xab)][_0x30ed5d(0xde)]=_0x44c123;_0x44c123&&(_0x415428=!_0x44c123);_0x19f618['VuHVU'](_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0x9c)],null)?process[_0x30ed5d(0xab)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4b3231['config'][_0x30ed5d(0x9c)]:process[_0x30ed5d(0xab)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x19f618[_0x30ed5d(0xb0)](_0x1075a1,_0x19f618['MZWeY']);const _0x44b893=_0x19f618[_0x30ed5d(0xd4)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x11d)]]),_0x42f852=_0x44b893&&!helper['isEmpty'](_0x44b893)?FRAMEWORKS[_0x30ed5d(0xdd)]:FRAMEWORKS['CODECEPT'],_0x2c055d=await TestHubHandler[_0x30ed5d(0xbe)](_0x42f852,_0x4b3231);_0x44c123&&_0x19f618[_0x30ed5d(0x11c)](setAccessibilityCapabilities,_0x4b3231['config']);const _0x367a3c={},_0x38e1f0=[],_0x5cb452=_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0x9f)]||helper[_0x30ed5d(0xbc)](_0xa8c8e6,_0x5df688,_0x4b3231['config'],constants[_0x30ed5d(0xe9)][_0x30ed5d(0x10b)])||0x1;let _0x3861e3=0x1;if(_0x19f618['pLjiE'](isBrowserstackInfra)){const _0x1fbecd=helper[_0x30ed5d(0xa1)](_0x4b3231[_0x30ed5d(0xaa)],_0x415428,constants[_0x30ed5d(0xe9)][_0x30ed5d(0x10b)]);_0x1fbecd[_0x30ed5d(0x10f)](_0x3c6e01=>{const _0x5a7b1a=_0x30ed5d;helper[_0x5a7b1a(0x89)](_0x3c6e01);}),helper['validPlatformsPresent'](_0x4b3231[_0x30ed5d(0xaa)])?_0x3861e3=_0x19f618[_0x30ed5d(0xcf)](_0x5cb452,_0x4b3231[_0x30ed5d(0xaa)][_0x30ed5d(0xa7)][_0x30ed5d(0xb5)]):_0x3861e3=_0x5cb452,_0x1fbecd[_0x30ed5d(0x10f)](_0x4e3adf=>{const _0x48bc52=_0x30ed5d,_0x1d53e8=_0x19f618[_0x48bc52(0x8a)](helper[_0x48bc52(0x117)](_0x4e3adf,'_'),'_'+Date[_0x48bc52(0x111)]()),_0x45a5f9=((()=>{const _0x5b71f8=_0x48bc52;if(_0x1b33b2){const _0x1f1c51=pwToCodeceptBrowser[_0x4e3adf['browserName']]||_0x4e3adf[_0x5b71f8(0x112)];return{'browser':_0x1f1c51,[_0x1f1c51]:{'browserWSEndpoint':_0x19f618[_0x5b71f8(0x8a)](helper['getPlaywrightUrl'](_0x4b3231[_0x5b71f8(0xaa)]),_0x19f618[_0x5b71f8(0x11a)](encodeURIComponent,JSON[_0x5b71f8(0x90)](_0x4e3adf)))}};}const _0x2e7709={};return _0x2e7709[_0x5b71f8(0x97)]=_0x4e3adf,_0x2e7709;})()),_0x45fc3e=_0x19f618[_0x48bc52(0xd4)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x48bc52(0x9e)],_0x1075a1]);_0x367a3c[_0x1d53e8]=_0x45fc3e?helper[_0x48bc52(0xf9)](_0x45a5f9,_0x45fc3e):_0x45a5f9,!_0x1b33b2&&(_0x367a3c[_0x1d53e8][_0x48bc52(0xf7)]=_0x4e3adf['browserName']||_0x45a5f9[_0x48bc52(0xf7)]),_0x38e1f0[_0x48bc52(0xd8)](_0x1d53e8);});}else{_0x3861e3=0x1;if(_0x1b33b2){const _0x1dcb5d=_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x1075a1,_0x19f618[_0x30ed5d(0x107)]]),_0x31b53d=_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x1075a1,_0x1dcb5d]);_0x31b53d&&_0x31b53d['browserWSEndpoint']&&(_0x31b53d['browserWSEndpoint']=helper[_0x30ed5d(0xa1)](null,null,_0x42f852[_0x30ed5d(0xcd)](),null,null,_0x31b53d[_0x30ed5d(0xc0)]));}else _0x3b9a82[_0x19f618['IiiEf']][_0x1075a1][_0x19f618[_0x30ed5d(0x108)]]=helper[_0x30ed5d(0xa1)](null,null,_0x42f852[_0x30ed5d(0xcd)](),_0x19f618[_0x30ed5d(0xad)](nestedKeyValue,_0x3b9a82,[_0x19f618[_0x30ed5d(0x9e)],_0x1075a1,_0x19f618[_0x30ed5d(0x108)]]),null,null);_0x367a3c[_0x19f618[_0x30ed5d(0xf8)]]=_0x3b9a82,_0x38e1f0[_0x30ed5d(0xd8)](_0x19f618[_0x30ed5d(0xf8)]);}const _0x1ef88d={};_0x1ef88d['testConfig']=_0x13dbb3;const _0x3340ff=_0x1ef88d,_0x9d666c=path[_0x30ed5d(0x119)](__dirname,_0x19f618[_0x30ed5d(0x9a)]),_0x2fee0b=process[_0x30ed5d(0x122)]();process[_0x30ed5d(0xab)][_0x19f618['ZEdBN']]=_0x2fee0b,process['chdir'](path[_0x30ed5d(0x8f)](_0x13dbb3));const _0x5f38a0=new CodeceptJS['Workers'](null,_0x3340ff),_0x394fd7=_0x5f38a0[_0x30ed5d(0xca)](_0x3861e3),_0x250ee5=testOpsHelper[_0x30ed5d(0xd6)](),_0x43473c=_0x38e1f0[_0x30ed5d(0xaf)](_0x15de28=>{const _0x213f24=_0x30ed5d,_0x1c398c={};_0x1c398c[_0x213f24(0x114)]=_0x367a3c[_0x15de28];const _0x385c58={};_0x385c58['WebDriver']=_0x367a3c[_0x15de28];const _0x23fedb=_0x1b33b2?_0x1c398c:_0x385c58,_0x2bde35=_0x19f618[_0x213f24(0x8d)](getO11yRerunPattern),_0x240ef1={};_0x240ef1['helpers']=_0x23fedb;const _0x383921={};_0x383921[_0x213f24(0xe1)]=_0x9d666c,_0x383921[_0x213f24(0x10d)]=!![],_0x383921[_0x213f24(0x8c)]=_0x4b3231[_0x213f24(0xaa)][_0x213f24(0x96)][_0x213f24(0x8c)],_0x383921[_0x213f24(0x99)]=_0x4b3231[_0x213f24(0xaa)]['testContextOptions'][_0x213f24(0x99)],_0x383921[_0x213f24(0x9c)]=_0x250ee5,_0x383921[_0x213f24(0x98)]=_0x42f852;const _0x46ae67={};_0x46ae67[_0x213f24(0xb3)]=_0x383921;const _0x6f18fc={};return _0x6f18fc[_0x213f24(0xb2)]=_0x46ae67,helper['mergeDeep']({},_0x3b9a82,_0x19f618[_0x213f24(0x8d)](isBrowserstackInfra)?_0x240ef1:{},_0x2bde35?{'grep':_0x2bde35}:{},_0x6f18fc);});for(const _0x40b414 of _0x43473c){for(const _0x492546 of _0x394fd7){const _0x3ed3d6=_0x5f38a0[_0x30ed5d(0xd1)]();_0x3ed3d6[_0x30ed5d(0xfc)](_0x492546),_0x3ed3d6[_0x30ed5d(0xe0)](_0x40b414);const _0x234652={};_0x234652[_0x30ed5d(0xaa)]=_0x13dbb3,_0x3ed3d6['addOptions'](_0x234652);}}_0x5f38a0['on'](CodeceptJS[_0x30ed5d(0xe4)][_0x30ed5d(0xda)][_0x30ed5d(0xb7)],(_0x2cca47,_0xf0def1)=>{const _0xd16910=_0x30ed5d;console['log'](_0x19f618[_0xd16910(0x105)],_0x2cca47[_0xd16910(0x110)]);const _0x542497={[_0x2cca47[_0xd16910(0x110)]]:_0x2cca47[_0xd16910(0xfe)][_0xd16910(0xe6)]};_testErrorData[_0xd16910(0xd8)](_0x542497);}),_0x5f38a0['on'](CodeceptJS['event'][_0x30ed5d(0xda)][_0x30ed5d(0xc3)],async _0x43e4f0=>{const _0x191cca=_0x30ed5d;console[_0x191cca(0x116)](_0x19f618[_0x191cca(0xfd)],_0x43e4f0[_0x191cca(0x110)]);}),_0x5f38a0['on'](CodeceptJS['event'][_0x30ed5d(0xda)][_0x30ed5d(0xbb)],async _0x599996=>{const _0x24024e=_0x30ed5d;console[_0x24024e(0x116)](_0x19f618[_0x24024e(0xdf)],_0x599996[_0x24024e(0x110)]);}),_0x5f38a0['on'](CodeceptJS[_0x30ed5d(0xe4)]['all'][_0x30ed5d(0xc8)],async()=>{const _0x3e8ade=_0x30ed5d,_0x512761=_0x19f618[_0x3e8ade(0x103)][_0x3e8ade(0xdb)]('|');let _0x5e1293=0x0;while(!![]){switch(_0x512761[_0x5e1293++]){case'0':_0x5f38a0[_0x3e8ade(0xa6)]();continue;case'1':testOpsHelper['printBuildLink']();continue;case'2':_0x4b3231[_0x3e8ade(0x100)]=_testErrorData;continue;case'3':try{await TestHubHandler[_0x3e8ade(0xd0)]();}catch(_0x4c58c0){logger[_0x3e8ade(0xd3)](_0x3e8ade(0x11f)+util[_0x3e8ade(0xa0)](_0x4c58c0));}continue;case'4':PerformanceTester['start'](PerformanceEvents[_0x3e8ade(0xff)]);continue;case'5':utilities['finalExecution'](_0x4b3231);continue;}break;}});async function _0x3ebfee(){const _0x2f44d6=_0x30ed5d;try{await _0x5f38a0[_0x2f44d6(0xe8)](),await _0x5f38a0[_0x2f44d6(0x8b)]();}finally{process[_0x2f44d6(0xfb)](_0x2fee0b),await _0x5f38a0[_0x2f44d6(0xee)]();}}PerformanceTester[_0x30ed5d(0xc7)](PerformanceEvents[_0x30ed5d(0xeb)]),_0x19f618[_0x30ed5d(0xf3)](_0x3ebfee);}module[a2_0x222e02(0xea)]=run;
2
+ 'use strict';const a2_0x5009b0=a2_0x22aa;(function(_0x27f264,_0x14e2a8){const _0x3a3402=a2_0x22aa,_0x418183=_0x27f264();while(!![]){try{const _0x262e52=parseInt(_0x3a3402(0x16f))/0x1*(-parseInt(_0x3a3402(0x158))/0x2)+parseInt(_0x3a3402(0x19f))/0x3*(parseInt(_0x3a3402(0x1bc))/0x4)+-parseInt(_0x3a3402(0x1b3))/0x5*(parseInt(_0x3a3402(0x16b))/0x6)+-parseInt(_0x3a3402(0x1c5))/0x7*(parseInt(_0x3a3402(0x142))/0x8)+parseInt(_0x3a3402(0x18f))/0x9*(parseInt(_0x3a3402(0x166))/0xa)+parseInt(_0x3a3402(0x187))/0xb*(-parseInt(_0x3a3402(0x150))/0xc)+parseInt(_0x3a3402(0x180))/0xd;if(_0x262e52===_0x14e2a8)break;else _0x418183['push'](_0x418183['shift']());}catch(_0x1f20d9){_0x418183['push'](_0x418183['shift']());}}}(a2_0x4439,0xc0be2));function a2_0x4439(){const _0x1e6eb8=['4qhxuZM','addConfig','BROWSERSTACK_TEST_ACCESSIBILITY_YML','elrlE','log','../../helpers/helper','stack','WebDriver','browser','SDK_SETUP','exports','validateRerunTestList','../../bin/playwright/accessibility-helper','failed','2940940fWZpxD','gherkin','existsSync','playwright-chromium','oPmid','15102VheJaW','BROWSERSTACK_RERUN','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','addTests','527237eRuyXq','KOhOy','XCXuN','accessibilityOptions','SDK_CLEANUP','isTestObservabilitySession','SCryx','platforms','slice','NuNTo','chromium','printBuildLink','push','forEach','webkit','CODECEPT','initialize','38809212lZznHE','addOptions','codeceptjs/lib/index.js','ftwUh','winstonLogger','stringify','helpers','602437MPVXIA','AdMin','../../helpers/logger','OcjqD','launchBuild','../utils/constants','now','bootstrapAll','9hCIeMt','format','Playwright','getPlaywrightUrl','../../helpers/test-observability/utils','0|2|4|3|5|1','start','CODECEPT_CUCUMBER','isUndefined','info','map','all','stop','result','test','err','69NGnyZH','fijSe','debug','CPbnp','browserWSEndpoint','BrowserStackPlugin','isTrue','desiredCapabilities','env','finalExecution','join','../../helpers/performance/performance-tester','LWLXl','pXCQH','kyclq','browserName','hrHAS','USER_CONFIG_DETAILS_PATH','process','ClqcI','515okXiSA','rjdPT','FRAMEWORKS','aRnHm','enabled','XWGKc','plugins','path','VCQDu','36460JYqqrr','chdir','errorMessage','QzRJq','kqwJE','wNlSz','testObservability','VSzWA','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2800406UDrXPl','playwright-firefox','event','BYQxo','require','passed','util','prepareCapabilities','Passed\x20:\x20','toLowerCase','testContextOptions','split','UzKQm','config','epzIg','teardownAll','Failed\x20:\x20','root','length','IzXDj','yaRnm','end','LiHXg','handleApp','codecept.json','8gREaWb','isEmpty','BROWSERSTACK_TEST_OBSERVABILITY_YML','mergeDeep','trim','frameworkName','testConfig','getPlatformName','findIndex','profile','FCQIO','browserStackCwd','firefox','gtmgA','216DuePIf','../../helpers/accessibility-automation/helper','skipSessionName','dirname','cwd','title','load','Started\x20:\x20'];a2_0x4439=function(){return _0x1e6eb8;};return a2_0x4439();}function a2_0x22aa(_0x12a026,_0x41f92f){const _0x443945=a2_0x4439();return a2_0x22aa=function(_0x22aaff,_0xc5dc1f){_0x22aaff=_0x22aaff-0x130;let _0x6c5f73=_0x443945[_0x22aaff];return _0x6c5f73;},a2_0x22aa(_0x12a026,_0x41f92f);}const fs=require('fs'),path=require(a2_0x5009b0(0x1ba)),util=require(a2_0x5009b0(0x1cb)),process=require(a2_0x5009b0(0x1b1)),logger=require(a2_0x5009b0(0x189))[a2_0x5009b0(0x184)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a2_0x5009b0(0x15d)),utilities=require('../../helpers/utilities'),{checkAccessibilityPlatformConfig}=require(a2_0x5009b0(0x151)),{setAccessibilityCapabilities}=require(a2_0x5009b0(0x164)),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x5009b0(0x15d)),CodeceptJS=requireModule(a2_0x5009b0(0x182),'codeceptjs'),testOpsHelper=require(a2_0x5009b0(0x193)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),constants=require(a2_0x5009b0(0x18c)),PerformanceTester=require(a2_0x5009b0(0x1aa)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x1128cc,_0x159ce5)=>{const _0x256bbd=a2_0x5009b0,_0x49d544={};_0x49d544['KOhOy']=function(_0x2c8a0e,_0x56bddc){return _0x2c8a0e===_0x56bddc;},_0x49d544[_0x256bbd(0x13d)]='codecept.conf.js',_0x49d544['IzXDj']=_0x256bbd(0x141);const _0x4ffe96=_0x49d544;let _0x48bc4c=null;const _0x374cbb={};let _0x4bea75=_0x159ce5[_0x256bbd(0x14a)](_0x501056=>_0x501056==='--config');_0x4ffe96[_0x256bbd(0x170)](_0x4bea75,-0x1)&&(_0x4bea75=_0x159ce5[_0x256bbd(0x14a)](_0x209365=>_0x209365==='-c'));if(!helper['isUndefined'](_0x1128cc[_0x256bbd(0x136)])&&fs[_0x256bbd(0x168)](path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x1128cc['config'])))_0x48bc4c=path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x1128cc[_0x256bbd(0x136)]),_0x159ce5[_0x256bbd(0x177)](_0x4bea75,0x2);else{if(!helper[_0x256bbd(0x197)](_0x1128cc['c'])&&fs[_0x256bbd(0x168)](path[_0x256bbd(0x1a9)](process['cwd'](),_0x1128cc['c'])))_0x48bc4c=path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x1128cc['c']),_0x159ce5[_0x256bbd(0x177)](_0x4bea75,0x2);else{if(fs['existsSync'](path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x4ffe96['yaRnm'])))_0x48bc4c=path['join'](process['cwd'](),_0x4ffe96[_0x256bbd(0x13d)]);else fs[_0x256bbd(0x168)](path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x4ffe96['IzXDj']))&&(_0x48bc4c=path[_0x256bbd(0x1a9)](process[_0x256bbd(0x154)](),_0x4ffe96[_0x256bbd(0x13c)]));}}return process['env'][_0x256bbd(0x1b0)]=_0x48bc4c,_0x48bc4c;},getO11yRerunPattern=()=>{const _0x2108d5=a2_0x5009b0,_0x3d5385=helper[_0x2108d5(0x1a5)](process[_0x2108d5(0x1a7)][_0x2108d5(0x16c)]);if(_0x3d5385){const _0x307109=process[_0x2108d5(0x1a7)]['BROWSERSTACK_RERUN_TESTS'],_0x57d3ec=[];if(helper[_0x2108d5(0x163)](_0x307109)&&!helper['isUndefined'](_0x307109)){_0x307109[_0x2108d5(0x134)](',')[_0x2108d5(0x199)](_0x26e8b8=>{const _0xed55f3=_0x2108d5;_0x57d3ec[_0xed55f3(0x17b)]('('+_0x26e8b8[_0xed55f3(0x146)]()+')');});const _0x505cad='^'+_0x57d3ec['join']('|')+'$';return _0x505cad;}}return null;},a2_0x435382={};a2_0x435382['chrome']=a2_0x5009b0(0x179),a2_0x435382[a2_0x5009b0(0x169)]=a2_0x5009b0(0x179),a2_0x435382[a2_0x5009b0(0x1c6)]=a2_0x5009b0(0x14e),a2_0x435382['playwright-webkit']=a2_0x5009b0(0x17d);const pwToCodeceptBrowser=a2_0x435382;async function run(_0x231974,_0x50181f){const _0x219fda=a2_0x5009b0,_0x2ba5b8={'kyclq':function(_0x46ce57,_0x12f8b2){return _0x46ce57+_0x12f8b2;},'VCQDu':function(_0x1daf4c,_0x527d3c){return _0x1daf4c(_0x527d3c);},'fijSe':function(_0x1c3022,_0xa22053){return _0x1c3022+_0xa22053;},'rjdPT':function(_0x35349d,_0x440fa5,_0x2ac92b){return _0x35349d(_0x440fa5,_0x2ac92b);},'gtmgA':_0x219fda(0x186),'QzRJq':function(_0x3c8f35){return _0x3c8f35();},'BYQxo':function(_0x3bb64f){return _0x3bb64f();},'aRnHm':_0x219fda(0x139),'oPmid':_0x219fda(0x131),'kqwJE':_0x219fda(0x157),'vGfVv':_0x219fda(0x194),'LWLXl':'codeceptjs','VSzWA':function(_0x2370f2,_0xe66445,_0x4f3cd1){return _0x2370f2(_0xe66445,_0x4f3cd1);},'LiHXg':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hrHAS':function(_0x4f8d25,_0x949da7,_0x535080){return _0x4f8d25(_0x949da7,_0x535080);},'AdMin':_0x219fda(0x191),'ClqcI':_0x219fda(0x15f),'Dxbql':function(_0x2603f8,_0x3c2563){return _0x2603f8(_0x3c2563);},'NuNTo':function(_0x245886,_0x3385f9){return _0x245886!=_0x3385f9;},'XWGKc':function(_0x469eb2,_0x291938){return _0x469eb2===_0x291938;},'ftwUh':_0x219fda(0x167),'GHeAU':function(_0x517a00,_0x2b3c22){return _0x517a00(_0x2b3c22);},'SCryx':function(_0xfc8a79,_0x5d4720){return _0xfc8a79*_0x5d4720;},'sDAec':function(_0x2263a2,_0x4d9a40,_0x366896){return _0x2263a2(_0x4d9a40,_0x366896);},'XCXuN':_0x219fda(0x160),'elrlE':function(_0x6a5a08,_0x3bd157,_0x1bdc7a){return _0x6a5a08(_0x3bd157,_0x1bdc7a);},'wNlSz':_0x219fda(0x1a6),'epzIg':function(_0x5ad2b4,_0x16ee2d,_0x30a35){return _0x5ad2b4(_0x16ee2d,_0x30a35);},'CPbnp':_0x219fda(0x13a),'pXCQH':'BrowserStackPlugin.js','UzKQm':_0x219fda(0x14d)},_0x29818f=new BrowserStackSetup(_0x231974,_0x2ba5b8[_0x219fda(0x1ab)]);await _0x29818f[_0x219fda(0x17f)](),await helper[_0x219fda(0x140)](_0x29818f[_0x219fda(0x136)]);if(!_0x29818f[_0x219fda(0x136)])return;process[_0x219fda(0x14b)]=_0x231974[_0x219fda(0x14b)];_0x231974['profile']&&(process['env'][_0x219fda(0x14b)]=_0x231974['profile']);const _0x52da04=_0x2ba5b8[_0x219fda(0x1c3)](getUserCodeceptJSConfigs,_0x231974,_0x50181f);let _0x55d165={};_0x52da04?(logger[_0x219fda(0x198)](_0x219fda(0x16d)+_0x52da04),_0x55d165=CodeceptJS[_0x219fda(0x136)][_0x219fda(0x156)](_0x52da04)):logger[_0x219fda(0x198)](_0x2ba5b8[_0x219fda(0x13f)]);let _0xdf724f=![];_0x2ba5b8[_0x219fda(0x1af)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x2ba5b8[_0x219fda(0x188)]])&&(_0xdf724f=!![]);const _0x48c165=_0xdf724f?_0x2ba5b8['AdMin']:_0x2ba5b8[_0x219fda(0x1b2)];let _0x4bb8d7=!_0xdf724f?helper['useW3C'](_0x29818f[_0x219fda(0x136)]):![];!helper[_0x219fda(0x197)](_0x29818f[_0x219fda(0x136)][_0x219fda(0x172)])&&(process[_0x219fda(0x1a7)][_0x219fda(0x1c4)]=JSON['stringify'](_0x29818f[_0x219fda(0x136)]['accessibilityOptions']));let _0x5df8ed=_0x29818f[_0x219fda(0x136)]['accessibility'];_0x5df8ed=_0x5df8ed||_0x2ba5b8['Dxbql'](checkAccessibilityPlatformConfig,_0x29818f[_0x219fda(0x136)]),process['env'][_0x219fda(0x15a)]=_0x5df8ed;_0x5df8ed&&(_0x4bb8d7=!_0x5df8ed);_0x2ba5b8[_0x219fda(0x178)](_0x29818f['config'][_0x219fda(0x1c2)],null)?process[_0x219fda(0x1a7)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x29818f[_0x219fda(0x136)]['testObservability']:process[_0x219fda(0x1a7)][_0x219fda(0x144)]=_0x2ba5b8[_0x219fda(0x1b8)](_0x48c165,_0x2ba5b8[_0x219fda(0x188)]);const _0x3c5bd0=_0x2ba5b8[_0x219fda(0x1af)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x183)]]),_0x24e148=_0x3c5bd0&&!helper[_0x219fda(0x143)](_0x3c5bd0)?FRAMEWORKS[_0x219fda(0x196)]:FRAMEWORKS[_0x219fda(0x17e)],_0x46fc17=await TestHubHandler[_0x219fda(0x18b)](_0x24e148,_0x29818f);_0x5df8ed&&_0x2ba5b8['GHeAU'](setAccessibilityCapabilities,_0x29818f[_0x219fda(0x136)]);const _0x2944b1={},_0x5c334e=[],_0x5f1708=_0x29818f[_0x219fda(0x136)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x231974,_0x50181f,_0x29818f[_0x219fda(0x136)],constants[_0x219fda(0x1b5)][_0x219fda(0x17e)])||0x1;let _0x5c32a5=0x1;if(_0x2ba5b8[_0x219fda(0x1bf)](isBrowserstackInfra)){const _0x534820=helper[_0x219fda(0x130)](_0x29818f['config'],_0x4bb8d7,constants[_0x219fda(0x1b5)][_0x219fda(0x17e)]);_0x534820[_0x219fda(0x17c)](_0x405b06=>{helper['setAdditionalCapabilities'](_0x405b06);}),helper['validPlatformsPresent'](_0x29818f['config'])?_0x5c32a5=_0x2ba5b8[_0x219fda(0x175)](_0x5f1708,_0x29818f[_0x219fda(0x136)][_0x219fda(0x176)][_0x219fda(0x13b)]):_0x5c32a5=_0x5f1708,_0x534820[_0x219fda(0x17c)](_0x5794fb=>{const _0xa07e92=_0x219fda,_0x27e218={'OcjqD':function(_0x34a70b,_0xc57226){const _0x24f012=a2_0x22aa;return _0x2ba5b8[_0x24f012(0x1ad)](_0x34a70b,_0xc57226);},'FCQIO':function(_0x5a0da5,_0x55a454){const _0x2d1ba4=a2_0x22aa;return _0x2ba5b8[_0x2d1ba4(0x1bb)](_0x5a0da5,_0x55a454);}},_0x40202f=_0x2ba5b8[_0xa07e92(0x1a0)](helper[_0xa07e92(0x149)](_0x5794fb,'_'),'_'+Date[_0xa07e92(0x18d)]()),_0xa42784=((()=>{const _0x13ede2=_0xa07e92;if(_0xdf724f){const _0x5f00ec=pwToCodeceptBrowser[_0x5794fb[_0x13ede2(0x1ae)]]||_0x5794fb[_0x13ede2(0x1ae)];return{'browser':_0x5f00ec,[_0x5f00ec]:{'browserWSEndpoint':_0x27e218[_0x13ede2(0x18a)](helper[_0x13ede2(0x192)](_0x29818f['config']),_0x27e218[_0x13ede2(0x14c)](encodeURIComponent,JSON[_0x13ede2(0x185)](_0x5794fb)))}};}const _0xa7f04c={};return _0xa7f04c['desiredCapabilities']=_0x5794fb,_0xa7f04c;})()),_0x202a1f=_0x2ba5b8[_0xa07e92(0x1b4)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0xa07e92(0x14f)],_0x48c165]);_0x2944b1[_0x40202f]=_0x202a1f?helper[_0xa07e92(0x145)](_0xa42784,_0x202a1f):_0xa42784,!_0xdf724f&&(_0x2944b1[_0x40202f][_0xa07e92(0x160)]=_0x5794fb['browserName']||_0xa42784[_0xa07e92(0x160)]),_0x5c334e[_0xa07e92(0x17b)](_0x40202f);});}else{_0x5c32a5=0x1;if(_0xdf724f){const _0x43e810=_0x2ba5b8['sDAec'](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x48c165,_0x2ba5b8[_0x219fda(0x171)]]),_0x64e895=_0x2ba5b8[_0x219fda(0x15b)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x48c165,_0x43e810]);_0x64e895&&_0x64e895[_0x219fda(0x1a3)]&&(_0x64e895[_0x219fda(0x1a3)]=helper['prepareCapabilities'](null,null,_0x24e148[_0x219fda(0x132)](),null,null,_0x64e895[_0x219fda(0x1a3)]));}else _0x55d165[_0x2ba5b8['gtmgA']][_0x48c165][_0x2ba5b8['wNlSz']]=helper[_0x219fda(0x130)](null,null,_0x24e148[_0x219fda(0x132)](),_0x2ba5b8[_0x219fda(0x137)](nestedKeyValue,_0x55d165,[_0x2ba5b8[_0x219fda(0x14f)],_0x48c165,_0x2ba5b8[_0x219fda(0x1c1)]]),null,null);_0x2944b1[_0x2ba5b8[_0x219fda(0x1a2)]]=_0x55d165,_0x5c334e[_0x219fda(0x17b)](_0x2ba5b8[_0x219fda(0x1a2)]);}const _0x3990a2={};_0x3990a2[_0x219fda(0x148)]=_0x52da04;const _0x180f81=_0x3990a2,_0x1aa8c6=path[_0x219fda(0x1a9)](__dirname,_0x2ba5b8[_0x219fda(0x1ac)]),_0x28f264=process[_0x219fda(0x154)]();process[_0x219fda(0x1a7)][_0x2ba5b8[_0x219fda(0x135)]]=_0x28f264,process[_0x219fda(0x1bd)](path[_0x219fda(0x153)](_0x52da04));const _0x9e86b8=new CodeceptJS['Workers'](null,_0x180f81),_0x169f5a=_0x9e86b8['createGroupsOfSuites'](_0x5c32a5),_0x106415=testOpsHelper[_0x219fda(0x174)](),_0x32f898=_0x5c334e['map'](_0x4e88ab=>{const _0x1558bb=_0x219fda,_0x2ea87b={};_0x2ea87b[_0x1558bb(0x191)]=_0x2944b1[_0x4e88ab];const _0x587dbf={};_0x587dbf['WebDriver']=_0x2944b1[_0x4e88ab];const _0x3639e5=_0xdf724f?_0x2ea87b:_0x587dbf,_0x3f7b27=_0x2ba5b8[_0x1558bb(0x1bf)](getO11yRerunPattern),_0x3f601a={};_0x3f601a[_0x1558bb(0x186)]=_0x3639e5;const _0x54ccc8={};_0x54ccc8[_0x1558bb(0x1c9)]=_0x1aa8c6,_0x54ccc8[_0x1558bb(0x1b7)]=!![],_0x54ccc8[_0x1558bb(0x152)]=_0x29818f[_0x1558bb(0x136)][_0x1558bb(0x133)][_0x1558bb(0x152)],_0x54ccc8['skipSessionStatus']=_0x29818f[_0x1558bb(0x136)][_0x1558bb(0x133)]['skipSessionStatus'],_0x54ccc8['testObservability']=_0x106415,_0x54ccc8[_0x1558bb(0x147)]=_0x24e148;const _0x3f9930={};_0x3f9930[_0x1558bb(0x1a4)]=_0x54ccc8;const _0x5d70b6={};return _0x5d70b6[_0x1558bb(0x1b9)]=_0x3f9930,helper['mergeDeep']({},_0x55d165,_0x2ba5b8[_0x1558bb(0x1c8)](isBrowserstackInfra)?_0x3f601a:{},_0x3f7b27?{'grep':_0x3f7b27}:{},_0x5d70b6);});for(const _0xf36c21 of _0x32f898){for(const _0x49d1b8 of _0x169f5a){const _0x5e80a5=_0x9e86b8['spawn']();_0x5e80a5[_0x219fda(0x16e)](_0x49d1b8),_0x5e80a5[_0x219fda(0x159)](_0xf36c21);const _0x5bf0b6={};_0x5bf0b6[_0x219fda(0x136)]=_0x52da04,_0x5e80a5[_0x219fda(0x181)](_0x5bf0b6);}}_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19d)][_0x219fda(0x165)],(_0xbc5b4f,_0x27e6d3)=>{const _0x2bc674=_0x219fda;console[_0x2bc674(0x15c)](_0x2ba5b8[_0x2bc674(0x1b6)],_0xbc5b4f['title']);const _0x2ebc1c={[_0xbc5b4f[_0x2bc674(0x155)]]:_0xbc5b4f[_0x2bc674(0x19e)][_0x2bc674(0x15e)]};_testErrorData[_0x2bc674(0x17b)](_0x2ebc1c);}),_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19d)][_0x219fda(0x1ca)],async _0x2195b5=>{const _0xc2a53a=_0x219fda;console[_0xc2a53a(0x15c)](_0x2ba5b8[_0xc2a53a(0x16a)],_0x2195b5[_0xc2a53a(0x155)]);}),_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19d)]['before'],async _0xa7581c=>{const _0x3c706c=_0x219fda;console[_0x3c706c(0x15c)](_0x2ba5b8[_0x3c706c(0x1c0)],_0xa7581c[_0x3c706c(0x155)]);}),_0x9e86b8['on'](CodeceptJS[_0x219fda(0x1c7)][_0x219fda(0x19a)][_0x219fda(0x19c)],async()=>{const _0x5058db=_0x219fda,_0x1a425d=_0x2ba5b8['vGfVv']['split']('|');let _0x51781a=0x0;while(!![]){switch(_0x1a425d[_0x51781a++]){case'0':PerformanceTester[_0x5058db(0x195)](PerformanceEvents[_0x5058db(0x173)]);continue;case'1':_0x9e86b8['printResults']();continue;case'2':_0x29818f[_0x5058db(0x1be)]=_testErrorData;continue;case'3':utilities[_0x5058db(0x1a8)](_0x29818f);continue;case'4':testOpsHelper[_0x5058db(0x17a)]();continue;case'5':try{await TestHubHandler[_0x5058db(0x19b)]();}catch(_0x56bd1c){logger[_0x5058db(0x1a1)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5058db(0x190)](_0x56bd1c));}continue;}break;}});async function _0xf91ec7(){const _0x27f871=_0x219fda;try{await _0x9e86b8[_0x27f871(0x18e)](),await _0x9e86b8['run']();}finally{process[_0x27f871(0x1bd)](_0x28f264),await _0x9e86b8[_0x27f871(0x138)]();}}PerformanceTester[_0x219fda(0x13e)](PerformanceEvents[_0x219fda(0x161)]),_0x2ba5b8[_0x219fda(0x1c8)](_0xf91ec7);}module[a2_0x5009b0(0x162)]=run;
@@ -1 +1 @@
1
- const a3_0x4f986d=a3_0x3a8b;(function(_0x2c53c6,_0x59906a){const _0xb382b5=a3_0x3a8b,_0xf79053=_0x2c53c6();while(!![]){try{const _0xcd13eb=parseInt(_0xb382b5(0x187))/0x1*(parseInt(_0xb382b5(0x167))/0x2)+parseInt(_0xb382b5(0x151))/0x3*(-parseInt(_0xb382b5(0x152))/0x4)+parseInt(_0xb382b5(0x14e))/0x5+-parseInt(_0xb382b5(0x17a))/0x6*(parseInt(_0xb382b5(0x171))/0x7)+parseInt(_0xb382b5(0x18d))/0x8*(-parseInt(_0xb382b5(0x189))/0x9)+parseInt(_0xb382b5(0x180))/0xa*(-parseInt(_0xb382b5(0x14a))/0xb)+parseInt(_0xb382b5(0x175))/0xc*(parseInt(_0xb382b5(0x17e))/0xd);if(_0xcd13eb===_0x59906a)break;else _0xf79053['push'](_0xf79053['shift']());}catch(_0x5171b4){_0xf79053['push'](_0xf79053['shift']());}}}(a3_0x53eb,0x77e1f));function a3_0x3a8b(_0x1fde57,_0x4f5db4){const _0x53eb62=a3_0x53eb();return a3_0x3a8b=function(_0x3a8b67,_0x5d67f8){_0x3a8b67=_0x3a8b67-0x148;let _0x2fd352=_0x53eb62[_0x3a8b67];return _0x2fd352;},a3_0x3a8b(_0x1fde57,_0x4f5db4);}const {isUndefined,nestedKeyValue}=require(a3_0x4f986d(0x159)),logger=require(a3_0x4f986d(0x163))['winstonLogger'],PlaywrightSessionDetails=require(a3_0x4f986d(0x178)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x4f986d(0x191)),getOSVersionFromCaps=_0x246dbf=>{const _0xc01257=a3_0x4f986d,_0x1aa03d={};_0x1aa03d[_0xc01257(0x166)]=_0xc01257(0x194),_0x1aa03d[_0xc01257(0x149)]=_0xc01257(0x16a),_0x1aa03d[_0xc01257(0x15e)]=_0xc01257(0x15a),_0x1aa03d['ladQS']=_0xc01257(0x18b),_0x1aa03d[_0xc01257(0x174)]=_0xc01257(0x17d);const _0x1a77f1=_0x1aa03d;if(!_0x246dbf)return null;const _0x1c9795=_0x246dbf[_0x1a77f1[_0xc01257(0x166)]],_0x2e186f=[_0x1a77f1[_0xc01257(0x149)],_0x1a77f1[_0xc01257(0x15e)],_0x1a77f1[_0xc01257(0x16d)],_0x1a77f1[_0xc01257(0x174)]];for(const _0x461ca8 of _0x2e186f){if(_0x1c9795&&_0x1c9795[_0x461ca8])return _0x1c9795[_0x461ca8];else{if(_0x246dbf[_0x461ca8])return _0x246dbf[_0x461ca8];}}return null;};exports[a3_0x4f986d(0x162)]=_0x114364=>{const _0x35fc71=a3_0x4f986d,_0x3e0442={'nllyi':_0x35fc71(0x184),'YLSZf':function(_0x1f2638,_0x47c603){return _0x1f2638===_0x47c603;},'hWLTx':_0x35fc71(0x173),'bgmgZ':function(_0x894039,_0x2d2bbb){return _0x894039(_0x2d2bbb);},'PkEEF':function(_0x5a7a43,_0x5e67b3,_0x5ee4cd){return _0x5a7a43(_0x5e67b3,_0x5ee4cd);},'chpHX':'config','lylNA':_0x35fc71(0x176),'MOmzJ':function(_0x511c43,_0x6945f7){return _0x511c43(_0x6945f7);},'lVVib':function(_0x53d125,_0x4eb97b){return _0x53d125===_0x4eb97b;},'FVlPc':_0x35fc71(0x179),'nFIZK':_0x35fc71(0x186),'Cosrr':_0x35fc71(0x16b),'IGRsG':_0x35fc71(0x183)};if(!_0x114364)return null;let _0x31bde4=global['__cloud_provider___']||_0x3e0442[_0x35fc71(0x14f)];if(_0x3e0442[_0x35fc71(0x15b)](_0x114364[_0x35fc71(0x148)][_0x35fc71(0x193)],_0x3e0442[_0x35fc71(0x164)])){const _0x436347=_0x114364['browser'];if(!_0x436347)return null;const _0xc9e79e=_0x436347['capabilities'],_0x295782=_0x3e0442[_0x35fc71(0x156)](getOSVersionFromCaps,_0x3e0442[_0x35fc71(0x14d)](nestedKeyValue,_0x114364,[_0x3e0442[_0x35fc71(0x17b)],_0x3e0442[_0x35fc71(0x165)]]));return{[_0x31bde4]:{'browser':_0xc9e79e[_0x35fc71(0x196)],'browser_version':_0xc9e79e[_0x35fc71(0x177)],'capabilities':_0xc9e79e,'platform':_0xc9e79e['platformName'],'platform_version':_0xc9e79e[_0x35fc71(0x16a)]||_0x295782,'product':_0x3e0442[_0x35fc71(0x14b)](getObservabilityLinkedProductName,_0xc9e79e),'session_id':_0x436347['sessionId']}};}else{if(_0x3e0442[_0x35fc71(0x157)](_0x114364[_0x35fc71(0x148)][_0x35fc71(0x193)],_0x3e0442[_0x35fc71(0x16f)])){const _0x10e513=PlaywrightSessionDetails[_0x35fc71(0x182)]();_0x31bde4=_0x10e513[_0x35fc71(0x17c)]||_0x31bde4;const _0x3c56a9=_0x3e0442['PkEEF'](nestedKeyValue,_0x114364,[_0x3e0442[_0x35fc71(0x17b)],_0x3e0442[_0x35fc71(0x155)],_0x3e0442[_0x35fc71(0x18c)]]),_0x54dcc9=_0x3c56a9?JSON[_0x35fc71(0x18a)](new URL(_0x3c56a9)[_0x35fc71(0x188)][_0x35fc71(0x172)](_0x3e0442[_0x35fc71(0x192)])):{};return{[_0x31bde4]:{'browser':_0x10e513[_0x35fc71(0x186)]||_0x54dcc9[_0x35fc71(0x196)],'browser_version':_0x10e513['browser_version']||_0x54dcc9[_0x35fc71(0x170)],'capabilities':_0x54dcc9,'platform':_0x10e513['platform'],'platform_version':_0x10e513['platform_version'],'product':_0x3e0442[_0x35fc71(0x14b)](getObservabilityLinkedProductName,_0x54dcc9),'session_id':_0x10e513['bsSessionId']}};}}},exports[a3_0x4f986d(0x185)]=_0x2f8b0c=>{const _0x34e7de=a3_0x4f986d,_0x4a1e={'neuZE':function(_0xac7041){return _0xac7041();},'reszg':function(_0x3fec44,_0x59597a){return _0x3fec44===_0x59597a;},'uBdcA':'latest','HrJYJ':function(_0x3fa8c7,_0x268e1e){return _0x3fa8c7>_0x268e1e;},'NtZrH':function(_0x153aab,_0x4c31ca){return _0x153aab(_0x4c31ca);},'urGnZ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','LRTdm':_0x34e7de(0x195),'Wauwy':function(_0x41c176,_0x365164){return _0x41c176===_0x365164;},'mEcRD':_0x34e7de(0x18f),'jauYT':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','MOgWA':_0x34e7de(0x15c)};if(_0x4a1e[_0x34e7de(0x158)](isAccessibilityAutomationSession)){const _0x4644af=_0x2f8b0c['browser'],_0x2d29bd=_0x4644af[_0x34e7de(0x190)];global[_0x34e7de(0x150)]=!![],!(_0x4a1e['reszg'](_0x2d29bd[_0x34e7de(0x177)],_0x4a1e[_0x34e7de(0x154)])||_0x4a1e['HrJYJ'](_0x4a1e['NtZrH'](parseInt,_0x2d29bd[_0x34e7de(0x177)]),0x5e))&&(logger[_0x34e7de(0x168)](_0x4a1e['urGnZ']),global[_0x34e7de(0x150)]=![]),!(_0x4a1e[_0x34e7de(0x197)](_0x2d29bd[_0x34e7de(0x196)],_0x4a1e[_0x34e7de(0x15d)])||_0x4a1e[_0x34e7de(0x161)](_0x2d29bd[_0x34e7de(0x196)],_0x4a1e[_0x34e7de(0x17f)]))&&(logger[_0x34e7de(0x168)](_0x4a1e[_0x34e7de(0x14c)]),global[_0x34e7de(0x150)]=![]),!_0x4a1e[_0x34e7de(0x181)](isUndefined,_0x2d29bd[_0x34e7de(0x18e)])&&(logger['warn'](_0x4a1e['MOgWA']),global[_0x34e7de(0x150)]=![]);}},exports[a3_0x4f986d(0x153)]=_0x4b9757=>{const _0x396e1d=a3_0x4f986d,_0x308a12={};_0x308a12[_0x396e1d(0x16e)]=_0x396e1d(0x169),_0x308a12['gSmFp']=_0x396e1d(0x15f);const _0x3aa448=_0x308a12;if(!_0x4b9757)return![];return!_0x4b9757[_0x396e1d(0x16c)](_0x3aa448['ZKjNg'])&&!_0x4b9757[_0x396e1d(0x16c)](_0x3aa448[_0x396e1d(0x160)]);};function a3_0x53eb(){const _0xc4a0ed=['2694935hsNPWM','nllyi','accessibilityPlatform','3jgTetT','2846836tHiUgk','shouldPatchExecuteScript','uBdcA','nFIZK','bgmgZ','lVVib','neuZE','../../helpers/helper','platform_version','YLSZf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','LRTdm','EPOsc','browserstack_accessibility_automation_script','gSmFp','Wauwy','fetchPlatformDetails','../../helpers/logger','hWLTx','lylNA','lXuMx','3614NXbDMh','warn','browserstack_executor','platformVersion','browserWSEndpoint','includes','ladQS','ZKjNg','FVlPc','browser_version','26173FTmxbO','get','WebDriver','PMyVx','48sJxHJL','desiredCapabilities','browserVersion','../../bin/playwright/sessionDetails','Playwright','6CqIqLS','chpHX','cloudProvider','os_version','6758882PHUfel','mEcRD','8245030HPIfze','NtZrH','getDetails','caps','unknown_grid','processWebDriverConfig','browser','122hazuGI','searchParams','873YHEYxx','parse','osVersion','Cosrr','66648QbzeyY','deviceName','playwright-chromium','capabilities','../../helpers/test-observability/utils','IGRsG','name','bstack:options','chrome','browserName','reszg','constructor','PCyCg','11RURoKX','MOmzJ','jauYT','PkEEF'];a3_0x53eb=function(){return _0xc4a0ed;};return a3_0x53eb();}
1
+ const a3_0x28a79a=a3_0x42a0;(function(_0x21d53f,_0x586e6d){const _0x89ffcd=a3_0x42a0,_0xbd6131=_0x21d53f();while(!![]){try{const _0x5bf974=-parseInt(_0x89ffcd(0x11d))/0x1*(parseInt(_0x89ffcd(0x12b))/0x2)+parseInt(_0x89ffcd(0xed))/0x3*(parseInt(_0x89ffcd(0xf0))/0x4)+-parseInt(_0x89ffcd(0xee))/0x5*(-parseInt(_0x89ffcd(0x125))/0x6)+-parseInt(_0x89ffcd(0xfd))/0x7+-parseInt(_0x89ffcd(0x11f))/0x8*(-parseInt(_0x89ffcd(0x11a))/0x9)+parseInt(_0x89ffcd(0x107))/0xa+-parseInt(_0x89ffcd(0x115))/0xb;if(_0x5bf974===_0x586e6d)break;else _0xbd6131['push'](_0xbd6131['shift']());}catch(_0x4dbc97){_0xbd6131['push'](_0xbd6131['shift']());}}}(a3_0x112d,0x8bbd2));const {isUndefined,nestedKeyValue}=require(a3_0x28a79a(0x128)),logger=require(a3_0x28a79a(0x11b))[a3_0x28a79a(0x118)],PlaywrightSessionDetails=require(a3_0x28a79a(0x111)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require('../../helpers/test-observability/utils'),getOSVersionFromCaps=_0x3dd863=>{const _0x50aa34=a3_0x28a79a,_0x295476={};_0x295476[_0x50aa34(0x11e)]='bstack:options',_0x295476[_0x50aa34(0xfe)]='platformVersion',_0x295476[_0x50aa34(0x10c)]=_0x50aa34(0xff),_0x295476[_0x50aa34(0x10b)]=_0x50aa34(0x12c),_0x295476['KTSqq']=_0x50aa34(0xec);const _0x181d40=_0x295476;if(!_0x3dd863)return null;const _0x30d17a=_0x3dd863[_0x181d40[_0x50aa34(0x11e)]],_0x5bc887=[_0x181d40[_0x50aa34(0xfe)],_0x181d40['tiwCR'],_0x181d40[_0x50aa34(0x10b)],_0x181d40[_0x50aa34(0x101)]];for(const _0x46dfca of _0x5bc887){if(_0x30d17a&&_0x30d17a[_0x46dfca])return _0x30d17a[_0x46dfca];else{if(_0x3dd863[_0x46dfca])return _0x3dd863[_0x46dfca];}}return null;};exports['fetchPlatformDetails']=_0x4a5a6d=>{const _0x4289f3=a3_0x28a79a,_0x3e5e11={'pRPwD':_0x4289f3(0x127),'lCszd':function(_0x3bcd7c,_0x2fa9a7){return _0x3bcd7c===_0x2fa9a7;},'wrNpC':'WebDriver','Gebno':function(_0x189b7e,_0x5cce1e){return _0x189b7e(_0x5cce1e);},'IPLme':function(_0x17d3f6,_0x4357b2,_0x276814){return _0x17d3f6(_0x4357b2,_0x276814);},'KeMLj':_0x4289f3(0x104),'iwpNC':'desiredCapabilities','AeXWX':function(_0x30be26,_0x2b18a5){return _0x30be26(_0x2b18a5);},'Rrrhf':_0x4289f3(0x113),'RhjQn':'browser','NvFyf':_0x4289f3(0xfa),'YZMMG':'caps'};if(!_0x4a5a6d)return null;let _0x12735a=global[_0x4289f3(0x119)]||_0x3e5e11[_0x4289f3(0x124)];if(_0x3e5e11[_0x4289f3(0x120)](_0x4a5a6d[_0x4289f3(0x129)]['name'],_0x3e5e11['wrNpC'])){const _0x2ec578=_0x4a5a6d[_0x4289f3(0x121)];if(!_0x2ec578)return null;const _0x28f744=_0x2ec578[_0x4289f3(0xf8)],_0x4bec66=_0x3e5e11[_0x4289f3(0x109)](getOSVersionFromCaps,_0x3e5e11[_0x4289f3(0x100)](nestedKeyValue,_0x4a5a6d,[_0x3e5e11[_0x4289f3(0x10d)],_0x3e5e11['iwpNC']]));return{[_0x12735a]:{'browser':_0x28f744[_0x4289f3(0xf9)],'browser_version':_0x28f744[_0x4289f3(0xef)],'capabilities':_0x28f744,'platform':_0x28f744[_0x4289f3(0xea)],'platform_version':_0x28f744[_0x4289f3(0x110)]||_0x4bec66,'product':_0x3e5e11[_0x4289f3(0xf4)](getObservabilityLinkedProductName,_0x28f744),'session_id':_0x2ec578[_0x4289f3(0x122)]}};}else{if(_0x3e5e11[_0x4289f3(0x120)](_0x4a5a6d[_0x4289f3(0x129)][_0x4289f3(0x117)],_0x3e5e11[_0x4289f3(0x123)])){const _0x13af7f=PlaywrightSessionDetails[_0x4289f3(0xfc)]();_0x12735a=_0x13af7f[_0x4289f3(0x108)]||_0x12735a;const _0x2b005a=_0x3e5e11['IPLme'](nestedKeyValue,_0x4a5a6d,[_0x3e5e11['KeMLj'],_0x3e5e11[_0x4289f3(0x10a)],_0x3e5e11['NvFyf']]),_0x1660d7=_0x2b005a?JSON[_0x4289f3(0xeb)](new URL(_0x2b005a)[_0x4289f3(0xf6)][_0x4289f3(0x116)](_0x3e5e11[_0x4289f3(0xf7)])):{};return{[_0x12735a]:{'browser':_0x13af7f[_0x4289f3(0x121)]||_0x1660d7[_0x4289f3(0xf9)],'browser_version':_0x13af7f['browser_version']||_0x1660d7[_0x4289f3(0x10e)],'capabilities':_0x1660d7,'platform':_0x13af7f[_0x4289f3(0xe9)],'platform_version':_0x13af7f[_0x4289f3(0xff)],'product':_0x3e5e11[_0x4289f3(0x109)](getObservabilityLinkedProductName,_0x1660d7),'session_id':_0x13af7f['bsSessionId']}};}}},exports['processWebDriverConfig']=_0x177858=>{const _0x119f03=a3_0x28a79a,_0xbed18c={'rUUbU':function(_0x56be60){return _0x56be60();},'nXVFe':function(_0x348240,_0x58cab5){return _0x348240===_0x58cab5;},'nYcAj':'latest','KIObn':function(_0x216f84,_0x4af1b6){return _0x216f84>_0x4af1b6;},'xGSDC':function(_0x4e9ef3,_0x979acf){return _0x4e9ef3(_0x979acf);},'EQouG':_0x119f03(0xf2),'ETNjv':function(_0x1722bf,_0x1b73bb){return _0x1722bf===_0x1b73bb;},'oMZbO':'chrome','mJDGX':function(_0x362d0f,_0x38cb76){return _0x362d0f===_0x38cb76;},'LDjre':_0x119f03(0x114),'flceG':_0x119f03(0x112),'MYMdA':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'};if(_0xbed18c[_0x119f03(0x102)](isAccessibilityAutomationSession)){const _0x3ffaba=_0x177858[_0x119f03(0x121)],_0x286738=_0x3ffaba['capabilities'];global[_0x119f03(0xf1)]=!![],!(_0xbed18c[_0x119f03(0x106)](_0x286738[_0x119f03(0xef)],_0xbed18c[_0x119f03(0xfb)])||_0xbed18c['KIObn'](_0xbed18c[_0x119f03(0x103)](parseInt,_0x286738[_0x119f03(0xef)]),0x5e))&&(logger[_0x119f03(0x105)](_0xbed18c[_0x119f03(0x126)]),global[_0x119f03(0xf1)]=![]),!(_0xbed18c['ETNjv'](_0x286738[_0x119f03(0xf9)],_0xbed18c[_0x119f03(0x12a)])||_0xbed18c['mJDGX'](_0x286738['browserName'],_0xbed18c[_0x119f03(0xf5)]))&&(logger['warn'](_0xbed18c[_0x119f03(0x11c)]),global[_0x119f03(0xf1)]=![]),!_0xbed18c[_0x119f03(0x103)](isUndefined,_0x286738[_0x119f03(0x12d)])&&(logger['warn'](_0xbed18c['MYMdA']),global[_0x119f03(0xf1)]=![]);}},exports['shouldPatchExecuteScript']=_0x2d8459=>{const _0x5c021c=a3_0x28a79a,_0x423eaa={};_0x423eaa['BWOTP']='browserstack_executor',_0x423eaa[_0x5c021c(0xf3)]=_0x5c021c(0x10f);const _0x447c2d=_0x423eaa;if(!_0x2d8459)return![];return!_0x2d8459['includes'](_0x447c2d['BWOTP'])&&!_0x2d8459['includes'](_0x447c2d['yKwDF']);};function a3_0x42a0(_0x5999d4,_0x329302){const _0x112d42=a3_0x112d();return a3_0x42a0=function(_0x42a0e8,_0xe685f1){_0x42a0e8=_0x42a0e8-0xe9;let _0xbfb2ec=_0x112d42[_0x42a0e8];return _0xbfb2ec;},a3_0x42a0(_0x5999d4,_0x329302);}function a3_0x112d(){const _0x31b202=['RhjQn','zzfmn','tiwCR','KeMLj','browser_version','browserstack_accessibility_automation_script','platformVersion','../../bin/playwright/sessionDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Playwright','playwright-chromium','11849926DwPcjx','get','name','winstonLogger','__cloud_provider___','171QTSXSY','../../helpers/logger','flceG','214MkHYUg','HCFSa','454488SuimZC','lCszd','browser','sessionId','Rrrhf','pRPwD','30nJqyGt','EQouG','unknown_grid','../../helpers/helper','constructor','oMZbO','100IYxaEa','osVersion','deviceName','platform','platformName','parse','os_version','12387RcYOkK','744565GUFBOl','browserVersion','68cycPzb','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','yKwDF','AeXWX','LDjre','searchParams','YZMMG','capabilities','browserName','browserWSEndpoint','nYcAj','getDetails','2025065fKenXk','fiVvP','platform_version','IPLme','KTSqq','rUUbU','xGSDC','config','warn','nXVFe','554640kzqWgt','cloudProvider','Gebno'];a3_0x112d=function(){return _0x31b202;};return a3_0x112d();}
@@ -1 +1 @@
1
- const a4_0x343d35=a4_0x3d43;(function(_0x43b8aa,_0x154313){const _0x346161=a4_0x3d43,_0x26f074=_0x43b8aa();while(!![]){try{const _0x50a0e2=-parseInt(_0x346161(0x1b6))/0x1*(-parseInt(_0x346161(0x16d))/0x2)+-parseInt(_0x346161(0x164))/0x3+parseInt(_0x346161(0xfc))/0x4*(parseInt(_0x346161(0x178))/0x5)+parseInt(_0x346161(0x14e))/0x6+-parseInt(_0x346161(0x1c6))/0x7+-parseInt(_0x346161(0x13a))/0x8*(parseInt(_0x346161(0x138))/0x9)+parseInt(_0x346161(0x195))/0xa;if(_0x50a0e2===_0x154313)break;else _0x26f074['push'](_0x26f074['shift']());}catch(_0x2cd103){_0x26f074['push'](_0x26f074['shift']());}}}(a4_0x2966,0xcee89));const path=require(a4_0x343d35(0x123)),fs=require('fs'),{v4:uuidv4}=require(a4_0x343d35(0x1b7)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x343d35(0x15e)),testOpsHelper=require('../../helpers/test-observability/utils'),{getTestEnv}=require(a4_0x343d35(0x100)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),logger=require(a4_0x343d35(0x165))[a4_0x343d35(0x1c2)],SessionHandler=require(a4_0x343d35(0x182)),RequestQueueHandler=require(a4_0x343d35(0x177)),PlaywrightSessionDetails=require(a4_0x343d35(0x142)),debug=testOpsHelper[a4_0x343d35(0x1ce)],{processAccessibilityCaps}=require(a4_0x343d35(0x1c5)),Constants=require(a4_0x343d35(0x153)),{fetchPlatformDetails}=require(a4_0x343d35(0x1bf)),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x343d35(0x11d),STATE_FAILED=a4_0x343d35(0x14f),a4_0x58ee39={};a4_0x58ee39[a4_0x343d35(0x144)]='TestRunStarted',a4_0x58ee39[a4_0x343d35(0xeb)]=a4_0x343d35(0x121),a4_0x58ee39['TEST_RUN_SKIPPED']=a4_0x343d35(0x1d8),a4_0x58ee39[a4_0x343d35(0x148)]=a4_0x343d35(0x130),a4_0x58ee39[a4_0x343d35(0x169)]='HookRunFinished';const TEST_EVENTS=a4_0x58ee39,parseEvent=_0x5abd08=>{const _0x1d01c2=a4_0x343d35,_0x2d2c2c={};_0x2d2c2c[_0x1d01c2(0x162)]=function(_0x4a46d7,_0x8ff60d){return _0x4a46d7<_0x8ff60d;},_0x2d2c2c[_0x1d01c2(0x12b)]=function(_0x27c91c,_0x47a7af){return _0x27c91c===_0x47a7af;},_0x2d2c2c[_0x1d01c2(0x1bc)]=_0x1d01c2(0xf2),_0x2d2c2c[_0x1d01c2(0x16b)]=function(_0x11e8cc,_0x2d9990){return _0x11e8cc===_0x2d9990;},_0x2d2c2c['TUGbB']='hook',_0x2d2c2c[_0x1d01c2(0x1b1)]=_0x1d01c2(0x139),_0x2d2c2c[_0x1d01c2(0x1cf)]=function(_0x4aba45,_0x1b4da5){return _0x4aba45===_0x1b4da5;},_0x2d2c2c[_0x1d01c2(0xe5)]=_0x1d01c2(0x180),_0x2d2c2c[_0x1d01c2(0x1a8)]=function(_0xe36645,_0x2fbb35){return _0xe36645===_0x2fbb35;},_0x2d2c2c[_0x1d01c2(0xf5)]=_0x1d01c2(0x147);const _0x22158b=_0x2d2c2c,_0x2fa80a=_0x5abd08[_0x1d01c2(0x141)](/^(.*)Run(.*)$/);if(!_0x2fa80a)return null;if(_0x22158b['uCrxV'](_0x2fa80a[_0x1d01c2(0xf7)],0x3))return null;const _0x599149=_0x2fa80a[0x1][_0x1d01c2(0x1cc)](),_0x2ae02a=_0x2fa80a[0x2][_0x1d01c2(0x1cc)]();return{'test':_0x22158b[_0x1d01c2(0x12b)](_0x599149,_0x22158b['yHuez']),'hook':_0x22158b['osPbx'](_0x599149,_0x22158b[_0x1d01c2(0x10b)]),'skipped':_0x22158b[_0x1d01c2(0x12b)](_0x2ae02a,_0x22158b[_0x1d01c2(0x1b1)]),'started':_0x22158b[_0x1d01c2(0x1cf)](_0x2ae02a,_0x22158b[_0x1d01c2(0xe5)]),'finished':_0x22158b['SdMac'](_0x2ae02a,_0x22158b[_0x1d01c2(0xf5)])};},mockPWBrowserType=_0x5b1992=>{const _0x5e813f=a4_0x343d35,_0x28860c={'jnVZX':function(_0x2457db,_0x2e9111){return _0x2457db===_0x2e9111;},'KYwtx':_0x5e813f(0x18b),'ZxnHl':function(_0xcd91e8,_0xe575ed,_0x182fd7){return _0xcd91e8(_0xe575ed,_0x182fd7);},'InXxw':_0x5e813f(0x1d3),'zedYD':function(_0x20f9f1,_0x503cda){return _0x20f9f1(_0x503cda);},'uOSax':_0x5e813f(0x163),'OEwXW':function(_0x26a4b7,_0x146d7c,_0xcc4c21){return _0x26a4b7(_0x146d7c,_0xcc4c21);},'tSTFn':_0x5e813f(0xfb),'ieMsQ':_0x5e813f(0x190),'aADEO':_0x5e813f(0x143),'DBHVu':function(_0x59de2a,_0x4d3854){return _0x59de2a(_0x4d3854);},'pxEkm':_0x5e813f(0xf9),'UNXAA':'connect','yNgiK':_0x5e813f(0x1a9)},_0x422b85=path[_0x5e813f(0x1a2)](_0x28860c[_0x5e813f(0x103)],_0x28860c[_0x5e813f(0x106)],_0x28860c[_0x5e813f(0x105)]),_0x5e8549=_0x28860c[_0x5e813f(0x184)](importFileFromPWCore,_0x422b85);if(!_0x5e8549){_0x28860c[_0x5e813f(0x14b)](debug,_0x28860c[_0x5e813f(0x11a)]);return;}const _0x4d660a=_0x5e8549[_0x5e813f(0x160)],_0x4ee4fc=_0x4d660a[_0x5e813f(0xf3)];if(_0x4ee4fc[_0x5e813f(0xfe)])return;const _0x5c54c1=_0x4ee4fc[_0x5e813f(0x16e)];Object[_0x5e813f(0x186)](_0x4ee4fc,_0x28860c['UNXAA'],{'get':function(){const _0x55a038=_0x5e813f,_0x2a8e95={'ArCMX':function(_0x5a6c38,_0x30ce4a){const _0x2a0e42=a4_0x3d43;return _0x28860c[_0x2a0e42(0x10f)](_0x5a6c38,_0x30ce4a);},'MAWAZ':_0x28860c['KYwtx'],'vuzeQ':function(_0x1d5af3,_0x3b0db3,_0x236155){return _0x28860c['ZxnHl'](_0x1d5af3,_0x3b0db3,_0x236155);},'joFGn':_0x28860c[_0x55a038(0x19d)],'lvtmZ':function(_0xb32a35,_0x431ed3){const _0x388e31=_0x55a038;return _0x28860c[_0x388e31(0x184)](_0xb32a35,_0x431ed3);},'JAMWG':_0x28860c[_0x55a038(0x191)],'xghhS':function(_0x26c65b,_0x72c1cf,_0xc14021){const _0x1b297b=_0x55a038;return _0x28860c[_0x1b297b(0x131)](_0x26c65b,_0x72c1cf,_0xc14021);},'vfgVu':function(_0x19b5e0,_0x8ca958){return _0x28860c['zedYD'](_0x19b5e0,_0x8ca958);}};return async function _0x5e162f(_0x3169dc,_0x326ebd){const _0x1f11c7=_0x55a038,_0x346e5d=_0x2a8e95[_0x1f11c7(0x12a)](nestedKeyValue,_0x3169dc,[_0x2a8e95[_0x1f11c7(0x1a7)]])||_0x3169dc;let _0x1330b0=null,_0x240b08=null;try{[_0x240b08,_0x1330b0]=_0x346e5d?_0x2a8e95['lvtmZ'](parseWSEndpoint,_0x346e5d):[null,null],global[_0x1f11c7(0x17c)]=_0x1330b0,_0x240b08[_0x1f11c7(0x112)](_0x2a8e95[_0x1f11c7(0x1cd)])&&(global['__cloud_provider___']=_0x2a8e95[_0x1f11c7(0x1cd)]);}catch(_0x12f259){logger[_0x1f11c7(0x1ce)](_0x1f11c7(0x137)+_0x346e5d+'\x20'+_0x12f259);}_0x2a8e95['xghhS'](processAccessibilityCaps,_0x1330b0,_0x240b08);if(global['accessibilityPlatform']){const _0x52a495=await _0x4ee4fc[_0x1f11c7(0x167)][_0x1f11c7(0xe9)](this,[''+Constants['PLAYWRIGHT_HUB_URL']+_0x2a8e95[_0x1f11c7(0x168)](encodeURIComponent,JSON['stringify'](_0x1330b0))]);return PlaywrightSessionDetails[_0x1f11c7(0x159)](_0x52a495,_0x5b1992,_0x346e5d),_0x52a495;}return _0x5c54c1[_0x1f11c7(0xe9)](this,arguments)[_0x1f11c7(0x12d)](_0x442dcc=>{const _0x17210a=_0x1f11c7;let _0x87be09=_0x3169dc[_0x17210a(0x1d3)];return _0x2a8e95['ArCMX'](typeof _0x3169dc,_0x2a8e95[_0x17210a(0x157)])&&(_0x87be09=_0x3169dc),PlaywrightSessionDetails[_0x17210a(0x159)](_0x442dcc,_0x5b1992,_0x87be09),_0x442dcc;});};}});const _0x2b495d=_0x4ee4fc['launch'];Object[_0x5e813f(0x186)](_0x4ee4fc,_0x28860c[_0x5e813f(0x181)],{'get':function(){return async function _0x1b6e0b(){const _0x492185=a4_0x3d43;return _0x2b495d[_0x492185(0xe9)](this,arguments)[_0x492185(0x12d)](_0x5dc422=>{const _0x47d683=_0x492185;return PlaywrightSessionDetails[_0x47d683(0x159)](_0x5dc422,null),_0x5dc422;});};}});};class O11yHelper{[a4_0x343d35(0x13c)]=null;[a4_0x343d35(0x1ca)]=null;[a4_0x343d35(0x15f)]=![];['frameworkName']=![];constructor(_0x45e6d4,_0x23a758){const _0x2de4ba=a4_0x343d35,_0x455a5e={'StWBY':_0x2de4ba(0x194),'oRsbo':function(_0x1f851c,_0x503a94){return _0x1f851c===_0x503a94;},'IAOdZ':_0x2de4ba(0x1a5),'MSsZT':function(_0x16eea0,_0x57bbe7){return _0x16eea0(_0x57bbe7);},'TNRsg':function(_0x5dd65b){return _0x5dd65b();}},_0x4dcb87=_0x455a5e[_0x2de4ba(0x150)][_0x2de4ba(0xf0)]('|');let _0x497b5d=0x0;while(!![]){switch(_0x4dcb87[_0x497b5d++]){case'0':this['driver']&&_0x455a5e[_0x2de4ba(0x14a)](this[_0x2de4ba(0x18e)][_0x2de4ba(0x10a)][_0x2de4ba(0x1aa)],_0x455a5e['IAOdZ'])&&_0x455a5e[_0x2de4ba(0x133)](mockPWBrowserType,null);continue;case'1':this['frameworkName']=_0x23a758[_0x2de4ba(0x1cb)];continue;case'2':this[_0x2de4ba(0x18e)]=_0x45e6d4;continue;case'3':this[_0x2de4ba(0x19e)]=new testOpsHelper[(_0x2de4ba(0x1d4))]({'cwd':process[_0x2de4ba(0x185)]()},this['_testEnv'][_0x2de4ba(0x1ba)]);continue;case'4':this['enabled']=_0x455a5e['TNRsg'](shouldProcessEventForTesthub);continue;case'5':this[_0x2de4ba(0x113)]=_0x455a5e[_0x2de4ba(0x18f)](getTestEnv);continue;}break;}}[a4_0x343d35(0x1bd)](){const _0x5d03b5=a4_0x343d35;if(!this[_0x5d03b5(0x15f)])return;testOpsHelper[_0x5d03b5(0x1d5)](),process[_0x5d03b5(0x1c8)]('bs:addLog:'+process[_0x5d03b5(0x14d)]),process['on'](_0x5d03b5(0x114)+process[_0x5d03b5(0x14d)],this[_0x5d03b5(0x13f)][_0x5d03b5(0x1b2)](this));}async[a4_0x343d35(0x176)](){const _0x108644=a4_0x343d35;await RequestQueueHandler['getInstance']()[_0x108644(0x179)]();}async[a4_0x343d35(0x13f)](_0x9defbc){const _0x2ba494=a4_0x343d35,_0x41efdc={'jFGPn':_0x2ba494(0x1a6),'VacLf':function(_0x4fbd9e,_0x3bf722){return _0x4fbd9e(_0x3bf722);}};try{this[_0x2ba494(0x1ca)]&&!this[_0x2ba494(0x1ca)][_0x2ba494(0x1d0)]&&(_0x9defbc['hook_run_uuid']=this[_0x2ba494(0x1ca)][_0x2ba494(0x18a)]);!_0x9defbc['hook_run_uuid']&&this[_0x2ba494(0x13c)]&&!this[_0x2ba494(0x13c)]['markedStatus']&&(_0x9defbc[_0x2ba494(0x1b3)]=this['currentTest'][_0x2ba494(0x166)]);if(_0x9defbc[_0x2ba494(0x174)]||_0x9defbc[_0x2ba494(0x1b3)]){const _0x23044f={};_0x23044f[_0x2ba494(0xe4)]=_0x41efdc['jFGPn'],_0x23044f['logs']=[_0x9defbc],await SessionHandler[_0x2ba494(0x152)](_0x23044f);}}catch(_0x2128c8){_0x41efdc['VacLf'](debug,_0x2ba494(0x1ad)+_0x2128c8);}}async[a4_0x343d35(0x111)](_0x4db2b8){const _0x1b71c5=a4_0x343d35,_0x309806={'RoRwW':'CBTSessionCreated','CwdNF':function(_0x17ef8d,_0x164714){return _0x17ef8d(_0x164714);}};if(!this[_0x1b71c5(0x15f)])return;const _0x311964=this[_0x1b71c5(0x1d2)](this[_0x1b71c5(0x18e)]);try{const _0xcc6c57={};_0xcc6c57[_0x1b71c5(0x1b7)]=_0x4db2b8,_0xcc6c57[_0x1b71c5(0x1c3)]=_0x311964;const _0x765dea=_0xcc6c57,_0xbb4668={};_0xbb4668['event_type']=_0x309806['RoRwW'],_0xbb4668[_0x1b71c5(0x15b)]=_0x765dea,await SessionHandler[_0x1b71c5(0x152)](_0xbb4668);}catch(_0x4cb89f){_0x309806[_0x1b71c5(0x12e)](debug,_0x1b71c5(0x172)+_0x4cb89f);}}['getCBTInfo'](_0x131a09){const _0x4b52f5=a4_0x343d35,_0x3b377c={'dvmzD':function(_0x501bc9,_0x47fa07){return _0x501bc9(_0x47fa07);}};return _0x3b377c[_0x4b52f5(0x124)](fetchPlatformDetails,_0x131a09);}[a4_0x343d35(0x140)]=_0x3c8e2d=>{const _0x591eb7=a4_0x343d35,_0x58f8c6={};_0x58f8c6[_0x591eb7(0x10d)]='_beforeEach',_0x58f8c6['bHMWp']=_0x591eb7(0x199);const _0x1277cf=_0x58f8c6;if(!_0x3c8e2d||!_0x3c8e2d[_0x591eb7(0x11e)])return;[_0x1277cf[_0x591eb7(0x10d)],_0x1277cf[_0x591eb7(0x19a)]][_0x591eb7(0x115)](_0x2d1c71=>{const _0x2993ea=_0x3c8e2d['parent'][_0x2d1c71];_0x2993ea['forEach'](_0x5844fc=>{const _0x17a936=a4_0x3d43;_0x5844fc[_0x17a936(0x18a)]&&(_0x5844fc['hookAnalyticsId']=null);});});};[a4_0x343d35(0xec)](_0x48bc1c){const _0x5783fb=a4_0x343d35,_0x1a9345={'ATbUv':'codeceptjs','JNXBA':function(_0x290cac){return _0x290cac();},'GcRJe':function(_0x339e80,_0xf4ad1e){return _0x339e80===_0xf4ad1e;},'sAxXb':_0x5783fb(0x199),'TwpYG':function(_0xa054cf){return _0xa054cf();},'HINdg':_0x5783fb(0x118),'XdxbC':'_afterAll','VBezm':_0x5783fb(0x192)};if(!_0x48bc1c||!_0x48bc1c[_0x5783fb(0x11e)])return;[_0x1a9345[_0x5783fb(0x11c)],_0x1a9345[_0x5783fb(0x198)],_0x1a9345[_0x5783fb(0x109)],_0x1a9345['sAxXb']][_0x5783fb(0x115)](_0x46ec85=>{const _0x9fbe46=_0x5783fb,_0x1558ff=_0x48bc1c[_0x9fbe46(0x11e)][_0x46ec85]||[];_0x1558ff[_0x9fbe46(0x115)](_0x3d0e16=>{const _0x37d644=_0x9fbe46;if(_0x3d0e16[_0x37d644(0x16a)][_0x37d644(0x112)](_0x1a9345[_0x37d644(0x173)]))return;if(!_0x3d0e16['hookAnalyticsId'])_0x3d0e16[_0x37d644(0x18a)]=_0x1a9345['JNXBA'](uuidv4);else _0x3d0e16[_0x37d644(0x1d0)]&&_0x1a9345['GcRJe'](_0x46ec85,_0x1a9345[_0x37d644(0x1a4)])&&(_0x3d0e16['hookAnalyticsId']=_0x1a9345['TwpYG'](uuidv4),delete _0x3d0e16[_0x37d644(0x1d0)]);});}),this[_0x5783fb(0xec)](_0x48bc1c['parent']);}[a4_0x343d35(0x156)](_0x3c0acd){const _0x250eaa=a4_0x343d35,_0x5c910c={};_0x5c910c[_0x250eaa(0x183)]=_0x250eaa(0x118),_0x5c910c[_0x250eaa(0x155)]=_0x250eaa(0x1b8),_0x5c910c['ppemR']=_0x250eaa(0x192),_0x5c910c['Kkalm']='_afterEach';const _0x1fc283=_0x5c910c;if(!_0x3c0acd||!_0x3c0acd[_0x250eaa(0x11e)])return[];const _0x1c0422=[];return[_0x1fc283['MzEhc'],_0x1fc283[_0x250eaa(0x155)],_0x1fc283['ppemR'],_0x1fc283[_0x250eaa(0x14c)]][_0x250eaa(0x115)](_0x39e07d=>{const _0x3871f6=_0x250eaa,_0x2f5e98=_0x3c0acd[_0x3871f6(0x11e)][_0x39e07d]||[];_0x2f5e98[_0x3871f6(0x115)](_0x17a142=>{const _0x417f8a=_0x3871f6;_0x17a142[_0x417f8a(0x18a)]&&_0x1c0422['push'](_0x17a142[_0x417f8a(0x18a)]);});}),[][_0x250eaa(0x117)](_0x1c0422,this[_0x250eaa(0x156)](_0x3c0acd[_0x250eaa(0x11e)]));}[a4_0x343d35(0x196)](_0x4ff17c){const _0x575a01=a4_0x343d35,_0x58c851=/^"(?<hook>.*)" hook:.*$/,_0x206b88=_0x4ff17c[_0x575a01(0x16a)],_0x38f7cd=_0x206b88[_0x575a01(0x141)](_0x58c851);if(_0x38f7cd&&_0x38f7cd['groups'])return _0x38f7cd['groups'][_0x575a01(0x18d)][_0x575a01(0x17e)]()[_0x575a01(0x1b9)]('\x20','_');return null;}['findGitConfig'](_0x2bd10f){const _0x156649=a4_0x343d35,_0x575caa={};_0x575caa[_0x156649(0x12c)]=function(_0x5599ea,_0x4239d6){return _0x5599ea===_0x4239d6;},_0x575caa['zLOKL']=function(_0x3db18e,_0x591867){return _0x3db18e===_0x591867;},_0x575caa['DRzEs']='.git',_0x575caa[_0x156649(0x161)]='config';const _0x1cfaba=_0x575caa,_0x1649f7=path['sep'];if(_0x1cfaba['GXwkO'](_0x2bd10f,null)||_0x1cfaba['zLOKL'](_0x2bd10f,'')||_0x1cfaba[_0x156649(0x1b4)](_0x2bd10f,_0x1649f7)||_0x1cfaba[_0x156649(0x1b4)](_0x2bd10f,path[_0x156649(0x189)](_0x2bd10f)))return null;try{return fs[_0x156649(0x19f)](path[_0x156649(0x1a2)](_0x2bd10f,_0x1cfaba['DRzEs'],_0x1cfaba[_0x156649(0x161)])),_0x2bd10f;}catch(_0x29e93e){const _0x2be2d2=path[_0x156649(0x189)](_0x2bd10f);return this[_0x156649(0xf6)](_0x2be2d2);}}[a4_0x343d35(0x151)](_0xfd5715){const _0x121b44=a4_0x343d35,_0x2cd485={};_0x2cd485[_0x121b44(0x10c)]=function(_0x2e55cb,_0x114f58){return _0x2e55cb>_0x114f58;};const _0x12a5f7=_0x2cd485;if(_0xfd5715['file'])return _0xfd5715[_0x121b44(0x13d)];if(_0xfd5715[_0x121b44(0x1c9)]){const _0xaafddc=_0xfd5715['ctx']['currentTest']?this[_0x121b44(0x151)](_0xfd5715[_0x121b44(0x1c9)][_0x121b44(0x13c)]):null;if(_0xaafddc)return _0xaafddc;}if(_0xfd5715[_0x121b44(0x11e)]){const _0x52b235=this[_0x121b44(0x151)](_0xfd5715[_0x121b44(0x11e)])||(_0xfd5715[_0x121b44(0x11e)][_0x121b44(0x1c9)]&&_0xfd5715[_0x121b44(0x11e)]['ctx'][_0x121b44(0x13c)]?this['getRootParentFile'](_0xfd5715['parent'][_0x121b44(0x1c9)][_0x121b44(0x13c)]):null);if(_0x52b235)return _0x52b235;_0xfd5715[_0x121b44(0x11e)][_0x121b44(0x120)]&&_0x12a5f7['VWrsX'](_0xfd5715[_0x121b44(0x11e)][_0x121b44(0x120)][_0x121b44(0xf7)],0x0)&&_0xfd5715['parent'][_0x121b44(0x120)][_0x121b44(0x115)](_0x1a88f2=>{const _0x3a03e6=_0x121b44,_0x3dc19e=_0x1a88f2[_0x3a03e6(0x1c9)]?this[_0x3a03e6(0x151)](_0x1a88f2[_0x3a03e6(0x1c9)]):null;if(_0x3dc19e)return _0x3dc19e;});}return null;}['getHierarchy'](_0x50f30e){const _0x44c863=a4_0x343d35,_0x17bed6={};_0x17bed6[_0x44c863(0x11b)]=function(_0x5e55e6,_0x5dd84d){return _0x5e55e6!==_0x5dd84d;};const _0x5a3e72=_0x17bed6,_0x3b2864=[];if(_0x50f30e&&_0x50f30e['parent']){let _0x1a70cd=_0x50f30e[_0x44c863(0x11e)];while(_0x1a70cd&&_0x5a3e72[_0x44c863(0x11b)](_0x1a70cd[_0x44c863(0x16a)],'')){_0x3b2864[_0x44c863(0x101)](_0x1a70cd['title']),_0x1a70cd=_0x1a70cd[_0x44c863(0x11e)];}}return _0x3b2864;}[a4_0x343d35(0x15a)](_0x130977,_0x25e2c4,_0x2bae42=undefined){const _0x493967=a4_0x343d35,_0x566788={'kLNtR':function(_0x2c2925,_0x24b9e5){return _0x2c2925(_0x24b9e5);},'AOBIB':function(_0x38a202){return _0x38a202();},'iVYYV':function(_0x3a2fc6){return _0x3a2fc6();},'EbTKO':function(_0x30b44f){return _0x30b44f();},'mIAyD':'util','qwZzr':_0x493967(0x149),'tgEzc':function(_0x463ecf,_0x4c541a){return _0x463ecf!==_0x4c541a;},'vqouk':function(_0x2b268a,_0x21d789){return _0x2b268a!==_0x21d789;},'fsxrL':_0x493967(0x16f),'ejFgU':_0x493967(0x1be),'Wtdpg':_0x493967(0x14f),'StHdp':_0x493967(0x11d),'WZnEj':_0x493967(0x139),'NtTkd':_0x493967(0x158),'OrLsz':function(_0x344d62,_0x295547){return _0x344d62-_0x295547;},'BbVLl':function(_0x3d7b30,_0x6ccebf,_0x53e649,_0x1a9ac8,_0x3eb00e){return _0x3d7b30(_0x6ccebf,_0x53e649,_0x1a9ac8,_0x3eb00e);},'lZpUk':function(_0x48b156,_0x5f3c8f){return _0x48b156!==_0x5f3c8f;},'VeqKc':_0x493967(0x1c3),'olztk':_0x493967(0x1c4),'LOsCN':'failure','cUcJj':'failure_backtrace','TglZj':_0x493967(0x1b0),'jKDMB':_0x493967(0x175),'rSNRd':_0x493967(0x128),'WkUWW':function(_0x1da9df,_0x4ee90d){return _0x1da9df===_0x4ee90d;},'iKDaP':_0x493967(0xee),'eCNCs':'test_run'};if(!this[_0x493967(0x15f)])return;try{if(_0x25e2c4['fn']&&_0x25e2c4['fn'][_0x493967(0xe8)]()[_0x493967(0x141)](/browserstack internal helper hook/))return;const _0x83a22b=_0x566788[_0x493967(0x125)](parseEvent,_0x130977);if(!_0x83a22b)return;if(_0x83a22b[_0x493967(0xf2)]){this[_0x493967(0x13c)]=_0x25e2c4,this['currentHook']=null;if(_0x83a22b[_0x493967(0x180)]||_0x83a22b['skipped']){_0x25e2c4['startedAt']=new Date(),_0x25e2c4[_0x493967(0x1d0)]=![];if(!_0x25e2c4[_0x493967(0x166)])_0x25e2c4[_0x493967(0x166)]=_0x566788[_0x493967(0x110)](uuidv4);else _0x25e2c4['markedStatus']&&(!_0x25e2c4['retryOf']&&(_0x25e2c4['retryOf']=_0x25e2c4[_0x493967(0x166)]),_0x25e2c4[_0x493967(0x166)]=_0x566788[_0x493967(0x17f)](uuidv4));}}else{if(_0x83a22b[_0x493967(0x18d)]){this['currentHook']=_0x25e2c4;if(_0x83a22b[_0x493967(0x180)]){_0x25e2c4[_0x493967(0x134)]=new Date(),_0x25e2c4[_0x493967(0x1d0)]=![];if(!_0x25e2c4['hookAnalyticsId'])_0x25e2c4[_0x493967(0x18a)]=_0x566788[_0x493967(0x110)](uuidv4);else _0x25e2c4[_0x493967(0x18a)]&&_0x25e2c4[_0x493967(0x1d0)]&&(_0x25e2c4[_0x493967(0x18a)]=_0x566788[_0x493967(0x1c0)](uuidv4));}}}if(_0x83a22b[_0x493967(0x147)]&&_0x25e2c4[_0x493967(0x1d0)])return;let _0x4262a3;try{_0x4262a3=this[_0x493967(0x151)](_0x25e2c4);}catch(_0x13403b){logger['debug']('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x13403b),_0x4262a3=null;}const _0x5c643f=_0x566788[_0x493967(0x125)](require,_0x566788[_0x493967(0x127)]);let _0x3d55f2=[];_0x2bae42&&(_0x3d55f2=[_0x2bae42,_0x566788[_0x493967(0x10e)]]);const _0x28cb62=_0x566788[_0x493967(0x136)](_0x25e2c4[_0x493967(0x1c1)],undefined)?_0x5c643f[_0x493967(0x15d)](_0x25e2c4[_0x493967(0x1c1)][0x0]):_0x566788['vqouk'](_0x2bae42,undefined)?_0x2bae42[_0x493967(0xe8)]():undefined,_0x141652=_0x4262a3?this['findGitConfig'](_0x4262a3):null,_0x2db7b0=_0x4262a3?this['_paths']['prefixTestPath'](this[_0x493967(0x151)](_0x25e2c4)):_0x566788[_0x493967(0x1d1)];let _0x241ef5=_0x566788[_0x493967(0x1d7)];const _0x4e2159=!_0x83a22b[_0x493967(0x180)]?new Date()['toISOString']():null;if(_0x83a22b[_0x493967(0x147)])_0x241ef5=_0x2bae42?_0x566788['Wtdpg']:_0x566788['StHdp'],_0x25e2c4[_0x493967(0x1d0)]=!![];else _0x83a22b[_0x493967(0x139)]&&(_0x241ef5=_0x566788[_0x493967(0x107)],_0x25e2c4[_0x493967(0x1d0)]=!![]);const _0x19dd52={'framework':this[_0x493967(0x1cb)],'uuid':_0x25e2c4[_0x493967(0x166)]||_0x25e2c4[_0x493967(0x18a)],'name':_0x25e2c4[_0x493967(0x16a)],'body':{'lang':_0x566788['NtTkd'],'code':_0x25e2c4[_0x493967(0x19b)][_0x493967(0xe8)]()},'type':_0x25e2c4[_0x493967(0x1a3)],'scope':_0x25e2c4['fullTitle'](),'scopes':this[_0x493967(0xff)](_0x25e2c4),'file_name':_0x2db7b0,'vc_filepath':_0x141652?path['relative'](_0x141652,_0x4262a3):null,'location':_0x2db7b0,'result':_0x241ef5,'failure_reason':_0x28cb62,'duration_in_ms':_0x25e2c4[_0x493967(0x12f)]||(_0x83a22b[_0x493967(0x147)]||_0x83a22b[_0x493967(0x139)])?_0x566788[_0x493967(0x108)](Date['now'](),new Date(_0x25e2c4[_0x493967(0x134)])[_0x493967(0x1a0)]()):null,'started_at':new Date(_0x25e2c4[_0x493967(0x134)])['toISOString'](),'finished_at':_0x4e2159,'failure':testOpsHelper[_0x493967(0x1ae)]['apply'](null,_0x3d55f2),'failure_type':!_0x28cb62?null:testOpsHelper[_0x493967(0x135)](_0x28cb62),'retry_of':_0x25e2c4[_0x493967(0x119)]||null,'tags':_0x25e2c4[_0x493967(0x116)]||[],'customRerunParam':{'rerun_name':_0x25e2c4[_0x493967(0x19c)]()}};_0x566788[_0x493967(0xe6)](appendTesthubParams,_0x19dd52,_0x130977,_0x25e2c4,FRAMEWORKS['CODECEPT']);if(_0x83a22b[_0x493967(0x18d)])[_0x19dd52[_0x493967(0xf1)],_0x19dd52[_0x493967(0x1aa)]]=[this[_0x493967(0x196)](_0x25e2c4),_0x25e2c4['ctx'][_0x493967(0xf2)][_0x493967(0x16a)]],_0x83a22b[_0x493967(0x147)]?_0x566788[_0x493967(0xfd)](_0x19dd52[_0x493967(0x170)],_0x566788[_0x493967(0x188)])&&(_0x19dd52[_0x493967(0x170)]=_0x566788[_0x493967(0x193)]):_0x19dd52[_0x493967(0x19b)]={};else _0x83a22b[_0x493967(0xf2)]&&(this[_0x493967(0xec)](_0x25e2c4),_0x83a22b[_0x493967(0x139)]&&this[_0x493967(0x140)](_0x25e2c4),(_0x83a22b[_0x493967(0x147)]||_0x83a22b['skipped'])&&(_0x19dd52[_0x493967(0x102)]=this[_0x493967(0x156)](_0x25e2c4)));this[_0x493967(0x18e)]&&(_0x83a22b[_0x493967(0x180)]||_0x83a22b[_0x493967(0x139)])&&(_0x19dd52[_0x566788[_0x493967(0x122)]]=this['getCBTInfo'](this[_0x493967(0x18e)]));_0x83a22b['test']&&_0x83a22b[_0x493967(0x147)]&&_0x25e2c4[_0x493967(0x1ab)]&&(_0x19dd52[_0x566788[_0x493967(0x1d6)]]={'feature':{'name':_0x25e2c4[_0x493967(0x11e)][_0x493967(0x171)][_0x493967(0x1aa)],'path':_0x19dd52['file_name'],'description':_0x25e2c4[_0x493967(0x11e)][_0x493967(0x1ac)]},'scenario':{'name':_0x25e2c4['title']},'steps':_0x25e2c4[_0x493967(0x1ab)]});const _0x5b8dc1=_0x19dd52[_0x566788['LOsCN']][0x0];_0x5b8dc1&&(_0x19dd52[_0x566788[_0x493967(0xe7)]]=_0x5b8dc1[_0x566788[_0x493967(0x1c7)]],_0x19dd52[_0x566788[_0x493967(0x1a1)]]=_0x5b8dc1[_0x566788[_0x493967(0x15c)]]);if(_0x25e2c4['bddSteps'])for(const _0x2cec4c of _0x25e2c4[_0x493967(0x1ab)]){!_0x2cec4c[_0x493967(0x104)]&&(_0x2cec4c[_0x493967(0x104)]=new Date()[_0x493967(0x187)](),_0x566788[_0x493967(0x197)](_0x2cec4c[_0x493967(0x170)],_0x566788[_0x493967(0x1d7)])&&(_0x5b8dc1?(_0x2cec4c['result']=_0x566788[_0x493967(0x188)],_0x2cec4c[_0x493967(0xef)]=_0x5b8dc1[_0x566788[_0x493967(0x1c7)]][0x0]):_0x2cec4c[_0x493967(0x170)]=_0x566788[_0x493967(0x193)]));}const _0x37ff3b={};_0x37ff3b[_0x493967(0xe4)]=_0x83a22b['skipped']?TEST_EVENTS[_0x493967(0xeb)]:_0x130977;const _0x375b2e=_0x37ff3b;return _0x83a22b['hook']?_0x375b2e[_0x566788[_0x493967(0x1af)]]=_0x19dd52:_0x375b2e[_0x566788[_0x493967(0x18c)]]=_0x19dd52,_0x375b2e;}catch(_0x3a4d19){logger['debug'](_0x493967(0x146)+_0x130977+_0x493967(0x126)+_0x3a4d19);}}async[a4_0x343d35(0xe3)](_0x10a928,_0x2267e7){const _0x120356=a4_0x343d35;if(!this['enabled']||!_0x2267e7||!_0x10a928)return![];try{return await SessionHandler[_0x120356(0x152)](_0x2267e7);}catch(_0x1b3f21){logger[_0x120356(0x1ce)](_0x120356(0xea)+_0x10a928+_0x120356(0x126)+_0x1b3f21);}}[a4_0x343d35(0x132)](_0x34ad90){const _0x301875=a4_0x343d35,_0x7a76f={};_0x7a76f['SyeWH']=_0x301875(0x1be);const _0x17bcbb=_0x7a76f;return{'id':_0x34ad90[_0x301875(0x16c)],'text':_0x34ad90[_0x301875(0x1bb)],'keyword':_0x34ad90['keyword'],'started_at':_0x34ad90[_0x301875(0x134)][_0x301875(0x187)](),'result':_0x17bcbb[_0x301875(0x17b)]};}[a4_0x343d35(0x1b5)](_0x5aa3ff){const _0x5d7a8f=a4_0x343d35,_0x38a611={'MlVWn':function(_0xa1e4fc){return _0xa1e4fc();}};!this[_0x5d7a8f(0x13c)]['bddSteps']&&(this[_0x5d7a8f(0x13c)][_0x5d7a8f(0x1ab)]=[]),!_0x5aa3ff[_0x5d7a8f(0x16c)]&&(_0x5aa3ff[_0x5d7a8f(0x16c)]=_0x38a611[_0x5d7a8f(0x11f)](uuidv4),_0x5aa3ff['startedAt']=new Date(),this[_0x5d7a8f(0x13c)][_0x5d7a8f(0x1ab)][_0x5d7a8f(0x101)](this['initializeBddStep'](_0x5aa3ff)));}[a4_0x343d35(0x154)](_0x21c7db){const _0x32ce6c=a4_0x343d35,_0x424cd6={'aCfaH':function(_0x209823,_0x358442){return _0x209823(_0x358442);},'iCUdg':_0x32ce6c(0xf8),'aUJUZ':_0x32ce6c(0x1be),'mJafs':_0x32ce6c(0x11d),'bjuhW':function(_0x53392f,_0x27d960){return _0x53392f-_0x27d960;}};let _0x28966f=this[_0x32ce6c(0x13c)][_0x32ce6c(0x1ab)]['find'](_0x585a8c=>_0x585a8c['id']===_0x21c7db['stepAnalyticsId']);_0x424cd6['aCfaH'](isUndefined,_0x28966f)&&(_0x28966f=this[_0x32ce6c(0x132)](_0x21c7db)),_0x28966f[_0x32ce6c(0x170)]=[_0x424cd6[_0x32ce6c(0xfa)],_0x424cd6['aUJUZ']][_0x32ce6c(0x112)](_0x21c7db[_0x32ce6c(0x13e)])?_0x424cd6[_0x32ce6c(0x17a)]:_0x21c7db['status'],_0x28966f[_0x32ce6c(0x104)]=new Date()[_0x32ce6c(0x187)](),_0x28966f[_0x32ce6c(0x12f)]=_0x424cd6[_0x32ce6c(0x13b)](Date[_0x32ce6c(0xed)](),_0x21c7db['startedAt'][_0x32ce6c(0x1a0)]()),_0x28966f[_0x32ce6c(0xef)]=_0x21c7db['err']?_0x21c7db[_0x32ce6c(0x149)][_0x32ce6c(0xf4)]:null;}}const a4_0x504abc={};a4_0x504abc[a4_0x343d35(0x129)]=O11yHelper,a4_0x504abc['STATE_PASSED']=STATE_PASSED,a4_0x504abc['STATE_FAILED']=STATE_FAILED,a4_0x504abc[a4_0x343d35(0x145)]=TEST_EVENTS,module[a4_0x343d35(0x17d)]=a4_0x504abc;function a4_0x3d43(_0x381ed5,_0x26a21b){const _0x296616=a4_0x2966();return a4_0x3d43=function(_0x3d436c,_0x50775e){_0x3d436c=_0x3d436c-0xe3;let _0x98e034=_0x296616[_0x3d436c];return _0x98e034;},a4_0x3d43(_0x381ed5,_0x26a21b);}function a4_0x2966(){const _0xb74929=['WkUWW','XdxbC','_afterEach','bHMWp','body','fullTitle','InXxw','_paths','statSync','getTime','jKDMB','join','type','sAxXb','Playwright','LogCreated','joFGn','SdMac','launch','name','bddSteps','comment','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','failureData','iKDaP','backtrace','SdUGN','bind','test_run_uuid','zLOKL','bddStepStart','9899btcehq','uuid','_afterAll','replace','location_prefix','text','yHuez','start','pending','./helper.js','EbTKO','errorsDetailed','winstonLogger','integrations','meta','../playwright/accessibility-helper','11561683YbEjII','TglZj','removeAllListeners','ctx','currentHook','frameworkName','toLowerCase','JAMWG','debug','EHBib','markedStatus','fsxrL','getCBTInfo','wsEndpoint','PathHelper','patchConsoleLogger','olztk','ejFgU','TestRunSkipped','fireEvent','event_type','cHLJI','BbVLl','cUcJj','toString','apply','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','TEST_RUN_FINISHED','mapTestHooks','now','hook_run','failure','split','hook_type','test','prototype','message','HmLkY','findGitConfig','length','success','Not\x20able\x20to\x20import\x20Browser','iCUdg','lib','6214288GmGLxO','lZpUk','obsBrowserTypeMockApplied','getHierarchy','../mocha/test-observability/mochaUtils','push','hooks','tSTFn','finished_at','aADEO','ieMsQ','WZnEj','OrLsz','VBezm','constructor','TUGbB','VWrsX','MQQSh','qwZzr','jnVZX','AOBIB','sendCBTInfo','includes','_testEnv','bs:addLog:','forEach','tags','concat','_beforeAll','retryOf','pxEkm','fjqGZ','HINdg','passed','parent','MlVWn','suites','TestRunFinished','VeqKc','path','dvmzD','kLNtR','\x20with\x20error\x20:\x20','mIAyD','expanded','O11yHelper','vuzeQ','qxXYQ','GXwkO','then','CwdNF','duration','HookRunStarted','OEwXW','initializeBddStep','MSsZT','startedAt','getFailureType','tgEzc','Failed\x20to\x20parse\x20wsendpoint\x20','8610174BSbiFq','skipped','8vsoeKt','bjuhW','currentTest','file','status','appendTestItemLog','resetSkipTestHooks','match','../playwright/sessionDetails','browserType.js','TEST_RUN_STARTED','TEST_EVENTS','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','finished','HOOK_RUN_STARTED','err','oRsbo','DBHVu','Kkalm','pid','961014yzdTDZ','failed','StWBY','getRootParentFile','uploadEventData','../utils/constants','bddStepFinish','IpUiW','getHooksForTest','MAWAZ','javascript','setupBrowserDetails','captureEvent','test_run','rSNRd','inspect','../../helpers/helper','enabled','BrowserType','DgknB','uCrxV','browserstack','407145JEETNr','../../helpers/logger','testAnalyticsId','connectOverCDP','vfgVu','HOOK_RUN_FINISHED','title','osPbx','stepAnalyticsId','338JESDBr','connect','File\x20path\x20could\x20not\x20be\x20found','result','feature','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','ATbUv','hook_run_uuid','failure_reason_expanded','stop','../../helpers/test-observability/requestQueueHandler','5EbIrhU','shutdown','mJafs','SyeWH','__platformCaps','exports','toUpperCase','iVYYV','started','yNgiK','../../helpers/test-observability/sessionHandler','MzEhc','zedYD','cwd','defineProperty','toISOString','Wtdpg','dirname','hookAnalyticsId','string','eCNCs','hook','driver','TNRsg','client','uOSax','_beforeEach','StHdp','4|1|2|5|3|0','2048950EBQges','getHookType'];a4_0x2966=function(){return _0xb74929;};return a4_0x2966();}
1
+ const a4_0x195e7e=a4_0x3a96;(function(_0x3df1d0,_0x13ec41){const _0x43f804=a4_0x3a96,_0x492989=_0x3df1d0();while(!![]){try{const _0x37409c=-parseInt(_0x43f804(0x23f))/0x1*(parseInt(_0x43f804(0x199))/0x2)+-parseInt(_0x43f804(0x242))/0x3+parseInt(_0x43f804(0x276))/0x4+-parseInt(_0x43f804(0x207))/0x5*(parseInt(_0x43f804(0x289))/0x6)+-parseInt(_0x43f804(0x24f))/0x7*(parseInt(_0x43f804(0x274))/0x8)+parseInt(_0x43f804(0x211))/0x9+parseInt(_0x43f804(0x226))/0xa;if(_0x37409c===_0x13ec41)break;else _0x492989['push'](_0x492989['shift']());}catch(_0x466865){_0x492989['push'](_0x492989['shift']());}}}(a4_0x50ab,0x74df8));const path=require(a4_0x195e7e(0x196)),fs=require('fs'),{v4:uuidv4}=require('uuid'),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x195e7e(0x201)),testOpsHelper=require(a4_0x195e7e(0x1ba)),{getTestEnv}=require(a4_0x195e7e(0x27e)),{FRAMEWORKS}=require(a4_0x195e7e(0x204)),logger=require(a4_0x195e7e(0x1cc))[a4_0x195e7e(0x1f9)],SessionHandler=require(a4_0x195e7e(0x197)),RequestQueueHandler=require(a4_0x195e7e(0x1bd)),PlaywrightSessionDetails=require(a4_0x195e7e(0x19f)),debug=testOpsHelper[a4_0x195e7e(0x283)],{processAccessibilityCaps}=require('../playwright/accessibility-helper'),Constants=require(a4_0x195e7e(0x231)),{fetchPlatformDetails}=require(a4_0x195e7e(0x1da)),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x195e7e(0x24c)),STATE_PASSED=a4_0x195e7e(0x22c),STATE_FAILED=a4_0x195e7e(0x28b),a4_0x4721a2={};a4_0x4721a2['TEST_RUN_STARTED']=a4_0x195e7e(0x215),a4_0x4721a2[a4_0x195e7e(0x1d1)]='TestRunFinished',a4_0x4721a2[a4_0x195e7e(0x23a)]=a4_0x195e7e(0x233),a4_0x4721a2[a4_0x195e7e(0x263)]=a4_0x195e7e(0x1ff),a4_0x4721a2[a4_0x195e7e(0x224)]=a4_0x195e7e(0x220);const TEST_EVENTS=a4_0x4721a2,parseEvent=_0x5c588b=>{const _0x1785c5=a4_0x195e7e,_0x48b64b={};_0x48b64b[_0x1785c5(0x1fc)]=function(_0x1c8c2f,_0x213a19){return _0x1c8c2f<_0x213a19;},_0x48b64b[_0x1785c5(0x209)]=function(_0xf12dc2,_0x3f4c2c){return _0xf12dc2===_0x3f4c2c;},_0x48b64b[_0x1785c5(0x1ee)]=_0x1785c5(0x1a3),_0x48b64b[_0x1785c5(0x26b)]='hook',_0x48b64b[_0x1785c5(0x287)]=_0x1785c5(0x22d),_0x48b64b[_0x1785c5(0x266)]=_0x1785c5(0x24a),_0x48b64b[_0x1785c5(0x229)]='finished';const _0x4f71bc=_0x48b64b,_0x46d8e4=_0x5c588b[_0x1785c5(0x27d)](/^(.*)Run(.*)$/);if(!_0x46d8e4)return null;if(_0x4f71bc[_0x1785c5(0x1fc)](_0x46d8e4[_0x1785c5(0x19c)],0x3))return null;const _0x55db85=_0x46d8e4[0x1]['toLowerCase'](),_0x4b2dfd=_0x46d8e4[0x2][_0x1785c5(0x25e)]();return{'test':_0x4f71bc[_0x1785c5(0x209)](_0x55db85,_0x4f71bc[_0x1785c5(0x1ee)]),'hook':_0x4f71bc['JErXh'](_0x55db85,_0x4f71bc['ZvHOV']),'skipped':_0x4f71bc[_0x1785c5(0x209)](_0x4b2dfd,_0x4f71bc['llLXJ']),'started':_0x4f71bc[_0x1785c5(0x209)](_0x4b2dfd,_0x4f71bc[_0x1785c5(0x266)]),'finished':_0x4f71bc[_0x1785c5(0x209)](_0x4b2dfd,_0x4f71bc['Gkpwz'])};},mockPWBrowserType=_0x5108e7=>{const _0x5f5c3d=a4_0x195e7e,_0x5604bb={'UoXxz':function(_0x178931,_0x3f3ab7){return _0x178931===_0x3f3ab7;},'KMyEV':_0x5f5c3d(0x21f),'ptjiv':function(_0xcee4ce,_0x4378b0,_0x253d9e){return _0xcee4ce(_0x4378b0,_0x253d9e);},'lJrhC':_0x5f5c3d(0x214),'IbwLq':function(_0x4213f0,_0x3db51b){return _0x4213f0(_0x3db51b);},'cJwnx':_0x5f5c3d(0x1bf),'lbBCD':_0x5f5c3d(0x251),'ebqZW':_0x5f5c3d(0x1d0),'BHuja':'browserType.js','KsJGe':function(_0x12bd7c,_0x1ea813){return _0x12bd7c(_0x1ea813);},'ZJPeu':'Not\x20able\x20to\x20import\x20Browser','eeyuY':_0x5f5c3d(0x268),'THaZz':_0x5f5c3d(0x237)},_0x45c864=path['join'](_0x5604bb[_0x5f5c3d(0x1d5)],_0x5604bb[_0x5f5c3d(0x277)],_0x5604bb[_0x5f5c3d(0x1ad)]),_0x1fc671=_0x5604bb[_0x5f5c3d(0x26a)](importFileFromPWCore,_0x45c864);if(!_0x1fc671){_0x5604bb[_0x5f5c3d(0x26a)](debug,_0x5604bb[_0x5f5c3d(0x200)]);return;}const _0x37da34=_0x1fc671[_0x5f5c3d(0x221)],_0x54ca4d=_0x37da34[_0x5f5c3d(0x247)];if(_0x54ca4d['obsBrowserTypeMockApplied'])return;const _0x471486=_0x54ca4d[_0x5f5c3d(0x268)];Object[_0x5f5c3d(0x21d)](_0x54ca4d,_0x5604bb[_0x5f5c3d(0x227)],{'get':function(){const _0x490995=_0x5f5c3d,_0x4d25e6={'GfNLU':function(_0x26a9ea,_0xc6ab48){const _0x26637a=a4_0x3a96;return _0x5604bb[_0x26637a(0x1a2)](_0x26a9ea,_0xc6ab48);},'VbfWn':_0x5604bb[_0x490995(0x1cd)],'CwTVQ':function(_0x4bcaa5,_0x28e388,_0x2aaf92){const _0x44e8c6=_0x490995;return _0x5604bb[_0x44e8c6(0x1b9)](_0x4bcaa5,_0x28e388,_0x2aaf92);},'ugriF':_0x5604bb[_0x490995(0x1fd)],'qGQPZ':function(_0x2c4c22,_0x536f77){const _0x4e89a9=_0x490995;return _0x5604bb[_0x4e89a9(0x246)](_0x2c4c22,_0x536f77);},'roMck':_0x5604bb[_0x490995(0x1e3)]};return async function _0x34a713(_0x3e85d5,_0x21893d){const _0x2e464e=_0x490995,_0x16a89a=_0x4d25e6[_0x2e464e(0x203)](nestedKeyValue,_0x3e85d5,[_0x4d25e6[_0x2e464e(0x1e6)]])||_0x3e85d5;let _0x4addbc=null,_0x9a31ca=null;try{[_0x9a31ca,_0x4addbc]=_0x16a89a?_0x4d25e6[_0x2e464e(0x27c)](parseWSEndpoint,_0x16a89a):[null,null],global[_0x2e464e(0x262)]=_0x4addbc,_0x9a31ca['includes'](_0x4d25e6[_0x2e464e(0x1f3)])&&(global[_0x2e464e(0x19b)]=_0x4d25e6[_0x2e464e(0x1f3)]);}catch(_0x127a8b){logger[_0x2e464e(0x283)](_0x2e464e(0x1f4)+_0x16a89a+'\x20'+_0x127a8b);}_0x4d25e6[_0x2e464e(0x203)](processAccessibilityCaps,_0x4addbc,_0x9a31ca);if(global['accessibilityPlatform']){const _0xc5d715=await _0x54ca4d[_0x2e464e(0x1b1)][_0x2e464e(0x1c9)](this,[''+Constants[_0x2e464e(0x1b4)]+_0x4d25e6[_0x2e464e(0x27c)](encodeURIComponent,JSON['stringify'](_0x4addbc))]);return PlaywrightSessionDetails[_0x2e464e(0x269)](_0xc5d715,_0x5108e7,_0x16a89a),_0xc5d715;}return _0x471486['apply'](this,arguments)['then'](_0x28ae1b=>{const _0x3fa7be=_0x2e464e;let _0x3792d2=_0x3e85d5[_0x3fa7be(0x214)];return _0x4d25e6[_0x3fa7be(0x255)](typeof _0x3e85d5,_0x4d25e6[_0x3fa7be(0x216)])&&(_0x3792d2=_0x3e85d5),PlaywrightSessionDetails[_0x3fa7be(0x269)](_0x28ae1b,_0x5108e7,_0x3792d2),_0x28ae1b;});};}});const _0x4242cc=_0x54ca4d[_0x5f5c3d(0x237)];Object[_0x5f5c3d(0x21d)](_0x54ca4d,_0x5604bb['THaZz'],{'get':function(){return async function _0x4c9366(){const _0x191939=a4_0x3a96;return _0x4242cc['apply'](this,arguments)[_0x191939(0x198)](_0xbbb791=>{const _0xed864b=_0x191939;return PlaywrightSessionDetails[_0xed864b(0x269)](_0xbbb791,null),_0xbbb791;});};}});};function a4_0x3a96(_0x366364,_0x3bdc4b){const _0x50abcb=a4_0x50ab();return a4_0x3a96=function(_0x3a96af,_0x439754){_0x3a96af=_0x3a96af-0x195;let _0x1b3fa1=_0x50abcb[_0x3a96af];return _0x1b3fa1;},a4_0x3a96(_0x366364,_0x3bdc4b);}function a4_0x50ab(){const _0x58d617=['lbBCD','pending','bind','body','uuid','./helper.js','forEach','STsro','ZpIXC','QbDaH','O11yHelper','getTime','testAnalyticsId','ipQyE','cJwnx','fbTkY','codeceptjs','ugriF','driver','PathHelper','toString','mapTestHooks','failure_reason_expanded','patchConsoleLogger','EqlCs','uBWBn','push','errorsDetailed','result','zmEYB','roMck','Failed\x20to\x20parse\x20wsendpoint\x20','hooks','bddSteps','concat','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','winstonLogger','xTflv','retryOf','Opwlq','lJrhC','gCHrw','HookRunStarted','ZJPeu','../../helpers/helper','_afterAll','CwTVQ','../../helpers/test-observability/constants','sqLvo','PlGlX','6505UQNyjp','TbFhH','JErXh','title','fNval','LUeGs','startedAt','fireEvent','bddStepFinish','frameworkName','5949090uhuRMZ','toUpperCase','yovJM','wsEndpoint','TestRunStarted','VbfWn','WxZda','getHooksForTest','AqoEz','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','EsSxK','_beforeEach','defineProperty','name','string','HookRunFinished','BrowserType','txjpg','captureEvent','HOOK_RUN_FINISHED','hook','5132770AeWFev','eeyuY','FignD','Gkpwz','SYfZd','relative','passed','skipped','text','pcubK','xjiNj','../utils/constants','stop','TestRunSkipped','LKVPy','cwd','kRfCX','launch','TEST_EVENTS','find','TEST_RUN_SKIPPED','message','File\x20path\x20could\x20not\x20be\x20found','getHookType','jyQmJ','33qjBLLP','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','javascript','2343630BRKwww','OYhxb','_testEnv','bs:addLog:','IbwLq','prototype','feature','nwmth','started','includes','../../helpers/testhub/utils.js','hook_type','_beforeAll','7yYuxor','gGhYB','lib','now','failure','test_run','GfNLU','resetSkipTestHooks','STATE_FAILED','getHierarchy','groups','initializeBddStep','sfcMc','getInstance','sep','toLowerCase','OISzo','appendTestItemLog','Qwnnk','__platformCaps','HOOK_RUN_STARTED','exports','bxHyl','jUoJY','finished_at','connect','setupBrowserDetails','KsJGe','ZvHOV','xBKDw','_afterEach','expanded','hlNvE','BSIbN','comment','integrations','currentHook','3088376CTuNbA','SWpiO','3475284HBJVUu','ebqZW','Playwright','wnXKO','apXSG','file_name','qGQPZ','match','../mocha/test-observability/mochaUtils','enabled','dirname','fullTitle','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','debug','currentTest','inspect','statSync','llLXJ','sendCBTInfo','1662gcrXXV','_paths','failed','util','event_type','path','../../helpers/test-observability/sessionHandler','then','2228hYWyJi','test_run_uuid','__cloud_provider___','length','config','bddStepStart','../playwright/sessionDetails','prefixTestPath','hook_run','UoXxz','test','err','ezpMG','4|3|1|2|0|5','tags','zeXCh','CBTSessionCreated','getCBTInfo','keyword','failed\x20to\x20get\x20root\x20parent\x20file\x20','BHuja','hook_run_uuid','Vvhbj','hookAnalyticsId','connectOverCDP','parent','jRrGw','PLAYWRIGHT_HUB_URL','suites','constructor','toISOString','odGaQ','ptjiv','../../helpers/test-observability/utils','uploadEventData','stepAnalyticsId','../../helpers/test-observability/requestQueueHandler','EBXAF','browserstack','ezUTj','pid','removeAllListeners','split','\x20with\x20error\x20:\x20','ctx','logs','finished','findGitConfig','apply','getRootParentFile','rZVhi','../../helpers/logger','KMyEV','markedStatus','nxTJY','client','TEST_RUN_FINISHED','iQgqG','status','vzpWU'];a4_0x50ab=function(){return _0x58d617;};return a4_0x50ab();}class O11yHelper{['currentTest']=null;[a4_0x195e7e(0x273)]=null;[a4_0x195e7e(0x27f)]=![];[a4_0x195e7e(0x210)]=![];constructor(_0x3e6062,_0xb94695){const _0x29bad6=a4_0x195e7e,_0x2333a6={'EqlCs':_0x29bad6(0x1a6),'LKVPy':function(_0x16f0e8){return _0x16f0e8();},'EBXAF':function(_0x20fa11){return _0x20fa11();},'SWpiO':function(_0xc3fb9a,_0x336a91){return _0xc3fb9a===_0x336a91;},'rZVhi':_0x29bad6(0x278),'xTflv':function(_0x33c3c9,_0x53fda1){return _0x33c3c9(_0x53fda1);}},_0x17fcbf=_0x2333a6[_0x29bad6(0x1ed)][_0x29bad6(0x1c3)]('|');let _0x17d52d=0x0;while(!![]){switch(_0x17fcbf[_0x17d52d++]){case'0':this[_0x29bad6(0x28a)]=new testOpsHelper[(_0x29bad6(0x1e8))]({'cwd':process[_0x29bad6(0x235)]()},this[_0x29bad6(0x244)]['location_prefix']);continue;case'1':this['driver']=_0x3e6062;continue;case'2':this[_0x29bad6(0x244)]=_0x2333a6[_0x29bad6(0x234)](getTestEnv);continue;case'3':this[_0x29bad6(0x210)]=_0xb94695[_0x29bad6(0x210)];continue;case'4':this[_0x29bad6(0x27f)]=_0x2333a6[_0x29bad6(0x1be)](shouldProcessEventForTesthub);continue;case'5':this[_0x29bad6(0x1e7)]&&_0x2333a6[_0x29bad6(0x275)](this[_0x29bad6(0x1e7)][_0x29bad6(0x1b6)][_0x29bad6(0x21e)],_0x2333a6[_0x29bad6(0x1cb)])&&_0x2333a6[_0x29bad6(0x1fa)](mockPWBrowserType,null);continue;}break;}}['start'](){const _0x38bccb=a4_0x195e7e;if(!this[_0x38bccb(0x27f)])return;testOpsHelper[_0x38bccb(0x1ec)](),process[_0x38bccb(0x1c2)](_0x38bccb(0x245)+process[_0x38bccb(0x1c1)]),process['on'](_0x38bccb(0x245)+process[_0x38bccb(0x1c1)],this[_0x38bccb(0x260)][_0x38bccb(0x1d7)](this));}async[a4_0x195e7e(0x232)](){const _0x5149fa=a4_0x195e7e;await RequestQueueHandler[_0x5149fa(0x25c)]()['shutdown']();}async[a4_0x195e7e(0x260)](_0x2b5e58){const _0x14d484=a4_0x195e7e,_0x3cdba6={'jRrGw':'LogCreated','AqoEz':function(_0x2bb3e5,_0x140e57){return _0x2bb3e5(_0x140e57);}};try{this[_0x14d484(0x273)]&&!this[_0x14d484(0x273)]['markedStatus']&&(_0x2b5e58[_0x14d484(0x1ae)]=this[_0x14d484(0x273)][_0x14d484(0x1b0)]);!_0x2b5e58['hook_run_uuid']&&this[_0x14d484(0x284)]&&!this[_0x14d484(0x284)][_0x14d484(0x1ce)]&&(_0x2b5e58[_0x14d484(0x19a)]=this['currentTest'][_0x14d484(0x1e1)]);if(_0x2b5e58['hook_run_uuid']||_0x2b5e58['test_run_uuid']){const _0x2cea4f={};_0x2cea4f[_0x14d484(0x195)]=_0x3cdba6[_0x14d484(0x1b3)],_0x2cea4f[_0x14d484(0x1c6)]=[_0x2b5e58],await SessionHandler[_0x14d484(0x1bb)](_0x2cea4f);}}catch(_0x51c174){_0x3cdba6[_0x14d484(0x219)](debug,_0x14d484(0x1f8)+_0x51c174);}}async[a4_0x195e7e(0x288)](_0x4a9ea2){const _0x57e634=a4_0x195e7e,_0x4ec883={'FKKtS':_0x57e634(0x1a9),'bxHyl':function(_0x3ef539,_0x540952){return _0x3ef539(_0x540952);}};if(!this['enabled'])return;const _0x44860e=this['getCBTInfo'](this[_0x57e634(0x1e7)]);try{const _0x589884={};_0x589884[_0x57e634(0x1d9)]=_0x4a9ea2,_0x589884[_0x57e634(0x272)]=_0x44860e;const _0x45b730=_0x589884,_0x302a5a={};_0x302a5a['event_type']=_0x4ec883['FKKtS'],_0x302a5a[_0x57e634(0x254)]=_0x45b730,await SessionHandler['uploadEventData'](_0x302a5a);}catch(_0x327bfe){_0x4ec883[_0x57e634(0x265)](debug,_0x57e634(0x282)+_0x327bfe);}}[a4_0x195e7e(0x1aa)](_0x4060d8){const _0xf04a1b=a4_0x195e7e,_0x5e47b7={'nxTJY':function(_0x41a935,_0x1b3f4d){return _0x41a935(_0x1b3f4d);}};return _0x5e47b7[_0xf04a1b(0x1cf)](fetchPlatformDetails,_0x4060d8);}[a4_0x195e7e(0x256)]=_0x58c29b=>{const _0x1ebf3c=a4_0x195e7e,_0x5e174f={};_0x5e174f[_0x1ebf3c(0x1a5)]='_beforeEach',_0x5e174f[_0x1ebf3c(0x22a)]=_0x1ebf3c(0x26d);const _0x509802=_0x5e174f;if(!_0x58c29b||!_0x58c29b[_0x1ebf3c(0x1b2)])return;[_0x509802[_0x1ebf3c(0x1a5)],_0x509802[_0x1ebf3c(0x22a)]]['forEach'](_0x4ca918=>{const _0x22bc40=_0x1ebf3c,_0x3e1d15=_0x58c29b[_0x22bc40(0x1b2)][_0x4ca918];_0x3e1d15['forEach'](_0x37b421=>{const _0x5d9aaa=_0x22bc40;_0x37b421[_0x5d9aaa(0x1b0)]&&(_0x37b421['hookAnalyticsId']=null);});});};[a4_0x195e7e(0x1ea)](_0x45ca28){const _0x3fe32f=a4_0x195e7e,_0x265c09={'gGhYB':_0x3fe32f(0x1e5),'pcubK':function(_0x2cc627){return _0x2cc627();},'tRhjX':function(_0x59b0b0,_0x1547ab){return _0x59b0b0===_0x1547ab;},'PlGlX':_0x3fe32f(0x26d),'zeXCh':'_beforeAll','MFiLr':_0x3fe32f(0x202),'OYhxb':_0x3fe32f(0x21c)};if(!_0x45ca28||!_0x45ca28[_0x3fe32f(0x1b2)])return;[_0x265c09[_0x3fe32f(0x1a8)],_0x265c09['MFiLr'],_0x265c09[_0x3fe32f(0x243)],_0x265c09[_0x3fe32f(0x206)]][_0x3fe32f(0x1db)](_0x1764c5=>{const _0x442f70=_0x3fe32f,_0x41e13d=_0x45ca28['parent'][_0x1764c5]||[];_0x41e13d[_0x442f70(0x1db)](_0x111384=>{const _0x2b7bc1=_0x442f70;if(_0x111384[_0x2b7bc1(0x20a)][_0x2b7bc1(0x24b)](_0x265c09[_0x2b7bc1(0x250)]))return;if(!_0x111384[_0x2b7bc1(0x1b0)])_0x111384[_0x2b7bc1(0x1b0)]=_0x265c09[_0x2b7bc1(0x22f)](uuidv4);else _0x111384['markedStatus']&&_0x265c09['tRhjX'](_0x1764c5,_0x265c09[_0x2b7bc1(0x206)])&&(_0x111384[_0x2b7bc1(0x1b0)]=_0x265c09[_0x2b7bc1(0x22f)](uuidv4),delete _0x111384[_0x2b7bc1(0x1ce)]);});}),this[_0x3fe32f(0x1ea)](_0x45ca28[_0x3fe32f(0x1b2)]);}[a4_0x195e7e(0x218)](_0x4a0dc8){const _0x5f4655=a4_0x195e7e,_0x27f362={};_0x27f362[_0x5f4655(0x236)]=_0x5f4655(0x24e),_0x27f362[_0x5f4655(0x1fe)]='_afterAll',_0x27f362['Vvhbj']=_0x5f4655(0x21c),_0x27f362[_0x5f4655(0x23e)]=_0x5f4655(0x26d);const _0x3fb355=_0x27f362;if(!_0x4a0dc8||!_0x4a0dc8[_0x5f4655(0x1b2)])return[];const _0x4bcedc=[];return[_0x3fb355[_0x5f4655(0x236)],_0x3fb355[_0x5f4655(0x1fe)],_0x3fb355[_0x5f4655(0x1af)],_0x3fb355[_0x5f4655(0x23e)]][_0x5f4655(0x1db)](_0x4aa856=>{const _0x585c3f=_0x5f4655,_0x49f09c=_0x4a0dc8[_0x585c3f(0x1b2)][_0x4aa856]||[];_0x49f09c[_0x585c3f(0x1db)](_0x34f958=>{const _0x1458da=_0x585c3f;_0x34f958[_0x1458da(0x1b0)]&&_0x4bcedc[_0x1458da(0x1ef)](_0x34f958[_0x1458da(0x1b0)]);});}),[][_0x5f4655(0x1f7)](_0x4bcedc,this[_0x5f4655(0x218)](_0x4a0dc8[_0x5f4655(0x1b2)]));}[a4_0x195e7e(0x23d)](_0x4c6719){const _0x3e0553=a4_0x195e7e,_0x4ff7f7=/^"(?<hook>.*)" hook:.*$/,_0xc01821=_0x4c6719['title'],_0x742c2f=_0xc01821['match'](_0x4ff7f7);if(_0x742c2f&&_0x742c2f[_0x3e0553(0x259)])return _0x742c2f[_0x3e0553(0x259)]['hook'][_0x3e0553(0x212)]()['replace']('\x20','_');return null;}[a4_0x195e7e(0x1c8)](_0x59d217){const _0x42e578=a4_0x195e7e,_0x1b5846={};_0x1b5846[_0x42e578(0x20b)]=function(_0x53b063,_0x4eac63){return _0x53b063===_0x4eac63;},_0x1b5846[_0x42e578(0x1d2)]='.git',_0x1b5846['jvonP']=_0x42e578(0x19d);const _0x6166d4=_0x1b5846,_0x12d05b=path[_0x42e578(0x25d)];if(_0x6166d4['fNval'](_0x59d217,null)||_0x6166d4[_0x42e578(0x20b)](_0x59d217,'')||_0x6166d4[_0x42e578(0x20b)](_0x59d217,_0x12d05b)||_0x6166d4[_0x42e578(0x20b)](_0x59d217,path[_0x42e578(0x280)](_0x59d217)))return null;try{return fs[_0x42e578(0x286)](path['join'](_0x59d217,_0x6166d4[_0x42e578(0x1d2)],_0x6166d4['jvonP'])),_0x59d217;}catch(_0x368381){const _0x2b9379=path[_0x42e578(0x280)](_0x59d217);return this[_0x42e578(0x1c8)](_0x2b9379);}}[a4_0x195e7e(0x1ca)](_0x3e6696){const _0x5e58af=a4_0x195e7e,_0x27383d={};_0x27383d[_0x5e58af(0x1e4)]=function(_0x17afff,_0xdcf4e1){return _0x17afff>_0xdcf4e1;};const _0x40d0ab=_0x27383d;if(_0x3e6696['file'])return _0x3e6696['file'];if(_0x3e6696[_0x5e58af(0x1c5)]){const _0x4e02b8=_0x3e6696[_0x5e58af(0x1c5)]['currentTest']?this[_0x5e58af(0x1ca)](_0x3e6696[_0x5e58af(0x1c5)][_0x5e58af(0x284)]):null;if(_0x4e02b8)return _0x4e02b8;}if(_0x3e6696['parent']){const _0x378544=this[_0x5e58af(0x1ca)](_0x3e6696[_0x5e58af(0x1b2)])||(_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1c5)]&&_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1c5)]['currentTest']?this[_0x5e58af(0x1ca)](_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1c5)]['currentTest']):null);if(_0x378544)return _0x378544;_0x3e6696[_0x5e58af(0x1b2)]['suites']&&_0x40d0ab[_0x5e58af(0x1e4)](_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1b5)][_0x5e58af(0x19c)],0x0)&&_0x3e6696[_0x5e58af(0x1b2)][_0x5e58af(0x1b5)][_0x5e58af(0x1db)](_0x1e053e=>{const _0x5c2f7a=_0x5e58af,_0x4e7742=_0x1e053e[_0x5c2f7a(0x1c5)]?this[_0x5c2f7a(0x1ca)](_0x1e053e[_0x5c2f7a(0x1c5)]):null;if(_0x4e7742)return _0x4e7742;});}return null;}[a4_0x195e7e(0x258)](_0xfd50ff){const _0x567272=a4_0x195e7e,_0x176d64={};_0x176d64[_0x567272(0x279)]=function(_0x524e56,_0x28f8a8){return _0x524e56!==_0x28f8a8;};const _0x1555b0=_0x176d64,_0x4382c5=[];if(_0xfd50ff&&_0xfd50ff[_0x567272(0x1b2)]){let _0x275e81=_0xfd50ff[_0x567272(0x1b2)];while(_0x275e81&&_0x1555b0[_0x567272(0x279)](_0x275e81[_0x567272(0x20a)],'')){_0x4382c5['push'](_0x275e81[_0x567272(0x20a)]),_0x275e81=_0x275e81[_0x567272(0x1b2)];}}return _0x4382c5;}[a4_0x195e7e(0x223)](_0x53db18,_0x591414,_0x62e81f=undefined){const _0x244b84=a4_0x195e7e,_0x563380={'yovJM':function(_0xc6d90c,_0x5c3058){return _0xc6d90c(_0x5c3058);},'QbDaH':function(_0x49c5b2){return _0x49c5b2();},'WIPzg':function(_0x2072d7,_0x388743){return _0x2072d7(_0x388743);},'OISzo':_0x244b84(0x28c),'zmEYB':_0x244b84(0x1a4),'WxZda':function(_0x347fdd,_0x46b9ec){return _0x347fdd!==_0x46b9ec;},'xBKDw':function(_0x63f95e,_0x2dcf10){return _0x63f95e!==_0x2dcf10;},'LUeGs':_0x244b84(0x23c),'FignD':_0x244b84(0x1d6),'txjpg':_0x244b84(0x28b),'sfcMc':_0x244b84(0x22c),'EsSxK':_0x244b84(0x22d),'sqLvo':_0x244b84(0x241),'UwsjE':function(_0x3a989a,_0x45616b){return _0x3a989a-_0x45616b;},'ZpIXC':function(_0x2a37c6,_0x450014,_0x1ee30b,_0x3f1e13,_0x899cca){return _0x2a37c6(_0x450014,_0x1ee30b,_0x3f1e13,_0x899cca);},'vzpWU':function(_0x38acb8,_0x261cd8){return _0x38acb8!==_0x261cd8;},'ipQyE':_0x244b84(0x272),'xjiNj':'meta','IXCND':'failure','odGaQ':'failure_backtrace','TbFhH':'backtrace','zItHY':_0x244b84(0x1eb),'Qwnnk':_0x244b84(0x26e),'nwmth':function(_0x29b89f,_0x3eea62){return _0x29b89f===_0x3eea62;},'BSIbN':_0x244b84(0x1a1),'LKrmI':_0x244b84(0x254)};if(!this[_0x244b84(0x27f)])return;try{if(_0x591414['fn']&&_0x591414['fn'][_0x244b84(0x1e9)]()['match'](/browserstack internal helper hook/))return;const _0x2949b0=_0x563380[_0x244b84(0x213)](parseEvent,_0x53db18);if(!_0x2949b0)return;if(_0x2949b0[_0x244b84(0x1a3)]){this[_0x244b84(0x284)]=_0x591414,this['currentHook']=null;if(_0x2949b0[_0x244b84(0x24a)]||_0x2949b0[_0x244b84(0x22d)]){_0x591414[_0x244b84(0x20d)]=new Date(),_0x591414['markedStatus']=![];if(!_0x591414[_0x244b84(0x1e1)])_0x591414[_0x244b84(0x1e1)]=_0x563380[_0x244b84(0x1de)](uuidv4);else _0x591414[_0x244b84(0x1ce)]&&(!_0x591414[_0x244b84(0x1fb)]&&(_0x591414[_0x244b84(0x1fb)]=_0x591414[_0x244b84(0x1e1)]),_0x591414[_0x244b84(0x1e1)]=_0x563380[_0x244b84(0x1de)](uuidv4));}}else{if(_0x2949b0[_0x244b84(0x225)]){this[_0x244b84(0x273)]=_0x591414;if(_0x2949b0[_0x244b84(0x24a)]){_0x591414[_0x244b84(0x20d)]=new Date(),_0x591414[_0x244b84(0x1ce)]=![];if(!_0x591414[_0x244b84(0x1b0)])_0x591414[_0x244b84(0x1b0)]=_0x563380[_0x244b84(0x1de)](uuidv4);else _0x591414[_0x244b84(0x1b0)]&&_0x591414['markedStatus']&&(_0x591414[_0x244b84(0x1b0)]=_0x563380[_0x244b84(0x1de)](uuidv4));}}}if(_0x2949b0[_0x244b84(0x1c7)]&&_0x591414[_0x244b84(0x1ce)])return;let _0x59b74c;try{_0x59b74c=this[_0x244b84(0x1ca)](_0x591414);}catch(_0x2cb707){logger[_0x244b84(0x283)](_0x244b84(0x1ac)+_0x2cb707),_0x59b74c=null;}const _0x3622aa=_0x563380['WIPzg'](require,_0x563380[_0x244b84(0x25f)]);let _0x14675a=[];_0x62e81f&&(_0x14675a=[_0x62e81f,_0x563380[_0x244b84(0x1f2)]]);const _0x5d92bb=_0x563380[_0x244b84(0x217)](_0x591414[_0x244b84(0x1f0)],undefined)?_0x3622aa[_0x244b84(0x285)](_0x591414[_0x244b84(0x1f0)][0x0]):_0x563380[_0x244b84(0x26c)](_0x62e81f,undefined)?_0x62e81f[_0x244b84(0x1e9)]():undefined,_0x6e120a=_0x59b74c?this[_0x244b84(0x1c8)](_0x59b74c):null,_0x1fbd21=_0x59b74c?this['_paths'][_0x244b84(0x1a0)](this[_0x244b84(0x1ca)](_0x591414)):_0x563380[_0x244b84(0x20c)];let _0x519094=_0x563380[_0x244b84(0x228)];const _0x444686=!_0x2949b0[_0x244b84(0x24a)]?new Date()[_0x244b84(0x1b7)]():null;if(_0x2949b0[_0x244b84(0x1c7)])_0x519094=_0x62e81f?_0x563380[_0x244b84(0x222)]:_0x563380[_0x244b84(0x25b)],_0x591414[_0x244b84(0x1ce)]=!![];else _0x2949b0['skipped']&&(_0x519094=_0x563380[_0x244b84(0x21b)],_0x591414[_0x244b84(0x1ce)]=!![]);const _0x41e3f4={'framework':this[_0x244b84(0x210)],'uuid':_0x591414['testAnalyticsId']||_0x591414['hookAnalyticsId'],'name':_0x591414[_0x244b84(0x20a)],'body':{'lang':_0x563380[_0x244b84(0x205)],'code':_0x591414['body'][_0x244b84(0x1e9)]()},'type':_0x591414['type'],'scope':_0x591414[_0x244b84(0x281)](),'scopes':this['getHierarchy'](_0x591414),'file_name':_0x1fbd21,'vc_filepath':_0x6e120a?path[_0x244b84(0x22b)](_0x6e120a,_0x59b74c):null,'location':_0x1fbd21,'result':_0x519094,'failure_reason':_0x5d92bb,'duration_in_ms':_0x591414['duration']||(_0x2949b0[_0x244b84(0x1c7)]||_0x2949b0['skipped'])?_0x563380['UwsjE'](Date['now'](),new Date(_0x591414[_0x244b84(0x20d)])[_0x244b84(0x1e0)]()):null,'started_at':new Date(_0x591414[_0x244b84(0x20d)])['toISOString'](),'finished_at':_0x444686,'failure':testOpsHelper['failureData'][_0x244b84(0x1c9)](null,_0x14675a),'failure_type':!_0x5d92bb?null:testOpsHelper['getFailureType'](_0x5d92bb),'retry_of':_0x591414['retryOf']||null,'tags':_0x591414[_0x244b84(0x1a7)]||[],'customRerunParam':{'rerun_name':_0x591414[_0x244b84(0x281)]()}};_0x563380[_0x244b84(0x1dd)](appendTesthubParams,_0x41e3f4,_0x53db18,_0x591414,FRAMEWORKS['CODECEPT']);if(_0x2949b0[_0x244b84(0x225)])[_0x41e3f4[_0x244b84(0x24d)],_0x41e3f4[_0x244b84(0x21e)]]=[this[_0x244b84(0x23d)](_0x591414),_0x591414[_0x244b84(0x1c5)][_0x244b84(0x1a3)]['title']],_0x2949b0[_0x244b84(0x1c7)]?_0x563380[_0x244b84(0x1d4)](_0x41e3f4[_0x244b84(0x1f1)],_0x563380[_0x244b84(0x222)])&&(_0x41e3f4[_0x244b84(0x1f1)]=_0x563380['sfcMc']):_0x41e3f4[_0x244b84(0x1d8)]={};else _0x2949b0['test']&&(this[_0x244b84(0x1ea)](_0x591414),_0x2949b0['skipped']&&this[_0x244b84(0x256)](_0x591414),(_0x2949b0[_0x244b84(0x1c7)]||_0x2949b0['skipped'])&&(_0x41e3f4[_0x244b84(0x1f5)]=this[_0x244b84(0x218)](_0x591414)));this[_0x244b84(0x1e7)]&&(_0x2949b0[_0x244b84(0x24a)]||_0x2949b0[_0x244b84(0x22d)])&&(_0x41e3f4[_0x563380[_0x244b84(0x1e2)]]=this[_0x244b84(0x1aa)](this['driver']));_0x2949b0[_0x244b84(0x1a3)]&&_0x2949b0[_0x244b84(0x1c7)]&&_0x591414[_0x244b84(0x1f6)]&&(_0x41e3f4[_0x563380[_0x244b84(0x230)]]={'feature':{'name':_0x591414[_0x244b84(0x1b2)][_0x244b84(0x248)]['name'],'path':_0x41e3f4[_0x244b84(0x27b)],'description':_0x591414[_0x244b84(0x1b2)][_0x244b84(0x271)]},'scenario':{'name':_0x591414['title']},'steps':_0x591414['bddSteps']});const _0x31a521=_0x41e3f4[_0x563380['IXCND']][0x0];_0x31a521&&(_0x41e3f4[_0x563380[_0x244b84(0x1b8)]]=_0x31a521[_0x563380[_0x244b84(0x208)]],_0x41e3f4[_0x563380['zItHY']]=_0x31a521[_0x563380[_0x244b84(0x261)]]);if(_0x591414[_0x244b84(0x1f6)])for(const _0x130865 of _0x591414[_0x244b84(0x1f6)]){!_0x130865[_0x244b84(0x267)]&&(_0x130865['finished_at']=new Date()['toISOString'](),_0x563380[_0x244b84(0x249)](_0x130865['result'],_0x563380[_0x244b84(0x228)])&&(_0x31a521?(_0x130865[_0x244b84(0x1f1)]=_0x563380[_0x244b84(0x222)],_0x130865[_0x244b84(0x253)]=_0x31a521[_0x563380[_0x244b84(0x208)]][0x0]):_0x130865['result']=_0x563380['sfcMc']));}const _0x526f99={};_0x526f99[_0x244b84(0x195)]=_0x2949b0[_0x244b84(0x22d)]?TEST_EVENTS[_0x244b84(0x1d1)]:_0x53db18;const _0x4c4f66=_0x526f99;return _0x2949b0[_0x244b84(0x225)]?_0x4c4f66[_0x563380[_0x244b84(0x270)]]=_0x41e3f4:_0x4c4f66[_0x563380['LKrmI']]=_0x41e3f4,_0x4c4f66;}catch(_0x185421){logger[_0x244b84(0x283)](_0x244b84(0x240)+_0x53db18+_0x244b84(0x1c4)+_0x185421);}}async[a4_0x195e7e(0x20e)](_0x2a416f,_0x6d9525){const _0x1433df=a4_0x195e7e;if(!this[_0x1433df(0x27f)]||!_0x6d9525||!_0x2a416f)return![];try{return await SessionHandler[_0x1433df(0x1bb)](_0x6d9525);}catch(_0x4e7982){logger[_0x1433df(0x283)](_0x1433df(0x21a)+_0x2a416f+_0x1433df(0x1c4)+_0x4e7982);}}[a4_0x195e7e(0x25a)](_0x1e9a0f){const _0x10d52b=a4_0x195e7e,_0x2e6f44={};_0x2e6f44[_0x10d52b(0x27a)]='pending';const _0x3fd588=_0x2e6f44;return{'id':_0x1e9a0f[_0x10d52b(0x1bc)],'text':_0x1e9a0f[_0x10d52b(0x22e)],'keyword':_0x1e9a0f[_0x10d52b(0x1ab)],'started_at':_0x1e9a0f[_0x10d52b(0x20d)][_0x10d52b(0x1b7)](),'result':_0x3fd588[_0x10d52b(0x27a)]};}[a4_0x195e7e(0x19e)](_0x52fe64){const _0x5d24aa=a4_0x195e7e,_0xa7b9e0={'ezUTj':function(_0x59a4bf){return _0x59a4bf();}};!this['currentTest'][_0x5d24aa(0x1f6)]&&(this[_0x5d24aa(0x284)]['bddSteps']=[]),!_0x52fe64['stepAnalyticsId']&&(_0x52fe64[_0x5d24aa(0x1bc)]=_0xa7b9e0[_0x5d24aa(0x1c0)](uuidv4),_0x52fe64[_0x5d24aa(0x20d)]=new Date(),this[_0x5d24aa(0x284)][_0x5d24aa(0x1f6)][_0x5d24aa(0x1ef)](this[_0x5d24aa(0x25a)](_0x52fe64)));}[a4_0x195e7e(0x20f)](_0x551c9d){const _0x14242d=a4_0x195e7e,_0x45b9e1={'dytqp':function(_0x15b60e,_0x5103d4){return _0x15b60e(_0x5103d4);},'hlNvE':'success','STsro':_0x14242d(0x1d6),'xpyEu':'passed','UyRTQ':function(_0x5f4297,_0x4d8136){return _0x5f4297-_0x4d8136;}};let _0x356ae3=this[_0x14242d(0x284)][_0x14242d(0x1f6)][_0x14242d(0x239)](_0x1fd39b=>_0x1fd39b['id']===_0x551c9d[_0x14242d(0x1bc)]);_0x45b9e1['dytqp'](isUndefined,_0x356ae3)&&(_0x356ae3=this[_0x14242d(0x25a)](_0x551c9d)),_0x356ae3[_0x14242d(0x1f1)]=[_0x45b9e1[_0x14242d(0x26f)],_0x45b9e1[_0x14242d(0x1dc)]]['includes'](_0x551c9d['status'])?_0x45b9e1['xpyEu']:_0x551c9d[_0x14242d(0x1d3)],_0x356ae3[_0x14242d(0x267)]=new Date()[_0x14242d(0x1b7)](),_0x356ae3['duration']=_0x45b9e1['UyRTQ'](Date[_0x14242d(0x252)](),_0x551c9d[_0x14242d(0x20d)][_0x14242d(0x1e0)]()),_0x356ae3['failure']=_0x551c9d[_0x14242d(0x1a4)]?_0x551c9d[_0x14242d(0x1a4)][_0x14242d(0x23b)]:null;}}const a4_0x5760cc={};a4_0x5760cc[a4_0x195e7e(0x1df)]=O11yHelper,a4_0x5760cc['STATE_PASSED']=STATE_PASSED,a4_0x5760cc[a4_0x195e7e(0x257)]=STATE_FAILED,a4_0x5760cc[a4_0x195e7e(0x238)]=TEST_EVENTS,module[a4_0x195e7e(0x264)]=a4_0x5760cc;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a5_0xa70bfa=a5_0x5037;(function(_0x36081a,_0x2ac6d0){const _0x384983=a5_0x5037,_0x130e6a=_0x36081a();while(!![]){try{const _0x200c62=-parseInt(_0x384983(0x1a9))/0x1*(parseInt(_0x384983(0x1a7))/0x2)+-parseInt(_0x384983(0x158))/0x3*(-parseInt(_0x384983(0x1af))/0x4)+parseInt(_0x384983(0x193))/0x5+parseInt(_0x384983(0x19d))/0x6+-parseInt(_0x384983(0x163))/0x7*(-parseInt(_0x384983(0x152))/0x8)+parseInt(_0x384983(0x17a))/0x9*(parseInt(_0x384983(0x1b8))/0xa)+parseInt(_0x384983(0x168))/0xb*(-parseInt(_0x384983(0x16b))/0xc);if(_0x200c62===_0x2ac6d0)break;else _0x130e6a['push'](_0x130e6a['shift']());}catch(_0x2b5f45){_0x130e6a['push'](_0x130e6a['shift']());}}}(a5_0x55d2,0xf22ac));function a5_0x5037(_0x28a45c,_0x779fac){const _0x55d25a=a5_0x55d2();return a5_0x5037=function(_0x503771,_0x3954a5){_0x503771=_0x503771-0x146;let _0x3e23f1=_0x55d25a[_0x503771];return _0x3e23f1;},a5_0x5037(_0x28a45c,_0x779fac);}const fs=require('fs'),path=require('path'),util=require(a5_0xa70bfa(0x173)),logger=require(a5_0xa70bfa(0x175))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a5_0xa70bfa(0x162)),utilities=require(a5_0xa70bfa(0x191)),constants=require(a5_0xa70bfa(0x184)),{parallelCucumberRun}=require(a5_0xa70bfa(0x14b)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0xa70bfa(0x15b)),PerformanceTester=require(a5_0xa70bfa(0x180)),PerformanceEvents=require(a5_0xa70bfa(0x1b3))[a5_0xa70bfa(0x181)];function a5_0x55d2(){const _0x1b714e=['stepsUndefined','\x20skipped','util','julLo','../../helpers/logger','splice','handleApp','FzPBz','green','675oiqeNH','tmp','skipSessionStatus','turboScaleUrl','cucumber-js','\x20failed','../../helpers/performance/performance-tester','EVENTS','rmdirSync','format','../utils/constants','config','\x20scenarios','exports','UrwBw','getTCGConfigFilePaths','launchBuild','testObservability','lAIUg','parseFormatters','XCthX','AdJyY','stepsAmbiguous','../../helpers/utilities','losEk','4939380sGVnyD','LlIWg','bold','SDK_CLEANUP','WWgZY','processSuccess','testContextOptions','debug','BROWSERSTACK_TEST_OBSERVABILITY_YML','useW3C','3943410TjiDTh','finally','Removing\x20tmp\x20directory\x20created\x20for\x20reports','logLevel','getPlatformName','push','log','errorMessage','\x20steps','start','1108IpbTCz','initialize','892XtzajU','scenarios','bgWhite','FRAMEWORKS','true','getHubUrl','16yQteIB','stepsUnknown','cwd','exitCode','../../helpers/performance/constants','\x20passed','then','FqrfX','getUserWorkerCount','7970fANoIv','AJiEn','prepareCapabilities','setupTCGAuth','removeDir','\x20pending','../test-runner','stepsPassed','yellow','join','CcdZI','steps','stepsSkipped','12681624gbnvFz','createDir','IuYAQ','kXUNo','length','getErrorMessageFromResults','527064WLtiZW','accessibilityOptions','proxySettings','chalk','env','AmtBA','CUCUMBER','****\x20RESULTS\x20****','skipSessionName','red','../../helpers/helper','7XPiafB','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','PyAAp','BNxLt','argv','2506757IFjGKC','mergeOutputFiles','YoAXH','132MfyIGX','stepsPending','stepsFailed','\x20ambiguous','framework','parallelsPerPlatform'];a5_0x55d2=function(){return _0x1b714e;};return a5_0x55d2();}function printCucumberStats(_0x58347e){const _0x4fd260=a5_0xa70bfa,_0x440dfb={};_0x440dfb[_0x4fd260(0x178)]=function(_0x5f3b50,_0x5b4009){return _0x5f3b50>_0x5b4009;},_0x440dfb[_0x4fd260(0x18e)]=function(_0x39e2d6,_0x577820){return _0x39e2d6-_0x577820;},_0x440dfb[_0x4fd260(0x155)]=function(_0x52df5,_0xdc1327){return _0x52df5>_0xdc1327;},_0x440dfb['YoAXH']=function(_0x292fb0,_0x2c2d4d){return _0x292fb0>_0x2c2d4d;},_0x440dfb[_0x4fd260(0x14f)]=function(_0x454bb5,_0x5c4e6f){return _0x454bb5+_0x5c4e6f;},_0x440dfb['IuYAQ']=function(_0x3c2c61,_0x43f1e9){return _0x3c2c61+_0x43f1e9;},_0x440dfb['PyAAp']=function(_0x441c33,_0x3094d9){return _0x441c33+_0x3094d9;},_0x440dfb[_0x4fd260(0x192)]=function(_0x5aed36,_0x5b389a){return _0x5aed36+_0x5b389a;},_0x440dfb[_0x4fd260(0x146)]=function(_0x4e74c2,_0x2b6121){return _0x4e74c2===_0x2b6121;},_0x440dfb['wrkMB']=function(_0x36792a,_0x301bf0){return _0x36792a===_0x301bf0;},_0x440dfb[_0x4fd260(0x194)]=_0x4fd260(0x15f);const _0x341c60=_0x440dfb;let _0x374aa2=0x0;if(_0x341c60['wrkMB'](_0x58347e[_0x4fd260(0x156)],0x0))return _0x374aa2;return console[_0x4fd260(0x1a3)](chalk['bold'][_0x4fd260(0x1ab)](_0x341c60[_0x4fd260(0x194)])),_0x58347e['forEach'](_0x562823=>{const _0x23e263=_0x4fd260,_0x10220f=_0x562823[0x0],_0x35ca57=_0x562823[0x1];console[_0x23e263(0x1a3)]('\x0a'+chalk[_0x23e263(0x195)][_0x23e263(0x14d)](''+helper[_0x23e263(0x1a1)](_0x10220f)));const _0x19e649=_0x35ca57[_0x23e263(0x1aa)],_0x11e149=_0x35ca57[_0x23e263(0x150)],_0x48c423=_0x35ca57['scenariosFailed'],_0x1af310=_0x35ca57[_0x23e263(0x16d)],_0x8bee02=_0x35ca57[_0x23e263(0x14c)],_0x3bdbba=_0x35ca57[_0x23e263(0x151)],_0x5ba74b=_0x35ca57[_0x23e263(0x16c)],_0x5547f8=_0x35ca57[_0x23e263(0x171)],_0x7778ed=_0x35ca57[_0x23e263(0x1b0)],_0x20c893=_0x35ca57[_0x23e263(0x190)],_0xfd977=_0x35ca57[_0x23e263(0x198)];let _0x51390a=_0x19e649+_0x23e263(0x186);const _0x4cc97d=_0x341c60['FzPBz'](_0x341c60[_0x23e263(0x18e)](_0x19e649,_0x48c423),0x0)?_0x341c60['XCthX'](_0x19e649,_0x48c423):0x0;if(_0x341c60[_0x23e263(0x155)](_0x48c423,0x0)&&_0x341c60[_0x23e263(0x16a)](_0x4cc97d,0x0))_0x51390a+='\x20('+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x48c423+_0x23e263(0x17f))+',\x20'+chalk[_0x23e263(0x195)]['green'](_0x4cc97d+_0x23e263(0x1b4))+')';else(_0x341c60[_0x23e263(0x16a)](_0x48c423,0x0)||_0x341c60[_0x23e263(0x16a)](_0x4cc97d,0x0))&&(_0x51390a+=_0x341c60[_0x23e263(0x178)](_0x48c423,0x0)?'\x20('+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x48c423+_0x23e263(0x17f))+')':'\x20('+chalk[_0x23e263(0x195)][_0x23e263(0x179)](_0x4cc97d+_0x23e263(0x1b4))+')');const _0x539ee3=_0x11e149+_0x23e263(0x1a5),_0x1dcf4e=[];_0x341c60[_0x23e263(0x16a)](_0x20c893,0x0)&&_0x1dcf4e['push'](''+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x20c893+_0x23e263(0x16e)));_0x341c60['kXUNo'](_0x1af310,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)][_0x23e263(0x161)](_0x1af310+_0x23e263(0x17f)));_0x341c60['kXUNo'](_0x8bee02,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)][_0x23e263(0x179)](_0x8bee02+_0x23e263(0x1b4)));_0x341c60['kXUNo'](_0x5ba74b,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)]['yellow'](_0x5ba74b+_0x23e263(0x14a)));_0x341c60[_0x23e263(0x155)](_0x3bdbba,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)]['cyan'](_0x3bdbba+_0x23e263(0x172)));_0x341c60['FzPBz'](_0x5547f8,0x0)&&_0x1dcf4e[_0x23e263(0x1a2)](''+chalk[_0x23e263(0x195)][_0x23e263(0x14d)](_0x5547f8+'\x20undefined'));_0x341c60[_0x23e263(0x16a)](_0x7778ed,0x0)&&_0x1dcf4e['push'](''+chalk['bold'][_0x23e263(0x14d)](_0x7778ed+_0x23e263(0x172)));const _0x816825=_0x341c60[_0x23e263(0x14f)](_0x341c60[_0x23e263(0x154)](_0x341c60[_0x23e263(0x14f)](_0x539ee3,'('),_0x1dcf4e['join'](',\x20')),')');console[_0x23e263(0x1a3)](_0x341c60[_0x23e263(0x154)](_0x341c60[_0x23e263(0x165)](_0x341c60[_0x23e263(0x192)](_0x341c60[_0x23e263(0x192)]('\x0a',_0x51390a),'\x0a'),_0x816825),'\x0a')),_0x341c60[_0x23e263(0x146)](_0xfd977,![])&&(_0x374aa2=0x1);}),_0x374aa2;}async function run(_0x154749,_0x3d3927){const _0x4089fe=a5_0xa70bfa,_0x47d73c={'dtHvP':function(_0x4cc7bf,_0x5c38dc){return _0x4cc7bf(_0x5c38dc);},'AdJyY':function(_0x3c6489,_0x14ee33){return _0x3c6489>_0x14ee33;},'FqrfX':'Generating\x20consolidated\x20report...','lAIUg':_0x4089fe(0x19f),'OuElX':'cucumber','WWgZY':'error\x20removing\x20tcg\x20config\x20file','julLo':_0x4089fe(0x17e),'AmtBA':_0x4089fe(0x17b),'BNxLt':function(_0x1266fe,_0x4623c6){return _0x1266fe>_0x4623c6;},'jpUpq':function(_0x4e617d,_0x294e6a){return _0x4e617d-_0x294e6a;},'GIgpf':function(_0x2225d6,_0x815457){return _0x2225d6>=_0x815457;},'uyqBL':function(_0x306b45,_0x13bd82){return _0x306b45!=_0x13bd82;},'UrwBw':_0x4089fe(0x1ad),'MhEVM':function(_0x230c4e,_0x343e29,_0x1be9b5,_0x5dfa80,_0x46eb01,_0x4ebdb3){return _0x230c4e(_0x343e29,_0x1be9b5,_0x5dfa80,_0x46eb01,_0x4ebdb3);}},_0x20bbf0=new BrowserStackSetup(_0x154749,_0x47d73c[_0x4089fe(0x174)]);await _0x20bbf0[_0x4089fe(0x1a8)](),helper['setUserConfigPath'](_0x20bbf0[_0x4089fe(0x16f)],_0x154749);!helper['isBrowserstackInfra']()&&await _0x20bbf0[_0x4089fe(0x148)]();await helper[_0x4089fe(0x177)](_0x20bbf0[_0x4089fe(0x185)]);const _0x217ee0=helper[_0x4089fe(0x19c)](_0x20bbf0['config']),_0x1aadbd=helper[_0x4089fe(0x147)](_0x20bbf0[_0x4089fe(0x185)],_0x217ee0,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x20bbf0['config'])return;const _0x5288f0=_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x170)]||helper[_0x4089fe(0x1b7)](_0x154749,_0x3d3927,_0x20bbf0['config'],constants[_0x4089fe(0x1ac)][_0x4089fe(0x15e)])||0x1,_0x48538c={'server':helper[_0x4089fe(0x1ae)](_0x20bbf0[_0x4089fe(0x185)]),'proxySettings':_0x20bbf0['config'][_0x4089fe(0x15a)],'maxWorkers':_0x5288f0,'browserStackLogLevel':_0x20bbf0['config'][_0x4089fe(0x1a0)],'skipSessionName':_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x199)][_0x4089fe(0x160)],'skipSessionStatus':_0x20bbf0['config'][_0x4089fe(0x199)][_0x4089fe(0x17c)],'turboScaleUrl':_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x17d)]},_0x560939=process[_0x4089fe(0x167)],[_0x3ebafd,_0x1b6cf7]=helper[_0x4089fe(0x18d)](_0x560939),_0x93e08d=path[_0x4089fe(0x14e)](process[_0x4089fe(0x1b1)](),_0x47d73c[_0x4089fe(0x15d)]);if(_0x47d73c[_0x4089fe(0x166)](_0x1b6cf7[_0x4089fe(0x156)],0x0)){helper[_0x4089fe(0x153)](_0x93e08d);for(let _0x407e60=_0x47d73c['jpUpq'](_0x3ebafd[_0x4089fe(0x156)],0x1);_0x47d73c['GIgpf'](_0x407e60,0x0);_0x407e60--){_0x560939[_0x4089fe(0x176)](_0x3ebafd[_0x407e60],0x2);}}!helper['isUndefined'](_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x159)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x20bbf0['config'][_0x4089fe(0x159)]));_0x47d73c['uyqBL'](_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x18b)],null)?process[_0x4089fe(0x15c)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x20bbf0[_0x4089fe(0x185)][_0x4089fe(0x18b)]:process['env'][_0x4089fe(0x19b)]=_0x47d73c[_0x4089fe(0x188)];const _0x2ed2ff=await TestHubHandler[_0x4089fe(0x18a)](constants[_0x4089fe(0x1ac)]['CUCUMBER'],_0x20bbf0);PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x380df6;_0x47d73c['MhEVM'](parallelCucumberRun,_0x1aadbd,_0x48538c,_0x20bbf0[_0x4089fe(0x185)],_0x560939,_0x1b6cf7)[_0x4089fe(0x1b5)](async _0x5adcc8=>{const _0x503121=_0x4089fe;PerformanceTester[_0x503121(0x1a6)](PerformanceEvents[_0x503121(0x196)]),_0x380df6=_0x5adcc8;const _0x38b139=_0x47d73c['dtHvP'](printCucumberStats,_0x5adcc8);process[_0x503121(0x1b2)]=_0x38b139,_0x47d73c[_0x503121(0x18f)](_0x1b6cf7[_0x503121(0x156)],0x0)&&(logger['debug'](_0x47d73c[_0x503121(0x1b6)]),helper[_0x503121(0x169)](_0x93e08d,_0x1b6cf7),logger['debug'](_0x47d73c[_0x503121(0x18c)]),helper[_0x503121(0x149)](_0x93e08d));})[_0x4089fe(0x19e)](async()=>{const _0x29a1a0=_0x4089fe;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x20bbf0[_0x29a1a0(0x1a4)]=helper[_0x29a1a0(0x157)](_0x380df6,_0x47d73c['OuElX']),testOpsHelper['printBuildLink']();try{await TestHubHandler['stop']();}catch(_0x270988){logger[_0x29a1a0(0x19a)](_0x29a1a0(0x164)+util[_0x29a1a0(0x183)](_0x270988));}try{const {browserstackFolderPath:_0xd28280,tcgConfigPath:_0x42094f}=helper[_0x29a1a0(0x189)]();fs['unlinkSync'](_0x42094f),fs[_0x29a1a0(0x182)](_0xd28280);}catch(_0x1912de){logger[_0x29a1a0(0x19a)](_0x47d73c[_0x29a1a0(0x197)],_0x1912de);}await utilities['finalExecution'](_0x20bbf0);});}module[a5_0xa70bfa(0x187)]=run;
2
+ 'use strict';const a5_0x2ad0d1=a5_0x1f75;function a5_0x1f75(_0x355546,_0x3d343e){const _0x2a4c3c=a5_0x2a4c();return a5_0x1f75=function(_0x1f758c,_0x10e0b9){_0x1f758c=_0x1f758c-0x8b;let _0x2aab29=_0x2a4c3c[_0x1f758c];return _0x2aab29;},a5_0x1f75(_0x355546,_0x3d343e);}(function(_0x50820c,_0x88f321){const _0x348b48=a5_0x1f75,_0x47f857=_0x50820c();while(!![]){try{const _0x5e7e58=-parseInt(_0x348b48(0xf0))/0x1*(-parseInt(_0x348b48(0xe5))/0x2)+parseInt(_0x348b48(0xf4))/0x3+parseInt(_0x348b48(0xc1))/0x4*(parseInt(_0x348b48(0x9e))/0x5)+parseInt(_0x348b48(0xc8))/0x6+parseInt(_0x348b48(0xd5))/0x7+-parseInt(_0x348b48(0xb6))/0x8*(-parseInt(_0x348b48(0xd9))/0x9)+parseInt(_0x348b48(0x99))/0xa*(-parseInt(_0x348b48(0x93))/0xb);if(_0x5e7e58===_0x88f321)break;else _0x47f857['push'](_0x47f857['shift']());}catch(_0x466f06){_0x47f857['push'](_0x47f857['shift']());}}}(a5_0x2a4c,0xe641e));function a5_0x2a4c(){const _0x58c03a=['tmp','unlinkSync','finalExecution','../../helpers/logger','GuzCe','setupTCGAuth','40wGKCxE','splice','****\x20RESULTS\x20****','scenariosFailed','stepsPending','testContextOptions','bold','useW3C','isUndefined','nDBNO','elsgY','4FtPVQu','forEach','prepareCapabilities','error\x20removing\x20tcg\x20config\x20file','\x20undefined','finally','yellow','10416654nMsvqy','getErrorMessageFromResults','\x20skipped','start','env','Removing\x20tmp\x20directory\x20created\x20for\x20reports','../../helpers/helper','OTySL','length','\x20failed','skipSessionStatus','framework','launchBuild','6218394MDfUOa','SDK_CLEANUP','turboScaleUrl','util','2802879sEGRLM','setUserConfigPath','scenarios','gGZZh','CUCUMBER','../../helpers/BrowserStackSetup','../../helpers/testhub/testhubHandler','clYQm','exports','green','CmdAT','push','2RfxHki','stepsUndefined','Generating\x20consolidated\x20report...','logLevel','accessibilityOptions','log','format','true','skipSessionName','join','\x20passed','720319aejRWW','getTCGConfigFilePaths','zptxg','rFsEh','3867705LUHuDm','getUserWorkerCount','mergeOutputFiles','removeDir','../utils/constants','UhUMh','dLguR','createDir','FRAMEWORKS','FFqtk','cWWLB','stepsFailed','cwd','stop','cucumber','getPlatformName','../../helpers/performance/performance-tester','EVENTS','end','PJDNm','path','config','\x20steps','121vzQvJA','bgWhite','TLxPe','parallelsPerPlatform','../../helpers/utilities','vpdfv','5036690NjDVbW','printBuildLink','argv','BROWSERSTACK_TEST_OBSERVABILITY_YML','getHubUrl','1461665ZTdvaE','exitCode','red','proxySettings','YFwQx','wmXcW','SDK_SETUP','testObservability','winstonLogger','sITkU','hGCXK','eAVLq','BPrzd','cucumber-js','pFUMb','kDnvy','stringify','rmdirSync'];a5_0x2a4c=function(){return _0x58c03a;};return a5_0x2a4c();}const fs=require('fs'),path=require(a5_0x2ad0d1(0x90)),util=require(a5_0x2ad0d1(0xd8)),logger=require(a5_0x2ad0d1(0xb3))[a5_0x2ad0d1(0xa6)],{default:BrowserStackSetup}=require(a5_0x2ad0d1(0xde)),helper=require(a5_0x2ad0d1(0xce)),utilities=require(a5_0x2ad0d1(0x97)),constants=require(a5_0x2ad0d1(0xf8)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x2ad0d1(0xdf)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require(a5_0x2ad0d1(0x8c)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x2ad0d1(0x8d)];function printCucumberStats(_0x494de6){const _0x52a21a=a5_0x2ad0d1,_0x3c620d={};_0x3c620d[_0x52a21a(0xa2)]=function(_0x14011e,_0x183784){return _0x14011e>_0x183784;},_0x3c620d[_0x52a21a(0xe3)]=function(_0x26597f,_0x31d301){return _0x26597f-_0x31d301;},_0x3c620d[_0x52a21a(0xa7)]=function(_0x50777b,_0x51c188){return _0x50777b-_0x51c188;},_0x3c620d[_0x52a21a(0xaa)]=function(_0x39ac0a,_0x1f2998){return _0x39ac0a>_0x1f2998;},_0x3c620d[_0x52a21a(0xc0)]=function(_0x6b6cd4,_0x2fefcc){return _0x6b6cd4>_0x2fefcc;},_0x3c620d[_0x52a21a(0x8f)]=function(_0x441e13,_0x5b3ad7){return _0x441e13>_0x5b3ad7;},_0x3c620d[_0x52a21a(0xa8)]=function(_0x17f35c,_0x48fb70){return _0x17f35c>_0x48fb70;},_0x3c620d[_0x52a21a(0xe0)]=function(_0x2b414d,_0x5bd965){return _0x2b414d>_0x5bd965;},_0x3c620d[_0x52a21a(0xa9)]=function(_0x3dce98,_0x203cd3){return _0x3dce98>_0x203cd3;},_0x3c620d[_0x52a21a(0xf3)]=function(_0x2015ed,_0x3eeab7){return _0x2015ed+_0x3eeab7;},_0x3c620d[_0x52a21a(0xf2)]=function(_0x3fe489,_0x8532a2){return _0x3fe489+_0x8532a2;},_0x3c620d[_0x52a21a(0xfa)]=function(_0x10aca6,_0x11c65){return _0x10aca6===_0x11c65;},_0x3c620d[_0x52a21a(0xbf)]=_0x52a21a(0xb8);const _0x3fbc73=_0x3c620d;let _0xa81f47=0x0;if(_0x3fbc73[_0x52a21a(0xfa)](_0x494de6[_0x52a21a(0xd0)],0x0))return _0xa81f47;return console[_0x52a21a(0xea)](chalk[_0x52a21a(0xbc)][_0x52a21a(0x94)](_0x3fbc73['nDBNO'])),_0x494de6[_0x52a21a(0xc2)](_0x3c74cf=>{const _0x3b2510=_0x52a21a,_0x2f118a=_0x3c74cf[0x0],_0x473785=_0x3c74cf[0x1];console[_0x3b2510(0xea)]('\x0a'+chalk[_0x3b2510(0xbc)]['yellow'](''+helper[_0x3b2510(0x8b)](_0x2f118a)));const _0xbf2aec=_0x473785[_0x3b2510(0xdb)],_0x16ce9a=_0x473785['steps'],_0x43ab54=_0x473785[_0x3b2510(0xb9)],_0x4da9b8=_0x473785[_0x3b2510(0xff)],_0x1115a3=_0x473785['stepsPassed'],_0xb2189f=_0x473785['stepsSkipped'],_0x22024d=_0x473785[_0x3b2510(0xba)],_0x9316e9=_0x473785[_0x3b2510(0xe6)],_0x23ad67=_0x473785['stepsUnknown'],_0x315b1a=_0x473785['stepsAmbiguous'],_0x3bb491=_0x473785['processSuccess'];let _0x5477a9=_0xbf2aec+'\x20scenarios';const _0x5a3a3b=_0x3fbc73[_0x3b2510(0xa2)](_0x3fbc73[_0x3b2510(0xe3)](_0xbf2aec,_0x43ab54),0x0)?_0x3fbc73[_0x3b2510(0xa7)](_0xbf2aec,_0x43ab54):0x0;if(_0x3fbc73[_0x3b2510(0xaa)](_0x43ab54,0x0)&&_0x3fbc73[_0x3b2510(0xc0)](_0x5a3a3b,0x0))_0x5477a9+='\x20('+chalk['bold'][_0x3b2510(0xa0)](_0x43ab54+_0x3b2510(0xd1))+',\x20'+chalk[_0x3b2510(0xbc)][_0x3b2510(0xe2)](_0x5a3a3b+'\x20passed')+')';else(_0x3fbc73[_0x3b2510(0xa2)](_0x43ab54,0x0)||_0x3fbc73[_0x3b2510(0x8f)](_0x5a3a3b,0x0))&&(_0x5477a9+=_0x3fbc73[_0x3b2510(0xa2)](_0x43ab54,0x0)?'\x20('+chalk[_0x3b2510(0xbc)][_0x3b2510(0xa0)](_0x43ab54+_0x3b2510(0xd1))+')':'\x20('+chalk[_0x3b2510(0xbc)]['green'](_0x5a3a3b+_0x3b2510(0xef))+')');const _0x2763d3=_0x16ce9a+_0x3b2510(0x92),_0x2fd9f1=[];_0x3fbc73[_0x3b2510(0xa8)](_0x315b1a,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xa0)](_0x315b1a+'\x20ambiguous'));_0x3fbc73[_0x3b2510(0xc0)](_0x4da9b8,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)]['red'](_0x4da9b8+'\x20failed'));_0x3fbc73[_0x3b2510(0xa2)](_0x1115a3,0x0)&&_0x2fd9f1['push'](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xe2)](_0x1115a3+_0x3b2510(0xef)));_0x3fbc73[_0x3b2510(0xe0)](_0x22024d,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xc7)](_0x22024d+'\x20pending'));_0x3fbc73[_0x3b2510(0xa9)](_0xb2189f,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)]['cyan'](_0xb2189f+_0x3b2510(0xca)));_0x3fbc73[_0x3b2510(0xc0)](_0x9316e9,0x0)&&_0x2fd9f1[_0x3b2510(0xe4)](''+chalk[_0x3b2510(0xbc)][_0x3b2510(0xc7)](_0x9316e9+_0x3b2510(0xc5)));_0x3fbc73[_0x3b2510(0xa8)](_0x23ad67,0x0)&&_0x2fd9f1['push'](''+chalk[_0x3b2510(0xbc)]['yellow'](_0x23ad67+_0x3b2510(0xca)));const _0x247d6e=_0x3fbc73[_0x3b2510(0xf3)](_0x3fbc73[_0x3b2510(0xf3)](_0x3fbc73[_0x3b2510(0xf2)](_0x2763d3,'('),_0x2fd9f1[_0x3b2510(0xee)](',\x20')),')');console[_0x3b2510(0xea)](_0x3fbc73['zptxg'](_0x3fbc73[_0x3b2510(0xf2)](_0x3fbc73[_0x3b2510(0xf3)](_0x3fbc73[_0x3b2510(0xf2)]('\x0a',_0x5477a9),'\x0a'),_0x247d6e),'\x0a')),_0x3fbc73[_0x3b2510(0xfa)](_0x3bb491,![])&&(_0xa81f47=0x1);}),_0xa81f47;}async function run(_0x274def,_0x4989ed){const _0x464c14=a5_0x2ad0d1,_0xbee0f0={'kRLPO':function(_0x157571,_0x3367d9){return _0x157571(_0x3367d9);},'gGZZh':function(_0x3b2621,_0x368e12){return _0x3b2621>_0x368e12;},'kDnvy':_0x464c14(0xe7),'OTySL':_0x464c14(0xcd),'UhUMh':_0x464c14(0x102),'pFUMb':_0x464c14(0xc4),'TLxPe':_0x464c14(0xab),'vpdfv':_0x464c14(0xb0),'ZFmqQ':function(_0xdc28b6,_0x2e059a){return _0xdc28b6-_0x2e059a;},'cWWLB':function(_0x46b21d,_0x14c88b){return _0x46b21d>=_0x14c88b;},'wmXcW':function(_0x19ba74,_0x1790e7){return _0x19ba74!=_0x1790e7;},'GuzCe':_0x464c14(0xec),'FFqtk':function(_0x4945bd,_0x16c4c1,_0x54e28d,_0x36bb5e,_0x55ecb0,_0x495a44){return _0x4945bd(_0x16c4c1,_0x54e28d,_0x36bb5e,_0x55ecb0,_0x495a44);}},_0x48ff51=new BrowserStackSetup(_0x274def,_0xbee0f0[_0x464c14(0x95)]);await _0x48ff51['initialize'](),helper[_0x464c14(0xda)](_0x48ff51[_0x464c14(0xd3)],_0x274def);!helper['isBrowserstackInfra']()&&await _0x48ff51[_0x464c14(0xb5)]();await helper['handleApp'](_0x48ff51['config']);const _0x588993=helper[_0x464c14(0xbd)](_0x48ff51['config']),_0x3c7fec=helper[_0x464c14(0xc3)](_0x48ff51[_0x464c14(0x91)],_0x588993,constants[_0x464c14(0xfc)][_0x464c14(0xdd)]);if(!_0x48ff51['config'])return;const _0x2061b8=_0x48ff51[_0x464c14(0x91)][_0x464c14(0x96)]||helper[_0x464c14(0xf5)](_0x274def,_0x4989ed,_0x48ff51[_0x464c14(0x91)],constants[_0x464c14(0xfc)][_0x464c14(0xdd)])||0x1,_0xa5d52e={'server':helper[_0x464c14(0x9d)](_0x48ff51['config']),'proxySettings':_0x48ff51[_0x464c14(0x91)][_0x464c14(0xa1)],'maxWorkers':_0x2061b8,'browserStackLogLevel':_0x48ff51[_0x464c14(0x91)][_0x464c14(0xe8)],'skipSessionName':_0x48ff51['config'][_0x464c14(0xbb)][_0x464c14(0xed)],'skipSessionStatus':_0x48ff51[_0x464c14(0x91)]['testContextOptions'][_0x464c14(0xd2)],'turboScaleUrl':_0x48ff51[_0x464c14(0x91)][_0x464c14(0xd7)]},_0x183a42=process[_0x464c14(0x9b)],[_0x111d06,_0x31f40c]=helper['parseFormatters'](_0x183a42),_0x22d984=path[_0x464c14(0xee)](process[_0x464c14(0x100)](),_0xbee0f0[_0x464c14(0x98)]);if(_0xbee0f0['gGZZh'](_0x31f40c[_0x464c14(0xd0)],0x0)){helper[_0x464c14(0xfb)](_0x22d984);for(let _0x5d6ead=_0xbee0f0['ZFmqQ'](_0x111d06['length'],0x1);_0xbee0f0[_0x464c14(0xfe)](_0x5d6ead,0x0);_0x5d6ead--){_0x183a42[_0x464c14(0xb7)](_0x111d06[_0x5d6ead],0x2);}}!helper[_0x464c14(0xbe)](_0x48ff51['config'][_0x464c14(0xe9)])&&(process[_0x464c14(0xcc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x464c14(0xae)](_0x48ff51[_0x464c14(0x91)][_0x464c14(0xe9)]));_0xbee0f0[_0x464c14(0xa3)](_0x48ff51[_0x464c14(0x91)]['testObservability'],null)?process['env'][_0x464c14(0x9c)]=_0x48ff51[_0x464c14(0x91)][_0x464c14(0xa5)]:process[_0x464c14(0xcc)][_0x464c14(0x9c)]=_0xbee0f0[_0x464c14(0xb4)];const _0x4abd1a=await TestHubHandler[_0x464c14(0xd4)](constants[_0x464c14(0xfc)][_0x464c14(0xdd)],_0x48ff51);PerformanceTester[_0x464c14(0x8e)](PerformanceEvents[_0x464c14(0xa4)]);let _0x446154;_0xbee0f0[_0x464c14(0xfd)](parallelCucumberRun,_0x3c7fec,_0xa5d52e,_0x48ff51[_0x464c14(0x91)],_0x183a42,_0x31f40c)['then'](async _0xab9fd5=>{const _0x3c368d=_0x464c14;PerformanceTester[_0x3c368d(0xcb)](PerformanceEvents[_0x3c368d(0xd6)]),_0x446154=_0xab9fd5;const _0x452345=_0xbee0f0['kRLPO'](printCucumberStats,_0xab9fd5);process[_0x3c368d(0x9f)]=_0x452345,_0xbee0f0[_0x3c368d(0xdc)](_0x31f40c[_0x3c368d(0xd0)],0x0)&&(logger['debug'](_0xbee0f0[_0x3c368d(0xad)]),helper[_0x3c368d(0xf6)](_0x22d984,_0x31f40c),logger['debug'](_0xbee0f0[_0x3c368d(0xcf)]),helper[_0x3c368d(0xf7)](_0x22d984));})[_0x464c14(0xc6)](async()=>{const _0x5c02b5=_0x464c14;PerformanceTester['start'](PerformanceEvents[_0x5c02b5(0xd6)]),_0x48ff51['errorMessage']=helper[_0x5c02b5(0xc9)](_0x446154,_0xbee0f0[_0x5c02b5(0xf9)]),testOpsHelper[_0x5c02b5(0x9a)]();try{await TestHubHandler[_0x5c02b5(0x101)]();}catch(_0x24b260){logger['debug']('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x5c02b5(0xeb)](_0x24b260));}try{const {browserstackFolderPath:_0x2c6453,tcgConfigPath:_0x4d1fbd}=helper[_0x5c02b5(0xf1)]();fs[_0x5c02b5(0xb1)](_0x4d1fbd),fs[_0x5c02b5(0xaf)](_0x2c6453);}catch(_0x76a98f){logger['debug'](_0xbee0f0[_0x5c02b5(0xac)],_0x76a98f);}await utilities[_0x5c02b5(0xb2)](_0x48ff51);});}module[a5_0x2ad0d1(0xe1)]=run;