browserstack-node-sdk 1.34.27 → 1.34.29

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 (129) 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/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x41475a=a29_0x58d2;function a29_0x5768(){const _0x3b1e8a=['../../../hubAllocationMethods','goog:chromeOptions','keys','New\x20hub\x20url\x20set\x20to\x20','newHubUrl','se:ieOptions','chromeOptions_','storeOptimalHubUrl','../accessibility-automation/helper','optimalHubUrl','ENUEK','FZjNp','523425NgDLSK','get','ViGzC','rBeYJ','aYZmW','zDKHX','__driversArray','1|3|4|0|2|5','getRequestOptions','getHttpAgent','1971yFPGca','2316AltdVz','CAPABILITY_KEY','kjlQs','EdQiX','FwoBg','info','wdbZX','set','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','../../../helpers/helper','638255KlVLpy','caps_','wpMWA','object','VgFtY','SKBvK','split','send','/session','ieOptions_','setCapabilities','cJIzs','overrideGet','build','firefoxOptions','setServer','PRmxQ','315qEkhyF','firefoxOptions_','FPTOI','requireHttpClient','/wd/hub','../../../helpers/globals','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Setting\x20Browserstack\x20capabilities','url_','edgeOptions_','./helpers/patchHelper','options_','mergeDeep','winstonLogger','forEach','548528vtUwWP','edgeOptions','capabilities_','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','imfeI','dCuhd','cuZyb','then','kEPvm','global','oGSrA','getGlobal','safariOptions_','398616dKmCeI','aJKUq','exports','proxyUrl','browserstackAgentObservability','AxNrg','MVErT','XdeFk','browserStackLogLevel','safari.options','isAccessibilityPlatform','setGlobal','https://','__driver','../../../helpers/accessibility-automation/helper','push','logLevel','updateHubUrl','mMUsE','18NKuolN','getAccessibilityResultsSummary','Modifying\x20webdriver\x20builder','1776900sVszBn','proxySettings','originalBuilder','EgNDp','__setBrowserOptions','capability','hZRRG','pTauB','79386uLBtNQ','isUndefined','debug','requireSeleniumWebdriver','WwsOd','MmOGQ','erqVO','setLogLevel','__drivers','uKhFM','Builder','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','path','ABdBj','HttpClient','error','isBrowserstackInfra'];a29_0x5768=function(){return _0x3b1e8a;};return a29_0x5768();}(function(_0x300992,_0x4b2eea){const _0x4cf7be=a29_0x58d2,_0x196344=_0x300992();while(!![]){try{const _0x1f7376=parseInt(_0x4cf7be(0x1eb))/0x1+-parseInt(_0x4cf7be(0x1f6))/0x2*(parseInt(_0x4cf7be(0x1f5))/0x3)+-parseInt(_0x4cf7be(0x221))/0x4+parseInt(_0x4cf7be(0x201))/0x5+-parseInt(_0x4cf7be(0x24c))/0x6*(-parseInt(_0x4cf7be(0x212))/0x7)+-parseInt(_0x4cf7be(0x22e))/0x8+parseInt(_0x4cf7be(0x241))/0x9*(parseInt(_0x4cf7be(0x244))/0xa);if(_0x1f7376===_0x4b2eea)break;else _0x196344['push'](_0x196344['shift']());}catch(_0x4f13cb){_0x196344['push'](_0x196344['shift']());}}}(a29_0x5768,0x9fb06));const logger=require('../../../helpers/logger')[a29_0x41475a(0x21f)],helper=require(a29_0x41475a(0x200)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x41475a(0x1df)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x41475a(0x1e7)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x41475a(0x23c)),globals=require(a29_0x41475a(0x217)),{overrideExecute}=require(a29_0x41475a(0x21c)),modify=(_0x4bf7a0,_0x125dd1=null,_0x1d4de3=![])=>{const _0x1eb0e8=a29_0x41475a,_0x4d524d={'BqzNk':function(_0x8c56c,_0x23cfd7){return _0x8c56c!==_0x23cfd7;},'ABdBj':_0x1eb0e8(0x209),'wdbZX':function(_0x4aae39,_0x56a1f6){return _0x4aae39!==_0x56a1f6;},'AxNrg':function(_0x253b8f,_0x32a4f7){return _0x253b8f+_0x32a4f7;},'kEPvm':function(_0x2e45f3,_0x43d93b){return _0x2e45f3+_0x43d93b;},'eYKDg':_0x1eb0e8(0x23a),'ykbjj':_0x1eb0e8(0x216),'rBeYJ':_0x1eb0e8(0x1e0),'EdQiX':'chromeOptions','oGSrA':'ms:edgeOptions','uKhFM':_0x1eb0e8(0x222),'DIdEA':'moz:firefoxOptions','aYZmW':_0x1eb0e8(0x20f),'ViGzC':_0x1eb0e8(0x237),'XdeFk':_0x1eb0e8(0x1e4),'erqVO':'ieOptions','FZjNp':function(_0x37613d,_0x4510f6){return _0x37613d===_0x4510f6;},'wpMWA':_0x1eb0e8(0x204),'EgNDp':_0x1eb0e8(0x219),'hZRRG':_0x1eb0e8(0x1e8),'aJKUq':_0x1eb0e8(0x224),'MVErT':function(_0x1d5e45,_0x58c67e,_0x13f43a){return _0x1d5e45(_0x58c67e,_0x13f43a);},'pTauB':function(_0x5ea525,_0x1d6dcf){return _0x5ea525(_0x1d6dcf);},'WwsOd':function(_0x52cf81,_0x489cec,_0x2e934c){return _0x52cf81(_0x489cec,_0x2e934c);},'FPTOI':_0x1eb0e8(0x1f2),'FwoBg':function(_0x4ce12c){return _0x4ce12c();},'kjlQs':_0x1eb0e8(0x238),'ENUEK':_0x1eb0e8(0x1fe),'zDKHX':function(_0x5cdcb4,_0x1770e3){return _0x5cdcb4!==_0x1770e3;},'VgFtY':_0x1eb0e8(0x1d9),'cuZyb':_0x1eb0e8(0x243)},_0x1bfbfc=helper[_0x1eb0e8(0x215)]();let _0x23b89f;try{_0x23b89f=helper[_0x1eb0e8(0x24f)](),_0x23b89f['originalBuilder']&&(_0x23b89f[_0x1eb0e8(0x1d8)]=_0x23b89f[_0x1eb0e8(0x246)]);}catch(_0xf6ba8){return;}if(helper[_0x1eb0e8(0x1de)]()){const _0xd430ce={};_0xd430ce[_0x1eb0e8(0x23e)]=_0x4bf7a0[_0x1eb0e8(0x236)],helper[_0x1eb0e8(0x1d5)](_0xd430ce,new Map(),new Map()),logger[_0x1eb0e8(0x1fb)](_0x4d524d[_0x1eb0e8(0x205)]),logger['debug'](_0x4d524d[_0x1eb0e8(0x227)]);}class _0x262cf8 extends _0x1bfbfc[_0x1eb0e8(0x1dc)]{[_0x1eb0e8(0x208)](_0x3b6852){const _0x5b4f2b=_0x1eb0e8;if(_0x4d524d['BqzNk'](_0x3b6852[_0x5b4f2b(0x1da)],_0x4d524d[_0x5b4f2b(0x1db)])&&_0x4d524d[_0x5b4f2b(0x1fc)](global[_0x5b4f2b(0x1e3)],''))try{global[_0x5b4f2b(0x1e3)]=_0x4d524d[_0x5b4f2b(0x233)](_0x4d524d[_0x5b4f2b(0x229)](_0x4d524d['eYKDg'],global[_0x5b4f2b(0x1e3)]),_0x4d524d['ykbjj']),this[_0x5b4f2b(0x21d)]=hubAllocator[_0x5b4f2b(0x1f3)](global[_0x5b4f2b(0x1e3)]),logger['debug'](_0x5b4f2b(0x1e2)+global[_0x5b4f2b(0x1e3)]),global[_0x5b4f2b(0x1e3)]='';}catch(_0x312b7f){logger[_0x5b4f2b(0x1dd)](_0x312b7f);}return super[_0x5b4f2b(0x208)](_0x3b6852);}}class _0x5e7542 extends _0x23b89f[_0x1eb0e8(0x1d8)]{['setServer'](){const _0x4d4a87=_0x1eb0e8;return this['url_']=helper['getHubUrl'](_0x4bf7a0),logger[_0x4d4a87(0x24e)]('Hub\x20url\x20set\x20to\x20'+this[_0x4d4a87(0x21a)]),this;}[_0x1eb0e8(0x248)](_0x5f0072){const _0x12ebdd=_0x1eb0e8;let _0x25b11d={};for(const _0x515596 in _0x5f0072){switch(_0x515596){case _0x4d524d[_0x12ebdd(0x1ee)]:case _0x4d524d[_0x12ebdd(0x1f9)]:this[_0x12ebdd(0x1e5)]&&(_0x25b11d=this[_0x12ebdd(0x1e5)][_0x12ebdd(0x1ec)](this[_0x12ebdd(0x1e5)][_0x12ebdd(0x1f7)])||{},this['chromeOptions_']['set'](this[_0x12ebdd(0x1e5)][_0x12ebdd(0x1f7)],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d[_0x12ebdd(0x22b)]:case _0x4d524d[_0x12ebdd(0x1d7)]:this['edgeOptions_']&&(_0x25b11d=this[_0x12ebdd(0x21b)][_0x12ebdd(0x1ec)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x12ebdd(0x21b)][_0x12ebdd(0x1fd)](this['edgeOptions_'][_0x12ebdd(0x1f7)],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d['DIdEA']:case _0x4d524d[_0x12ebdd(0x1ef)]:this['firefoxOptions_']&&(_0x25b11d=this[_0x12ebdd(0x213)][_0x12ebdd(0x1ec)](this[_0x12ebdd(0x213)]['CAPABILITY_KEY'])||{},this[_0x12ebdd(0x213)][_0x12ebdd(0x1fd)](this[_0x12ebdd(0x213)][_0x12ebdd(0x1f7)],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d[_0x12ebdd(0x1ed)]:this[_0x12ebdd(0x22d)]&&(_0x25b11d=this[_0x12ebdd(0x22d)][_0x12ebdd(0x1ec)](this[_0x12ebdd(0x22d)][_0x12ebdd(0x1f7)])||{},this['safariOptions_'][_0x12ebdd(0x1fd)](this[_0x12ebdd(0x22d)]['CAPABILITY_KEY'],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d[_0x12ebdd(0x235)]:case _0x4d524d[_0x12ebdd(0x252)]:this[_0x12ebdd(0x20a)]&&(_0x25b11d=this[_0x12ebdd(0x20a)]['get'](this[_0x12ebdd(0x20a)][_0x12ebdd(0x1f7)])||{},this[_0x12ebdd(0x20a)]['set'](this[_0x12ebdd(0x20a)][_0x12ebdd(0x1f7)],helper['mergeDeep'](_0x25b11d,_0x5f0072[_0x515596])));break;}}}[_0x1eb0e8(0x20b)](){const _0x199abf=_0x1eb0e8,_0x4f9cd1={'PRmxQ':function(_0x977883,_0x48dccf){const _0x5e1843=a29_0x58d2;return _0x4d524d[_0x5e1843(0x1ea)](_0x977883,_0x48dccf);},'mMUsE':_0x4d524d[_0x199abf(0x203)]};return logger[_0x199abf(0x24e)](_0x4d524d[_0x199abf(0x247)]),this[_0x199abf(0x248)](_0x4bf7a0[_0x199abf(0x249)]),Object[_0x199abf(0x1e1)](_0x4bf7a0[_0x199abf(0x249)])[_0x199abf(0x220)](_0x16c8ed=>{const _0x4a4afe=_0x199abf,_0x35ee74=this[_0x4a4afe(0x223)][_0x4a4afe(0x1ec)](_0x16c8ed);_0x4f9cd1[_0x4a4afe(0x211)](typeof _0x35ee74,_0x4f9cd1[_0x4a4afe(0x240)])?this[_0x4a4afe(0x223)][_0x4a4afe(0x1fd)](_0x16c8ed,helper[_0x4a4afe(0x21e)](_0x35ee74,_0x4bf7a0[_0x4a4afe(0x249)][_0x16c8ed])):this['capabilities_'][_0x4a4afe(0x1fd)](_0x16c8ed,_0x4bf7a0[_0x4a4afe(0x249)][_0x16c8ed]);}),this;}[_0x1eb0e8(0x20e)](){const _0x7bfde2=_0x1eb0e8,_0x5b9767={'dCuhd':function(_0xd6d51c,_0x193709,_0x332fa3){const _0x3c58ab=a29_0x58d2;return _0x4d524d[_0x3c58ab(0x234)](_0xd6d51c,_0x193709,_0x332fa3);},'MmOGQ':function(_0x212f1d,_0x14ad65,_0x76a5bd){const _0x4bdc39=a29_0x58d2;return _0x4d524d[_0x4bdc39(0x234)](_0x212f1d,_0x14ad65,_0x76a5bd);},'cJIzs':function(_0x5d997f,_0x30f44e){return _0x4d524d['pTauB'](_0x5d997f,_0x30f44e);},'SKBvK':function(_0x4b677e,_0x803630,_0x37fb44){const _0x3f2c15=a29_0x58d2;return _0x4d524d[_0x3f2c15(0x250)](_0x4b677e,_0x803630,_0x37fb44);}};if(helper[_0x7bfde2(0x1de)]()){const _0xe12f54=_0x4d524d[_0x7bfde2(0x214)][_0x7bfde2(0x207)]('|');let _0x4ef731=0x0;while(!![]){switch(_0xe12f54[_0x4ef731++]){case'0':if(helper['isPacProxy'](_0x4bf7a0[_0x7bfde2(0x245)]['proxyUrl']))this['agent_']=helper[_0x7bfde2(0x1f4)](_0x4bf7a0[_0x7bfde2(0x245)][_0x7bfde2(0x231)]);else _0x4bf7a0[_0x7bfde2(0x245)][_0x7bfde2(0x231)]&&(this['proxy_']=_0x4bf7a0[_0x7bfde2(0x245)][_0x7bfde2(0x231)],logger[_0x7bfde2(0x24e)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'1':_0x4d524d[_0x7bfde2(0x1fa)](isAccessibilityAutomationSession)&&_0x4d524d[_0x7bfde2(0x24b)](setAccessibilityCapabilities,_0x4bf7a0);continue;case'2':globals[_0x7bfde2(0x22c)](_0x4d524d[_0x7bfde2(0x1f8)])&&(!_0x4d524d['MVErT'](setExtension,this,_0x4bf7a0)&&globals[_0x7bfde2(0x239)](_0x4d524d[_0x7bfde2(0x1f8)],![]));continue;case'3':this[_0x7bfde2(0x210)]();continue;case'4':this[_0x7bfde2(0x20b)]();continue;case'5':logger[_0x7bfde2(0x24e)](_0x4d524d[_0x7bfde2(0x1e9)]);continue;}break;}}const _0x255303=super[_0x7bfde2(0x20e)]();return _0x255303['session_'][_0x7bfde2(0x228)](_0x58b8f4=>{const _0x176cd3=_0x7bfde2;try{const _0x2257ca=_0x58b8f4[_0x176cd3(0x202)][_0x176cd3(0x1ec)](_0x4d524d[_0x176cd3(0x24a)]);_0x2257ca?(logger[_0x176cd3(0x24e)](_0x176cd3(0x218)+_0x2257ca),hubAllocator[_0x176cd3(0x23f)](_0x2257ca),helper[_0x176cd3(0x1e6)](_0x2257ca)):logger['debug'](_0x4d524d[_0x176cd3(0x22f)]);}catch(_0x75422f){logger[_0x176cd3(0x24e)](_0x176cd3(0x1ff)+_0x75422f);}}),_0x255303['quitCount_']=0x0,_0x255303['then']&&_0x255303['then'](_0x97a630=>{const _0x5ec096=_0x7bfde2,_0x2ef6c7={'imfeI':function(_0x4f5881,_0x64981,_0x4497a4){const _0x29c5da=a29_0x58d2;return _0x5b9767[_0x29c5da(0x226)](_0x4f5881,_0x64981,_0x4497a4);}};_0x5b9767[_0x5ec096(0x251)](overrideQuit,_0x97a630,_0x255303),_0x5b9767[_0x5ec096(0x20c)](overrideTakeScreenshot,_0x97a630),helper[_0x5ec096(0x20d)](_0x97a630,_0x4bf7a0),_0x5b9767[_0x5ec096(0x206)](overrideExecute,_0x97a630,_0x4bf7a0),_0x97a630[_0x5ec096(0x242)]=async()=>{const _0x10a508=_0x5ec096;return await _0x2ef6c7[_0x10a508(0x225)](getAccessibilityResultsSummary,_0x97a630,global);},_0x97a630['getAccessibilityResults']=async()=>{const _0x466bc7=_0x5ec096;return await _0x5b9767[_0x466bc7(0x226)](getAccessibilityResults,_0x97a630,global);};}),_0x255303['getAccessibilityResultsSummary']=async()=>{const _0x595c6a=_0x7bfde2;return await _0x4d524d[_0x595c6a(0x234)](getAccessibilityResultsSummary,_0x255303,global);},_0x255303['getAccessibilityResults']=async()=>{const _0x1696a6=_0x7bfde2;return await _0x4d524d[_0x1696a6(0x234)](getAccessibilityResults,_0x255303,global);},_0x4d524d[_0x7bfde2(0x24b)](overrideTakeScreenshot,_0x255303),_0x4d524d[_0x7bfde2(0x24b)](overrideQuit,_0x255303),helper[_0x7bfde2(0x20d)](_0x255303,_0x4bf7a0),_0x4d524d[_0x7bfde2(0x250)](overrideExecute,_0x255303,_0x4bf7a0),helper[_0x7bfde2(0x24d)](global[_0x7bfde2(0x1f1)])&&(global['__driversArray']=[]),helper[_0x7bfde2(0x24d)](global['__drivers'])&&(global[_0x7bfde2(0x1d6)]=[]),global[_0x7bfde2(0x1f1)][_0x7bfde2(0x23d)](_0x255303),global[_0x7bfde2(0x23b)]=_0x255303,_0x4d524d[_0x7bfde2(0x1fc)](global['__drivers'],undefined)&&global['__drivers'][_0x7bfde2(0x23d)](_0x255303),_0x125dd1&&helper['isUndefined'](_0x125dd1['global'][_0x7bfde2(0x1f1)])&&(_0x125dd1['global'][_0x7bfde2(0x1f1)]=[]),_0x125dd1&&_0x4d524d[_0x7bfde2(0x1f0)](_0x125dd1[_0x7bfde2(0x22a)]['__drivers'],undefined)&&(_0x125dd1[_0x7bfde2(0x22a)][_0x7bfde2(0x1d6)][_0x7bfde2(0x23d)](_0x255303),_0x125dd1[_0x7bfde2(0x22a)][_0x7bfde2(0x1f1)]['push'](_0x255303)),_0x255303;}}return _0x23b89f[_0x1eb0e8(0x246)]=_0x23b89f[_0x1eb0e8(0x1d8)],_0x23b89f['Builder']=_0x5e7542,_0x1bfbfc[_0x1eb0e8(0x1dc)]=_0x262cf8,_0x23b89f;};function a29_0x58d2(_0x3de3dd,_0x33a3c5){const _0x57682b=a29_0x5768();return a29_0x58d2=function(_0x58d253,_0x972c01){_0x58d253=_0x58d253-0x1d5;let _0x45da30=_0x57682b[_0x58d253];return _0x45da30;},a29_0x58d2(_0x3de3dd,_0x33a3c5);}module[a29_0x41475a(0x230)][a29_0x41475a(0x232)]=modify;
1
+ function a29_0x24cc(_0x1e8a15,_0x9da51c){const _0x3382fb=a29_0x3382();return a29_0x24cc=function(_0x24cc4d,_0x5fa226){_0x24cc4d=_0x24cc4d-0x150;let _0x5978ae=_0x3382fb[_0x24cc4d];return _0x5978ae;},a29_0x24cc(_0x1e8a15,_0x9da51c);}const a29_0x214f7d=a29_0x24cc;(function(_0x3886ab,_0x32df3e){const _0x5df016=a29_0x24cc,_0x27666c=_0x3886ab();while(!![]){try{const _0x45462d=-parseInt(_0x5df016(0x1c5))/0x1*(-parseInt(_0x5df016(0x185))/0x2)+parseInt(_0x5df016(0x15c))/0x3+parseInt(_0x5df016(0x183))/0x4*(parseInt(_0x5df016(0x193))/0x5)+parseInt(_0x5df016(0x16c))/0x6*(parseInt(_0x5df016(0x187))/0x7)+parseInt(_0x5df016(0x169))/0x8+parseInt(_0x5df016(0x191))/0x9+parseInt(_0x5df016(0x17f))/0xa*(-parseInt(_0x5df016(0x19f))/0xb);if(_0x45462d===_0x32df3e)break;else _0x27666c['push'](_0x27666c['shift']());}catch(_0x84a329){_0x27666c['push'](_0x27666c['shift']());}}}(a29_0x3382,0xd7918));const logger=require(a29_0x214f7d(0x18f))[a29_0x214f7d(0x1bd)],helper=require('../../../helpers/helper'),constants=require(a29_0x214f7d(0x18e)),hubAllocator=require(a29_0x214f7d(0x178)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x214f7d(0x1b4)),{setAccessibilityCapabilities,setExtension}=require(a29_0x214f7d(0x161)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x214f7d(0x19b)),globals=require(a29_0x214f7d(0x188)),{overrideExecute}=require(a29_0x214f7d(0x1bc)),modify=(_0x40664f,_0x34c254=null,_0x99ff06=![])=>{const _0x1c3032=a29_0x214f7d,_0x3985f3={'sEpVL':function(_0xaa2ec1,_0x18e82c){return _0xaa2ec1!==_0x18e82c;},'lecTw':_0x1c3032(0x1ad),'nmSNK':function(_0x3ac395,_0xe505b){return _0x3ac395!==_0xe505b;},'cNAyl':function(_0x14a3d7,_0x4739d2){return _0x14a3d7+_0x4739d2;},'WhYln':function(_0x3663b3,_0x43c7f5){return _0x3663b3+_0x43c7f5;},'xVJFV':_0x1c3032(0x1c7),'zDYmg':_0x1c3032(0x17a),'oURTB':_0x1c3032(0x17c),'oxtzr':_0x1c3032(0x1d3),'FRgqB':'ms:edgeOptions','HfSjL':_0x1c3032(0x15a),'HZIHF':'moz:firefoxOptions','QgjoA':_0x1c3032(0x15b),'KCQWS':_0x1c3032(0x18a),'bwDsW':_0x1c3032(0x1b8),'uaAHt':_0x1c3032(0x180),'LCDbY':function(_0x5de896,_0x34d1a8){return _0x5de896===_0x34d1a8;},'mBlHX':_0x1c3032(0x197),'HRsDn':_0x1c3032(0x1c3),'KGWVx':_0x1c3032(0x1b5),'gBzxU':_0x1c3032(0x1be),'EOIly':function(_0x13c0fa,_0x594e41,_0x589fc1){return _0x13c0fa(_0x594e41,_0x589fc1);},'lvfpX':_0x1c3032(0x1b9),'lRshf':function(_0x2068a4,_0x3fca76){return _0x2068a4(_0x3fca76);},'tGmPN':_0x1c3032(0x1d1),'zHJWG':_0x1c3032(0x1c8),'BTLpC':function(_0x3a7cd2){return _0x3a7cd2();},'yINwW':function(_0x7d46c7,_0x414ed4){return _0x7d46c7(_0x414ed4);},'dxrub':_0x1c3032(0x186),'QqfoW':function(_0x1d1dfd,_0x3b329e){return _0x1d1dfd(_0x3b329e);},'MzCTg':function(_0x20a59d,_0x2cc09a){return _0x20a59d(_0x2cc09a);},'ZUTbX':function(_0x53b5b6,_0x525bc2,_0x2c47e5){return _0x53b5b6(_0x525bc2,_0x2c47e5);},'LeqDc':function(_0x510a85,_0x51ac68){return _0x510a85!==_0x51ac68;},'WNZCi':function(_0xc6eec,_0x42aaa7){return _0xc6eec!==_0x42aaa7;},'QIBth':_0x1c3032(0x184),'DMxLB':_0x1c3032(0x1ac)},_0xcb5f84=helper['requireHttpClient']();let _0x4b3aff;try{_0x4b3aff=helper[_0x1c3032(0x19d)](),_0x4b3aff[_0x1c3032(0x192)]&&(_0x4b3aff[_0x1c3032(0x15e)]=_0x4b3aff['originalBuilder']);}catch(_0x551866){return;}if(helper[_0x1c3032(0x18b)]()){const _0x37a720={};_0x37a720[_0x1c3032(0x171)]=_0x40664f[_0x1c3032(0x157)],helper[_0x1c3032(0x1c6)](_0x37a720,new Map(),new Map()),logger[_0x1c3032(0x1a3)](_0x3985f3[_0x1c3032(0x1ae)]),logger['debug'](_0x3985f3[_0x1c3032(0x198)]);}class _0x14a82a extends _0xcb5f84[_0x1c3032(0x196)]{['send'](_0x1920c7){const _0x5ac907=_0x1c3032;if(_0x3985f3[_0x5ac907(0x195)](_0x1920c7[_0x5ac907(0x1b1)],_0x3985f3[_0x5ac907(0x16e)])&&_0x3985f3[_0x5ac907(0x16a)](global['newHubUrl'],''))try{global[_0x5ac907(0x159)]=_0x3985f3['cNAyl'](_0x3985f3['WhYln'](_0x3985f3[_0x5ac907(0x165)],global['newHubUrl']),_0x3985f3[_0x5ac907(0x168)]),this[_0x5ac907(0x179)]=hubAllocator[_0x5ac907(0x17e)](global[_0x5ac907(0x159)]),logger[_0x5ac907(0x175)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x5ac907(0x159)]='';}catch(_0x2c8aa8){logger['error'](_0x2c8aa8);}return super[_0x5ac907(0x189)](_0x1920c7);}}class _0x19fae0 extends _0x4b3aff[_0x1c3032(0x15e)]{[_0x1c3032(0x19c)](){const _0x2d5ee7=_0x1c3032;return this['url_']=helper[_0x2d5ee7(0x1c1)](_0x40664f),logger[_0x2d5ee7(0x175)](_0x2d5ee7(0x15d)+this['url_']),this;}[_0x1c3032(0x19e)](_0x3da621){const _0x497d74=_0x1c3032;let _0x147ff6={};for(const _0x24bd9c in _0x3da621){switch(_0x24bd9c){case _0x3985f3[_0x497d74(0x182)]:case _0x3985f3[_0x497d74(0x1cf)]:this[_0x497d74(0x166)]&&(_0x147ff6=this[_0x497d74(0x166)]['get'](this[_0x497d74(0x166)]['CAPABILITY_KEY'])||{},this[_0x497d74(0x166)][_0x497d74(0x176)](this[_0x497d74(0x166)][_0x497d74(0x1ba)],helper[_0x497d74(0x158)](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x181)]:case _0x3985f3[_0x497d74(0x1a2)]:this[_0x497d74(0x15f)]&&(_0x147ff6=this[_0x497d74(0x15f)][_0x497d74(0x16f)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x497d74(0x15f)][_0x497d74(0x176)](this[_0x497d74(0x15f)]['CAPABILITY_KEY'],helper[_0x497d74(0x158)](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x1af)]:case _0x3985f3[_0x497d74(0x1cb)]:this[_0x497d74(0x150)]&&(_0x147ff6=this[_0x497d74(0x150)]['get'](this[_0x497d74(0x150)][_0x497d74(0x1ba)])||{},this[_0x497d74(0x150)][_0x497d74(0x176)](this['firefoxOptions_'][_0x497d74(0x1ba)],helper['mergeDeep'](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x163)]:this[_0x497d74(0x153)]&&(_0x147ff6=this[_0x497d74(0x153)][_0x497d74(0x16f)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x497d74(0x153)][_0x497d74(0x176)](this[_0x497d74(0x153)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x147ff6,_0x3da621[_0x24bd9c])));break;case _0x3985f3[_0x497d74(0x1b0)]:case _0x3985f3['uaAHt']:this['ieOptions_']&&(_0x147ff6=this['ieOptions_'][_0x497d74(0x16f)](this['ieOptions_'][_0x497d74(0x1ba)])||{},this['ieOptions_']['set'](this[_0x497d74(0x1ca)][_0x497d74(0x1ba)],helper[_0x497d74(0x158)](_0x147ff6,_0x3da621[_0x24bd9c])));break;}}}[_0x1c3032(0x1ab)](){const _0x5269e8=_0x1c3032;return logger[_0x5269e8(0x175)](_0x3985f3[_0x5269e8(0x1a6)]),this['__setBrowserOptions'](_0x40664f['capability']),Object[_0x5269e8(0x1ce)](_0x40664f[_0x5269e8(0x18c)])[_0x5269e8(0x1cc)](_0x1999b9=>{const _0x35c25a=_0x5269e8,_0x1416dd=this[_0x35c25a(0x16d)]['get'](_0x1999b9);_0x3985f3[_0x35c25a(0x1a8)](typeof _0x1416dd,_0x3985f3[_0x35c25a(0x1d4)])?this[_0x35c25a(0x16d)][_0x35c25a(0x176)](_0x1999b9,helper[_0x35c25a(0x158)](_0x1416dd,_0x40664f[_0x35c25a(0x18c)][_0x1999b9])):this[_0x35c25a(0x16d)][_0x35c25a(0x176)](_0x1999b9,_0x40664f['capability'][_0x1999b9]);}),this;}[_0x1c3032(0x1c9)](){const _0x705ff2=_0x1c3032,_0x27c2c7={'pPtxm':function(_0x242611,_0xf5fc01,_0x452fac){const _0x1a57fb=a29_0x24cc;return _0x3985f3[_0x1a57fb(0x152)](_0x242611,_0xf5fc01,_0x452fac);},'AiLFU':function(_0x4ec564,_0x3d8740,_0xa62cf1){const _0x2444ef=a29_0x24cc;return _0x3985f3[_0x2444ef(0x152)](_0x4ec564,_0x3d8740,_0xa62cf1);},'ojgeg':_0x3985f3[_0x705ff2(0x155)],'rGtqO':function(_0x57862a,_0x39034a){const _0x1d5bf5=_0x705ff2;return _0x3985f3[_0x1d5bf5(0x1bb)](_0x57862a,_0x39034a);},'zsdLc':function(_0xeb775e,_0x3ac9ef,_0xa6c331){const _0x11cf56=_0x705ff2;return _0x3985f3[_0x11cf56(0x152)](_0xeb775e,_0x3ac9ef,_0xa6c331);}};if(helper[_0x705ff2(0x18b)]()){const _0x3dcebf=_0x3985f3['tGmPN'][_0x705ff2(0x160)]('|');let _0x37ee9e=0x0;while(!![]){switch(_0x3dcebf[_0x37ee9e++]){case'0':if(helper[_0x705ff2(0x17b)](_0x40664f['proxySettings'][_0x705ff2(0x199)]))this[_0x705ff2(0x1aa)]=helper[_0x705ff2(0x1a7)](_0x40664f[_0x705ff2(0x1a1)][_0x705ff2(0x199)]);else _0x40664f['proxySettings'][_0x705ff2(0x199)]&&(this[_0x705ff2(0x1d2)]=_0x40664f[_0x705ff2(0x1a1)][_0x705ff2(0x199)],logger['debug'](_0x705ff2(0x154)+this[_0x705ff2(0x1d2)]));continue;case'1':this[_0x705ff2(0x1ab)]();continue;case'2':globals[_0x705ff2(0x172)](_0x3985f3[_0x705ff2(0x1a9)])&&(!_0x3985f3['EOIly'](setExtension,this,_0x40664f)&&globals[_0x705ff2(0x19a)](_0x3985f3[_0x705ff2(0x1a9)],![]));continue;case'3':_0x3985f3[_0x705ff2(0x173)](isAccessibilityAutomationSession)&&_0x3985f3[_0x705ff2(0x164)](setAccessibilityCapabilities,_0x40664f);continue;case'4':logger[_0x705ff2(0x175)](_0x3985f3['dxrub']);continue;case'5':this[_0x705ff2(0x19c)]();continue;}break;}}const _0x1e6324=super[_0x705ff2(0x1c9)]();return _0x1e6324[_0x705ff2(0x177)]['then'](_0x2da868=>{const _0x325d92=_0x705ff2;try{const _0x34cea0=_0x2da868['caps_'][_0x325d92(0x16f)](_0x3985f3[_0x325d92(0x194)]);_0x34cea0?(logger[_0x325d92(0x175)](_0x325d92(0x1cd)+_0x34cea0),hubAllocator['updateHubUrl'](_0x34cea0),helper[_0x325d92(0x156)](_0x34cea0)):logger[_0x325d92(0x175)](_0x3985f3[_0x325d92(0x1c0)]);}catch(_0x5aafe2){logger['debug'](_0x325d92(0x1a5)+_0x5aafe2);}}),_0x1e6324['quitCount_']=0x0,_0x1e6324[_0x705ff2(0x1b6)]&&_0x1e6324['then'](_0x1c1d75=>{const _0x1e869f=_0x705ff2,_0x313f1a=_0x27c2c7[_0x1e869f(0x16b)][_0x1e869f(0x160)]('|');let _0x4c23db=0x0;while(!![]){switch(_0x313f1a[_0x4c23db++]){case'0':_0x27c2c7[_0x1e869f(0x190)](overrideTakeScreenshot,_0x1c1d75);continue;case'1':_0x1c1d75[_0x1e869f(0x1b2)]=async()=>{const _0xfb90ea=_0x1e869f;return await _0x27c2c7[_0xfb90ea(0x167)](getAccessibilityResultsSummary,_0x1c1d75,global);};continue;case'2':_0x1c1d75[_0x1e869f(0x174)]=async()=>{const _0x5652f9=_0x1e869f;return await _0x27c2c7[_0x5652f9(0x151)](getAccessibilityResults,_0x1c1d75,global);};continue;case'3':helper['overrideGet'](_0x1c1d75,_0x40664f);continue;case'4':_0x27c2c7[_0x1e869f(0x167)](overrideQuit,_0x1c1d75,_0x1e6324);continue;case'5':_0x27c2c7[_0x1e869f(0x162)](overrideExecute,_0x1c1d75,_0x40664f);continue;}break;}}),_0x1e6324['getAccessibilityResultsSummary']=async()=>{const _0x1d4d7d=_0x705ff2;return await _0x3985f3[_0x1d4d7d(0x152)](getAccessibilityResultsSummary,_0x1e6324,global);},_0x1e6324['getAccessibilityResults']=async()=>{return await _0x27c2c7['pPtxm'](getAccessibilityResults,_0x1e6324,global);},_0x3985f3['QqfoW'](overrideTakeScreenshot,_0x1e6324),_0x3985f3[_0x705ff2(0x17d)](overrideQuit,_0x1e6324),helper[_0x705ff2(0x1b7)](_0x1e6324,_0x40664f),_0x3985f3[_0x705ff2(0x1b3)](overrideExecute,_0x1e6324,_0x40664f),helper[_0x705ff2(0x18d)](global[_0x705ff2(0x1a0)])&&(global[_0x705ff2(0x1a0)]=[]),helper[_0x705ff2(0x18d)](global['__drivers'])&&(global['__drivers']=[]),global['__driversArray'][_0x705ff2(0x1bf)](_0x1e6324),global[_0x705ff2(0x1d0)]=_0x1e6324,_0x3985f3[_0x705ff2(0x1c4)](global[_0x705ff2(0x170)],undefined)&&global[_0x705ff2(0x170)][_0x705ff2(0x1bf)](_0x1e6324),_0x34c254&&helper[_0x705ff2(0x18d)](_0x34c254['global'][_0x705ff2(0x1a0)])&&(_0x34c254['global']['__driversArray']=[]),_0x34c254&&_0x3985f3[_0x705ff2(0x1a4)](_0x34c254[_0x705ff2(0x1c2)]['__drivers'],undefined)&&(_0x34c254['global'][_0x705ff2(0x170)][_0x705ff2(0x1bf)](_0x1e6324),_0x34c254['global'][_0x705ff2(0x1a0)][_0x705ff2(0x1bf)](_0x1e6324)),_0x1e6324;}}return _0x4b3aff[_0x1c3032(0x192)]=_0x4b3aff[_0x1c3032(0x15e)],_0x4b3aff[_0x1c3032(0x15e)]=_0x19fae0,_0xcb5f84[_0x1c3032(0x196)]=_0x14a82a,_0x4b3aff;};module['exports']['browserstackAgentObservability']=modify;function a29_0x3382(){const _0x12ca96=['setCapabilities','Modifying\x20webdriver\x20builder','/session','QIBth','HZIHF','bwDsW','path','getAccessibilityResultsSummary','ZUTbX','../../../helpers/patchHelpers','optimalHubUrl','then','overrideGet','se:ieOptions','4|0|3|5|1|2','CAPABILITY_KEY','lRshf','./helpers/patchHelper','winstonLogger','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','push','gBzxU','getHubUrl','global','Setting\x20Browserstack\x20capabilities','LeqDc','40988ZqLmdp','setLogLevel','https://','isAccessibilityPlatform','build','ieOptions_','QgjoA','forEach','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','keys','oxtzr','__driver','3|5|1|0|2|4','proxy_','chromeOptions','mBlHX','firefoxOptions_','AiLFU','EOIly','safariOptions_','Proxy\x20set\x20to\x20','lvfpX','storeOptimalHubUrl','browserStackLogLevel','mergeDeep','newHubUrl','edgeOptions','firefoxOptions','2669484dmjaHr','Hub\x20url\x20set\x20to\x20','Builder','edgeOptions_','split','../accessibility-automation/helper','zsdLc','KCQWS','yINwW','xVJFV','chromeOptions_','pPtxm','zDYmg','5910168aVVrNj','nmSNK','ojgeg','84XbmhAt','capabilities_','lecTw','get','__drivers','logLevel','getGlobal','BTLpC','getAccessibilityResults','debug','set','session_','../../../hubAllocationMethods','options_','/wd/hub','isPacProxy','goog:chromeOptions','MzCTg','getRequestOptions','30741380FHmfgb','ieOptions','FRgqB','oURTB','20380CHOVVt','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','76SKWkoY','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','867482KwNlQL','../../../helpers/globals','send','safari.options','isBrowserstackInfra','capability','isUndefined','../../../bin/utils/constants','../../../helpers/logger','rGtqO','12617388ExttjU','originalBuilder','695EgTrqS','KGWVx','sEpVL','HttpClient','object','DMxLB','proxyUrl','setGlobal','../../../helpers/accessibility-automation/helper','setServer','requireSeleniumWebdriver','__setBrowserOptions','22YkOACm','__driversArray','proxySettings','HfSjL','info','WNZCi','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','HRsDn','getHttpAgent','LCDbY','zHJWG','agent_'];a29_0x3382=function(){return _0x12ca96;};return a29_0x3382();}
@@ -1 +1 @@
1
- function a30_0x377d(_0xd6ffc5,_0x3422cd){const _0x44f923=a30_0x44f9();return a30_0x377d=function(_0x377d7b,_0x3ebf1d){_0x377d7b=_0x377d7b-0xac;let _0xda18dc=_0x44f923[_0x377d7b];return _0xda18dc;},a30_0x377d(_0xd6ffc5,_0x3422cd);}const a30_0x468a79=a30_0x377d;(function(_0x2624c3,_0x166308){const _0x3270ee=a30_0x377d,_0x2b7b34=_0x2624c3();while(!![]){try{const _0x5316f6=parseInt(_0x3270ee(0xac))/0x1*(-parseInt(_0x3270ee(0xaf))/0x2)+parseInt(_0x3270ee(0xae))/0x3*(parseInt(_0x3270ee(0xb5))/0x4)+parseInt(_0x3270ee(0xb3))/0x5+parseInt(_0x3270ee(0xb4))/0x6+-parseInt(_0x3270ee(0xb8))/0x7+parseInt(_0x3270ee(0xb0))/0x8+-parseInt(_0x3270ee(0xad))/0x9;if(_0x5316f6===_0x166308)break;else _0x2b7b34['push'](_0x2b7b34['shift']());}catch(_0xc38cdc){_0x2b7b34['push'](_0x2b7b34['shift']());}}}(a30_0x44f9,0xa6580));function a30_0x44f9(){const _0xf12608=['288120boJlAi','1813488kmhMWy','../../../helpers/request-spy','../../../helpers/test-observability/utils','4092431kcndCt','2tnsesN','16497189IewWuk','9IWWCcu','424194svrqoS','6385104KVkerq','../../../bin/utils/constants','cUdZC','6584590PffZrx'];a30_0x44f9=function(){return _0xf12608;};return a30_0x44f9();}const requestSpy=require(a30_0x468a79(0xb6)),constants=require(a30_0x468a79(0xb1)),{addRequestSpy}=require(a30_0x468a79(0xb7));exports['mochaHooks']={'beforeAll'(){const _0x1b992c=a30_0x468a79,_0xda13af={'cUdZC':function(_0x36178b){return _0x36178b();}},_0x51611b='browserstack internal helper hook';_0xda13af[_0x1b992c(0xb2)](addRequestSpy);},'afterAll'(){const _0x315344='browserstack internal helper hook';this['timeout'](0xea60),requestSpy['restore']();}};
1
+ const a30_0x5ebe35=a30_0x2643;(function(_0x735636,_0x221b0f){const _0x4b2f44=a30_0x2643,_0x1f666c=_0x735636();while(!![]){try{const _0x9a976f=parseInt(_0x4b2f44(0x1dc))/0x1*(parseInt(_0x4b2f44(0x1de))/0x2)+parseInt(_0x4b2f44(0x1e4))/0x3+parseInt(_0x4b2f44(0x1e8))/0x4+-parseInt(_0x4b2f44(0x1e0))/0x5*(parseInt(_0x4b2f44(0x1e6))/0x6)+parseInt(_0x4b2f44(0x1e3))/0x7*(-parseInt(_0x4b2f44(0x1dd))/0x8)+-parseInt(_0x4b2f44(0x1e1))/0x9*(-parseInt(_0x4b2f44(0x1ea))/0xa)+-parseInt(_0x4b2f44(0x1ed))/0xb;if(_0x9a976f===_0x221b0f)break;else _0x1f666c['push'](_0x1f666c['shift']());}catch(_0x223f55){_0x1f666c['push'](_0x1f666c['shift']());}}}(a30_0x2b6a,0x57783));const requestSpy=require(a30_0x5ebe35(0x1df)),constants=require(a30_0x5ebe35(0x1eb)),{addRequestSpy}=require(a30_0x5ebe35(0x1ec));function a30_0x2643(_0x21616d,_0x4626ef){const _0x2b6acb=a30_0x2b6a();return a30_0x2643=function(_0x264329,_0x489be8){_0x264329=_0x264329-0x1dc;let _0x2bc748=_0x2b6acb[_0x264329];return _0x2bc748;},a30_0x2643(_0x21616d,_0x4626ef);}exports[a30_0x5ebe35(0x1e5)]={'beforeAll'(){const _0xf71b6e=a30_0x5ebe35,_0x4e2bff={'iHQex':function(_0x58ff85){return _0x58ff85();}},_0xb31d86='browserstack internal helper hook';_0x4e2bff[_0xf71b6e(0x1e2)](addRequestSpy);},'afterAll'(){const _0x380083=a30_0x5ebe35,_0x3967db='browserstack internal helper hook';this[_0x380083(0x1e9)](0xea60),requestSpy[_0x380083(0x1e7)]();}};function a30_0x2b6a(){const _0x4fa76b=['restore','153912IiavfX','timeout','10cCeQzd','../../../bin/utils/constants','../../../helpers/test-observability/utils','7239925liSKug','3rwiPAg','48UBGEvR','430874GqGYpU','../../../helpers/request-spy','2981495fzWyop','3737871WUprVD','iHQex','120393yWuTbO','1847505dtdjEP','mochaHooks','6wSKgNL'];a30_0x2b6a=function(){return _0x4fa76b;};return a30_0x2b6a();}
@@ -1 +1 @@
1
- const a31_0x9ed390=a31_0x2f14;function a31_0x2f14(_0x5acc96,_0x1a5b62){const _0xb59e92=a31_0xb59e();return a31_0x2f14=function(_0x2f1454,_0x14d84e){_0x2f1454=_0x2f1454-0x14e;let _0x40b81b=_0xb59e92[_0x2f1454];return _0x40b81b;},a31_0x2f14(_0x5acc96,_0x1a5b62);}function a31_0xb59e(){const _0x1fde55=['867954nYSXGL','bs:addPlatformDetails:','387937qzbXJl','passed','TbZYZ','getBrowserName','WAByv','browserstack','3282CMmJiH','emit','DXiJf','type','4360993FATEtJ','BsuNw','TXKrh','markedStatus','map_','rVQzY','_beforeAll','getCapabilities','IcQcK','getHookDetails','PLMkK','lodash','MYEGB','fromEntries','substring','slice','getSession','sendPlatformDetails','6325CWIkBp','hook:','getBrowserVersion','concat','2636192KxPpvk','mapTestHooks','../../../helpers/helper','DrVqA','xTvpK','Xkvdo','reduce','TEST_PLATFORM','zlPfF','iNomu','IfAIj','unknown_grid','SOVTJ','nXGMN','FRjpi','_beforeEach','getHooksForTest','GqjzY','getHookSkippedTests','suites','ndtMi','indexOf','nteTa','ojUcj','_afterEach','generic','string','split','_afterAll','cbwPi','filter','toJSON','failed','5927584TzNScm','state','35931020AevRzH','9wLNtmE','__cloud_provider___','NRxOx','VTRGf','cfQnQ','../../../helpers/testhub/utils','parent','xXyAn','tests','3cJKKij','../../../../package.json','Srfoa','hookAnalyticsId','hook','forEach'];a31_0xb59e=function(){return _0x1fde55;};return a31_0xb59e();}(function(_0x4eb3ef,_0x4b7654){const _0x263ef5=a31_0x2f14,_0x5b3da4=_0x4eb3ef();while(!![]){try{const _0x3da246=parseInt(_0x263ef5(0x160))/0x1+-parseInt(_0x263ef5(0x15e))/0x2*(parseInt(_0x263ef5(0x158))/0x3)+-parseInt(_0x263ef5(0x180))/0x4+parseInt(_0x263ef5(0x17c))/0x5*(-parseInt(_0x263ef5(0x166))/0x6)+-parseInt(_0x263ef5(0x16a))/0x7+-parseInt(_0x263ef5(0x1a1))/0x8+-parseInt(_0x263ef5(0x14f))/0x9*(-parseInt(_0x263ef5(0x14e))/0xa);if(_0x3da246===_0x4b7654)break;else _0x5b3da4['push'](_0x5b3da4['shift']());}catch(_0x10d144){_0x5b3da4['push'](_0x5b3da4['shift']());}}}(a31_0xb59e,0xcb270));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x9ed390(0x159)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x9ed390(0x182)),{shouldProcessEventForTesthub}=require(a31_0x9ed390(0x154)),{isFunction}=require(a31_0x9ed390(0x175)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x2bdde8=a31_0x9ed390,_0x55a8de={'Xkvdo':_0x2bdde8(0x199),'FhluD':function(_0x52beae){return _0x52beae();}};return{'ci':_0x55a8de[_0x2bdde8(0x185)],'key':_0x55a8de['FhluD'](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x9ed390(0x173)]=_0x37da76=>{const _0x2198e6=a31_0x9ed390,_0x10d38c={};_0x10d38c[_0x2198e6(0x18c)]=function(_0xc829ef,_0x29279e){return _0xc829ef!==_0x29279e;},_0x10d38c[_0x2198e6(0x16c)]=_0x2198e6(0x19a),_0x10d38c[_0x2198e6(0x153)]=function(_0x35c48b,_0x32b66e){return _0x35c48b!==_0x32b66e;},_0x10d38c[_0x2198e6(0x151)]=_0x2198e6(0x17d),_0x10d38c['ndtMi']=function(_0x27ec84,_0x4ecc5c){return _0x27ec84!==_0x4ecc5c;},_0x10d38c[_0x2198e6(0x18e)]=_0x2198e6(0x15c);const _0x5bf0a9=_0x10d38c;if(!_0x37da76||_0x5bf0a9[_0x2198e6(0x18c)](typeof _0x37da76,_0x5bf0a9['TXKrh']))return[null,null];if(_0x5bf0a9[_0x2198e6(0x153)](_0x37da76[_0x2198e6(0x195)](_0x5bf0a9[_0x2198e6(0x151)]),-0x1)){const _0x22b34e=_0x37da76['split'](_0x5bf0a9['NRxOx']);return[_0x22b34e[0x0][_0x2198e6(0x179)](0x0,-0x1)[_0x2198e6(0x19b)]('\x22')[0x1],_0x22b34e[0x1][_0x2198e6(0x178)](0x1)];}else{if(_0x5bf0a9[_0x2198e6(0x194)](_0x37da76[_0x2198e6(0x195)](_0x5bf0a9[_0x2198e6(0x18e)]),-0x1)){const _0x3c30fc=_0x37da76[_0x2198e6(0x19b)](_0x5bf0a9['FRjpi']);return[_0x3c30fc[0x0]['slice'](0x0,-0x1)[_0x2198e6(0x19b)]('\x22')[0x1],_0x37da76];}}return[null,null];},exports[a31_0x9ed390(0x190)]=_0xe5ffca=>{const _0x412047=a31_0x9ed390,_0x17046a={'PLMkK':function(_0x3f49fe,_0x327e5f){return _0x3f49fe(_0x327e5f);},'nXGMN':'_beforeAll','iNomu':_0x412047(0x19c),'xTvpK':'_beforeEach','zlPfF':_0x412047(0x198)};if(!_0xe5ffca||!_0xe5ffca['parent'])return[];const _0x364bf4=[];return[_0x17046a[_0x412047(0x18d)],_0x17046a[_0x412047(0x189)],_0x17046a[_0x412047(0x184)],_0x17046a[_0x412047(0x188)]][_0x412047(0x15d)](_0x243599=>{const _0x1fd438=_0x412047,_0x3259a0={'VOFgq':function(_0x5d4704,_0x33dd99){const _0x384f59=a31_0x2f14;return _0x17046a[_0x384f59(0x174)](_0x5d4704,_0x33dd99);}},_0x56dea3=_0xe5ffca[_0x1fd438(0x155)][_0x243599]||[];_0x56dea3['forEach'](_0x27acda=>{const _0x312ddf=_0x1fd438;_0x27acda['hookAnalyticsId']&&!_0x3259a0['VOFgq'](isInternalHook,_0x27acda['fn'])&&_0x364bf4['push'](_0x27acda[_0x312ddf(0x15b)]);});}),[..._0x364bf4,...exports[_0x412047(0x190)](_0xe5ffca[_0x412047(0x155)])];},exports[a31_0x9ed390(0x181)]=_0x217504=>{const _0x4abb62=a31_0x9ed390,_0x1a1ecd={'VpQiA':function(_0x4b1c9d){return _0x4b1c9d();},'BsuNw':function(_0x21997f,_0x187522){return _0x21997f===_0x187522;},'ojUcj':_0x4abb62(0x198),'Srfoa':_0x4abb62(0x170),'rVQzY':'_afterAll','MPyiA':_0x4abb62(0x18f)};if(!_0x217504||!_0x217504['parent'])return;[_0x1a1ecd[_0x4abb62(0x15a)],_0x1a1ecd[_0x4abb62(0x16f)],_0x1a1ecd['MPyiA'],_0x1a1ecd[_0x4abb62(0x197)]]['forEach'](_0x3f6636=>{const _0x4a82f2=_0x4abb62,_0x286a4a={'WAByv':function(_0x1b964f){return _0x1a1ecd['VpQiA'](_0x1b964f);},'DXiJf':function(_0x580311,_0x301bc4){const _0x6e0edb=a31_0x2f14;return _0x1a1ecd[_0x6e0edb(0x16b)](_0x580311,_0x301bc4);},'IcQcK':_0x1a1ecd[_0x4a82f2(0x197)]},_0x3dda89=_0x217504[_0x4a82f2(0x155)][_0x3f6636]||[];_0x3dda89['forEach'](_0x233701=>{const _0x292033=_0x4a82f2;if(!_0x233701['hookAnalyticsId'])_0x233701[_0x292033(0x15b)]=_0x286a4a[_0x292033(0x164)](uuidv4);else _0x233701['markedStatus']&&_0x286a4a[_0x292033(0x168)](_0x3f6636,_0x286a4a[_0x292033(0x172)])&&(_0x233701[_0x292033(0x15b)]=_0x286a4a[_0x292033(0x164)](uuidv4),delete _0x233701[_0x292033(0x16d)]);});}),exports[_0x4abb62(0x181)](_0x217504[_0x4abb62(0x155)]);},exports[a31_0x9ed390(0x17b)]=async(_0xc56eb8,_0x43d3b9)=>{const _0x31ea24=a31_0x9ed390,_0x2690f1={'FUItf':function(_0x97cefd){return _0x97cefd();},'GqjzY':function(_0x520a37,_0x4660fb){return _0x520a37(_0x4660fb);},'nzyYJ':function(_0x1755af,_0x3810bb){return _0x1755af(_0x3810bb);},'TbZYZ':function(_0x592986,_0xc87b11){return _0x592986===_0xc87b11;},'VTRGf':_0x31ea24(0x165),'vIxcc':_0x31ea24(0x18b),'cbwPi':_0x31ea24(0x187),'xXyAn':function(_0x50269d,_0x3cb497){return _0x50269d(_0x3cb497);}};try{if(!_0x2690f1['FUItf'](shouldProcessEventForTesthub))return;const _0x5a12b2=await _0xc56eb8[_0x31ea24(0x171)](),_0x4da2c0=await _0xc56eb8[_0x31ea24(0x17a)](),_0x96dcc={},_0x56cd85=Object[_0x31ea24(0x177)](_0x4da2c0[_0x31ea24(0x171)]()[_0x31ea24(0x16e)]),_0x1a53da={'product':_0x2690f1[_0x31ea24(0x191)](getObservabilityLinkedProductName,_0x56cd85),'capabilities':_0x56cd85,'platform':_0x5a12b2['getPlatform'](),'platform_version':_0x2690f1['nzyYJ'](getPlatformVersion,_0x2690f1[_0x31ea24(0x162)](global[_0x31ea24(0x150)],_0x2690f1[_0x31ea24(0x152)])),'browser':_0x5a12b2[_0x31ea24(0x163)](),'browser_version':_0x5a12b2[_0x31ea24(0x17e)](),'session_id':_0x4da2c0[_0x31ea24(0x19f)]()};global[_0x31ea24(0x150)]?_0x96dcc[global[_0x31ea24(0x150)]]=_0x1a53da:_0x96dcc[_0x2690f1['vIxcc']]=_0x1a53da,process[_0x31ea24(0x167)](_0x31ea24(0x15f)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x2690f1[_0x31ea24(0x19d)],'http_response':_0x96dcc,'uuid':_0x43d3b9});}catch(_0x11816b){_0x2690f1[_0x31ea24(0x156)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x11816b);}},exports[a31_0x9ed390(0x192)]=_0x1ddb62=>{const _0x429310=a31_0x9ed390,_0x5f0b01={};_0x5f0b01[_0x429310(0x18a)]=function(_0x2f6460,_0x5497c0){return _0x2f6460!==_0x5497c0;},_0x5f0b01[_0x429310(0x196)]=_0x429310(0x15c),_0x5f0b01[_0x429310(0x176)]=_0x429310(0x161),_0x5f0b01[_0x429310(0x183)]=_0x429310(0x1a0);const _0x3a166a=_0x5f0b01,_0x1f5a5a=_0x1ddb62[_0x429310(0x193)][_0x429310(0x186)]((_0x47a026,_0x40e2db)=>{const _0x275fcf=_0x429310,_0x150c9a=exports[_0x275fcf(0x192)](_0x40e2db);return _0x150c9a&&(_0x47a026=_0x47a026[_0x275fcf(0x17f)](_0x150c9a)),_0x47a026;},[]),_0x518a59=_0x1ddb62[_0x429310(0x157)][_0x429310(0x19e)](_0x331003=>{const _0x1a608d=_0x429310,_0x351f17=_0x3a166a[_0x1a608d(0x18a)](_0x331003[_0x1a608d(0x169)],_0x3a166a[_0x1a608d(0x196)])&&!_0x331003[_0x1a608d(0x16d)]&&_0x3a166a['IfAIj'](_0x331003['state'],_0x3a166a['MYEGB'])&&_0x3a166a[_0x1a608d(0x18a)](_0x331003[_0x1a608d(0x1a2)],_0x3a166a['DrVqA'])&&!_0x331003['pending'];return _0x351f17;});return _0x518a59[_0x429310(0x17f)](_0x1f5a5a);};
1
+ const a31_0x8b33f3=a31_0x1aff;(function(_0x39bf3a,_0x660f0f){const _0x2d3741=a31_0x1aff,_0x247506=_0x39bf3a();while(!![]){try{const _0x457057=parseInt(_0x2d3741(0x1cd))/0x1+-parseInt(_0x2d3741(0x1c1))/0x2+parseInt(_0x2d3741(0x1cf))/0x3*(-parseInt(_0x2d3741(0x1d0))/0x4)+-parseInt(_0x2d3741(0x1cc))/0x5+parseInt(_0x2d3741(0x1b5))/0x6*(-parseInt(_0x2d3741(0x1c0))/0x7)+parseInt(_0x2d3741(0x1a2))/0x8+parseInt(_0x2d3741(0x1a5))/0x9;if(_0x457057===_0x660f0f)break;else _0x247506['push'](_0x247506['shift']());}catch(_0x3baf6b){_0x247506['push'](_0x247506['shift']());}}}(a31_0x8c8e,0x86485));function a31_0x8c8e(){const _0x504bf7=['getBrowserName','toISOString','EHEHJ','MLVnL','getHookDetails','browserstack','cOlrY','2311192OWyxDm','getCapabilities','umlwO','26987004snOdcw','uAMJY','mapTestHooks','Zmqll','emit','pid','sHirX','markedStatus','forEach','getSession','_beforeEach','uuid','etFeb','getHooksForTest','getHookSkippedTests','hook:','349956CdeSbC','sendPlatformDetails','toJSON','OVMYZ','indexOf','MKMeA','tests','bs:addPlatformDetails:','gSTel','state','xfiFa','98LQtUub','2145000dQtceR','hook','hookAnalyticsId','wASvH','_afterAll','RADsE','__cloud_provider___','sXOIW','CXbkN','KpEDf','pending','4989000veykPJ','582201oldNsJ','bwPoN','1298313LAsPbU','4ndGJir','concat','_afterEach','filter','wnWBk','vcuNH','parent','split','feMTX','getPlatform','suites','_beforeAll','../../../helpers/test-observability/constants','reduce','../../utils/logPatcher','../../../../package.json','string','QgJLb','slice','DWEdV'];a31_0x8c8e=function(){return _0x504bf7;};return a31_0x8c8e();}const {v4:uuidv4}=require(a31_0x8b33f3(0x1b0)),{name,version}=require(a31_0x8b33f3(0x1df)),logPatcher=require(a31_0x8b33f3(0x1de)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x8b33f3(0x1dc)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a31_0x1aff(_0x52bff6,_0xb033ef){const _0x8c8ea=a31_0x8c8e();return a31_0x1aff=function(_0x1aff2c,_0x373ee){_0x1aff2c=_0x1aff2c-0x19a;let _0x3f4063=_0x8c8ea[_0x1aff2c];return _0x3f4063;},a31_0x1aff(_0x52bff6,_0xb033ef);}patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x1c39e9=a31_0x8b33f3,_0x575576={'rmXah':'generic','bwPoN':function(_0xbe9cba){return _0xbe9cba();}};return{'ci':_0x575576['rmXah'],'key':_0x575576[_0x1c39e9(0x1ce)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x8b33f3(0x19f)]=_0x4362d0=>{const _0x1dbf69=a31_0x8b33f3,_0x1959ca={};_0x1959ca[_0x1dbf69(0x1a6)]=function(_0x10a16f,_0x33d66a){return _0x10a16f!==_0x33d66a;},_0x1959ca['etFeb']=_0x1dbf69(0x1e0),_0x1959ca[_0x1dbf69(0x1c4)]=function(_0x4a9539,_0x56f8aa){return _0x4a9539!==_0x56f8aa;},_0x1959ca[_0x1dbf69(0x1ba)]=_0x1dbf69(0x1b4),_0x1959ca['OVMYZ']=_0x1dbf69(0x1c2);const _0x212231=_0x1959ca;if(!_0x4362d0||_0x212231['uAMJY'](typeof _0x4362d0,_0x212231[_0x1dbf69(0x1b1)]))return[null,null];if(_0x212231[_0x1dbf69(0x1c4)](_0x4362d0[_0x1dbf69(0x1b9)](_0x212231[_0x1dbf69(0x1ba)]),-0x1)){const _0xf7d7ea=_0x4362d0[_0x1dbf69(0x1d7)](_0x212231[_0x1dbf69(0x1ba)]);return[_0xf7d7ea[0x0][_0x1dbf69(0x1e2)](0x0,-0x1)[_0x1dbf69(0x1d7)]('\x22')[0x1],_0xf7d7ea[0x1]['substring'](0x1)];}else{if(_0x212231[_0x1dbf69(0x1c4)](_0x4362d0['indexOf'](_0x212231[_0x1dbf69(0x1b8)]),-0x1)){const _0x3fd228=_0x4362d0['split'](_0x212231[_0x1dbf69(0x1b8)]);return[_0x3fd228[0x0][_0x1dbf69(0x1e2)](0x0,-0x1)[_0x1dbf69(0x1d7)]('\x22')[0x1],_0x4362d0];}}return[null,null];},exports['getHooksForTest']=_0x3ab966=>{const _0x23fbe7=a31_0x8b33f3,_0x306073={'SfiKP':function(_0x2b2c1b,_0x2e46c0){return _0x2b2c1b(_0x2e46c0);},'DWEdV':'_beforeAll','feMTX':_0x23fbe7(0x1c5),'KpEDf':_0x23fbe7(0x1af),'sHirX':_0x23fbe7(0x1d2)};if(!_0x3ab966||!_0x3ab966[_0x23fbe7(0x1d6)])return[];const _0x3c89ee=[];return[_0x306073[_0x23fbe7(0x19a)],_0x306073[_0x23fbe7(0x1d8)],_0x306073[_0x23fbe7(0x1ca)],_0x306073[_0x23fbe7(0x1ab)]][_0x23fbe7(0x1ad)](_0x3cc9f2=>{const _0x2e0431=_0x23fbe7,_0x4fae1f=_0x3ab966[_0x2e0431(0x1d6)][_0x3cc9f2]||[];_0x4fae1f[_0x2e0431(0x1ad)](_0x26f0b0=>{const _0x2e30f6=_0x2e0431;_0x26f0b0[_0x2e30f6(0x1c3)]&&!_0x306073['SfiKP'](isInternalHook,_0x26f0b0['fn'])&&_0x3c89ee['push'](_0x26f0b0[_0x2e30f6(0x1c3)]);});}),[..._0x3c89ee,...exports[_0x23fbe7(0x1b2)](_0x3ab966['parent'])];},exports[a31_0x8b33f3(0x1a7)]=_0x207942=>{const _0x2720c1=a31_0x8b33f3,_0x25bd16={'QgJLb':function(_0x3153e7){return _0x3153e7();},'KTvKl':function(_0x44b736,_0x2a0d40){return _0x44b736===_0x2a0d40;},'vcuNH':'_afterEach','wnWBk':_0x2720c1(0x1db),'tzxKW':_0x2720c1(0x1c5),'Zmqll':_0x2720c1(0x1af)};if(!_0x207942||!_0x207942['parent'])return;[_0x25bd16[_0x2720c1(0x1d4)],_0x25bd16['tzxKW'],_0x25bd16[_0x2720c1(0x1a8)],_0x25bd16[_0x2720c1(0x1d5)]]['forEach'](_0x2aef5d=>{const _0x219030=_0x2720c1,_0x5dc2f1=_0x207942[_0x219030(0x1d6)][_0x2aef5d]||[];_0x5dc2f1['forEach'](_0x7359e=>{const _0x46777f=_0x219030;if(!_0x7359e[_0x46777f(0x1c3)])_0x7359e[_0x46777f(0x1c3)]=_0x25bd16[_0x46777f(0x1e1)](uuidv4);else _0x7359e[_0x46777f(0x1ac)]&&_0x25bd16['KTvKl'](_0x2aef5d,_0x25bd16[_0x46777f(0x1d5)])&&(_0x7359e[_0x46777f(0x1c3)]=_0x25bd16['QgJLb'](uuidv4),delete _0x7359e[_0x46777f(0x1ac)]);});}),exports[_0x2720c1(0x1a7)](_0x207942[_0x2720c1(0x1d6)]);},exports[a31_0x8b33f3(0x1b6)]=async(_0x1e6891,_0x360896)=>{const _0x408ee7=a31_0x8b33f3,_0x530ac3={'GpEnt':function(_0x120637){return _0x120637();},'cOlrY':function(_0x453623,_0x5056d1){return _0x453623(_0x5056d1);},'bptrc':function(_0x4f0c41,_0x4d62ca){return _0x4f0c41===_0x4d62ca;},'EHEHJ':_0x408ee7(0x1a0),'CXbkN':'unknown_grid','GNRIq':'TEST_PLATFORM'};try{if(!_0x530ac3['GpEnt'](shouldProcessEventForTesthub))return;const _0x4f3b1d=await _0x1e6891[_0x408ee7(0x1a3)](),_0x3e0f93=await _0x1e6891[_0x408ee7(0x1ae)](),_0x1791c6={},_0x1ca0e0=Object['fromEntries'](_0x3e0f93['getCapabilities']()['map_']),_0x41d522={'product':_0x530ac3['cOlrY'](getObservabilityLinkedProductName,_0x1ca0e0),'capabilities':_0x1ca0e0,'platform':_0x4f3b1d[_0x408ee7(0x1d9)](),'platform_version':_0x530ac3[_0x408ee7(0x1a1)](getPlatformVersion,_0x530ac3['bptrc'](global[_0x408ee7(0x1c7)],_0x530ac3[_0x408ee7(0x19d)])),'browser':_0x4f3b1d[_0x408ee7(0x19b)](),'browser_version':_0x4f3b1d['getBrowserVersion'](),'session_id':_0x3e0f93[_0x408ee7(0x1b7)]()};global[_0x408ee7(0x1c7)]?_0x1791c6[global[_0x408ee7(0x1c7)]]=_0x41d522:_0x1791c6[_0x530ac3[_0x408ee7(0x1c9)]]=_0x41d522,process[_0x408ee7(0x1a9)](_0x408ee7(0x1bc)+process[_0x408ee7(0x1aa)],{'timestamp':new Date()[_0x408ee7(0x19c)](),'level':null,'message':null,'kind':_0x530ac3['GNRIq'],'http_response':_0x1791c6,'uuid':_0x360896});}catch(_0x31966d){_0x530ac3['cOlrY'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x31966d);}},exports[a31_0x8b33f3(0x1b3)]=_0xd6a9d0=>{const _0x4c4fdb=a31_0x8b33f3,_0x7d4b71={};_0x7d4b71[_0x4c4fdb(0x1bf)]=function(_0x2b22d1,_0x1ad497){return _0x2b22d1!==_0x1ad497;},_0x7d4b71['RADsE']=_0x4c4fdb(0x1c2),_0x7d4b71[_0x4c4fdb(0x1c8)]=function(_0x91ca28,_0x10c8a4){return _0x91ca28!==_0x10c8a4;},_0x7d4b71['umlwO']='passed',_0x7d4b71['MLVnL']=function(_0x5c9475,_0x2419cc){return _0x5c9475!==_0x2419cc;},_0x7d4b71['gSTel']='failed';const _0x6ef698=_0x7d4b71,_0x56eeec=_0xd6a9d0[_0x4c4fdb(0x1da)][_0x4c4fdb(0x1dd)]((_0x5f0139,_0x540fc3)=>{const _0x59a155=_0x4c4fdb,_0x59a535=exports[_0x59a155(0x1b3)](_0x540fc3);return _0x59a535&&(_0x5f0139=_0x5f0139[_0x59a155(0x1d1)](_0x59a535)),_0x5f0139;},[]),_0x22a54a=_0xd6a9d0[_0x4c4fdb(0x1bb)][_0x4c4fdb(0x1d3)](_0x2bf5c8=>{const _0x4ad8bf=_0x4c4fdb,_0xccd503=_0x6ef698[_0x4ad8bf(0x1bf)](_0x2bf5c8['type'],_0x6ef698[_0x4ad8bf(0x1c6)])&&!_0x2bf5c8[_0x4ad8bf(0x1ac)]&&_0x6ef698[_0x4ad8bf(0x1c8)](_0x2bf5c8[_0x4ad8bf(0x1be)],_0x6ef698[_0x4ad8bf(0x1a4)])&&_0x6ef698[_0x4ad8bf(0x19e)](_0x2bf5c8['state'],_0x6ef698[_0x4ad8bf(0x1bd)])&&!_0x2bf5c8[_0x4ad8bf(0x1cb)];return _0xccd503;});return _0x22a54a['concat'](_0x56eeec);};
@@ -1 +1 @@
1
- const a32_0x2f0e10=a32_0xbdfc;function a32_0x1bca(){const _0x37d70a=['saveTestResults','../../helpers/testhub/constants','21zfPuJV','performScan','Performing\x20scan\x20before\x20saving\x20results','error','currentTest','gjEzf','shift','browserstackSessionName','__error_messages__','\x20|\x20','11440890KoRKyp','testAnalyticsId','cQCph','thJwtToken','5671398WhHsEV','capabilities','\x22}}','../../helpers/testhub/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','yzStV','HpjhU','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/accessibility-automation/scripts','nNWKT','MCJrx','titlePath','OAmil','\x20-\x20','../../helpers/accessibility-automation/helper','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PbZyz','isArray','app','err','failed','AlksP','../../helpers/percy/utils','XmKXD','isAccessibilityPlatform','44WXINVZ','WwiWO','https:','shouldScanTestForAccessibility','testcase','info','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','message',',\x22level\x22:\x20\x22','driverCleanup','9lyqZTs','state','iYjZi','5bOiBju','executeScript','XAwPW','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','dNaOx','climo','1268704lhfzfN','aROPz','__sessionFailed','MTVNY','accessibilityScanStarted','quitCount_','stopMonitoring','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','env','Passed','timeout','UgnyA','uudxE','format','../../helpers/logger','getCurrentUrl','BROWSERSTACK_TESTHUB_UUID','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','nPOfX','debug','thTestRunUuid','.\x20Error\x20:','KnSIV','sdCfd','now','percyCaptureMode','push','510148bIfDMG','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','__drivers','ENV_VAR','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','startMonitoring','executeAsyncScript','1599048nGoZPa','10888992HqrReO','nzBht','join','session_','passed','protocol','bstackA11yShouldScan','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','then','nfBmy','stringify','XGlik','getGlobal','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','winstonLogger','initQuit','ZdtdA','BROWSERSTACK_TESTHUB_JWT','3104556OhgOvz','../../helpers/globals','NDmCt','ztJTK','Failed:\x20','ObservabilitySync:','PwKIa','MjyRx','length','Failed\x20to\x20store\x20session\x20name:\x20','VqgUw','http:','4vFkZLb','util'];a32_0x1bca=function(){return _0x37d70a;};return a32_0x1bca();}function a32_0xbdfc(_0x5e9208,_0x1e57e5){const _0x1bca15=a32_0x1bca();return a32_0xbdfc=function(_0xbdfc5c,_0x278bcd){_0xbdfc5c=_0xbdfc5c-0x129;let _0xab3314=_0x1bca15[_0xbdfc5c];return _0xab3314;},a32_0xbdfc(_0x5e9208,_0x1e57e5);}(function(_0x485c03,_0x5b1cce){const _0x541899=a32_0xbdfc,_0x1a6e31=_0x485c03();while(!![]){try{const _0x362a35=-parseInt(_0x541899(0x156))/0x1*(parseInt(_0x541899(0x17e))/0x2)+parseInt(_0x541899(0x132))/0x3*(parseInt(_0x541899(0x15e))/0x4)+-parseInt(_0x541899(0x135))/0x5*(parseInt(_0x541899(0x190))/0x6)+parseInt(_0x541899(0x182))/0x7*(parseInt(_0x541899(0x13b))/0x8)+-parseInt(_0x541899(0x15f))/0x9+parseInt(_0x541899(0x18c))/0xa+-parseInt(_0x541899(0x1a9))/0xb*(-parseInt(_0x541899(0x172))/0xc);if(_0x362a35===_0x5b1cce)break;else _0x1a6e31['push'](_0x1a6e31['shift']());}catch(_0x21039d){_0x1a6e31['push'](_0x1a6e31['shift']());}}}(a32_0x1bca,0xa5aae));const util=require(a32_0x2f0e10(0x17f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x2f0e10(0x19e)),{percyAutoCapture}=require(a32_0x2f0e10(0x1a6)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x2f0e10(0x198)),globals=require(a32_0x2f0e10(0x173)),logger=require(a32_0x2f0e10(0x149))[a32_0x2f0e10(0x16e)],{shouldProcessEventForTesthub}=require(a32_0x2f0e10(0x193)),testHubConstants=require(a32_0x2f0e10(0x181));exports['mochaHooks']={'beforeAll'(){const _0x45b81d=a32_0x2f0e10,_0x428242={'XmKXD':function(_0x1cf182,_0x2cf064,_0x59da5c,_0x14b9b7){return _0x1cf182(_0x2cf064,_0x59da5c,_0x14b9b7);},'AlksP':_0x45b81d(0x1a4),'HpjhU':_0x45b81d(0x18b),'nzBht':function(_0x10a568,_0x41fe32,_0x3f11c6){return _0x10a568(_0x41fe32,_0x3f11c6);},'ZqPLz':_0x45b81d(0x163),'OAmil':function(_0x2e84ff){return _0x2e84ff();}};PerformanceTester[_0x45b81d(0x15c)]();const _0xb6d092='browserstack internal helper hook';global['__error_messages__']=[],global[_0x45b81d(0x13d)]=![],global[_0x45b81d(0x131)]=async()=>{const _0x1b0100=_0x45b81d;let _0xfc988=![];try{await global[_0x1b0100(0x158)][0x0][_0x1b0100(0x162)],_0xfc988=!![],global[_0x1b0100(0x13d)]?await _0x428242[_0x1b0100(0x1a7)](markSessionStatus,global[_0x1b0100(0x158)][0x0],_0x428242[_0x1b0100(0x1a5)],global[_0x1b0100(0x18a)][_0x1b0100(0x161)](_0x428242[_0x1b0100(0x196)])):await _0x428242[_0x1b0100(0x160)](markSessionStatus,global['__drivers'][0x0],_0x428242['ZqPLz']);}catch(_0xf68213){logger['debug'](_0x1b0100(0x157)+_0xf68213);}global['__error_messages__']=[],global[_0x1b0100(0x13d)]=![];if(_0xfc988)try{try{_0x428242[_0x1b0100(0x19c)](shouldProcessEventForTesthub)&&(global[_0x1b0100(0x158)][0x0]&&await _0x428242[_0x1b0100(0x160)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1b0100(0x186)]?this[_0x1b0100(0x186)][_0x1b0100(0x18d)]:null));}catch(_0x2cc973){logger[_0x1b0100(0x14e)](_0x1b0100(0x16d)+_0x2cc973);}await global[_0x1b0100(0x158)][0x0][_0x1b0100(0x16f)]();}catch(_0x4ecf18){logger[_0x1b0100(0x14e)](_0x1b0100(0x16c)+_0x4ecf18);}};},'beforeEach'(_0x52bb67){const _0x4aa1a7=a32_0x2f0e10,_0xa3a28c={'XGlik':function(_0x5e644d,_0x42a6b9){return _0x5e644d>_0x42a6b9;},'CTYTd':function(_0x280cc3,_0x263a88){return _0x280cc3>_0x263a88;},'climo':_0x4aa1a7(0x19d),'MTVNY':function(_0x42c640,_0x350275,_0x462610){return _0x42c640(_0x350275,_0x462610);},'PbZyz':_0x4aa1a7(0x165),'WwiWO':function(_0x1cd8e7){return _0x1cd8e7();},'SCFCY':_0x4aa1a7(0x1a8),'nfBmy':function(_0x1eef80,_0x368923){return _0x1eef80===_0x368923;},'uudxE':_0x4aa1a7(0x17d),'MjyRx':_0x4aa1a7(0x12a),'aROPz':_0x4aa1a7(0x166),'NDmCt':'Automate\x20test\x20case\x20execution\x20has\x20started.','ZdtdA':function(_0x20d0fd){return _0x20d0fd();}};new Promise(async _0x47d16d=>{const _0x3e6366=_0x4aa1a7,_0x3229da='browserstack internal helper hook';let _0x47168c=!![];try{_0xa3a28c[_0x3e6366(0x16a)](global[_0x3e6366(0x158)][_0x3e6366(0x17a)],0x1)&&(await global[_0x3e6366(0x131)](),global[_0x3e6366(0x158)][_0x3e6366(0x188)]()),_0xa3a28c['CTYTd'](global[_0x3e6366(0x158)][0x0]['quitCount_'],0x0)&&(_0x47168c=![],await global['driverCleanup']());}catch(_0x11a23a){logger['debug'](_0x3e6366(0x16c)+_0x11a23a);}try{Array[_0x3e6366(0x1a1)](global['__drivers'])&&global[_0x3e6366(0x158)][0x0]&&(global[_0x3e6366(0x158)][0x0][_0x3e6366(0x189)]=this['currentTest']['titlePath']()[_0x3e6366(0x161)](_0xa3a28c[_0x3e6366(0x13a)])),global['browserstackSessionName']=this[_0x3e6366(0x186)][_0x3e6366(0x19b)]()[_0x3e6366(0x161)](_0xa3a28c[_0x3e6366(0x13a)]);}catch(_0x5e0eb8){logger[_0x3e6366(0x14e)](_0x3e6366(0x17b)+_0x5e0eb8);}this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']=_0xa3a28c[_0x3e6366(0x13e)](shouldScanTestForAccessibility,this[_0x3e6366(0x186)][_0x3e6366(0x19b)](),!![]),globals['setGlobal'](_0xa3a28c[_0x3e6366(0x1a0)],this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']),this[_0x3e6366(0x186)][_0x3e6366(0x13f)]=!![];if(_0xa3a28c[_0x3e6366(0x129)](isAccessibilityAutomationSession)&&_0x47168c&&Array[_0x3e6366(0x1a1)](global[_0x3e6366(0x158)])&&_0xa3a28c['CTYTd'](global[_0x3e6366(0x158)][_0x3e6366(0x17a)],0x0)&&globals[_0x3e6366(0x16b)](_0xa3a28c['SCFCY']))try{const _0x9d9b2c=await global['__drivers'][0x0][_0x3e6366(0x162)];if(_0x9d9b2c){let _0x13d298=!![];const _0x206ab4=await global['__drivers'][0x0][_0x3e6366(0x14a)]();let _0x6bea87;try{_0x6bea87=new URL(_0x206ab4);}catch(_0x9234f5){_0x13d298=![];}_0x13d298=_0xa3a28c[_0x3e6366(0x168)](_0x6bea87[_0x3e6366(0x164)],_0xa3a28c[_0x3e6366(0x147)])||_0xa3a28c[_0x3e6366(0x168)](_0x6bea87[_0x3e6366(0x164)],_0xa3a28c[_0x3e6366(0x179)]),_0x13d298&&(this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']&&logger[_0x3e6366(0x12d)](_0xa3a28c[_0x3e6366(0x13c)])),this['currentTest'][_0x3e6366(0x13f)]=this[_0x3e6366(0x186)][_0x3e6366(0x12b)],this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']&&logger[_0x3e6366(0x12d)](_0xa3a28c[_0x3e6366(0x174)]);}}catch(_0x2ef3ef){logger[_0x3e6366(0x185)](_0x3e6366(0x14c)+util[_0x3e6366(0x148)](_0x2ef3ef));}_0xa3a28c[_0x3e6366(0x170)](_0x47d16d);})[_0x4aa1a7(0x167)](_0x52bb67);},'afterEach'(_0x229754){const _0x1937d3=a32_0x2f0e10,_0x231a10={'XAwPW':function(_0x2b2609,_0x39a2f3){return _0x2b2609>_0x39a2f3;},'YutVY':function(_0x20768a,_0x22539d){return _0x20768a===_0x22539d;},'UgnyA':_0x1937d3(0x12c),'MOlDC':'appium:app','verth':function(_0xe6274b,_0x3b1964,_0xfa66d2,_0x48bb72){return _0xe6274b(_0x3b1964,_0xfa66d2,_0x48bb72);},'gjEzf':_0x1937d3(0x19d),'OLZHt':function(_0x46defe,_0x23d443){return _0x46defe!==_0x23d443;},'sdCfd':_0x1937d3(0x163),'cQCph':function(_0x55868c,_0x1155c1,_0x96e328){return _0x55868c(_0x1155c1,_0x96e328);},'iYjZi':function(_0x4630be,_0x1325a7){return _0x4630be+_0x1325a7;},'VqgUw':_0x1937d3(0x176),'PlzZH':_0x1937d3(0x185),'KnSIV':_0x1937d3(0x144),'dNaOx':_0x1937d3(0x12d),'GzAfx':_0x1937d3(0x1a8),'ztJTK':_0x1937d3(0x165),'nPOfX':_0x1937d3(0x19f),'iYUjp':_0x1937d3(0x184),'PwKIa':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','nNWKT':function(_0x354dae){return _0x354dae();},'cEOUq':function(_0x3db9dc,_0x46856c,_0x5c30d8){return _0x3db9dc(_0x46856c,_0x5c30d8);},'MCJrx':function(_0x30ef5f,_0x29e8e8,_0x2f2321){return _0x30ef5f(_0x29e8e8,_0x2f2321);},'PHZvX':_0x1937d3(0x14e)},_0x2f467b='browserstack internal helper hook';this[_0x1937d3(0x145)](0xfde8);const _0x5da143=async(_0xe34da0,_0x374ee5)=>{const _0x11b3df=_0x1937d3;await global[_0x11b3df(0x158)][0x0][_0x11b3df(0x136)](_0x11b3df(0x15b)+_0xe34da0+_0x11b3df(0x130)+_0x374ee5+_0x11b3df(0x192));};new Promise(async _0x5c6ed8=>{const _0x1d3507=_0x1937d3;try{_0x231a10[_0x1d3507(0x137)](global['__drivers'][_0x1d3507(0x17a)],0x1)&&(await global[_0x1d3507(0x131)](),global[_0x1d3507(0x158)][_0x1d3507(0x188)](),global[_0x1d3507(0x18a)]=[],global[_0x1d3507(0x13d)]=![]);try{if(global['percy']&&_0x231a10['YutVY'](global[_0x1d3507(0x154)],_0x231a10[_0x1d3507(0x146)])&&global[_0x1d3507(0x158)][0x0]){const _0x3bdc99=_0x231a10[_0x1d3507(0x137)](global[_0x1d3507(0x191)][_0x1d3507(0x17a)],0x0)?!!global['capabilities'][0x0][_0x1d3507(0x1a2)]||!!global[_0x1d3507(0x191)][0x0][_0x231a10['MOlDC']]:![],_0x5a9456={};_0x5a9456[_0x1d3507(0x1a2)]=_0x3bdc99,await _0x231a10['verth'](percyAutoCapture,global[_0x1d3507(0x158)][0x0],_0x231a10[_0x1d3507(0x146)],_0x5a9456);}}catch(_0x3ce96a){logger[_0x1d3507(0x14e)](_0x1d3507(0x138)+_0x3ce96a);}!global['__skipSessionName']&&(await global[_0x1d3507(0x158)][0x0][_0x1d3507(0x136)](_0x1d3507(0x194)+JSON[_0x1d3507(0x169)](this[_0x1d3507(0x186)][_0x1d3507(0x19b)]()[_0x1d3507(0x161)](_0x231a10[_0x1d3507(0x187)]))+'}}'),global[_0x1d3507(0x158)][0x0][_0x1d3507(0x15a)]=!![]);const _0x491e6b=_0x231a10['OLZHt'](this[_0x1d3507(0x186)][_0x1d3507(0x133)],_0x231a10[_0x1d3507(0x152)]);_0x491e6b?(global[_0x1d3507(0x13d)]=!![],global['__error_messages__'][_0x1d3507(0x155)](this['currentTest'][_0x1d3507(0x1a3)][_0x1d3507(0x12f)]),await _0x231a10[_0x1d3507(0x18e)](_0x5da143,JSON[_0x1d3507(0x169)](_0x231a10[_0x1d3507(0x134)](_0x231a10[_0x1d3507(0x17c)],this['currentTest'][_0x1d3507(0x1a3)][_0x1d3507(0x12f)])),_0x231a10['PlzZH'])):await _0x231a10[_0x1d3507(0x18e)](_0x5da143,JSON[_0x1d3507(0x169)](_0x231a10[_0x1d3507(0x151)]),_0x231a10[_0x1d3507(0x139)]);}catch(_0x3c79be){logger[_0x1d3507(0x14e)](_0x1d3507(0x142)+_0x3c79be);}try{if(this[_0x1d3507(0x186)][_0x1d3507(0x13f)]&&globals[_0x1d3507(0x16b)](_0x231a10['GzAfx'])&&globals[_0x1d3507(0x16b)](_0x231a10[_0x1d3507(0x175)])){logger[_0x1d3507(0x12d)](_0x231a10[_0x1d3507(0x14d)]);const _0x2bd073={};_0x2bd073[_0x1d3507(0x14f)]=this['currentTest']['testAnalyticsId'],_0x2bd073['thBuildUuid']=process[_0x1d3507(0x143)][testHubConstants[_0x1d3507(0x159)][_0x1d3507(0x14b)]],_0x2bd073[_0x1d3507(0x18f)]=process[_0x1d3507(0x143)][testHubConstants[_0x1d3507(0x159)][_0x1d3507(0x171)]];const _0x345799=_0x2bd073;logger[_0x1d3507(0x14e)](_0x1d3507(0x197)+JSON[_0x1d3507(0x169)](_0x345799)),logger[_0x1d3507(0x14e)](_0x231a10['iYUjp']),logger['debug'](util[_0x1d3507(0x148)](await global[_0x1d3507(0x158)][0x0][_0x1d3507(0x15d)](scripts[_0x1d3507(0x183)],{'method':global['browserstackSessionName']}))),await global[_0x1d3507(0x158)][0x0][_0x1d3507(0x15d)](scripts[_0x1d3507(0x180)],_0x345799),logger['info'](_0x231a10[_0x1d3507(0x178)]);}}catch(_0x20546d){logger[_0x1d3507(0x185)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x1d3507(0x186)][_0x1d3507(0x19b)]()+_0x1d3507(0x150),_0x20546d);}try{try{if(_0x231a10[_0x1d3507(0x199)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x231a10['cEOUq'](sendPlatformDetails,global[_0x1d3507(0x158)][0x0],this[_0x1d3507(0x186)]?this[_0x1d3507(0x186)][_0x1d3507(0x18d)]:null);if(_0x231a10[_0x1d3507(0x199)](isBrowserstackInfra)){const _0x2cea8d=_0x1d3507(0x177)+Date[_0x1d3507(0x153)]();await _0x231a10[_0x1d3507(0x19a)](_0x5da143,JSON['stringify'](_0x2cea8d),_0x231a10['PHZvX']);}}}catch(_0x199e46){logger['debug'](_0x1d3507(0x12e)+_0x199e46);}_0x231a10[_0x1d3507(0x137)](global[_0x1d3507(0x158)][0x0][_0x1d3507(0x140)],0x0)&&await global[_0x1d3507(0x131)]();}catch(_0x5cf736){logger[_0x1d3507(0x14e)](_0x1d3507(0x16c)+_0x5cf736);}_0x231a10[_0x1d3507(0x199)](_0x5c6ed8);})['then'](()=>_0x229754());},'afterAll'(_0x40a48a){const _0x42293d={'yzStV':function(_0x2d7ff4){return _0x2d7ff4();}},_0x36f999='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x1f3fe9=>{const _0x3d871d=a32_0xbdfc;PerformanceTester[_0x3d871d(0x141)](),await global[_0x3d871d(0x131)](),_0x42293d[_0x3d871d(0x195)](_0x1f3fe9);})['then'](()=>_0x40a48a());}};
1
+ function a32_0x8572(){const _0x4a51ac=['Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','length','JRNpV','mjVoG','Failed:\x20','hOmoZ','rYXyT','__drivers','./test-observability/mochaUtils','executeScript','Performing\x20scan\x20before\x20saving\x20results','CFmKh','err','capabilities','../../helpers/testhub/utils','MHzDl','__error_messages__','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','\x20-\x20','join','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','state','format','thTestRunUuid','yvdIq','winstonLogger','ExosW','message','appium:app','JufNk','driverCleanup','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','ahlZt','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','info','../../helpers/performance-tester','mochaHooks','../../helpers/accessibility-automation/helper','http:','timeout','error','currentTest','ZzSCG','__sessionFailed','performScan','../../helpers/percy/utils','UUmnP','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/globals','ipSAC','saveTestResults','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','caBJy','browserstackSessionName',',\x22level\x22:\x20\x22','ENV_VAR','sessionNameSet__','69897KHJnuz','25815dPWgvI','201138GEszkF','BROWSERSTACK_TESTHUB_JWT','env','https:','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','isArray','thJwtToken','473241tGUzQt','../../helpers/logger','xFYys','getCurrentUrl','kXQCA','LWTsC','\x22}}','iaIAH','vsDlT','setGlobal','LijIR','testcase','executeAsyncScript','testAnalyticsId','isAccessibilityPlatform','bstackA11yShouldScan','quitCount_','JtIED','getGlobal','KJHDJ','failed','Failed\x20to\x20store\x20session\x20name:\x20','2053758OjtVjC','__skipSessionName','Passed','session_','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','\x20|\x20','108hKSCrS','AYVXn','ObservabilitySync:','oMNbf','titlePath','passed','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','initQuit','accessibilityScanStarted','startMonitoring','BROWSERSTACK_TESTHUB_UUID','protocol','then','xTRna','app','150840pqKekr','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','now','debug','stringify','thBuildUuid','../../helpers/helper','332000qsTAyN','bAufY','shouldScanTestForAccessibility','OyRvi','sawrN','vGbwU','AYyod'];a32_0x8572=function(){return _0x4a51ac;};return a32_0x8572();}const a32_0x1fe5b0=a32_0x59b0;(function(_0xc7b9be,_0x2b87c0){const _0x35387d=a32_0x59b0,_0x20ab4c=_0xc7b9be();while(!![]){try{const _0x2ea46a=-parseInt(_0x35387d(0x15b))/0x1+-parseInt(_0x35387d(0x15d))/0x2+parseInt(_0x35387d(0x165))/0x3+-parseInt(_0x35387d(0x181))/0x4*(parseInt(_0x35387d(0x15c))/0x5)+parseInt(_0x35387d(0x190))/0x6+parseInt(_0x35387d(0x17b))/0x7+parseInt(_0x35387d(0x197))/0x8;if(_0x2ea46a===_0x2b87c0)break;else _0x20ab4c['push'](_0x20ab4c['shift']());}catch(_0x47c57c){_0x20ab4c['push'](_0x20ab4c['shift']());}}}(a32_0x8572,0x32c2a));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x1fe5b0(0x147)),{percyAutoCapture}=require(a32_0x1fe5b0(0x14f)),{sendPlatformDetails}=require(a32_0x1fe5b0(0x1a6)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x1fe5b0(0x196)),PerformanceTester=require(a32_0x1fe5b0(0x145)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x1fe5b0(0x152)),logger=require(a32_0x1fe5b0(0x166))[a32_0x1fe5b0(0x139)],{shouldProcessEventForTesthub}=require(a32_0x1fe5b0(0x12e)),testHubConstants=require('../../helpers/testhub/constants');function a32_0x59b0(_0x31f5a9,_0x55524b){const _0x857293=a32_0x8572();return a32_0x59b0=function(_0x59b01b,_0x2ab83c){_0x59b01b=_0x59b01b-0x12b;let _0x33cb93=_0x857293[_0x59b01b];return _0x33cb93;},a32_0x59b0(_0x31f5a9,_0x55524b);}exports[a32_0x1fe5b0(0x146)]={'beforeAll'(){const _0x17fe73=a32_0x1fe5b0,_0x1b3ba9={'JufNk':function(_0x552edd,_0x4beba0,_0x304420,_0x3b7303){return _0x552edd(_0x4beba0,_0x304420,_0x3b7303);},'kodPY':_0x17fe73(0x179),'ExosW':_0x17fe73(0x180),'AYVXn':function(_0x42b25e,_0x208d9a,_0x33a932){return _0x42b25e(_0x208d9a,_0x33a932);},'JRNpV':'passed','ZzSCG':function(_0x531abb){return _0x531abb();}};PerformanceTester[_0x17fe73(0x18a)]();const _0x3a2902='browserstack internal helper hook';global[_0x17fe73(0x130)]=[],global['__sessionFailed']=![],global[_0x17fe73(0x13e)]=async()=>{const _0x309d72=_0x17fe73;let _0x15115e=![];try{await global[_0x309d72(0x1a5)][0x0]['session_'],_0x15115e=!![],global[_0x309d72(0x14d)]?await _0x1b3ba9[_0x309d72(0x13d)](markSessionStatus,global[_0x309d72(0x1a5)][0x0],_0x1b3ba9['kodPY'],global[_0x309d72(0x130)][_0x309d72(0x133)](_0x1b3ba9[_0x309d72(0x13a)])):await _0x1b3ba9[_0x309d72(0x182)](markSessionStatus,global[_0x309d72(0x1a5)][0x0],_0x1b3ba9[_0x309d72(0x1a0)]);}catch(_0x1b35fd){logger['debug'](_0x309d72(0x13f)+_0x1b35fd);}global[_0x309d72(0x130)]=[],global['__sessionFailed']=![];if(_0x15115e)try{try{_0x1b3ba9[_0x309d72(0x14c)](shouldProcessEventForTesthub)&&(global[_0x309d72(0x1a5)][0x0]&&await _0x1b3ba9[_0x309d72(0x182)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x309d72(0x14b)][_0x309d72(0x172)]:null));}catch(_0x4512c7){logger[_0x309d72(0x193)](_0x309d72(0x131)+_0x4512c7);}await global[_0x309d72(0x1a5)][0x0][_0x309d72(0x188)]();}catch(_0x22d29c){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x22d29c);}};},'beforeEach'(_0x4572a6){const _0x7a52cd=a32_0x1fe5b0,_0x70eb3f={'iaIAH':function(_0x454030,_0xf3e0a9){return _0x454030>_0xf3e0a9;},'OyRvi':function(_0x54fc13,_0x205b67){return _0x54fc13>_0x205b67;},'sawrN':'\x20-\x20','LijIR':function(_0x2c5337,_0x121b3a,_0x370630){return _0x2c5337(_0x121b3a,_0x370630);},'AnHLz':_0x7a52cd(0x174),'CFmKh':function(_0x22a34d){return _0x22a34d();},'yvdIq':function(_0x28c6ef,_0x3d7ee6){return _0x28c6ef>_0x3d7ee6;},'caBJy':_0x7a52cd(0x173),'AYyod':function(_0x517dc3,_0x72ae76){return _0x517dc3===_0x72ae76;},'cLZhf':_0x7a52cd(0x148),'xTRna':function(_0x4764a9,_0x41072a){return _0x4764a9===_0x41072a;},'mjVoG':_0x7a52cd(0x160),'SlLfQ':_0x7a52cd(0x19e),'hOmoZ':'Automate\x20test\x20case\x20execution\x20has\x20started.'};new Promise(async _0x36a17d=>{const _0x42d9e7=_0x7a52cd,_0x166032='browserstack internal helper hook';let _0x26c6be=!![];try{_0x70eb3f[_0x42d9e7(0x16c)](global[_0x42d9e7(0x1a5)][_0x42d9e7(0x19f)],0x1)&&(await global[_0x42d9e7(0x13e)](),global['__drivers']['shift']()),_0x70eb3f[_0x42d9e7(0x19a)](global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x175)],0x0)&&(_0x26c6be=![],await global[_0x42d9e7(0x13e)]());}catch(_0x59370a){logger['debug'](_0x42d9e7(0x142)+_0x59370a);}try{Array['isArray'](global[_0x42d9e7(0x1a5)])&&global[_0x42d9e7(0x1a5)][0x0]&&(global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x157)]=this['currentTest'][_0x42d9e7(0x185)]()[_0x42d9e7(0x133)](_0x70eb3f[_0x42d9e7(0x19b)])),global[_0x42d9e7(0x157)]=this[_0x42d9e7(0x14b)]['titlePath']()[_0x42d9e7(0x133)](_0x70eb3f[_0x42d9e7(0x19b)]);}catch(_0x1c5575){logger[_0x42d9e7(0x193)](_0x42d9e7(0x17a)+_0x1c5575);}this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]=_0x70eb3f[_0x42d9e7(0x16f)](shouldScanTestForAccessibility,this[_0x42d9e7(0x14b)][_0x42d9e7(0x185)](),!![]),globals[_0x42d9e7(0x16e)](_0x70eb3f['AnHLz'],this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]),this['currentTest'][_0x42d9e7(0x189)]=!![];if(_0x70eb3f['CFmKh'](isAccessibilityAutomationSession)&&_0x26c6be&&Array[_0x42d9e7(0x163)](global[_0x42d9e7(0x1a5)])&&_0x70eb3f[_0x42d9e7(0x138)](global[_0x42d9e7(0x1a5)][_0x42d9e7(0x19f)],0x0)&&globals[_0x42d9e7(0x177)](_0x70eb3f[_0x42d9e7(0x156)]))try{const _0x4bcad7=await global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x17e)];if(_0x4bcad7){let _0x3a277b=!![];const _0x4183d3=await global[_0x42d9e7(0x1a5)][0x0][_0x42d9e7(0x168)]();let _0x17ae99;try{_0x17ae99=new URL(_0x4183d3);}catch(_0x366043){_0x3a277b=![];}_0x3a277b=_0x70eb3f[_0x42d9e7(0x19d)](_0x17ae99[_0x42d9e7(0x18c)],_0x70eb3f['cLZhf'])||_0x70eb3f[_0x42d9e7(0x18e)](_0x17ae99[_0x42d9e7(0x18c)],_0x70eb3f[_0x42d9e7(0x1a1)]),_0x3a277b&&(this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]&&logger[_0x42d9e7(0x144)](_0x70eb3f['SlLfQ'])),this[_0x42d9e7(0x14b)]['accessibilityScanStarted']=this[_0x42d9e7(0x14b)]['shouldScanTestForAccessibility'],this[_0x42d9e7(0x14b)][_0x42d9e7(0x199)]&&logger[_0x42d9e7(0x144)](_0x70eb3f[_0x42d9e7(0x1a3)]);}}catch(_0x412253){logger[_0x42d9e7(0x14a)](_0x42d9e7(0x17f)+util[_0x42d9e7(0x136)](_0x412253));}_0x70eb3f[_0x42d9e7(0x12b)](_0x36a17d);})['then'](_0x4572a6);},'afterEach'(_0x3e0251){const _0x48ee79=a32_0x1fe5b0,_0x56f75c={'ipSAC':function(_0xb4edf9,_0x2fecde){return _0xb4edf9>_0x2fecde;},'vsDlT':function(_0x11e6c3,_0x59f1cc){return _0x11e6c3===_0x59f1cc;},'oMNbf':_0x48ee79(0x170),'ahlZt':_0x48ee79(0x13c),'JtIED':function(_0x4a39ef,_0x3f0e9b,_0x220e3e,_0x55d2ea){return _0x4a39ef(_0x3f0e9b,_0x220e3e,_0x55d2ea);},'NqEwf':_0x48ee79(0x132),'bAufY':function(_0x4d0318,_0x166020){return _0x4d0318!==_0x166020;},'vhShI':_0x48ee79(0x186),'MHzDl':function(_0x4f4b61,_0x580328,_0x52b801){return _0x4f4b61(_0x580328,_0x52b801);},'rYXyT':function(_0x2a73a7,_0x2809c0){return _0x2a73a7+_0x2809c0;},'Gnzmf':_0x48ee79(0x1a2),'UUmnP':_0x48ee79(0x14a),'KJHDJ':_0x48ee79(0x17d),'sZtQn':_0x48ee79(0x144),'gisTh':'isAccessibilityPlatform','qADfY':_0x48ee79(0x174),'vGbwU':_0x48ee79(0x162),'gUyZe':_0x48ee79(0x1a8),'xFYys':_0x48ee79(0x143),'kXQCA':function(_0x115dbf){return _0x115dbf();},'ImhHN':_0x48ee79(0x193),'pnrdK':function(_0x57dd36,_0x53dc90){return _0x57dd36>_0x53dc90;}},_0xd98339='browserstack internal helper hook';this[_0x48ee79(0x149)](0xfde8);const _0x18737b=async(_0x1e6cc9,_0x280136)=>{const _0x328088=_0x48ee79;await global[_0x328088(0x1a5)][0x0]['executeScript'](_0x328088(0x151)+_0x1e6cc9+_0x328088(0x158)+_0x280136+_0x328088(0x16b));};new Promise(async _0x18bcf3=>{const _0x3e3adf=_0x48ee79;try{_0x56f75c[_0x3e3adf(0x153)](global[_0x3e3adf(0x1a5)]['length'],0x1)&&(await global[_0x3e3adf(0x13e)](),global[_0x3e3adf(0x1a5)]['shift'](),global[_0x3e3adf(0x130)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x56f75c[_0x3e3adf(0x16d)](global['percyCaptureMode'],_0x56f75c[_0x3e3adf(0x184)])&&global['__drivers'][0x0]){const _0x2513a8=_0x56f75c['ipSAC'](global['capabilities'][_0x3e3adf(0x19f)],0x0)?!!global['capabilities'][0x0]['app']||!!global[_0x3e3adf(0x12d)][0x0][_0x56f75c[_0x3e3adf(0x141)]]:![],_0x1a76fa={};_0x1a76fa[_0x3e3adf(0x18f)]=_0x2513a8,await _0x56f75c[_0x3e3adf(0x176)](percyAutoCapture,global['__drivers'][0x0],_0x56f75c[_0x3e3adf(0x184)],_0x1a76fa);}}catch(_0x3c4a2c){logger[_0x3e3adf(0x193)](_0x3e3adf(0x134)+_0x3c4a2c);}!global[_0x3e3adf(0x17c)]&&(await global['__drivers'][0x0][_0x3e3adf(0x1a7)](_0x3e3adf(0x140)+JSON[_0x3e3adf(0x194)](this[_0x3e3adf(0x14b)][_0x3e3adf(0x185)]()[_0x3e3adf(0x133)](_0x56f75c['NqEwf']))+'}}'),global[_0x3e3adf(0x1a5)][0x0][_0x3e3adf(0x15a)]=!![]);const _0x367244=_0x56f75c[_0x3e3adf(0x198)](this['currentTest'][_0x3e3adf(0x135)],_0x56f75c['vhShI']);_0x367244?(global['__sessionFailed']=!![],global['__error_messages__']['push'](this[_0x3e3adf(0x14b)][_0x3e3adf(0x12c)][_0x3e3adf(0x13b)]),await _0x56f75c[_0x3e3adf(0x12f)](_0x18737b,JSON['stringify'](_0x56f75c[_0x3e3adf(0x1a4)](_0x56f75c['Gnzmf'],this[_0x3e3adf(0x14b)][_0x3e3adf(0x12c)][_0x3e3adf(0x13b)])),_0x56f75c[_0x3e3adf(0x150)])):await _0x56f75c[_0x3e3adf(0x12f)](_0x18737b,JSON['stringify'](_0x56f75c[_0x3e3adf(0x178)]),_0x56f75c['sZtQn']);}catch(_0x558091){logger['debug'](_0x3e3adf(0x187)+_0x558091);}try{if(this[_0x3e3adf(0x14b)][_0x3e3adf(0x189)]&&globals[_0x3e3adf(0x177)](_0x56f75c['gisTh'])&&globals[_0x3e3adf(0x177)](_0x56f75c['qADfY'])){logger[_0x3e3adf(0x144)](_0x56f75c[_0x3e3adf(0x19c)]);const _0x26dfe7={};_0x26dfe7[_0x3e3adf(0x137)]=this[_0x3e3adf(0x14b)][_0x3e3adf(0x172)],_0x26dfe7[_0x3e3adf(0x195)]=process[_0x3e3adf(0x15f)][testHubConstants[_0x3e3adf(0x159)][_0x3e3adf(0x18b)]],_0x26dfe7[_0x3e3adf(0x164)]=process['env'][testHubConstants[_0x3e3adf(0x159)][_0x3e3adf(0x15e)]];const _0x5503c2=_0x26dfe7;logger[_0x3e3adf(0x193)](_0x3e3adf(0x161)+JSON[_0x3e3adf(0x194)](_0x5503c2)),logger['debug'](_0x56f75c['gUyZe']),logger[_0x3e3adf(0x193)](util[_0x3e3adf(0x136)](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x3e3adf(0x14e)],{'method':global['browserstackSessionName']}))),await global[_0x3e3adf(0x1a5)][0x0][_0x3e3adf(0x171)](scripts[_0x3e3adf(0x154)],_0x5503c2),logger[_0x3e3adf(0x144)](_0x56f75c[_0x3e3adf(0x167)]);}}catch(_0x396002){logger[_0x3e3adf(0x14a)](_0x3e3adf(0x191)+this[_0x3e3adf(0x14b)][_0x3e3adf(0x185)]()+'.\x20Error\x20:',_0x396002);}try{try{if(_0x56f75c[_0x3e3adf(0x169)](shouldProcessEventForTesthub)){global[_0x3e3adf(0x1a5)][0x0]&&await _0x56f75c['MHzDl'](sendPlatformDetails,global[_0x3e3adf(0x1a5)][0x0],this[_0x3e3adf(0x14b)]?this['currentTest'][_0x3e3adf(0x172)]:null);if(_0x56f75c[_0x3e3adf(0x169)](isBrowserstackInfra)){const _0x3bf521=_0x3e3adf(0x183)+Date[_0x3e3adf(0x192)]();await _0x56f75c[_0x3e3adf(0x12f)](_0x18737b,JSON[_0x3e3adf(0x194)](_0x3bf521),_0x56f75c['ImhHN']);}}}catch(_0x28a412){logger[_0x3e3adf(0x193)](_0x3e3adf(0x155)+_0x28a412);}_0x56f75c['pnrdK'](global['__drivers'][0x0][_0x3e3adf(0x175)],0x0)&&await global[_0x3e3adf(0x13e)]();}catch(_0x541aa4){logger['debug'](_0x3e3adf(0x142)+_0x541aa4);}_0x56f75c['kXQCA'](_0x18bcf3);})['then'](()=>_0x3e0251());},'afterAll'(_0x236a3c){const _0x3ce275=a32_0x1fe5b0,_0x482559={'LWTsC':function(_0x5494cf){return _0x5494cf();}},_0xd3ca4c='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x5178c7=>{const _0x36fe18=a32_0x59b0;PerformanceTester['stopMonitoring'](),await global['driverCleanup'](),_0x482559[_0x36fe18(0x16a)](_0x5178c7);})[_0x3ce275(0x18d)](()=>_0x236a3c());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x44e14b=a33_0x4fd7;(function(_0x245c4d,_0x393a61){const _0x2b7577=a33_0x4fd7,_0x41563c=_0x245c4d();while(!![]){try{const _0x436299=parseInt(_0x2b7577(0x1fe))/0x1*(-parseInt(_0x2b7577(0x1e3))/0x2)+parseInt(_0x2b7577(0x1f7))/0x3+parseInt(_0x2b7577(0x20d))/0x4+parseInt(_0x2b7577(0x1d8))/0x5+-parseInt(_0x2b7577(0x1e0))/0x6+parseInt(_0x2b7577(0x1d5))/0x7+-parseInt(_0x2b7577(0x213))/0x8*(-parseInt(_0x2b7577(0x1d1))/0x9);if(_0x436299===_0x393a61)break;else _0x41563c['push'](_0x41563c['shift']());}catch(_0x120aab){_0x41563c['push'](_0x41563c['shift']());}}}(a33_0x3edf,0xd582c));const fs=require('fs'),path=require(a33_0x44e14b(0x1d3)),{spawn}=require(a33_0x44e14b(0x1ff)),logger=require(a33_0x44e14b(0x20a))[a33_0x44e14b(0x201)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x44e14b(0x1f3)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x4d144a,_0x297298)=>{const _0x3443d9=a33_0x44e14b,_0x5ce28c={'oNfhI':'nightwatch.conf.js','evDZZ':_0x3443d9(0x20e),'XSHbb':function(_0x3e4f14,_0x45631e){return _0x3e4f14(_0x45631e);},'TajAf':_0x3443d9(0x210)};let _0x4ad108=null,_0x1da8a7={};const _0x387cec=_0x297298[_0x3443d9(0x1eb)](_0x568b2e=>_0x568b2e==='--config');if(!helper[_0x3443d9(0x1d4)](_0x4d144a[_0x3443d9(0x1e2)])&&fs[_0x3443d9(0x205)](path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x4d144a[_0x3443d9(0x1e2)])))_0x4ad108=path[_0x3443d9(0x1f0)](process['cwd'](),_0x4d144a['config']),_0x297298['splice'](_0x387cec,0x2);else{if(fs[_0x3443d9(0x205)](path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x5ce28c[_0x3443d9(0x1de)])))_0x4ad108=path[_0x3443d9(0x1f0)](process['cwd'](),_0x5ce28c[_0x3443d9(0x1de)]);else fs['existsSync'](path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x5ce28c[_0x3443d9(0x1ec)]))&&(_0x4ad108=path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x5ce28c['evDZZ']));}return _0x4ad108?(logger[_0x3443d9(0x219)](_0x3443d9(0x1ef)+_0x4ad108),_0x1da8a7=_0x5ce28c[_0x3443d9(0x1ee)](require,_0x4ad108)):logger[_0x3443d9(0x219)](_0x5ce28c['TajAf']),_0x1da8a7;},removeExistingEnvs=_0x1f071d=>{const _0x43a2c4=a33_0x44e14b,_0x2e6beb={};_0x2e6beb[_0x43a2c4(0x1f4)]=function(_0x37ec08,_0x5aed39){return _0x37ec08>_0x5aed39;};const _0x3ce9ad=_0x2e6beb;let _0x530d86=_0x1f071d['findIndex'](_0x8c1f78=>_0x8c1f78==='--env');_0x3ce9ad[_0x43a2c4(0x1f4)](_0x530d86,-0x1)&&_0x1f071d['splice'](_0x530d86,0x2),_0x530d86=_0x1f071d[_0x43a2c4(0x1eb)](_0x420f86=>_0x420f86==='-e'),_0x3ce9ad['TEALq'](_0x530d86,-0x1)&&_0x1f071d[_0x43a2c4(0x218)](_0x530d86,0x2);};function a33_0x4fd7(_0x3bf83b,_0x37dd6b){const _0x3edf01=a33_0x3edf();return a33_0x4fd7=function(_0x4fd7cb,_0x27ac84){_0x4fd7cb=_0x4fd7cb-0x1d1;let _0x204936=_0x3edf01[_0x4fd7cb];return _0x204936;},a33_0x4fd7(_0x3bf83b,_0x37dd6b);}function run(_0x13e313,_0xe8f2a4){const _0x1b6e9c=a33_0x44e14b,_0x470e05={'aefxD':_0x1b6e9c(0x207),'INxAJ':function(_0x32c183,_0x377bd6){return _0x32c183+_0x377bd6;},'ZJhFs':_0x1b6e9c(0x21c),'IUsmS':function(_0x10f655,_0x580b9a,_0x593854){return _0x10f655(_0x580b9a,_0x593854);},'lCEzA':_0x1b6e9c(0x21b),'eHktU':_0x1b6e9c(0x1e9),'yTVLx':function(_0x146bb1,_0x4b7ec7){return _0x146bb1===_0x4b7ec7;},'oHzXh':_0x1b6e9c(0x204),'UEkyt':function(_0x42af62,_0x10790f){return _0x42af62(_0x10790f);},'hOAxw':function(_0x30bff7,_0x38b5d1,_0x1ea144,_0x2e4585){return _0x30bff7(_0x38b5d1,_0x1ea144,_0x2e4585);},'vYdoj':_0x1b6e9c(0x1fc),'DIIej':_0x1b6e9c(0x202),'enOKw':_0x1b6e9c(0x1e1),'sUoNL':'inherit','qamkR':_0x1b6e9c(0x1dd)},_0x2d14f7=new BrowserStackSetup(_0x13e313);if(!_0x2d14f7[_0x1b6e9c(0x1e2)])return;const _0x3b544d=_0x470e05[_0x1b6e9c(0x200)](getUserNightwatchConfigs,_0x13e313,_0xe8f2a4),_0xa2a4db={};_0xa2a4db[_0x1b6e9c(0x206)]=![];const _0x1e04c1={};_0x1e04c1[_0x1b6e9c(0x216)]=_0x470e05['lCEzA'],_0x1e04c1[_0x1b6e9c(0x20b)]=0x1bb;const _0xf93741={};_0xf93741['webdriver']=_0xa2a4db,_0xf93741[_0x1b6e9c(0x212)]=_0x1e04c1;const _0x541a23=_0xf93741;logger[_0x1b6e9c(0x219)](_0x470e05[_0x1b6e9c(0x1f2)]);const _0x346ca3={..._0x3b544d},_0x218ba8=_0x346ca3,_0x23156a=helper['useW3C'](_0x2d14f7[_0x1b6e9c(0x1e2)]),_0x479142=[];_0x2d14f7[_0x1b6e9c(0x1e2)][_0x1b6e9c(0x217)][_0x1b6e9c(0x1ed)]((_0x5ad24f,_0x12a47c)=>{const _0x5e7419=_0x1b6e9c;_0x23156a?_0x479142[_0x5e7419(0x1f9)](helper[_0x5e7419(0x1d9)](_0x2d14f7[_0x5e7419(0x1e2)],_0x470e05[_0x5e7419(0x1f6)],_0x12a47c)):_0x479142[_0x5e7419(0x1f9)](helper[_0x5e7419(0x1f1)](_0x2d14f7[_0x5e7419(0x1e2)],_0x470e05[_0x5e7419(0x1f6)],_0x12a47c));});const _0x55bfc6={},_0x13832d=[];_0x13e313[_0x1b6e9c(0x21a)]=_0x13e313[_0x1b6e9c(0x21a)]||_0x13e313['e'];const _0x16b7d7=_0x13e313['env']?_0x13e313[_0x1b6e9c(0x21a)][_0x1b6e9c(0x1f5)]()[_0x1b6e9c(0x1e5)](',')['map'](_0x31d66b=>_0x31d66b[_0x1b6e9c(0x1f5)]())[_0x1b6e9c(0x1fa)](_0x17cb14=>_0x17cb14!==''):[''];_0x470e05[_0x1b6e9c(0x1db)](_0x16b7d7[_0x1b6e9c(0x1df)],0x0)&&_0x16b7d7[_0x1b6e9c(0x1f9)]('');_0x16b7d7['forEach'](_0x2c5766=>{const _0x3be30d=_0x1b6e9c;_0x479142[_0x3be30d(0x1ed)](_0x559127=>{const _0x324605=_0x3be30d;let _0x1d1aae=_0x470e05[_0x324605(0x20c)](helper['getPlatformName'](_0x559127,'_'),'_'+Date[_0x324605(0x1d7)]());_0x2c5766&&(_0x1d1aae+='_'+_0x2c5766);if(_0x2c5766&&(!_0x3b544d[_0x470e05['ZJhFs']]||!_0x3b544d[_0x470e05[_0x324605(0x208)]][_0x2c5766]))return;const _0x4e0fd3={..._0x541a23};_0x4e0fd3[_0x324605(0x1d2)]=_0x559127;const _0x3b910d=_0x4e0fd3;_0x55bfc6[_0x1d1aae]=_0x2c5766?helper[_0x324605(0x209)](_0x3b544d[_0x470e05[_0x324605(0x208)]][_0x2c5766],_0x3b910d):_0x3b910d,_0x13832d[_0x324605(0x1f9)](_0x1d1aae);});});!_0x218ba8[_0x1b6e9c(0x21c)]&&(_0x218ba8[_0x1b6e9c(0x21c)]={});_0x218ba8['test_settings']={..._0x218ba8[_0x1b6e9c(0x21c)],..._0x55bfc6};const _0x3a7d13=path[_0x1b6e9c(0x1f0)](__dirname,_0x470e05[_0x1b6e9c(0x1e6)]);fs[_0x1b6e9c(0x1d6)](_0x3a7d13,JSON[_0x1b6e9c(0x203)](_0x218ba8)),_0x470e05['UEkyt'](removeExistingEnvs,_0xe8f2a4);const _0x35902d=_0x470e05[_0x1b6e9c(0x211)](spawn,/^win/['test'](process[_0x1b6e9c(0x1fb)])?_0x470e05[_0x1b6e9c(0x215)]:_0x470e05['aefxD'],[_0x470e05[_0x1b6e9c(0x1dc)],_0x3a7d13,..._0xe8f2a4[_0x1b6e9c(0x1da)](0x1),_0x470e05[_0x1b6e9c(0x1fd)],_0x13832d[_0x1b6e9c(0x1f0)](',')],{'stdio':_0x470e05[_0x1b6e9c(0x1e7)]});_0x35902d['on'](_0x470e05[_0x1b6e9c(0x1e8)],async _0x4dba82=>{const _0x39c3f0=_0x1b6e9c;logger[_0x39c3f0(0x1e4)]('child\x20process\x20exited\x20with\x20code\x20'+_0x4dba82),logger[_0x39c3f0(0x219)](_0x39c3f0(0x20f)+_0x3a7d13),fs[_0x39c3f0(0x1ea)](_0x3a7d13);});}function a33_0x3edf(){const _0x177da4=['child_process','IUsmS','winstonLogger','--config','stringify','nightwatch-browserstack.json','existsSync','start_process','nightwatch','ZJhFs','mergeDeep','../../helpers/logger','port','INxAJ','1076968zDfKjD','nightwatch.json','Deleting\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hOAxw','selenium','8zkpaaV','cwd','vYdoj','host','platforms','splice','info','env','hub.browserstack.com','test_settings','2910870jhFHdz','desiredCapabilities','path','isUndefined','3637550hbFLvn','writeFileSync','now','7407270VGFcGb','modifyBrowserStackW3CCaps','slice','yTVLx','DIIej','close','oNfhI','length','8316126itqKOX','--env','config','55030ZeBbgl','debug','split','oHzXh','sUoNL','qamkR','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','unlinkSync','findIndex','evDZZ','forEach','XSHbb','Getting\x20your\x20nightwatch\x20configs\x20from\x20','join','modifyBrowserStackCaps','eHktU','../../helpers/helper','TEALq','trim','aefxD','3457785WWXvtS','exports','push','filter','platform','nightwatch.cmd','enOKw','54UJLYdD'];a33_0x3edf=function(){return _0x177da4;};return a33_0x3edf();}module[a33_0x44e14b(0x1f8)]=run;
2
+ 'use strict';function a33_0xcca7(){const _0x2fb070=['join','getPlatformName','nightwatch.conf.js','../utils/constants','uRtNy','hbxcO','gXagR','splice','trim','FGlHw','qXnZL','nightwatch.cmd','unlinkSync','selenium','length','ZEfZA','forEach','xQJGA','165bAWgEO','host','Ifzjb','34586onLSnq','--config','BlEht','env','YgCVb','exports','slice','--env','child_process','31feQnzp','AhEtz','930756aNUfjE','AcYCs','../../helpers/logger','writeFileSync','nightwatch-browserstack.json','cwd','config','modifyBrowserStackCaps','platforms','path','178011VyXDOD','622710VBPxmi','push','NUMAa','awnjx','672tdDbVY','AYMEk','2280299MsqmLN','filter','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','nightwatch','existsSync','stringify','webdriver','50lTjBQl','port','findIndex','UVLfT','child\x20process\x20exited\x20with\x20code\x20','start_process','desiredCapabilities','test_settings','nightwatch.json','info','../../helpers/helper','6SfqMxI','2306304WIdxHP','GSJrX','1917JVXLhL','useW3C'];a33_0xcca7=function(){return _0x2fb070;};return a33_0xcca7();}const a33_0x43a22c=a33_0x3d11;(function(_0x351c33,_0x47a699){const _0x44dc07=a33_0x3d11,_0x4c190c=_0x351c33();while(!![]){try{const _0x5a06a8=parseInt(_0x44dc07(0xfb))/0x1*(-parseInt(_0x44dc07(0xf2))/0x2)+parseInt(_0x44dc07(0xdb))/0x3*(-parseInt(_0x44dc07(0xc4))/0x4)+-parseInt(_0x44dc07(0xc0))/0x5+-parseInt(_0x44dc07(0xd8))/0x6*(-parseInt(_0x44dc07(0xc6))/0x7)+-parseInt(_0x44dc07(0xd9))/0x8+-parseInt(_0x44dc07(0xbf))/0x9*(parseInt(_0x44dc07(0xcd))/0xa)+-parseInt(_0x44dc07(0xef))/0xb*(-parseInt(_0x44dc07(0xfd))/0xc);if(_0x5a06a8===_0x47a699)break;else _0x4c190c['push'](_0x4c190c['shift']());}catch(_0x16f52d){_0x4c190c['push'](_0x4c190c['shift']());}}}(a33_0xcca7,0x518da));function a33_0x3d11(_0x596b84,_0xeef0d3){const _0xcca763=a33_0xcca7();return a33_0x3d11=function(_0x3d118d,_0xab3d90){_0x3d118d=_0x3d118d-0xb6;let _0x130e3c=_0xcca763[_0x3d118d];return _0x130e3c;},a33_0x3d11(_0x596b84,_0xeef0d3);}const fs=require('fs'),path=require(a33_0x43a22c(0xbe)),{spawn}=require(a33_0x43a22c(0xfa)),logger=require(a33_0x43a22c(0xb7))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x43a22c(0xd7)),constants=require(a33_0x43a22c(0xe0)),getUserNightwatchConfigs=(_0x19b97a,_0x13497b)=>{const _0x573ccd=a33_0x43a22c,_0x19ba1b={'QRIsl':_0x573ccd(0xdf),'YgCVb':_0x573ccd(0xd5),'NUMAa':function(_0x1de729,_0x4b1758){return _0x1de729(_0x4b1758);},'ZEfZA':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x4ff6b0=null,_0x4d503d={};const _0x4dbb8f=_0x13497b[_0x573ccd(0xcf)](_0x149d06=>_0x149d06===_0x573ccd(0xf3));if(!helper['isUndefined'](_0x19b97a[_0x573ccd(0xbb)])&&fs[_0x573ccd(0xca)](path['join'](process[_0x573ccd(0xba)](),_0x19b97a[_0x573ccd(0xbb)])))_0x4ff6b0=path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19b97a['config']),_0x13497b[_0x573ccd(0xe4)](_0x4dbb8f,0x2);else{if(fs['existsSync'](path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b['QRIsl'])))_0x4ff6b0=path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b['QRIsl']);else fs[_0x573ccd(0xca)](path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b[_0x573ccd(0xf6)]))&&(_0x4ff6b0=path[_0x573ccd(0xdd)](process[_0x573ccd(0xba)](),_0x19ba1b[_0x573ccd(0xf6)]));}return _0x4ff6b0?(logger[_0x573ccd(0xd6)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4ff6b0),_0x4d503d=_0x19ba1b[_0x573ccd(0xc2)](require,_0x4ff6b0)):logger['info'](_0x19ba1b[_0x573ccd(0xec)]),_0x4d503d;},removeExistingEnvs=_0x3f6e87=>{const _0x49bd4b=a33_0x43a22c,_0x2a85db={};_0x2a85db[_0x49bd4b(0xee)]=function(_0x3d44c5,_0x56249f){return _0x3d44c5>_0x56249f;},_0x2a85db['awnjx']=function(_0x9f7c6d,_0x1fc199){return _0x9f7c6d>_0x1fc199;};const _0x2b41b8=_0x2a85db;let _0x3afe32=_0x3f6e87[_0x49bd4b(0xcf)](_0x56b436=>_0x56b436===_0x49bd4b(0xf9));_0x2b41b8['xQJGA'](_0x3afe32,-0x1)&&_0x3f6e87[_0x49bd4b(0xe4)](_0x3afe32,0x2),_0x3afe32=_0x3f6e87[_0x49bd4b(0xcf)](_0x5f5a69=>_0x5f5a69==='-e'),_0x2b41b8[_0x49bd4b(0xc3)](_0x3afe32,-0x1)&&_0x3f6e87[_0x49bd4b(0xe4)](_0x3afe32,0x2);};function run(_0x484d3b,_0xd3119b){const _0x3e9259=a33_0x43a22c,_0x2f2ef7={'Ifzjb':_0x3e9259(0xc9),'FGlHw':function(_0x3ca2af,_0xcacfb6){return _0x3ca2af+_0xcacfb6;},'EkuxI':_0x3e9259(0xd4),'qjqGC':function(_0x52b081,_0x23c8f2,_0x4e2737){return _0x52b081(_0x23c8f2,_0x4e2737);},'gXagR':'hub.browserstack.com','GSJrX':_0x3e9259(0xc8),'AYMEk':function(_0x1648c6,_0x41562b){return _0x1648c6===_0x41562b;},'BlEht':_0x3e9259(0xb9),'AcYCs':function(_0x1e7db3,_0x49af15){return _0x1e7db3(_0x49af15);},'uRtNy':function(_0x4bb4cd,_0x50a59a,_0x50c222,_0x1e8da6){return _0x4bb4cd(_0x50a59a,_0x50c222,_0x1e8da6);},'nwUyX':_0x3e9259(0xe8),'clAcp':_0x3e9259(0xf3),'cYaoq':'--env','qXnZL':'inherit','UVLfT':'close'},_0x36dc78=new BrowserStackSetup(_0x484d3b);if(!_0x36dc78[_0x3e9259(0xbb)])return;const _0x38c5a9=_0x2f2ef7['qjqGC'](getUserNightwatchConfigs,_0x484d3b,_0xd3119b),_0x352c6a={};_0x352c6a[_0x3e9259(0xd2)]=![];const _0x393a2f={};_0x393a2f[_0x3e9259(0xf0)]=_0x2f2ef7[_0x3e9259(0xe3)],_0x393a2f[_0x3e9259(0xce)]=0x1bb;const _0x47631c={};_0x47631c[_0x3e9259(0xcc)]=_0x352c6a,_0x47631c[_0x3e9259(0xea)]=_0x393a2f;const _0x5d6d27=_0x47631c;logger['info'](_0x2f2ef7[_0x3e9259(0xda)]);const _0x315ae2={..._0x38c5a9},_0x1ac959=_0x315ae2,_0xe6b301=helper[_0x3e9259(0xdc)](_0x36dc78[_0x3e9259(0xbb)]),_0x119c8d=[];_0x36dc78[_0x3e9259(0xbb)][_0x3e9259(0xbd)][_0x3e9259(0xed)]((_0x15c964,_0x2a0fd7)=>{const _0xb60697=_0x3e9259;_0xe6b301?_0x119c8d['push'](helper['modifyBrowserStackW3CCaps'](_0x36dc78['config'],_0x2f2ef7[_0xb60697(0xf1)],_0x2a0fd7)):_0x119c8d[_0xb60697(0xc1)](helper[_0xb60697(0xbc)](_0x36dc78[_0xb60697(0xbb)],_0x2f2ef7['Ifzjb'],_0x2a0fd7));});const _0x30dab0={},_0x296b9a=[];_0x484d3b['env']=_0x484d3b['env']||_0x484d3b['e'];const _0x4fb6f9=_0x484d3b[_0x3e9259(0xf5)]?_0x484d3b[_0x3e9259(0xf5)][_0x3e9259(0xe5)]()['split'](',')['map'](_0x6f0918=>_0x6f0918[_0x3e9259(0xe5)]())[_0x3e9259(0xc7)](_0x391816=>_0x391816!==''):[''];_0x2f2ef7[_0x3e9259(0xc5)](_0x4fb6f9[_0x3e9259(0xeb)],0x0)&&_0x4fb6f9['push']('');_0x4fb6f9[_0x3e9259(0xed)](_0x577b69=>{const _0x4998e5={'AhEtz':function(_0xd59408,_0x320c3f){const _0x41e6ec=a33_0x3d11;return _0x2f2ef7[_0x41e6ec(0xe6)](_0xd59408,_0x320c3f);},'hbxcO':_0x2f2ef7['EkuxI']};_0x119c8d['forEach'](_0x39d77e=>{const _0x15336d=a33_0x3d11;let _0x332eaf=_0x4998e5[_0x15336d(0xfc)](helper[_0x15336d(0xde)](_0x39d77e,'_'),'_'+Date['now']());_0x577b69&&(_0x332eaf+='_'+_0x577b69);if(_0x577b69&&(!_0x38c5a9[_0x4998e5[_0x15336d(0xe2)]]||!_0x38c5a9[_0x4998e5[_0x15336d(0xe2)]][_0x577b69]))return;const _0x20c5e2={..._0x5d6d27};_0x20c5e2[_0x15336d(0xd3)]=_0x39d77e;const _0x2adbbc=_0x20c5e2;_0x30dab0[_0x332eaf]=_0x577b69?helper['mergeDeep'](_0x38c5a9[_0x4998e5['hbxcO']][_0x577b69],_0x2adbbc):_0x2adbbc,_0x296b9a['push'](_0x332eaf);});});!_0x1ac959['test_settings']&&(_0x1ac959[_0x3e9259(0xd4)]={});_0x1ac959[_0x3e9259(0xd4)]={..._0x1ac959[_0x3e9259(0xd4)],..._0x30dab0};const _0x3ed646=path[_0x3e9259(0xdd)](__dirname,_0x2f2ef7[_0x3e9259(0xf4)]);fs[_0x3e9259(0xb8)](_0x3ed646,JSON[_0x3e9259(0xcb)](_0x1ac959)),_0x2f2ef7[_0x3e9259(0xb6)](removeExistingEnvs,_0xd3119b);const _0x52e9ea=_0x2f2ef7[_0x3e9259(0xe1)](spawn,/^win/['test'](process['platform'])?_0x2f2ef7['nwUyX']:_0x2f2ef7[_0x3e9259(0xf1)],[_0x2f2ef7['clAcp'],_0x3ed646,..._0xd3119b[_0x3e9259(0xf8)](0x1),_0x2f2ef7['cYaoq'],_0x296b9a[_0x3e9259(0xdd)](',')],{'stdio':_0x2f2ef7[_0x3e9259(0xe7)]});_0x52e9ea['on'](_0x2f2ef7[_0x3e9259(0xd0)],async _0x2c00a3=>{const _0x15527b=_0x3e9259;logger['debug'](_0x15527b(0xd1)+_0x2c00a3),logger['info']('Deleting\x20'+_0x3ed646),fs[_0x15527b(0xe9)](_0x3ed646);});}module[a33_0x43a22c(0xf7)]=run;
@@ -1 +1 @@
1
- const a34_0x40c274=a34_0x1586;(function(_0x3bdea4,_0x5a1e30){const _0x2dbac9=a34_0x1586,_0x3bbd19=_0x3bdea4();while(!![]){try{const _0x368514=parseInt(_0x2dbac9(0x75))/0x1+-parseInt(_0x2dbac9(0x85))/0x2+parseInt(_0x2dbac9(0x6e))/0x3*(parseInt(_0x2dbac9(0xbb))/0x4)+-parseInt(_0x2dbac9(0x8f))/0x5*(-parseInt(_0x2dbac9(0x86))/0x6)+-parseInt(_0x2dbac9(0x6f))/0x7*(parseInt(_0x2dbac9(0x8d))/0x8)+parseInt(_0x2dbac9(0x6d))/0x9+parseInt(_0x2dbac9(0x84))/0xa*(parseInt(_0x2dbac9(0xa5))/0xb);if(_0x368514===_0x5a1e30)break;else _0x3bbd19['push'](_0x3bbd19['shift']());}catch(_0x21f01e){_0x3bbd19['push'](_0x3bbd19['shift']());}}}(a34_0x2b32,0x2bce5));const util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a34_0x40c274(0x6c)),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x40c274(0x7c)]=async(_0x4ba149,_0xd44456,_0x38a43f={})=>{const _0x1c7d6e=a34_0x40c274,_0xd4474f={};_0xd4474f['hAJaR']='bstackSdkArgs';const _0x4a5ceb=_0xd4474f;return await _0x4ba149[_0x1c7d6e(0xc6)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0xd44456[_0x1c7d6e(0xc0)](/arguments/g,_0x4a5ceb[_0x1c7d6e(0x92)])+_0x1c7d6e(0x96)+JSON[_0x1c7d6e(0xbe)](_0x38a43f)+')');},exports[a34_0x40c274(0xb3)]=async(_0xb5b998,_0x42df22,_0x4dafa4={})=>{const _0x521364=a34_0x40c274,_0xcf70a8={};_0xcf70a8[_0x521364(0xb0)]=function(_0x4b437b,_0x1d89d2){return _0x4b437b===_0x1d89d2;},_0xcf70a8[_0x521364(0x66)]=_0x521364(0x9d),_0xcf70a8[_0x521364(0x87)]=function(_0xd1e256,_0xcd3dd6){return _0xd1e256===_0xcd3dd6;},_0xcf70a8[_0x521364(0xab)]=_0x521364(0x79),_0xcf70a8[_0x521364(0x9c)]=_0x521364(0xc3);const _0x2a89c1=_0xcf70a8;if(_0x2a89c1[_0x521364(0xb0)](_0xb5b998[_0x521364(0xb8)][_0x521364(0xa9)],_0x2a89c1[_0x521364(0x66)]))return await _0xb5b998[_0x521364(0x73)](_0x42df22,_0x4dafa4);else{if(_0x2a89c1[_0x521364(0x87)](_0xb5b998[_0x521364(0xb8)][_0x521364(0xa9)],_0x2a89c1['TMucT']))return await _0xb5b998[_0x521364(0x72)](_0x521364(0xa4)+_0x42df22[_0x521364(0xc0)](/arguments/g,_0x2a89c1['CaVFp'])+_0x521364(0xa7)+JSON[_0x521364(0xbe)](_0x4dafa4)+')');}},exports[a34_0x40c274(0xb6)]=async _0x2cc19f=>{const _0x37d1fa=a34_0x40c274,_0x5d277e={};_0x5d277e[_0x37d1fa(0x80)]='accessibilityOptions.wcagVersion',_0x5d277e[_0x37d1fa(0xc5)]='accessibilityOptions.scannerProcessingTimeout',_0x5d277e['njsVR']=_0x37d1fa(0xb7),_0x5d277e[_0x37d1fa(0xa2)]=_0x37d1fa(0xac),_0x5d277e[_0x37d1fa(0xb5)]=_0x37d1fa(0xa8),_0x5d277e[_0x37d1fa(0xc8)]=_0x37d1fa(0xbc);const _0xf77b6b=_0x5d277e;_0x2cc19f[_0x37d1fa(0xb4)]&&(_0x2cc19f[_0x37d1fa(0xb4)][_0x37d1fa(0x91)]&&(_0x2cc19f[_0xf77b6b[_0x37d1fa(0x80)]]=_0x2cc19f['accessibilityOptions'][_0x37d1fa(0x91)]),_0x2cc19f['accessibilityOptions'][_0x37d1fa(0x97)]&&(_0x2cc19f[_0xf77b6b[_0x37d1fa(0xc5)]]=_0x2cc19f[_0x37d1fa(0xb4)]['scannerProcessingTimeout']),_0x2cc19f[_0x37d1fa(0xb4)][_0x37d1fa(0x99)]&&(_0x2cc19f[_0xf77b6b['njsVR']]=_0x2cc19f[_0x37d1fa(0xb4)]['includeIssueType'][_0x37d1fa(0x7f)],_0x2cc19f[_0xf77b6b[_0x37d1fa(0xa2)]]=_0x2cc19f[_0x37d1fa(0xb4)][_0x37d1fa(0x99)]['needsReview']));const _0x1b41cd=JSON[_0x37d1fa(0xa0)](process[_0x37d1fa(0xb1)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x37d1fa(0x67)];_0x2cc19f[_0xf77b6b[_0x37d1fa(0xb5)]]=process[_0x37d1fa(0xb1)][_0x37d1fa(0x7e)],_0x2cc19f[_0xf77b6b[_0x37d1fa(0xc8)]]=_0x1b41cd,delete _0x2cc19f[_0x37d1fa(0xb4)];},exports[a34_0x40c274(0xa6)]=async _0x466eef=>{const _0x2ecc0a=a34_0x40c274,_0xaaf81e={};_0xaaf81e[_0x2ecc0a(0x8b)]='No\x20accessibility\x20results\x20were\x20found.',_0xaaf81e[_0x2ecc0a(0xbd)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x559788=_0xaaf81e;if(global[_0x2ecc0a(0x83)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x466eef,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x466eef,scripts.getResults);return res;}catch{return logger['error'](_0x559788[_0x2ecc0a(0x8b)]),[];}else return logger[_0x2ecc0a(0xa1)](_0x559788['AHNzx']),[];},exports['performScan']=async(_0x4aea82,_0x31c8d3='')=>{const _0x3d93c8=a34_0x40c274;if(global[_0x3d93c8(0x83)]){const _0x29838d={};return _0x29838d[_0x3d93c8(0xad)]=_0x31c8d3,await exports['browserStackEvaluate'](_0x4aea82,scripts[_0x3d93c8(0xc2)],_0x29838d);}},exports[a34_0x40c274(0x98)]=async _0x19aa67=>{const _0x1c83f4=a34_0x40c274,_0x10e18b={};_0x10e18b['rEgEl']=_0x1c83f4(0x9a),_0x10e18b['lvjdq']=_0x1c83f4(0xc1);const _0x47d4c9=_0x10e18b;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x19aa67,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x19aa67,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x1c83f4(0xa3)](_0x47d4c9[_0x1c83f4(0x6b)]),{};}else return logger['warn'](_0x47d4c9['lvjdq']),{};},exports['platformValidation']=async _0x524256=>{const _0x3e05d0=a34_0x40c274,_0x3147fd={'pkhNB':function(_0x18a128,_0xec9374){return _0x18a128!==_0xec9374;},'mjpEn':_0x3e05d0(0x70),'jBYWt':function(_0x55d3ad,_0x493d9a){return _0x55d3ad===_0x493d9a;},'LYCko':_0x3e05d0(0x7b),'rPGsL':function(_0x363b49,_0x12f0f4){return _0x363b49===_0x12f0f4;},'xGIvs':_0x3e05d0(0x76),'AIHXw':_0x3e05d0(0xc4),'rwoXC':function(_0x58b67b,_0x2f1434){return _0x58b67b(_0x2f1434);},'GhUgo':_0x3e05d0(0x71),'raMtl':function(_0x3afd1c,_0xdf2632){return _0x3afd1c>_0xdf2632;},'ODMWG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x3147fd['pkhNB'](_0x524256[_0x3e05d0(0xaf)],''))return logger['warn'](_0x3147fd[_0x3e05d0(0x9f)]),![];const _0x1c4beb=_0x524256['browser'];if(!(_0x3147fd[_0x3e05d0(0x78)](_0x1c4beb,_0x3147fd['LYCko'])||_0x3147fd[_0x3e05d0(0x6a)](_0x1c4beb,_0x3147fd['xGIvs'])))return logger[_0x3e05d0(0xa1)](_0x3147fd[_0x3e05d0(0xae)]),![];const _0x4eba17=_0x3147fd[_0x3e05d0(0x9e)](parseInt,_0x524256[_0x3e05d0(0x8c)]);if(!(_0x3147fd[_0x3e05d0(0x78)](_0x4eba17,_0x3147fd[_0x3e05d0(0x90)])||_0x3147fd[_0x3e05d0(0x89)](_0x4eba17,0x5e)))return logger[_0x3e05d0(0xa1)](_0x3147fd[_0x3e05d0(0xb2)]),![];}catch(_0x57f4e1){logger[_0x3e05d0(0xa3)](_0x3e05d0(0x9b)+util['format'](_0x57f4e1));}return!![];},exports['processAccessibilityCaps']=(_0x12184d,_0x4866cd,_0x2aaf34)=>{const _0x4adc34=a34_0x40c274,_0x2f548e={'VIEkw':function(_0x7eadd1){return _0x7eadd1();},'CSsnZ':'browserstack.accessibility','HAtlC':function(_0x14b5e7,_0x5e2ca5){return _0x14b5e7===_0x5e2ca5;},'sjCXw':_0x4adc34(0x7b),'wiJtu':'playwright-chromium','EiMkk':_0x4adc34(0xc4),'sCqoF':_0x4adc34(0x71),'sLvBd':function(_0x2bf3,_0xde46eb){return _0x2bf3>_0xde46eb;},'DXoeq':_0x4adc34(0x77),'wwqQw':function(_0x432fea,_0x1d2357){return _0x432fea(_0x1d2357);},'jarOh':_0x4adc34(0x70),'QTMAP':function(_0x32a920,_0x47367a){return _0x32a920+_0x47367a;}};try{if(_0x2f548e[_0x4adc34(0x69)](isAccessibilityAutomationSession)){global[_0x4adc34(0x83)]=!![];!_0x12184d[_0x2f548e[_0x4adc34(0x95)]]&&(global['accessibilityPlatform']=![]);!(_0x2f548e[_0x4adc34(0x81)](_0x12184d[_0x4adc34(0x7a)],_0x2f548e[_0x4adc34(0xc7)])||_0x2f548e['HAtlC'](_0x12184d[_0x4adc34(0x7a)],_0x2f548e[_0x4adc34(0x88)]))&&(logger[_0x4adc34(0xa1)](_0x2f548e[_0x4adc34(0xb9)]),global['accessibilityPlatform']=![]);!(_0x2f548e[_0x4adc34(0x81)](_0x12184d[_0x4adc34(0x8c)],_0x2f548e[_0x4adc34(0x8a)])||_0x2f548e[_0x4adc34(0x68)](_0x12184d[_0x4adc34(0x8c)],0x5e))&&(logger['warn'](_0x2f548e[_0x4adc34(0xaa)]),global['accessibilityPlatform']=![]);!_0x2f548e['wwqQw'](isUndefined,_0x12184d[_0x4adc34(0xaf)])&&(logger[_0x4adc34(0xa1)](_0x2f548e[_0x4adc34(0x93)]),global[_0x4adc34(0x83)]=![]);if(!global[_0x4adc34(0x83)]){_0x12184d[_0x2f548e[_0x4adc34(0x95)]]=![];const _0x266f5d=_0x2f548e[_0x4adc34(0x82)](_0x4866cd,_0x2f548e['wwqQw'](encodeURIComponent,JSON[_0x4adc34(0xbe)](_0x12184d)));_0x2aaf34&&(_0x2aaf34[_0x4adc34(0x74)]['testInfo'][_0x4adc34(0x94)][_0x4adc34(0x8e)]['connectOptions'][_0x4adc34(0xba)]=_0x266f5d,_0x2aaf34[_0x4adc34(0xbf)]['project'][_0x4adc34(0x8e)]['connectOptions'][_0x4adc34(0xba)]=_0x266f5d);}}}catch(_0x2ef694){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x4adc34(0x7d)](_0x2ef694));}};function a34_0x1586(_0xf62fdf,_0x49c991){const _0x2b32ef=a34_0x2b32();return a34_0x1586=function(_0x1586ed,_0x397ed6){_0x1586ed=_0x1586ed-0x66;let _0xbbf93f=_0x2b32ef[_0x1586ed];return _0xbbf93f;},a34_0x1586(_0xf62fdf,_0x49c991);}function a34_0x2b32(){const _0x141df2=['executeScript','executeAsyncScript','currentTest','38122gPsdoO','playwright-chromium','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jBYWt','Playwright','browserName','chrome','browserStackEvaluate','format','BS_A11Y_JWT','bestPractice','vBpDi','HAtlC','QTMAP','accessibilityPlatform','30JFbhIp','195572cMGwpY','186CqvhGT','wEWIT','wiJtu','raMtl','sCqoF','iJzkp','browser_version','2085992HSYVth','use','3190lKAZNu','GhUgo','wcagVersion','hAJaR','jarOh','project','CSsnZ','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','scannerProcessingTimeout','getAccessibilityResultsSummary','includeIssueType','No\x20summaryResults\x20found.','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','CaVFp','WebDriver','rwoXC','mjpEn','parse','warn','pmgQe','debug','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','860673mJTmhQ','getAccessibilityResults','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.authToken','name','DXoeq','TMucT','accessibilityOptions.includeIssueType.needsReview','method','AIHXw','deviceName','VIOoN','env','ODMWG','browserStackExecuteDriver','accessibilityOptions','goUtS','setAccessibilityCapabilities','accessibilityOptions.includeIssueType.bestPractice','constructor','EiMkk','wsEndpoint','2096vYxmye','accessibilityOptions.scannerVersion','AHNzx','stringify','workerInfo','replace','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','performScan','bstackSdkArgs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','UoLcl','evaluate','sjCXw','oViKN','ztdjP','scannerVersion','sLvBd','VIEkw','rPGsL','rEgEl','../../helpers/helper','71667PcMLIW','1359HsPZzC','7WpKeLO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','latest'];a34_0x2b32=function(){return _0x141df2;};return a34_0x2b32();}
1
+ function a34_0x118c(){const _0x49d74b=['chrome','browserStackExecuteDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','replace','browser_version','deviceName','bstackSdkArgs','21590XGlJyL','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jpkQJ','project','kadQX','accessibilityOptions.authToken','21672bXIgdo','accessibilityOptions','../../helpers/accessibility-automation/scripts','pXlRf','190Bkpiwo','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','use','kRIAf','lzVgK','browserName','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','wprjZ','WebDriver','latest','FsehD','BS_A11Y_JWT','44491awtbTM','wsEndpoint','mafkL','KNFnv','evaluate','zAJWN','xuAlk','77URqjed','Bvlck','performScan','3764tXrrUY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','method','getAccessibilityResultsSummary','55CmAPjn','iVhus','debug','../../helpers/logger','mqBXt','constructor','QFExR','currentTest','playwright-chromium','Playwright','util','OHtct','stringify','accessibilityOptions.scannerVersion','browserStackEvaluate','oRFvN','6qyMRZw','OeMNf','ijXtX','894732ZdtNCl','AObvj','isJiv','LsIkh','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','testInfo','browserstack.accessibility','scannerProcessingTimeout','vOLQc','processAccessibilityCaps','1832tDuvrw','riAsI','xcAlg','includeIssueType','927xGVXAG','needsReview','executeScript','nNlZz','accessibilityPlatform','No\x20accessibility\x20results\x20were\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','name','winstonLogger','MzCbu','DYiOI','warn','env','wcagVersion','358458doqsKp','executeAsyncScript','KHzlj','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','bestPractice','../../helpers/accessibility-automation/helper','iFYUd','browser','../../helpers/helper','platformValidation','format','No\x20summaryResults\x20found.','EulnV','VIyCH'];a34_0x118c=function(){return _0x49d74b;};return a34_0x118c();}const a34_0x21f1ee=a34_0x2b73;(function(_0x1f7e1f,_0x1d4185){const _0x5dd158=a34_0x2b73,_0xebfb20=_0x1f7e1f();while(!![]){try{const _0x2a5a7f=parseInt(_0x5dd158(0xf8))/0x1*(-parseInt(_0x5dd158(0x116))/0x2)+parseInt(_0x5dd158(0xe8))/0x3+parseInt(_0x5dd158(0x102))/0x4*(parseInt(_0x5dd158(0xec))/0x5)+parseInt(_0x5dd158(0xcb))/0x6+-parseInt(_0x5dd158(0xff))/0x7*(-parseInt(_0x5dd158(0x123))/0x8)+parseInt(_0x5dd158(0x127))/0x9*(-parseInt(_0x5dd158(0xe1))/0xa)+-parseInt(_0x5dd158(0x106))/0xb*(-parseInt(_0x5dd158(0x119))/0xc);if(_0x2a5a7f===_0x1d4185)break;else _0xebfb20['push'](_0xebfb20['shift']());}catch(_0x5261cc){_0xebfb20['push'](_0xebfb20['shift']());}}}(a34_0x118c,0x1dd57));const util=require(a34_0x21f1ee(0x110)),logger=require(a34_0x21f1ee(0x109))[a34_0x21f1ee(0xc5)],{isAccessibilityAutomationSession}=require(a34_0x21f1ee(0xd0)),{isUndefined}=require(a34_0x21f1ee(0xd3)),scripts=require(a34_0x21f1ee(0xea));function a34_0x2b73(_0x3ff435,_0xadcbc8){const _0x118cb1=a34_0x118c();return a34_0x2b73=function(_0x2b7315,_0xa3ae43){_0x2b7315=_0x2b7315-0xc1;let _0x1649c0=_0x118cb1[_0x2b7315];return _0x1649c0;},a34_0x2b73(_0x3ff435,_0xadcbc8);}exports[a34_0x21f1ee(0x114)]=async(_0xb709fd,_0x2bf3e5,_0x427f78={})=>{const _0x9f969d=a34_0x21f1ee,_0x207c3d={};_0x207c3d[_0x9f969d(0x124)]=_0x9f969d(0xe0);const _0x59ce93=_0x207c3d;return await _0xb709fd[_0x9f969d(0xfc)](_0x9f969d(0xce)+_0x2bf3e5[_0x9f969d(0xdd)](/arguments/g,_0x59ce93[_0x9f969d(0x124)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x9f969d(0x112)](_0x427f78)+')');},exports[a34_0x21f1ee(0xda)]=async(_0x1e4832,_0x1eb117,_0x336f8d={})=>{const _0x5869eb=a34_0x21f1ee,_0x3a8a76={};_0x3a8a76[_0x5869eb(0xd8)]=function(_0x59e686,_0x3938c4){return _0x59e686===_0x3938c4;},_0x3a8a76['KHzlj']=_0x5869eb(0xf4),_0x3a8a76[_0x5869eb(0xc7)]=_0x5869eb(0x10f),_0x3a8a76[_0x5869eb(0xf3)]=_0x5869eb(0xe0);const _0x473b2d=_0x3a8a76;if(_0x473b2d[_0x5869eb(0xd8)](_0x1e4832[_0x5869eb(0x10b)]['name'],_0x473b2d[_0x5869eb(0xcd)]))return await _0x1e4832[_0x5869eb(0xcc)](_0x1eb117,_0x336f8d);else{if(_0x473b2d[_0x5869eb(0xd8)](_0x1e4832['constructor'][_0x5869eb(0xc4)],_0x473b2d[_0x5869eb(0xc7)]))return await _0x1e4832[_0x5869eb(0x129)](_0x5869eb(0xdc)+_0x1eb117[_0x5869eb(0xdd)](/arguments/g,_0x473b2d[_0x5869eb(0xf3)])+_0x5869eb(0x11d)+JSON[_0x5869eb(0x112)](_0x336f8d)+')');}},exports['setAccessibilityCapabilities']=async _0x2351f8=>{const _0x2bc2c1=a34_0x21f1ee,_0x522887={};_0x522887['ERHZZ']='accessibilityOptions.wcagVersion',_0x522887[_0x2bc2c1(0xd1)]='accessibilityOptions.scannerProcessingTimeout',_0x522887[_0x2bc2c1(0xfe)]='accessibilityOptions.includeIssueType.bestPractice',_0x522887[_0x2bc2c1(0x10c)]='accessibilityOptions.includeIssueType.needsReview',_0x522887[_0x2bc2c1(0xeb)]=_0x2bc2c1(0xe7),_0x522887[_0x2bc2c1(0xf0)]=_0x2bc2c1(0x113);const _0x2a7e39=_0x522887;_0x2351f8[_0x2bc2c1(0xe9)]&&(_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0xca)]&&(_0x2351f8[_0x2a7e39['ERHZZ']]=_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0xca)]),_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x120)]&&(_0x2351f8[_0x2a7e39[_0x2bc2c1(0xd1)]]=_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x120)]),_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x126)]&&(_0x2351f8[_0x2a7e39['xuAlk']]=_0x2351f8[_0x2bc2c1(0xe9)]['includeIssueType'][_0x2bc2c1(0xcf)],_0x2351f8[_0x2a7e39['QFExR']]=_0x2351f8[_0x2bc2c1(0xe9)][_0x2bc2c1(0x126)][_0x2bc2c1(0x128)]));const _0x4f3611=JSON['parse'](process[_0x2bc2c1(0xc9)][_0x2bc2c1(0xed)])['scannerVersion'];_0x2351f8[_0x2a7e39[_0x2bc2c1(0xeb)]]=process[_0x2bc2c1(0xc9)][_0x2bc2c1(0xf7)],_0x2351f8[_0x2a7e39[_0x2bc2c1(0xf0)]]=_0x4f3611,delete _0x2351f8['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x2039d1=>{const _0x140091=a34_0x21f1ee,_0x3f14cc={};_0x3f14cc[_0x140091(0x107)]=_0x140091(0xc2),_0x3f14cc[_0x140091(0x125)]=_0x140091(0xe3);const _0x5c0bb1=_0x3f14cc;if(global[_0x140091(0xc1)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x2039d1,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x2039d1,scripts.getResults);return res;}catch{return logger['error'](_0x5c0bb1['iVhus']),[];}else return logger[_0x140091(0xc8)](_0x5c0bb1[_0x140091(0x125)]),[];},exports[a34_0x21f1ee(0x101)]=async(_0x49d12e,_0x40de3c='')=>{const _0x33a58=a34_0x21f1ee;if(global['accessibilityPlatform']){const _0x3aa6ec={};return _0x3aa6ec[_0x33a58(0x104)]=_0x40de3c,await exports['browserStackEvaluate'](_0x49d12e,scripts[_0x33a58(0x101)],_0x3aa6ec);}},exports[a34_0x21f1ee(0x105)]=async _0x5bc760=>{const _0x1ba294=a34_0x21f1ee,_0x69babd={};_0x69babd[_0x1ba294(0xef)]=_0x1ba294(0xd6),_0x69babd[_0x1ba294(0x121)]=_0x1ba294(0xe2);const _0xdcb8be=_0x69babd;if(global[_0x1ba294(0xc1)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5bc760,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x5bc760,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x1ba294(0x108)](_0xdcb8be[_0x1ba294(0xef)]),{};}else return logger[_0x1ba294(0xc8)](_0xdcb8be['vOLQc']),{};},exports[a34_0x21f1ee(0xd4)]=async _0x3d5012=>{const _0x45fe97=a34_0x21f1ee,_0x45082f={'OHtct':function(_0x2e9df6,_0x467281){return _0x2e9df6!==_0x467281;},'isJiv':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','KNFnv':function(_0x2b0bc0,_0x390f5c){return _0x2b0bc0===_0x390f5c;},'wkhaN':_0x45fe97(0xd9),'EulnV':'playwright-chromium','LsIkh':_0x45fe97(0xc3),'zAJWN':function(_0x2a1d72,_0x13ed62){return _0x2a1d72(_0x13ed62);},'AObvj':_0x45fe97(0xf5),'ZtzlZ':function(_0x9934bb,_0x3d7d05){return _0x9934bb>_0x3d7d05;},'OeMNf':_0x45fe97(0xdb)};try{if(!_0x45082f[_0x45fe97(0x111)](_0x3d5012[_0x45fe97(0xdf)],''))return logger[_0x45fe97(0xc8)](_0x45082f[_0x45fe97(0x11b)]),![];const _0x20d091=_0x3d5012[_0x45fe97(0xd2)];if(!(_0x45082f[_0x45fe97(0xfb)](_0x20d091,_0x45082f['wkhaN'])||_0x45082f[_0x45fe97(0xfb)](_0x20d091,_0x45082f[_0x45fe97(0xd7)])))return logger[_0x45fe97(0xc8)](_0x45082f[_0x45fe97(0x11c)]),![];const _0x5d91c3=_0x45082f[_0x45fe97(0xfd)](parseInt,_0x3d5012['browser_version']);if(!(_0x45082f[_0x45fe97(0xfb)](_0x5d91c3,_0x45082f[_0x45fe97(0x11a)])||_0x45082f['ZtzlZ'](_0x5d91c3,0x5e)))return logger[_0x45fe97(0xc8)](_0x45082f[_0x45fe97(0x117)]),![];}catch(_0x539dcb){logger[_0x45fe97(0x108)](_0x45fe97(0xf2)+util[_0x45fe97(0xd5)](_0x539dcb));}return!![];},exports[a34_0x21f1ee(0x122)]=(_0x4b011a,_0x41582e,_0x45ff79)=>{const _0x59b9db=a34_0x21f1ee,_0x45331c={'mqBXt':function(_0x4383aa){return _0x4383aa();},'nNlZz':_0x59b9db(0x11f),'mafkL':function(_0x406552,_0x4ab37){return _0x406552===_0x4ab37;},'MzCbu':_0x59b9db(0xd9),'FsehD':function(_0x51c8ba,_0x50aec5){return _0x51c8ba===_0x50aec5;},'oRFvN':_0x59b9db(0x10e),'kadQX':_0x59b9db(0xc3),'ijXtX':_0x59b9db(0xf5),'UrRWZ':function(_0xd47095,_0x39d5b0){return _0xd47095>_0x39d5b0;},'mcBmX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jpkQJ':function(_0x45fc49,_0x2a9bf0){return _0x45fc49(_0x2a9bf0);},'Bvlck':_0x59b9db(0x103),'vyXOw':function(_0x5367bd,_0x3a3160){return _0x5367bd+_0x3a3160;},'SBZlg':function(_0x8bdc73,_0x41243a){return _0x8bdc73(_0x41243a);}};try{if(_0x45331c[_0x59b9db(0x10a)](isAccessibilityAutomationSession)){global[_0x59b9db(0xc1)]=!![];!_0x4b011a[_0x45331c[_0x59b9db(0x12a)]]&&(global[_0x59b9db(0xc1)]=![]);!(_0x45331c[_0x59b9db(0xfa)](_0x4b011a[_0x59b9db(0xf1)],_0x45331c[_0x59b9db(0xc6)])||_0x45331c[_0x59b9db(0xf6)](_0x4b011a[_0x59b9db(0xf1)],_0x45331c[_0x59b9db(0x115)]))&&(logger[_0x59b9db(0xc8)](_0x45331c[_0x59b9db(0xe6)]),global['accessibilityPlatform']=![]);!(_0x45331c[_0x59b9db(0xf6)](_0x4b011a[_0x59b9db(0xde)],_0x45331c[_0x59b9db(0x118)])||_0x45331c['UrRWZ'](_0x4b011a['browser_version'],0x5e))&&(logger[_0x59b9db(0xc8)](_0x45331c['mcBmX']),global[_0x59b9db(0xc1)]=![]);!_0x45331c[_0x59b9db(0xe4)](isUndefined,_0x4b011a[_0x59b9db(0xdf)])&&(logger[_0x59b9db(0xc8)](_0x45331c[_0x59b9db(0x100)]),global[_0x59b9db(0xc1)]=![]);if(!global['accessibilityPlatform']){_0x4b011a[_0x45331c[_0x59b9db(0x12a)]]=![];const _0x5bca0a=_0x45331c['vyXOw'](_0x41582e,_0x45331c['SBZlg'](encodeURIComponent,JSON['stringify'](_0x4b011a)));_0x45ff79&&(_0x45ff79[_0x59b9db(0x10d)][_0x59b9db(0x11e)]['project'][_0x59b9db(0xee)]['connectOptions'][_0x59b9db(0xf9)]=_0x5bca0a,_0x45ff79['workerInfo'][_0x59b9db(0xe5)][_0x59b9db(0xee)]['connectOptions'][_0x59b9db(0xf9)]=_0x5bca0a);}}}catch(_0x1f9dee){logger[_0x59b9db(0x108)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x59b9db(0xd5)](_0x1f9dee));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x3d5d(_0x87f29d,_0x4f11d7){const _0x88eb73=a35_0x88eb();return a35_0x3d5d=function(_0x3d5d70,_0x506a77){_0x3d5d70=_0x3d5d70-0x10d;let _0x4dfa56=_0x88eb73[_0x3d5d70];return _0x4dfa56;},a35_0x3d5d(_0x87f29d,_0x4f11d7);}const a35_0x330c14=a35_0x3d5d;(function(_0x96981d,_0x549b8c){const _0x27ccb9=a35_0x3d5d,_0x1262ab=_0x96981d();while(!![]){try{const _0x533ac1=parseInt(_0x27ccb9(0x166))/0x1*(-parseInt(_0x27ccb9(0x137))/0x2)+-parseInt(_0x27ccb9(0x132))/0x3+-parseInt(_0x27ccb9(0x18e))/0x4+-parseInt(_0x27ccb9(0x116))/0x5*(parseInt(_0x27ccb9(0x18b))/0x6)+parseInt(_0x27ccb9(0x170))/0x7+parseInt(_0x27ccb9(0x1af))/0x8+parseInt(_0x27ccb9(0x163))/0x9;if(_0x533ac1===_0x549b8c)break;else _0x1262ab['push'](_0x1262ab['shift']());}catch(_0x16ba4d){_0x1262ab['push'](_0x1262ab['shift']());}}}(a35_0x88eb,0x71df3));const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x330c14(0x157)),{format}=require(a35_0x330c14(0x1b3)),logger=require(a35_0x330c14(0x15f))[a35_0x330c14(0x140)],{default:BrowserStackSetup}=require(a35_0x330c14(0x1a3)),helper=require(a35_0x330c14(0x14d)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x330c14(0x151)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x330c14(0x1a0)),{CrashReporter}=require(a35_0x330c14(0x194)),{getFrameworkVersion}=require(a35_0x330c14(0x18f)),{checkAccessibilityPlatformConfig}=require(a35_0x330c14(0x18c)),{setAccessibilityCapabilities}=require(a35_0x330c14(0x1a2)),TestHubHandler=require(a35_0x330c14(0x138)),{shouldProcessEventForTesthub}=require(a35_0x330c14(0x13d)),getUserPlaywrightConfig=async(_0x3d154c,_0x3c8572)=>{const _0x492b11=a35_0x330c14,_0x287106={'emBDy':function(_0x409765){return _0x409765();},'WYhpY':function(_0x20c5b5,_0x2ddd16){return _0x20c5b5(_0x2ddd16);},'sLuJu':function(_0xe02d39,_0x596f50){return _0xe02d39(_0x596f50);},'BGzMT':_0x492b11(0x133),'wCcpK':_0x492b11(0x143)},_0x2192c2=!helper['isUndefined'](_0x3d154c[_0x492b11(0x12e)]),_0x1157f3=_0x2192c2?path[_0x492b11(0x136)](process[_0x492b11(0x174)](),_0x3d154c[_0x492b11(0x12e)]):process[_0x492b11(0x174)](),{resolveConfigFile:_0x33bef8,resolveConfigLocation:_0x56b37d}=helper[_0x492b11(0x16e)][_0x492b11(0x12c)](null,_0x287106[_0x492b11(0x150)](getConfigLoaderPath)),_0x89d9ec=_0x33bef8?_0x287106[_0x492b11(0x17a)](_0x33bef8,_0x1157f3):helper[_0x492b11(0x162)](_0x287106[_0x492b11(0x122)](_0x56b37d,_0x1157f3),[_0x287106[_0x492b11(0x13f)]]),_0x375d8d={};if(_0x2192c2){const _0x294fde=_0x3c8572[_0x492b11(0x15c)](_0x17c20a=>_0x17c20a===_0x492b11(0x11f)||_0x17c20a==='-c'||_0x17c20a[_0x492b11(0x12b)](_0x492b11(0x143)));_0x3c8572[_0x492b11(0x1a9)](_0x294fde,_0x3c8572[_0x294fde][_0x492b11(0x12b)](_0x287106[_0x492b11(0x14e)])?0x1:0x2);}const _0x346598={};return _0x346598[_0x492b11(0x188)]=_0x89d9ec,_0x346598['config']=_0x375d8d,_0x346598;},handleO11yRerun=_0x405317=>{const _0x5742bd=a35_0x330c14,_0x275829={};_0x275829[_0x5742bd(0x15d)]=function(_0xa55f08,_0xd4e0ee){return _0xa55f08!==_0xd4e0ee;},_0x275829['DgYjw']=_0x5742bd(0x197),_0x275829[_0x5742bd(0x160)]='--grep';const _0x55a378=_0x275829,_0x4c1add=helper[_0x5742bd(0x17f)](process[_0x5742bd(0x16c)][_0x5742bd(0x173)]);if(_0x4c1add){const _0xa64796=process['env'][_0x5742bd(0x1b0)],_0x57f2a4=[];if(_0x55a378[_0x5742bd(0x15d)](_0xa64796,_0x55a378[_0x5742bd(0x15e)])&&!helper['isUndefined'](_0xa64796)){_0xa64796[_0x5742bd(0x10d)](',')[_0x5742bd(0x155)](_0x3f98db=>{const _0x5c3d36=_0x5742bd;_0x57f2a4[_0x5c3d36(0x180)]('('+_0x3f98db['trim']()+')');});const _0x33b55c='^'+_0x57f2a4[_0x5742bd(0x193)]('|')+'$';_0x405317['push'](_0x55a378['Dkbdr'],_0x33b55c);}}},spawnOriginalProcess=_0x2e38d0=>{const _0x42afa6=a35_0x330c14,_0x916ebc={'MmnwV':function(_0x17c777,_0xe3aff8,_0x5de025,_0x42484b){return _0x17c777(_0xe3aff8,_0x5de025,_0x42484b);},'pEsTf':_0x42afa6(0x152),'GMMfN':_0x42afa6(0x18d),'EoJfO':function(_0x4bfe8c,_0xea0f5e){return _0x4bfe8c===_0xea0f5e;},'rCflT':_0x42afa6(0x127),'nOcYq':_0x42afa6(0x190)};_0x916ebc['MmnwV'](spawn,_0x916ebc[_0x42afa6(0x16d)],[_0x916ebc['GMMfN'],..._0x2e38d0[_0x42afa6(0x19b)](0x1)],{'shell':_0x916ebc[_0x42afa6(0x19d)](process[_0x42afa6(0x1a8)],_0x916ebc['rCflT']),'stdio':_0x916ebc[_0x42afa6(0x118)],'cwd':process[_0x42afa6(0x174)]()});},isTestCommand=(_0x1d1dd4,_0x27a26d)=>{const _0x18bfc8=a35_0x330c14,_0x1790da={};_0x1790da['ViMrC']=function(_0x3e7b6e,_0x28b38f){return _0x3e7b6e>_0x28b38f;},_0x1790da[_0x18bfc8(0x158)]=function(_0x3a4987,_0x5563f7){return _0x3a4987===_0x5563f7;},_0x1790da[_0x18bfc8(0x177)]=_0x18bfc8(0x1ad);const _0x471665=_0x1790da;if(_0x471665[_0x18bfc8(0x195)](_0x27a26d[_0x18bfc8(0x15b)],0x1)&&_0x471665[_0x18bfc8(0x158)](_0x27a26d[0x1],_0x471665['IjfWp']))return!![];return![];};async function run(_0x3666e3,_0x2ac19a){const _0x4fffdf=a35_0x330c14,_0xfefdb={'BypjY':_0x4fffdf(0x146),'zKBjr':_0x4fffdf(0x14c),'qWbFu':function(_0xfdc5c1,_0xa98593){return _0xfdc5c1+_0xa98593;},'IaBNP':_0x4fffdf(0x135),'jbhFP':_0x4fffdf(0x168),'HDtoJ':function(_0x4a89c1){return _0x4a89c1();},'EaDaV':'Error\x20in\x20closing\x20playwright','dVTBD':_0x4fffdf(0x184),'GuqoO':'false','YnoZW':'--disable-test-observability','dghFC':function(_0x30190b,_0x5a6f3f){return _0x30190b>=_0x5a6f3f;},'lsEyk':function(_0x18325c,_0x3fceaa){return _0x18325c+_0x3fceaa;},'eUILE':_0x4fffdf(0x178),'oCpVs':function(_0x253f01,_0x8eeac1,_0x5c330e){return _0x253f01(_0x8eeac1,_0x5c330e);},'Gpmrn':function(_0x48a0b8,_0x1d753a){return _0x48a0b8(_0x1d753a);},'ikpKw':_0x4fffdf(0x19f),'hOKyd':_0x4fffdf(0x142),'ZMNND':function(_0x279adb,_0x800f1){return _0x279adb!=_0x800f1;},'WErkV':function(_0x5eb339,_0x126e9a,_0x4a04d8){return _0x5eb339(_0x126e9a,_0x4a04d8);},'oiBqn':function(_0x297448,_0x48d219){return _0x297448(_0x48d219);},'jqLmP':function(_0x49f761,_0xc2d72f){return _0x49f761===_0xc2d72f;},'lPcNX':_0x4fffdf(0x124),'jQuop':function(_0x224f80,_0x54f64f){return _0x224f80(_0x54f64f);},'pxFLK':_0x4fffdf(0x119),'TRmBg':function(_0x19b0c3,_0x3b0d0c){return _0x19b0c3===_0x3b0d0c;},'UuOPc':_0x4fffdf(0x171),'AYmMp':_0x4fffdf(0x14a),'vncRH':function(_0x488492,_0x22e970){return _0x488492-_0x22e970;},'aDRfF':_0x4fffdf(0x191),'ZUsgc':function(_0x155a97,_0x4b1387){return _0x155a97>_0x4b1387;},'czjoM':function(_0x3750e1,_0x1c84dc){return _0x3750e1+_0x1c84dc;},'VjjCo':function(_0xe15d02,_0x2132dd,_0x35a736,_0x4efc3b){return _0xe15d02(_0x2132dd,_0x35a736,_0x4efc3b);},'iypgI':'npx','AuZme':_0x4fffdf(0x18d),'YVutT':_0x4fffdf(0x1ad),'fGQfq':_0x4fffdf(0x11f),'ZvUWk':function(_0x5749f9,_0x4c9e69){return _0x5749f9===_0x4c9e69;},'fxwAp':_0x4fffdf(0x127),'tCfUQ':_0x4fffdf(0x190),'CIZqD':_0x4fffdf(0x1ae)};!helper[_0x4fffdf(0x111)](process[_0x4fffdf(0x16c)][_0x4fffdf(0x125)])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x4fffdf(0x16b)](_0xfefdb[_0x4fffdf(0x16f)])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_AUTOMATION']=_0xfefdb['GuqoO'],_0x2ac19a=_0x2ac19a[_0x4fffdf(0x1aa)](_0xbc260a=>_0xbc260a!==_0x4fffdf(0x184)));const _0xdaa8b8=_0x2ac19a[_0x4fffdf(0x134)](_0xfefdb['YnoZW']);_0xfefdb[_0x4fffdf(0x17c)](_0xdaa8b8,0x0)&&(process[_0x4fffdf(0x16c)][_0x4fffdf(0x12a)]=_0xfefdb[_0x4fffdf(0x182)],_0x2ac19a=_0x2ac19a['filter'](_0x159b85=>_0x159b85!==_0x4fffdf(0x120)));try{const _0xd20abe=path['join'](helper['homedir'](),_0xfefdb[_0x4fffdf(0x129)],_0xfefdb[_0x4fffdf(0x147)]);fs[_0x4fffdf(0x11d)](_0xd20abe)&&fs[_0x4fffdf(0x126)](_0xd20abe);}catch(_0x49ba9e){logger[_0x4fffdf(0x1b1)](_0xfefdb[_0x4fffdf(0x11b)](_0xfefdb[_0x4fffdf(0x192)],_0x49ba9e));}if(!_0xfefdb[_0x4fffdf(0x14f)](isTestCommand,_0x3666e3,_0x2ac19a)){_0xfefdb[_0x4fffdf(0x164)](spawnOriginalProcess,_0x2ac19a);return;}const _0x505709=new BrowserStackSetup(_0x3666e3,FRAMEWORKS['PLAYWRIGHT']);if(!_0x505709[_0x4fffdf(0x12e)]){logger[_0x4fffdf(0x199)](_0xfefdb[_0x4fffdf(0x10f)]);return;}await _0x505709[_0x4fffdf(0x156)]();!helper[_0x4fffdf(0x145)](_0x505709['cliConfig'])&&_0x505709['cliConfig'][_0x4fffdf(0x189)](_0xfefdb[_0x4fffdf(0x183)])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_AUTOMATION']=_0x505709[_0x4fffdf(0x121)][_0x4fffdf(0x176)](_0xfefdb[_0x4fffdf(0x183)])||!![]);_0xfefdb['ZMNND'](_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x13c)],null)&&!helper[_0x4fffdf(0x17f)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env'][_0x4fffdf(0x12a)]||_0x505709[_0x4fffdf(0x12e)]['testObservability']);const _0x336db2=!helper[_0x4fffdf(0x111)](process[_0x4fffdf(0x16c)][_0x4fffdf(0x12a)]);let _0x1d8dba=![];_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x196)]&&(_0x1d8dba=!![],process[_0x4fffdf(0x16c)][_0x4fffdf(0x175)]=_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x196)]);_0x505709['config'][_0x4fffdf(0x159)]&&(process[_0x4fffdf(0x16c)][_0x4fffdf(0x169)]=JSON[_0x4fffdf(0x13b)](_0x505709['config'][_0x4fffdf(0x159)]));const _0x4340ba=_0x2ac19a[_0x4fffdf(0x130)](),_0x175d42=await _0xfefdb['WErkV'](getUserPlaywrightConfig,_0x3666e3,_0x2ac19a);if(helper[_0x4fffdf(0x145)](_0x175d42)){_0xfefdb[_0x4fffdf(0x164)](spawnOriginalProcess,_0x4340ba);return;}const _0x24b276=_0x175d42['path']?path['dirname'](_0x175d42[_0x4fffdf(0x188)]):process['cwd']();process[_0x4fffdf(0x16c)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x24b276,await TestHubHandler[_0x4fffdf(0x1a6)](FRAMEWORKS[_0x4fffdf(0x153)],_0x505709);_0x336db2&&_0xfefdb[_0x4fffdf(0x16a)](handleO11yRerun,_0x2ac19a);let _0x24d6a2=_0xfefdb[_0x4fffdf(0x1a5)](process[_0x4fffdf(0x16c)][_0x4fffdf(0x175)],_0xfefdb[_0x4fffdf(0x149)]);_0x24d6a2=_0x24d6a2||_0xfefdb[_0x4fffdf(0x1ab)](checkAccessibilityPlatformConfig,_0x505709['config']),process[_0x4fffdf(0x16c)][_0x4fffdf(0x175)]=_0x24d6a2;_0x24d6a2&&_0xfefdb[_0x4fffdf(0x1ab)](setAccessibilityCapabilities,_0x505709[_0x4fffdf(0x12e)]);const _0x1020a3=path['join'](_0x175d42[_0x4fffdf(0x188)]?path[_0x4fffdf(0x114)](_0x175d42[_0x4fffdf(0x188)]):process[_0x4fffdf(0x174)](),_0xfefdb[_0x4fffdf(0x17d)]);fs[_0x4fffdf(0x167)](_0x1020a3,helper[_0x4fffdf(0x1b4)](_0x505709[_0x4fffdf(0x12e)])),process['env'][_0x4fffdf(0x19a)]=_0x1020a3,helper[_0x4fffdf(0x165)]();let _0x74ada0='';_0xfefdb[_0x4fffdf(0x161)](helper[_0x4fffdf(0x172)](),constants[_0x4fffdf(0x11a)][_0x4fffdf(0x186)])?_0x74ada0=_0xfefdb[_0x4fffdf(0x13a)]:_0x74ada0=_0xfefdb['AYmMp'];let _0x4c45d2='';if(helper[_0x4fffdf(0x19c)](_0x175d42['path'])){_0x4c45d2='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x64855a=_0x74ada0[_0x4fffdf(0x10d)]('.');_0x64855a[_0xfefdb[_0x4fffdf(0x1b2)](_0x64855a[_0x4fffdf(0x15b)],0x1)]='ts',_0x74ada0=_0x64855a['join']('.'),logger[_0x4fffdf(0x1b1)](_0xfefdb[_0x4fffdf(0x12f)](_0xfefdb[_0x4fffdf(0x185)],_0x74ada0));}else _0x4c45d2=_0x4fffdf(0x1a1);const _0x3ac760=path['join'](_0x175d42['path']?path['dirname'](_0x175d42[_0x4fffdf(0x188)]):process[_0x4fffdf(0x174)](),_0x74ada0);let _0x47d1e2=_0x175d42[_0x4fffdf(0x188)]?_0x175d42[_0x4fffdf(0x188)]:'';_0x47d1e2=_0xfefdb[_0x4fffdf(0x12d)](_0x47d1e2['length'],0x0)?path[_0x4fffdf(0x136)](_0x47d1e2):'',process[_0x4fffdf(0x16c)]['USER_CONFIG_DETAILS_PATH']=_0x47d1e2;const _0x3bc3b8=helper['getProxyUrl'](_0x505709[_0x4fffdf(0x12e)]);_0x3bc3b8&&(_0x4c45d2=_0xfefdb[_0x4fffdf(0x11c)](_0x4fffdf(0x19e)+_0x3bc3b8+_0x4fffdf(0x11e),_0x4c45d2));helper[_0x4fffdf(0x123)]({},_0x2ac19a),fs[_0x4fffdf(0x167)](_0x3ac760,_0x4c45d2),helper['markSDKSetupComplete']();const _0x4f2f0b=_0xfefdb[_0x4fffdf(0x154)](spawn,_0xfefdb[_0x4fffdf(0x1ac)],[_0xfefdb[_0x4fffdf(0x115)],_0xfefdb[_0x4fffdf(0x1a7)],_0xfefdb[_0x4fffdf(0x131)],_0x3ac760,..._0x2ac19a['slice'](0x2)],{'shell':_0xfefdb[_0x4fffdf(0x187)](process[_0x4fffdf(0x1a8)],_0xfefdb[_0x4fffdf(0x181)]),'stdio':_0xfefdb['tCfUQ'],'cwd':process[_0x4fffdf(0x174)](),'env':Object[_0x4fffdf(0x110)]({},process[_0x4fffdf(0x16c)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4fffdf(0x148)](_0x3666e3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x505709[_0x4fffdf(0x12e)]['testContextOptions'][_0x4fffdf(0x179)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x14b)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x505709['config'][_0x4fffdf(0x13e)]})}),_0x3b5da4=()=>{const _0xcf5032=_0x4fffdf;try{const _0x27f036=path['join'](helper[_0xcf5032(0x128)](),_0xfefdb[_0xcf5032(0x129)],_0xfefdb[_0xcf5032(0x147)]);if(fs[_0xcf5032(0x11d)](_0x27f036)){let _0x3861fa=fs['readFileSync'](_0x27f036);_0x3861fa=JSON[_0xcf5032(0x112)](_0x3861fa),_0x505709[_0xcf5032(0x141)]=_0x3861fa,fs['unlinkSync'](_0x27f036);}}catch(_0x5d6328){logger[_0xcf5032(0x1b1)](_0xfefdb[_0xcf5032(0x12f)](_0xfefdb['IaBNP'],_0x5d6328));}};_0x4f2f0b['on'](_0xfefdb[_0x4fffdf(0x144)],async _0x392673=>{const _0x5368a6=_0x4fffdf;try{const _0x26b0d5=_0xfefdb[_0x5368a6(0x198)][_0x5368a6(0x10d)]('|');let _0x51f2b9=0x0;while(!![]){switch(_0x26b0d5[_0x51f2b9++]){case'0':await utilities[_0x5368a6(0x10e)](_0x505709);continue;case'1':process[_0x5368a6(0x18a)]=_0x392673;continue;case'2':logger[_0x5368a6(0x1b1)](_0x5368a6(0x17b)+_0x392673);continue;case'3':await TestHubHandler[_0x5368a6(0x1a4)]();continue;case'4':logger['debug'](_0x5368a6(0x113)+_0x1020a3);continue;case'5':_0xfefdb[_0x5368a6(0x117)](_0x3b5da4);continue;case'6':logger[_0x5368a6(0x17e)](_0x5368a6(0x113)+_0x3ac760);continue;case'7':fs[_0x5368a6(0x126)](_0x1020a3);continue;case'8':fs[_0x5368a6(0x126)](_0x3ac760);continue;}break;}}catch(_0x2845d0){logger['debug'](_0xfefdb[_0x5368a6(0x12f)](_0xfefdb[_0x5368a6(0x15a)],_0x2845d0));}});}module[a35_0x330c14(0x139)]=run;function a35_0x88eb(){const _0x536b4c=['2361640MmRECW','BROWSERSTACK_RERUN_TESTS','debug','vncRH','util','serializeToYamlString','split','finalExecution','ikpKw','assign','isFalse','parse','Deleting\x20','dirname','AuZme','50WmWIGd','HDtoJ','nOcYq','browserstackSetupConfig.json','PACKAGE_TYPE','lsEyk','czjoM','existsSync','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','--config','--disable-test-observability','cliConfig','sLuJu','filterBrowserstackArgs','true','BROWSERSTACK_AUTOMATION','unlinkSync','win32','homedir','BypjY','BROWSERSTACK_TEST_OBSERVABILITY','startsWith','apply','ZUsgc','config','qWbFu','concat','fGQfq','192060vmIfka','resolvedConfigFile','indexOf','Error\x20in\x20getting\x20funnel\x20data\x20results','resolve','2wvBaHh','../../helpers/testhub/testhubHandler','exports','UuOPc','stringify','testObservability','../../helpers/testhub/utils','logLevel','BGzMT','winstonLogger','errorMessage','automation','--config=','CIZqD','isUndefined','.browserstack','zKBjr','getConfigPath','lPcNX','playwright-browserstack-sdk.config.js','testContextOptions','pw_result.json','../../helpers/helper','wCcpK','oCpVs','emBDy','../../helpers/test-observability/constants','npx','PLAYWRIGHT','VjjCo','map','initialize','child_process','zFifd','accessibilityOptions','EaDaV','length','findIndex','BiiiG','DgYjw','../../helpers/logger','Dkbdr','TRmBg','nestedKeyValue','10080720ZwMkPx','Gpmrn','clearTempPWConfig','573571kvEIZC','writeFileSync','5|3|0|1|2|6|8|4|7','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','oiBqn','includes','env','pEsTf','requirePWModule','dVTBD','3636773YhOwND','playwright-browserstack-sdk.config.cjs','getPackageType','BROWSERSTACK_RERUN','cwd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','get','IjfWp','Error\x20in\x20deleting\x20playwright\x20results','skipSessionStatus','WYhpY','Playwright\x20process\x20exited\x20with\x20code\x20','dghFC','pxFLK','info','isTrue','push','fxwAp','GuqoO','hOKyd','--disable-browserstack-automation','aDRfF','MODULE','ZvUWk','path','has','exitCode','108714PHbEdk','../../helpers/accessibility-automation/helper','playwright','2598496fMUFyR','../../helpers/test-observability/utils','inherit','Updated\x20config\x20file\x20name\x20to\x20-\x20','eUILE','join','../../helpers/test-observability/error-handler','ViMrC','accessibility','null','jbhFP','error','BROWSERSTACK_SETUP_CONFIG_PATH','slice','isTypescriptProject','EoJfO','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BrowserStack\x20config\x20file\x20not\x20found.','./reporter/pwUtils','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','./accessibility-helper','../../helpers/BrowserStackSetup','stop','jqLmP','launchBuild','YVutT','platform','splice','filter','jQuop','iypgI','test','close'];a35_0x88eb=function(){return _0x536b4c;};return a35_0x88eb();}
2
+ 'use strict';const a35_0x267440=a35_0x2c7e;function a35_0x3165(){const _0x2eea48=['nestedKeyValue','ocwXe','rKkId','testContextOptions','3869296MtHlAL','xpDHC','get','BROWSERSTACK_RERUN_TESTS','TpSig','EevET','dgnYN','env','cwd','requirePWModule','length','vjgFb','parse','browserstackSetupConfig.json','map','AUMNE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gfScl','hUOXk','LwYxO','CKbfM','10568776cInMFF','../../helpers/test-observability/utils','618IesKRR','getProxyUrl','inherit','splice','RIVoF','UFQXX','playwright-browserstack-sdk.config.cjs','1143618ZMkjNu','isTypescriptProject','rVIQu','resolvedConfigFile','../../helpers/testhub/testhubHandler','Deleting\x20','yfEhd','2901UsVJOr','../../helpers/helper','BROWSERSTACK_SETUP_CONFIG_PATH','PACKAGE_TYPE','concat','Error\x20in\x20deleting\x20playwright\x20results','errorMessage','mreEp','54477891knNKRo','PLAYWRIGHT','ulCBY','unlinkSync','3|6|8|5|1|2|0|7|4','./accessibility-helper','trim','8771815rfmvYU','platform','has','SEUFK','.browserstack','homedir','debug','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','qOHja','BnQBT','false','exitCode','../../helpers/testhub/utils','markSDKSetupComplete','config','BROWSERSTACK_TEST_OBSERVABILITY','indexOf','BrowserStack\x20config\x20file\x20not\x20found.','../utils/constants','qquRU','initialize','MFZBy','playwright','null','test','../../helpers/test-observability/constants','../../helpers/logger','pw_result.json','KVJtk','argv','startsWith','VNONg','./reporter/pwUtils','win32','exports','Error\x20in\x20closing\x20playwright','apply','Mlnew','testObservability','assign','idUvt','skipSessionName','path','join','../../helpers/test-observability/error-handler','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_AUTOMATION','--disable-browserstack-automation','rNQof','--config','winstonLogger','BwvFe','push','existsSync','serializeToYamlString','vWEss','swNJw','filter','slice','ylLcD','oKdjr','XQVPt','SZEcm','error','resolve','isTrue','vUKvb','STPzm','includes','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','clearTempPWConfig','BROWSERSTACK_PW_CONFIG_DIR','WGKpb','npx','jUfYw','35YAcark','automation','accessibility','XCHPE','dirname','writeFileSync','3547722VNDYYJ','filterBrowserstackArgs','cliConfig','util','isFalse','uwOhP','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','findIndex','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','SiWbh','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','readFileSync','rtMsB','fsBlv','close','isUndefined'];a35_0x3165=function(){return _0x2eea48;};return a35_0x3165();}(function(_0x360733,_0x2bec0d){const _0x5e6c2f=a35_0x2c7e,_0x2eb187=_0x360733();while(!![]){try{const _0x156ba6=parseInt(_0x5e6c2f(0x1e4))/0x1*(-parseInt(_0x5e6c2f(0x1d6))/0x2)+-parseInt(_0x5e6c2f(0x244))/0x3+-parseInt(_0x5e6c2f(0x1bf))/0x4+-parseInt(_0x5e6c2f(0x1f3))/0x5+-parseInt(_0x5e6c2f(0x1dd))/0x6*(-parseInt(_0x5e6c2f(0x23e))/0x7)+-parseInt(_0x5e6c2f(0x1d4))/0x8+parseInt(_0x5e6c2f(0x1ec))/0x9;if(_0x156ba6===_0x2bec0d)break;else _0x2eb187['push'](_0x2eb187['shift']());}catch(_0x3e0c23){_0x2eb187['push'](_0x2eb187['shift']());}}}(a35_0x3165,0xd7e7b));function a35_0x2c7e(_0x5a07ec,_0x3747ee){const _0x3165a1=a35_0x3165();return a35_0x2c7e=function(_0x2c7e48,_0x278d48){_0x2c7e48=_0x2c7e48-0x1b7;let _0x3cc66c=_0x3165a1[_0x2c7e48];return _0x3cc66c;},a35_0x2c7e(_0x5a07ec,_0x3747ee);}const fs=require('fs'),path=require(a35_0x267440(0x21d)),{spawn}=require('child_process'),{format}=require(a35_0x267440(0x247)),logger=require(a35_0x267440(0x20d))[a35_0x267440(0x225)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x267440(0x1e5)),utilities=require('../../helpers/utilities'),constants=require(a35_0x267440(0x205)),{FRAMEWORKS}=require(a35_0x267440(0x20c)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x267440(0x213)),{CrashReporter}=require(a35_0x267440(0x21f)),{getFrameworkVersion}=require(a35_0x267440(0x1d5)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a35_0x267440(0x1f1)),TestHubHandler=require(a35_0x267440(0x1e1)),{shouldProcessEventForTesthub}=require(a35_0x267440(0x1ff)),getUserPlaywrightConfig=async(_0x358197,_0x19ba85)=>{const _0x6ee75d=a35_0x267440,_0x33a8e4={'EevET':function(_0x528f66){return _0x528f66();},'XCHPE':function(_0x391d68,_0x2928e2){return _0x391d68(_0x2928e2);},'SiWbh':_0x6ee75d(0x1e0),'rNQof':'--config='},_0x3eecc4=!helper[_0x6ee75d(0x1ba)](_0x358197['config']),_0x31895d=_0x3eecc4?path[_0x6ee75d(0x233)](process[_0x6ee75d(0x1c7)](),_0x358197['config']):process[_0x6ee75d(0x1c7)](),{resolveConfigFile:_0x487a22,resolveConfigLocation:_0x45e204}=helper[_0x6ee75d(0x1c8)][_0x6ee75d(0x217)](null,_0x33a8e4[_0x6ee75d(0x1c4)](getConfigLoaderPath)),_0x22382e=_0x487a22?_0x33a8e4[_0x6ee75d(0x241)](_0x487a22,_0x31895d):helper[_0x6ee75d(0x1bb)](_0x33a8e4[_0x6ee75d(0x241)](_0x45e204,_0x31895d),[_0x33a8e4[_0x6ee75d(0x24d)]]),_0x1616cf={};if(_0x3eecc4){const _0x3ab011=_0x19ba85[_0x6ee75d(0x24b)](_0x56963a=>_0x56963a===_0x6ee75d(0x224)||_0x56963a==='-c'||_0x56963a[_0x6ee75d(0x211)]('--config='));_0x19ba85[_0x6ee75d(0x1d9)](_0x3ab011,_0x19ba85[_0x3ab011][_0x6ee75d(0x211)](_0x33a8e4[_0x6ee75d(0x223)])?0x1:0x2);}const _0x45a203={};return _0x45a203['path']=_0x22382e,_0x45a203[_0x6ee75d(0x201)]=_0x1616cf,_0x45a203;},handleO11yRerun=_0x386d04=>{const _0x37d2ec=a35_0x267440,_0xa9370a={};_0xa9370a[_0x37d2ec(0x1bc)]=function(_0x21c5d6,_0x252900){return _0x21c5d6!==_0x252900;},_0xa9370a[_0x37d2ec(0x1d3)]=_0x37d2ec(0x20a),_0xa9370a[_0x37d2ec(0x230)]='--grep';const _0x410cda=_0xa9370a,_0x50a96e=helper[_0x37d2ec(0x234)](process[_0x37d2ec(0x1c6)]['BROWSERSTACK_RERUN']);if(_0x50a96e){const _0x3bd798=process['env'][_0x37d2ec(0x1c2)],_0x46a2d7=[];if(_0x410cda[_0x37d2ec(0x1bc)](_0x3bd798,_0x410cda[_0x37d2ec(0x1d3)])&&!helper[_0x37d2ec(0x1ba)](_0x3bd798)){_0x3bd798['split'](',')[_0x37d2ec(0x1cd)](_0x77dc3a=>{const _0x198e1a=_0x37d2ec;_0x46a2d7[_0x198e1a(0x227)]('('+_0x77dc3a[_0x198e1a(0x1f2)]()+')');});const _0x298ba9='^'+_0x46a2d7[_0x37d2ec(0x21e)]('|')+'$';_0x386d04[_0x37d2ec(0x227)](_0x410cda['XQVPt'],_0x298ba9);}}},spawnOriginalProcess=_0x36d71c=>{const _0x59e576=a35_0x267440,_0x2aee84={'aAyUL':function(_0x2930ce,_0x1d17c7,_0x5cf2c9,_0x3a0b17){return _0x2930ce(_0x1d17c7,_0x5cf2c9,_0x3a0b17);},'mLpac':_0x59e576(0x23c),'iuRRU':_0x59e576(0x209),'mreEp':function(_0x4f62f7,_0x399299){return _0x4f62f7===_0x399299;},'Yvvit':_0x59e576(0x214),'RIVoF':_0x59e576(0x1d8)};_0x2aee84['aAyUL'](spawn,_0x2aee84['mLpac'],[_0x2aee84['iuRRU'],..._0x36d71c['slice'](0x1)],{'shell':_0x2aee84[_0x59e576(0x1eb)](process[_0x59e576(0x1f4)],_0x2aee84['Yvvit']),'stdio':_0x2aee84[_0x59e576(0x1da)],'cwd':process['cwd']()});},isTestCommand=(_0x1938e7,_0x2670e9)=>{const _0x285432=a35_0x267440,_0x39f922={};_0x39f922[_0x285432(0x1e3)]=function(_0x4a588e,_0x446d48){return _0x4a588e>_0x446d48;},_0x39f922['UFQXX']=function(_0x3bfebd,_0x177a43){return _0x3bfebd===_0x177a43;},_0x39f922[_0x285432(0x236)]=_0x285432(0x20b);const _0x1757da=_0x39f922;if(_0x1757da['yfEhd'](_0x2670e9[_0x285432(0x1c9)],0x1)&&_0x1757da[_0x285432(0x1db)](_0x2670e9[0x1],_0x1757da[_0x285432(0x236)]))return!![];return![];};async function run(_0x169ea2,_0x4b749a){const _0x31d015=a35_0x267440,_0x174b02={'MFZBy':_0x31d015(0x1f7),'vjgFb':_0x31d015(0x20e),'hUOXk':function(_0x622601,_0x2f1fad){return _0x622601+_0x2f1fad;},'vUKvb':_0x31d015(0x24e),'rKkId':_0x31d015(0x1f0),'SZEcm':function(_0x109ed5){return _0x109ed5();},'SEUFK':function(_0x9496fd,_0x291cf3){return _0x9496fd+_0x291cf3;},'Mlnew':_0x31d015(0x216),'OgNgZ':_0x31d015(0x222),'vWEss':_0x31d015(0x1fd),'idUvt':'--disable-test-observability','BnQBT':function(_0x1e81df,_0x1ddd60){return _0x1e81df>=_0x1ddd60;},'fbDtT':function(_0x250f5d,_0x552191){return _0x250f5d+_0x552191;},'ylLcD':_0x31d015(0x1e9),'KVJtk':function(_0x344ba2,_0x432c71,_0x4467ce){return _0x344ba2(_0x432c71,_0x4467ce);},'qquRU':function(_0x5824ca,_0x15cd1b){return _0x5824ca(_0x15cd1b);},'BwvFe':_0x31d015(0x204),'jUfYw':_0x31d015(0x23f),'TpSig':function(_0x513be7,_0x2099b6){return _0x513be7!=_0x2099b6;},'ulCBY':function(_0x333822,_0x513249){return _0x333822(_0x513249);},'WGKpb':function(_0x32e0c3,_0x3c173d){return _0x32e0c3===_0x3c173d;},'VNONg':'true','AUMNE':function(_0x4d3449,_0x5074ac){return _0x4d3449(_0x5074ac);},'rVIQu':_0x31d015(0x1cc),'swNJw':_0x31d015(0x1dc),'uwOhP':'playwright-browserstack-sdk.config.js','oKdjr':function(_0x4479e2,_0x4234c9){return _0x4479e2-_0x4234c9;},'LwYxO':_0x31d015(0x220),'xpDHC':function(_0x3d0dd0,_0x530d0b){return _0x3d0dd0>_0x530d0b;},'dgnYN':function(_0x549461,_0x190fb2,_0x46fe2a,_0x2b11b8){return _0x549461(_0x190fb2,_0x46fe2a,_0x2b11b8);},'qOHja':_0x31d015(0x23c),'VCMKZ':_0x31d015(0x209),'gfScl':_0x31d015(0x20b),'WwbDY':_0x31d015(0x224),'YgKHq':'win32','rtMsB':_0x31d015(0x1d8),'fsBlv':_0x31d015(0x1b9)};!helper[_0x31d015(0x248)](process[_0x31d015(0x1c6)][_0x31d015(0x221)])&&(process[_0x31d015(0x1c6)][_0x31d015(0x221)]=!![]);process[_0x31d015(0x210)][_0x31d015(0x237)](_0x174b02['OgNgZ'])&&(process['env'][_0x31d015(0x221)]=_0x174b02['vWEss'],_0x4b749a=_0x4b749a[_0x31d015(0x22c)](_0x5b783f=>_0x5b783f!=='--disable-browserstack-automation'));const _0x3293fc=_0x4b749a[_0x31d015(0x203)](_0x174b02[_0x31d015(0x21b)]);_0x174b02[_0x31d015(0x1fc)](_0x3293fc,0x0)&&(process[_0x31d015(0x1c6)][_0x31d015(0x202)]=_0x174b02[_0x31d015(0x22a)],_0x4b749a=_0x4b749a[_0x31d015(0x22c)](_0x22f9ab=>_0x22f9ab!=='--disable-test-observability'));try{const _0x4f9a80=path['join'](helper[_0x31d015(0x1f8)](),_0x174b02[_0x31d015(0x208)],_0x174b02[_0x31d015(0x1ca)]);fs[_0x31d015(0x228)](_0x4f9a80)&&fs[_0x31d015(0x1ef)](_0x4f9a80);}catch(_0x4fa140){logger[_0x31d015(0x1f9)](_0x174b02['fbDtT'](_0x174b02[_0x31d015(0x22e)],_0x4fa140));}if(!_0x174b02[_0x31d015(0x20f)](isTestCommand,_0x169ea2,_0x4b749a)){_0x174b02[_0x31d015(0x206)](spawnOriginalProcess,_0x4b749a);return;}const _0x4b56a8=new BrowserStackSetup(_0x169ea2,FRAMEWORKS['PLAYWRIGHT']);if(!_0x4b56a8['config']){logger[_0x31d015(0x232)](_0x174b02[_0x31d015(0x226)]);return;}await _0x4b56a8[_0x31d015(0x207)]();!helper['isUndefined'](_0x4b56a8[_0x31d015(0x246)])&&_0x4b56a8[_0x31d015(0x246)][_0x31d015(0x1f5)](_0x174b02['jUfYw'])&&(process[_0x31d015(0x1c6)][_0x31d015(0x221)]=_0x4b56a8['cliConfig'][_0x31d015(0x1c1)](_0x174b02[_0x31d015(0x23d)])||!![]);_0x174b02[_0x31d015(0x1c3)](_0x4b56a8['config'][_0x31d015(0x219)],null)&&!helper['isTrue'](process[_0x31d015(0x1c6)][_0x31d015(0x202)])&&(process[_0x31d015(0x1c6)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x31d015(0x1c6)][_0x31d015(0x202)]||_0x4b56a8[_0x31d015(0x201)][_0x31d015(0x219)]);const _0x2a3fa0=!helper['isFalse'](process['env'][_0x31d015(0x202)]);let _0x58bab5=![];_0x4b56a8[_0x31d015(0x201)][_0x31d015(0x240)]&&(_0x58bab5=!![],process[_0x31d015(0x1c6)][_0x31d015(0x1cf)]=_0x4b56a8[_0x31d015(0x201)][_0x31d015(0x240)]);_0x4b56a8[_0x31d015(0x201)]['accessibilityOptions']&&(process[_0x31d015(0x1c6)][_0x31d015(0x24f)]=JSON['stringify'](_0x4b56a8[_0x31d015(0x201)]['accessibilityOptions']));const _0x1e9cde=_0x4b749a[_0x31d015(0x1e8)](),_0x4aa945=await _0x174b02['KVJtk'](getUserPlaywrightConfig,_0x169ea2,_0x4b749a);if(helper['isUndefined'](_0x4aa945)){_0x174b02[_0x31d015(0x206)](spawnOriginalProcess,_0x1e9cde);return;}const _0x23e09b=_0x4aa945['path']?path['dirname'](_0x4aa945[_0x31d015(0x21d)]):process[_0x31d015(0x1c7)]();process[_0x31d015(0x1c6)][_0x31d015(0x23a)]=_0x23e09b,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x31d015(0x1ed)],_0x4b56a8);_0x2a3fa0&&_0x174b02[_0x31d015(0x1ee)](handleO11yRerun,_0x4b749a);let _0x242806=_0x174b02[_0x31d015(0x23b)](process['env'][_0x31d015(0x1cf)],_0x174b02[_0x31d015(0x212)]);_0x242806=_0x242806||_0x174b02[_0x31d015(0x1ce)](checkAccessibilityPlatformConfig,_0x4b56a8[_0x31d015(0x201)]),process[_0x31d015(0x1c6)][_0x31d015(0x1cf)]=_0x242806;_0x242806&&_0x174b02[_0x31d015(0x1ce)](setAccessibilityCapabilities,_0x4b56a8[_0x31d015(0x201)]);const _0x2878e5=path[_0x31d015(0x21e)](_0x4aa945[_0x31d015(0x21d)]?path['dirname'](_0x4aa945[_0x31d015(0x21d)]):process[_0x31d015(0x1c7)](),_0x174b02[_0x31d015(0x1df)]);fs['writeFileSync'](_0x2878e5,helper[_0x31d015(0x229)](_0x4b56a8[_0x31d015(0x201)])),process['env'][_0x31d015(0x1e6)]=_0x2878e5,helper[_0x31d015(0x239)]();let _0x338e36='';_0x174b02[_0x31d015(0x23b)](helper['getPackageType'](),constants[_0x31d015(0x1e7)]['MODULE'])?_0x338e36=_0x174b02[_0x31d015(0x22b)]:_0x338e36=_0x174b02[_0x31d015(0x249)];let _0x3b166f='';if(helper[_0x31d015(0x1de)](_0x4aa945['path'])){_0x3b166f=_0x31d015(0x1fa);const _0x28683c=_0x338e36['split']('.');_0x28683c[_0x174b02[_0x31d015(0x22f)](_0x28683c[_0x31d015(0x1c9)],0x1)]='ts',_0x338e36=_0x28683c[_0x31d015(0x21e)]('.'),logger['debug'](_0x174b02['SEUFK'](_0x174b02[_0x31d015(0x1d2)],_0x338e36));}else _0x3b166f=_0x31d015(0x24a);const _0x196785=path[_0x31d015(0x21e)](_0x4aa945[_0x31d015(0x21d)]?path[_0x31d015(0x242)](_0x4aa945[_0x31d015(0x21d)]):process['cwd'](),_0x338e36);let _0x2f9c36=_0x4aa945[_0x31d015(0x21d)]?_0x4aa945[_0x31d015(0x21d)]:'';_0x2f9c36=_0x174b02[_0x31d015(0x1c0)](_0x2f9c36[_0x31d015(0x1c9)],0x0)?path['resolve'](_0x2f9c36):'',process[_0x31d015(0x1c6)]['USER_CONFIG_DETAILS_PATH']=_0x2f9c36;const _0x4d5e85=helper[_0x31d015(0x1d7)](_0x4b56a8[_0x31d015(0x201)]);_0x4d5e85&&(_0x3b166f=_0x174b02[_0x31d015(0x1f6)](_0x31d015(0x24c)+_0x4d5e85+_0x31d015(0x238),_0x3b166f));helper[_0x31d015(0x245)]({},_0x4b749a),fs[_0x31d015(0x243)](_0x196785,_0x3b166f),helper[_0x31d015(0x200)]();const _0xaf8d7=_0x174b02[_0x31d015(0x1c5)](spawn,_0x174b02[_0x31d015(0x1fb)],[_0x174b02['VCMKZ'],_0x174b02[_0x31d015(0x1d0)],_0x174b02['WwbDY'],_0x196785,..._0x4b749a[_0x31d015(0x22d)](0x2)],{'shell':_0x174b02['WGKpb'](process[_0x31d015(0x1f4)],_0x174b02['YgKHq']),'stdio':_0x174b02[_0x31d015(0x1b7)],'cwd':process[_0x31d015(0x1c7)](),'env':Object[_0x31d015(0x21a)]({},process[_0x31d015(0x1c6)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x169ea2),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4b56a8['config'][_0x31d015(0x1be)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4b56a8['config'][_0x31d015(0x1be)][_0x31d015(0x21c)],'BROWSERSTACK_LOG_LEVEL':_0x4b56a8[_0x31d015(0x201)]['logLevel']})}),_0xab9297=()=>{const _0x29840e=_0x31d015;try{const _0x49f313=path[_0x29840e(0x21e)](helper[_0x29840e(0x1f8)](),_0x174b02[_0x29840e(0x208)],_0x174b02[_0x29840e(0x1ca)]);if(fs[_0x29840e(0x228)](_0x49f313)){let _0x19534c=fs[_0x29840e(0x250)](_0x49f313);_0x19534c=JSON[_0x29840e(0x1cb)](_0x19534c),_0x4b56a8[_0x29840e(0x1ea)]=_0x19534c,fs[_0x29840e(0x1ef)](_0x49f313);}}catch(_0x562449){logger['debug'](_0x174b02[_0x29840e(0x1d1)](_0x174b02[_0x29840e(0x235)],_0x562449));}};_0xaf8d7['on'](_0x174b02[_0x31d015(0x1b8)],async _0x2de779=>{const _0x3f04cc=_0x31d015;try{const _0x596356=_0x174b02[_0x3f04cc(0x1bd)]['split']('|');let _0x536850=0x0;while(!![]){switch(_0x596356[_0x536850++]){case'0':fs[_0x3f04cc(0x1ef)](_0x196785);continue;case'1':logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x2de779);continue;case'2':logger['info'](_0x3f04cc(0x1e2)+_0x196785);continue;case'3':_0x174b02[_0x3f04cc(0x231)](_0xab9297);continue;case'4':fs[_0x3f04cc(0x1ef)](_0x2878e5);continue;case'5':process[_0x3f04cc(0x1fe)]=_0x2de779;continue;case'6':await TestHubHandler['stop']();continue;case'7':logger['debug'](_0x3f04cc(0x1e2)+_0x2878e5);continue;case'8':await utilities['finalExecution'](_0x4b56a8);continue;}break;}}catch(_0x1a967f){logger[_0x3f04cc(0x1f9)](_0x174b02[_0x3f04cc(0x1f6)](_0x174b02[_0x3f04cc(0x218)],_0x1a967f));}});}module[a35_0x267440(0x215)]=run;
@@ -1 +1 @@
1
- const a36_0x3e7e99=a36_0x49e9;(function(_0x216fd8,_0x43042d){const _0x3d5e6c=a36_0x49e9,_0x2611be=_0x216fd8();while(!![]){try{const _0x425eeb=parseInt(_0x3d5e6c(0x160))/0x1+parseInt(_0x3d5e6c(0x174))/0x2*(parseInt(_0x3d5e6c(0x180))/0x3)+parseInt(_0x3d5e6c(0x162))/0x4*(-parseInt(_0x3d5e6c(0x168))/0x5)+-parseInt(_0x3d5e6c(0x16e))/0x6*(parseInt(_0x3d5e6c(0x16f))/0x7)+-parseInt(_0x3d5e6c(0x15e))/0x8*(parseInt(_0x3d5e6c(0x171))/0x9)+-parseInt(_0x3d5e6c(0x172))/0xa*(parseInt(_0x3d5e6c(0x17c))/0xb)+parseInt(_0x3d5e6c(0x178))/0xc;if(_0x425eeb===_0x43042d)break;else _0x2611be['push'](_0x2611be['shift']());}catch(_0x223192){_0x2611be['push'](_0x2611be['shift']());}}}(a36_0x4d8c,0xdb0b4));function a36_0x49e9(_0x329446,_0x1b3dc0){const _0x4d8c46=a36_0x4d8c();return a36_0x49e9=function(_0x49e980,_0x1339e5){_0x49e980=_0x49e980-0x150;let _0x1b1f07=_0x4d8c46[_0x49e980];return _0x1b1f07;},a36_0x49e9(_0x329446,_0x1b3dc0);}const util=require(a36_0x3e7e99(0x164)),child_process=require(a36_0x3e7e99(0x169)),{FRAMEWORKS}=require(a36_0x3e7e99(0x154)),{getFrameworkVersion,debug}=require(a36_0x3e7e99(0x15a)),helper=require(a36_0x3e7e99(0x158)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x3e7e99(0x175)),{mockIsWorkerRedundant}=require(a36_0x3e7e99(0x17a)),logger=require(a36_0x3e7e99(0x179))[a36_0x3e7e99(0x156)];function a36_0x4d8c(){const _0x45eba0=['Path\x20','5FOaixv','child_process','BJEXw','./mock-process.js','jgyqX','1.33.0','42EPoRsz','852173jPAHgA','Call\x20to\x20child\x20fork\x20with\x20args\x20','597942HITUcw','10pCxANH','pqPNi','14ZodVcu','./reporter/pwUtils','ZjYEk','format','33270924FdGMuX','../../helpers/logger','./patches','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','18710461aNMrtc','includes','Not\x20able\x20to\x20import\x20globalSetup','apply','421098PNsxNY','fork','GBjkW','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','function','../../helpers/test-observability/constants','cEjxE','winstonLogger','requirePWModule','../../helpers/helper','PLAYWRIGHT','../../helpers/test-observability/utils','vMoXh','isHandlePWErrorSet','config','88lZjtjE','debug','1658738RgtKgd','env','4930924sXxpQQ','vZGlD','util','error','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'];a36_0x4d8c=function(){return _0x45eba0;};return a36_0x4d8c();}module['exports']=async function(_0xf04324){const _0x3f5e60=a36_0x3e7e99,_0x45d688={'pqPNi':function(_0x3e8d26,_0xea0c67){return _0x3e8d26(_0xea0c67);},'BJEXw':function(_0x450559){return _0x450559();},'fSTJn':_0x3f5e60(0x16b),'eyocT':'Running\x20existing\x20global\x20setup','jgyqX':function(_0x23cf4a){return _0x23cf4a();},'vZGlD':function(_0x4efaa5,_0x2e4311){return _0x4efaa5>=_0x2e4311;},'ZjYEk':_0x3f5e60(0x16d),'FqJBG':function(_0xe0da9a,_0x1a109c,_0x4dc20d){return _0xe0da9a(_0x1a109c,_0x4dc20d);},'cEjxE':function(_0x338b04,_0x56930c){return _0x338b04!==_0x56930c;},'VVgQY':_0x3f5e60(0x153),'GBjkW':_0x3f5e60(0x17e),'vMoXh':function(_0x348eca,_0x57d99e){return _0x348eca(_0x57d99e);}},_0x178e5a=child_process[_0x3f5e60(0x150)];if(helper[_0x3f5e60(0x15c)]())try{_0x45d688[_0x3f5e60(0x16a)](mockIsWorkerRedundant);}catch(_0x3ee53){logger[_0x3f5e60(0x15f)](_0x3f5e60(0x166)+util[_0x3f5e60(0x177)](_0x3ee53));}child_process[_0x3f5e60(0x150)]=function(){const _0x12472f=_0x3f5e60;return _0x45d688[_0x12472f(0x173)](debug,_0x12472f(0x170)+arguments[0x0]),arguments[0x0][_0x12472f(0x17d)](_0x45d688[_0x12472f(0x16a)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x45d688['fSTJn']):logger[_0x12472f(0x165)](_0x12472f(0x167)+_0x45d688[_0x12472f(0x16a)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x178e5a[_0x12472f(0x17f)](null,arguments);};if(process[_0x3f5e60(0x161)][_0x3f5e60(0x17b)]){_0x45d688['pqPNi'](debug,_0x45d688['eyocT']);try{const {loadGlobalHook:_0x180bd0}=helper[_0x3f5e60(0x157)][_0x3f5e60(0x17f)](null,_0x45d688[_0x3f5e60(0x16c)](getLoadUtilsPath)),_0x246947=_0x45d688[_0x3f5e60(0x173)](getFrameworkVersion,FRAMEWORKS[_0x3f5e60(0x159)]);let _0x3c6bfe=_0xf04324;if(_0x45d688[_0x3f5e60(0x163)](helper['compareVersions'](_0x246947,_0x45d688[_0x3f5e60(0x176)]),0x0)){const _0xb77e57={};_0xb77e57[_0x3f5e60(0x15d)]=_0xf04324,_0x3c6bfe=_0xb77e57;}const _0x5bf752=await _0x45d688['FqJBG'](_0x180bd0,_0x3c6bfe,process[_0x3f5e60(0x161)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x45d688[_0x3f5e60(0x155)](typeof _0x5bf752,_0x45d688['VVgQY']))throw new Error(_0x45d688[_0x3f5e60(0x151)]);return _0x5bf752[_0x3f5e60(0x17f)](null,arguments);}catch(_0xed87a1){_0x45d688[_0x3f5e60(0x15b)](debug,_0x3f5e60(0x152)+_0xed87a1['toString']());}}};
1
+ const a36_0x2c3606=a36_0x20b3;(function(_0x2b9776,_0x5ec988){const _0x580e53=a36_0x20b3,_0x4253a2=_0x2b9776();while(!![]){try{const _0x3ad563=parseInt(_0x580e53(0xf4))/0x1*(parseInt(_0x580e53(0xe7))/0x2)+-parseInt(_0x580e53(0xdc))/0x3*(-parseInt(_0x580e53(0xf7))/0x4)+-parseInt(_0x580e53(0xe2))/0x5+-parseInt(_0x580e53(0xd3))/0x6*(-parseInt(_0x580e53(0xd7))/0x7)+parseInt(_0x580e53(0xe3))/0x8*(-parseInt(_0x580e53(0xc4))/0x9)+-parseInt(_0x580e53(0xde))/0xa+-parseInt(_0x580e53(0xcb))/0xb;if(_0x3ad563===_0x5ec988)break;else _0x4253a2['push'](_0x4253a2['shift']());}catch(_0x3d2353){_0x4253a2['push'](_0x4253a2['shift']());}}}(a36_0xc9f5,0x909a0));function a36_0x20b3(_0x99252f,_0x52b503){const _0xc9f547=a36_0xc9f5();return a36_0x20b3=function(_0x20b33c,_0x4695dc){_0x20b33c=_0x20b33c-0xc4;let _0x187bb8=_0xc9f547[_0x20b33c];return _0x187bb8;},a36_0x20b3(_0x99252f,_0x52b503);}function a36_0xc9f5(){const _0x3baf55=['552400KzVFOd','QYyMx','./mock-process.js','PLAYWRIGHT','1871414efpVjs','../../helpers/helper','UxtSk','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','resolve','./reporter/pwUtils','fork','Syhui','Not\x20able\x20to\x20import\x20globalSetup','requirePWModule','apply','toString','./patches','1aajilm','Running\x20existing\x20global\x20setup','env','32xCsImq','18ULJWre','xssSz','kzlIQ','../../helpers/test-observability/constants','\x20is\x20not\x20found','../../helpers/logger','kDwAW','10393394nsuNqc','function','config','ypiNJ','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','../../helpers/test-observability/utils','format','isHandlePWErrorSet','222lIPIqZ','includes','error','debug','149114lrKfyd','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','util','iJiSV','exports','273660bMWNRd','xDhgA','6363410ITjNhL','kqvJB','Call\x20to\x20child\x20fork\x20with\x20args\x20','eWnwy','710290YVZsIA'];a36_0xc9f5=function(){return _0x3baf55;};return a36_0xc9f5();}const util=require(a36_0x2c3606(0xd9)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x2c3606(0xc7)),{getFrameworkVersion,debug}=require(a36_0x2c3606(0xd0)),helper=require(a36_0x2c3606(0xe8)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x2c3606(0xec)),{mockIsWorkerRedundant}=require(a36_0x2c3606(0xf3)),logger=require(a36_0x2c3606(0xc9))['winstonLogger'];module[a36_0x2c3606(0xdb)]=async function(_0x57b212){const _0x15b5fc=a36_0x2c3606,_0x1b5ebb={'CQhIY':function(_0x2d3d38,_0x151700){return _0x2d3d38(_0x151700);},'eWnwy':function(_0x1d199e){return _0x1d199e();},'kqvJB':_0x15b5fc(0xe5),'UxtSk':function(_0x450b78,_0x4dd7d5){return _0x450b78(_0x4dd7d5);},'kzlIQ':_0x15b5fc(0xf5),'HbPsq':function(_0xc33711){return _0xc33711();},'QYyMx':function(_0x55ab77,_0x42059d){return _0x55ab77(_0x42059d);},'xDhgA':function(_0x475bcb,_0x2acdcf){return _0x475bcb>=_0x2acdcf;},'ypiNJ':'1.33.0','kDwAW':function(_0x332a3e,_0x2ce045,_0x5cceed){return _0x332a3e(_0x2ce045,_0x5cceed);},'xssSz':function(_0x245ece,_0x3c7bb1){return _0x245ece!==_0x3c7bb1;},'iJiSV':_0x15b5fc(0xcc),'Syhui':_0x15b5fc(0xef)},_0x53aa4f=child_process[_0x15b5fc(0xed)];if(helper[_0x15b5fc(0xd2)]())try{_0x1b5ebb[_0x15b5fc(0xe1)](mockIsWorkerRedundant);}catch(_0x5d86af){logger[_0x15b5fc(0xd6)](_0x15b5fc(0xea)+util[_0x15b5fc(0xd1)](_0x5d86af));}child_process[_0x15b5fc(0xed)]=function(){const _0x379369=_0x15b5fc;return _0x1b5ebb['CQhIY'](debug,_0x379369(0xe0)+arguments[0x0]),arguments[0x0][_0x379369(0xd4)](_0x1b5ebb[_0x379369(0xe1)](getForkProcessPath))?arguments[0x0]=require[_0x379369(0xeb)](_0x1b5ebb[_0x379369(0xdf)]):logger[_0x379369(0xd5)]('Path\x20'+_0x1b5ebb['eWnwy'](getForkProcessPath)+_0x379369(0xc8)),_0x53aa4f[_0x379369(0xf1)](null,arguments);};if(process[_0x15b5fc(0xf6)][_0x15b5fc(0xd8)]){_0x1b5ebb[_0x15b5fc(0xe9)](debug,_0x1b5ebb[_0x15b5fc(0xc6)]);try{const {loadGlobalHook:_0x397b6b}=helper[_0x15b5fc(0xf0)]['apply'](null,_0x1b5ebb['HbPsq'](getLoadUtilsPath)),_0x156188=_0x1b5ebb[_0x15b5fc(0xe4)](getFrameworkVersion,FRAMEWORKS[_0x15b5fc(0xe6)]);let _0x2b5db8=_0x57b212;if(_0x1b5ebb[_0x15b5fc(0xdd)](helper['compareVersions'](_0x156188,_0x1b5ebb[_0x15b5fc(0xce)]),0x0)){const _0x4457df={};_0x4457df[_0x15b5fc(0xcd)]=_0x57b212,_0x2b5db8=_0x4457df;}const _0x533a3b=await _0x1b5ebb[_0x15b5fc(0xca)](_0x397b6b,_0x2b5db8,process[_0x15b5fc(0xf6)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x1b5ebb[_0x15b5fc(0xc5)](typeof _0x533a3b,_0x1b5ebb[_0x15b5fc(0xda)]))throw new Error(_0x1b5ebb[_0x15b5fc(0xee)]);return _0x533a3b[_0x15b5fc(0xf1)](null,arguments);}catch(_0x4d3767){_0x1b5ebb[_0x15b5fc(0xe9)](debug,_0x15b5fc(0xcf)+_0x4d3767[_0x15b5fc(0xf2)]());}}};