browserstack-node-sdk 1.36.0 → 1.36.1

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
- function a1_0x5b58(_0x19452c,_0x2544f0){const _0x4c94fd=a1_0x4c94();return a1_0x5b58=function(_0x5b58d3,_0xc38e9a){_0x5b58d3=_0x5b58d3-0x1b8;let _0xd40c12=_0x4c94fd[_0x5b58d3];return _0xd40c12;},a1_0x5b58(_0x19452c,_0x2544f0);}const a1_0x2e5e03=a1_0x5b58;(function(_0x3f816a,_0x3792b1){const _0x26da9d=a1_0x5b58,_0x102a89=_0x3f816a();while(!![]){try{const _0x1e50b2=parseInt(_0x26da9d(0x24b))/0x1*(parseInt(_0x26da9d(0x209))/0x2)+-parseInt(_0x26da9d(0x22e))/0x3+parseInt(_0x26da9d(0x290))/0x4+parseInt(_0x26da9d(0x231))/0x5*(parseInt(_0x26da9d(0x22c))/0x6)+parseInt(_0x26da9d(0x283))/0x7*(-parseInt(_0x26da9d(0x1c1))/0x8)+-parseInt(_0x26da9d(0x28c))/0x9+-parseInt(_0x26da9d(0x205))/0xa*(-parseInt(_0x26da9d(0x25f))/0xb);if(_0x1e50b2===_0x3792b1)break;else _0x102a89['push'](_0x102a89['shift']());}catch(_0x4c0b0b){_0x102a89['push'](_0x102a89['shift']());}}}(a1_0x4c94,0x6c822));const fs=require('fs'),util=require('util'),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x2e5e03(0x224)),logger=require('../../helpers/logger')['winstonLogger'],testOpsHelper=require(a1_0x2e5e03(0x1c0)),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x2e5e03(0x226)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require(a1_0x2e5e03(0x26d)),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x2e5e03(0x208)),AccessibilityHelper=require(a1_0x2e5e03(0x1e6)),scripts=require(a1_0x2e5e03(0x1d7)),PerformanceTester=require(a1_0x2e5e03(0x26f)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x2e5e03(0x244)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x2e5e03(0x1ba)),testHubConstants=require('../../helpers/testhub/constants.js'),globals=require(a1_0x2e5e03(0x201)),CodeceptJS=requireModule(a1_0x2e5e03(0x27d),a1_0x2e5e03(0x247)),CodeceptUtils=requireModule(a1_0x2e5e03(0x215),a1_0x2e5e03(0x247)),CodeceptWebDriver=requireModule(a1_0x2e5e03(0x1e2),'codeceptjs'),CodeceptRecorder=requireModule(a1_0x2e5e03(0x225),a1_0x2e5e03(0x247)),CodeceptPlaywright=requireModule(a1_0x2e5e03(0x297),a1_0x2e5e03(0x247)),playwrightMarkSessionStatus=(_0x48aa81,_0x3671b0,_0xb85efd)=>{const _0x5beffd=a1_0x2e5e03,_0x316c53={'BMOsS':_0x5beffd(0x1cf),'IfdbM':function(_0x4e06a0,_0x451db8){return _0x4e06a0(_0x451db8);}},_0x3882e1={};_0x3882e1[_0x5beffd(0x1cb)]=_0x3671b0;const _0x4f2a2c={};_0x4f2a2c[_0x5beffd(0x1f6)]=_0x316c53[_0x5beffd(0x24a)],_0x4f2a2c['arguments']=_0x3882e1;const _0x348009=_0x4f2a2c;return!_0x316c53[_0x5beffd(0x264)](isUndefined,_0xb85efd)&&(_0x348009[_0x5beffd(0x1bc)][_0x5beffd(0x1d6)]=JSON[_0x5beffd(0x270)](_0xb85efd)),_0x48aa81[_0x5beffd(0x252)](()=>{},_0x5beffd(0x28f)+JSON[_0x5beffd(0x270)](_0x348009));},o11ySync=PerformanceTester[a1_0x2e5e03(0x285)](PerformanceO11yEvents[a1_0x2e5e03(0x229)],async _0x53f03b=>{const _0x454d26=a1_0x2e5e03,_0x31b53c={};_0x31b53c['fwRVX']=function(_0x398aee,_0x29f28d){return _0x398aee===_0x29f28d;},_0x31b53c[_0x454d26(0x227)]=_0x454d26(0x256);const _0x227d1c=_0x31b53c;_0x227d1c[_0x454d26(0x23d)](_0x53f03b[_0x454d26(0x1fa)]['name'],_0x227d1c[_0x454d26(0x227)])?await _0x53f03b['executeScript'](_0x5a02cc=>{},testOpsHelper[_0x454d26(0x20c)]()):await _0x53f03b[_0x454d26(0x252)](testOpsHelper[_0x454d26(0x20c)]());}),markSessionName=PerformanceTester[a1_0x2e5e03(0x285)](PerformanceAutEvents['SESSION_NAME'],async(_0xfa093f,_0x581aa2)=>{const _0x128ef0=a1_0x2e5e03,_0x24530c={};_0x24530c[_0x128ef0(0x250)]=_0x128ef0(0x253),_0x24530c[_0x128ef0(0x210)]=function(_0xe39a9e,_0x346d17){return _0xe39a9e===_0x346d17;},_0x24530c[_0x128ef0(0x261)]=_0x128ef0(0x256);const _0xbe4871=_0x24530c,_0x3c49e1={};_0x3c49e1[_0x128ef0(0x1e3)]=_0x581aa2;const _0x4067e9={};_0x4067e9[_0x128ef0(0x1f6)]=_0xbe4871['FxfiJ'],_0x4067e9[_0x128ef0(0x1bc)]=_0x3c49e1;const _0x5c7bfc=_0x4067e9;_0xbe4871[_0x128ef0(0x210)](_0xfa093f['constructor'][_0x128ef0(0x1e3)],_0xbe4871['uSOMb'])?await _0xfa093f['executeScript'](()=>{},_0x128ef0(0x28f)+JSON[_0x128ef0(0x270)](_0x5c7bfc)):await _0xfa093f[_0x128ef0(0x252)](_0x128ef0(0x28f)+JSON[_0x128ef0(0x270)](_0x5c7bfc));}),patchSaveScreenshot=_0x5145af=>{const _0x1c13db=a1_0x2e5e03,_0x5e5565={'mDOgL':_0x1c13db(0x1b9),'QbiQQ':_0x1c13db(0x25d),'BvmBg':function(_0xeb7607){return _0xeb7607();},'vxhoQ':function(_0x3ee63d,_0x59cd54){return _0x3ee63d(_0x59cd54);},'oyVIQ':_0x1c13db(0x1be)};_0x5e5565['vxhoQ'](isTrue,process[_0x1c13db(0x24c)][_0x1c13db(0x1d4)])&&!_0x5145af['patchSaveScreenshot']&&(_0x5145af[_0x1c13db(0x296)]=!![],_0x5145af[_0x1c13db(0x1fe)]=_0x5145af[_0x1c13db(0x223)],_0x5145af[_0x1c13db(0x223)]=(_0x23edc7,_0x12d7b7=![])=>{const _0x345276=_0x1c13db,_0x2026ee={'QefHT':_0x5e5565[_0x345276(0x282)],'jPgye':_0x5e5565[_0x345276(0x1c6)],'tFgaK':function(_0x1ce5ac){const _0x41d33e=_0x345276;return _0x5e5565[_0x41d33e(0x1eb)](_0x1ce5ac);},'sUjVB':function(_0x375077,_0x3a4e10){return _0x5e5565['vxhoQ'](_0x375077,_0x3a4e10);},'XbZbf':_0x5e5565[_0x345276(0x21b)]};return new Promise(function(_0x570431,_0x8eaea2){const _0x2b938e=_0x345276;_0x5145af[_0x2b938e(0x1fe)](_0x23edc7,_0x12d7b7)[_0x2b938e(0x257)](()=>{const _0x54d6f4=_0x2b938e,_0x1e0e42=CodeceptUtils[_0x54d6f4(0x1bb)](_0x23edc7);if(_0x1e0e42){const _0x297b39=fs[_0x54d6f4(0x28a)](_0x1e0e42);process['emit'](_0x54d6f4(0x1c3)+process[_0x54d6f4(0x269)],{'timestamp':new Date()[_0x54d6f4(0x1bd)](),'message':_0x297b39[_0x54d6f4(0x1f9)](_0x2026ee['QefHT']),'kind':_0x2026ee[_0x54d6f4(0x218)]}),_0x2026ee[_0x54d6f4(0x202)](_0x570431);}_0x2026ee['sUjVB'](_0x8eaea2,new Error(_0x2026ee[_0x54d6f4(0x212)]));})[_0x2b938e(0x271)](()=>null);});});},patchWebDriverBefore=_0x431990=>{const _0x4d1251=a1_0x2e5e03,_0x7bfc6d={'nMSIK':function(_0x1dbb55){return _0x1dbb55();},'pmzxW':function(_0x489e2c,_0x406224){return _0x489e2c(_0x406224);},'xpJOd':function(_0x95a67,_0x13f024){return _0x95a67===_0x13f024;},'eLEHa':_0x4d1251(0x207)},_0x5913d9=async function(_0x8d83bf,_0xbde904){const _0x1d0b93=_0x4d1251;return _0x7bfc6d[_0x1d0b93(0x1d5)](isAccessibilityAutomationSession)&&!global[_0x1d0b93(0x272)]&&global[_0x1d0b93(0x1ea)]&&scripts[_0x1d0b93(0x289)](_0x8d83bf[_0x1d0b93(0x1e3)])&&_0x7bfc6d[_0x1d0b93(0x1fd)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x1d0b93(0x272)]=!![],await PerformanceTester[_0x1d0b93(0x285)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2c27e4=_0x1d0b93;logger['debug']('Performing\x20scan\x20for\x20'+_0x8d83bf['class']+'\x20'+_0x8d83bf['name']),await AccessibilityHelper[_0x2c27e4(0x1c7)](_0x431990,scripts['performScan']);},{'command':_0x8d83bf['name']})()),global['bstackAllyScanning']=![],_0xbde904[_0x1d0b93(0x1f2)](this,Array['prototype']['slice'][_0x1d0b93(0x214)](arguments,0x2));},_0x24874a=CodeceptWebDriver[_0x4d1251(0x1f5)][_0x4d1251(0x1c2)];CodeceptWebDriver[_0x4d1251(0x1f5)][_0x4d1251(0x1c2)]=async function(){const _0x27e4a7=_0x4d1251;try{await _0x24874a[_0x27e4a7(0x1f2)](this,arguments);}catch(_0x43b14f){logger[_0x27e4a7(0x240)](_0x27e4a7(0x1e4)+util[_0x27e4a7(0x216)](_0x43b14f));}scripts['commandsToWrap']['filter'](_0x4b2ecc=>_0x4b2ecc[_0x27e4a7(0x1e3)]&&_0x4b2ecc[_0x27e4a7(0x267)])[_0x27e4a7(0x1f3)](_0x5a3883=>{const _0x419d69=_0x27e4a7;this[_0x419d69(0x1e0)][_0x419d69(0x291)](_0x5a3883[_0x419d69(0x1e3)],_0x5913d9[_0x419d69(0x203)](this,_0x5a3883),_0x7bfc6d['xpJOd'](_0x5a3883[_0x419d69(0x267)],_0x7bfc6d[_0x419d69(0x27c)]));}),_0x7bfc6d[_0x27e4a7(0x1fd)](processWebDriverConfig,_0x431990);};},patchPlaywrightBefore=()=>{const _0x334d84=a1_0x2e5e03;PlaywrightSessionDetails[_0x334d84(0x22f)]();const _0x1e1b6b=CodeceptPlaywright[_0x334d84(0x1f5)][_0x334d84(0x1c2)];CodeceptPlaywright[_0x334d84(0x1f5)][_0x334d84(0x1c2)]=async function(){const _0x5ad591=_0x334d84;this[_0x5ad591(0x219)]=await this['browser']['contexts']()[0x0],await _0x1e1b6b[_0x5ad591(0x1f2)](this,arguments);};},getCodeceptDriver=()=>{const _0x4d8ec6=a1_0x2e5e03,_0x1a90fd={};_0x1a90fd[_0x4d8ec6(0x1d2)]=_0x4d8ec6(0x213),_0x1a90fd['wjlpC']='Playwright',_0x1a90fd[_0x4d8ec6(0x274)]='Puppeteer',_0x1a90fd[_0x4d8ec6(0x276)]=_0x4d8ec6(0x1e8);const _0x17921c=_0x1a90fd,_0x584491=[_0x17921c[_0x4d8ec6(0x1d2)],_0x17921c[_0x4d8ec6(0x245)],_0x17921c[_0x4d8ec6(0x274)],_0x17921c[_0x4d8ec6(0x276)]],_0x5784e6=_0x584491[_0x4d8ec6(0x1e9)](_0x537888=>!!CodeceptJS[_0x4d8ec6(0x220)][_0x4d8ec6(0x23e)](_0x537888));if(!_0x5784e6)return null;return CodeceptJS[_0x4d8ec6(0x220)]['helpers'](_0x5784e6);};module[a1_0x2e5e03(0x1df)]=function(_0x45e036){const _0x1814e6=a1_0x2e5e03,_0x23282d={'YMfBx':function(_0x29e35b){return _0x29e35b();},'DYkGL':function(_0x328e3e,_0x246a90){return _0x328e3e(_0x246a90);},'IQzYb':_0x1814e6(0x287),'CmoNv':_0x1814e6(0x25c),'usdZY':_0x1814e6(0x24f),'UgNTQ':'Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','IZOqR':function(_0x13cd64,_0x48d848){return _0x13cd64(_0x48d848);},'nPAKZ':'hook-started','AnvGR':_0x1814e6(0x255),'gYNne':'hook-failed','dJcYc':_0x1814e6(0x286),'FVTOI':_0x1814e6(0x20f),'cMyDk':function(_0x2691cf,_0x250418){return _0x2691cf(_0x250418);},'JRaWP':function(_0x5dff77,_0x1ebe99,_0x3b957f){return _0x5dff77(_0x1ebe99,_0x3b957f);},'fIONc':function(_0x59c768,_0x5078ff){return _0x59c768(_0x5078ff);},'nwIZs':_0x1814e6(0x273),'sqXil':function(_0x46ddab){return _0x46ddab();},'CKXVA':_0x1814e6(0x20a),'snBbg':function(_0x3761ef){return _0x3761ef();},'lCHRR':function(_0x403e8e,_0x2d7410,_0x1ce273,_0x5f1f29){return _0x403e8e(_0x2d7410,_0x1ce273,_0x5f1f29);},'AGemY':function(_0x2fe344,_0x5ea270){return _0x2fe344===_0x5ea270;},'uqNrf':_0x1814e6(0x1ce),'YCUAK':_0x1814e6(0x1f8),'WldJW':_0x1814e6(0x206),'IgXBF':'afterTest','OcGRM':function(_0x53d23c){return _0x53d23c();},'iqFTP':_0x1814e6(0x1d1),'EZZUS':_0x1814e6(0x20e),'rDfgi':'INFO','pVZAO':_0x1814e6(0x1d0),'xGyik':_0x1814e6(0x232),'DDoHg':'bddStep-before','SWvPr':_0x1814e6(0x1e5),'hzqFS':'Playwright'};_0x45e036[_0x1814e6(0x259)]&&(global[_0x1814e6(0x1c4)]=_0x45e036[_0x1814e6(0x259)]);PerformanceTester['startMonitoring']();const _0x327624=_0x23282d[_0x1814e6(0x292)](getCodeceptDriver),_0x36bce2=new O11yHelper(_0x327624,_0x45e036),_0x501dcb=!!CodeceptJS[_0x1814e6(0x220)]['helpers'](_0x23282d[_0x1814e6(0x1fc)]);global[_0x1814e6(0x26e)]=_0x327624,_0x327624&&(PerformanceTester[_0x1814e6(0x285)](PerformanceEvents[_0x1814e6(0x262)],()=>{const _0x59e268=_0x1814e6;_0x501dcb?_0x23282d[_0x59e268(0x292)](patchPlaywrightBefore):_0x23282d[_0x59e268(0x1c5)](patchWebDriverBefore,_0x327624);})(),PerformanceTester['measureWrapper'](PerformanceEvents[_0x1814e6(0x1d8)],()=>{const _0x4e5626=_0x1814e6,_0x319675={};_0x319675['qBRDa']=_0x23282d[_0x4e5626(0x239)],_0x319675['smiTB']=_0x23282d['UgNTQ'];const _0x59e900=_0x319675;_0x327624[_0x4e5626(0x24f)]=async()=>{const _0x846582=_0x4e5626;if(global['accessibilityPlatform']){const _0x1e75ec={};_0x1e75ec[_0x846582(0x23a)]=_0x59e900[_0x846582(0x275)],await PerformanceTester[_0x846582(0x285)](PerformanceA11yEvents[_0x846582(0x277)],async()=>{const _0x5ef4aa=_0x846582;await AccessibilityHelper[_0x5ef4aa(0x1c7)](_0x327624,scripts[_0x5ef4aa(0x249)]);},_0x1e75ec)(),await PerformanceTester[_0x846582(0x285)](PerformanceA11yEvents['GET_RESULTS_SUMMARY'],async()=>{const _0x30107e=_0x846582;await AccessibilityHelper[_0x30107e(0x1c7)](_0x327624,scripts[_0x30107e(0x21f)]);})();}else return logger[_0x846582(0x1d9)](_0x59e900[_0x846582(0x294)]),{};},_0x327624[_0x4e5626(0x287)]=async()=>{const _0x39a3a5=_0x4e5626;if(global[_0x39a3a5(0x1ea)]){const _0x5eb4ea={};_0x5eb4ea[_0x39a3a5(0x23a)]=_0x23282d[_0x39a3a5(0x27e)],await PerformanceTester[_0x39a3a5(0x285)](PerformanceA11yEvents[_0x39a3a5(0x277)],async()=>{const _0x49c353=_0x39a3a5;await AccessibilityHelper[_0x49c353(0x1c7)](_0x327624,scripts['performScan']);},_0x5eb4ea)(),await PerformanceTester[_0x39a3a5(0x285)](PerformanceA11yEvents[_0x39a3a5(0x1ff)],async()=>{const _0x9f2806=_0x39a3a5;await AccessibilityHelper[_0x9f2806(0x1c7)](_0x327624,scripts[_0x9f2806(0x26b)]);})();}else return logger[_0x39a3a5(0x1d9)](_0x23282d['CmoNv']),{};},_0x23282d[_0x4e5626(0x1ca)](patchSaveScreenshot,_0x327624);})()),CodeceptJS[_0x1814e6(0x25a)]['dispatcher']['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x268)][_0x1814e6(0x21a)],()=>{const _0xbe1340=_0x1814e6;PerformanceTester[_0xbe1340(0x20b)](PerformanceEvents[_0xbe1340(0x228)]);try{_0x36bce2['start'](),testOpsHelper[_0xbe1340(0x242)](),PerformanceTester['end'](PerformanceEvents['SDK_PRE_TEST']);}catch(_0x2f9696){PerformanceTester[_0xbe1340(0x279)](_0x2f9696),PerformanceTester[_0xbe1340(0x25b)](PerformanceEvents[_0xbe1340(0x228)],![],_0x2f9696);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x268)][_0x1814e6(0x288)],async()=>{const _0x35fc82=_0x1814e6;PerformanceTester['start'](PerformanceEvents[_0x35fc82(0x254)]);try{requestSpy[_0x35fc82(0x1f4)](),await _0x36bce2['stop'](),PerformanceTester[_0x35fc82(0x25b)](PerformanceEvents[_0x35fc82(0x254)]);}catch(_0x3b1632){PerformanceTester[_0x35fc82(0x279)](_0x3b1632),PerformanceTester[_0x35fc82(0x25b)](PerformanceEvents[_0x35fc82(0x254)],![],_0x3b1632);}finally{PerformanceTester[_0x35fc82(0x284)]();}}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS['event']['hook']['started'],_0x50d29f=>{const _0x201c59=_0x1814e6;PerformanceTester[_0x201c59(0x20b)](PerformanceEvents['SDK_HOOK']);try{const _0x2a68b7=_0x50d29f[_0x201c59(0x1de)][_0x201c59(0x1dc)],_0x238d30=_0x36bce2[_0x201c59(0x248)](TEST_EVENTS[_0x201c59(0x295)],_0x2a68b7);CodeceptRecorder[_0x201c59(0x28d)](()=>_0x36bce2[_0x201c59(0x1c9)](TEST_EVENTS[_0x201c59(0x295)],_0x238d30));const _0x46cfdf={};_0x46cfdf[_0x201c59(0x260)]=_0x23282d['nPAKZ'],PerformanceTester[_0x201c59(0x25b)](PerformanceEvents[_0x201c59(0x26c)],!![],null,_0x46cfdf);}catch(_0x5c4f99){const _0x5f049e={};_0x5f049e[_0x201c59(0x260)]=_0x23282d[_0x201c59(0x238)],PerformanceTester[_0x201c59(0x25b)](PerformanceEvents['SDK_HOOK'],![],_0x5c4f99,_0x5f049e),PerformanceTester[_0x201c59(0x279)](_0x5c4f99);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x266)][_0x1814e6(0x1ed)],_0x40221e=>{const _0x15113b=_0x1814e6,_0x57ab01={};_0x57ab01['hookType']=_0x23282d[_0x15113b(0x27f)],PerformanceTester[_0x15113b(0x20b)](PerformanceHookEvents[_0x15113b(0x26c)],!![],null,_0x57ab01);try{const _0x351bca=_0x40221e[_0x15113b(0x1de)][_0x15113b(0x1dc)],_0x300d2f=_0x36bce2[_0x15113b(0x248)](TEST_EVENTS[_0x15113b(0x1ee)],_0x351bca);CodeceptRecorder[_0x15113b(0x28d)](()=>_0x36bce2[_0x15113b(0x1c9)](TEST_EVENTS[_0x15113b(0x1ee)],_0x300d2f));const _0x40a9a3={};_0x40a9a3[_0x15113b(0x260)]=_0x23282d[_0x15113b(0x27f)],PerformanceTester[_0x15113b(0x25b)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x40a9a3);}catch(_0x3e268e){PerformanceTester[_0x15113b(0x279)](_0x3e268e);const _0x437847={};_0x437847[_0x15113b(0x260)]=_0x23282d[_0x15113b(0x27f)],PerformanceTester[_0x15113b(0x25b)](PerformanceHookEvents[_0x15113b(0x26c)],![],_0x3e268e,_0x437847);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x266)][_0x1814e6(0x24d)],async(_0x1c5c21,_0x18ed12)=>{const _0x124b0d=_0x1814e6;PerformanceTester['start'](PerformanceHookEvents[_0x124b0d(0x26c)]);try{const _0x31891a=_0x1c5c21[_0x124b0d(0x1de)][_0x124b0d(0x1dc)],_0x3647e3=_0x36bce2[_0x124b0d(0x248)](TEST_EVENTS[_0x124b0d(0x1ee)],_0x31891a,_0x18ed12);CodeceptRecorder[_0x124b0d(0x28d)](()=>_0x36bce2[_0x124b0d(0x1c9)](TEST_EVENTS[_0x124b0d(0x1ee)],_0x3647e3));const _0x4701b8={};_0x4701b8[_0x124b0d(0x260)]=_0x23282d[_0x124b0d(0x28e)],PerformanceTester[_0x124b0d(0x20b)](PerformanceHookEvents[_0x124b0d(0x26c)],!![],null,_0x4701b8);}catch(_0x26208c){PerformanceTester[_0x124b0d(0x279)](_0x26208c);const _0x26447e={};_0x26447e[_0x124b0d(0x260)]=_0x23282d[_0x124b0d(0x28e)],PerformanceTester[_0x124b0d(0x25b)](PerformanceHookEvents['SDK_HOOK'],![],_0x26208c,_0x26447e);}const _0xc57320={};_0xc57320[_0x124b0d(0x260)]=_0x23282d[_0x124b0d(0x28e)],PerformanceTester[_0x124b0d(0x25b)](PerformanceHookEvents[_0x124b0d(0x26c)],!![],null,_0xc57320);}),CodeceptJS[_0x1814e6(0x25a)]['dispatcher']['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)]['before'],_0x5dab45=>{const _0x504e47=_0x1814e6;PerformanceTester[_0x504e47(0x20b)](PerformanceHookEvents['SDK_HOOK']);try{globals[_0x504e47(0x1f7)](_0x23282d[_0x504e47(0x211)],_0x5dab45[_0x504e47(0x1b8)]);_0x23282d[_0x504e47(0x292)](isBrowserstackInfra)&&(_0x501dcb&&(global[_0x504e47(0x1dd)]={'currentTest':{'name':_0x5dab45[_0x504e47(0x1b8)],'testInfo':{'titlePath':_0x5dab45[_0x504e47(0x246)]()}}}));const _0xc2f99e={};_0xc2f99e[_0x504e47(0x260)]=_0x23282d[_0x504e47(0x26a)],PerformanceTester[_0x504e47(0x25b)](PerformanceHookEvents[_0x504e47(0x26c)],!![],null,_0xc2f99e);}catch(_0x3398dd){PerformanceTester[_0x504e47(0x279)](_0x3398dd);const _0x1dd4af={};_0x1dd4af['hookType']=_0x23282d['FVTOI'],PerformanceTester[_0x504e47(0x25b)](PerformanceHookEvents[_0x504e47(0x26c)],![],_0x3398dd,_0x1dd4af);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)][_0x1814e6(0x28b)],_0x2b6a1b=>{const _0x1d5616=_0x1814e6,_0x420320={'rEEAd':function(_0x21282c){const _0x3fe01f=a1_0x5b58;return _0x23282d[_0x3fe01f(0x292)](_0x21282c);},'gEgVh':function(_0x10ff7b,_0x27c6d6){const _0x5d3f49=a1_0x5b58;return _0x23282d[_0x5d3f49(0x243)](_0x10ff7b,_0x27c6d6);},'kfzql':function(_0x18cfbf,_0x176c78,_0x2f40d5){return _0x23282d['JRaWP'](_0x18cfbf,_0x176c78,_0x2f40d5);},'mgoAS':function(_0x58a75,_0x48245){const _0x1d06a3=a1_0x5b58;return _0x23282d[_0x1d06a3(0x241)](_0x58a75,_0x48245);}};PerformanceTester[_0x1d5616(0x20b)](PerformanceHookEvents[_0x1d5616(0x26c)]);try{globals[_0x1d5616(0x1f7)](_0x23282d[_0x1d5616(0x211)],_0x2b6a1b[_0x1d5616(0x1b8)]);const _0xcb0f41=_0x36bce2[_0x1d5616(0x248)](TEST_EVENTS[_0x1d5616(0x230)],_0x2b6a1b);CodeceptRecorder['add'](()=>_0x36bce2[_0x1d5616(0x1c9)](TEST_EVENTS['TEST_RUN_STARTED'],_0xcb0f41)),CodeceptRecorder['add'](async()=>{const _0x453ca9=_0x1d5616;_0x420320[_0x453ca9(0x1fb)](isBrowserstackInfra)&&(!_0x420320[_0x453ca9(0x1c8)](isTrue,_0x45e036[_0x453ca9(0x20d)])&&await _0x420320[_0x453ca9(0x22a)](markSessionName,_0x327624,_0x2b6a1b[_0x453ca9(0x1b8)]),_0x36bce2[_0x453ca9(0x200)]&&await _0x420320[_0x453ca9(0x233)](o11ySync,_0x327624));});}catch(_0x44cd08){const _0x30f649={};_0x30f649[_0x1d5616(0x260)]=_0x23282d[_0x1d5616(0x235)],PerformanceTester[_0x1d5616(0x25b)](PerformanceHookEvents[_0x1d5616(0x26c)],![],_0x44cd08,_0x30f649),PerformanceTester[_0x1d5616(0x279)](_0x44cd08);}const _0x30b774={};_0x30b774['hookType']=_0x23282d['nwIZs'],PerformanceTester['end'](PerformanceHookEvents[_0x1d5616(0x26c)],!![],null,_0x30b774);}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)]['test'][_0x1814e6(0x1ed)],_0x5687d1=>{const _0x56a43f=_0x1814e6;PerformanceTester['start'](PerformanceHookEvents[_0x56a43f(0x26c)]);try{const _0x37ff7b=_0x36bce2[_0x56a43f(0x248)](TEST_EVENTS[_0x56a43f(0x1cd)],_0x5687d1);CodeceptRecorder[_0x56a43f(0x28d)](()=>_0x36bce2[_0x56a43f(0x1c9)](TEST_EVENTS[_0x56a43f(0x1cd)],_0x37ff7b)),CodeceptRecorder['add'](async()=>{const _0x2f69d2=_0x56a43f,_0x11f7ad={'EIbEN':function(_0x5b0d6f,_0x5cddca,_0x5890a4){const _0x574ed7=a1_0x5b58;return _0x23282d[_0x574ed7(0x1e1)](_0x5b0d6f,_0x5cddca,_0x5890a4);},'ZVOno':function(_0x53f806,_0x3ee818,_0x27f782){const _0x4e8d6d=a1_0x5b58;return _0x23282d[_0x4e8d6d(0x1e1)](_0x53f806,_0x3ee818,_0x27f782);}};_0x23282d[_0x2f69d2(0x1f0)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2f69d2(0x27a)],async()=>{const _0x2f1c5a=_0x2f69d2;_0x501dcb?await _0x11f7ad[_0x2f1c5a(0x1bf)](playwrightMarkSessionStatus,_0x327624,STATE_PASSED):await _0x11f7ad[_0x2f1c5a(0x280)](markSessionStatus,_0x327624,STATE_PASSED);})();}),PerformanceTester['end'](PerformanceEvents[_0x56a43f(0x221)]);}catch(_0x4b0233){PerformanceTester[_0x56a43f(0x279)](_0x4b0233);const _0x5775e8={};_0x5775e8[_0x56a43f(0x260)]=_0x23282d['CKXVA'],PerformanceTester[_0x56a43f(0x25b)](PerformanceHookEvents['SDK_HOOK'],![],_0x4b0233,_0x5775e8),PerformanceTester[_0x56a43f(0x25b)](PerformanceEvents[_0x56a43f(0x221)],![],_0x4b0233);}const _0x1ada0e={};_0x1ada0e[_0x56a43f(0x260)]=_0x23282d[_0x56a43f(0x22d)],PerformanceTester[_0x56a43f(0x25b)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x1ada0e);}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)]['failed'],(_0x2336c8,_0x478a4e)=>{const _0x2ab65f=_0x1814e6;PerformanceTester[_0x2ab65f(0x20b)](PerformanceHookEvents[_0x2ab65f(0x26c)]);try{if(_0x23282d['AGemY'](_0x2336c8[_0x2ab65f(0x1fa)]['name'],_0x23282d[_0x2ab65f(0x281)])){const _0x444f2b=_0x36bce2[_0x2ab65f(0x248)](TEST_EVENTS[_0x2ab65f(0x265)],_0x2336c8[_0x2ab65f(0x1de)][_0x2ab65f(0x222)]);CodeceptRecorder[_0x2ab65f(0x28d)](()=>_0x36bce2[_0x2ab65f(0x1c9)](TEST_EVENTS[_0x2ab65f(0x265)],_0x444f2b));}else{const _0x30c0c3=_0x36bce2['captureEvent'](TEST_EVENTS['TEST_RUN_FINISHED'],_0x2336c8,_0x478a4e);CodeceptRecorder[_0x2ab65f(0x28d)](()=>{const _0x2e318a=_0x2ab65f;try{_0x36bce2[_0x2e318a(0x1c9)](TEST_EVENTS[_0x2e318a(0x1cd)],_0x30c0c3);}catch(_0x59ba4d){logger[_0x2e318a(0x240)](_0x2e318a(0x1cc)+util[_0x2e318a(0x216)](_0x59ba4d)),PerformanceTester[_0x2e318a(0x25b)](PerformanceEvents[_0x2e318a(0x221)],![],_0x59ba4d);}}),CodeceptRecorder['add'](async()=>{const _0x1897ac=_0x2ab65f;try{_0x23282d[_0x1897ac(0x204)](isBrowserstackInfra)&&(_0x501dcb?await _0x23282d[_0x1897ac(0x278)](playwrightMarkSessionStatus,_0x327624,STATE_FAILED,_0x478a4e):await _0x23282d[_0x1897ac(0x278)](markSessionStatus,_0x327624,STATE_FAILED,_0x478a4e));}catch(_0x2cb860){logger[_0x1897ac(0x240)](_0x1897ac(0x1da)+util[_0x1897ac(0x216)](_0x2cb860)),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x2cb860);}});}PerformanceTester[_0x2ab65f(0x25b)](PerformanceEvents[_0x2ab65f(0x221)]);}catch(_0x58268b){PerformanceTester[_0x2ab65f(0x279)](_0x58268b);const _0x1552b4={};_0x1552b4[_0x2ab65f(0x260)]=_0x23282d[_0x2ab65f(0x21e)],PerformanceTester[_0x2ab65f(0x25b)](PerformanceHookEvents['SDK_HOOK'],![],_0x58268b,_0x1552b4),PerformanceTester[_0x2ab65f(0x25b)](PerformanceEvents[_0x2ab65f(0x221)],![],_0x58268b);}const _0x3bb8f4={};_0x3bb8f4[_0x2ab65f(0x260)]=_0x23282d[_0x2ab65f(0x21e)],PerformanceTester['end'](PerformanceHookEvents[_0x2ab65f(0x26c)],!![],null,_0x3bb8f4);}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x1dc)]['skipped'],_0x20f0b4=>{const _0x9669f2=_0x1814e6;PerformanceTester[_0x9669f2(0x20b)](PerformanceHookEvents[_0x9669f2(0x26c)]);try{const _0x24f675=_0x36bce2[_0x9669f2(0x248)](TEST_EVENTS[_0x9669f2(0x265)],_0x20f0b4);CodeceptRecorder[_0x9669f2(0x28d)](()=>_0x36bce2[_0x9669f2(0x1c9)](TEST_EVENTS[_0x9669f2(0x265)],_0x24f675)),PerformanceTester[_0x9669f2(0x25b)](PerformanceEvents[_0x9669f2(0x221)]);}catch(_0xcc79d7){PerformanceTester[_0x9669f2(0x279)](_0xcc79d7),PerformanceTester[_0x9669f2(0x25b)](PerformanceEvents[_0x9669f2(0x221)],![],_0xcc79d7);const _0x1f583f={};_0x1f583f[_0x9669f2(0x260)]=_0x23282d['WldJW'],PerformanceTester[_0x9669f2(0x25b)](PerformanceHookEvents[_0x9669f2(0x26c)],![],_0xcc79d7,_0x1f583f);}const _0x31bcbb={};_0x31bcbb[_0x9669f2(0x260)]=_0x23282d['WldJW'],PerformanceTester['end'](PerformanceHookEvents[_0x9669f2(0x26c)],!![],null,_0x31bcbb);}),CodeceptJS['event'][_0x1814e6(0x217)]['on'](CodeceptJS[_0x1814e6(0x25a)]['test'][_0x1814e6(0x288)],async(_0x4ffb7e,_0x42dee1)=>{const _0x2811c9=_0x1814e6,_0x4f45c4={};_0x4f45c4[_0x2811c9(0x1f1)]=_0x23282d[_0x2811c9(0x236)];const _0x459798=_0x4f45c4;try{PerformanceTester['start'](PerformanceHookEvents[_0x2811c9(0x26c)]);if(_0x23282d[_0x2811c9(0x21d)](isBrowserstackInfra)){const _0x9cc19f=_0x23282d['JRaWP'](shouldScanTestForAccessibility,_0x4ffb7e[_0x2811c9(0x246)](),!![]);if(_0x23282d[_0x2811c9(0x21d)](isAccessibilityAutomationSession)&&global[_0x2811c9(0x1ea)]&&_0x9cc19f){const _0x185dfe={};_0x185dfe['thTestRunUuid']=_0x4ffb7e[_0x2811c9(0x1d3)],_0x185dfe['thBuildUuid']=process[_0x2811c9(0x24c)][testHubConstants[_0x2811c9(0x22b)][_0x2811c9(0x23c)]],_0x185dfe['thJwtToken']=process[_0x2811c9(0x24c)][testHubConstants['ENV_VAR'][_0x2811c9(0x1ef)]];const _0x413eb0=_0x185dfe;logger['debug'](_0x2811c9(0x263)+JSON[_0x2811c9(0x270)](_0x413eb0)),CodeceptRecorder[_0x2811c9(0x28d)](async()=>{const _0x58d20c=_0x2811c9,_0xb0eebc={};_0xb0eebc[_0x58d20c(0x23a)]=_0x459798[_0x58d20c(0x1f1)],await PerformanceTester[_0x58d20c(0x285)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x31bb1b=_0x58d20c;await AccessibilityHelper[_0x31bb1b(0x1c7)](_0x327624,scripts[_0x31bb1b(0x249)]);},_0xb0eebc)(),await PerformanceTester[_0x58d20c(0x285)](PerformanceA11yEvents[_0x58d20c(0x27b)],async()=>{const _0x16898f=_0x58d20c;await AccessibilityHelper[_0x16898f(0x1c7)](_0x327624,scripts[_0x16898f(0x1e7)],_0x413eb0);})();}),logger[_0x2811c9(0x23b)](_0x23282d['iqFTP']);}}const _0xb201d={};_0xb201d[_0x2811c9(0x260)]=_0x23282d[_0x2811c9(0x251)],PerformanceTester['end'](PerformanceHookEvents[_0x2811c9(0x26c)],!![],null,_0xb201d);}catch(_0x51fd53){PerformanceTester['captureError'](_0x51fd53);const _0x2c941c={};_0x2c941c[_0x2811c9(0x260)]=_0x23282d[_0x2811c9(0x251)],PerformanceTester[_0x2811c9(0x25b)](PerformanceHookEvents[_0x2811c9(0x26c)],![],_0x51fd53,_0x2c941c);}}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS['event'][_0x1814e6(0x237)][_0x1814e6(0x21c)],_0x5c3b56=>{const _0x41b4a7=_0x1814e6;PerformanceTester[_0x41b4a7(0x20b)](PerformanceHookEvents[_0x41b4a7(0x26c)]);try{process[_0x41b4a7(0x234)]('bs:addLog:'+process['pid'],{'timestamp':new Date()[_0x41b4a7(0x1bd)](),'level':_0x23282d[_0x41b4a7(0x258)],'message':_0x5c3b56,'kind':_0x23282d[_0x41b4a7(0x1db)],'http_response':{}});}catch(_0x36971c){PerformanceTester[_0x41b4a7(0x279)](_0x36971c);const _0x3d7da5={};_0x3d7da5[_0x41b4a7(0x260)]=_0x23282d[_0x41b4a7(0x23f)],PerformanceTester[_0x41b4a7(0x25b)](PerformanceHookEvents[_0x41b4a7(0x26c)],![],_0x36971c,_0x3d7da5);}const _0x574942={};_0x574942[_0x41b4a7(0x260)]=_0x23282d['xGyik'],PerformanceTester['end'](PerformanceHookEvents[_0x41b4a7(0x26c)],!![],null,_0x574942);}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS['event'][_0x1814e6(0x25e)][_0x1814e6(0x21a)],_0x6feaa8=>{const _0x32e600=_0x1814e6,_0x26329f={};_0x26329f[_0x32e600(0x260)]=_0x23282d[_0x32e600(0x1ec)],PerformanceTester[_0x32e600(0x285)](PerformanceHookEvents[_0x32e600(0x26c)],()=>{_0x36bce2['bddStepStart'](_0x6feaa8);},_0x26329f)();}),CodeceptJS[_0x1814e6(0x25a)][_0x1814e6(0x217)]['on'](CodeceptJS['event']['bddStep'][_0x1814e6(0x288)],_0xd37370=>{const _0x1b5f09=_0x1814e6,_0x8dfc31={};_0x8dfc31[_0x1b5f09(0x260)]=_0x23282d[_0x1b5f09(0x24e)],PerformanceTester[_0x1b5f09(0x285)](PerformanceHookEvents[_0x1b5f09(0x26c)],()=>{const _0x242142=_0x1b5f09;_0x36bce2[_0x242142(0x293)](_0xd37370);},_0x8dfc31)();});};function a1_0x4c94(){const _0xebf1bc=['260136NJdzHI','_before','bs:addLog:','__skipSessionStatus','DYkGL','QbiQQ','browserStackExecuteDriver','gEgVh','fireEvent','IZOqR','status','Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20','TEST_RUN_FINISHED','Suite','setSessionStatus','TEST_LOG','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vvrfN','testAnalyticsId','BS_TESTOPS_ALLOW_SCREENSHOTS','nMSIK','reason','../../helpers/accessibility-automation/scripts','SDK_POST_INITIALIZE','warn','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','pVZAO','test','__workerDetails','ctx','exports','browser','JRaWP','codeceptjs/lib/helper/WebDriver.js','name','Failed\x20to\x20execute\x20_before:\x20','bddStep-after','../../bin/playwright/accessibility-helper','saveTestResults','TestCafe','find','accessibilityPlatform','BvmBg','DDoHg','passed','HOOK_RUN_FINISHED','BROWSERSTACK_TESTHUB_JWT','sqXil','gjzaD','apply','forEach','restore','prototype','action','setGlobal','test-failed','toString','constructor','rEEAd','hzqFS','pmzxW','initSaveScreenshot','GET_RESULTS','enabled','../../helpers/globals.js','tFgaK','bind','snBbg','30FtjAFB','test-skipped','Element','../../helpers/accessibility-automation/helper','498fFZvSJ','test-passed','start','getSyncScript','skipSessionName','test-after','test-before','IoYqt','dJcYc','XbZbf','WebDriver','call','codeceptjs/lib/utils.js','format','dispatcher','jPgye','browserContext','before','oyVIQ','comment','OcGRM','YCUAK','getResultsSummary','container','SDK_TEST','currentTest','saveScreenshot','../../helpers/helper','codeceptjs/lib/recorder.js','../../bin/playwright/sessionDetails','FiSkX','SDK_PRE_TEST','SYNC','kfzql','ENV_VAR','121194jRIYRj','CKXVA','646845eRaZbS','patch','TEST_RUN_STARTED','10FUjdxs','step-comment','mgoAS','emit','nwIZs','IgXBF','step','nPAKZ','usdZY','command','info','BROWSERSTACK_TESTHUB_UUID','fwRVX','helpers','xGyik','debug','fIONc','addRequestSpy','cMyDk','../../helpers/performance/constants','wjlpC','titlePath','codeceptjs','captureEvent','performScan','BMOsS','2239InnGRH','env','failed','SWvPr','getAccessibilityResultsSummary','FxfiJ','EZZUS','executeScript','setSessionName','SDK_POST_TEST','hook-passed','Playwright','then','rDfgi','skipSessionStatus','event','end','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','TEST_SCREENSHOT','bddStep','2516074jQGIDj','hookType','uSOMb','SDK_PRE_INITIALIZE','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','IfdbM','TEST_RUN_SKIPPED','hook','class','all','pid','FVTOI','getResults','SDK_HOOK','./o11yHelper','__driver','../../helpers/performance/performance-tester','stringify','catch','bstackAllyScanning','test-started','lKoXz','qBRDa','aXswK','PERFORM_SCAN','lCHRR','captureError','SESSION_STATUS','SAVE_RESULTS','eLEHa','codeceptjs/lib/index.js','IQzYb','AnvGR','ZVOno','uqNrf','mDOgL','49oNSIuQ','stopMonitoring','measureWrapper','browserstackTestName','getAccessibilityResults','after','shouldWrapCommand','readFileSync','started','6207399ZymxwX','add','gYNne','browserstack_executor:\x20','1173136GTRNvg','overwriteCommand','YMfBx','bddStepFinish','smiTB','HOOK_RUN_STARTED','patchSaveScreenshot','codeceptjs/lib/helper/Playwright.js','title','base64','./helper.js','screenshotOutputFolder','arguments','toISOString','Screenshot\x20path\x20not\x20found','EIbEN','../../helpers/test-observability/utils'];a1_0x4c94=function(){return _0xebf1bc;};return a1_0x4c94();}
1
+ const a1_0x53b480=a1_0x5f24;function a1_0x5f24(_0x246458,_0xcba7a9){const _0x145ae9=a1_0x145a();return a1_0x5f24=function(_0x5f24ed,_0x21ffe0){_0x5f24ed=_0x5f24ed-0x6d;let _0x58ec98=_0x145ae9[_0x5f24ed];return _0x58ec98;},a1_0x5f24(_0x246458,_0xcba7a9);}(function(_0x447602,_0x41031f){const _0x3cf509=a1_0x5f24,_0x108ef5=_0x447602();while(!![]){try{const _0x4f7a73=parseInt(_0x3cf509(0xa8))/0x1+-parseInt(_0x3cf509(0xf2))/0x2+parseInt(_0x3cf509(0xd8))/0x3*(-parseInt(_0x3cf509(0x91))/0x4)+-parseInt(_0x3cf509(0x13e))/0x5+-parseInt(_0x3cf509(0xc5))/0x6+parseInt(_0x3cf509(0xc1))/0x7*(parseInt(_0x3cf509(0xbb))/0x8)+-parseInt(_0x3cf509(0xe8))/0x9*(-parseInt(_0x3cf509(0xa3))/0xa);if(_0x4f7a73===_0x41031f)break;else _0x108ef5['push'](_0x108ef5['shift']());}catch(_0x457d2c){_0x108ef5['push'](_0x108ef5['shift']());}}}(a1_0x145a,0x2a85d));function a1_0x145a(){const _0x3fabc2=['44703aZkVTV','captureError','SYNC','browser','Qihac','./helper.js','ieUpa','../../bin/playwright/sessionDetails','RUbNC','Ploig','329704oHXFoT','ctx','codeceptjs/lib/helper/WebDriver.js','test-failed','ZpbJT','saveScreenshot','codeceptjs/lib/helper/Playwright.js','DnPwO','getAccessibilityResults','test-started','xWnUL','test','epxJH','shouldWrapCommand','constructor','eEWay','setSessionStatus','SESSION_STATUS','passed','Performing\x20scan\x20for\x20','helpers','IdkKy','bddStepFinish','skipSessionName','info','after','skipped','codeceptjs/lib/index.js','commandsToWrap','bstackAllyScanning','MJiSz','currentTest','ntUBO','hook','env','EDSzB','browserStackExecuteDriver','AFmvj','GKXxI','UatjU','sJjIB','thBuildUuid','TEST_RUN_SKIPPED','XBfgI','start','performScan','bind','vALtW','_before','__skipSessionStatus','stopMonitoring','dispatcher','MAeRO','SDK_PRE_INITIALIZE','DZVyO','action','bsfEg','emit','class','format','../../helpers/performance/constants','Failed\x20to\x20execute\x20_before:\x20','yEkaT','step-comment','reason','bvKwg','browserContext','../../helpers/helper','before','Suite','lIZVq','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','HOOK_RUN_FINISHED','../../helpers/accessibility-automation/helper','dlJfy','slice','855755bwakpx','SDK_TEST','initSaveScreenshot','MEpsv','getSyncScript','arguments','bddStep','QQsHH','ENV_VAR','MEKtg','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20summary.','add','end','warn','toISOString','hookType','readFileSync','prototype','SDK_POST_TEST','codeceptjs/lib/utils.js','accessibilityPlatform','saveTestResults','lUOSB','event','browserstack_executor:\x20','GET_RESULTS_SUMMARY','lzQFV','TestCafe','hook-passed','getAccessibilityResultsSummary','cagOI','QwfkU','captureEvent','Screenshot\x20path\x20not\x20found','MhmNy','apply','YMxYs','fireEvent','vYRPz','then','getResults','Element','status','BROWSERSTACK_TESTHUB_UUID','patch','../../helpers/performance/performance-tester','util','SJRGv','pmYxz','all','executeScript','4JOVJmI','../../helpers/globals.js','Playwright','XJLnU','name','PERFORM_SCAN','BYssP','pDDSU','TEST_LOG','exports','NeKok','stop','__workerDetails','ozYBm','failed','testAnalyticsId','toString','SDK_PRE_TEST','270srDvmI','screenshotOutputFolder','QEemh','GDkqG','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','146992shMIKr','QVobB','BS_TESTOPS_ALLOW_SCREENSHOTS','titlePath','ptEzs','measureWrapper','GET_RESULTS','oBsLd','bs:addLog:','OsuVL','nvaDc','patchSaveScreenshot','title','addRequestSpy','WebDriver','contexts','ByGMe','thJwtToken','PIPcM','45944UpqjOr','../../helpers/logger','step','TEST_RUN_STARTED','test-passed','bddStepStart','371kwMtWj','EXfil','debug','Failed\x20in\x20marking\x20session\x20status\x20of\x20test:\x20','420012zcUmrw','__driver','HOOK_RUN_STARTED','jpdIu','bddStep-before','YLExq','Nhsti','../../helpers/accessibility-automation/scripts','Puppeteer','../../helpers/testhub/constants.js','npvkj','SDK_HOOK','ajimP','pkAwG','pid','command','TEST_RUN_FINISHED','codeceptjs','RVBKs','15906rFFvkY','TEST_SCREENSHOT','nMxEA','afterTest','qxHbI','BROWSERSTACK_TESTHUB_JWT','test-after','restore','DaGlz','forEach','uhXoA','TEAVw','stringify','container','skipSessionStatus','thTestRunUuid'];a1_0x145a=function(){return _0x3fabc2;};return a1_0x145a();}const fs=require('fs'),util=require(a1_0x53b480(0x8c)),{requireModule,markSessionStatus,isUndefined,isTrue,isBrowserstackInfra}=require(a1_0x53b480(0x135)),logger=require(a1_0x53b480(0xbc))['winstonLogger'],testOpsHelper=require('../../helpers/test-observability/utils'),requestSpy=require('../../helpers/request-spy'),PlaywrightSessionDetails=require(a1_0x53b480(0xef)),{O11yHelper,TEST_EVENTS,STATE_PASSED,STATE_FAILED}=require('./o11yHelper'),{shouldScanTestForAccessibility,isAccessibilityAutomationSession}=require(a1_0x53b480(0x13b)),AccessibilityHelper=require('../../bin/playwright/accessibility-helper'),scripts=require(a1_0x53b480(0xcc)),PerformanceTester=require(a1_0x53b480(0x8b)),{EVENTS:PerformanceEvents,AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceHookEvents}=require(a1_0x53b480(0x12e)),{processWebDriverConfig,shouldPatchExecuteScript}=require(a1_0x53b480(0xed)),testHubConstants=require(a1_0x53b480(0xce)),globals=require(a1_0x53b480(0x92)),CodeceptJS=requireModule(a1_0x53b480(0x10d),a1_0x53b480(0xd6)),CodeceptUtils=requireModule(a1_0x53b480(0x71),a1_0x53b480(0xd6)),CodeceptWebDriver=requireModule(a1_0x53b480(0xf4),a1_0x53b480(0xd6)),CodeceptRecorder=requireModule('codeceptjs/lib/recorder.js',a1_0x53b480(0xd6)),CodeceptPlaywright=requireModule(a1_0x53b480(0xf8),a1_0x53b480(0xd6)),playwrightMarkSessionStatus=(_0x3e3b03,_0x14d683,_0x1b69c3)=>{const _0x4a170b=a1_0x53b480,_0x2a6043={'DaGlz':_0x4a170b(0x102),'CwsOU':function(_0x647f1a,_0x4e9767){return _0x647f1a(_0x4e9767);}},_0x3f692e={};_0x3f692e[_0x4a170b(0x88)]=_0x14d683;const _0x5306af={};_0x5306af[_0x4a170b(0x129)]=_0x2a6043[_0x4a170b(0xe0)],_0x5306af[_0x4a170b(0x143)]=_0x3f692e;const _0x160ace=_0x5306af;return!_0x2a6043['CwsOU'](isUndefined,_0x1b69c3)&&(_0x160ace[_0x4a170b(0x143)][_0x4a170b(0x132)]=JSON[_0x4a170b(0xe4)](_0x1b69c3)),_0x3e3b03[_0x4a170b(0x90)](()=>{},'browserstack_executor:\x20'+JSON[_0x4a170b(0xe4)](_0x160ace));},o11ySync=PerformanceTester['measureWrapper'](PerformanceO11yEvents[a1_0x53b480(0xea)],async _0x1883ba=>{const _0x40e64c=a1_0x53b480,_0x1f47d2={};_0x1f47d2[_0x40e64c(0x97)]=function(_0x2d5e9b,_0x1f04e2){return _0x2d5e9b===_0x1f04e2;},_0x1f47d2[_0x40e64c(0x8d)]=_0x40e64c(0x93);const _0x5e9ec7=_0x1f47d2;_0x5e9ec7[_0x40e64c(0x97)](_0x1883ba[_0x40e64c(0x100)][_0x40e64c(0x95)],_0x5e9ec7[_0x40e64c(0x8d)])?await _0x1883ba[_0x40e64c(0x90)](_0x5f92ef=>{},testOpsHelper['getSyncScript']()):await _0x1883ba['executeScript'](testOpsHelper[_0x40e64c(0x142)]());}),markSessionName=PerformanceTester['measureWrapper'](PerformanceAutEvents['SESSION_NAME'],async(_0x4f5c25,_0x4bc6d1)=>{const _0x16b4c2=a1_0x53b480,_0x2c44ea={};_0x2c44ea[_0x16b4c2(0x118)]='setSessionName',_0x2c44ea[_0x16b4c2(0xe3)]=function(_0x3fcbf7,_0x446121){return _0x3fcbf7===_0x446121;},_0x2c44ea[_0x16b4c2(0xc2)]=_0x16b4c2(0x93);const _0x139ad2=_0x2c44ea,_0x38765a={};_0x38765a['name']=_0x4bc6d1;const _0x2518c0={};_0x2518c0[_0x16b4c2(0x129)]=_0x139ad2['GKXxI'],_0x2518c0[_0x16b4c2(0x143)]=_0x38765a;const _0x49b5a3=_0x2518c0;_0x139ad2[_0x16b4c2(0xe3)](_0x4f5c25[_0x16b4c2(0x100)][_0x16b4c2(0x95)],_0x139ad2[_0x16b4c2(0xc2)])?await _0x4f5c25[_0x16b4c2(0x90)](()=>{},_0x16b4c2(0x76)+JSON[_0x16b4c2(0xe4)](_0x49b5a3)):await _0x4f5c25['executeScript']('browserstack_executor:\x20'+JSON[_0x16b4c2(0xe4)](_0x49b5a3));}),patchSaveScreenshot=_0x26a691=>{const _0x2daf2e=a1_0x53b480,_0x5dd1c4={'QEemh':'base64','vALtW':_0x2daf2e(0xd9),'VChwH':function(_0x2fc879){return _0x2fc879();},'PIPcM':function(_0x54e0d2,_0xd4175a){return _0x54e0d2(_0xd4175a);},'bsfEg':_0x2daf2e(0x7f),'Qihac':function(_0x322015,_0x198d77){return _0x322015(_0x198d77);}};_0x5dd1c4[_0x2daf2e(0xec)](isTrue,process[_0x2daf2e(0x114)][_0x2daf2e(0xaa)])&&!_0x26a691[_0x2daf2e(0xb3)]&&(_0x26a691[_0x2daf2e(0xb3)]=!![],_0x26a691[_0x2daf2e(0x140)]=_0x26a691[_0x2daf2e(0xf7)],_0x26a691[_0x2daf2e(0xf7)]=(_0x542b3d,_0x55d6d2=![])=>{const _0x521ec5=_0x2daf2e,_0x377f50={'OsuVL':_0x5dd1c4[_0x521ec5(0xa5)],'nMxEA':_0x5dd1c4[_0x521ec5(0x121)],'MzXBx':function(_0x5e3351){return _0x5dd1c4['VChwH'](_0x5e3351);},'DnPwO':function(_0xc30d70,_0x930f77){const _0x2a69d6=_0x521ec5;return _0x5dd1c4[_0x2a69d6(0xba)](_0xc30d70,_0x930f77);},'sPlTR':_0x5dd1c4[_0x521ec5(0x12a)]};return new Promise(function(_0x49b52e,_0xaf6874){const _0x3cdb19=_0x521ec5,_0x7fcf7a={'Ploig':_0x377f50[_0x3cdb19(0xb1)],'MAeRO':_0x377f50[_0x3cdb19(0xda)],'lIZVq':function(_0x54718){return _0x377f50['MzXBx'](_0x54718);},'YLExq':function(_0x36dca9,_0x5ef364){const _0x52655e=_0x3cdb19;return _0x377f50[_0x52655e(0xf9)](_0x36dca9,_0x5ef364);},'Nhsti':_0x377f50['sPlTR']};_0x26a691[_0x3cdb19(0x140)](_0x542b3d,_0x55d6d2)[_0x3cdb19(0x85)](()=>{const _0x3268c5=_0x3cdb19,_0x7fefa1=CodeceptUtils[_0x3268c5(0xa4)](_0x542b3d);if(_0x7fefa1){const _0x51f0d6=fs[_0x3268c5(0x6e)](_0x7fefa1);process['emit'](_0x3268c5(0xb0)+process[_0x3268c5(0xd3)],{'timestamp':new Date()[_0x3268c5(0x14c)](),'message':_0x51f0d6[_0x3268c5(0xa1)](_0x7fcf7a[_0x3268c5(0xf1)]),'kind':_0x7fcf7a[_0x3268c5(0x126)]}),_0x7fcf7a[_0x3268c5(0x138)](_0x49b52e);}_0x7fcf7a[_0x3268c5(0xca)](_0xaf6874,new Error(_0x7fcf7a[_0x3268c5(0xcb)]));})['catch'](()=>null);});});},patchWebDriverBefore=_0x5b1570=>{const _0x5edae7=a1_0x53b480,_0x428e18={'pDDSU':function(_0x2003e4){return _0x2003e4();},'pmYxz':function(_0x819df2,_0xc1390f){return _0x819df2(_0xc1390f);},'RToMG':function(_0x1df3a8,_0x53fbe3){return _0x1df3a8===_0x53fbe3;},'xWnUL':_0x5edae7(0x87)},_0x2adff4=async function(_0x242e4a,_0x5aae0f){const _0x23dfae=_0x5edae7;return _0x428e18[_0x23dfae(0x98)](isAccessibilityAutomationSession)&&!global[_0x23dfae(0x10f)]&&global[_0x23dfae(0x72)]&&scripts[_0x23dfae(0xff)](_0x242e4a[_0x23dfae(0x95)])&&_0x428e18[_0x23dfae(0x8e)](shouldPatchExecuteScript,arguments[0x2])&&(global[_0x23dfae(0x10f)]=!![],await PerformanceTester[_0x23dfae(0xad)](PerformanceA11yEvents[_0x23dfae(0x96)],async()=>{const _0x38e2ac=_0x23dfae;logger[_0x38e2ac(0xc3)](_0x38e2ac(0x105)+_0x242e4a[_0x38e2ac(0x12c)]+'\x20'+_0x242e4a['name']),await AccessibilityHelper['browserStackExecuteDriver'](_0x5b1570,scripts[_0x38e2ac(0x11f)]);},{'command':_0x242e4a[_0x23dfae(0x95)]})()),global[_0x23dfae(0x10f)]=![],_0x5aae0f['apply'](this,Array[_0x23dfae(0x6f)][_0x23dfae(0x13d)]['call'](arguments,0x2));},_0x25aa0b=CodeceptWebDriver[_0x5edae7(0x6f)][_0x5edae7(0x122)];CodeceptWebDriver[_0x5edae7(0x6f)]['_before']=async function(){const _0x4c1153=_0x5edae7,_0x33e0b5={'eEWay':function(_0x588b01,_0x621a52){return _0x428e18['RToMG'](_0x588b01,_0x621a52);},'qxHbI':_0x428e18[_0x4c1153(0xfc)]};try{await _0x25aa0b[_0x4c1153(0x81)](this,arguments);}catch(_0x18bdd7){logger[_0x4c1153(0xc3)](_0x4c1153(0x12f)+util[_0x4c1153(0x12d)](_0x18bdd7));}scripts[_0x4c1153(0x10e)]['filter'](_0x3875b5=>_0x3875b5[_0x4c1153(0x95)]&&_0x3875b5[_0x4c1153(0x12c)])[_0x4c1153(0xe1)](_0x14d8dd=>{const _0x49ded3=_0x4c1153;this[_0x49ded3(0xeb)]['overwriteCommand'](_0x14d8dd[_0x49ded3(0x95)],_0x2adff4[_0x49ded3(0x120)](this,_0x14d8dd),_0x33e0b5[_0x49ded3(0x101)](_0x14d8dd[_0x49ded3(0x12c)],_0x33e0b5[_0x49ded3(0xdc)]));}),_0x428e18[_0x4c1153(0x8e)](processWebDriverConfig,_0x5b1570);};},patchPlaywrightBefore=()=>{const _0x1ef315=a1_0x53b480;PlaywrightSessionDetails[_0x1ef315(0x8a)]();const _0x5a1238=CodeceptPlaywright[_0x1ef315(0x6f)][_0x1ef315(0x122)];CodeceptPlaywright[_0x1ef315(0x6f)][_0x1ef315(0x122)]=async function(){const _0x23f389=_0x1ef315;this[_0x23f389(0x134)]=await this[_0x23f389(0xeb)][_0x23f389(0xb7)]()[0x0],await _0x5a1238[_0x23f389(0x81)](this,arguments);};},getCodeceptDriver=()=>{const _0x2395c4=a1_0x53b480,_0x5e6be3={};_0x5e6be3[_0x2395c4(0xd7)]=_0x2395c4(0xb6),_0x5e6be3[_0x2395c4(0xcf)]=_0x2395c4(0x93),_0x5e6be3[_0x2395c4(0x119)]=_0x2395c4(0xcd),_0x5e6be3[_0x2395c4(0x94)]=_0x2395c4(0x79);const _0xe57d0c=_0x5e6be3,_0x232bc3=[_0xe57d0c[_0x2395c4(0xd7)],_0xe57d0c[_0x2395c4(0xcf)],_0xe57d0c['UatjU'],_0xe57d0c[_0x2395c4(0x94)]],_0x3c03be=_0x232bc3['find'](_0x596b10=>!!CodeceptJS[_0x2395c4(0xe5)]['helpers'](_0x596b10));if(!_0x3c03be)return null;return CodeceptJS[_0x2395c4(0xe5)][_0x2395c4(0x106)](_0x3c03be);};module[a1_0x53b480(0x9a)]=function(_0x34e620){const _0x21acda=a1_0x53b480,_0x53383f={'mBhyW':function(_0x7abccc){return _0x7abccc();},'ptEzs':function(_0x5be633,_0x1eafbc){return _0x5be633(_0x1eafbc);},'Gtrqn':_0x21acda(0x7b),'QwfkU':_0x21acda(0x148),'lzQFV':_0x21acda(0xfa),'NeKok':_0x21acda(0xa7),'vYRPz':'hook-started','ByGMe':_0x21acda(0x7a),'IdkKy':'hook-failed','DZVyO':'browserstackTestName','ieUpa':function(_0x60407a){return _0x60407a();},'QQsHH':'test-before','MEKtg':function(_0x2a4def,_0x35f10e){return _0x2a4def(_0x35f10e);},'oBsLd':function(_0x21734b,_0x17b0f4,_0x1b5260){return _0x21734b(_0x17b0f4,_0x1b5260);},'pkAwG':_0x21acda(0xfb),'ZpbJT':function(_0x104874){return _0x104874();},'MJiSz':function(_0x3c63e5,_0x30eed2,_0x3f6d35){return _0x3c63e5(_0x30eed2,_0x3f6d35);},'YMxYs':_0x21acda(0xbf),'yEkaT':function(_0x1b7a89){return _0x1b7a89();},'AwqPX':function(_0x81fb58,_0x78ee04,_0xca25c3,_0x40846e){return _0x81fb58(_0x78ee04,_0xca25c3,_0x40846e);},'mDSrN':function(_0x4dd362,_0xa0bbcb){return _0x4dd362===_0xa0bbcb;},'ajimP':_0x21acda(0x137),'bvKwg':_0x21acda(0xf5),'ozYBm':'test-skipped','iMHmY':_0x21acda(0xdb),'nvaDc':function(_0x4b1e66){return _0x4b1e66();},'cagOI':function(_0x5f42a7){return _0x5f42a7();},'AFmvj':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','jpdIu':_0x21acda(0xde),'dlJfy':'INFO','sJjIB':_0x21acda(0x99),'epxJH':_0x21acda(0x131),'lUOSB':_0x21acda(0xc9),'NnjAY':'bddStep-after','MhmNy':function(_0x378493){return _0x378493();},'uhXoA':_0x21acda(0x93)};_0x34e620['skipSessionStatus']&&(global[_0x21acda(0x123)]=_0x34e620[_0x21acda(0xe6)]);PerformanceTester['startMonitoring']();const _0x255bdc=_0x53383f[_0x21acda(0x80)](getCodeceptDriver),_0x3c91c5=new O11yHelper(_0x255bdc,_0x34e620),_0x2e4093=!!CodeceptJS[_0x21acda(0xe5)][_0x21acda(0x106)](_0x53383f[_0x21acda(0xe2)]);global[_0x21acda(0xc6)]=_0x255bdc,_0x255bdc&&(PerformanceTester['measureWrapper'](PerformanceEvents[_0x21acda(0x127)],()=>{const _0x3eb99e=_0x21acda;_0x2e4093?_0x53383f['mBhyW'](patchPlaywrightBefore):_0x53383f[_0x3eb99e(0xac)](patchWebDriverBefore,_0x255bdc);})(),PerformanceTester[_0x21acda(0xad)](PerformanceEvents['SDK_POST_INITIALIZE'],()=>{const _0x361471=_0x21acda,_0x122063={};_0x122063[_0x361471(0x11d)]=_0x53383f['Gtrqn'],_0x122063[_0x361471(0x141)]=_0x53383f[_0x361471(0x7d)],_0x122063['JQjuK']=_0x53383f[_0x361471(0x78)],_0x122063[_0x361471(0x112)]=_0x53383f[_0x361471(0x9b)];const _0xff6901=_0x122063;_0x255bdc[_0x361471(0x7b)]=async()=>{const _0x357b6f=_0x361471;if(global[_0x357b6f(0x72)]){const _0x3af6b1={};_0x3af6b1[_0x357b6f(0xd4)]=_0xff6901[_0x357b6f(0x11d)],await PerformanceTester[_0x357b6f(0xad)](PerformanceA11yEvents[_0x357b6f(0x96)],async()=>{const _0x53b2d9=_0x357b6f;await AccessibilityHelper['browserStackExecuteDriver'](_0x255bdc,scripts[_0x53b2d9(0x11f)]);},_0x3af6b1)(),await PerformanceTester[_0x357b6f(0xad)](PerformanceA11yEvents[_0x357b6f(0x77)],async()=>{const _0x224db1=_0x357b6f;await AccessibilityHelper[_0x224db1(0x116)](_0x255bdc,scripts['getResultsSummary']);})();}else return logger[_0x357b6f(0x14b)](_0xff6901[_0x357b6f(0x141)]),{};},_0x255bdc[_0x361471(0xfa)]=async()=>{const _0x2bbfab=_0x361471;if(global[_0x2bbfab(0x72)]){const _0x2eb813={};_0x2eb813['command']=_0xff6901['JQjuK'],await PerformanceTester[_0x2bbfab(0xad)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x2d928e=_0x2bbfab;await AccessibilityHelper[_0x2d928e(0x116)](_0x255bdc,scripts[_0x2d928e(0x11f)]);},_0x2eb813)(),await PerformanceTester[_0x2bbfab(0xad)](PerformanceA11yEvents[_0x2bbfab(0xae)],async()=>{const _0xa170e5=_0x2bbfab;await AccessibilityHelper[_0xa170e5(0x116)](_0x255bdc,scripts[_0xa170e5(0x86)]);})();}else return logger[_0x2bbfab(0x14b)](_0xff6901[_0x2bbfab(0x112)]),{};},_0x53383f[_0x361471(0xac)](patchSaveScreenshot,_0x255bdc);})()),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x8f)][_0x21acda(0x136)],()=>{const _0x31bf54=_0x21acda;PerformanceTester[_0x31bf54(0x11e)](PerformanceEvents[_0x31bf54(0xa2)]);try{_0x3c91c5[_0x31bf54(0x11e)](),testOpsHelper[_0x31bf54(0xb5)](),PerformanceTester[_0x31bf54(0x14a)](PerformanceEvents[_0x31bf54(0xa2)]);}catch(_0x2df17e){PerformanceTester[_0x31bf54(0xe9)](_0x2df17e),PerformanceTester[_0x31bf54(0x14a)](PerformanceEvents[_0x31bf54(0xa2)],![],_0x2df17e);}}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)]['all'][_0x21acda(0x10b)],async()=>{const _0x1de9d5=_0x21acda;PerformanceTester[_0x1de9d5(0x11e)](PerformanceEvents[_0x1de9d5(0x70)]);try{requestSpy[_0x1de9d5(0xdf)](),await _0x3c91c5[_0x1de9d5(0x9c)](),PerformanceTester[_0x1de9d5(0x14a)](PerformanceEvents[_0x1de9d5(0x70)]);}catch(_0x472f17){PerformanceTester['captureError'](_0x472f17),PerformanceTester[_0x1de9d5(0x14a)](PerformanceEvents[_0x1de9d5(0x70)],![],_0x472f17);}finally{PerformanceTester[_0x1de9d5(0x124)]();}}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)]['hook']['started'],_0x52fcd3=>{const _0x12e5c8=_0x21acda;PerformanceTester[_0x12e5c8(0x11e)](PerformanceEvents[_0x12e5c8(0xd0)]);try{const _0x344ae8=_0x52fcd3[_0x12e5c8(0xf3)][_0x12e5c8(0xfd)],_0x398f83=_0x3c91c5['captureEvent'](TEST_EVENTS[_0x12e5c8(0xc7)],_0x344ae8);CodeceptRecorder[_0x12e5c8(0x149)](()=>_0x3c91c5[_0x12e5c8(0x83)](TEST_EVENTS[_0x12e5c8(0xc7)],_0x398f83));const _0x279a0b={};_0x279a0b[_0x12e5c8(0x6d)]=_0x53383f[_0x12e5c8(0x84)],PerformanceTester['end'](PerformanceEvents['SDK_HOOK'],!![],null,_0x279a0b);}catch(_0x1a63d4){const _0x245d7e={};_0x245d7e[_0x12e5c8(0x6d)]=_0x53383f[_0x12e5c8(0x84)],PerformanceTester[_0x12e5c8(0x14a)](PerformanceEvents['SDK_HOOK'],![],_0x1a63d4,_0x245d7e),PerformanceTester[_0x12e5c8(0xe9)](_0x1a63d4);}}),CodeceptJS['event'][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x113)][_0x21acda(0x104)],_0x2fb092=>{const _0x17c72e=_0x21acda,_0x3efd1b={};_0x3efd1b[_0x17c72e(0x6d)]=_0x53383f['ByGMe'],PerformanceTester[_0x17c72e(0x11e)](PerformanceHookEvents['SDK_HOOK'],!![],null,_0x3efd1b);try{const _0x30ae61=_0x2fb092[_0x17c72e(0xf3)][_0x17c72e(0xfd)],_0x4c2320=_0x3c91c5[_0x17c72e(0x7e)](TEST_EVENTS[_0x17c72e(0x13a)],_0x30ae61);CodeceptRecorder[_0x17c72e(0x149)](()=>_0x3c91c5[_0x17c72e(0x83)](TEST_EVENTS[_0x17c72e(0x13a)],_0x4c2320));const _0x27d094={};_0x27d094[_0x17c72e(0x6d)]=_0x53383f['ByGMe'],PerformanceTester['end'](PerformanceHookEvents[_0x17c72e(0xd0)],!![],null,_0x27d094);}catch(_0x2f3bd6){PerformanceTester[_0x17c72e(0xe9)](_0x2f3bd6);const _0x4cf8ac={};_0x4cf8ac[_0x17c72e(0x6d)]=_0x53383f[_0x17c72e(0xb8)],PerformanceTester['end'](PerformanceHookEvents['SDK_HOOK'],![],_0x2f3bd6,_0x4cf8ac);}}),CodeceptJS['event']['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x113)]['failed'],async(_0x4efbd7,_0x271d77)=>{const _0x2b23d8=_0x21acda;PerformanceTester[_0x2b23d8(0x11e)](PerformanceHookEvents[_0x2b23d8(0xd0)]);try{const _0x56858f=_0x4efbd7[_0x2b23d8(0xf3)]['test'],_0x2e9945=_0x3c91c5[_0x2b23d8(0x7e)](TEST_EVENTS[_0x2b23d8(0x13a)],_0x56858f,_0x271d77);CodeceptRecorder[_0x2b23d8(0x149)](()=>_0x3c91c5[_0x2b23d8(0x83)](TEST_EVENTS[_0x2b23d8(0x13a)],_0x2e9945));const _0x1c5372={};_0x1c5372[_0x2b23d8(0x6d)]=_0x53383f['IdkKy'],PerformanceTester[_0x2b23d8(0x11e)](PerformanceHookEvents[_0x2b23d8(0xd0)],!![],null,_0x1c5372);}catch(_0x5040af){PerformanceTester['captureError'](_0x5040af);const _0x28ea82={};_0x28ea82[_0x2b23d8(0x6d)]=_0x53383f[_0x2b23d8(0x107)],PerformanceTester[_0x2b23d8(0x14a)](PerformanceHookEvents[_0x2b23d8(0xd0)],![],_0x5040af,_0x28ea82);}const _0x17b9c8={};_0x17b9c8[_0x2b23d8(0x6d)]=_0x53383f[_0x2b23d8(0x107)],PerformanceTester[_0x2b23d8(0x14a)](PerformanceHookEvents[_0x2b23d8(0xd0)],!![],null,_0x17b9c8);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)]['before'],_0x3d4667=>{const _0x4eea2f=_0x21acda;PerformanceTester[_0x4eea2f(0x11e)](PerformanceHookEvents[_0x4eea2f(0xd0)]);try{globals['setGlobal'](_0x53383f['DZVyO'],_0x3d4667['title']);_0x53383f[_0x4eea2f(0xee)](isBrowserstackInfra)&&(_0x2e4093&&(global[_0x4eea2f(0x9d)]={'currentTest':{'name':_0x3d4667[_0x4eea2f(0xb4)],'testInfo':{'titlePath':_0x3d4667[_0x4eea2f(0xab)]()}}}));const _0x56bb7f={};_0x56bb7f['hookType']=_0x53383f[_0x4eea2f(0x145)],PerformanceTester[_0x4eea2f(0x14a)](PerformanceHookEvents[_0x4eea2f(0xd0)],!![],null,_0x56bb7f);}catch(_0x5113d2){PerformanceTester[_0x4eea2f(0xe9)](_0x5113d2);const _0x283398={};_0x283398[_0x4eea2f(0x6d)]=_0x53383f['QQsHH'],PerformanceTester['end'](PerformanceHookEvents[_0x4eea2f(0xd0)],![],_0x5113d2,_0x283398);}}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS['event'][_0x21acda(0xfd)]['started'],_0x35f4f5=>{const _0x2b7ec3=_0x21acda;PerformanceTester['start'](PerformanceHookEvents[_0x2b7ec3(0xd0)]);try{globals['setGlobal'](_0x53383f[_0x2b7ec3(0x128)],_0x35f4f5[_0x2b7ec3(0xb4)]);const _0x5d81ec=_0x3c91c5[_0x2b7ec3(0x7e)](TEST_EVENTS[_0x2b7ec3(0xbe)],_0x35f4f5);CodeceptRecorder[_0x2b7ec3(0x149)](()=>_0x3c91c5[_0x2b7ec3(0x83)](TEST_EVENTS[_0x2b7ec3(0xbe)],_0x5d81ec)),CodeceptRecorder[_0x2b7ec3(0x149)](async()=>{const _0x1a75cb=_0x2b7ec3;_0x53383f['mBhyW'](isBrowserstackInfra)&&(!_0x53383f[_0x1a75cb(0x147)](isTrue,_0x34e620[_0x1a75cb(0x109)])&&await _0x53383f[_0x1a75cb(0xaf)](markSessionName,_0x255bdc,_0x35f4f5[_0x1a75cb(0xb4)]),_0x3c91c5['enabled']&&await _0x53383f[_0x1a75cb(0xac)](o11ySync,_0x255bdc));});}catch(_0x8a5d3f){const _0x2083ac={};_0x2083ac[_0x2b7ec3(0x6d)]=_0x53383f[_0x2b7ec3(0xd2)],PerformanceTester[_0x2b7ec3(0x14a)](PerformanceHookEvents['SDK_HOOK'],![],_0x8a5d3f,_0x2083ac),PerformanceTester['captureError'](_0x8a5d3f);}const _0x39ba7b={};_0x39ba7b[_0x2b7ec3(0x6d)]=_0x53383f['pkAwG'],PerformanceTester[_0x2b7ec3(0x14a)](PerformanceHookEvents[_0x2b7ec3(0xd0)],!![],null,_0x39ba7b);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)][_0x21acda(0x104)],_0x279e24=>{const _0x376ee5=_0x21acda,_0x307bd2={'EDSzB':function(_0x1e49f3,_0x4a324f,_0x466611){return _0x53383f['oBsLd'](_0x1e49f3,_0x4a324f,_0x466611);},'RUbNC':function(_0x7c3efa,_0x129ce7,_0x527f59){const _0x1fadd4=a1_0x5f24;return _0x53383f[_0x1fadd4(0x110)](_0x7c3efa,_0x129ce7,_0x527f59);}};PerformanceTester[_0x376ee5(0x11e)](PerformanceHookEvents[_0x376ee5(0xd0)]);try{const _0x4d02be=_0x3c91c5['captureEvent'](TEST_EVENTS[_0x376ee5(0xd5)],_0x279e24);CodeceptRecorder[_0x376ee5(0x149)](()=>_0x3c91c5[_0x376ee5(0x83)](TEST_EVENTS[_0x376ee5(0xd5)],_0x4d02be)),CodeceptRecorder[_0x376ee5(0x149)](async()=>{const _0x34f759=_0x376ee5;_0x53383f[_0x34f759(0xf6)](isBrowserstackInfra)&&await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x34f759(0x103)],async()=>{const _0x1c3ff2=_0x34f759;_0x2e4093?await _0x307bd2[_0x1c3ff2(0x115)](playwrightMarkSessionStatus,_0x255bdc,STATE_PASSED):await _0x307bd2[_0x1c3ff2(0xf0)](markSessionStatus,_0x255bdc,STATE_PASSED);})();}),PerformanceTester[_0x376ee5(0x14a)](PerformanceEvents['SDK_TEST']);}catch(_0xef5d1c){PerformanceTester[_0x376ee5(0xe9)](_0xef5d1c);const _0x238b61={};_0x238b61['hookType']=_0x53383f[_0x376ee5(0x82)],PerformanceTester[_0x376ee5(0x14a)](PerformanceHookEvents[_0x376ee5(0xd0)],![],_0xef5d1c,_0x238b61),PerformanceTester['end'](PerformanceEvents[_0x376ee5(0x13f)],![],_0xef5d1c);}const _0x1d09a8={};_0x1d09a8[_0x376ee5(0x6d)]=_0x53383f[_0x376ee5(0x82)],PerformanceTester[_0x376ee5(0x14a)](PerformanceHookEvents[_0x376ee5(0xd0)],!![],null,_0x1d09a8);}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)][_0x21acda(0x9f)],(_0x8562db,_0x4d5656)=>{const _0x461382=_0x21acda,_0x13e19c={'QVobB':function(_0x1551d2){const _0x304860=a1_0x5f24;return _0x53383f[_0x304860(0x130)](_0x1551d2);},'GDkqG':function(_0x3008af,_0x4d3d98,_0x1c6f18,_0x2f453c){return _0x53383f['AwqPX'](_0x3008af,_0x4d3d98,_0x1c6f18,_0x2f453c);}};PerformanceTester[_0x461382(0x11e)](PerformanceHookEvents['SDK_HOOK']);try{if(_0x53383f['mDSrN'](_0x8562db[_0x461382(0x100)]['name'],_0x53383f[_0x461382(0xd1)])){const _0x3b1c82=_0x3c91c5[_0x461382(0x7e)](TEST_EVENTS[_0x461382(0x11c)],_0x8562db[_0x461382(0xf3)][_0x461382(0x111)]);CodeceptRecorder[_0x461382(0x149)](()=>_0x3c91c5[_0x461382(0x83)](TEST_EVENTS[_0x461382(0x11c)],_0x3b1c82));}else{const _0x32aaa5=_0x3c91c5[_0x461382(0x7e)](TEST_EVENTS[_0x461382(0xd5)],_0x8562db,_0x4d5656);CodeceptRecorder['add'](()=>{const _0xb5f2b7=_0x461382;try{_0x3c91c5[_0xb5f2b7(0x83)](TEST_EVENTS[_0xb5f2b7(0xd5)],_0x32aaa5);}catch(_0x202863){logger['debug']('Failed\x20in\x20sending\x20TestRunFinish\x20event:\x20'+util[_0xb5f2b7(0x12d)](_0x202863)),PerformanceTester['end'](PerformanceEvents[_0xb5f2b7(0x13f)],![],_0x202863);}}),CodeceptRecorder[_0x461382(0x149)](async()=>{const _0x2615f0=_0x461382;try{_0x13e19c[_0x2615f0(0xa9)](isBrowserstackInfra)&&(_0x2e4093?await _0x13e19c[_0x2615f0(0xa6)](playwrightMarkSessionStatus,_0x255bdc,STATE_FAILED,_0x4d5656):await _0x13e19c[_0x2615f0(0xa6)](markSessionStatus,_0x255bdc,STATE_FAILED,_0x4d5656));}catch(_0x2c15cc){logger[_0x2615f0(0xc3)](_0x2615f0(0xc4)+util[_0x2615f0(0x12d)](_0x2c15cc)),PerformanceTester[_0x2615f0(0x14a)](PerformanceEvents[_0x2615f0(0x13f)],![],_0x2c15cc);}});}PerformanceTester[_0x461382(0x14a)](PerformanceEvents[_0x461382(0x13f)]);}catch(_0x400fe2){PerformanceTester[_0x461382(0xe9)](_0x400fe2);const _0x426ab5={};_0x426ab5['hookType']=_0x53383f['bvKwg'],PerformanceTester['end'](PerformanceHookEvents[_0x461382(0xd0)],![],_0x400fe2,_0x426ab5),PerformanceTester['end'](PerformanceEvents['SDK_TEST'],![],_0x400fe2);}const _0x21f963={};_0x21f963['hookType']=_0x53383f[_0x461382(0x133)],PerformanceTester[_0x461382(0x14a)](PerformanceHookEvents[_0x461382(0xd0)],!![],null,_0x21f963);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xfd)][_0x21acda(0x10c)],_0x30adf4=>{const _0x2cac57=_0x21acda;PerformanceTester['start'](PerformanceHookEvents[_0x2cac57(0xd0)]);try{const _0x199cbd=_0x3c91c5[_0x2cac57(0x7e)](TEST_EVENTS[_0x2cac57(0x11c)],_0x30adf4);CodeceptRecorder[_0x2cac57(0x149)](()=>_0x3c91c5[_0x2cac57(0x83)](TEST_EVENTS['TEST_RUN_SKIPPED'],_0x199cbd)),PerformanceTester[_0x2cac57(0x14a)](PerformanceEvents['SDK_TEST']);}catch(_0x4e7e88){PerformanceTester[_0x2cac57(0xe9)](_0x4e7e88),PerformanceTester[_0x2cac57(0x14a)](PerformanceEvents['SDK_TEST'],![],_0x4e7e88);const _0x5061d9={};_0x5061d9[_0x2cac57(0x6d)]=_0x53383f[_0x2cac57(0x9e)],PerformanceTester['end'](PerformanceHookEvents[_0x2cac57(0xd0)],![],_0x4e7e88,_0x5061d9);}const _0x474877={};_0x474877['hookType']=_0x53383f[_0x2cac57(0x9e)],PerformanceTester['end'](PerformanceHookEvents[_0x2cac57(0xd0)],!![],null,_0x474877);}),CodeceptJS[_0x21acda(0x75)]['dispatcher']['on'](CodeceptJS['event'][_0x21acda(0xfd)][_0x21acda(0x10b)],async(_0x15068e,_0x573450)=>{const _0x4dc1fd=_0x21acda;try{PerformanceTester[_0x4dc1fd(0x11e)](PerformanceHookEvents[_0x4dc1fd(0xd0)]);if(_0x53383f[_0x4dc1fd(0xb2)](isBrowserstackInfra)){const _0x1cfb3f=_0x53383f[_0x4dc1fd(0xaf)](shouldScanTestForAccessibility,_0x15068e['titlePath'](),!![]);if(_0x53383f[_0x4dc1fd(0x7c)](isAccessibilityAutomationSession)&&global[_0x4dc1fd(0x72)]&&_0x1cfb3f){const _0x3278e6={};_0x3278e6[_0x4dc1fd(0xe7)]=_0x15068e[_0x4dc1fd(0xa0)],_0x3278e6[_0x4dc1fd(0x11b)]=process['env'][testHubConstants[_0x4dc1fd(0x146)][_0x4dc1fd(0x89)]],_0x3278e6[_0x4dc1fd(0xb9)]=process['env'][testHubConstants['ENV_VAR'][_0x4dc1fd(0xdd)]];const _0x4ab072=_0x3278e6;logger[_0x4dc1fd(0xc3)](_0x4dc1fd(0x139)+JSON[_0x4dc1fd(0xe4)](_0x4ab072)),CodeceptRecorder['add'](async()=>{const _0x472a90=_0x4dc1fd,_0x2395f4={};_0x2395f4['command']=_0x53383f['iMHmY'],await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x472a90(0x96)],async()=>{const _0x54db6c=_0x472a90;await AccessibilityHelper[_0x54db6c(0x116)](_0x255bdc,scripts[_0x54db6c(0x11f)]);},_0x2395f4)(),await PerformanceTester[_0x472a90(0xad)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x5de694=_0x472a90;await AccessibilityHelper[_0x5de694(0x116)](_0x255bdc,scripts[_0x5de694(0x73)],_0x4ab072);})();}),logger[_0x4dc1fd(0x10a)](_0x53383f[_0x4dc1fd(0x117)]);}}const _0x2eb8e1={};_0x2eb8e1[_0x4dc1fd(0x6d)]=_0x53383f[_0x4dc1fd(0xc8)],PerformanceTester[_0x4dc1fd(0x14a)](PerformanceHookEvents[_0x4dc1fd(0xd0)],!![],null,_0x2eb8e1);}catch(_0x4ac3a0){PerformanceTester[_0x4dc1fd(0xe9)](_0x4ac3a0);const _0x333307={};_0x333307[_0x4dc1fd(0x6d)]=_0x53383f[_0x4dc1fd(0xc8)],PerformanceTester['end'](PerformanceHookEvents[_0x4dc1fd(0xd0)],![],_0x4ac3a0,_0x333307);}}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0xbd)]['comment'],_0x229484=>{const _0x5e4a62=_0x21acda;PerformanceTester[_0x5e4a62(0x11e)](PerformanceHookEvents[_0x5e4a62(0xd0)]);try{process[_0x5e4a62(0x12b)](_0x5e4a62(0xb0)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':_0x53383f[_0x5e4a62(0x13c)],'message':_0x229484,'kind':_0x53383f[_0x5e4a62(0x11a)],'http_response':{}});}catch(_0x181b43){PerformanceTester[_0x5e4a62(0xe9)](_0x181b43);const _0x5d61f1={};_0x5d61f1[_0x5e4a62(0x6d)]=_0x53383f[_0x5e4a62(0xfe)],PerformanceTester[_0x5e4a62(0x14a)](PerformanceHookEvents[_0x5e4a62(0xd0)],![],_0x181b43,_0x5d61f1);}const _0x488b77={};_0x488b77[_0x5e4a62(0x6d)]=_0x53383f['epxJH'],PerformanceTester[_0x5e4a62(0x14a)](PerformanceHookEvents[_0x5e4a62(0xd0)],!![],null,_0x488b77);}),CodeceptJS[_0x21acda(0x75)][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)]['bddStep'][_0x21acda(0x136)],_0x40a052=>{const _0x4d971f=_0x21acda,_0x30ce90={};_0x30ce90[_0x4d971f(0x6d)]=_0x53383f[_0x4d971f(0x74)],PerformanceTester[_0x4d971f(0xad)](PerformanceHookEvents[_0x4d971f(0xd0)],()=>{const _0x5c6fa6=_0x4d971f;_0x3c91c5[_0x5c6fa6(0xc0)](_0x40a052);},_0x30ce90)();}),CodeceptJS['event'][_0x21acda(0x125)]['on'](CodeceptJS[_0x21acda(0x75)][_0x21acda(0x144)][_0x21acda(0x10b)],_0x153841=>{const _0x10e871=_0x21acda,_0x1abf6f={};_0x1abf6f[_0x10e871(0x6d)]=_0x53383f['NnjAY'],PerformanceTester[_0x10e871(0xad)](PerformanceHookEvents['SDK_HOOK'],()=>{const _0x82fe11=_0x10e871;_0x3c91c5[_0x82fe11(0x108)](_0x153841);},_0x1abf6f)();});};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a2_0xc0e3(_0x4b63d3,_0x57df6b){const _0x6c5b60=a2_0x6c5b();return a2_0xc0e3=function(_0xc0e3e8,_0x330ee5){_0xc0e3e8=_0xc0e3e8-0xe7;let _0x570e2d=_0x6c5b60[_0xc0e3e8];return _0x570e2d;},a2_0xc0e3(_0x4b63d3,_0x57df6b);}const a2_0x5888f7=a2_0xc0e3;function a2_0x6c5b(){const _0x5b7d96=['DZxUk','webkit','finalExecution','../../helpers/test-observability/constants','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','Playwright','XtLXw','skipSessionName','eElGp','config','cwd','dirname','useW3C','browserWSEndpoint','printResults','uoSdp','DCWRL','BROWSERSTACK_RERUN','start','2426766ucwDJE','getPlatformName','before','BYBtu','enabled','exports','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','12362230OhPiED','winstonLogger','isTrue','36431780tgQxTB','result','length','info','existsSync','run','event','LkAzU','--config','teardownAll','hveuQ','testObservability','plugins','toLowerCase','mOiqc','playwright-webkit','../../helpers/utilities','isEmpty','1509ZMBXbG','forEach','trim','HPrLW','isTestObservabilitySession','USER_CONFIG_DETAILS_PATH','profile','2894895jjdzak','getPlaywrightUrl','testContextOptions','launchBuild','SDK_SETUP','skipSessionStatus','handleApp','frameworkName','path','SDK_CLEANUP','codecept.conf.js','jskhh','stack','helpers','fYBlf','setAdditionalCapabilities','browserStackCwd','pswXq','stringify','../../helpers/BrowserStackSetup','15jUeovz','accessibility','chdir','playwright-chromium','1582lrAQid','firefox','codeceptjs','jhaYu','test','all','FRAMEWORKS','accessibilityOptions','../../helpers/performance/constants','chromium','../../helpers/test-observability/utils','Failed\x20:\x20','findIndex','spawn','../../helpers/accessibility-automation/helper','debug','CODECEPT_CUCUMBER','3011784XGHmjV','vrjyD','push','browser','addConfig','load','GpnlC','passed','prepareCapabilities','slice','addTests','createGroupsOfSuites','bootstrapAll','map','root','9bhaMTP','failed','chrome','nQIRb','process','parallelsPerPlatform','env','title','validateRerunTestList','BrowserStackPlugin.js','codeceptjs/lib/index.js','join','cTysY','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/testhub/testhubHandler','../../helpers/logger','stop','BROWSERSTACK_RERUN_TESTS','errorMessage','browserName','testConfig','7uldSxW','format','printBuildLink','DDZjb','../../helpers/helper','IOdkR','KjrZR','CODECEPT','iURyt','mergeDeep','addOptions','desiredCapabilities','log','579160pkyDrL','hKxcW','isUndefined','NqUDB','gherkin','codecept.json'];a2_0x6c5b=function(){return _0x5b7d96;};return a2_0x6c5b();}(function(_0x476651,_0x23005c){const _0x5d9124=a2_0xc0e3,_0x4ef347=_0x476651();while(!![]){try{const _0xd50a71=-parseInt(_0x5d9124(0x108))/0x1*(parseInt(_0x5d9124(0x127))/0x2)+-parseInt(_0x5d9124(0x10f))/0x3+-parseInt(_0x5d9124(0x169))/0x4+-parseInt(_0x5d9124(0x123))/0x5*(parseInt(_0x5d9124(0xeb))/0x6)+-parseInt(_0x5d9124(0x15c))/0x7*(parseInt(_0x5d9124(0x138))/0x8)+parseInt(_0x5d9124(0x147))/0x9*(parseInt(_0x5d9124(0xf3))/0xa)+parseInt(_0x5d9124(0xf6))/0xb;if(_0xd50a71===_0x23005c)break;else _0x4ef347['push'](_0x4ef347['shift']());}catch(_0x39706c){_0x4ef347['push'](_0x4ef347['shift']());}}}(a2_0x6c5b,0x9fe7d));const fs=require('fs'),path=require(a2_0x5888f7(0x117)),util=require('util'),process=require(a2_0x5888f7(0x14b)),logger=require(a2_0x5888f7(0x156))[a2_0x5888f7(0xf4)],{default:BrowserStackSetup}=require(a2_0x5888f7(0x122)),helper=require(a2_0x5888f7(0x160)),utilities=require(a2_0x5888f7(0x106)),{checkAccessibilityPlatformConfig}=require(a2_0x5888f7(0x135)),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require(a2_0x5888f7(0x160)),CodeceptJS=requireModule(a2_0x5888f7(0x151),a2_0x5888f7(0x129)),testOpsHelper=require(a2_0x5888f7(0x131)),TestHubHandler=require(a2_0x5888f7(0x155)),constants=require('../utils/constants'),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require(a2_0x5888f7(0x172)),PerformanceEvents=require(a2_0x5888f7(0x12f))['EVENTS'],_testErrorData=[],getUserCodeceptJSConfigs=(_0x54e080,_0x13454f)=>{const _0x599c79=a2_0x5888f7,_0x2176e7={};_0x2176e7['IOdkR']=function(_0x3cd8eb,_0x24d5eb){return _0x3cd8eb===_0x24d5eb;},_0x2176e7[_0x599c79(0x16a)]=_0x599c79(0x119),_0x2176e7[_0x599c79(0x11a)]=_0x599c79(0x16e);const _0x137bdb=_0x2176e7;let _0x25f5f9=null;const _0xdd142b={};let _0x231963=_0x13454f[_0x599c79(0x133)](_0xbffdec=>_0xbffdec===_0x599c79(0xfe));_0x137bdb[_0x599c79(0x161)](_0x231963,-0x1)&&(_0x231963=_0x13454f[_0x599c79(0x133)](_0x4b5f81=>_0x4b5f81==='-c'));if(!helper[_0x599c79(0x16b)](_0x54e080[_0x599c79(0x178)])&&fs[_0x599c79(0xfa)](path[_0x599c79(0x152)](process['cwd'](),_0x54e080[_0x599c79(0x178)])))_0x25f5f9=path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x54e080[_0x599c79(0x178)]),_0x13454f[_0x599c79(0x141)](_0x231963,0x2);else{if(!helper[_0x599c79(0x16b)](_0x54e080['c'])&&fs[_0x599c79(0xfa)](path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x54e080['c'])))_0x25f5f9=path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x54e080['c']),_0x13454f[_0x599c79(0x141)](_0x231963,0x2);else{if(fs[_0x599c79(0xfa)](path[_0x599c79(0x152)](process['cwd'](),_0x137bdb[_0x599c79(0x16a)])))_0x25f5f9=path[_0x599c79(0x152)](process[_0x599c79(0x179)](),_0x137bdb[_0x599c79(0x16a)]);else fs[_0x599c79(0xfa)](path['join'](process['cwd'](),_0x137bdb[_0x599c79(0x11a)]))&&(_0x25f5f9=path[_0x599c79(0x152)](process['cwd'](),_0x137bdb[_0x599c79(0x11a)]));}}return process[_0x599c79(0x14d)][_0x599c79(0x10d)]=_0x25f5f9,_0x25f5f9;},getO11yRerunPattern=()=>{const _0x53b560=a2_0x5888f7,_0x41b180=helper[_0x53b560(0xf5)](process[_0x53b560(0x14d)][_0x53b560(0xe9)]);if(_0x41b180){const _0x1e2597=process[_0x53b560(0x14d)][_0x53b560(0x158)],_0x125364=[];if(helper[_0x53b560(0x14f)](_0x1e2597)&&!helper[_0x53b560(0x16b)](_0x1e2597)){_0x1e2597['split'](',')[_0x53b560(0x145)](_0x50d087=>{const _0x2024d5=_0x53b560;_0x125364['push']('('+_0x50d087[_0x2024d5(0x10a)]()+')');});const _0x453988='^'+_0x125364['join']('|')+'$';return _0x453988;}}return null;},a2_0xe44d11={};a2_0xe44d11[a2_0x5888f7(0x149)]=a2_0x5888f7(0x130),a2_0xe44d11[a2_0x5888f7(0x126)]=a2_0x5888f7(0x130),a2_0xe44d11['playwright-firefox']=a2_0x5888f7(0x128),a2_0xe44d11[a2_0x5888f7(0x105)]=a2_0x5888f7(0x170);const pwToCodeceptBrowser=a2_0xe44d11;async function run(_0x33a35d,_0x415c72,_0x133de7){const _0x2c4f93=a2_0x5888f7,_0x27a9b7={'DCWRL':function(_0x4a3c68,_0x3ce7fe){return _0x4a3c68+_0x3ce7fe;},'eElGp':function(_0x2af4db,_0x55d4bc){return _0x2af4db(_0x55d4bc);},'LkAzU':function(_0x3e20d7,_0x497dff,_0x503088){return _0x3e20d7(_0x497dff,_0x503088);},'mOiqc':'helpers','vrjyD':function(_0x1c55ec){return _0x1c55ec();},'HPrLW':function(_0x1f0b5b){return _0x1f0b5b();},'hveuQ':_0x2c4f93(0x132),'fYBlf':'Passed\x20:\x20','lKLUd':'Started\x20:\x20','XtLXw':'3|5|2|4|1|0','DDZjb':function(_0x49eb09,_0x29a02b,_0x313a94){return _0x49eb09(_0x29a02b,_0x313a94);},'eKkik':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cTysY':function(_0x52c64a,_0x2ec3ba,_0x386e06){return _0x52c64a(_0x2ec3ba,_0x386e06);},'DZxUk':_0x2c4f93(0x174),'nQIRb':'WebDriver','iURyt':function(_0x1bafb5,_0x5f1b6b){return _0x1bafb5(_0x5f1b6b);},'NqUDB':function(_0x3ab88e,_0x5671bf){return _0x3ab88e!=_0x5671bf;},'pswXq':function(_0x52b87f,_0x18d081){return _0x52b87f===_0x18d081;},'uoSdp':_0x2c4f93(0x16d),'GpnlC':function(_0xa8eee9,_0x5458c8){return _0xa8eee9*_0x5458c8;},'yVdXt':'browser','HYYLO':function(_0x168d63,_0x187cfb,_0x1e8eee){return _0x168d63(_0x187cfb,_0x1e8eee);},'PTuOe':_0x2c4f93(0x167),'QUoRv':function(_0x4b7420,_0x4e25e1,_0x490cc5){return _0x4b7420(_0x4e25e1,_0x490cc5);},'KjrZR':_0x2c4f93(0x146),'VWWvJ':_0x2c4f93(0x150),'nTWpt':_0x2c4f93(0x11f)};await _0x133de7['initialize'](_0x33a35d),await helper[_0x2c4f93(0x115)](_0x133de7[_0x2c4f93(0x178)]);if(!_0x133de7['config'])return;process['profile']=_0x33a35d[_0x2c4f93(0x10e)];_0x33a35d[_0x2c4f93(0x10e)]&&(process[_0x2c4f93(0x14d)][_0x2c4f93(0x10e)]=_0x33a35d[_0x2c4f93(0x10e)]);const _0x5ac43a=_0x27a9b7['DDZjb'](getUserCodeceptJSConfigs,_0x33a35d,_0x415c72);let _0x257a03={};_0x5ac43a?(logger[_0x2c4f93(0xf9)](_0x2c4f93(0xf1)+_0x5ac43a),_0x257a03=CodeceptJS[_0x2c4f93(0x178)][_0x2c4f93(0x13d)](_0x5ac43a)):logger['info'](_0x27a9b7['eKkik']);let _0x3f62d1=![];_0x27a9b7[_0x2c4f93(0x153)](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x2c4f93(0x104)],_0x27a9b7[_0x2c4f93(0x16f)]])&&(_0x3f62d1=!![]);const _0x24a7eb=_0x3f62d1?_0x27a9b7[_0x2c4f93(0x16f)]:_0x27a9b7[_0x2c4f93(0x14a)];let _0x5d34ce=!_0x3f62d1?helper[_0x2c4f93(0x17b)](_0x133de7[_0x2c4f93(0x178)]):![];!helper[_0x2c4f93(0x16b)](_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x12e)])&&(process[_0x2c4f93(0x14d)][_0x2c4f93(0x154)]=JSON[_0x2c4f93(0x121)](_0x133de7[_0x2c4f93(0x178)]['accessibilityOptions']));let _0x2b554a=_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x124)];_0x2b554a=_0x2b554a||_0x27a9b7['iURyt'](checkAccessibilityPlatformConfig,_0x133de7['config']),process[_0x2c4f93(0x14d)][_0x2c4f93(0xf2)]=_0x2b554a;_0x2b554a&&(_0x5d34ce=!_0x2b554a);_0x27a9b7[_0x2c4f93(0x16c)](_0x133de7['config'][_0x2c4f93(0x101)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x101)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x27a9b7[_0x2c4f93(0x120)](_0x24a7eb,_0x27a9b7[_0x2c4f93(0x16f)]);const _0x18f901=_0x27a9b7[_0x2c4f93(0xfd)](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x2c4f93(0xe7)]]),_0x5dacd0=_0x18f901&&!helper[_0x2c4f93(0x107)](_0x18f901)?FRAMEWORKS[_0x2c4f93(0x137)]:FRAMEWORKS[_0x2c4f93(0x163)],_0x3851ac=await TestHubHandler[_0x2c4f93(0x112)](_0x5dacd0,_0x133de7);_0x2b554a&&_0x27a9b7[_0x2c4f93(0x164)](setAccessibilityCapabilities,_0x133de7[_0x2c4f93(0x178)]);const _0xc49616={},_0x5cd7c8=[],_0x5b9c11=_0x133de7[_0x2c4f93(0x178)][_0x2c4f93(0x14c)]||helper['getUserWorkerCount'](_0x33a35d,_0x415c72,_0x133de7['config'],constants[_0x2c4f93(0x12d)][_0x2c4f93(0x163)])||0x1;let _0x4f46b4=0x1;if(_0x27a9b7['HPrLW'](isBrowserstackInfra)){const _0x1d250d=helper[_0x2c4f93(0x140)](_0x133de7[_0x2c4f93(0x178)],_0x5d34ce,constants['FRAMEWORKS'][_0x2c4f93(0x163)]);_0x1d250d[_0x2c4f93(0x109)](_0x531a7c=>{const _0x3d4aff=_0x2c4f93;helper[_0x3d4aff(0x11e)](_0x531a7c);}),helper['validPlatformsPresent'](_0x133de7[_0x2c4f93(0x178)])?_0x4f46b4=_0x27a9b7[_0x2c4f93(0x13e)](_0x5b9c11,_0x133de7[_0x2c4f93(0x178)]['platforms'][_0x2c4f93(0xf8)]):_0x4f46b4=_0x5b9c11,_0x1d250d[_0x2c4f93(0x109)](_0x3520c0=>{const _0x317e96=_0x2c4f93,_0x439ec3={'BYBtu':function(_0x472c75,_0x1003c9){const _0x4ab0e1=a2_0xc0e3;return _0x27a9b7[_0x4ab0e1(0xe8)](_0x472c75,_0x1003c9);},'jhaYu':function(_0x2c8cb0,_0x323e23){const _0x8e94a6=a2_0xc0e3;return _0x27a9b7[_0x8e94a6(0x177)](_0x2c8cb0,_0x323e23);}},_0x6dd636=_0x27a9b7[_0x317e96(0xe8)](helper[_0x317e96(0xec)](_0x3520c0,'_'),'_'+Date['now']()),_0x234cb1=((()=>{const _0xa52017=_0x317e96;if(_0x3f62d1){const _0x1e570b=pwToCodeceptBrowser[_0x3520c0[_0xa52017(0x15a)]]||_0x3520c0[_0xa52017(0x15a)];return{'browser':_0x1e570b,[_0x1e570b]:{'browserWSEndpoint':_0x439ec3[_0xa52017(0xee)](helper[_0xa52017(0x110)](_0x133de7[_0xa52017(0x178)]),_0x439ec3[_0xa52017(0x12a)](encodeURIComponent,JSON[_0xa52017(0x121)](_0x3520c0)))}};}const _0x59b1b5={};return _0x59b1b5[_0xa52017(0x167)]=_0x3520c0,_0x59b1b5;})()),_0x19467b=_0x27a9b7[_0x317e96(0xfd)](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x317e96(0x104)],_0x24a7eb]);_0xc49616[_0x6dd636]=_0x19467b?helper[_0x317e96(0x165)](_0x234cb1,_0x19467b):_0x234cb1,!_0x3f62d1&&(_0xc49616[_0x6dd636][_0x317e96(0x13b)]=_0x3520c0[_0x317e96(0x15a)]||_0x234cb1[_0x317e96(0x13b)]),_0x5cd7c8[_0x317e96(0x13a)](_0x6dd636);});}else{_0x4f46b4=0x1;if(_0x3f62d1){const _0x47788c=_0x27a9b7[_0x2c4f93(0x15f)](nestedKeyValue,_0x257a03,[_0x27a9b7['mOiqc'],_0x24a7eb,_0x27a9b7['yVdXt']]),_0x72bc20=_0x27a9b7['HYYLO'](nestedKeyValue,_0x257a03,[_0x27a9b7[_0x2c4f93(0x104)],_0x24a7eb,_0x47788c]);_0x72bc20&&_0x72bc20[_0x2c4f93(0x17c)]&&(_0x72bc20['browserWSEndpoint']=helper[_0x2c4f93(0x140)](null,null,_0x5dacd0[_0x2c4f93(0x103)](),null,null,_0x72bc20[_0x2c4f93(0x17c)]));}else _0x257a03[_0x27a9b7['mOiqc']][_0x24a7eb][_0x27a9b7['PTuOe']]=helper[_0x2c4f93(0x140)](null,null,_0x5dacd0[_0x2c4f93(0x103)](),_0x27a9b7['QUoRv'](nestedKeyValue,_0x257a03,[_0x27a9b7['mOiqc'],_0x24a7eb,_0x27a9b7['PTuOe']]),null,null);_0xc49616[_0x27a9b7['KjrZR']]=_0x257a03,_0x5cd7c8['push'](_0x27a9b7[_0x2c4f93(0x162)]);}const _0x4c9ca3={};_0x4c9ca3[_0x2c4f93(0x15b)]=_0x5ac43a;const _0x5b55f8=_0x4c9ca3,_0x40821f=path['join'](__dirname,_0x27a9b7['VWWvJ']),_0x511736=process[_0x2c4f93(0x179)]();process[_0x2c4f93(0x14d)][_0x27a9b7['nTWpt']]=_0x511736,process[_0x2c4f93(0x125)](path[_0x2c4f93(0x17a)](_0x5ac43a));const _0x50e63f=new CodeceptJS['Workers'](null,_0x5b55f8),_0x623165=_0x50e63f[_0x2c4f93(0x143)](_0x4f46b4),_0x4eda76=testOpsHelper[_0x2c4f93(0x10c)](),_0x23a533=_0x5cd7c8[_0x2c4f93(0x145)](_0x2b495e=>{const _0x27ba90=_0x2c4f93,_0xa613c={};_0xa613c[_0x27ba90(0x174)]=_0xc49616[_0x2b495e];const _0x733c={};_0x733c['WebDriver']=_0xc49616[_0x2b495e];const _0x49d09e=_0x3f62d1?_0xa613c:_0x733c,_0x2ec371=_0x27a9b7[_0x27ba90(0x139)](getO11yRerunPattern),_0x4a6b2f={};_0x4a6b2f[_0x27ba90(0x11c)]=_0x49d09e;const _0x2697b9={};_0x2697b9['require']=_0x40821f,_0x2697b9[_0x27ba90(0xef)]=!![],_0x2697b9[_0x27ba90(0x176)]=_0x133de7[_0x27ba90(0x178)][_0x27ba90(0x111)]['skipSessionName'],_0x2697b9['skipSessionStatus']=_0x133de7['config'][_0x27ba90(0x111)][_0x27ba90(0x114)],_0x2697b9[_0x27ba90(0x101)]=_0x4eda76,_0x2697b9[_0x27ba90(0x116)]=_0x5dacd0;const _0x5e9134={};_0x5e9134['BrowserStackPlugin']=_0x2697b9;const _0x26e10e={};return _0x26e10e[_0x27ba90(0x102)]=_0x5e9134,helper['mergeDeep']({},_0x257a03,_0x27a9b7['HPrLW'](isBrowserstackInfra)?_0x4a6b2f:{},_0x2ec371?{'grep':_0x2ec371}:{},_0x26e10e);});for(const _0x3464c9 of _0x23a533){for(const _0x1e6c6d of _0x623165){const _0x2cec8f=_0x50e63f[_0x2c4f93(0x134)]();_0x2cec8f[_0x2c4f93(0x142)](_0x1e6c6d),_0x2cec8f[_0x2c4f93(0x13c)](_0x3464c9);const _0x4b217d={};_0x4b217d[_0x2c4f93(0x178)]=_0x5ac43a,_0x2cec8f[_0x2c4f93(0x166)](_0x4b217d);}}_0x50e63f['on'](CodeceptJS[_0x2c4f93(0xfc)][_0x2c4f93(0x12b)][_0x2c4f93(0x148)],(_0x531ac4,_0x1cfb7f)=>{const _0x4f8424=_0x2c4f93;console['log'](_0x27a9b7[_0x4f8424(0x100)],_0x531ac4[_0x4f8424(0x14e)]);const _0x1d368f={[_0x531ac4[_0x4f8424(0x14e)]]:_0x531ac4['err'][_0x4f8424(0x11b)]};_testErrorData[_0x4f8424(0x13a)](_0x1d368f);}),_0x50e63f['on'](CodeceptJS['event'][_0x2c4f93(0x12b)][_0x2c4f93(0x13f)],async _0x9125ff=>{const _0x875a53=_0x2c4f93;console[_0x875a53(0x168)](_0x27a9b7[_0x875a53(0x11d)],_0x9125ff[_0x875a53(0x14e)]);}),_0x50e63f['on'](CodeceptJS[_0x2c4f93(0xfc)][_0x2c4f93(0x12b)][_0x2c4f93(0xed)],async _0x5ce261=>{console['log'](_0x27a9b7['lKLUd'],_0x5ce261['title']);}),_0x50e63f['on'](CodeceptJS[_0x2c4f93(0xfc)][_0x2c4f93(0x12c)][_0x2c4f93(0xf7)],async()=>{const _0x18c81a=_0x2c4f93,_0xeab221=_0x27a9b7[_0x18c81a(0x175)]['split']('|');let _0x19bc6e=0x0;while(!![]){switch(_0xeab221[_0x19bc6e++]){case'0':_0x50e63f[_0x18c81a(0x17d)]();continue;case'1':try{await TestHubHandler[_0x18c81a(0x157)]();}catch(_0x4b9d39){logger[_0x18c81a(0x136)](_0x18c81a(0x173)+util[_0x18c81a(0x15d)](_0x4b9d39));}continue;case'2':testOpsHelper[_0x18c81a(0x15e)]();continue;case'3':PerformanceTester[_0x18c81a(0xea)](PerformanceEvents[_0x18c81a(0x118)]);continue;case'4':utilities[_0x18c81a(0x171)](_0x133de7);continue;case'5':_0x133de7[_0x18c81a(0x159)]=_testErrorData;continue;}break;}});async function _0x49a11a(){const _0x1fedf2=_0x2c4f93;try{await _0x50e63f[_0x1fedf2(0x144)](),await _0x50e63f[_0x1fedf2(0xfb)]();}finally{process[_0x1fedf2(0x125)](_0x511736),await _0x50e63f[_0x1fedf2(0xff)]();}}PerformanceTester['end'](PerformanceEvents[_0x2c4f93(0x113)]),_0x27a9b7[_0x2c4f93(0x10b)](_0x49a11a);}module[a2_0x5888f7(0xf0)]=run;
2
+ 'use strict';const a2_0x192a51=a2_0x598e;(function(_0x213589,_0x17894e){const _0x4e020f=a2_0x598e,_0x24d2db=_0x213589();while(!![]){try{const _0x5f2bd7=parseInt(_0x4e020f(0x1f9))/0x1*(parseInt(_0x4e020f(0x1ef))/0x2)+-parseInt(_0x4e020f(0x20f))/0x3*(parseInt(_0x4e020f(0x1b7))/0x4)+-parseInt(_0x4e020f(0x189))/0x5+parseInt(_0x4e020f(0x1bd))/0x6*(parseInt(_0x4e020f(0x1d6))/0x7)+-parseInt(_0x4e020f(0x19d))/0x8*(-parseInt(_0x4e020f(0x1da))/0x9)+-parseInt(_0x4e020f(0x1fc))/0xa+parseInt(_0x4e020f(0x188))/0xb*(-parseInt(_0x4e020f(0x1dd))/0xc);if(_0x5f2bd7===_0x17894e)break;else _0x24d2db['push'](_0x24d2db['shift']());}catch(_0x10d462){_0x24d2db['push'](_0x24d2db['shift']());}}}(a2_0x18ab,0x6e38c));const fs=require('fs'),path=require('path'),util=require(a2_0x192a51(0x1d7)),process=require('process'),logger=require(a2_0x192a51(0x214))[a2_0x192a51(0x1f7)],{default:BrowserStackSetup}=require(a2_0x192a51(0x1cd)),helper=require('../../helpers/helper'),utilities=require(a2_0x192a51(0x1e1)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('../../bin/playwright/accessibility-helper'),{requireModule,nestedKeyValue,isBrowserstackInfra}=require('../../helpers/helper'),CodeceptJS=requireModule(a2_0x192a51(0x1de),'codeceptjs'),testOpsHelper=require(a2_0x192a51(0x1c0)),TestHubHandler=require(a2_0x192a51(0x1d8)),constants=require(a2_0x192a51(0x196)),PerformanceTester=require('../../helpers/performance/performance-tester'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceEvents=require(a2_0x192a51(0x1db))[a2_0x192a51(0x207)],_testErrorData=[],getUserCodeceptJSConfigs=(_0x410aab,_0x199b6e)=>{const _0xf4fe10=a2_0x192a51,_0x4bcf5d={};_0x4bcf5d[_0xf4fe10(0x203)]=function(_0x1a6926,_0x4a21b2){return _0x1a6926===_0x4a21b2;},_0x4bcf5d[_0xf4fe10(0x1e6)]=_0xf4fe10(0x1e3),_0x4bcf5d[_0xf4fe10(0x1b2)]=_0xf4fe10(0x1af);const _0x206f14=_0x4bcf5d;let _0x5f06c2=null;const _0x1d5ab9={};let _0xe4c0d8=_0x199b6e['findIndex'](_0x4ee1f6=>_0x4ee1f6===_0xf4fe10(0x1ec));_0x206f14[_0xf4fe10(0x203)](_0xe4c0d8,-0x1)&&(_0xe4c0d8=_0x199b6e['findIndex'](_0x34be09=>_0x34be09==='-c'));if(!helper['isUndefined'](_0x410aab[_0xf4fe10(0x1a9)])&&fs[_0xf4fe10(0x1a5)](path['join'](process[_0xf4fe10(0x19a)](),_0x410aab[_0xf4fe10(0x1a9)])))_0x5f06c2=path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x410aab['config']),_0x199b6e[_0xf4fe10(0x206)](_0xe4c0d8,0x2);else{if(!helper['isUndefined'](_0x410aab['c'])&&fs['existsSync'](path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x410aab['c'])))_0x5f06c2=path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x410aab['c']),_0x199b6e[_0xf4fe10(0x206)](_0xe4c0d8,0x2);else{if(fs['existsSync'](path['join'](process[_0xf4fe10(0x19a)](),_0x206f14[_0xf4fe10(0x1e6)])))_0x5f06c2=path[_0xf4fe10(0x1d5)](process['cwd'](),_0x206f14['Ewkmg']);else fs[_0xf4fe10(0x1a5)](path['join'](process['cwd'](),_0x206f14[_0xf4fe10(0x1b2)]))&&(_0x5f06c2=path[_0xf4fe10(0x1d5)](process[_0xf4fe10(0x19a)](),_0x206f14[_0xf4fe10(0x1b2)]));}}return process[_0xf4fe10(0x1d3)][_0xf4fe10(0x190)]=_0x5f06c2,_0x5f06c2;},getO11yRerunPattern=()=>{const _0x1cd6b3=a2_0x192a51,_0x1ecdaa=helper['isTrue'](process[_0x1cd6b3(0x1d3)][_0x1cd6b3(0x1c1)]);if(_0x1ecdaa){const _0x562457=process['env'][_0x1cd6b3(0x200)],_0x4a557b=[];if(helper[_0x1cd6b3(0x1c2)](_0x562457)&&!helper[_0x1cd6b3(0x208)](_0x562457)){_0x562457[_0x1cd6b3(0x193)](',')[_0x1cd6b3(0x1fd)](_0x1a579c=>{const _0x1d3f2f=_0x1cd6b3;_0x4a557b[_0x1d3f2f(0x1f0)]('('+_0x1a579c[_0x1d3f2f(0x21b)]()+')');});const _0x8525bb='^'+_0x4a557b[_0x1cd6b3(0x1d5)]('|')+'$';return _0x8525bb;}}return null;},a2_0x1a249e={};a2_0x1a249e[a2_0x192a51(0x1a6)]='chromium',a2_0x1a249e['playwright-chromium']='chromium',a2_0x1a249e[a2_0x192a51(0x1b8)]=a2_0x192a51(0x1dc),a2_0x1a249e[a2_0x192a51(0x1e2)]=a2_0x192a51(0x18c);const pwToCodeceptBrowser=a2_0x1a249e;async function run(_0x5f2959,_0x4b03dc,_0x5b4da3){const _0x1c607c=a2_0x192a51,_0x28ab46={'GLenW':function(_0x2c1938,_0x575ea2){return _0x2c1938+_0x575ea2;},'UDCAa':function(_0xe63cfa,_0x1a7d20){return _0xe63cfa(_0x1a7d20);},'qITIy':function(_0x30ca86,_0x5ca1bc,_0x181797){return _0x30ca86(_0x5ca1bc,_0x181797);},'XKLCt':_0x1c607c(0x1f6),'hBpFM':function(_0x1ec22f){return _0x1ec22f();},'wOMMC':_0x1c607c(0x1ed),'QIkal':_0x1c607c(0x19f),'PthDh':_0x1c607c(0x19e),'hgRQy':'3|1|2|5|4|0','NJKbu':function(_0xf50736,_0x5ed0c2,_0x45c52e){return _0xf50736(_0x5ed0c2,_0x45c52e);},'fGXNb':_0x1c607c(0x215),'aIttc':function(_0x19d812,_0x235243,_0x5ed8b8){return _0x19d812(_0x235243,_0x5ed8b8);},'JbUGQ':'Playwright','UzJZN':_0x1c607c(0x211),'BWpMP':function(_0x1d9aad,_0x32dbe7){return _0x1d9aad!=_0x32dbe7;},'qbQvm':function(_0x4d6bfb,_0x5f50ea){return _0x4d6bfb===_0x5f50ea;},'ITgwR':function(_0x282e9,_0x4df9d8,_0x261deb){return _0x282e9(_0x4df9d8,_0x261deb);},'Annfb':_0x1c607c(0x1a8),'vKVIo':function(_0x7eee40){return _0x7eee40();},'RDZMC':function(_0x31ceae,_0x3e2a74){return _0x31ceae*_0x3e2a74;},'TyJzt':'browser','KpBZz':_0x1c607c(0x198),'cmuuu':'root','SCqAf':_0x1c607c(0x1fb),'xRhKd':_0x1c607c(0x18d)};await _0x5b4da3[_0x1c607c(0x18b)](_0x5f2959),await helper[_0x1c607c(0x1d1)](_0x5b4da3['config']);if(!_0x5b4da3['config'])return;process['profile']=_0x5f2959['profile'];_0x5f2959[_0x1c607c(0x1fe)]&&(process['env'][_0x1c607c(0x1fe)]=_0x5f2959[_0x1c607c(0x1fe)]);const _0xc42d9b=_0x28ab46[_0x1c607c(0x1e8)](getUserCodeceptJSConfigs,_0x5f2959,_0x4b03dc);let _0xe316eb={};_0xc42d9b?(logger['info'](_0x1c607c(0x1d2)+_0xc42d9b),_0xe316eb=CodeceptJS[_0x1c607c(0x1a9)]['load'](_0xc42d9b)):logger['info'](_0x28ab46[_0x1c607c(0x20d)]);let _0x2e9b17=![];_0x28ab46[_0x1c607c(0x194)](nestedKeyValue,_0xe316eb,[_0x28ab46['XKLCt'],_0x28ab46[_0x1c607c(0x1b4)]])&&(_0x2e9b17=!![]);const _0x507fee=_0x2e9b17?_0x28ab46[_0x1c607c(0x1b4)]:_0x28ab46['UzJZN'];let _0x262de6=!_0x2e9b17?helper[_0x1c607c(0x1a1)](_0x5b4da3[_0x1c607c(0x1a9)]):![];!helper[_0x1c607c(0x208)](_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1f1)])&&(process['env'][_0x1c607c(0x1b6)]=JSON[_0x1c607c(0x218)](_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1f1)]));let _0x28c21b=_0x5b4da3[_0x1c607c(0x1a9)]['accessibility'];_0x28c21b=_0x28c21b||_0x28ab46['UDCAa'](checkAccessibilityPlatformConfig,_0x5b4da3[_0x1c607c(0x1a9)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x28c21b;_0x28c21b&&(_0x262de6=!_0x28c21b);_0x28ab46['BWpMP'](_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x18a)],null)?process[_0x1c607c(0x1d3)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x18a)]:process[_0x1c607c(0x1d3)][_0x1c607c(0x210)]=_0x28ab46[_0x1c607c(0x191)](_0x507fee,_0x28ab46[_0x1c607c(0x1b4)]);const _0x1c180e=_0x28ab46[_0x1c607c(0x1c3)](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x1c607c(0x1a2)]]),_0xd7b40=_0x1c180e&&!helper[_0x1c607c(0x1df)](_0x1c180e)?FRAMEWORKS[_0x1c607c(0x1e5)]:FRAMEWORKS[_0x1c607c(0x19b)],_0x3f781e=await TestHubHandler[_0x1c607c(0x18f)](_0xd7b40,_0x5b4da3);_0x28c21b&&_0x28ab46[_0x1c607c(0x1bb)](setAccessibilityCapabilities,_0x5b4da3[_0x1c607c(0x1a9)]);const _0x2f6cba={},_0xa65470=[],_0x53015d=_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1cf)]||helper[_0x1c607c(0x187)](_0x5f2959,_0x4b03dc,_0x5b4da3[_0x1c607c(0x1a9)],constants[_0x1c607c(0x1c9)][_0x1c607c(0x19b)])||0x1;let _0x3bcf11=0x1;if(_0x28ab46['vKVIo'](isBrowserstackInfra)){const _0x453df2=helper['prepareCapabilities'](_0x5b4da3[_0x1c607c(0x1a9)],_0x262de6,constants[_0x1c607c(0x1c9)]['CODECEPT']);_0x453df2[_0x1c607c(0x1c8)](_0x13156b=>{helper['setAdditionalCapabilities'](_0x13156b);}),helper[_0x1c607c(0x1ba)](_0x5b4da3[_0x1c607c(0x1a9)])?_0x3bcf11=_0x28ab46[_0x1c607c(0x1a7)](_0x53015d,_0x5b4da3[_0x1c607c(0x1a9)][_0x1c607c(0x1b0)][_0x1c607c(0x20b)]):_0x3bcf11=_0x53015d,_0x453df2[_0x1c607c(0x1c8)](_0x290a54=>{const _0x46eb6d=_0x1c607c,_0x31faee=_0x28ab46[_0x46eb6d(0x1b9)](helper[_0x46eb6d(0x1c7)](_0x290a54,'_'),'_'+Date[_0x46eb6d(0x1d9)]()),_0x836a7b=((()=>{const _0x2adb26=_0x46eb6d;if(_0x2e9b17){const _0x26aa97=pwToCodeceptBrowser[_0x290a54[_0x2adb26(0x1ad)]]||_0x290a54[_0x2adb26(0x1ad)];return{'browser':_0x26aa97,[_0x26aa97]:{'browserWSEndpoint':_0x28ab46[_0x2adb26(0x1b9)](helper[_0x2adb26(0x1f5)](_0x5b4da3['config']),_0x28ab46[_0x2adb26(0x1bb)](encodeURIComponent,JSON['stringify'](_0x290a54)))}};}const _0x4a18be={};return _0x4a18be[_0x2adb26(0x198)]=_0x290a54,_0x4a18be;})()),_0x4ca513=_0x28ab46[_0x46eb6d(0x1be)](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x46eb6d(0x1ab)],_0x507fee]);_0x2f6cba[_0x31faee]=_0x4ca513?helper[_0x46eb6d(0x197)](_0x836a7b,_0x4ca513):_0x836a7b,!_0x2e9b17&&(_0x2f6cba[_0x31faee][_0x46eb6d(0x1f2)]=_0x290a54[_0x46eb6d(0x1ad)]||_0x836a7b['browser']),_0xa65470['push'](_0x31faee);});}else{_0x3bcf11=0x1;if(_0x2e9b17){const _0x1e4b07=_0x28ab46['NJKbu'](nestedKeyValue,_0xe316eb,[_0x28ab46['XKLCt'],_0x507fee,_0x28ab46[_0x1c607c(0x199)]]),_0x4a4bf0=_0x28ab46['NJKbu'](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x1c607c(0x1ab)],_0x507fee,_0x1e4b07]);_0x4a4bf0&&_0x4a4bf0['browserWSEndpoint']&&(_0x4a4bf0[_0x1c607c(0x1b3)]=helper['prepareCapabilities'](null,null,_0xd7b40[_0x1c607c(0x20c)](),null,null,_0x4a4bf0[_0x1c607c(0x1b3)]));}else _0xe316eb[_0x28ab46[_0x1c607c(0x1ab)]][_0x507fee][_0x28ab46[_0x1c607c(0x217)]]=helper['prepareCapabilities'](null,null,_0xd7b40['toLowerCase'](),_0x28ab46[_0x1c607c(0x1e8)](nestedKeyValue,_0xe316eb,[_0x28ab46[_0x1c607c(0x1ab)],_0x507fee,_0x28ab46[_0x1c607c(0x217)]]),null,null);_0x2f6cba[_0x28ab46[_0x1c607c(0x1b5)]]=_0xe316eb,_0xa65470['push'](_0x28ab46[_0x1c607c(0x1b5)]);}const _0x59591f={};_0x59591f[_0x1c607c(0x1ac)]=_0xc42d9b;const _0x2c442b=_0x59591f,_0x156e3c=path[_0x1c607c(0x1d5)](__dirname,_0x28ab46[_0x1c607c(0x1a0)]),_0x4db524=process['cwd']();process[_0x1c607c(0x1d3)][_0x28ab46[_0x1c607c(0x20a)]]=_0x4db524,process[_0x1c607c(0x1eb)](path[_0x1c607c(0x1a4)](_0xc42d9b));const _0x32c035=new CodeceptJS[(_0x1c607c(0x1cb))](null,_0x2c442b),_0x4e5e66=_0x32c035[_0x1c607c(0x201)](_0x3bcf11),_0x535358=testOpsHelper[_0x1c607c(0x1f3)](),_0x49cc2e=_0xa65470[_0x1c607c(0x1fd)](_0x27f140=>{const _0x2a3f14=_0x1c607c,_0xc00420={};_0xc00420[_0x2a3f14(0x209)]=_0x2f6cba[_0x27f140];const _0x3ce78d={};_0x3ce78d[_0x2a3f14(0x211)]=_0x2f6cba[_0x27f140];const _0x3afe1f=_0x2e9b17?_0xc00420:_0x3ce78d,_0x2b60ab=_0x28ab46[_0x2a3f14(0x1d0)](getO11yRerunPattern),_0x42fb7b={};_0x42fb7b['helpers']=_0x3afe1f;const _0x411b2b={};_0x411b2b[_0x2a3f14(0x1ff)]=_0x156e3c,_0x411b2b[_0x2a3f14(0x1e4)]=!![],_0x411b2b[_0x2a3f14(0x1aa)]=_0x5b4da3[_0x2a3f14(0x1a9)][_0x2a3f14(0x1ca)][_0x2a3f14(0x1aa)],_0x411b2b[_0x2a3f14(0x1cc)]=_0x5b4da3[_0x2a3f14(0x1a9)][_0x2a3f14(0x1ca)]['skipSessionStatus'],_0x411b2b[_0x2a3f14(0x18a)]=_0x535358,_0x411b2b[_0x2a3f14(0x202)]=_0xd7b40;const _0x4c3c5a={};_0x4c3c5a[_0x2a3f14(0x1f4)]=_0x411b2b;const _0x365b3e={};return _0x365b3e[_0x2a3f14(0x1bf)]=_0x4c3c5a,helper['mergeDeep']({},_0xe316eb,_0x28ab46['hBpFM'](isBrowserstackInfra)?_0x42fb7b:{},_0x2b60ab?{'grep':_0x2b60ab}:{},_0x365b3e);});for(const _0x4d60b3 of _0x49cc2e){for(const _0x1cf4e3 of _0x4e5e66){const _0x33f0e1=_0x32c035[_0x1c607c(0x219)]();_0x33f0e1[_0x1c607c(0x1ee)](_0x1cf4e3),_0x33f0e1['addConfig'](_0x4d60b3);const _0x412acb={};_0x412acb['config']=_0xc42d9b,_0x33f0e1['addOptions'](_0x412acb);}}_0x32c035['on'](CodeceptJS['event']['test'][_0x1c607c(0x18e)],(_0x419b76,_0xad956)=>{const _0x4dbb5f=_0x1c607c;console[_0x4dbb5f(0x1e7)](_0x28ab46['wOMMC'],_0x419b76[_0x4dbb5f(0x212)]);const _0x330757={[_0x419b76[_0x4dbb5f(0x212)]]:_0x419b76['err'][_0x4dbb5f(0x1c4)]};_testErrorData['push'](_0x330757);}),_0x32c035['on'](CodeceptJS[_0x1c607c(0x1ae)][_0x1c607c(0x1d4)]['passed'],async _0x2a0045=>{const _0x5f05de=_0x1c607c;console[_0x5f05de(0x1e7)](_0x28ab46[_0x5f05de(0x192)],_0x2a0045[_0x5f05de(0x212)]);}),_0x32c035['on'](CodeceptJS[_0x1c607c(0x1ae)]['test'][_0x1c607c(0x1ce)],async _0x178683=>{const _0x3cbc44=_0x1c607c;console[_0x3cbc44(0x1e7)](_0x28ab46['PthDh'],_0x178683[_0x3cbc44(0x212)]);}),_0x32c035['on'](CodeceptJS[_0x1c607c(0x1ae)][_0x1c607c(0x213)][_0x1c607c(0x216)],async()=>{const _0x5ab1bc=_0x1c607c,_0x3e28f8=_0x28ab46[_0x5ab1bc(0x20e)][_0x5ab1bc(0x193)]('|');let _0x2e8197=0x0;while(!![]){switch(_0x3e28f8[_0x2e8197++]){case'0':_0x32c035[_0x5ab1bc(0x21a)]();continue;case'1':_0x5b4da3[_0x5ab1bc(0x21c)]=_testErrorData;continue;case'2':testOpsHelper[_0x5ab1bc(0x1bc)]();continue;case'3':PerformanceTester[_0x5ab1bc(0x1a3)](PerformanceEvents[_0x5ab1bc(0x1c5)]);continue;case'4':try{await TestHubHandler[_0x5ab1bc(0x204)]();}catch(_0x240401){logger['debug'](_0x5ab1bc(0x1e9)+util[_0x5ab1bc(0x195)](_0x240401));}continue;case'5':utilities[_0x5ab1bc(0x1c6)](_0x5b4da3);continue;}break;}});async function _0x38e9cb(){const _0x11f999=_0x1c607c;try{await _0x32c035[_0x11f999(0x19c)](),await _0x32c035[_0x11f999(0x1ea)]();}finally{process[_0x11f999(0x1eb)](_0x4db524),await _0x32c035[_0x11f999(0x205)]();}}PerformanceTester[_0x1c607c(0x1e0)](PerformanceEvents[_0x1c607c(0x1f8)]),_0x28ab46[_0x1c607c(0x1b1)](_0x38e9cb);}function a2_0x598e(_0xdf5345,_0x4525f){const _0x18ab40=a2_0x18ab();return a2_0x598e=function(_0x598ee5,_0x34cfb5){_0x598ee5=_0x598ee5-0x187;let _0xa402e0=_0x18ab40[_0x598ee5];return _0xa402e0;},a2_0x598e(_0xdf5345,_0x4525f);}function a2_0x18ab(){const _0x2b953b=['BROWSERSTACK_RERUN','validateRerunTestList','ITgwR','stack','SDK_CLEANUP','finalExecution','getPlatformName','forEach','FRAMEWORKS','testContextOptions','Workers','skipSessionStatus','../../helpers/BrowserStackSetup','before','parallelsPerPlatform','hBpFM','handleApp','Getting\x20your\x20codeceptjs\x20configs\x20from\x20','env','test','join','6167finxMN','util','../../helpers/testhub/testhubHandler','now','1503nucydA','../../helpers/performance/constants','firefox','203208hYufGp','codeceptjs/lib/index.js','isEmpty','end','../../helpers/utilities','playwright-webkit','codecept.conf.js','enabled','CODECEPT_CUCUMBER','Ewkmg','log','NJKbu','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','run','chdir','--config','Failed\x20:\x20','addTests','48574YWnQds','push','accessibilityOptions','browser','isTestObservabilitySession','BrowserStackPlugin','getPlaywrightUrl','helpers','winstonLogger','SDK_SETUP','16GWMbiF','exports','BrowserStackPlugin.js','3231030XZgDGe','map','profile','require','BROWSERSTACK_RERUN_TESTS','createGroupsOfSuites','frameworkName','AvdNz','stop','teardownAll','slice','EVENTS','isUndefined','Playwright','xRhKd','length','toLowerCase','fGXNb','hgRQy','33lRDBPZ','BROWSERSTACK_TEST_OBSERVABILITY_YML','WebDriver','title','all','../../helpers/logger','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','result','KpBZz','stringify','spawn','printResults','trim','errorMessage','getUserWorkerCount','231ayjLKu','682095MptUHp','testObservability','initialize','webkit','browserStackCwd','failed','launchBuild','USER_CONFIG_DETAILS_PATH','qbQvm','QIkal','split','aIttc','format','../utils/constants','mergeDeep','desiredCapabilities','TyJzt','cwd','CODECEPT','bootstrapAll','42392HYfxfF','Started\x20:\x20','Passed\x20:\x20','SCqAf','useW3C','Annfb','start','dirname','existsSync','chrome','RDZMC','gherkin','config','skipSessionName','XKLCt','testConfig','browserName','event','codecept.json','platforms','vKVIo','gWGnC','browserWSEndpoint','JbUGQ','cmuuu','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','86452bsskTO','playwright-firefox','GLenW','validPlatformsPresent','UDCAa','printBuildLink','1572yfjjlZ','qITIy','plugins','../../helpers/test-observability/utils'];a2_0x18ab=function(){return _0x2b953b;};return a2_0x18ab();}module[a2_0x192a51(0x1fa)]=run;
@@ -1 +1 @@
1
- const a3_0x247e34=a3_0x5bcc;(function(_0x2b76fa,_0x46a840){const _0x2051b9=a3_0x5bcc,_0x1b9169=_0x2b76fa();while(!![]){try{const _0x306b9e=parseInt(_0x2051b9(0x1ca))/0x1+-parseInt(_0x2051b9(0x1fa))/0x2+parseInt(_0x2051b9(0x1df))/0x3*(parseInt(_0x2051b9(0x1c1))/0x4)+-parseInt(_0x2051b9(0x1b9))/0x5*(-parseInt(_0x2051b9(0x1e5))/0x6)+parseInt(_0x2051b9(0x1e3))/0x7*(-parseInt(_0x2051b9(0x1db))/0x8)+parseInt(_0x2051b9(0x1ba))/0x9*(parseInt(_0x2051b9(0x1f4))/0xa)+parseInt(_0x2051b9(0x1dd))/0xb;if(_0x306b9e===_0x46a840)break;else _0x1b9169['push'](_0x1b9169['shift']());}catch(_0x1f7fb8){_0x1b9169['push'](_0x1b9169['shift']());}}}(a3_0x589d,0xc6973));const {isUndefined,nestedKeyValue}=require(a3_0x247e34(0x1bb)),logger=require(a3_0x247e34(0x1d2))['winstonLogger'],PlaywrightSessionDetails=require('../../bin/playwright/sessionDetails'),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{getObservabilityLinkedProductName}=require(a3_0x247e34(0x1b6)),getOSVersionFromCaps=_0x8cbc99=>{const _0x44067a=a3_0x247e34,_0x3cf636={};_0x3cf636[_0x44067a(0x1d3)]=_0x44067a(0x1cc),_0x3cf636[_0x44067a(0x1bc)]='platformVersion',_0x3cf636[_0x44067a(0x1d7)]='platform_version',_0x3cf636[_0x44067a(0x1f2)]=_0x44067a(0x1fb),_0x3cf636['pwejS']=_0x44067a(0x1e8);const _0x5435ef=_0x3cf636;if(!_0x8cbc99)return null;const _0x5f44e4=_0x8cbc99[_0x5435ef[_0x44067a(0x1d3)]],_0x3f6d3d=[_0x5435ef[_0x44067a(0x1bc)],_0x5435ef['vSBZu'],_0x5435ef[_0x44067a(0x1f2)],_0x5435ef['pwejS']];for(const _0x333514 of _0x3f6d3d){if(_0x5f44e4&&_0x5f44e4[_0x333514])return _0x5f44e4[_0x333514];else{if(_0x8cbc99[_0x333514])return _0x8cbc99[_0x333514];}}return null;};function a3_0x5bcc(_0x421fc0,_0xc05f9f){const _0x589d25=a3_0x589d();return a3_0x5bcc=function(_0x5bccd0,_0x42acc2){_0x5bccd0=_0x5bccd0-0x1b5;let _0x53a418=_0x589d25[_0x5bccd0];return _0x53a418;},a3_0x5bcc(_0x421fc0,_0xc05f9f);}function a3_0x589d(){const _0x32d41e=['name','16ZAChnI','yPAtr','1521707CBIjvK','platformName','26184ThFYCW','XWTrL','browserWSEndpoint','mykJN','1870561PwLtzG','constructor','846774KmFqGB','shouldPatchExecuteScript','LgYWA','os_version','NXVtw','ifqlK','platform_version','WebDriver','LRTvA','yQfXy','qFhxJ','bsSessionId','wzvvq','yMVYv','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','313770HNuUew','accessibilityPlatform','unknown_grid','hVNKt','YKZDe','Oyrae','2078332Wvqjae','osVersion','playwright-chromium','NlOzF','__cloud_provider___','QEWuJ','ZXBli','includes','OXAHl','getDetails','processWebDriverConfig','../../helpers/test-observability/utils','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','capabilities','35Ljsaar','162tuXAIW','../../helpers/helper','gBzij','Playwright','parse','platform','browser','108iDmyMs','nbELd','warn','browserName','desiredCapabilities','platformVersion','deviceName','searchParams','sessionId','460357sMfdkX','config','bstack:options','QRPgw','srUlR','browserstack_executor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserVersion','../../helpers/logger','UBiqi','browser_version','fetchPlatformDetails','get','vSBZu','cloudProvider','Igzgl'];a3_0x589d=function(){return _0x32d41e;};return a3_0x589d();}exports[a3_0x247e34(0x1d5)]=_0x4bcfbb=>{const _0x195be4=a3_0x247e34,_0x279c5d={'yPAtr':_0x195be4(0x1f6),'NXVtw':function(_0x52e93a,_0x2e22d8){return _0x52e93a===_0x2e22d8;},'MyIyW':_0x195be4(0x1ec),'qFhxJ':function(_0x3d4ed5,_0x39bbd4){return _0x3d4ed5(_0x39bbd4);},'XWTrL':function(_0x3e3c8a,_0x5cbde2,_0x38d6dd){return _0x3e3c8a(_0x5cbde2,_0x38d6dd);},'YKnxA':_0x195be4(0x1cb),'Oyrae':_0x195be4(0x1c5),'NlOzF':function(_0x2d183b,_0x20d74e){return _0x2d183b===_0x20d74e;},'SWRkM':_0x195be4(0x1bd),'OXAHl':function(_0x6031fd,_0x480b02,_0x4f61cf){return _0x6031fd(_0x480b02,_0x4f61cf);},'mykJN':_0x195be4(0x1c0),'wzvvq':_0x195be4(0x1e1),'ZXBli':'caps','Igzgl':function(_0x1bc9c0,_0x1a5987){return _0x1bc9c0(_0x1a5987);}};if(!_0x4bcfbb)return null;let _0x1ef466=global[_0x195be4(0x1fe)]||_0x279c5d[_0x195be4(0x1dc)];if(_0x279c5d[_0x195be4(0x1e9)](_0x4bcfbb[_0x195be4(0x1e4)][_0x195be4(0x1da)],_0x279c5d['MyIyW'])){const _0x236725=_0x4bcfbb[_0x195be4(0x1c0)];if(!_0x236725)return null;const _0x24206a=_0x236725['capabilities'],_0x825eb8=_0x279c5d[_0x195be4(0x1ef)](getOSVersionFromCaps,_0x279c5d[_0x195be4(0x1e0)](nestedKeyValue,_0x4bcfbb,[_0x279c5d['YKnxA'],_0x279c5d[_0x195be4(0x1f9)]]));return{[_0x1ef466]:{'browser':_0x24206a[_0x195be4(0x1c4)],'browser_version':_0x24206a['browserVersion'],'capabilities':_0x24206a,'platform':_0x24206a[_0x195be4(0x1de)],'platform_version':_0x24206a[_0x195be4(0x1c6)]||_0x825eb8,'product':_0x279c5d[_0x195be4(0x1ef)](getObservabilityLinkedProductName,_0x24206a),'session_id':_0x236725[_0x195be4(0x1c9)]}};}else{if(_0x279c5d[_0x195be4(0x1fd)](_0x4bcfbb['constructor'][_0x195be4(0x1da)],_0x279c5d['SWRkM'])){const _0x39523c=PlaywrightSessionDetails[_0x195be4(0x203)]();_0x1ef466=_0x39523c[_0x195be4(0x1d8)]||_0x1ef466;const _0x2139db=_0x279c5d[_0x195be4(0x202)](nestedKeyValue,_0x4bcfbb,[_0x279c5d['YKnxA'],_0x279c5d[_0x195be4(0x1e2)],_0x279c5d[_0x195be4(0x1f1)]]),_0x4b6fb9=_0x2139db?JSON[_0x195be4(0x1be)](new URL(_0x2139db)[_0x195be4(0x1c8)][_0x195be4(0x1d6)](_0x279c5d[_0x195be4(0x200)])):{};return{[_0x1ef466]:{'browser':_0x39523c[_0x195be4(0x1c0)]||_0x4b6fb9[_0x195be4(0x1c4)],'browser_version':_0x39523c[_0x195be4(0x1d4)]||_0x4b6fb9[_0x195be4(0x1d4)],'capabilities':_0x4b6fb9,'platform':_0x39523c[_0x195be4(0x1bf)],'platform_version':_0x39523c[_0x195be4(0x1eb)],'product':_0x279c5d[_0x195be4(0x1d9)](getObservabilityLinkedProductName,_0x4b6fb9),'session_id':_0x39523c[_0x195be4(0x1f0)]}};}}},exports[a3_0x247e34(0x1b5)]=_0x18ff2a=>{const _0x33c2a1=a3_0x247e34,_0x4f3fe4={'ifqlK':function(_0x147e17){return _0x147e17();},'nbELd':function(_0x4f8326,_0x1d3b3d){return _0x4f8326===_0x1d3b3d;},'amram':'latest','LRTvA':function(_0x376fa4,_0x27aa36){return _0x376fa4>_0x27aa36;},'yQfXy':function(_0x5a93b4,_0x5f3fa3){return _0x5a93b4(_0x5f3fa3);},'ziHen':_0x33c2a1(0x1d0),'QEWuJ':'chrome','hVNKt':function(_0x5b0454,_0x4c9fc3){return _0x5b0454===_0x4c9fc3;},'LgYWA':_0x33c2a1(0x1fc),'fpBBF':_0x33c2a1(0x1b7),'srUlR':_0x33c2a1(0x1f3)};if(_0x4f3fe4[_0x33c2a1(0x1ea)](isAccessibilityAutomationSession)){const _0x10bf97=_0x18ff2a[_0x33c2a1(0x1c0)],_0x5f78b4=_0x10bf97[_0x33c2a1(0x1b8)];global[_0x33c2a1(0x1f5)]=!![],!(_0x4f3fe4[_0x33c2a1(0x1c2)](_0x5f78b4[_0x33c2a1(0x1d1)],_0x4f3fe4['amram'])||_0x4f3fe4[_0x33c2a1(0x1ed)](_0x4f3fe4['yQfXy'](parseInt,_0x5f78b4[_0x33c2a1(0x1d1)]),0x5e))&&(logger[_0x33c2a1(0x1c3)](_0x4f3fe4['ziHen']),global['accessibilityPlatform']=![]),!(_0x4f3fe4[_0x33c2a1(0x1c2)](_0x5f78b4[_0x33c2a1(0x1c4)],_0x4f3fe4[_0x33c2a1(0x1ff)])||_0x4f3fe4[_0x33c2a1(0x1f7)](_0x5f78b4[_0x33c2a1(0x1c4)],_0x4f3fe4[_0x33c2a1(0x1e7)]))&&(logger[_0x33c2a1(0x1c3)](_0x4f3fe4['fpBBF']),global['accessibilityPlatform']=![]),!_0x4f3fe4[_0x33c2a1(0x1ee)](isUndefined,_0x5f78b4[_0x33c2a1(0x1c7)])&&(logger['warn'](_0x4f3fe4[_0x33c2a1(0x1ce)]),global[_0x33c2a1(0x1f5)]=![]);}},exports[a3_0x247e34(0x1e6)]=_0x239a5b=>{const _0x291561=a3_0x247e34,_0x41701d={};_0x41701d[_0x291561(0x1cd)]=_0x291561(0x1cf),_0x41701d[_0x291561(0x1f8)]='browserstack_accessibility_automation_script';const _0x2383ed=_0x41701d;if(!_0x239a5b)return![];return!_0x239a5b[_0x291561(0x201)](_0x2383ed['QRPgw'])&&!_0x239a5b[_0x291561(0x201)](_0x2383ed[_0x291561(0x1f8)]);};
1
+ function a3_0x3c09(_0x439b31,_0x39a18a){const _0x32c6b3=a3_0x32c6();return a3_0x3c09=function(_0x3c095f,_0x139185){_0x3c095f=_0x3c095f-0x174;let _0xa0647a=_0x32c6b3[_0x3c095f];return _0xa0647a;},a3_0x3c09(_0x439b31,_0x39a18a);}const a3_0x470c4a=a3_0x3c09;(function(_0x21188f,_0x341e7d){const _0x68d1ed=a3_0x3c09,_0x5ebdae=_0x21188f();while(!![]){try{const _0x1a3ec3=-parseInt(_0x68d1ed(0x181))/0x1+parseInt(_0x68d1ed(0x17f))/0x2*(parseInt(_0x68d1ed(0x1a3))/0x3)+parseInt(_0x68d1ed(0x1c1))/0x4+parseInt(_0x68d1ed(0x18c))/0x5*(parseInt(_0x68d1ed(0x1ae))/0x6)+parseInt(_0x68d1ed(0x1bf))/0x7+-parseInt(_0x68d1ed(0x195))/0x8*(-parseInt(_0x68d1ed(0x18e))/0x9)+-parseInt(_0x68d1ed(0x1b9))/0xa;if(_0x1a3ec3===_0x341e7d)break;else _0x5ebdae['push'](_0x5ebdae['shift']());}catch(_0x56f09c){_0x5ebdae['push'](_0x5ebdae['shift']());}}}(a3_0x32c6,0xb7f8c));function a3_0x32c6(){const _0x2f650b=['searchParams','WeoOG','ZhUwY','platformName','unknown_grid','../../helpers/helper','lfLqh','WebDriver','6nyaNXh','includes','browserVersion','qwKVY','config','OlNBM','AmfiF','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserstack_accessibility_automation_script','FiZcK','aQAWF','7069950bdfWSB','processWebDriverConfig','rWAHI','desiredCapabilities','WFops','capabilities','2225993GfsnSA','platformVersion','2027016SOTiye','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','HGwDE','getDetails','taemP','LnUXx','parse','ulbBU','caps','playwright-chromium','cloudProvider','browser_version','latest','__cloud_provider___','514fsvomC','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','924233rqfuEj','Playwright','accessibilityPlatform','VIlXw','BIAxF','lvtNF','bstack:options','platform_version','browserName','UqShp','MSbKY','47165NKOkws','YPNHr','27ypopiz','browser','etQyQ','../../bin/playwright/sessionDetails','browserstack_executor','../../helpers/test-observability/utils','winstonLogger','3516736xtzbbE','sessionId','name','otlOV','warn','GGojn','osVersion','../../helpers/accessibility-automation/helper','JDhCQ','TxiIZ','../../helpers/logger','constructor','BEvcA','get','2706MKwcEs','WGRue','XzbxQ'];a3_0x32c6=function(){return _0x2f650b;};return a3_0x32c6();}const {isUndefined,nestedKeyValue}=require(a3_0x470c4a(0x1ab)),logger=require(a3_0x470c4a(0x19f))[a3_0x470c4a(0x194)],PlaywrightSessionDetails=require(a3_0x470c4a(0x191)),{isAccessibilityAutomationSession}=require(a3_0x470c4a(0x19c)),{getObservabilityLinkedProductName}=require(a3_0x470c4a(0x193)),getOSVersionFromCaps=_0x15ddfb=>{const _0xa10c68=a3_0x470c4a,_0x1a76fa={};_0x1a76fa[_0xa10c68(0x1a4)]=_0xa10c68(0x187),_0x1a76fa[_0xa10c68(0x186)]='platformVersion',_0x1a76fa[_0xa10c68(0x19a)]=_0xa10c68(0x188),_0x1a76fa[_0xa10c68(0x190)]=_0xa10c68(0x19b),_0x1a76fa[_0xa10c68(0x1a8)]='os_version';const _0x1679ab=_0x1a76fa;if(!_0x15ddfb)return null;const _0x2e0c80=_0x15ddfb[_0x1679ab[_0xa10c68(0x1a4)]],_0x360f7e=[_0x1679ab[_0xa10c68(0x186)],_0x1679ab[_0xa10c68(0x19a)],_0x1679ab[_0xa10c68(0x190)],_0x1679ab[_0xa10c68(0x1a8)]];for(const _0x40d75c of _0x360f7e){if(_0x2e0c80&&_0x2e0c80[_0x40d75c])return _0x2e0c80[_0x40d75c];else{if(_0x15ddfb[_0x40d75c])return _0x15ddfb[_0x40d75c];}}return null;};exports['fetchPlatformDetails']=_0x980574=>{const _0xd532a=a3_0x470c4a,_0x27bc8f={'OlNBM':_0xd532a(0x1aa),'AmfiF':function(_0x28df5a,_0x1bf3ec){return _0x28df5a===_0x1bf3ec;},'TxiIZ':_0xd532a(0x1ad),'HGwDE':function(_0x2dbb73,_0x1cf468){return _0x2dbb73(_0x1cf468);},'rWAHI':function(_0x712aeb,_0x4d3e80,_0x46cb7a){return _0x712aeb(_0x4d3e80,_0x46cb7a);},'UqShp':_0xd532a(0x1b2),'XzbxQ':_0xd532a(0x1bc),'jrfXr':function(_0x6187c4,_0x50d7a4){return _0x6187c4===_0x50d7a4;},'MSbKY':_0xd532a(0x182),'WeoOG':function(_0x1302e8,_0x1dba45,_0x36b1c3){return _0x1302e8(_0x1dba45,_0x36b1c3);},'BTicl':'browser','BIAxF':'browserWSEndpoint','httDq':_0xd532a(0x179),'WFops':function(_0x58c0b9,_0x419b43){return _0x58c0b9(_0x419b43);}};if(!_0x980574)return null;let _0x3d7fcc=global[_0xd532a(0x17e)]||_0x27bc8f[_0xd532a(0x1b3)];if(_0x27bc8f[_0xd532a(0x1b4)](_0x980574[_0xd532a(0x1a0)][_0xd532a(0x197)],_0x27bc8f[_0xd532a(0x19e)])){const _0x6ea4c0=_0x980574[_0xd532a(0x18f)];if(!_0x6ea4c0)return null;const _0x4b894b=_0x6ea4c0[_0xd532a(0x1be)],_0x3a17df=_0x27bc8f[_0xd532a(0x1c3)](getOSVersionFromCaps,_0x27bc8f[_0xd532a(0x1bb)](nestedKeyValue,_0x980574,[_0x27bc8f[_0xd532a(0x18a)],_0x27bc8f[_0xd532a(0x1a5)]]));return{[_0x3d7fcc]:{'browser':_0x4b894b[_0xd532a(0x189)],'browser_version':_0x4b894b[_0xd532a(0x1b0)],'capabilities':_0x4b894b,'platform':_0x4b894b[_0xd532a(0x1a9)],'platform_version':_0x4b894b[_0xd532a(0x1c0)]||_0x3a17df,'product':_0x27bc8f['HGwDE'](getObservabilityLinkedProductName,_0x4b894b),'session_id':_0x6ea4c0[_0xd532a(0x196)]}};}else{if(_0x27bc8f['jrfXr'](_0x980574[_0xd532a(0x1a0)][_0xd532a(0x197)],_0x27bc8f[_0xd532a(0x18b)])){const _0x2b44f5=PlaywrightSessionDetails[_0xd532a(0x174)]();_0x3d7fcc=_0x2b44f5[_0xd532a(0x17b)]||_0x3d7fcc;const _0x560979=_0x27bc8f[_0xd532a(0x1a7)](nestedKeyValue,_0x980574,[_0x27bc8f[_0xd532a(0x18a)],_0x27bc8f['BTicl'],_0x27bc8f[_0xd532a(0x185)]]),_0x2de4b0=_0x560979?JSON[_0xd532a(0x177)](new URL(_0x560979)[_0xd532a(0x1a6)][_0xd532a(0x1a2)](_0x27bc8f['httDq'])):{};return{[_0x3d7fcc]:{'browser':_0x2b44f5[_0xd532a(0x18f)]||_0x2de4b0['browserName'],'browser_version':_0x2b44f5['browser_version']||_0x2de4b0[_0xd532a(0x17c)],'capabilities':_0x2de4b0,'platform':_0x2b44f5['platform'],'platform_version':_0x2b44f5[_0xd532a(0x188)],'product':_0x27bc8f[_0xd532a(0x1bd)](getObservabilityLinkedProductName,_0x2de4b0),'session_id':_0x2b44f5['bsSessionId']}};}}},exports[a3_0x470c4a(0x1ba)]=_0x479a9d=>{const _0x52b304=a3_0x470c4a,_0x477194={'VIlXw':function(_0x1d288e){return _0x1d288e();},'otlOV':function(_0x1b7026,_0xd5c1a9){return _0x1b7026===_0xd5c1a9;},'JDhCQ':_0x52b304(0x17d),'LnUXx':function(_0x5a81c2,_0x5eb5cb){return _0x5a81c2>_0x5eb5cb;},'YPNHr':function(_0x2ec443,_0x74c361){return _0x2ec443(_0x74c361);},'BEvcA':_0x52b304(0x1b5),'aQAWF':'chrome','qwKVY':function(_0x3d2414,_0x581b93){return _0x3d2414===_0x581b93;},'sEQJw':_0x52b304(0x17a),'taemP':_0x52b304(0x180),'kGiNi':function(_0x54952b,_0x597c01){return _0x54952b(_0x597c01);},'ulbBU':_0x52b304(0x1c2)};if(_0x477194[_0x52b304(0x184)](isAccessibilityAutomationSession)){const _0x2b6763=_0x479a9d[_0x52b304(0x18f)],_0x46afd6=_0x2b6763[_0x52b304(0x1be)];global['accessibilityPlatform']=!![],!(_0x477194[_0x52b304(0x198)](_0x46afd6[_0x52b304(0x1b0)],_0x477194[_0x52b304(0x19d)])||_0x477194[_0x52b304(0x176)](_0x477194[_0x52b304(0x18d)](parseInt,_0x46afd6[_0x52b304(0x1b0)]),0x5e))&&(logger[_0x52b304(0x199)](_0x477194[_0x52b304(0x1a1)]),global[_0x52b304(0x183)]=![]),!(_0x477194[_0x52b304(0x198)](_0x46afd6['browserName'],_0x477194[_0x52b304(0x1b8)])||_0x477194[_0x52b304(0x1b1)](_0x46afd6['browserName'],_0x477194['sEQJw']))&&(logger[_0x52b304(0x199)](_0x477194[_0x52b304(0x175)]),global['accessibilityPlatform']=![]),!_0x477194['kGiNi'](isUndefined,_0x46afd6['deviceName'])&&(logger['warn'](_0x477194[_0x52b304(0x178)]),global[_0x52b304(0x183)]=![]);}},exports['shouldPatchExecuteScript']=_0x7561a5=>{const _0x57a499=a3_0x470c4a,_0x351b1a={};_0x351b1a[_0x57a499(0x1ac)]=_0x57a499(0x192),_0x351b1a[_0x57a499(0x1b7)]=_0x57a499(0x1b6);const _0x44afbf=_0x351b1a;if(!_0x7561a5)return![];return!_0x7561a5['includes'](_0x44afbf[_0x57a499(0x1ac)])&&!_0x7561a5[_0x57a499(0x1af)](_0x44afbf[_0x57a499(0x1b7)]);};
@@ -1 +1 @@
1
- const a4_0x42ec70=a4_0x42b4;(function(_0x46eee0,_0xe71e65){const _0x4e609f=a4_0x42b4,_0x28b1da=_0x46eee0();while(!![]){try{const _0x42e75f=parseInt(_0x4e609f(0x1b4))/0x1*(parseInt(_0x4e609f(0xea))/0x2)+-parseInt(_0x4e609f(0x1bb))/0x3+parseInt(_0x4e609f(0x184))/0x4*(-parseInt(_0x4e609f(0x121))/0x5)+parseInt(_0x4e609f(0x13f))/0x6*(-parseInt(_0x4e609f(0x10b))/0x7)+-parseInt(_0x4e609f(0x19e))/0x8+parseInt(_0x4e609f(0x10f))/0x9+parseInt(_0x4e609f(0x198))/0xa*(parseInt(_0x4e609f(0x1d3))/0xb);if(_0x42e75f===_0xe71e65)break;else _0x28b1da['push'](_0x28b1da['shift']());}catch(_0x2080d9){_0x28b1da['push'](_0x28b1da['shift']());}}}(a4_0x4973,0x9bce4));const path=require(a4_0x42ec70(0xee)),fs=require('fs'),{v4:uuidv4}=require(a4_0x42ec70(0x137)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x42ec70(0x12c)),testOpsHelper=require(a4_0x42ec70(0x160)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x42ec70(0x197)),logger=require('../../helpers/logger')['winstonLogger'],SessionHandler=require('../../helpers/test-observability/sessionHandler'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require(a4_0x42ec70(0x12b)),debug=testOpsHelper[a4_0x42ec70(0x1b6)],{processAccessibilityCaps}=require(a4_0x42ec70(0x1a5)),Constants=require(a4_0x42ec70(0x156)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require(a4_0x42ec70(0x19c)),STATE_PASSED=a4_0x42ec70(0x154),STATE_FAILED=a4_0x42ec70(0x17f),a4_0x42177d={};a4_0x42177d[a4_0x42ec70(0xdd)]=a4_0x42ec70(0x131),a4_0x42177d['TEST_RUN_FINISHED']='TestRunFinished',a4_0x42177d[a4_0x42ec70(0x149)]='TestRunSkipped',a4_0x42177d[a4_0x42ec70(0x1a9)]='HookRunStarted',a4_0x42177d[a4_0x42ec70(0x192)]=a4_0x42ec70(0x180);function a4_0x4973(){const _0x567b33=['TestRunStarted','name','PLAYWRIGHT_HUB_URL','resetSkipTestHooks','split','message','uuid','RPEpd','comment','file','ilcID','VbBKy','XjMjQ','failure_reason_expanded','1649508BRiuWV','HErLJ','forEach','XquDe','clhZa','stop','removeAllListeners','oHiKE','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','mpDPy','TEST_RUN_SKIPPED','skipped','now','hook_type','LogCreated','JwkWB','__platformCaps','Hfnpv','eiouK','syQBa','mapTestHooks','passed','finished','../utils/constants','_afterAll','sYXpK','hDLlY','esLwz','ZTjDf','groups','bddSteps','BUsUe','bddStepStart','../../helpers/test-observability/utils','qtrOF','ftfjd','join','DosMu','connectOverCDP','then','MBebH','testAnalyticsId','getRootParentFile','initializeBddStep','VPckW','logs','cwd','PSeYG','success','appendTestItemLog','parent','find','connect','JZzAW','_beforeAll','findGitConfig','cNotU','getCBTInfo','sHylO','getTime','match','_testEnv','OIbKO','errorsDetailed','failed','HookRunFinished','_beforeEach','TEST_RUN_FINISHED','pGzYG','8ncTfhk','_paths','qLKrv','body','driver','browserType.js','codeceptjs','lvuCM','MGzEP','defineProperty','MPMwV','__cloud_provider___','pyhxl','cPBnO','HOOK_RUN_FINISHED','accessibilityPlatform','2|3|4|0|1|5','PathHelper','sPpyr','../../helpers/test-observability/constants','310VElEQa','hooks','getHierarchy','event_type','../../helpers/testhub/utils.js','started','3012816LmcSWs','ZDOKt','launch','retryOf','statSync','backtrace','RYalh','../playwright/accessibility-helper','suites','config','concat','HOOK_RUN_STARTED','dSQuS','bhAsd','result','ddLgK','test_run','bVyTX','tags','failureData','ajMkb','RJsVs','325942hgPwHM','frameworkName','debug','BGisM','KjniG','fireEvent','currentTest','3353424NhtQWF','ktSbU','mqqNi','toUpperCase','bind','finished_at','startedAt','rgmUy','failure','pid','dtoip','start','obsBrowserTypeMockApplied','browserstack','getFailureType','YXlfs','location_prefix','lib','lWyZw','status','ctx','XSQos','\x20with\x20error\x20:\x20','qfqiB','238194hJgWRS','_afterEach','bELpn','test_run_uuid','TEST_RUN_STARTED','CBTSessionCreated','uploadEventData','faZxW','includes','oKJEf','pending','ObESl','test','YHsVp','sendCBTInfo','NBhct','stepAnalyticsId','6PXYdaI','text','shutdown','keyword','path','rZuzH','setupBrowserDetails','bddStepFinish','IgVTh','qGNTQ','enabled','ncmpc','VOlBE','length','dirname','getInstance','inspect','integrations','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','BYNGm','gRisz','bs:addLog:','type','TBJZa','stringify','mstPF','duration','toString','VVPGj','hookAnalyticsId','markedStatus','constructor','currentHook','7xnxfUK','ZOtDP','meta','rPDND','10034910MpNhVw','toISOString','sep','TEST_EVENTS','fWTSh','Playwright','title','STATE_FAILED','apply','OidHl','toLowerCase','LicZh','qIBKY','kOBLH','yZRMe','err','getHooksForTest','failure_backtrace','891455LTaaqe','push','nYHCa','hook_run','hook','VSfys','mjKFh','getHookType','bkYpy','string','../playwright/sessionDetails','../../helpers/helper','File\x20path\x20could\x20not\x20be\x20found','BcTnq','.git','aNDgT'];a4_0x4973=function(){return _0x567b33;};return a4_0x4973();}const TEST_EVENTS=a4_0x42177d,parseEvent=_0x3a576b=>{const _0x5b7392=a4_0x42ec70,_0x18a9fe={};_0x18a9fe[_0x5b7392(0x174)]=function(_0x231c0a,_0x3edfa0){return _0x231c0a<_0x3edfa0;},_0x18a9fe[_0x5b7392(0x103)]=function(_0x19fe98,_0xacbd4f){return _0x19fe98===_0xacbd4f;},_0x18a9fe[_0x5b7392(0x19f)]=_0x5b7392(0xe5),_0x18a9fe[_0x5b7392(0x123)]=function(_0x2d9e4c,_0x30cf2a){return _0x2d9e4c===_0x30cf2a;},_0x18a9fe[_0x5b7392(0x1d0)]=_0x5b7392(0x125),_0x18a9fe[_0x5b7392(0x1c5)]=_0x5b7392(0x14a),_0x18a9fe[_0x5b7392(0x150)]=function(_0x501369,_0x4b565c){return _0x501369===_0x4b565c;},_0x18a9fe[_0x5b7392(0x13d)]=_0x5b7392(0x19d),_0x18a9fe[_0x5b7392(0x179)]=function(_0x317209,_0x43fb71){return _0x317209===_0x43fb71;},_0x18a9fe[_0x5b7392(0x127)]=_0x5b7392(0x155);const _0x5a2369=_0x18a9fe,_0x5341a4=_0x3a576b['match'](/^(.*)Run(.*)$/);if(!_0x5341a4)return null;if(_0x5a2369['JZzAW'](_0x5341a4['length'],0x3))return null;const _0x2348f9=_0x5341a4[0x1][_0x5b7392(0x119)](),_0x4ef4ae=_0x5341a4[0x2][_0x5b7392(0x119)]();return{'test':_0x5a2369[_0x5b7392(0x103)](_0x2348f9,_0x5a2369[_0x5b7392(0x19f)]),'hook':_0x5a2369[_0x5b7392(0x123)](_0x2348f9,_0x5a2369[_0x5b7392(0x1d0)]),'skipped':_0x5a2369['nYHCa'](_0x4ef4ae,_0x5a2369['dtoip']),'started':_0x5a2369['Hfnpv'](_0x4ef4ae,_0x5a2369[_0x5b7392(0x13d)]),'finished':_0x5a2369[_0x5b7392(0x179)](_0x4ef4ae,_0x5a2369[_0x5b7392(0x127)])};},mockPWBrowserType=_0x195b93=>{const _0x468305=a4_0x42ec70,_0x52a75b={'aNDgT':function(_0x56ef6f,_0x42c07c){return _0x56ef6f===_0x42c07c;},'bhAsd':_0x468305(0x12a),'BGisM':function(_0x47381e,_0x5c3a43,_0x4ce11b){return _0x47381e(_0x5c3a43,_0x4ce11b);},'qfqiB':'wsEndpoint','ptjaX':function(_0x308c85,_0x3624dd){return _0x308c85(_0x3624dd);},'FIxFt':_0x468305(0x1c8),'cJnkT':function(_0x1b246b,_0x250fd7,_0x5964f6){return _0x1b246b(_0x250fd7,_0x5964f6);},'syQBa':_0x468305(0x1cc),'jArMT':'client','lxINy':_0x468305(0x189),'hDLlY':function(_0x3c5c68,_0x2d9b9f){return _0x3c5c68(_0x2d9b9f);},'ncmpc':function(_0x1f84ce,_0x47f285){return _0x1f84ce(_0x47f285);},'ajMkb':'Not\x20able\x20to\x20import\x20Browser','uiuqW':'connect','DosMu':'launch'},_0x3969ba=path[_0x468305(0x163)](_0x52a75b[_0x468305(0x152)],_0x52a75b['jArMT'],_0x52a75b['lxINy']),_0x10ca7f=_0x52a75b[_0x468305(0x159)](importFileFromPWCore,_0x3969ba);if(!_0x10ca7f){_0x52a75b[_0x468305(0xf5)](debug,_0x52a75b[_0x468305(0x1b2)]);return;}const _0x350dd2=_0x10ca7f['BrowserType'],_0x449ae8=_0x350dd2['prototype'];if(_0x449ae8[_0x468305(0x1c7)])return;const _0x54cbe6=_0x449ae8[_0x468305(0x173)];Object['defineProperty'](_0x449ae8,_0x52a75b['uiuqW'],{'get':function(){const _0x1dd54b=_0x468305,_0x16938a={'BcTnq':function(_0x2438b6,_0x494ab6){const _0x938ab3=a4_0x42b4;return _0x52a75b[_0x938ab3(0x130)](_0x2438b6,_0x494ab6);},'bVyTX':_0x52a75b[_0x1dd54b(0x1ab)],'YXlfs':function(_0x33e59f,_0x124b9c,_0x4d44a5){const _0x423efa=_0x1dd54b;return _0x52a75b[_0x423efa(0x1b7)](_0x33e59f,_0x124b9c,_0x4d44a5);},'oKJEf':_0x52a75b[_0x1dd54b(0x1d2)],'dSQuS':function(_0x171fa6,_0x17931c){return _0x52a75b['ptjaX'](_0x171fa6,_0x17931c);},'qIBKY':_0x52a75b['FIxFt'],'RYalh':function(_0x54e2b0,_0x132b49,_0x28585f){return _0x52a75b['cJnkT'](_0x54e2b0,_0x132b49,_0x28585f);}};return async function _0x53a092(_0xdcef26,_0x2a5532){const _0x514bef=_0x1dd54b,_0x444f79={'oHiKE':function(_0x5e80b6,_0x7c915b){const _0x1fdb5d=a4_0x42b4;return _0x16938a[_0x1fdb5d(0x12e)](_0x5e80b6,_0x7c915b);},'rPDND':_0x16938a[_0x514bef(0x1af)]},_0x4f56c3=_0x16938a[_0x514bef(0x1ca)](nestedKeyValue,_0xdcef26,[_0x16938a[_0x514bef(0xe2)]])||_0xdcef26;let _0x3b2609=null,_0x1767e4=null;try{[_0x1767e4,_0x3b2609]=_0x4f56c3?_0x16938a[_0x514bef(0x1aa)](parseWSEndpoint,_0x4f56c3):[null,null],global[_0x514bef(0x14f)]=_0x3b2609,_0x1767e4[_0x514bef(0xe1)](_0x16938a[_0x514bef(0x11b)])&&(global[_0x514bef(0x18f)]=_0x16938a['qIBKY']);}catch(_0x1e4998){logger[_0x514bef(0x1b6)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x4f56c3+'\x20'+_0x1e4998);}_0x16938a[_0x514bef(0x1a4)](processAccessibilityCaps,_0x3b2609,_0x1767e4);if(global[_0x514bef(0x193)]){const _0x57fb52=await _0x449ae8[_0x514bef(0x165)]['apply'](this,[''+Constants[_0x514bef(0x133)]+_0x16938a[_0x514bef(0x1aa)](encodeURIComponent,JSON[_0x514bef(0x102)](_0x3b2609))]);return PlaywrightSessionDetails[_0x514bef(0xf0)](_0x57fb52,_0x195b93,_0x4f56c3),_0x57fb52;}return _0x54cbe6[_0x514bef(0x117)](this,arguments)[_0x514bef(0x166)](_0x3caab0=>{const _0x182362=_0x514bef;let _0x3071e4=_0xdcef26['wsEndpoint'];return _0x444f79[_0x182362(0x146)](typeof _0xdcef26,_0x444f79[_0x182362(0x10e)])&&(_0x3071e4=_0xdcef26),PlaywrightSessionDetails['setupBrowserDetails'](_0x3caab0,_0x195b93,_0x3071e4),_0x3caab0;});};}});const _0x3fea92=_0x449ae8[_0x468305(0x1a0)];Object[_0x468305(0x18d)](_0x449ae8,_0x52a75b[_0x468305(0x164)],{'get':function(){return async function _0x5ccbcb(){const _0x1d14a8=a4_0x42b4;return _0x3fea92[_0x1d14a8(0x117)](this,arguments)[_0x1d14a8(0x166)](_0x5a35f0=>{const _0x3d7ef9=_0x1d14a8;return PlaywrightSessionDetails[_0x3d7ef9(0xf0)](_0x5a35f0,null),_0x5a35f0;});};}});};function a4_0x42b4(_0x9383b8,_0x12f636){const _0x49731d=a4_0x4973();return a4_0x42b4=function(_0x42b4a3,_0x59b56a){_0x42b4a3=_0x42b4a3-0xdc;let _0x5a5832=_0x49731d[_0x42b4a3];return _0x5a5832;},a4_0x42b4(_0x9383b8,_0x12f636);}class O11yHelper{[a4_0x42ec70(0x1ba)]=null;[a4_0x42ec70(0x10a)]=null;[a4_0x42ec70(0xf4)]=![];[a4_0x42ec70(0x1b5)]=![];constructor(_0x3dbb4b,_0x288f98){const _0x331cf1=a4_0x42ec70,_0x2e902f={'RJsVs':_0x331cf1(0x194),'fbSwx':function(_0x451adb){return _0x451adb();},'ugntE':function(_0x53a8cd){return _0x53a8cd();},'ddLgK':function(_0x419f4c,_0xe6792d){return _0x419f4c===_0xe6792d;},'YTQIA':_0x331cf1(0x114),'qLKrv':function(_0x1003e2,_0x322c13){return _0x1003e2(_0x322c13);}},_0xeae3bd=_0x2e902f[_0x331cf1(0x1b3)][_0x331cf1(0x135)]('|');let _0x6f231e=0x0;while(!![]){switch(_0xeae3bd[_0x6f231e++]){case'0':this['_testEnv']=_0x2e902f['fbSwx'](getTestEnv);continue;case'1':this['_paths']=new testOpsHelper[(_0x331cf1(0x195))]({'cwd':process[_0x331cf1(0x16d)]()},this[_0x331cf1(0x17c)][_0x331cf1(0x1cb)]);continue;case'2':this[_0x331cf1(0xf4)]=_0x2e902f['ugntE'](shouldProcessEventForTesthub);continue;case'3':this[_0x331cf1(0x1b5)]=_0x288f98['frameworkName'];continue;case'4':this[_0x331cf1(0x188)]=_0x3dbb4b;continue;case'5':this[_0x331cf1(0x188)]&&_0x2e902f[_0x331cf1(0x1ad)](this[_0x331cf1(0x188)][_0x331cf1(0x109)][_0x331cf1(0x132)],_0x2e902f['YTQIA'])&&_0x2e902f[_0x331cf1(0x186)](mockPWBrowserType,null);continue;}break;}}[a4_0x42ec70(0x1c6)](){const _0x46eadc=a4_0x42ec70;if(!this['enabled'])return;testOpsHelper['patchConsoleLogger'](),process[_0x46eadc(0x145)](_0x46eadc(0xff)+process[_0x46eadc(0x1c4)]),process['on'](_0x46eadc(0xff)+process[_0x46eadc(0x1c4)],this[_0x46eadc(0x170)][_0x46eadc(0x1bf)](this));}async[a4_0x42ec70(0x144)](){const _0x474f31=a4_0x42ec70;await RequestQueueHandler[_0x474f31(0xf9)]()[_0x474f31(0xec)]();}async[a4_0x42ec70(0x170)](_0xcfee22){const _0xf7969e=a4_0x42ec70,_0x229b9f={'MGzEP':_0xf7969e(0x14d),'TBJZa':function(_0x28a83f,_0x27661f){return _0x28a83f(_0x27661f);}};try{this[_0xf7969e(0x10a)]&&!this[_0xf7969e(0x10a)][_0xf7969e(0x108)]&&(_0xcfee22['hook_run_uuid']=this[_0xf7969e(0x10a)][_0xf7969e(0x107)]);!_0xcfee22['hook_run_uuid']&&this[_0xf7969e(0x1ba)]&&!this[_0xf7969e(0x1ba)][_0xf7969e(0x108)]&&(_0xcfee22['test_run_uuid']=this['currentTest'][_0xf7969e(0x168)]);if(_0xcfee22['hook_run_uuid']||_0xcfee22[_0xf7969e(0xdc)]){const _0x568be4={};_0x568be4[_0xf7969e(0x19b)]=_0x229b9f[_0xf7969e(0x18c)],_0x568be4[_0xf7969e(0x16c)]=[_0xcfee22],await SessionHandler[_0xf7969e(0xdf)](_0x568be4);}}catch(_0x3c24c7){_0x229b9f[_0xf7969e(0x101)](debug,'Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x3c24c7);}}async[a4_0x42ec70(0xe7)](_0x1361c2){const _0x385825=a4_0x42ec70,_0x58d326={'VPckW':_0x385825(0xde),'gRisz':function(_0x2b5711,_0x13383f){return _0x2b5711(_0x13383f);}};if(!this['enabled'])return;const _0x2f0e02=this[_0x385825(0x178)](this[_0x385825(0x188)]);try{const _0x3eed4d={};_0x3eed4d[_0x385825(0x137)]=_0x1361c2,_0x3eed4d['integrations']=_0x2f0e02;const _0x2d59aa=_0x3eed4d,_0x57f9f0={};_0x57f9f0[_0x385825(0x19b)]=_0x58d326[_0x385825(0x16b)],_0x57f9f0['test_run']=_0x2d59aa,await SessionHandler[_0x385825(0xdf)](_0x57f9f0);}catch(_0x46df63){_0x58d326[_0x385825(0xfe)](debug,_0x385825(0xfc)+_0x46df63);}}['getCBTInfo'](_0x230f6e){const _0x27da15=a4_0x42ec70,_0x34744f={'pyhxl':function(_0xa57995,_0x1edb4e){return _0xa57995(_0x1edb4e);}};return _0x34744f[_0x27da15(0x190)](fetchPlatformDetails,_0x230f6e);}[a4_0x42ec70(0x134)]=_0x2f511d=>{const _0x27953d=a4_0x42ec70,_0x4e269a={};_0x4e269a['ktSbU']=_0x27953d(0x181),_0x4e269a[_0x27953d(0x140)]=_0x27953d(0x1d4);const _0x50fbb7=_0x4e269a;if(!_0x2f511d||!_0x2f511d[_0x27953d(0x171)])return;[_0x50fbb7[_0x27953d(0x1bc)],_0x50fbb7[_0x27953d(0x140)]][_0x27953d(0x141)](_0x368f74=>{const _0x59ac49=_0x27953d,_0x9a8e2=_0x2f511d[_0x59ac49(0x171)][_0x368f74];_0x9a8e2[_0x59ac49(0x141)](_0x41ebe3=>{const _0x5cffe1=_0x59ac49;_0x41ebe3[_0x5cffe1(0x107)]&&(_0x41ebe3[_0x5cffe1(0x107)]=null);});});};['mapTestHooks'](_0x4e0dd1){const _0x4c3a57=a4_0x42ec70,_0x1ade2f={'qGNTQ':_0x4c3a57(0x18a),'bkYpy':function(_0x230909){return _0x230909();},'ObESl':function(_0x172025,_0x5111b5){return _0x172025===_0x5111b5;},'ZOtDP':_0x4c3a57(0x1d4),'MAJMM':_0x4c3a57(0x175),'fWTSh':_0x4c3a57(0x157),'lvuCM':'_beforeEach'};if(!_0x4e0dd1||!_0x4e0dd1[_0x4c3a57(0x171)])return;[_0x1ade2f['MAJMM'],_0x1ade2f[_0x4c3a57(0x113)],_0x1ade2f[_0x4c3a57(0x18b)],_0x1ade2f[_0x4c3a57(0x10c)]]['forEach'](_0x4650c6=>{const _0x50c96c=_0x4c3a57,_0x2f4804=_0x4e0dd1[_0x50c96c(0x171)][_0x4650c6]||[];_0x2f4804[_0x50c96c(0x141)](_0x39162e=>{const _0x413ead=_0x50c96c;if(_0x39162e['title'][_0x413ead(0xe1)](_0x1ade2f[_0x413ead(0xf3)]))return;if(!_0x39162e[_0x413ead(0x107)])_0x39162e[_0x413ead(0x107)]=_0x1ade2f[_0x413ead(0x129)](uuidv4);else _0x39162e[_0x413ead(0x108)]&&_0x1ade2f[_0x413ead(0xe4)](_0x4650c6,_0x1ade2f[_0x413ead(0x10c)])&&(_0x39162e[_0x413ead(0x107)]=_0x1ade2f[_0x413ead(0x129)](uuidv4),delete _0x39162e[_0x413ead(0x108)]);});}),this[_0x4c3a57(0x153)](_0x4e0dd1[_0x4c3a57(0x171)]);}[a4_0x42ec70(0x11f)](_0x24648d){const _0x994016=a4_0x42ec70,_0x17564d={};_0x17564d[_0x994016(0x16e)]=_0x994016(0x175),_0x17564d['BUsUe']=_0x994016(0x157),_0x17564d[_0x994016(0x15a)]=_0x994016(0x181),_0x17564d[_0x994016(0x142)]=_0x994016(0x1d4);const _0x4c7ab6=_0x17564d;if(!_0x24648d||!_0x24648d[_0x994016(0x171)])return[];const _0x5efa2d=[];return[_0x4c7ab6[_0x994016(0x16e)],_0x4c7ab6[_0x994016(0x15e)],_0x4c7ab6['esLwz'],_0x4c7ab6[_0x994016(0x142)]][_0x994016(0x141)](_0x583b11=>{const _0x6491c6=_0x994016,_0x2bcec7=_0x24648d['parent'][_0x583b11]||[];_0x2bcec7[_0x6491c6(0x141)](_0x59c124=>{const _0x14dc28=_0x6491c6;_0x59c124[_0x14dc28(0x107)]&&_0x5efa2d[_0x14dc28(0x122)](_0x59c124[_0x14dc28(0x107)]);});}),[][_0x994016(0x1a8)](_0x5efa2d,this[_0x994016(0x11f)](_0x24648d[_0x994016(0x171)]));}[a4_0x42ec70(0x128)](_0xb0972b){const _0x444b19=a4_0x42ec70,_0x17a1c9=/^"(?<hook>.*)" hook:.*$/,_0x1cd3b0=_0xb0972b[_0x444b19(0x115)],_0x21bb2b=_0x1cd3b0[_0x444b19(0x17b)](_0x17a1c9);if(_0x21bb2b&&_0x21bb2b['groups'])return _0x21bb2b[_0x444b19(0x15c)]['hook'][_0x444b19(0x1be)]()['replace']('\x20','_');return null;}[a4_0x42ec70(0x176)](_0x3d3e3b){const _0x501a1d=a4_0x42ec70,_0x1e3205={};_0x1e3205[_0x501a1d(0x183)]=function(_0x26a344,_0x69df5a){return _0x26a344===_0x69df5a;},_0x1e3205[_0x501a1d(0x1cd)]=function(_0x56c358,_0x29b693){return _0x56c358===_0x29b693;},_0x1e3205[_0x501a1d(0x143)]=function(_0x8c66a1,_0x1ef70c){return _0x8c66a1===_0x1ef70c;},_0x1e3205[_0x501a1d(0x15b)]=_0x501a1d(0x12f),_0x1e3205['qtrOF']=_0x501a1d(0x1a7);const _0x386114=_0x1e3205,_0x32033a=path[_0x501a1d(0x111)];if(_0x386114[_0x501a1d(0x183)](_0x3d3e3b,null)||_0x386114[_0x501a1d(0x1cd)](_0x3d3e3b,'')||_0x386114[_0x501a1d(0x183)](_0x3d3e3b,_0x32033a)||_0x386114[_0x501a1d(0x143)](_0x3d3e3b,path[_0x501a1d(0xf8)](_0x3d3e3b)))return null;try{return fs[_0x501a1d(0x1a2)](path['join'](_0x3d3e3b,_0x386114[_0x501a1d(0x15b)],_0x386114[_0x501a1d(0x161)])),_0x3d3e3b;}catch(_0x53582d){const _0x5aac21=path[_0x501a1d(0xf8)](_0x3d3e3b);return this[_0x501a1d(0x176)](_0x5aac21);}}['getRootParentFile'](_0x190b70){const _0x4b426a=a4_0x42ec70,_0x1d86d1={};_0x1d86d1['RPEpd']=function(_0x115701,_0x3b5294){return _0x115701>_0x3b5294;};const _0x1e8a7f=_0x1d86d1;if(_0x190b70[_0x4b426a(0x13a)])return _0x190b70['file'];if(_0x190b70[_0x4b426a(0x1cf)]){const _0x29d951=_0x190b70[_0x4b426a(0x1cf)][_0x4b426a(0x1ba)]?this['getRootParentFile'](_0x190b70['ctx']['currentTest']):null;if(_0x29d951)return _0x29d951;}if(_0x190b70['parent']){const _0x40607a=this[_0x4b426a(0x169)](_0x190b70[_0x4b426a(0x171)])||(_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1cf)]&&_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1cf)][_0x4b426a(0x1ba)]?this['getRootParentFile'](_0x190b70['parent']['ctx']['currentTest']):null);if(_0x40607a)return _0x40607a;_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1a6)]&&_0x1e8a7f[_0x4b426a(0x138)](_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1a6)][_0x4b426a(0xf7)],0x0)&&_0x190b70[_0x4b426a(0x171)][_0x4b426a(0x1a6)]['forEach'](_0x295921=>{const _0x5a4ea8=_0x4b426a,_0x4b13c6=_0x295921[_0x5a4ea8(0x1cf)]?this[_0x5a4ea8(0x169)](_0x295921[_0x5a4ea8(0x1cf)]):null;if(_0x4b13c6)return _0x4b13c6;});}return null;}[a4_0x42ec70(0x19a)](_0x4745d9){const _0x1f04a1=a4_0x42ec70,_0x56383e={};_0x56383e[_0x1f04a1(0x11d)]=function(_0x1cf5e2,_0x56acc8){return _0x1cf5e2!==_0x56acc8;};const _0xa4ff35=_0x56383e,_0x11541d=[];if(_0x4745d9&&_0x4745d9['parent']){let _0xe84802=_0x4745d9[_0x1f04a1(0x171)];while(_0xe84802&&_0xa4ff35[_0x1f04a1(0x11d)](_0xe84802['title'],'')){_0x11541d[_0x1f04a1(0x122)](_0xe84802[_0x1f04a1(0x115)]),_0xe84802=_0xe84802[_0x1f04a1(0x171)];}}return _0x11541d;}['captureEvent'](_0x3e1ef1,_0x82913f,_0x57177a=undefined){const _0x3997e3=a4_0x42ec70,_0x41c0a3={'kOBLH':function(_0xbf108f,_0x1c3c1d){return _0xbf108f(_0x1c3c1d);},'MPMwV':function(_0x499f64){return _0x499f64();},'Vteic':function(_0x1e2724){return _0x1e2724();},'cPBnO':function(_0x2844e6){return _0x2844e6();},'JwkWB':'util','mqqNi':_0x3997e3(0x11e),'hobdI':function(_0x4bad11,_0x4ba02f){return _0x4bad11!==_0x4ba02f;},'mpDPy':function(_0x66d859,_0x2c1565){return _0x66d859!==_0x2c1565;},'VbBKy':_0x3997e3(0x12d),'LicZh':_0x3997e3(0xe3),'VSfys':'failed','NBhct':_0x3997e3(0x154),'ftfjd':_0x3997e3(0x14a),'HWIIa':'javascript','eiouK':function(_0x32c1eb,_0x333389){return _0x32c1eb-_0x333389;},'MBebH':function(_0x1c2883,_0x372c1b,_0x192b3f,_0x3ebff9,_0x4b6634){return _0x1c2883(_0x372c1b,_0x192b3f,_0x3ebff9,_0x4b6634);},'GQiPF':function(_0x8ebd,_0x2fbb2d){return _0x8ebd!==_0x2fbb2d;},'sYXpK':_0x3997e3(0xfb),'OIbKO':_0x3997e3(0x10d),'ilcID':_0x3997e3(0x1c3),'IgVTh':_0x3997e3(0x120),'KjniG':_0x3997e3(0x1a3),'OidHl':_0x3997e3(0x13e),'cNotU':'expanded','sPpyr':function(_0x254bb1,_0x259238){return _0x254bb1===_0x259238;},'BYNGm':_0x3997e3(0x124),'rgmUy':_0x3997e3(0x1ae)};if(!this[_0x3997e3(0xf4)])return;try{if(_0x82913f['fn']&&_0x82913f['fn']['toString']()[_0x3997e3(0x17b)](/browserstack internal helper hook/))return;const _0x71b57e=_0x41c0a3[_0x3997e3(0x11c)](parseEvent,_0x3e1ef1);if(!_0x71b57e)return;if(_0x71b57e['test']){this[_0x3997e3(0x1ba)]=_0x82913f,this[_0x3997e3(0x10a)]=null;if(_0x71b57e[_0x3997e3(0x19d)]||_0x71b57e[_0x3997e3(0x14a)]){_0x82913f[_0x3997e3(0x1c1)]=new Date(),_0x82913f['markedStatus']=![];if(!_0x82913f[_0x3997e3(0x168)])_0x82913f[_0x3997e3(0x168)]=_0x41c0a3['MPMwV'](uuidv4);else _0x82913f[_0x3997e3(0x108)]&&(!_0x82913f[_0x3997e3(0x1a1)]&&(_0x82913f['retryOf']=_0x82913f[_0x3997e3(0x168)]),_0x82913f[_0x3997e3(0x168)]=_0x41c0a3[_0x3997e3(0x18e)](uuidv4));}}else{if(_0x71b57e[_0x3997e3(0x125)]){this[_0x3997e3(0x10a)]=_0x82913f;if(_0x71b57e['started']){_0x82913f[_0x3997e3(0x1c1)]=new Date(),_0x82913f['markedStatus']=![];if(!_0x82913f[_0x3997e3(0x107)])_0x82913f[_0x3997e3(0x107)]=_0x41c0a3['Vteic'](uuidv4);else _0x82913f[_0x3997e3(0x107)]&&_0x82913f[_0x3997e3(0x108)]&&(_0x82913f[_0x3997e3(0x107)]=_0x41c0a3[_0x3997e3(0x191)](uuidv4));}}}if(_0x71b57e['finished']&&_0x82913f[_0x3997e3(0x108)])return;let _0x2128ba;try{_0x2128ba=this[_0x3997e3(0x169)](_0x82913f);}catch(_0x2638fc){logger[_0x3997e3(0x1b6)]('failed\x20to\x20get\x20root\x20parent\x20file\x20'+_0x2638fc),_0x2128ba=null;}const _0x3135bf=_0x41c0a3[_0x3997e3(0x11c)](require,_0x41c0a3[_0x3997e3(0x14e)]);let _0x1526e7=[];_0x57177a&&(_0x1526e7=[_0x57177a,_0x41c0a3[_0x3997e3(0x1bd)]]);const _0x5a8c3a=_0x41c0a3['hobdI'](_0x82913f[_0x3997e3(0x17e)],undefined)?_0x3135bf[_0x3997e3(0xfa)](_0x82913f[_0x3997e3(0x17e)][0x0]):_0x41c0a3[_0x3997e3(0x148)](_0x57177a,undefined)?_0x57177a[_0x3997e3(0x105)]():undefined,_0x420b73=_0x2128ba?this[_0x3997e3(0x176)](_0x2128ba):null,_0x4bd9de=_0x2128ba?this[_0x3997e3(0x185)]['prefixTestPath'](this[_0x3997e3(0x169)](_0x82913f)):_0x41c0a3[_0x3997e3(0x13c)];let _0x20b7c4=_0x41c0a3[_0x3997e3(0x11a)];const _0x5d2a99=!_0x71b57e[_0x3997e3(0x19d)]?new Date()[_0x3997e3(0x110)]():null;if(_0x71b57e['finished'])_0x20b7c4=_0x57177a?_0x41c0a3[_0x3997e3(0x126)]:_0x41c0a3[_0x3997e3(0xe8)],_0x82913f[_0x3997e3(0x108)]=!![];else _0x71b57e[_0x3997e3(0x14a)]&&(_0x20b7c4=_0x41c0a3[_0x3997e3(0x162)],_0x82913f['markedStatus']=!![]);const _0x29fd60={'framework':this['frameworkName'],'uuid':_0x82913f[_0x3997e3(0x168)]||_0x82913f[_0x3997e3(0x107)],'name':_0x82913f[_0x3997e3(0x115)],'body':{'lang':_0x41c0a3['HWIIa'],'code':_0x82913f[_0x3997e3(0x187)][_0x3997e3(0x105)]()},'type':_0x82913f[_0x3997e3(0x100)],'scope':_0x82913f['fullTitle'](),'scopes':this[_0x3997e3(0x19a)](_0x82913f),'file_name':_0x4bd9de,'vc_filepath':_0x420b73?path['relative'](_0x420b73,_0x2128ba):null,'location':_0x4bd9de,'result':_0x20b7c4,'failure_reason':_0x5a8c3a,'duration_in_ms':_0x82913f[_0x3997e3(0x104)]||(_0x71b57e[_0x3997e3(0x155)]||_0x71b57e[_0x3997e3(0x14a)])?_0x41c0a3[_0x3997e3(0x151)](Date[_0x3997e3(0x14b)](),new Date(_0x82913f[_0x3997e3(0x1c1)])[_0x3997e3(0x17a)]()):null,'started_at':new Date(_0x82913f['startedAt'])[_0x3997e3(0x110)](),'finished_at':_0x5d2a99,'failure':testOpsHelper[_0x3997e3(0x1b1)]['apply'](null,_0x1526e7),'failure_type':!_0x5a8c3a?null:testOpsHelper[_0x3997e3(0x1c9)](_0x5a8c3a),'retry_of':_0x82913f[_0x3997e3(0x1a1)]||null,'tags':_0x82913f[_0x3997e3(0x1b0)]||[],'customRerunParam':{'rerun_name':_0x82913f['fullTitle']()}};_0x41c0a3[_0x3997e3(0x167)](appendTesthubParams,_0x29fd60,_0x3e1ef1,_0x82913f,FRAMEWORKS['CODECEPT']);if(_0x71b57e['hook'])[_0x29fd60[_0x3997e3(0x14c)],_0x29fd60[_0x3997e3(0x132)]]=[this['getHookType'](_0x82913f),_0x82913f[_0x3997e3(0x1cf)]['test'][_0x3997e3(0x115)]],_0x71b57e[_0x3997e3(0x155)]?_0x41c0a3['GQiPF'](_0x29fd60[_0x3997e3(0x1ac)],_0x41c0a3[_0x3997e3(0x126)])&&(_0x29fd60[_0x3997e3(0x1ac)]=_0x41c0a3[_0x3997e3(0xe8)]):_0x29fd60['body']={};else _0x71b57e[_0x3997e3(0xe5)]&&(this[_0x3997e3(0x153)](_0x82913f),_0x71b57e[_0x3997e3(0x14a)]&&this['resetSkipTestHooks'](_0x82913f),(_0x71b57e[_0x3997e3(0x155)]||_0x71b57e['skipped'])&&(_0x29fd60[_0x3997e3(0x199)]=this[_0x3997e3(0x11f)](_0x82913f)));this[_0x3997e3(0x188)]&&(_0x71b57e['started']||_0x71b57e[_0x3997e3(0x14a)])&&(_0x29fd60[_0x41c0a3[_0x3997e3(0x158)]]=this[_0x3997e3(0x178)](this['driver']));_0x71b57e[_0x3997e3(0xe5)]&&_0x71b57e[_0x3997e3(0x155)]&&_0x82913f[_0x3997e3(0x15d)]&&(_0x29fd60[_0x41c0a3[_0x3997e3(0x17d)]]={'feature':{'name':_0x82913f[_0x3997e3(0x171)]['feature'][_0x3997e3(0x132)],'path':_0x29fd60['file_name'],'description':_0x82913f['parent'][_0x3997e3(0x139)]},'scenario':{'name':_0x82913f[_0x3997e3(0x115)]},'steps':_0x82913f[_0x3997e3(0x15d)]});const _0x42dfa1=_0x29fd60[_0x41c0a3[_0x3997e3(0x13b)]][0x0];_0x42dfa1&&(_0x29fd60[_0x41c0a3[_0x3997e3(0xf2)]]=_0x42dfa1[_0x41c0a3['KjniG']],_0x29fd60[_0x41c0a3[_0x3997e3(0x118)]]=_0x42dfa1[_0x41c0a3[_0x3997e3(0x177)]]);if(_0x82913f[_0x3997e3(0x15d)])for(const _0x19ffbd of _0x82913f[_0x3997e3(0x15d)]){!_0x19ffbd[_0x3997e3(0x1c0)]&&(_0x19ffbd['finished_at']=new Date()[_0x3997e3(0x110)](),_0x41c0a3[_0x3997e3(0x196)](_0x19ffbd[_0x3997e3(0x1ac)],_0x41c0a3[_0x3997e3(0x11a)])&&(_0x42dfa1?(_0x19ffbd['result']=_0x41c0a3['VSfys'],_0x19ffbd[_0x3997e3(0x1c3)]=_0x42dfa1[_0x41c0a3[_0x3997e3(0x1b8)]][0x0]):_0x19ffbd['result']=_0x41c0a3[_0x3997e3(0xe8)]));}const _0x168fb7={};_0x168fb7[_0x3997e3(0x19b)]=_0x71b57e[_0x3997e3(0x14a)]?TEST_EVENTS[_0x3997e3(0x182)]:_0x3e1ef1;const _0x29fa26=_0x168fb7;return _0x71b57e['hook']?_0x29fa26[_0x41c0a3[_0x3997e3(0xfd)]]=_0x29fd60:_0x29fa26[_0x41c0a3[_0x3997e3(0x1c2)]]=_0x29fd60,_0x29fa26;}catch(_0x472664){logger[_0x3997e3(0x1b6)](_0x3997e3(0x147)+_0x3e1ef1+_0x3997e3(0x1d1)+_0x472664);}}async[a4_0x42ec70(0x1b9)](_0x357d28,_0x5316b8){const _0x1fe52f=a4_0x42ec70;if(!this[_0x1fe52f(0xf4)]||!_0x5316b8||!_0x357d28)return![];try{return await SessionHandler[_0x1fe52f(0xdf)](_0x5316b8);}catch(_0x516554){logger[_0x1fe52f(0x1b6)]('Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20'+_0x357d28+_0x1fe52f(0x1d1)+_0x516554);}}[a4_0x42ec70(0x16a)](_0x594ba2){const _0x314f19=a4_0x42ec70,_0x567b60={};_0x567b60[_0x314f19(0xe6)]='pending';const _0x5a4397=_0x567b60;return{'id':_0x594ba2[_0x314f19(0xe9)],'text':_0x594ba2[_0x314f19(0xeb)],'keyword':_0x594ba2[_0x314f19(0xed)],'started_at':_0x594ba2['startedAt'][_0x314f19(0x110)](),'result':_0x5a4397[_0x314f19(0xe6)]};}[a4_0x42ec70(0x15f)](_0x56993e){const _0x46b919=a4_0x42ec70,_0x3d670a={'bELpn':function(_0x402c58){return _0x402c58();}};!this['currentTest'][_0x46b919(0x15d)]&&(this[_0x46b919(0x1ba)][_0x46b919(0x15d)]=[]),!_0x56993e[_0x46b919(0xe9)]&&(_0x56993e[_0x46b919(0xe9)]=_0x3d670a[_0x46b919(0x1d5)](uuidv4),_0x56993e[_0x46b919(0x1c1)]=new Date(),this['currentTest'][_0x46b919(0x15d)]['push'](this[_0x46b919(0x16a)](_0x56993e)));}[a4_0x42ec70(0xf1)](_0x494542){const _0x2d257d=a4_0x42ec70,_0x530469={'VOlBE':function(_0x33c0ad,_0x8edb44){return _0x33c0ad(_0x8edb44);},'rZuzH':_0x2d257d(0x16f),'VVPGj':_0x2d257d(0xe3),'lrvsp':_0x2d257d(0x154),'faZxW':function(_0x586c03,_0x14784f){return _0x586c03-_0x14784f;}};let _0x2fde77=this[_0x2d257d(0x1ba)][_0x2d257d(0x15d)][_0x2d257d(0x172)](_0x520495=>_0x520495['id']===_0x494542[_0x2d257d(0xe9)]);_0x530469[_0x2d257d(0xf6)](isUndefined,_0x2fde77)&&(_0x2fde77=this[_0x2d257d(0x16a)](_0x494542)),_0x2fde77[_0x2d257d(0x1ac)]=[_0x530469[_0x2d257d(0xef)],_0x530469[_0x2d257d(0x106)]]['includes'](_0x494542['status'])?_0x530469['lrvsp']:_0x494542[_0x2d257d(0x1ce)],_0x2fde77['finished_at']=new Date()['toISOString'](),_0x2fde77[_0x2d257d(0x104)]=_0x530469[_0x2d257d(0xe0)](Date[_0x2d257d(0x14b)](),_0x494542[_0x2d257d(0x1c1)][_0x2d257d(0x17a)]()),_0x2fde77[_0x2d257d(0x1c3)]=_0x494542[_0x2d257d(0x11e)]?_0x494542[_0x2d257d(0x11e)][_0x2d257d(0x136)]:null;}}const a4_0x136a48={};a4_0x136a48['O11yHelper']=O11yHelper,a4_0x136a48['STATE_PASSED']=STATE_PASSED,a4_0x136a48[a4_0x42ec70(0x116)]=STATE_FAILED,a4_0x136a48[a4_0x42ec70(0x112)]=TEST_EVENTS,module['exports']=a4_0x136a48;
1
+ const a4_0x5945d8=a4_0x29c4;(function(_0x35375b,_0x5385a3){const _0x3ea9ff=a4_0x29c4,_0x3c06f1=_0x35375b();while(!![]){try{const _0xcb7817=-parseInt(_0x3ea9ff(0x14c))/0x1+-parseInt(_0x3ea9ff(0x82))/0x2+parseInt(_0x3ea9ff(0x133))/0x3+parseInt(_0x3ea9ff(0xab))/0x4*(parseInt(_0x3ea9ff(0xcb))/0x5)+-parseInt(_0x3ea9ff(0x9f))/0x6+parseInt(_0x3ea9ff(0x13d))/0x7*(parseInt(_0x3ea9ff(0x135))/0x8)+parseInt(_0x3ea9ff(0x116))/0x9*(parseInt(_0x3ea9ff(0x154))/0xa);if(_0xcb7817===_0x5385a3)break;else _0x3c06f1['push'](_0x3c06f1['shift']());}catch(_0x3df31e){_0x3c06f1['push'](_0x3c06f1['shift']());}}}(a4_0x2967,0x89938));const path=require(a4_0x5945d8(0x10f)),fs=require('fs'),{v4:uuidv4}=require(a4_0x5945d8(0x156)),{importFileFromPWCore,nestedKeyValue,parseWSEndpoint,isUndefined}=require(a4_0x5945d8(0xc8)),testOpsHelper=require(a4_0x5945d8(0xb2)),{getTestEnv}=require('../mocha/test-observability/mochaUtils'),{FRAMEWORKS}=require(a4_0x5945d8(0x90)),logger=require(a4_0x5945d8(0xf3))[a4_0x5945d8(0xd7)],SessionHandler=require(a4_0x5945d8(0x9e)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),PlaywrightSessionDetails=require('../playwright/sessionDetails'),debug=testOpsHelper[a4_0x5945d8(0x94)],{processAccessibilityCaps}=require(a4_0x5945d8(0x11d)),Constants=require(a4_0x5945d8(0x11e)),{fetchPlatformDetails}=require('./helper.js'),{shouldProcessEventForTesthub,appendTesthubParams}=require('../../helpers/testhub/utils.js'),STATE_PASSED=a4_0x5945d8(0x119),STATE_FAILED=a4_0x5945d8(0x99),a4_0xf5f5ca={};a4_0xf5f5ca[a4_0x5945d8(0x101)]=a4_0x5945d8(0x144),a4_0xf5f5ca[a4_0x5945d8(0x129)]=a4_0x5945d8(0xa0),a4_0xf5f5ca[a4_0x5945d8(0x11a)]=a4_0x5945d8(0xb8),a4_0xf5f5ca[a4_0x5945d8(0x71)]=a4_0x5945d8(0x152),a4_0xf5f5ca['HOOK_RUN_FINISHED']=a4_0x5945d8(0x12c);const TEST_EVENTS=a4_0xf5f5ca,parseEvent=_0x215047=>{const _0x25de07=a4_0x5945d8,_0x4bc606={};_0x4bc606[_0x25de07(0x80)]=function(_0x2dc85e,_0x462ad6){return _0x2dc85e<_0x462ad6;},_0x4bc606[_0x25de07(0xdd)]=function(_0x4b80e5,_0x66c61a){return _0x4b80e5===_0x66c61a;},_0x4bc606['eQvvM']=_0x25de07(0x125),_0x4bc606[_0x25de07(0x72)]=_0x25de07(0x88),_0x4bc606[_0x25de07(0xdb)]=function(_0x5c003f,_0x3e1522){return _0x5c003f===_0x3e1522;},_0x4bc606['bYeKL']=_0x25de07(0x86),_0x4bc606[_0x25de07(0xb6)]=_0x25de07(0x16e),_0x4bc606[_0x25de07(0xce)]='finished';const _0x1143e7=_0x4bc606,_0x5cff43=_0x215047[_0x25de07(0x162)](/^(.*)Run(.*)$/);if(!_0x5cff43)return null;if(_0x1143e7[_0x25de07(0x80)](_0x5cff43[_0x25de07(0x166)],0x3))return null;const _0x54eca9=_0x5cff43[0x1]['toLowerCase'](),_0x205028=_0x5cff43[0x2][_0x25de07(0xb9)]();return{'test':_0x1143e7[_0x25de07(0xdd)](_0x54eca9,_0x1143e7[_0x25de07(0xa5)]),'hook':_0x1143e7[_0x25de07(0xdd)](_0x54eca9,_0x1143e7[_0x25de07(0x72)]),'skipped':_0x1143e7[_0x25de07(0xdb)](_0x205028,_0x1143e7[_0x25de07(0x140)]),'started':_0x1143e7[_0x25de07(0xdb)](_0x205028,_0x1143e7[_0x25de07(0xb6)]),'finished':_0x1143e7[_0x25de07(0xdb)](_0x205028,_0x1143e7[_0x25de07(0xce)])};},mockPWBrowserType=_0x119d9a=>{const _0x22f3a8=a4_0x5945d8,_0x5a9bfe={'yDWVX':function(_0x1e112f,_0x589fcf){return _0x1e112f===_0x589fcf;},'uzzah':'string','cpcfG':function(_0x3916e4,_0x441006,_0x255cf6){return _0x3916e4(_0x441006,_0x255cf6);},'WKoad':_0x22f3a8(0x97),'zCzpn':function(_0x45f5a4,_0x2c2814){return _0x45f5a4(_0x2c2814);},'eDBJo':'browserstack','uSVfI':_0x22f3a8(0x139),'FnHxm':_0x22f3a8(0x76),'baBSs':_0x22f3a8(0xd5),'zQrMg':function(_0x24ecbe,_0x1782df){return _0x24ecbe(_0x1782df);},'FoPlW':_0x22f3a8(0x161),'Dhlmt':'connect','saDCq':'launch'},_0x6df745=path[_0x22f3a8(0x158)](_0x5a9bfe[_0x22f3a8(0x113)],_0x5a9bfe[_0x22f3a8(0x85)],_0x5a9bfe[_0x22f3a8(0x149)]),_0x345ffc=_0x5a9bfe[_0x22f3a8(0x123)](importFileFromPWCore,_0x6df745);if(!_0x345ffc){_0x5a9bfe[_0x22f3a8(0xfd)](debug,_0x5a9bfe[_0x22f3a8(0x15c)]);return;}const _0x13d0b5=_0x345ffc[_0x22f3a8(0xf1)],_0x4bc2b9=_0x13d0b5[_0x22f3a8(0x7a)];if(_0x4bc2b9[_0x22f3a8(0xe9)])return;const _0x188386=_0x4bc2b9['connect'];Object[_0x22f3a8(0x74)](_0x4bc2b9,_0x5a9bfe[_0x22f3a8(0xe5)],{'get':function(){const _0x1947db=_0x22f3a8,_0x2b3cf5={'GyjBd':function(_0x1e1d00,_0x4a6641){const _0x5a268c=a4_0x29c4;return _0x5a9bfe[_0x5a268c(0xd9)](_0x1e1d00,_0x4a6641);},'oQHNm':_0x5a9bfe[_0x1947db(0xac)],'lvqHu':function(_0x2fd0d3,_0x2f06ff,_0x50cbfd){const _0xddad4e=_0x1947db;return _0x5a9bfe[_0xddad4e(0x130)](_0x2fd0d3,_0x2f06ff,_0x50cbfd);},'swvfO':_0x5a9bfe['WKoad'],'MUqNZ':function(_0x335deb,_0xe5727f){const _0xd98b5e=_0x1947db;return _0x5a9bfe[_0xd98b5e(0x123)](_0x335deb,_0xe5727f);},'dqvsi':_0x5a9bfe[_0x1947db(0x168)],'ZvPUs':function(_0x530453,_0x258171,_0x3c2605){const _0x3af557=_0x1947db;return _0x5a9bfe[_0x3af557(0x130)](_0x530453,_0x258171,_0x3c2605);},'rdPCO':function(_0x5d9835,_0x3581ea){const _0x15f628=_0x1947db;return _0x5a9bfe[_0x15f628(0x123)](_0x5d9835,_0x3581ea);}};return async function _0x207dba(_0x1fd590,_0x3d4155){const _0x26a3c0=_0x1947db,_0x3c95e5={'pQIfA':function(_0x2be490,_0x43035f){const _0xdfa5a3=a4_0x29c4;return _0x2b3cf5[_0xdfa5a3(0xc3)](_0x2be490,_0x43035f);},'vKJrb':_0x2b3cf5['oQHNm']},_0x38d337=_0x2b3cf5['lvqHu'](nestedKeyValue,_0x1fd590,[_0x2b3cf5[_0x26a3c0(0xb4)]])||_0x1fd590;let _0x2f67d0=null,_0x2ccb8b=null;try{[_0x2ccb8b,_0x2f67d0]=_0x38d337?_0x2b3cf5[_0x26a3c0(0x110)](parseWSEndpoint,_0x38d337):[null,null],global[_0x26a3c0(0xd3)]=_0x2f67d0,_0x2ccb8b[_0x26a3c0(0x159)](_0x2b3cf5[_0x26a3c0(0xef)])&&(global[_0x26a3c0(0x104)]=_0x2b3cf5[_0x26a3c0(0xef)]);}catch(_0x579870){logger[_0x26a3c0(0x94)]('Failed\x20to\x20parse\x20wsendpoint\x20'+_0x38d337+'\x20'+_0x579870);}_0x2b3cf5[_0x26a3c0(0xbb)](processAccessibilityCaps,_0x2f67d0,_0x2ccb8b);if(global[_0x26a3c0(0x103)]){const _0x235204=await _0x4bc2b9[_0x26a3c0(0xb5)][_0x26a3c0(0x8a)](this,[''+Constants[_0x26a3c0(0x141)]+_0x2b3cf5[_0x26a3c0(0x147)](encodeURIComponent,JSON['stringify'](_0x2f67d0))]);return PlaywrightSessionDetails[_0x26a3c0(0x115)](_0x235204,_0x119d9a,_0x38d337),_0x235204;}return _0x188386[_0x26a3c0(0x8a)](this,arguments)[_0x26a3c0(0xc5)](_0x4b0ee4=>{const _0x506a36=_0x26a3c0;let _0x1a3255=_0x1fd590['wsEndpoint'];return _0x3c95e5[_0x506a36(0xc2)](typeof _0x1fd590,_0x3c95e5['vKJrb'])&&(_0x1a3255=_0x1fd590),PlaywrightSessionDetails['setupBrowserDetails'](_0x4b0ee4,_0x119d9a,_0x1a3255),_0x4b0ee4;});};}});const _0xa41295=_0x4bc2b9[_0x22f3a8(0xa6)];Object[_0x22f3a8(0x74)](_0x4bc2b9,_0x5a9bfe[_0x22f3a8(0x84)],{'get':function(){return async function _0x153a44(){const _0x122f44=a4_0x29c4;return _0xa41295[_0x122f44(0x8a)](this,arguments)[_0x122f44(0xc5)](_0x137043=>{return PlaywrightSessionDetails['setupBrowserDetails'](_0x137043,null),_0x137043;});};}});};class O11yHelper{[a4_0x5945d8(0x9a)]=null;[a4_0x5945d8(0x132)]=null;[a4_0x5945d8(0x127)]=![];['frameworkName']=![];constructor(_0x4bda02,_0x5e73fa){const _0x2a1e2d=a4_0x5945d8,_0x11737d={'ADfsh':_0x2a1e2d(0xae),'AKQbL':function(_0xa6b880){return _0xa6b880();},'zbpAA':function(_0x4e80f8){return _0x4e80f8();},'aCWJB':function(_0x4aefa4,_0x37d56e){return _0x4aefa4===_0x37d56e;},'LgbPE':_0x2a1e2d(0x98),'iGwkv':function(_0x1e8415,_0xb8b54b){return _0x1e8415(_0xb8b54b);}},_0x3a4bd4=_0x11737d[_0x2a1e2d(0x10a)][_0x2a1e2d(0x15b)]('|');let _0x332b4a=0x0;while(!![]){switch(_0x3a4bd4[_0x332b4a++]){case'0':this[_0x2a1e2d(0xeb)]=_0x11737d[_0x2a1e2d(0x9b)](getTestEnv);continue;case'1':this[_0x2a1e2d(0x127)]=_0x11737d[_0x2a1e2d(0x12a)](shouldProcessEventForTesthub);continue;case'2':this[_0x2a1e2d(0xd1)]=new testOpsHelper[(_0x2a1e2d(0x14e))]({'cwd':process['cwd']()},this[_0x2a1e2d(0xeb)]['location_prefix']);continue;case'3':this[_0x2a1e2d(0xf6)]&&_0x11737d[_0x2a1e2d(0x7e)](this[_0x2a1e2d(0xf6)][_0x2a1e2d(0xcf)][_0x2a1e2d(0xfa)],_0x11737d['LgbPE'])&&_0x11737d[_0x2a1e2d(0x138)](mockPWBrowserType,null);continue;case'4':this[_0x2a1e2d(0x137)]=_0x5e73fa[_0x2a1e2d(0x137)];continue;case'5':this['driver']=_0x4bda02;continue;}break;}}['start'](){const _0x3a3240=a4_0x5945d8;if(!this[_0x3a3240(0x127)])return;testOpsHelper[_0x3a3240(0x121)](),process[_0x3a3240(0xe2)](_0x3a3240(0xb0)+process[_0x3a3240(0xb3)]),process['on'](_0x3a3240(0xb0)+process[_0x3a3240(0xb3)],this[_0x3a3240(0x122)][_0x3a3240(0xaa)](this));}async[a4_0x5945d8(0x7c)](){const _0x4a43d9=a4_0x5945d8;await RequestQueueHandler[_0x4a43d9(0x16a)]()[_0x4a43d9(0xf0)]();}async['appendTestItemLog'](_0x68abc1){const _0x46773e=a4_0x5945d8,_0x59ab58={'VqVZX':_0x46773e(0x7b),'STYzf':function(_0x30d334,_0x3a6e82){return _0x30d334(_0x3a6e82);}};try{this[_0x46773e(0x132)]&&!this[_0x46773e(0x132)][_0x46773e(0x102)]&&(_0x68abc1[_0x46773e(0x7d)]=this['currentHook'][_0x46773e(0x134)]);!_0x68abc1[_0x46773e(0x7d)]&&this[_0x46773e(0x9a)]&&!this[_0x46773e(0x9a)][_0x46773e(0x102)]&&(_0x68abc1['test_run_uuid']=this[_0x46773e(0x9a)][_0x46773e(0xe0)]);if(_0x68abc1[_0x46773e(0x7d)]||_0x68abc1[_0x46773e(0x14f)]){const _0xb5f4f7={};_0xb5f4f7[_0x46773e(0x13e)]=_0x59ab58[_0x46773e(0xcd)],_0xb5f4f7[_0x46773e(0x167)]=[_0x68abc1],await SessionHandler['uploadEventData'](_0xb5f4f7);}}catch(_0x32702c){_0x59ab58[_0x46773e(0x153)](debug,_0x46773e(0x10e)+_0x32702c);}}async[a4_0x5945d8(0x15e)](_0x400afa){const _0xa98409=a4_0x5945d8,_0x24b3a3={'oDBuf':_0xa98409(0x155),'GIbCJ':function(_0x572166,_0x9b803f){return _0x572166(_0x9b803f);}};if(!this['enabled'])return;const _0x3706f8=this['getCBTInfo'](this[_0xa98409(0xf6)]);try{const _0x566565={};_0x566565['uuid']=_0x400afa,_0x566565['integrations']=_0x3706f8;const _0x47eaa7=_0x566565,_0x2b739a={};_0x2b739a['event_type']=_0x24b3a3[_0xa98409(0xf9)],_0x2b739a[_0xa98409(0x15f)]=_0x47eaa7,await SessionHandler['uploadEventData'](_0x2b739a);}catch(_0x29462c){_0x24b3a3['GIbCJ'](debug,_0xa98409(0x100)+_0x29462c);}}[a4_0x5945d8(0xe7)](_0x3f7b05){const _0x43845a={'utFaM':function(_0x38894d,_0x15e5b1){return _0x38894d(_0x15e5b1);}};return _0x43845a['utFaM'](fetchPlatformDetails,_0x3f7b05);}[a4_0x5945d8(0x95)]=_0xbda1fb=>{const _0x5dd506=a4_0x5945d8,_0xb1529b={};_0xb1529b['RdbbI']=_0x5dd506(0x12f),_0xb1529b[_0x5dd506(0x15d)]=_0x5dd506(0xe3);const _0x5bd4ab=_0xb1529b;if(!_0xbda1fb||!_0xbda1fb[_0x5dd506(0x8e)])return;[_0x5bd4ab[_0x5dd506(0xc7)],_0x5bd4ab[_0x5dd506(0x15d)]][_0x5dd506(0x148)](_0x254153=>{const _0xbd9968=_0x5dd506,_0x325d9a=_0xbda1fb[_0xbd9968(0x8e)][_0x254153];_0x325d9a['forEach'](_0x41290e=>{const _0x57c30b=_0xbd9968;_0x41290e[_0x57c30b(0x134)]&&(_0x41290e[_0x57c30b(0x134)]=null);});});};[a4_0x5945d8(0xea)](_0x5440f6){const _0x30566f=a4_0x5945d8,_0x2bb854={'yutTc':_0x30566f(0x9c),'dbgAi':function(_0xb4c451){return _0xb4c451();},'gULJi':function(_0x427fd6,_0x333b12){return _0x427fd6===_0x333b12;},'bYjsh':_0x30566f(0xe3),'JOpVe':_0x30566f(0x89),'goNsf':_0x30566f(0xde),'IBJxY':_0x30566f(0x12f)};if(!_0x5440f6||!_0x5440f6['parent'])return;[_0x2bb854[_0x30566f(0xa8)],_0x2bb854['goNsf'],_0x2bb854[_0x30566f(0xec)],_0x2bb854['bYjsh']][_0x30566f(0x148)](_0x413220=>{const _0x30ee07=_0x30566f,_0x1c26a1={'WPhDc':_0x2bb854[_0x30ee07(0x165)],'APZUm':function(_0x558754){const _0x18ae64=_0x30ee07;return _0x2bb854[_0x18ae64(0x105)](_0x558754);},'yHGEm':function(_0x24a4cf,_0xed4f61){return _0x2bb854['gULJi'](_0x24a4cf,_0xed4f61);},'VnkwZ':_0x2bb854[_0x30ee07(0x81)]},_0x17d8b1=_0x5440f6[_0x30ee07(0x8e)][_0x413220]||[];_0x17d8b1[_0x30ee07(0x148)](_0x4e53a1=>{const _0x3063b5=_0x30ee07;if(_0x4e53a1[_0x3063b5(0xfe)][_0x3063b5(0x159)](_0x1c26a1[_0x3063b5(0xc4)]))return;if(!_0x4e53a1[_0x3063b5(0x134)])_0x4e53a1['hookAnalyticsId']=_0x1c26a1[_0x3063b5(0x124)](uuidv4);else _0x4e53a1['markedStatus']&&_0x1c26a1['yHGEm'](_0x413220,_0x1c26a1['VnkwZ'])&&(_0x4e53a1['hookAnalyticsId']=_0x1c26a1[_0x3063b5(0x124)](uuidv4),delete _0x4e53a1['markedStatus']);});}),this[_0x30566f(0xea)](_0x5440f6[_0x30566f(0x8e)]);}[a4_0x5945d8(0x10b)](_0x3ca0c7){const _0x437570=a4_0x5945d8,_0x57779c={};_0x57779c[_0x437570(0xd6)]=_0x437570(0x89),_0x57779c[_0x437570(0xd2)]='_afterAll',_0x57779c[_0x437570(0xda)]='_beforeEach',_0x57779c[_0x437570(0x73)]='_afterEach';const _0xa7adf3=_0x57779c;if(!_0x3ca0c7||!_0x3ca0c7[_0x437570(0x8e)])return[];const _0x5a785e=[];return[_0xa7adf3[_0x437570(0xd6)],_0xa7adf3[_0x437570(0xd2)],_0xa7adf3['jqzfc'],_0xa7adf3[_0x437570(0x73)]][_0x437570(0x148)](_0xd7adfb=>{const _0x49d839=_0x437570,_0x351b3e=_0x3ca0c7['parent'][_0xd7adfb]||[];_0x351b3e[_0x49d839(0x148)](_0xc49302=>{const _0x45095e=_0x49d839;_0xc49302[_0x45095e(0x134)]&&_0x5a785e[_0x45095e(0xd4)](_0xc49302['hookAnalyticsId']);});}),[][_0x437570(0x11f)](_0x5a785e,this[_0x437570(0x10b)](_0x3ca0c7[_0x437570(0x8e)]));}[a4_0x5945d8(0xba)](_0x2bbca0){const _0x23c7c2=a4_0x5945d8,_0x5341fe=/^"(?<hook>.*)" hook:.*$/,_0x103de4=_0x2bbca0['title'],_0x8cecd5=_0x103de4[_0x23c7c2(0x162)](_0x5341fe);if(_0x8cecd5&&_0x8cecd5[_0x23c7c2(0xe8)])return _0x8cecd5[_0x23c7c2(0xe8)]['hook'][_0x23c7c2(0x106)]()['replace']('\x20','_');return null;}['findGitConfig'](_0x297ef7){const _0x5727ec=a4_0x5945d8,_0x2f249b={};_0x2f249b['eCOyZ']=function(_0x9e2936,_0x3ff1b3){return _0x9e2936===_0x3ff1b3;},_0x2f249b[_0x5727ec(0x15a)]=function(_0x2e60bf,_0x26558f){return _0x2e60bf===_0x26558f;},_0x2f249b[_0x5727ec(0xf5)]=function(_0x3d07ff,_0xb3f2a0){return _0x3d07ff===_0xb3f2a0;},_0x2f249b[_0x5727ec(0xdf)]=_0x5727ec(0xed),_0x2f249b[_0x5727ec(0x10d)]=_0x5727ec(0x16b);const _0x3ecc9a=_0x2f249b,_0x31193b=path[_0x5727ec(0x12b)];if(_0x3ecc9a[_0x5727ec(0x12e)](_0x297ef7,null)||_0x3ecc9a[_0x5727ec(0x15a)](_0x297ef7,'')||_0x3ecc9a[_0x5727ec(0xf5)](_0x297ef7,_0x31193b)||_0x3ecc9a[_0x5727ec(0xf5)](_0x297ef7,path['dirname'](_0x297ef7)))return null;try{return fs[_0x5727ec(0x150)](path['join'](_0x297ef7,_0x3ecc9a[_0x5727ec(0xdf)],_0x3ecc9a[_0x5727ec(0x10d)])),_0x297ef7;}catch(_0x56a3e2){const _0x3d7452=path[_0x5727ec(0xbf)](_0x297ef7);return this[_0x5727ec(0x109)](_0x3d7452);}}[a4_0x5945d8(0xe1)](_0x4189dd){const _0x2340de=a4_0x5945d8,_0x311196={};_0x311196[_0x2340de(0x83)]=function(_0x5a2b7e,_0x38198d){return _0x5a2b7e>_0x38198d;};const _0x315077=_0x311196;if(_0x4189dd[_0x2340de(0x169)])return _0x4189dd[_0x2340de(0x169)];if(_0x4189dd[_0x2340de(0xcc)]){const _0x211b7d=_0x4189dd[_0x2340de(0xcc)][_0x2340de(0x9a)]?this[_0x2340de(0xe1)](_0x4189dd[_0x2340de(0xcc)][_0x2340de(0x9a)]):null;if(_0x211b7d)return _0x211b7d;}if(_0x4189dd[_0x2340de(0x8e)]){const _0x3604c7=this['getRootParentFile'](_0x4189dd['parent'])||(_0x4189dd['parent'][_0x2340de(0xcc)]&&_0x4189dd[_0x2340de(0x8e)]['ctx'][_0x2340de(0x9a)]?this[_0x2340de(0xe1)](_0x4189dd[_0x2340de(0x8e)]['ctx'][_0x2340de(0x9a)]):null);if(_0x3604c7)return _0x3604c7;_0x4189dd[_0x2340de(0x8e)][_0x2340de(0x79)]&&_0x315077[_0x2340de(0x83)](_0x4189dd['parent'][_0x2340de(0x79)][_0x2340de(0x166)],0x0)&&_0x4189dd[_0x2340de(0x8e)][_0x2340de(0x79)][_0x2340de(0x148)](_0x510ac8=>{const _0x51716c=_0x2340de,_0x48fbb9=_0x510ac8[_0x51716c(0xcc)]?this[_0x51716c(0xe1)](_0x510ac8[_0x51716c(0xcc)]):null;if(_0x48fbb9)return _0x48fbb9;});}return null;}[a4_0x5945d8(0x96)](_0x5e9206){const _0x4ca6ce=a4_0x5945d8,_0x11f7da={};_0x11f7da[_0x4ca6ce(0x91)]=function(_0x213f63,_0x5a51c5){return _0x213f63!==_0x5a51c5;};const _0x36303f=_0x11f7da,_0x2f13bb=[];if(_0x5e9206&&_0x5e9206[_0x4ca6ce(0x8e)]){let _0x2ca520=_0x5e9206[_0x4ca6ce(0x8e)];while(_0x2ca520&&_0x36303f[_0x4ca6ce(0x91)](_0x2ca520[_0x4ca6ce(0xfe)],'')){_0x2f13bb['push'](_0x2ca520[_0x4ca6ce(0xfe)]),_0x2ca520=_0x2ca520[_0x4ca6ce(0x8e)];}}return _0x2f13bb;}[a4_0x5945d8(0xf2)](_0x42591c,_0xaedcbb,_0x29fa85=undefined){const _0x4d42ea=a4_0x5945d8,_0x244110={'oWQYZ':function(_0x2ee601,_0x48635e){return _0x2ee601(_0x48635e);},'JqhYr':function(_0xc5c409){return _0xc5c409();},'fReqT':function(_0x5da895){return _0x5da895();},'sTkNA':function(_0x5db164,_0x19ce16){return _0x5db164(_0x19ce16);},'vXcdT':_0x4d42ea(0x107),'lByvg':_0x4d42ea(0xf8),'fwIoB':function(_0x300739,_0x1cdc5d){return _0x300739!==_0x1cdc5d;},'YXohx':_0x4d42ea(0xfc),'WCmXX':_0x4d42ea(0x14a),'fkAuB':_0x4d42ea(0x99),'Oqqtu':_0x4d42ea(0x119),'DQpAj':_0x4d42ea(0x86),'vQgiq':_0x4d42ea(0x12d),'ndRHr':function(_0xd57110,_0x1aa78e){return _0xd57110-_0x1aa78e;},'UrFlt':function(_0x90ca1b,_0x159edc,_0x447dca,_0x3f5ffd,_0x22ef38){return _0x90ca1b(_0x159edc,_0x447dca,_0x3f5ffd,_0x22ef38);},'nCiZz':_0x4d42ea(0xa7),'qugwG':'meta','sOEBo':_0x4d42ea(0x145),'GYtrj':_0x4d42ea(0xe4),'tGpQF':'backtrace','Nakxd':_0x4d42ea(0x146),'dFHsj':'expanded','CgMlH':function(_0x1a0378,_0x3c8542){return _0x1a0378===_0x3c8542;},'oTMje':_0x4d42ea(0x8d),'MlgEH':_0x4d42ea(0x15f)};if(!this[_0x4d42ea(0x127)])return;try{if(_0xaedcbb['fn']&&_0xaedcbb['fn'][_0x4d42ea(0x78)]()[_0x4d42ea(0x162)](/browserstack internal helper hook/))return;const _0x42b60a=_0x244110[_0x4d42ea(0x10c)](parseEvent,_0x42591c);if(!_0x42b60a)return;if(_0x42b60a[_0x4d42ea(0x125)]){this[_0x4d42ea(0x9a)]=_0xaedcbb,this[_0x4d42ea(0x132)]=null;if(_0x42b60a[_0x4d42ea(0x16e)]||_0x42b60a[_0x4d42ea(0x86)]){_0xaedcbb['startedAt']=new Date(),_0xaedcbb[_0x4d42ea(0x102)]=![];if(!_0xaedcbb[_0x4d42ea(0xe0)])_0xaedcbb[_0x4d42ea(0xe0)]=_0x244110[_0x4d42ea(0x117)](uuidv4);else _0xaedcbb[_0x4d42ea(0x102)]&&(!_0xaedcbb[_0x4d42ea(0x13c)]&&(_0xaedcbb[_0x4d42ea(0x13c)]=_0xaedcbb[_0x4d42ea(0xe0)]),_0xaedcbb['testAnalyticsId']=_0x244110[_0x4d42ea(0x117)](uuidv4));}}else{if(_0x42b60a[_0x4d42ea(0x88)]){this[_0x4d42ea(0x132)]=_0xaedcbb;if(_0x42b60a[_0x4d42ea(0x16e)]){_0xaedcbb[_0x4d42ea(0xdc)]=new Date(),_0xaedcbb[_0x4d42ea(0x102)]=![];if(!_0xaedcbb['hookAnalyticsId'])_0xaedcbb['hookAnalyticsId']=_0x244110['JqhYr'](uuidv4);else _0xaedcbb[_0x4d42ea(0x134)]&&_0xaedcbb[_0x4d42ea(0x102)]&&(_0xaedcbb[_0x4d42ea(0x134)]=_0x244110[_0x4d42ea(0xc9)](uuidv4));}}}if(_0x42b60a['finished']&&_0xaedcbb[_0x4d42ea(0x102)])return;let _0x30a986;try{_0x30a986=this[_0x4d42ea(0xe1)](_0xaedcbb);}catch(_0x3dbb42){logger[_0x4d42ea(0x94)](_0x4d42ea(0xe6)+_0x3dbb42),_0x30a986=null;}const _0x1954bd=_0x244110['sTkNA'](require,_0x244110[_0x4d42ea(0x114)]);let _0x560573=[];_0x29fa85&&(_0x560573=[_0x29fa85,_0x244110[_0x4d42ea(0x7f)]]);const _0x4d00fd=_0x244110['fwIoB'](_0xaedcbb[_0x4d42ea(0xee)],undefined)?_0x1954bd[_0x4d42ea(0xb1)](_0xaedcbb[_0x4d42ea(0xee)][0x0]):_0x244110[_0x4d42ea(0x126)](_0x29fa85,undefined)?_0x29fa85[_0x4d42ea(0x78)]():undefined,_0x4e5da7=_0x30a986?this['findGitConfig'](_0x30a986):null,_0x3d83b1=_0x30a986?this['_paths'][_0x4d42ea(0x75)](this['getRootParentFile'](_0xaedcbb)):_0x244110[_0x4d42ea(0xb7)];let _0x2429ec=_0x244110['WCmXX'];const _0x3456a2=!_0x42b60a[_0x4d42ea(0x16e)]?new Date()[_0x4d42ea(0x13b)]():null;if(_0x42b60a[_0x4d42ea(0x157)])_0x2429ec=_0x29fa85?_0x244110[_0x4d42ea(0xa2)]:_0x244110[_0x4d42ea(0xf4)],_0xaedcbb['markedStatus']=!![];else _0x42b60a[_0x4d42ea(0x86)]&&(_0x2429ec=_0x244110[_0x4d42ea(0xfb)],_0xaedcbb[_0x4d42ea(0x102)]=!![]);const _0x339038={'framework':this['frameworkName'],'uuid':_0xaedcbb[_0x4d42ea(0xe0)]||_0xaedcbb[_0x4d42ea(0x134)],'name':_0xaedcbb[_0x4d42ea(0xfe)],'body':{'lang':_0x244110[_0x4d42ea(0x70)],'code':_0xaedcbb['body'][_0x4d42ea(0x78)]()},'type':_0xaedcbb[_0x4d42ea(0x112)],'scope':_0xaedcbb[_0x4d42ea(0x151)](),'scopes':this[_0x4d42ea(0x96)](_0xaedcbb),'file_name':_0x3d83b1,'vc_filepath':_0x4e5da7?path[_0x4d42ea(0x11c)](_0x4e5da7,_0x30a986):null,'location':_0x3d83b1,'result':_0x2429ec,'failure_reason':_0x4d00fd,'duration_in_ms':_0xaedcbb['duration']||(_0x42b60a['finished']||_0x42b60a[_0x4d42ea(0x86)])?_0x244110[_0x4d42ea(0x108)](Date[_0x4d42ea(0xa9)](),new Date(_0xaedcbb['startedAt'])['getTime']()):null,'started_at':new Date(_0xaedcbb[_0x4d42ea(0xdc)])['toISOString'](),'finished_at':_0x3456a2,'failure':testOpsHelper[_0x4d42ea(0xca)][_0x4d42ea(0x8a)](null,_0x560573),'failure_type':!_0x4d00fd?null:testOpsHelper[_0x4d42ea(0x170)](_0x4d00fd),'retry_of':_0xaedcbb[_0x4d42ea(0x13c)]||null,'tags':_0xaedcbb[_0x4d42ea(0x8b)]||[],'customRerunParam':{'rerun_name':_0xaedcbb[_0x4d42ea(0x151)]()}};_0x244110[_0x4d42ea(0x11b)](appendTesthubParams,_0x339038,_0x42591c,_0xaedcbb,FRAMEWORKS[_0x4d42ea(0x118)]);if(_0x42b60a['hook'])[_0x339038['hook_type'],_0x339038['name']]=[this[_0x4d42ea(0xba)](_0xaedcbb),_0xaedcbb['ctx']['test'][_0x4d42ea(0xfe)]],_0x42b60a['finished']?_0x244110[_0x4d42ea(0x126)](_0x339038[_0x4d42ea(0xaf)],_0x244110[_0x4d42ea(0xa2)])&&(_0x339038['result']=_0x244110[_0x4d42ea(0xf4)]):_0x339038[_0x4d42ea(0xff)]={};else _0x42b60a['test']&&(this[_0x4d42ea(0xea)](_0xaedcbb),_0x42b60a['skipped']&&this['resetSkipTestHooks'](_0xaedcbb),(_0x42b60a[_0x4d42ea(0x157)]||_0x42b60a['skipped'])&&(_0x339038[_0x4d42ea(0x111)]=this[_0x4d42ea(0x10b)](_0xaedcbb)));this[_0x4d42ea(0xf6)]&&(_0x42b60a['started']||_0x42b60a[_0x4d42ea(0x86)])&&(_0x339038[_0x244110[_0x4d42ea(0x120)]]=this[_0x4d42ea(0xe7)](this[_0x4d42ea(0xf6)]));_0x42b60a['test']&&_0x42b60a[_0x4d42ea(0x157)]&&_0xaedcbb[_0x4d42ea(0xbc)]&&(_0x339038[_0x244110['qugwG']]={'feature':{'name':_0xaedcbb[_0x4d42ea(0x8e)][_0x4d42ea(0x92)][_0x4d42ea(0xfa)],'path':_0x339038['file_name'],'description':_0xaedcbb[_0x4d42ea(0x8e)][_0x4d42ea(0xd8)]},'scenario':{'name':_0xaedcbb[_0x4d42ea(0xfe)]},'steps':_0xaedcbb[_0x4d42ea(0xbc)]});const _0x4b98f0=_0x339038[_0x244110[_0x4d42ea(0x77)]][0x0];_0x4b98f0&&(_0x339038[_0x244110['GYtrj']]=_0x4b98f0[_0x244110[_0x4d42ea(0x163)]],_0x339038[_0x244110[_0x4d42ea(0x9d)]]=_0x4b98f0[_0x244110[_0x4d42ea(0xa1)]]);if(_0xaedcbb[_0x4d42ea(0xbc)])for(const _0x28fefe of _0xaedcbb[_0x4d42ea(0xbc)]){!_0x28fefe[_0x4d42ea(0x164)]&&(_0x28fefe[_0x4d42ea(0x164)]=new Date()[_0x4d42ea(0x13b)](),_0x244110[_0x4d42ea(0x8c)](_0x28fefe[_0x4d42ea(0xaf)],_0x244110[_0x4d42ea(0xf7)])&&(_0x4b98f0?(_0x28fefe[_0x4d42ea(0xaf)]=_0x244110[_0x4d42ea(0xa2)],_0x28fefe['failure']=_0x4b98f0[_0x244110[_0x4d42ea(0x163)]][0x0]):_0x28fefe[_0x4d42ea(0xaf)]=_0x244110['Oqqtu']));}const _0x28a168={};_0x28a168['event_type']=_0x42b60a[_0x4d42ea(0x86)]?TEST_EVENTS[_0x4d42ea(0x129)]:_0x42591c;const _0x20be1d=_0x28a168;return _0x42b60a[_0x4d42ea(0x88)]?_0x20be1d[_0x244110[_0x4d42ea(0xc6)]]=_0x339038:_0x20be1d[_0x244110[_0x4d42ea(0x16f)]]=_0x339038,_0x20be1d;}catch(_0x1bab3f){logger['debug'](_0x4d42ea(0x136)+_0x42591c+_0x4d42ea(0x131)+_0x1bab3f);}}async['fireEvent'](_0x4f9487,_0x293646){const _0x325706=a4_0x5945d8;if(!this[_0x325706(0x127)]||!_0x293646||!_0x4f9487)return![];try{return await SessionHandler['uploadEventData'](_0x293646);}catch(_0x53b97f){logger[_0x325706(0x94)](_0x325706(0x13a)+_0x4f9487+_0x325706(0x131)+_0x53b97f);}}['initializeBddStep'](_0x427638){const _0x93ecd4=a4_0x5945d8,_0x6bfe46={};_0x6bfe46[_0x93ecd4(0x143)]=_0x93ecd4(0x14a);const _0x241068=_0x6bfe46;return{'id':_0x427638[_0x93ecd4(0x14b)],'text':_0x427638[_0x93ecd4(0x8f)],'keyword':_0x427638[_0x93ecd4(0xbe)],'started_at':_0x427638[_0x93ecd4(0xdc)][_0x93ecd4(0x13b)](),'result':_0x241068[_0x93ecd4(0x143)]};}[a4_0x5945d8(0xd0)](_0x3eee48){const _0x3e8354=a4_0x5945d8,_0x3fa927={'Wwoub':function(_0x3a8543){return _0x3a8543();}};!this[_0x3e8354(0x9a)][_0x3e8354(0xbc)]&&(this[_0x3e8354(0x9a)][_0x3e8354(0xbc)]=[]),!_0x3eee48[_0x3e8354(0x14b)]&&(_0x3eee48[_0x3e8354(0x14b)]=_0x3fa927[_0x3e8354(0xa4)](uuidv4),_0x3eee48[_0x3e8354(0xdc)]=new Date(),this[_0x3e8354(0x9a)][_0x3e8354(0xbc)][_0x3e8354(0xd4)](this[_0x3e8354(0x142)](_0x3eee48)));}[a4_0x5945d8(0xc0)](_0xa91bf2){const _0x2cc30c=a4_0x5945d8,_0x393393={'HzORI':function(_0x5f4522,_0x294396){return _0x5f4522(_0x294396);},'qLdSY':_0x2cc30c(0x87),'JdwCR':_0x2cc30c(0x14a),'pKqsW':_0x2cc30c(0x119),'nLPKU':function(_0xfa10f2,_0x4b568b){return _0xfa10f2-_0x4b568b;}};let _0x56b4a0=this[_0x2cc30c(0x9a)][_0x2cc30c(0xbc)]['find'](_0x3d91a4=>_0x3d91a4['id']===_0xa91bf2[_0x2cc30c(0x14b)]);_0x393393[_0x2cc30c(0xc1)](isUndefined,_0x56b4a0)&&(_0x56b4a0=this[_0x2cc30c(0x142)](_0xa91bf2)),_0x56b4a0['result']=[_0x393393[_0x2cc30c(0x16d)],_0x393393[_0x2cc30c(0x16c)]][_0x2cc30c(0x159)](_0xa91bf2['status'])?_0x393393['pKqsW']:_0xa91bf2[_0x2cc30c(0x13f)],_0x56b4a0[_0x2cc30c(0x164)]=new Date()['toISOString'](),_0x56b4a0[_0x2cc30c(0xbd)]=_0x393393['nLPKU'](Date['now'](),_0xa91bf2['startedAt'][_0x2cc30c(0x14d)]()),_0x56b4a0[_0x2cc30c(0x145)]=_0xa91bf2[_0x2cc30c(0xf8)]?_0xa91bf2[_0x2cc30c(0xf8)][_0x2cc30c(0xad)]:null;}}function a4_0x29c4(_0x5aaa89,_0x5ee533){const _0x29671e=a4_0x2967();return a4_0x29c4=function(_0x29c4b9,_0x1d3b24){_0x29c4b9=_0x29c4b9-0x70;let _0x1f5ab6=_0x29671e[_0x29c4b9];return _0x1f5ab6;},a4_0x29c4(_0x5aaa89,_0x5ee533);}function a4_0x2967(){const _0x1d0e33=['findGitConfig','ADfsh','getHooksForTest','oWQYZ','quJrV','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','path','MUqNZ','hooks','type','uSVfI','vXcdT','setupBrowserDetails','29637wNpedp','JqhYr','CODECEPT','passed','TEST_RUN_SKIPPED','UrFlt','relative','../playwright/accessibility-helper','../utils/constants','concat','nCiZz','patchConsoleLogger','appendTestItemLog','zCzpn','APZUm','test','fwIoB','enabled','STATE_PASSED','TEST_RUN_FINISHED','zbpAA','sep','HookRunFinished','javascript','eCOyZ','_beforeEach','cpcfG','\x20with\x20error\x20:\x20','currentHook','1507791PRgxBx','hookAnalyticsId','15328cfgJDv','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','frameworkName','iGwkv','lib','Exception\x20in\x20sending\x20test\x20data\x20for\x20event\x20','toISOString','retryOf','2366evyoYr','event_type','status','bYeKL','PLAYWRIGHT_HUB_URL','initializeBddStep','LqIhL','TestRunStarted','failure','failure_reason_expanded','rdPCO','forEach','baBSs','pending','stepAnalyticsId','512004weQdNF','getTime','PathHelper','test_run_uuid','statSync','fullTitle','HookRunStarted','STYzf','1130nceLOm','CBTSessionCreated','uuid','finished','join','includes','NBQdn','split','FoPlW','ErisA','sendCBTInfo','test_run','STATE_FAILED','Not\x20able\x20to\x20import\x20Browser','match','tGpQF','finished_at','yutTc','length','logs','eDBJo','file','getInstance','config','JdwCR','qLdSY','started','MlgEH','getFailureType','vQgiq','HOOK_RUN_STARTED','BWIIR','crPFi','defineProperty','prefixTestPath','client','sOEBo','toString','suites','prototype','LogCreated','stop','hook_run_uuid','aCWJB','lByvg','NlooZ','bYjsh','626346jpoAFy','OGeoe','saDCq','FnHxm','skipped','success','hook','_beforeAll','apply','tags','CgMlH','hook_run','parent','text','../../helpers/test-observability/constants','PQLpH','feature','O11yHelper','debug','resetSkipTestHooks','getHierarchy','wsEndpoint','Playwright','failed','currentTest','AKQbL','codeceptjs','Nakxd','../../helpers/test-observability/sessionHandler','6231030LHvgam','TestRunFinished','dFHsj','fkAuB','exports','Wwoub','eQvvM','launch','integrations','JOpVe','now','bind','1809760bToHzp','uzzah','message','1|4|5|0|2|3','result','bs:addLog:','inspect','../../helpers/test-observability/utils','pid','swvfO','connectOverCDP','lKkaa','YXohx','TestRunSkipped','toLowerCase','getHookType','ZvPUs','bddSteps','duration','keyword','dirname','bddStepFinish','HzORI','pQIfA','GyjBd','WPhDc','then','oTMje','RdbbI','../../helpers/helper','fReqT','failureData','10fymQEW','ctx','VqVZX','NBoPG','constructor','bddStepStart','_paths','FxPze','__platformCaps','push','browserType.js','FfxPS','winstonLogger','comment','yDWVX','jqzfc','PQRsu','startedAt','juDge','_afterAll','iYSht','testAnalyticsId','getRootParentFile','removeAllListeners','_afterEach','failure_backtrace','Dhlmt','failed\x20to\x20get\x20root\x20parent\x20file\x20','getCBTInfo','groups','obsBrowserTypeMockApplied','mapTestHooks','_testEnv','IBJxY','.git','errorsDetailed','dqvsi','shutdown','BrowserType','captureEvent','../../helpers/logger','Oqqtu','HncSK','driver','WCmXX','err','oDBuf','name','DQpAj','File\x20path\x20could\x20not\x20be\x20found','zQrMg','title','body','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','TEST_RUN_STARTED','markedStatus','accessibilityPlatform','__cloud_provider___','dbgAi','toUpperCase','util','ndRHr'];a4_0x2967=function(){return _0x1d0e33;};return a4_0x2967();}const a4_0x2162f5={};a4_0x2162f5[a4_0x5945d8(0x93)]=O11yHelper,a4_0x2162f5[a4_0x5945d8(0x128)]=STATE_PASSED,a4_0x2162f5[a4_0x5945d8(0x160)]=STATE_FAILED,a4_0x2162f5['TEST_EVENTS']=TEST_EVENTS,module[a4_0x5945d8(0xa3)]=a4_0x2162f5;
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a5_0x1942(_0x2296fd,_0x17cc13){const _0x2465d6=a5_0x2465();return a5_0x1942=function(_0x1942a5,_0x7660e){_0x1942a5=_0x1942a5-0x1e3;let _0x5e859e=_0x2465d6[_0x1942a5];return _0x5e859e;},a5_0x1942(_0x2296fd,_0x17cc13);}const a5_0x45048b=a5_0x1942;function a5_0x2465(){const _0x103d2b=['../../helpers/testhub/testhubHandler','EqyfP','printBuildLink','\x20failed','80181WeRDoU','1091790CnZFfl','mergeOutputFiles','splice','logLevel','KFqvX','removeDir','cwd','util','setUserConfigPath','4zLFgcC','debug','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stringify','tmp','stepsPending','CyGNy','parallelsPerPlatform','QnGmb','****\x20RESULTS\x20****','puOvE','BROWSERSTACK_TEST_OBSERVABILITY_YML','FmfEJ','14tWxAyQ','stepsUndefined','\x20ambiguous','2396480qdDRyr','true','createDir','scenarios','env','isUndefined','BzZcj','prepareCapabilities','parseFormatters','green','unlinkSync','start','cyan','../../helpers/performance/performance-tester','end','../../helpers/performance/constants','exports','6855130pDPsCu','meuqe','bold','BSaoE','SDK_SETUP','steps','CUCUMBER','4652pGqmcv','stepsFailed','\x20steps','error\x20removing\x20tcg\x20config\x20file','../test-runner','../utils/constants','framework','getHubUrl','then','ghZvG','807828LpPbrs','finalExecution','getTCGConfigFilePaths','finally','forEach','aTPqb','exitCode','Removing\x20tmp\x20directory\x20created\x20for\x20reports','accessibilityOptions','pkifR','red','mApot','setupTCGAuth','../../helpers/logger','join','scenariosFailed','804QaAwhL','path','Generating\x20consolidated\x20report...','yellow','yBxub','getUserWorkerCount','handleApp','kkUAK','FRAMEWORKS','mxaHR','push','../../helpers/helper','winstonLogger','config','chalk','testContextOptions','getErrorMessageFromResults','isBrowserstackInfra','JaMQl','argv','mevJQ','stop','SDK_CLEANUP','avnCl','length','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','log','cucumber','jnkRR','\x20passed','testObservability','FPvIf','\x20scenarios','stepsSkipped','proxySettings','rmdirSync','bgWhite','../../helpers/BrowserStackSetup','\x20undefined','\x20skipped','\x20pending','1507014UdBZur','initialize','launchBuild','../../helpers/utilities'];a5_0x2465=function(){return _0x103d2b;};return a5_0x2465();}(function(_0x3d22c9,_0x5b8383){const _0x5b3a14=a5_0x1942,_0x3b6921=_0x3d22c9();while(!![]){try{const _0x5e6b3f=parseInt(_0x5b3a14(0x1e7))/0x1+parseInt(_0x5b3a14(0x219))/0x2*(parseInt(_0x5b3a14(0x233))/0x3)+parseInt(_0x5b3a14(0x1f1))/0x4*(parseInt(_0x5b3a14(0x1e8))/0x5)+-parseInt(_0x5b3a14(0x223))/0x6*(-parseInt(_0x5b3a14(0x1fe))/0x7)+-parseInt(_0x5b3a14(0x201))/0x8+parseInt(_0x5b3a14(0x25c))/0x9+-parseInt(_0x5b3a14(0x212))/0xa;if(_0x5e6b3f===_0x5b8383)break;else _0x3b6921['push'](_0x3b6921['shift']());}catch(_0x469e63){_0x3b6921['push'](_0x3b6921['shift']());}}}(a5_0x2465,0x5b334));const fs=require('fs'),path=require(a5_0x45048b(0x234)),util=require(a5_0x45048b(0x1ef)),logger=require(a5_0x45048b(0x230))[a5_0x45048b(0x23f)],{default:BrowserStackSetup}=require(a5_0x45048b(0x258)),helper=require(a5_0x45048b(0x23e)),utilities=require(a5_0x45048b(0x25f)),constants=require(a5_0x45048b(0x21e)),{parallelCucumberRun}=require(a5_0x45048b(0x21d)),TestHubHandler=require(a5_0x45048b(0x1e3)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x45048b(0x241)),PerformanceTester=require(a5_0x45048b(0x20e)),PerformanceEvents=require(a5_0x45048b(0x210))['EVENTS'];function printCucumberStats(_0x4cc2ff){const _0x2d9294=a5_0x45048b,_0x6c26a1={};_0x6c26a1[_0x2d9294(0x228)]=function(_0x2641ed,_0x4e789e){return _0x2641ed>_0x4e789e;},_0x6c26a1[_0x2d9294(0x22c)]=function(_0x20f697,_0x22a9dd){return _0x20f697-_0x22a9dd;},_0x6c26a1[_0x2d9294(0x1f9)]=function(_0x3b0e0e,_0x1674a4){return _0x3b0e0e-_0x1674a4;},_0x6c26a1[_0x2d9294(0x1fb)]=function(_0x21d3aa,_0x15ad55){return _0x21d3aa>_0x15ad55;},_0x6c26a1['kkUAK']=function(_0x5e6881,_0x15b73f){return _0x5e6881>_0x15b73f;},_0x6c26a1[_0x2d9294(0x252)]=function(_0x5545be,_0x459bb9){return _0x5545be>_0x459bb9;},_0x6c26a1[_0x2d9294(0x1f7)]=function(_0x9f341b,_0x75eed8){return _0x9f341b>_0x75eed8;},_0x6c26a1[_0x2d9294(0x247)]=function(_0x29f765,_0x5d8e1e){return _0x29f765>_0x5d8e1e;},_0x6c26a1[_0x2d9294(0x237)]=function(_0x558c02,_0xf289d4){return _0x558c02+_0xf289d4;},_0x6c26a1[_0x2d9294(0x215)]=function(_0x3389d7,_0xe8493a){return _0x3389d7+_0xe8493a;},_0x6c26a1[_0x2d9294(0x24f)]=function(_0x5685a4,_0x17e619){return _0x5685a4+_0x17e619;},_0x6c26a1[_0x2d9294(0x213)]=function(_0x51fd77,_0x5c7305){return _0x51fd77===_0x5c7305;},_0x6c26a1[_0x2d9294(0x222)]=_0x2d9294(0x1fa);const _0x1fc179=_0x6c26a1;let _0x1d0c46=0x0;if(_0x1fc179[_0x2d9294(0x213)](_0x4cc2ff[_0x2d9294(0x24b)],0x0))return _0x1d0c46;return console[_0x2d9294(0x24d)](chalk[_0x2d9294(0x214)][_0x2d9294(0x257)](_0x1fc179['ghZvG'])),_0x4cc2ff[_0x2d9294(0x227)](_0x80e521=>{const _0xc587de=_0x2d9294,_0x29b738=_0x80e521[0x0],_0x96bacc=_0x80e521[0x1];console['log']('\x0a'+chalk[_0xc587de(0x214)][_0xc587de(0x236)](''+helper['getPlatformName'](_0x29b738)));const _0x650408=_0x96bacc[_0xc587de(0x204)],_0x1c36da=_0x96bacc[_0xc587de(0x217)],_0x5a06d1=_0x96bacc[_0xc587de(0x232)],_0x273461=_0x96bacc[_0xc587de(0x21a)],_0x22d227=_0x96bacc['stepsPassed'],_0x46b637=_0x96bacc[_0xc587de(0x254)],_0x16edef=_0x96bacc[_0xc587de(0x1f6)],_0x126ba7=_0x96bacc[_0xc587de(0x1ff)],_0x4d9503=_0x96bacc['stepsUnknown'],_0x116fd4=_0x96bacc['stepsAmbiguous'],_0x58c091=_0x96bacc['processSuccess'];let _0x2cef07=_0x650408+_0xc587de(0x253);const _0x402dc0=_0x1fc179[_0xc587de(0x228)](_0x1fc179[_0xc587de(0x22c)](_0x650408,_0x5a06d1),0x0)?_0x1fc179['QnGmb'](_0x650408,_0x5a06d1):0x0;if(_0x1fc179[_0xc587de(0x1fb)](_0x5a06d1,0x0)&&_0x1fc179[_0xc587de(0x228)](_0x402dc0,0x0))_0x2cef07+='\x20('+chalk[_0xc587de(0x214)][_0xc587de(0x22d)](_0x5a06d1+'\x20failed')+',\x20'+chalk[_0xc587de(0x214)][_0xc587de(0x20a)](_0x402dc0+'\x20passed')+')';else(_0x1fc179[_0xc587de(0x23a)](_0x5a06d1,0x0)||_0x1fc179[_0xc587de(0x23a)](_0x402dc0,0x0))&&(_0x2cef07+=_0x1fc179[_0xc587de(0x228)](_0x5a06d1,0x0)?'\x20('+chalk[_0xc587de(0x214)][_0xc587de(0x22d)](_0x5a06d1+_0xc587de(0x1e6))+')':'\x20('+chalk['bold'][_0xc587de(0x20a)](_0x402dc0+'\x20passed')+')');const _0x1d80a9=_0x1c36da+_0xc587de(0x21b),_0x366a82=[];_0x1fc179[_0xc587de(0x228)](_0x116fd4,0x0)&&_0x366a82['push'](''+chalk[_0xc587de(0x214)]['red'](_0x116fd4+_0xc587de(0x200)));_0x1fc179[_0xc587de(0x252)](_0x273461,0x0)&&_0x366a82[_0xc587de(0x23d)](''+chalk['bold'][_0xc587de(0x22d)](_0x273461+_0xc587de(0x1e6)));_0x1fc179[_0xc587de(0x228)](_0x22d227,0x0)&&_0x366a82[_0xc587de(0x23d)](''+chalk[_0xc587de(0x214)]['green'](_0x22d227+_0xc587de(0x250)));_0x1fc179[_0xc587de(0x1f7)](_0x16edef,0x0)&&_0x366a82['push'](''+chalk[_0xc587de(0x214)]['yellow'](_0x16edef+_0xc587de(0x25b)));_0x1fc179[_0xc587de(0x247)](_0x46b637,0x0)&&_0x366a82['push'](''+chalk[_0xc587de(0x214)][_0xc587de(0x20d)](_0x46b637+'\x20skipped'));_0x1fc179['mevJQ'](_0x126ba7,0x0)&&_0x366a82['push'](''+chalk['bold'][_0xc587de(0x236)](_0x126ba7+_0xc587de(0x259)));_0x1fc179[_0xc587de(0x247)](_0x4d9503,0x0)&&_0x366a82[_0xc587de(0x23d)](''+chalk[_0xc587de(0x214)][_0xc587de(0x236)](_0x4d9503+_0xc587de(0x25a)));const _0x55b4ba=_0x1fc179[_0xc587de(0x237)](_0x1fc179[_0xc587de(0x237)](_0x1fc179[_0xc587de(0x215)](_0x1d80a9,'('),_0x366a82[_0xc587de(0x231)](',\x20')),')');console[_0xc587de(0x24d)](_0x1fc179[_0xc587de(0x24f)](_0x1fc179[_0xc587de(0x24f)](_0x1fc179[_0xc587de(0x215)](_0x1fc179[_0xc587de(0x215)]('\x0a',_0x2cef07),'\x0a'),_0x55b4ba),'\x0a')),_0x1fc179[_0xc587de(0x213)](_0x58c091,![])&&(_0x1d0c46=0x1);}),_0x1d0c46;}async function run(_0x38feb9,_0x4259dc,_0x256597){const _0x4ce247=a5_0x45048b,_0x5adc92={'FmfEJ':function(_0x4f6e74,_0x44d295){return _0x4f6e74(_0x44d295);},'BzZcj':function(_0x313f7e,_0x58450a){return _0x313f7e>_0x58450a;},'mxaHR':_0x4ce247(0x235),'EqyfP':_0x4ce247(0x22a),'JvFub':_0x4ce247(0x24e),'mApot':_0x4ce247(0x21c),'avnCl':_0x4ce247(0x1f5),'hLpvX':function(_0x2cbb55,_0x224b09){return _0x2cbb55-_0x224b09;},'KFqvX':function(_0x1d6ff8,_0x2000d5){return _0x1d6ff8>=_0x2000d5;},'JaMQl':function(_0x3214d2,_0x4cfbb3){return _0x3214d2!=_0x4cfbb3;},'AURmV':_0x4ce247(0x202),'fdnYK':function(_0x4b5078,_0x355ba0,_0x6083ab,_0x1d398e,_0x39cf44,_0x464f7a){return _0x4b5078(_0x355ba0,_0x6083ab,_0x1d398e,_0x39cf44,_0x464f7a);}};await _0x256597[_0x4ce247(0x25d)](_0x38feb9),helper[_0x4ce247(0x1f0)](_0x256597[_0x4ce247(0x21f)],_0x38feb9);!helper[_0x4ce247(0x244)]()&&await _0x256597[_0x4ce247(0x22f)]();await helper[_0x4ce247(0x239)](_0x256597['config']);const _0x31fc21=helper['useW3C'](_0x256597[_0x4ce247(0x240)]);!helper[_0x4ce247(0x206)](_0x256597['config']['accessibilityOptions'])&&(process[_0x4ce247(0x205)][_0x4ce247(0x1f3)]=JSON[_0x4ce247(0x1f4)](_0x256597[_0x4ce247(0x240)][_0x4ce247(0x22b)]));const _0x1fef97=await TestHubHandler[_0x4ce247(0x25e)](constants[_0x4ce247(0x23b)][_0x4ce247(0x218)],_0x256597),_0x3ea514=helper[_0x4ce247(0x208)](_0x256597[_0x4ce247(0x240)],_0x31fc21,constants[_0x4ce247(0x23b)][_0x4ce247(0x218)]);if(!_0x256597[_0x4ce247(0x240)])return;const _0x293e7e=_0x256597[_0x4ce247(0x240)][_0x4ce247(0x1f8)]||helper[_0x4ce247(0x238)](_0x38feb9,_0x4259dc,_0x256597['config'],constants['FRAMEWORKS'][_0x4ce247(0x218)])||0x1,_0x501a2e={'server':helper[_0x4ce247(0x220)](_0x256597['config']),'proxySettings':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x255)],'maxWorkers':_0x293e7e,'browserStackLogLevel':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x1eb)],'skipSessionName':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x242)]['skipSessionName'],'skipSessionStatus':_0x256597[_0x4ce247(0x240)][_0x4ce247(0x242)]['skipSessionStatus'],'turboScaleUrl':_0x256597[_0x4ce247(0x240)]['turboScaleUrl']},_0x44d11b=process[_0x4ce247(0x246)],[_0x2369ff,_0x2d453a]=helper[_0x4ce247(0x209)](_0x44d11b),_0x4bbf9b=path['join'](process[_0x4ce247(0x1ee)](),_0x5adc92[_0x4ce247(0x24a)]);if(_0x5adc92[_0x4ce247(0x207)](_0x2d453a[_0x4ce247(0x24b)],0x0)){helper[_0x4ce247(0x203)](_0x4bbf9b);for(let _0x4a055a=_0x5adc92['hLpvX'](_0x2369ff[_0x4ce247(0x24b)],0x1);_0x5adc92[_0x4ce247(0x1ec)](_0x4a055a,0x0);_0x4a055a--){_0x44d11b[_0x4ce247(0x1ea)](_0x2369ff[_0x4a055a],0x2);}}_0x5adc92[_0x4ce247(0x245)](_0x256597[_0x4ce247(0x240)][_0x4ce247(0x251)],null)?process[_0x4ce247(0x205)][_0x4ce247(0x1fc)]=_0x256597[_0x4ce247(0x240)][_0x4ce247(0x251)]:process[_0x4ce247(0x205)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5adc92['AURmV'];PerformanceTester[_0x4ce247(0x20f)](PerformanceEvents[_0x4ce247(0x216)]);let _0x2dc3a7;_0x5adc92['fdnYK'](parallelCucumberRun,_0x3ea514,_0x501a2e,_0x256597[_0x4ce247(0x240)],_0x44d11b,_0x2d453a)[_0x4ce247(0x221)](async _0x25b1f6=>{const _0x56a07e=_0x4ce247;PerformanceTester[_0x56a07e(0x20c)](PerformanceEvents[_0x56a07e(0x249)]),_0x2dc3a7=_0x25b1f6;const _0x5a2b28=_0x5adc92[_0x56a07e(0x1fd)](printCucumberStats,_0x25b1f6);process[_0x56a07e(0x229)]=_0x5a2b28,_0x5adc92[_0x56a07e(0x207)](_0x2d453a[_0x56a07e(0x24b)],0x0)&&(logger[_0x56a07e(0x1f2)](_0x5adc92[_0x56a07e(0x23c)]),helper[_0x56a07e(0x1e9)](_0x4bbf9b,_0x2d453a),logger[_0x56a07e(0x1f2)](_0x5adc92[_0x56a07e(0x1e4)]),helper[_0x56a07e(0x1ed)](_0x4bbf9b));})[_0x4ce247(0x226)](async()=>{const _0x561bed=_0x4ce247;PerformanceTester[_0x561bed(0x20c)](PerformanceEvents['SDK_CLEANUP']),_0x256597['errorMessage']=helper[_0x561bed(0x243)](_0x2dc3a7,_0x5adc92['JvFub']),testOpsHelper[_0x561bed(0x1e5)]();try{await TestHubHandler[_0x561bed(0x248)]();}catch(_0x16d6ed){logger[_0x561bed(0x1f2)](_0x561bed(0x24c)+util['format'](_0x16d6ed));}try{const {browserstackFolderPath:_0x13ce1e,tcgConfigPath:_0x13877c}=helper[_0x561bed(0x225)]();fs[_0x561bed(0x20b)](_0x13877c),fs[_0x561bed(0x256)](_0x13ce1e);}catch(_0x3a5b00){logger[_0x561bed(0x1f2)](_0x5adc92[_0x561bed(0x22e)],_0x3a5b00);}await utilities[_0x561bed(0x224)](_0x256597);});}module[a5_0x45048b(0x211)]=run;
2
+ 'use strict';const a5_0x54d2fc=a5_0x6cab;(function(_0x2bb923,_0x1ba2fa){const _0x32daa9=a5_0x6cab,_0x345e28=_0x2bb923();while(!![]){try{const _0x117c59=parseInt(_0x32daa9(0x1d7))/0x1+-parseInt(_0x32daa9(0x22c))/0x2*(parseInt(_0x32daa9(0x20a))/0x3)+parseInt(_0x32daa9(0x1f9))/0x4*(parseInt(_0x32daa9(0x20b))/0x5)+parseInt(_0x32daa9(0x23d))/0x6*(-parseInt(_0x32daa9(0x219))/0x7)+-parseInt(_0x32daa9(0x216))/0x8*(-parseInt(_0x32daa9(0x207))/0x9)+parseInt(_0x32daa9(0x223))/0xa+-parseInt(_0x32daa9(0x21d))/0xb;if(_0x117c59===_0x1ba2fa)break;else _0x345e28['push'](_0x345e28['shift']());}catch(_0x4c29c7){_0x345e28['push'](_0x345e28['shift']());}}}(a5_0x3eb6,0x1962b));function a5_0x3eb6(){const _0x49cbe0=['testContextOptions','steps','log','testObservability','setupTCGAuth','env','stop','mergeOutputFiles','SDK_SETUP','bold','SkTaK','SvseS','../../helpers/test-observability/utils','isBrowserstackInfra','209624RxdQcM','finalExecution','processSuccess','parallelsPerPlatform','EVENTS','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stepsPassed','RWZnJ','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20skipped','scenarios','skipSessionStatus','stepsUndefined','63phfIQC','error\x20removing\x20tcg\x20config\x20file','GDRTY','67641YaDNpu','5Vzgdps','JXsMx','../utils/constants','setUserConfigPath','format','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','config','\x20undefined','finally','YKlzs','push','10392KhPcKL','ryVwO','parseFormatters','715883OcHGmB','yellow','errorMessage','CUCUMBER','189695LySLJs','framework','\x20ambiguous','length','Generating\x20consolidated\x20report...','then','2059410cKMCUK','Oiywf','logLevel','\x20passed','initialize','debug','rmdirSync','exitCode','accessibilityOptions','14kJaUfp','SDK_CLEANUP','splice','\x20failed','Mjtpk','mjpkX','path','removeDir','turboScaleUrl','../test-runner','\x20scenarios','TgWrk','cyan','Removing\x20tmp\x20directory\x20created\x20for\x20reports','stepsPending','red','../../helpers/logger','6DZTRIk','winstonLogger','BNhpu','lQjks','uJZNF','bgWhite','getUserWorkerCount','EpTpg','true','scenariosFailed','****\x20RESULTS\x20****','RKgoj','proxySettings','FRAMEWORKS','XMgQq','../../helpers/performance/constants','DmNbE','../../helpers/BrowserStackSetup','113882gbUVwc','prepareCapabilities','util','green','PutFL','../../helpers/performance/performance-tester','hAaTE','end','\x20pending','OVeZP','cucumber','launchBuild','createDir','tmp','RdPJz','printBuildLink','getPlatformName','getErrorMessageFromResults','aOdUH','forEach'];a5_0x3eb6=function(){return _0x49cbe0;};return a5_0x3eb6();}function a5_0x6cab(_0x3ce5e8,_0x3c45b0){const _0x3eb6e8=a5_0x3eb6();return a5_0x6cab=function(_0x6cab83,_0x493d15){_0x6cab83=_0x6cab83-0x1d3;let _0x312e43=_0x3eb6e8[_0x6cab83];return _0x312e43;},a5_0x6cab(_0x3ce5e8,_0x3c45b0);}const fs=require('fs'),path=require(a5_0x54d2fc(0x232)),util=require(a5_0x54d2fc(0x1d9)),logger=require(a5_0x54d2fc(0x23c))[a5_0x54d2fc(0x23e)],{default:BrowserStackSetup}=require(a5_0x54d2fc(0x1d6)),helper=require('../../helpers/helper'),utilities=require(a5_0x54d2fc(0x1fe)),constants=require(a5_0x54d2fc(0x20d)),{parallelCucumberRun}=require(a5_0x54d2fc(0x235)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x54d2fc(0x1f7)),chalk=require('chalk'),PerformanceTester=require(a5_0x54d2fc(0x1dc)),PerformanceEvents=require(a5_0x54d2fc(0x1d4))[a5_0x54d2fc(0x1fd)];function printCucumberStats(_0x1eb6cc){const _0x18dee9=a5_0x54d2fc,_0x170eab={};_0x170eab[_0x18dee9(0x1dd)]=function(_0xb5576e,_0x587401){return _0xb5576e>_0x587401;},_0x170eab[_0x18dee9(0x20c)]=function(_0x2c61a4,_0x85d276){return _0x2c61a4-_0x85d276;},_0x170eab[_0x18dee9(0x1db)]=function(_0x56601f,_0x107b74){return _0x56601f>_0x107b74;},_0x170eab[_0x18dee9(0x201)]=function(_0x29f1ff,_0x4a6162){return _0x29f1ff>_0x4a6162;},_0x170eab[_0x18dee9(0x241)]=function(_0x6b90bc,_0x242c62){return _0x6b90bc>_0x242c62;},_0x170eab[_0x18dee9(0x1e9)]=function(_0x2976ea,_0x542d7c){return _0x2976ea>_0x542d7c;},_0x170eab[_0x18dee9(0x23f)]=function(_0x5c846d,_0x890375){return _0x5c846d+_0x890375;},_0x170eab[_0x18dee9(0x240)]=function(_0x4e4552,_0xcf1eee){return _0x4e4552+_0xcf1eee;},_0x170eab['OVeZP']=function(_0x3aa300,_0x486edf){return _0x3aa300+_0x486edf;},_0x170eab[_0x18dee9(0x231)]=function(_0x49d20,_0x57caaf){return _0x49d20+_0x57caaf;},_0x170eab[_0x18dee9(0x244)]=function(_0x46fd8c,_0x9ad458){return _0x46fd8c===_0x9ad458;},_0x170eab[_0x18dee9(0x214)]=function(_0x5536be,_0x2276ba){return _0x5536be===_0x2276ba;},_0x170eab[_0x18dee9(0x217)]=_0x18dee9(0x247);const _0x6ea1ec=_0x170eab;let _0x1a41c6=0x0;if(_0x6ea1ec['YKlzs'](_0x1eb6cc[_0x18dee9(0x220)],0x0))return _0x1a41c6;return console[_0x18dee9(0x1ed)](chalk['bold'][_0x18dee9(0x242)](_0x6ea1ec[_0x18dee9(0x217)])),_0x1eb6cc[_0x18dee9(0x1ea)](_0x3f2085=>{const _0x4ac87d=_0x18dee9,_0x4baf00=_0x3f2085[0x0],_0xe12e19=_0x3f2085[0x1];console['log']('\x0a'+chalk[_0x4ac87d(0x1f4)]['yellow'](''+helper[_0x4ac87d(0x1e7)](_0x4baf00)));const _0x4cb59a=_0xe12e19[_0x4ac87d(0x204)],_0x2a98b7=_0xe12e19[_0x4ac87d(0x1ec)],_0x5cd678=_0xe12e19[_0x4ac87d(0x246)],_0x382cbf=_0xe12e19['stepsFailed'],_0x34b754=_0xe12e19[_0x4ac87d(0x200)],_0x70c956=_0xe12e19['stepsSkipped'],_0x45fc69=_0xe12e19[_0x4ac87d(0x23a)],_0x5b4586=_0xe12e19[_0x4ac87d(0x206)],_0x4ea7ff=_0xe12e19['stepsUnknown'],_0xb46a7e=_0xe12e19['stepsAmbiguous'],_0x31b36e=_0xe12e19[_0x4ac87d(0x1fb)];let _0x5574f3=_0x4cb59a+_0x4ac87d(0x236);const _0x1ba413=_0x6ea1ec[_0x4ac87d(0x1dd)](_0x6ea1ec[_0x4ac87d(0x20c)](_0x4cb59a,_0x5cd678),0x0)?_0x6ea1ec[_0x4ac87d(0x20c)](_0x4cb59a,_0x5cd678):0x0;if(_0x6ea1ec[_0x4ac87d(0x1dd)](_0x5cd678,0x0)&&_0x6ea1ec[_0x4ac87d(0x1dd)](_0x1ba413,0x0))_0x5574f3+='\x20('+chalk[_0x4ac87d(0x1f4)]['red'](_0x5cd678+_0x4ac87d(0x22f))+',\x20'+chalk[_0x4ac87d(0x1f4)]['green'](_0x1ba413+_0x4ac87d(0x226))+')';else(_0x6ea1ec['PutFL'](_0x5cd678,0x0)||_0x6ea1ec[_0x4ac87d(0x1dd)](_0x1ba413,0x0))&&(_0x5574f3+=_0x6ea1ec[_0x4ac87d(0x1dd)](_0x5cd678,0x0)?'\x20('+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x23b)](_0x5cd678+_0x4ac87d(0x22f))+')':'\x20('+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x1da)](_0x1ba413+_0x4ac87d(0x226))+')');const _0x2db55d=_0x2a98b7+'\x20steps',_0x4c75ce=[];_0x6ea1ec['hAaTE'](_0xb46a7e,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x23b)](_0xb46a7e+_0x4ac87d(0x21f)));_0x6ea1ec['RWZnJ'](_0x382cbf,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x23b)](_0x382cbf+'\x20failed'));_0x6ea1ec[_0x4ac87d(0x201)](_0x34b754,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)]['green'](_0x34b754+_0x4ac87d(0x226)));_0x6ea1ec[_0x4ac87d(0x1db)](_0x45fc69,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x21a)](_0x45fc69+_0x4ac87d(0x1df)));_0x6ea1ec[_0x4ac87d(0x201)](_0x70c956,0x0)&&_0x4c75ce['push'](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x238)](_0x70c956+'\x20skipped'));_0x6ea1ec['uJZNF'](_0x5b4586,0x0)&&_0x4c75ce[_0x4ac87d(0x215)](''+chalk[_0x4ac87d(0x1f4)]['yellow'](_0x5b4586+_0x4ac87d(0x212)));_0x6ea1ec[_0x4ac87d(0x1e9)](_0x4ea7ff,0x0)&&_0x4c75ce[_0x4ac87d(0x215)](''+chalk[_0x4ac87d(0x1f4)][_0x4ac87d(0x21a)](_0x4ea7ff+_0x4ac87d(0x203)));const _0x3bd431=_0x6ea1ec[_0x4ac87d(0x23f)](_0x6ea1ec['lQjks'](_0x6ea1ec[_0x4ac87d(0x1e0)](_0x2db55d,'('),_0x4c75ce['join'](',\x20')),')');console[_0x4ac87d(0x1ed)](_0x6ea1ec[_0x4ac87d(0x23f)](_0x6ea1ec['mjpkX'](_0x6ea1ec[_0x4ac87d(0x231)](_0x6ea1ec[_0x4ac87d(0x231)]('\x0a',_0x5574f3),'\x0a'),_0x3bd431),'\x0a')),_0x6ea1ec[_0x4ac87d(0x244)](_0x31b36e,![])&&(_0x1a41c6=0x1);}),_0x1a41c6;}async function run(_0x19ba6e,_0x5b0c3c,_0x3b1ff7){const _0xa4a8b5=a5_0x54d2fc,_0x35d672={'Mjtpk':function(_0x29a5bc,_0x52df2e){return _0x29a5bc(_0x52df2e);},'GDRTY':function(_0x411060,_0x164aa3){return _0x411060>_0x164aa3;},'SvseS':_0xa4a8b5(0x221),'SkTaK':_0xa4a8b5(0x239),'vUmSB':_0xa4a8b5(0x1e1),'Oiywf':_0xa4a8b5(0x208),'XMgQq':_0xa4a8b5(0x1e4),'TgWrk':function(_0xfe6064,_0x1d6475){return _0xfe6064-_0x1d6475;},'RdPJz':function(_0x362e38,_0x71f446){return _0x362e38>=_0x71f446;},'DmNbE':function(_0x105eb8,_0x1dcbea){return _0x105eb8!=_0x1dcbea;},'RKgoj':_0xa4a8b5(0x245),'PyQGR':function(_0x25273d,_0x3e27ff,_0x2354e4,_0x33ffff,_0x3a6029,_0xa9e8fd){return _0x25273d(_0x3e27ff,_0x2354e4,_0x33ffff,_0x3a6029,_0xa9e8fd);}};await _0x3b1ff7[_0xa4a8b5(0x227)](_0x19ba6e),helper[_0xa4a8b5(0x20e)](_0x3b1ff7[_0xa4a8b5(0x21e)],_0x19ba6e);!helper[_0xa4a8b5(0x1f8)]()&&await _0x3b1ff7[_0xa4a8b5(0x1ef)]();await helper['handleApp'](_0x3b1ff7['config']);const _0x348308=helper['useW3C'](_0x3b1ff7['config']);!helper['isUndefined'](_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x22b)])&&(process[_0xa4a8b5(0x1f0)][_0xa4a8b5(0x1ff)]=JSON['stringify'](_0x3b1ff7['config'][_0xa4a8b5(0x22b)]));const _0x4bddd0=await TestHubHandler[_0xa4a8b5(0x1e2)](constants[_0xa4a8b5(0x24a)][_0xa4a8b5(0x21c)],_0x3b1ff7),_0x85e2fb=helper[_0xa4a8b5(0x1d8)](_0x3b1ff7[_0xa4a8b5(0x211)],_0x348308,constants[_0xa4a8b5(0x24a)][_0xa4a8b5(0x21c)]);if(!_0x3b1ff7[_0xa4a8b5(0x211)])return;const _0x1ec41b=_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x1fc)]||helper[_0xa4a8b5(0x243)](_0x19ba6e,_0x5b0c3c,_0x3b1ff7[_0xa4a8b5(0x211)],constants[_0xa4a8b5(0x24a)][_0xa4a8b5(0x21c)])||0x1,_0x1c4ff1={'server':helper['getHubUrl'](_0x3b1ff7[_0xa4a8b5(0x211)]),'proxySettings':_0x3b1ff7['config'][_0xa4a8b5(0x249)],'maxWorkers':_0x1ec41b,'browserStackLogLevel':_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x225)],'skipSessionName':_0x3b1ff7['config']['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x1eb)][_0xa4a8b5(0x205)],'turboScaleUrl':_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x234)]},_0x2beca6=process['argv'],[_0x3e35a7,_0x27f2ef]=helper[_0xa4a8b5(0x218)](_0x2beca6),_0x45995e=path['join'](process['cwd'](),_0x35d672[_0xa4a8b5(0x1d3)]);if(_0x35d672[_0xa4a8b5(0x209)](_0x27f2ef['length'],0x0)){helper[_0xa4a8b5(0x1e3)](_0x45995e);for(let _0x524d27=_0x35d672[_0xa4a8b5(0x237)](_0x3e35a7[_0xa4a8b5(0x220)],0x1);_0x35d672[_0xa4a8b5(0x1e5)](_0x524d27,0x0);_0x524d27--){_0x2beca6[_0xa4a8b5(0x22e)](_0x3e35a7[_0x524d27],0x2);}}_0x35d672[_0xa4a8b5(0x1d5)](_0x3b1ff7['config'][_0xa4a8b5(0x1ee)],null)?process[_0xa4a8b5(0x1f0)][_0xa4a8b5(0x202)]=_0x3b1ff7[_0xa4a8b5(0x211)][_0xa4a8b5(0x1ee)]:process[_0xa4a8b5(0x1f0)][_0xa4a8b5(0x202)]=_0x35d672[_0xa4a8b5(0x248)];PerformanceTester[_0xa4a8b5(0x1de)](PerformanceEvents[_0xa4a8b5(0x1f3)]);let _0x30026b;_0x35d672['PyQGR'](parallelCucumberRun,_0x85e2fb,_0x1c4ff1,_0x3b1ff7[_0xa4a8b5(0x211)],_0x2beca6,_0x27f2ef)[_0xa4a8b5(0x222)](async _0x21c4de=>{const _0x1095e6=_0xa4a8b5;PerformanceTester['start'](PerformanceEvents[_0x1095e6(0x22d)]),_0x30026b=_0x21c4de;const _0x19b397=_0x35d672[_0x1095e6(0x230)](printCucumberStats,_0x21c4de);process[_0x1095e6(0x22a)]=_0x19b397,_0x35d672[_0x1095e6(0x209)](_0x27f2ef[_0x1095e6(0x220)],0x0)&&(logger[_0x1095e6(0x228)](_0x35d672[_0x1095e6(0x1f6)]),helper[_0x1095e6(0x1f2)](_0x45995e,_0x27f2ef),logger[_0x1095e6(0x228)](_0x35d672[_0x1095e6(0x1f5)]),helper[_0x1095e6(0x233)](_0x45995e));})[_0xa4a8b5(0x213)](async()=>{const _0x1c5e47=_0xa4a8b5;PerformanceTester['start'](PerformanceEvents[_0x1c5e47(0x22d)]),_0x3b1ff7[_0x1c5e47(0x21b)]=helper[_0x1c5e47(0x1e8)](_0x30026b,_0x35d672['vUmSB']),testOpsHelper[_0x1c5e47(0x1e6)]();try{await TestHubHandler[_0x1c5e47(0x1f1)]();}catch(_0x2f7cf3){logger['debug'](_0x1c5e47(0x210)+util[_0x1c5e47(0x20f)](_0x2f7cf3));}try{const {browserstackFolderPath:_0x4a0a99,tcgConfigPath:_0x2dc3aa}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x2dc3aa),fs[_0x1c5e47(0x229)](_0x4a0a99);}catch(_0x35c56b){logger[_0x1c5e47(0x228)](_0x35d672[_0x1c5e47(0x224)],_0x35c56b);}await utilities[_0x1c5e47(0x1fa)](_0x3b1ff7);});}module['exports']=run;