browserstack-node-sdk 1.33.2 → 1.33.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (120) 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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  37. package/src/bin/codeceptjs/command.js +1 -1
  38. package/src/bin/codeceptjs/helper.js +1 -1
  39. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  40. package/src/bin/cucumber-js/command.js +1 -1
  41. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  43. package/src/bin/cucumber-js/test.setup.js +1 -1
  44. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  45. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  46. package/src/bin/integrations/command.js +1 -1
  47. package/src/bin/integrations/constants.js +1 -1
  48. package/src/bin/jest/command.js +1 -1
  49. package/src/bin/jest/customImplements/customCircus.js +1 -1
  50. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  51. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  52. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  53. package/src/bin/jest/jest.setup.js +1 -1
  54. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  55. package/src/bin/jest/test-observability/helper.js +1 -1
  56. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  57. package/src/bin/jest/test-observability/test-details.js +1 -1
  58. package/src/bin/jest/test_before.setup.js +1 -1
  59. package/src/bin/launcher/launcher.js +1 -1
  60. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  61. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  62. package/src/bin/mocha/command.js +1 -1
  63. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  64. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  65. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  66. package/src/bin/mocha/test.setup.js +1 -1
  67. package/src/bin/nightwatch/command.js +1 -1
  68. package/src/bin/playwright/accessibility-helper.js +1 -1
  69. package/src/bin/playwright/command.js +1 -1
  70. package/src/bin/playwright/globalSetup.js +1 -1
  71. package/src/bin/playwright/mock-process.js +1 -1
  72. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  73. package/src/bin/playwright/patches.js +1 -1
  74. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  75. package/src/bin/playwright/reporter/reporter.js +1 -1
  76. package/src/bin/playwright/reporter/test-details.js +1 -1
  77. package/src/bin/playwright/sessionDetails.js +1 -1
  78. package/src/bin/runner.js +1 -1
  79. package/src/bin/setup.js +1 -1
  80. package/src/bin/test-runner/index.js +1 -1
  81. package/src/bin/test-runner/runTest.js +1 -1
  82. package/src/bin/test-runner/testWorker.js +1 -1
  83. package/src/bin/utils/constants.js +1 -1
  84. package/src/bin/utils/log4jsAppender.js +1 -1
  85. package/src/bin/utils/logPatcher.js +1 -1
  86. package/src/bin/utils/logReportingAPI.js +1 -1
  87. package/src/bin/vanilla-js/command.js +1 -1
  88. package/src/browserStackSdk.js +1 -1
  89. package/src/helpers/BrowserStackSetup.js +1 -1
  90. package/src/helpers/accessibility-automation/constants.js +1 -1
  91. package/src/helpers/accessibility-automation/helper.js +1 -1
  92. package/src/helpers/accessibility-automation/scripts.js +1 -1
  93. package/src/helpers/ats/constants.js +1 -1
  94. package/src/helpers/ats/helper.js +1 -1
  95. package/src/helpers/capsMapping.js +1 -1
  96. package/src/helpers/globals.js +1 -1
  97. package/src/helpers/helper.js +1 -1
  98. package/src/helpers/logger.js +1 -1
  99. package/src/helpers/patchHelpers.js +1 -1
  100. package/src/helpers/percy/Percy.js +1 -1
  101. package/src/helpers/percy/PercyBinary.js +1 -1
  102. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  103. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  104. package/src/helpers/percy/PercySDK.js +1 -1
  105. package/src/helpers/percy/index.js +1 -1
  106. package/src/helpers/percy/utils.js +1 -1
  107. package/src/helpers/performance-tester.js +1 -1
  108. package/src/helpers/request-spy.js +1 -1
  109. package/src/helpers/setKeepAlive.js +1 -1
  110. package/src/helpers/test-observability/constants.js +1 -1
  111. package/src/helpers/test-observability/error-handler.js +1 -1
  112. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  113. package/src/helpers/test-observability/sessionHandler.js +1 -1
  114. package/src/helpers/test-observability/utils.js +1 -1
  115. package/src/helpers/testhub/constants.js +1 -1
  116. package/src/helpers/testhub/testhubHandler.js +1 -1
  117. package/src/helpers/testhub/utils.js +1 -1
  118. package/src/helpers/w3cMapping.js +1 -1
  119. package/src/hubAllocationMethods.js +1 -1
  120. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a27_0x2da0(){const _0x1c998c=['../../../helpers/accessibility-automation/helper','2508pGynAg','Builder','KywfU','quitCount_','FyUDq','11WhORuB','CrHyT','agent_','error','kojHC','6ENCONM','whRCH','setServer','setLogLevel','newHubUrl','../../../helpers/globals','get','caps_','getAccessibilityResultsSummary','vOzZU','iZYJk','pOIZl','object','winstonLogger','Setting\x20Browserstack\x20capabilities','ieOptions_','proxy_','isPacProxy','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','2622699oUaHrv','global','__setBrowserOptions','../../../helpers/helper','safari.options','session_','storeOptimalHubUrl','DWRRB','getAccessibilityResults','build','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','info','SJqmc','se:ieOptions','fuPgq','exports','isAccessibilityPlatform','pUVPN','set','kkTfL','YLAdB','originalBuilder','jveaA','../../../helpers/patchHelpers','2274456MGAEqO','forEach','prpUe','url_','4219875LrnImv','chromeOptions_','split','19620912FgpiqN','updateHubUrl','ySshl','zRewV','ohiLI','overrideGet','push','firefoxOptions_','proxyUrl','options_','132173xUMPgn','getRequestOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','XsmrG','HttpClient','gyiWf','jOYdZ','1576PuYdIN','setCapabilities','safariOptions_','BucNQ','debug','../../../hubAllocationMethods','browserStackLogLevel','__driversArray','__driver','edgeOptions_','../accessibility-automation/helper','__drivers','FuyJE','20qWNxYG','capability','CAPABILITY_KEY','sfkaF','send','goog:chromeOptions','proxySettings','path','getHubUrl','capabilities_','ieOptions','/session','firefoxOptions','1904JBXVdQ','iIYEC','then','mergeDeep','isUndefined','Hub\x20url\x20set\x20to\x20','/wd/hub','isBrowserstackInfra','Vsmef','Proxy\x20set\x20to\x20','ms:edgeOptions','New\x20hub\x20url\x20set\x20to\x20','pOWQt','1131nmbxtA','overrideExecute'];a27_0x2da0=function(){return _0x1c998c;};return a27_0x2da0();}function a27_0x37af(_0x1099f0,_0x20c855){const _0x2da0b9=a27_0x2da0();return a27_0x37af=function(_0x37afdb,_0x17eeca){_0x37afdb=_0x37afdb-0x150;let _0x3e1f8e=_0x2da0b9[_0x37afdb];return _0x3e1f8e;},a27_0x37af(_0x1099f0,_0x20c855);}const a27_0x41d5f7=a27_0x37af;(function(_0x32bb0e,_0x4b5bea){const _0x4776f3=a27_0x37af,_0xfda69d=_0x32bb0e();while(!![]){try{const _0x56ca34=-parseInt(_0x4776f3(0x155))/0x1*(-parseInt(_0x4776f3(0x190))/0x2)+parseInt(_0x4776f3(0x183))/0x3*(-parseInt(_0x4776f3(0x15c))/0x4)+-parseInt(_0x4776f3(0x1bf))/0x5+parseInt(_0x4776f3(0x186))/0x6*(-parseInt(_0x4776f3(0x176))/0x7)+parseInt(_0x4776f3(0x1bb))/0x8+parseInt(_0x4776f3(0x1a3))/0x9*(-parseInt(_0x4776f3(0x169))/0xa)+parseInt(_0x4776f3(0x18b))/0xb*(parseInt(_0x4776f3(0x1c2))/0xc);if(_0x56ca34===_0x4b5bea)break;else _0xfda69d['push'](_0xfda69d['shift']());}catch(_0x5e8054){_0xfda69d['push'](_0xfda69d['shift']());}}}(a27_0x2da0,0x990b7));const logger=require('../../../helpers/logger')[a27_0x41d5f7(0x19d)],helper=require(a27_0x41d5f7(0x1a6)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a27_0x41d5f7(0x161)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x41d5f7(0x1ba)),{setAccessibilityCapabilities,setExtension}=require(a27_0x41d5f7(0x166)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x41d5f7(0x185)),globals=require(a27_0x41d5f7(0x195)),modify=(_0xaa2e50,_0x20debc=null,_0x156896=![])=>{const _0xa91721=a27_0x41d5f7,_0x24dd2a={'FyUDq':function(_0x250d08,_0x264554){return _0x250d08!==_0x264554;},'pUVPN':_0xa91721(0x174),'ySshl':function(_0x1b45b0,_0x296f6f){return _0x1b45b0+_0x296f6f;},'jveaA':function(_0x33a91c,_0x4abc86){return _0x33a91c+_0x4abc86;},'CqFXI':'https://','aFjoW':_0xa91721(0x17c),'iIYEC':_0xa91721(0x16e),'XsmrG':'chromeOptions','FuyJE':_0xa91721(0x180),'jOYdZ':'edgeOptions','kojHC':'moz:firefoxOptions','pOWQt':_0xa91721(0x175),'YLAdB':_0xa91721(0x1a7),'gyiWf':_0xa91721(0x1b0),'SJqmc':_0xa91721(0x173),'zRewV':function(_0x49f827,_0x205a22){return _0x49f827===_0x205a22;},'fuPgq':_0xa91721(0x19c),'iZYJk':_0xa91721(0x19e),'pCRGN':'optimalHubUrl','XumrC':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','DWRRB':function(_0x1b201e,_0x48a56d,_0x15cb96){return _0x1b201e(_0x48a56d,_0x15cb96);},'XAtwW':function(_0x4b59b4,_0x1cf628,_0x1321f0){return _0x4b59b4(_0x1cf628,_0x1321f0);},'pOIZl':function(_0x9dc68a,_0x3c2287){return _0x9dc68a(_0x3c2287);},'sfkaF':function(_0x1b1923,_0x44203f,_0x12f6b){return _0x1b1923(_0x44203f,_0x12f6b);},'prpUe':'3|1|4|2|5|0','PvnSV':_0xa91721(0x1a2),'xpKHD':function(_0x611ae9){return _0x611ae9();},'CrHyT':_0xa91721(0x1b3),'whRCH':function(_0x53fb40,_0x261c8e,_0x5c28ae){return _0x53fb40(_0x261c8e,_0x5c28ae);},'BucNQ':function(_0x12b565,_0x47671f){return _0x12b565(_0x47671f);},'KywfU':function(_0x4b4836,_0x581e38){return _0x4b4836!==_0x581e38;},'Vsmef':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','DDbec':'Modifying\x20webdriver\x20builder'},_0x53ac61=helper['requireHttpClient']();let _0x4562f8;try{_0x4562f8=helper['requireSeleniumWebdriver'](),_0x4562f8[_0xa91721(0x1b8)]&&(_0x4562f8[_0xa91721(0x187)]=_0x4562f8[_0xa91721(0x1b8)]);}catch(_0x3090bc){return;}if(helper[_0xa91721(0x17d)]()){const _0x47999f={};_0x47999f['logLevel']=_0xaa2e50[_0xa91721(0x162)],helper[_0xa91721(0x193)](_0x47999f,new Map(),new Map()),logger[_0xa91721(0x1ae)](_0x24dd2a[_0xa91721(0x17e)]),logger[_0xa91721(0x160)](_0x24dd2a['DDbec']);}class _0x27fc58 extends _0x53ac61[_0xa91721(0x159)]{[_0xa91721(0x16d)](_0x2f0407){const _0x18c43c=_0xa91721;if(_0x24dd2a[_0x18c43c(0x18a)](_0x2f0407[_0x18c43c(0x170)],_0x24dd2a[_0x18c43c(0x1b4)])&&_0x24dd2a['FyUDq'](global[_0x18c43c(0x194)],''))try{global['newHubUrl']=_0x24dd2a[_0x18c43c(0x1c4)](_0x24dd2a[_0x18c43c(0x1b9)](_0x24dd2a['CqFXI'],global['newHubUrl']),_0x24dd2a['aFjoW']),this[_0x18c43c(0x154)]=hubAllocator[_0x18c43c(0x156)](global[_0x18c43c(0x194)]),logger[_0x18c43c(0x160)](_0x18c43c(0x181)+global[_0x18c43c(0x194)]),global[_0x18c43c(0x194)]='';}catch(_0x286b6e){logger[_0x18c43c(0x18e)](_0x286b6e);}return super[_0x18c43c(0x16d)](_0x2f0407);}}class _0x2e7be4 extends _0x4562f8[_0xa91721(0x187)]{[_0xa91721(0x192)](){const _0x369e65=_0xa91721;return this[_0x369e65(0x1be)]=helper[_0x369e65(0x171)](_0xaa2e50),logger[_0x369e65(0x160)](_0x369e65(0x17b)+this[_0x369e65(0x1be)]),this;}[_0xa91721(0x1a5)](_0x4b8505){const _0x25f78c=_0xa91721;let _0x48b313={};for(const _0x1e1ff4 in _0x4b8505){switch(_0x1e1ff4){case _0x24dd2a[_0x25f78c(0x177)]:case _0x24dd2a[_0x25f78c(0x158)]:this[_0x25f78c(0x1c0)]&&(_0x48b313=this[_0x25f78c(0x1c0)][_0x25f78c(0x196)](this[_0x25f78c(0x1c0)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x25f78c(0x1b5)](this['chromeOptions_'][_0x25f78c(0x16b)],helper[_0x25f78c(0x179)](_0x48b313,_0x4b8505[_0x1e1ff4])));break;case _0x24dd2a[_0x25f78c(0x168)]:case _0x24dd2a[_0x25f78c(0x15b)]:this[_0x25f78c(0x165)]&&(_0x48b313=this['edgeOptions_'][_0x25f78c(0x196)](this['edgeOptions_'][_0x25f78c(0x16b)])||{},this[_0x25f78c(0x165)]['set'](this[_0x25f78c(0x165)]['CAPABILITY_KEY'],helper[_0x25f78c(0x179)](_0x48b313,_0x4b8505[_0x1e1ff4])));break;case _0x24dd2a[_0x25f78c(0x18f)]:case _0x24dd2a[_0x25f78c(0x182)]:this[_0x25f78c(0x152)]&&(_0x48b313=this[_0x25f78c(0x152)][_0x25f78c(0x196)](this['firefoxOptions_'][_0x25f78c(0x16b)])||{},this['firefoxOptions_'][_0x25f78c(0x1b5)](this['firefoxOptions_'][_0x25f78c(0x16b)],helper['mergeDeep'](_0x48b313,_0x4b8505[_0x1e1ff4])));break;case _0x24dd2a[_0x25f78c(0x1b7)]:this[_0x25f78c(0x15e)]&&(_0x48b313=this['safariOptions_'][_0x25f78c(0x196)](this['safariOptions_'][_0x25f78c(0x16b)])||{},this[_0x25f78c(0x15e)][_0x25f78c(0x1b5)](this[_0x25f78c(0x15e)][_0x25f78c(0x16b)],helper[_0x25f78c(0x179)](_0x48b313,_0x4b8505[_0x1e1ff4])));break;case _0x24dd2a[_0x25f78c(0x15a)]:case _0x24dd2a[_0x25f78c(0x1af)]:this[_0x25f78c(0x19f)]&&(_0x48b313=this['ieOptions_']['get'](this[_0x25f78c(0x19f)][_0x25f78c(0x16b)])||{},this[_0x25f78c(0x19f)]['set'](this[_0x25f78c(0x19f)][_0x25f78c(0x16b)],helper[_0x25f78c(0x179)](_0x48b313,_0x4b8505[_0x1e1ff4])));break;}}}[_0xa91721(0x15d)](){const _0x151197=_0xa91721,_0x170d5a={'vOzZU':function(_0x2745e4,_0xc26289){const _0x2c2230=a27_0x37af;return _0x24dd2a[_0x2c2230(0x1c5)](_0x2745e4,_0xc26289);},'kkTfL':_0x24dd2a[_0x151197(0x1b1)]};return logger[_0x151197(0x160)](_0x24dd2a[_0x151197(0x19a)]),this['__setBrowserOptions'](_0xaa2e50['capability']),Object['keys'](_0xaa2e50[_0x151197(0x16a)])[_0x151197(0x1bc)](_0x3608d1=>{const _0x12797a=_0x151197,_0x419042=this[_0x12797a(0x172)][_0x12797a(0x196)](_0x3608d1);_0x170d5a[_0x12797a(0x199)](typeof _0x419042,_0x170d5a[_0x12797a(0x1b6)])?this[_0x12797a(0x172)]['set'](_0x3608d1,helper[_0x12797a(0x179)](_0x419042,_0xaa2e50['capability'][_0x3608d1])):this[_0x12797a(0x172)][_0x12797a(0x1b5)](_0x3608d1,_0xaa2e50['capability'][_0x3608d1]);}),this;}[_0xa91721(0x1ac)](){const _0x5155fd=_0xa91721;if(helper[_0x5155fd(0x17d)]()){const _0x5c1ae6=_0x24dd2a[_0x5155fd(0x1bd)][_0x5155fd(0x1c1)]('|');let _0x208ab4=0x0;while(!![]){switch(_0x5c1ae6[_0x208ab4++]){case'0':logger['debug'](_0x24dd2a['PvnSV']);continue;case'1':this[_0x5155fd(0x192)]();continue;case'2':if(helper[_0x5155fd(0x1a1)](_0xaa2e50['proxySettings']['proxyUrl']))this[_0x5155fd(0x18d)]=helper['getHttpAgent'](_0xaa2e50[_0x5155fd(0x16f)][_0x5155fd(0x153)]);else _0xaa2e50[_0x5155fd(0x16f)][_0x5155fd(0x153)]&&(this[_0x5155fd(0x1a0)]=_0xaa2e50[_0x5155fd(0x16f)][_0x5155fd(0x153)],logger['debug'](_0x5155fd(0x17f)+this[_0x5155fd(0x1a0)]));continue;case'3':_0x24dd2a['xpKHD'](isAccessibilityAutomationSession)&&_0x24dd2a['pOIZl'](setAccessibilityCapabilities,_0xaa2e50);continue;case'4':this[_0x5155fd(0x15d)]();continue;case'5':globals['getGlobal'](_0x24dd2a[_0x5155fd(0x18c)])&&(!_0x24dd2a[_0x5155fd(0x191)](setExtension,this,_0xaa2e50)&&globals['setGlobal'](_0x24dd2a[_0x5155fd(0x18c)],![]));continue;}break;}}const _0x33dd48=super[_0x5155fd(0x1ac)]();return _0x33dd48[_0x5155fd(0x1a8)][_0x5155fd(0x178)](_0xe303e=>{const _0x4073f5=_0x5155fd;try{const _0x3dc699=_0xe303e[_0x4073f5(0x197)][_0x4073f5(0x196)](_0x24dd2a['pCRGN']);_0x3dc699?(logger[_0x4073f5(0x160)](_0x4073f5(0x1ad)+_0x3dc699),hubAllocator[_0x4073f5(0x1c3)](_0x3dc699),helper[_0x4073f5(0x1a9)](_0x3dc699)):logger[_0x4073f5(0x160)](_0x24dd2a['XumrC']);}catch(_0xfabb00){logger[_0x4073f5(0x160)](_0x4073f5(0x157)+_0xfabb00);}}),_0x33dd48[_0x5155fd(0x189)]=0x0,_0x33dd48[_0x5155fd(0x178)]&&_0x33dd48['then'](_0x3c8de1=>{const _0x242e07=_0x5155fd,_0xab611c={'ohiLI':function(_0xe48185,_0x505f24,_0x125c3d){const _0x4c3369=a27_0x37af;return _0x24dd2a[_0x4c3369(0x1aa)](_0xe48185,_0x505f24,_0x125c3d);}};_0x24dd2a['XAtwW'](overrideQuit,_0x3c8de1,_0x33dd48),_0x24dd2a[_0x242e07(0x19b)](overrideTakeScreenshot,_0x3c8de1),helper[_0x242e07(0x150)](_0x3c8de1,_0xaa2e50),helper[_0x242e07(0x184)](_0x3c8de1,_0xaa2e50),_0x3c8de1[_0x242e07(0x198)]=async()=>{const _0x3a24e7=_0x242e07;return await _0xab611c[_0x3a24e7(0x1c6)](getAccessibilityResultsSummary,_0x3c8de1,global);},_0x3c8de1[_0x242e07(0x1ab)]=async()=>{const _0x3d6ca8=_0x242e07;return await _0xab611c[_0x3d6ca8(0x1c6)](getAccessibilityResults,_0x3c8de1,global);};}),_0x33dd48[_0x5155fd(0x198)]=async()=>{return await _0x24dd2a['XAtwW'](getAccessibilityResultsSummary,_0x33dd48,global);},_0x33dd48[_0x5155fd(0x1ab)]=async()=>{const _0x1e0a4c=_0x5155fd;return await _0x24dd2a[_0x1e0a4c(0x16c)](getAccessibilityResults,_0x33dd48,global);},_0x24dd2a[_0x5155fd(0x19b)](overrideTakeScreenshot,_0x33dd48),_0x24dd2a[_0x5155fd(0x15f)](overrideQuit,_0x33dd48),helper['overrideGet'](_0x33dd48,_0xaa2e50),helper['overrideExecute'](_0x33dd48,_0xaa2e50),helper[_0x5155fd(0x17a)](global[_0x5155fd(0x163)])&&(global[_0x5155fd(0x163)]=[]),helper[_0x5155fd(0x17a)](global[_0x5155fd(0x167)])&&(global[_0x5155fd(0x167)]=[]),global[_0x5155fd(0x163)][_0x5155fd(0x151)](_0x33dd48),global[_0x5155fd(0x164)]=_0x33dd48,_0x24dd2a[_0x5155fd(0x18a)](global['__drivers'],undefined)&&global[_0x5155fd(0x167)]['push'](_0x33dd48),_0x20debc&&helper[_0x5155fd(0x17a)](_0x20debc[_0x5155fd(0x1a4)][_0x5155fd(0x163)])&&(_0x20debc['global'][_0x5155fd(0x163)]=[]),_0x20debc&&_0x24dd2a[_0x5155fd(0x188)](_0x20debc[_0x5155fd(0x1a4)][_0x5155fd(0x167)],undefined)&&(_0x20debc['global'][_0x5155fd(0x167)][_0x5155fd(0x151)](_0x33dd48),_0x20debc['global']['__driversArray'][_0x5155fd(0x151)](_0x33dd48)),_0x33dd48;}}return _0x4562f8['originalBuilder']=_0x4562f8[_0xa91721(0x187)],_0x4562f8[_0xa91721(0x187)]=_0x2e7be4,_0x53ac61[_0xa91721(0x159)]=_0x27fc58,_0x4562f8;};module[a27_0x41d5f7(0x1b2)]['browserstackAgentObservability']=modify;
1
+ function a27_0x5b0e(_0x263bdb,_0x187bbb){const _0x23199c=a27_0x2319();return a27_0x5b0e=function(_0x5b0e64,_0x11c6a6){_0x5b0e64=_0x5b0e64-0x10b;let _0x485a9b=_0x23199c[_0x5b0e64];return _0x485a9b;},a27_0x5b0e(_0x263bdb,_0x187bbb);}const a27_0x2cb701=a27_0x5b0e;(function(_0x4c6e08,_0x41bd55){const _0x2435a2=a27_0x5b0e,_0x477e03=_0x4c6e08();while(!![]){try{const _0x4070cb=-parseInt(_0x2435a2(0x16f))/0x1+-parseInt(_0x2435a2(0x118))/0x2+-parseInt(_0x2435a2(0x184))/0x3+parseInt(_0x2435a2(0x151))/0x4*(-parseInt(_0x2435a2(0x162))/0x5)+-parseInt(_0x2435a2(0x132))/0x6*(parseInt(_0x2435a2(0x170))/0x7)+-parseInt(_0x2435a2(0x136))/0x8*(-parseInt(_0x2435a2(0x17a))/0x9)+parseInt(_0x2435a2(0x168))/0xa;if(_0x4070cb===_0x41bd55)break;else _0x477e03['push'](_0x477e03['shift']());}catch(_0x511a28){_0x477e03['push'](_0x477e03['shift']());}}}(a27_0x2319,0xd77c6));function a27_0x2319(){const _0x5bf8cb=['https://','originalBuilder','ms:edgeOptions','debug','3|4|1|2|0|5','../../../helpers/helper','55krFcyb','HttpClient','CCCzc','setCapabilities','edgeOptions_','Proxy\x20set\x20to\x20','60207670bwXHMb','KXrPZ','tsKPe','../../../helpers/patchHelpers','isAccessibilityPlatform','Modifying\x20webdriver\x20builder','quitCount_','1117844XlpaUt','161fTTaLg','../../../helpers/accessibility-automation/helper','qVFEE','__setBrowserOptions','SQlPh','sGTJR','send','NlBLn','safariOptions_','../../../hubAllocationMethods','684ePcNmL','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getGlobal','New\x20hub\x20url\x20set\x20to\x20','overrideExecute','overrideGet','set','error','build','firefoxOptions','4585977dsZcnC','AUtcM','url_','KNcQQ','HBEHX','se:ieOptions','../../../helpers/logger','/session','isUndefined','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','setLogLevel','UDXoY','__driversArray','push','OzpHg','Builder','object','746918EXMeLu','xeGIE','path','ZbyyQ','capability','getAccessibilityResults','/wd/hub','tmsun','proxyUrl','TUMCM','ezsKn','edgeOptions','then','UzvFJ','../../../helpers/globals','capabilities_','ieOptions','requireHttpClient','getHttpAgent','getRequestOptions','forEach','mergeDeep','goog:chromeOptions','nvkTl','rNdJo','RMTtH','270966dOfKex','__drivers','../accessibility-automation/helper','updateHubUrl','36328LsjujV','chromeOptions','safari.options','proxySettings','zjMgp','global','IxZDy','newHubUrl','chromeOptions_','Alrsl','getHubUrl','LVBWc','ieOptions_','proxy_','setServer','isBrowserstackInfra','Hub\x20url\x20set\x20to\x20','__driver','options_','CAPABILITY_KEY','uyCgm','get','vNJzc','browserstackAgentObservability','getAccessibilityResultsSummary','browserStackLogLevel','ogvgJ','518032jjupYz','info','winstonLogger','firefoxOptions_','rPQaA','XjUoI','JLcPu','../../../bin/utils/constants','Setting\x20Browserstack\x20capabilities','HRpzY','VMvCY'];a27_0x2319=function(){return _0x5bf8cb;};return a27_0x2319();}const logger=require(a27_0x2cb701(0x10d))[a27_0x2cb701(0x153)],helper=require(a27_0x2cb701(0x161)),constants=require(a27_0x2cb701(0x158)),hubAllocator=require(a27_0x2cb701(0x179)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x2cb701(0x16b)),{setAccessibilityCapabilities,setExtension}=require(a27_0x2cb701(0x134)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x2cb701(0x171)),globals=require(a27_0x2cb701(0x126)),modify=(_0xd1d7e6,_0x3fdce9=null,_0x38585d=![])=>{const _0x19d6e8=a27_0x2cb701,_0x29b113={'ojrrk':function(_0x41e2c9,_0x41148e){return _0x41e2c9!==_0x41148e;},'rYigv':_0x19d6e8(0x10e),'CCCzc':function(_0x56f894,_0xe0f942){return _0x56f894!==_0xe0f942;},'UDXoY':function(_0x38b6da,_0x2530f2){return _0x38b6da+_0x2530f2;},'uyCgm':function(_0x3f4c43,_0x6017c3){return _0x3f4c43+_0x6017c3;},'tpdDm':_0x19d6e8(0x15c),'IxZDy':_0x19d6e8(0x11e),'OzpHg':_0x19d6e8(0x12e),'ZbyyQ':_0x19d6e8(0x137),'ezsKn':_0x19d6e8(0x15e),'HBEHX':_0x19d6e8(0x123),'xeGIE':'moz:firefoxOptions','KNcQQ':_0x19d6e8(0x183),'SQlPh':_0x19d6e8(0x138),'KXrPZ':_0x19d6e8(0x10c),'UzvFJ':_0x19d6e8(0x128),'rNdJo':function(_0xebc9a1,_0x66f841){return _0xebc9a1===_0x66f841;},'HRpzY':_0x19d6e8(0x117),'qVFEE':_0x19d6e8(0x159),'NlBLn':function(_0x3ee7f2,_0x385a9e,_0x5273d3){return _0x3ee7f2(_0x385a9e,_0x5273d3);},'ogvgJ':'optimalHubUrl','tsKPe':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','rPQaA':function(_0x5300f2,_0x2624d8){return _0x5300f2(_0x2624d8);},'RMTtH':_0x19d6e8(0x160),'zjMgp':_0x19d6e8(0x16c),'JLcPu':function(_0x2a51b7,_0x544c57,_0x78ac55){return _0x2a51b7(_0x544c57,_0x78ac55);},'trtlo':function(_0xfc26dd){return _0xfc26dd();},'nvkTl':function(_0x266311,_0x2eafcf){return _0x266311(_0x2eafcf);},'Alrsl':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','SQymF':function(_0x4aa0b5,_0x443121){return _0x4aa0b5(_0x443121);},'AUtcM':function(_0x5b735d,_0x71e3fb){return _0x5b735d!==_0x71e3fb;},'LVBWc':function(_0x348fd8,_0xd32504){return _0x348fd8!==_0xd32504;},'VNMKs':_0x19d6e8(0x110),'XjUoI':_0x19d6e8(0x16d)},_0x2b246a=helper[_0x19d6e8(0x129)]();let _0x3377b0;try{_0x3377b0=helper['requireSeleniumWebdriver'](),_0x3377b0[_0x19d6e8(0x15d)]&&(_0x3377b0[_0x19d6e8(0x116)]=_0x3377b0[_0x19d6e8(0x15d)]);}catch(_0xb134ee){return;}if(helper[_0x19d6e8(0x145)]()){const _0xbab307={};_0xbab307['logLevel']=_0xd1d7e6[_0x19d6e8(0x14f)],helper[_0x19d6e8(0x111)](_0xbab307,new Map(),new Map()),logger[_0x19d6e8(0x152)](_0x29b113['VNMKs']),logger[_0x19d6e8(0x15f)](_0x29b113[_0x19d6e8(0x156)]);}class _0x20266c extends _0x2b246a[_0x19d6e8(0x163)]{[_0x19d6e8(0x176)](_0x52e86b){const _0x5b131a=_0x19d6e8;if(_0x29b113['ojrrk'](_0x52e86b[_0x5b131a(0x11a)],_0x29b113['rYigv'])&&_0x29b113[_0x5b131a(0x164)](global['newHubUrl'],''))try{global[_0x5b131a(0x13d)]=_0x29b113[_0x5b131a(0x112)](_0x29b113[_0x5b131a(0x14a)](_0x29b113['tpdDm'],global['newHubUrl']),_0x29b113[_0x5b131a(0x13c)]),this[_0x5b131a(0x148)]=hubAllocator[_0x5b131a(0x12b)](global[_0x5b131a(0x13d)]),logger[_0x5b131a(0x15f)](_0x5b131a(0x17d)+global[_0x5b131a(0x13d)]),global[_0x5b131a(0x13d)]='';}catch(_0xc957f3){logger[_0x5b131a(0x181)](_0xc957f3);}return super[_0x5b131a(0x176)](_0x52e86b);}}class _0x1abb96 extends _0x3377b0[_0x19d6e8(0x116)]{[_0x19d6e8(0x144)](){const _0x2b0c4e=_0x19d6e8;return this[_0x2b0c4e(0x186)]=helper[_0x2b0c4e(0x140)](_0xd1d7e6),logger[_0x2b0c4e(0x15f)](_0x2b0c4e(0x146)+this['url_']),this;}['__setBrowserOptions'](_0x43e7f2){const _0x5c08b4=_0x19d6e8;let _0x119b18={};for(const _0x1a29bf in _0x43e7f2){switch(_0x1a29bf){case _0x29b113[_0x5c08b4(0x115)]:case _0x29b113[_0x5c08b4(0x11b)]:this[_0x5c08b4(0x13e)]&&(_0x119b18=this['chromeOptions_']['get'](this[_0x5c08b4(0x13e)][_0x5c08b4(0x149)])||{},this[_0x5c08b4(0x13e)][_0x5c08b4(0x180)](this[_0x5c08b4(0x13e)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x122)]:case _0x29b113[_0x5c08b4(0x10b)]:this[_0x5c08b4(0x166)]&&(_0x119b18=this[_0x5c08b4(0x166)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x166)][_0x5c08b4(0x149)])||{},this['edgeOptions_'][_0x5c08b4(0x180)](this[_0x5c08b4(0x166)]['CAPABILITY_KEY'],helper[_0x5c08b4(0x12d)](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x119)]:case _0x29b113[_0x5c08b4(0x187)]:this[_0x5c08b4(0x154)]&&(_0x119b18=this[_0x5c08b4(0x154)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x154)][_0x5c08b4(0x149)])||{},this[_0x5c08b4(0x154)][_0x5c08b4(0x180)](this[_0x5c08b4(0x154)][_0x5c08b4(0x149)],helper[_0x5c08b4(0x12d)](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x174)]:this[_0x5c08b4(0x178)]&&(_0x119b18=this[_0x5c08b4(0x178)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x178)][_0x5c08b4(0x149)])||{},this[_0x5c08b4(0x178)]['set'](this[_0x5c08b4(0x178)][_0x5c08b4(0x149)],helper['mergeDeep'](_0x119b18,_0x43e7f2[_0x1a29bf])));break;case _0x29b113[_0x5c08b4(0x169)]:case _0x29b113[_0x5c08b4(0x125)]:this[_0x5c08b4(0x142)]&&(_0x119b18=this[_0x5c08b4(0x142)][_0x5c08b4(0x14b)](this[_0x5c08b4(0x142)]['CAPABILITY_KEY'])||{},this[_0x5c08b4(0x142)][_0x5c08b4(0x180)](this[_0x5c08b4(0x142)][_0x5c08b4(0x149)],helper[_0x5c08b4(0x12d)](_0x119b18,_0x43e7f2[_0x1a29bf])));break;}}}['setCapabilities'](){const _0x5f46fb=_0x19d6e8,_0x2e1126={'TRGKN':function(_0x1be800,_0x323016){const _0x14a0c4=a27_0x5b0e;return _0x29b113[_0x14a0c4(0x130)](_0x1be800,_0x323016);},'vNJzc':_0x29b113[_0x5f46fb(0x15a)]};return logger[_0x5f46fb(0x15f)](_0x29b113[_0x5f46fb(0x172)]),this[_0x5f46fb(0x173)](_0xd1d7e6[_0x5f46fb(0x11c)]),Object['keys'](_0xd1d7e6[_0x5f46fb(0x11c)])[_0x5f46fb(0x12c)](_0x21d2b9=>{const _0x9fc407=_0x5f46fb,_0x505fd2=this[_0x9fc407(0x127)][_0x9fc407(0x14b)](_0x21d2b9);_0x2e1126['TRGKN'](typeof _0x505fd2,_0x2e1126[_0x9fc407(0x14c)])?this[_0x9fc407(0x127)]['set'](_0x21d2b9,helper[_0x9fc407(0x12d)](_0x505fd2,_0xd1d7e6['capability'][_0x21d2b9])):this[_0x9fc407(0x127)]['set'](_0x21d2b9,_0xd1d7e6[_0x9fc407(0x11c)][_0x21d2b9]);}),this;}[_0x19d6e8(0x182)](){const _0xb70109=_0x19d6e8,_0x25c019={'sGTJR':_0x29b113[_0xb70109(0x150)],'BnnpJ':_0x29b113[_0xb70109(0x16a)],'VMvCY':function(_0x5d421a,_0x28cc72,_0x467e13){const _0x17cedc=_0xb70109;return _0x29b113[_0x17cedc(0x177)](_0x5d421a,_0x28cc72,_0x467e13);},'tmsun':function(_0x557c87,_0x4ef912){const _0x105aac=_0xb70109;return _0x29b113[_0x105aac(0x155)](_0x557c87,_0x4ef912);}};if(helper[_0xb70109(0x145)]()){const _0xebff1f=_0x29b113[_0xb70109(0x131)]['split']('|');let _0x304c98=0x0;while(!![]){switch(_0xebff1f[_0x304c98++]){case'0':globals[_0xb70109(0x17c)](_0x29b113[_0xb70109(0x13a)])&&(!_0x29b113[_0xb70109(0x157)](setExtension,this,_0xd1d7e6)&&globals['setGlobal'](_0x29b113[_0xb70109(0x13a)],![]));continue;case'1':this[_0xb70109(0x165)]();continue;case'2':if(helper['isPacProxy'](_0xd1d7e6['proxySettings'][_0xb70109(0x120)]))this['agent_']=helper[_0xb70109(0x12a)](_0xd1d7e6[_0xb70109(0x139)][_0xb70109(0x120)]);else _0xd1d7e6[_0xb70109(0x139)][_0xb70109(0x120)]&&(this[_0xb70109(0x143)]=_0xd1d7e6['proxySettings']['proxyUrl'],logger['debug'](_0xb70109(0x167)+this[_0xb70109(0x143)]));continue;case'3':_0x29b113['trtlo'](isAccessibilityAutomationSession)&&_0x29b113[_0xb70109(0x12f)](setAccessibilityCapabilities,_0xd1d7e6);continue;case'4':this['setServer']();continue;case'5':logger['debug'](_0x29b113[_0xb70109(0x13f)]);continue;}break;}}const _0x2b5e88=super['build']();return _0x2b5e88['session_'][_0xb70109(0x124)](_0x48c859=>{const _0x17e619=_0xb70109;try{const _0x590e25=_0x48c859['caps_'][_0x17e619(0x14b)](_0x25c019[_0x17e619(0x175)]);_0x590e25?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x590e25),hubAllocator[_0x17e619(0x135)](_0x590e25),helper['storeOptimalHubUrl'](_0x590e25)):logger['debug'](_0x25c019['BnnpJ']);}catch(_0x5456ae){logger[_0x17e619(0x15f)](_0x17e619(0x17b)+_0x5456ae);}}),_0x2b5e88[_0xb70109(0x16e)]=0x0,_0x2b5e88[_0xb70109(0x124)]&&_0x2b5e88[_0xb70109(0x124)](_0x2a4178=>{const _0x19402f=_0xb70109,_0x923e7a={'TUMCM':function(_0x57fbfa,_0x50817b,_0x4bd942){const _0x3b96f4=a27_0x5b0e;return _0x25c019[_0x3b96f4(0x15b)](_0x57fbfa,_0x50817b,_0x4bd942);}};_0x25c019[_0x19402f(0x15b)](overrideQuit,_0x2a4178,_0x2b5e88),_0x25c019[_0x19402f(0x11f)](overrideTakeScreenshot,_0x2a4178),helper['overrideGet'](_0x2a4178,_0xd1d7e6),helper[_0x19402f(0x17e)](_0x2a4178,_0xd1d7e6),_0x2a4178['getAccessibilityResultsSummary']=async()=>{const _0x1af360=_0x19402f;return await _0x25c019[_0x1af360(0x15b)](getAccessibilityResultsSummary,_0x2a4178,global);},_0x2a4178[_0x19402f(0x11d)]=async()=>{const _0x3aeb55=_0x19402f;return await _0x923e7a[_0x3aeb55(0x121)](getAccessibilityResults,_0x2a4178,global);};}),_0x2b5e88[_0xb70109(0x14e)]=async()=>{return await _0x29b113['NlBLn'](getAccessibilityResultsSummary,_0x2b5e88,global);},_0x2b5e88['getAccessibilityResults']=async()=>{const _0x2a52e7=_0xb70109;return await _0x29b113[_0x2a52e7(0x177)](getAccessibilityResults,_0x2b5e88,global);},_0x29b113['SQymF'](overrideTakeScreenshot,_0x2b5e88),_0x29b113['SQymF'](overrideQuit,_0x2b5e88),helper[_0xb70109(0x17f)](_0x2b5e88,_0xd1d7e6),helper['overrideExecute'](_0x2b5e88,_0xd1d7e6),helper[_0xb70109(0x10f)](global[_0xb70109(0x113)])&&(global['__driversArray']=[]),helper[_0xb70109(0x10f)](global['__drivers'])&&(global['__drivers']=[]),global[_0xb70109(0x113)][_0xb70109(0x114)](_0x2b5e88),global[_0xb70109(0x147)]=_0x2b5e88,_0x29b113[_0xb70109(0x185)](global[_0xb70109(0x133)],undefined)&&global[_0xb70109(0x133)][_0xb70109(0x114)](_0x2b5e88),_0x3fdce9&&helper[_0xb70109(0x10f)](_0x3fdce9[_0xb70109(0x13b)]['__driversArray'])&&(_0x3fdce9[_0xb70109(0x13b)][_0xb70109(0x113)]=[]),_0x3fdce9&&_0x29b113[_0xb70109(0x141)](_0x3fdce9['global'][_0xb70109(0x133)],undefined)&&(_0x3fdce9[_0xb70109(0x13b)][_0xb70109(0x133)]['push'](_0x2b5e88),_0x3fdce9[_0xb70109(0x13b)][_0xb70109(0x113)][_0xb70109(0x114)](_0x2b5e88)),_0x2b5e88;}}return _0x3377b0[_0x19d6e8(0x15d)]=_0x3377b0[_0x19d6e8(0x116)],_0x3377b0[_0x19d6e8(0x116)]=_0x1abb96,_0x2b246a[_0x19d6e8(0x163)]=_0x20266c,_0x3377b0;};module['exports'][a27_0x2cb701(0x14d)]=modify;
@@ -1 +1 @@
1
- const a28_0x6f63c0=a28_0x4e5c;function a28_0x3fbf(){const _0x24596c=['6DiTiDl','../../../helpers/test-observability/utils','mochaHooks','1144164koUzfr','restore','387360DjHeSI','1834765pPStwn','../../../helpers/request-spy','1401894Zwicka','70542EjAuWL','12038850fKJffd','191956UDJLjt','DbljU','timeout','18FBDJxF'];a28_0x3fbf=function(){return _0x24596c;};return a28_0x3fbf();}(function(_0x5d1a23,_0x29f50e){const _0x290e32=a28_0x4e5c,_0xc94219=_0x5d1a23();while(!![]){try{const _0x55051d=-parseInt(_0x290e32(0x85))/0x1+-parseInt(_0x290e32(0x93))/0x2+-parseInt(_0x290e32(0x8a))/0x3*(parseInt(_0x290e32(0x87))/0x4)+-parseInt(_0x290e32(0x91))/0x5*(-parseInt(_0x290e32(0x8b))/0x6)+-parseInt(_0x290e32(0x8e))/0x7+-parseInt(_0x290e32(0x90))/0x8+parseInt(_0x290e32(0x86))/0x9;if(_0x55051d===_0x29f50e)break;else _0xc94219['push'](_0xc94219['shift']());}catch(_0x4b27a1){_0xc94219['push'](_0xc94219['shift']());}}}(a28_0x3fbf,0x69c9c));const requestSpy=require(a28_0x6f63c0(0x92)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x6f63c0(0x8c));function a28_0x4e5c(_0xe6e765,_0x5624b7){const _0x3fbf36=a28_0x3fbf();return a28_0x4e5c=function(_0x4e5c73,_0x1d13ab){_0x4e5c73=_0x4e5c73-0x85;let _0x263125=_0x3fbf36[_0x4e5c73];return _0x263125;},a28_0x4e5c(_0xe6e765,_0x5624b7);}exports[a28_0x6f63c0(0x8d)]={'beforeAll'(){const _0x1ff37a=a28_0x6f63c0,_0x410016={'DbljU':function(_0x533ce5){return _0x533ce5();}},_0x98faea='browserstack internal helper hook';_0x410016[_0x1ff37a(0x88)](addRequestSpy);},'afterAll'(){const _0x4e5bd5=a28_0x6f63c0,_0x249536='browserstack internal helper hook';this[_0x4e5bd5(0x89)](0xea60),requestSpy[_0x4e5bd5(0x8f)]();}};
1
+ const a28_0xc78577=a28_0x2087;function a28_0x2087(_0x4e4402,_0x21db14){const _0x4e1c5d=a28_0x4e1c();return a28_0x2087=function(_0x20877a,_0x4e6be0){_0x20877a=_0x20877a-0x139;let _0x494ecf=_0x4e1c5d[_0x20877a];return _0x494ecf;},a28_0x2087(_0x4e4402,_0x21db14);}(function(_0x3849ed,_0x192a63){const _0x17a18e=a28_0x2087,_0xfe0458=_0x3849ed();while(!![]){try{const _0x4e57c9=-parseInt(_0x17a18e(0x144))/0x1*(-parseInt(_0x17a18e(0x140))/0x2)+parseInt(_0x17a18e(0x146))/0x3*(-parseInt(_0x17a18e(0x13d))/0x4)+-parseInt(_0x17a18e(0x148))/0x5*(-parseInt(_0x17a18e(0x13a))/0x6)+parseInt(_0x17a18e(0x147))/0x7*(-parseInt(_0x17a18e(0x149))/0x8)+-parseInt(_0x17a18e(0x143))/0x9+-parseInt(_0x17a18e(0x13b))/0xa*(-parseInt(_0x17a18e(0x13c))/0xb)+parseInt(_0x17a18e(0x141))/0xc;if(_0x4e57c9===_0x192a63)break;else _0xfe0458['push'](_0xfe0458['shift']());}catch(_0x5ab6b3){_0xfe0458['push'](_0xfe0458['shift']());}}}(a28_0x4e1c,0x77250));const requestSpy=require(a28_0xc78577(0x145)),constants=require(a28_0xc78577(0x139)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports['mochaHooks']={'beforeAll'(){const _0x51b787=a28_0xc78577,_0x323d90={'jcgSO':function(_0x3c9274){return _0x3c9274();}},_0x6118b5='browserstack internal helper hook';_0x323d90[_0x51b787(0x142)](addRequestSpy);},'afterAll'(){const _0x132815=a28_0xc78577,_0x56a9f6='browserstack internal helper hook';this[_0x132815(0x13e)](0xea60),requestSpy[_0x132815(0x13f)]();}};function a28_0x4e1c(){const _0x1e0653=['1024440xzEqMD','71450FPLwBV','407mLzCjt','16NxoKfN','timeout','restore','472238fnKUnA','5456520XbnWgj','jcgSO','8033958GqDqrc','3ZxQjyT','../../../helpers/request-spy','537762opURDH','7nxTFcc','20EbEhRz','101584sBopGM','../../../bin/utils/constants'];a28_0x4e1c=function(){return _0x1e0653;};return a28_0x4e1c();}
@@ -1 +1 @@
1
- function a29_0x24b8(_0x1f00b5,_0x3ade4c){const _0x37fca0=a29_0x37fc();return a29_0x24b8=function(_0x24b87c,_0x29a1eb){_0x24b87c=_0x24b87c-0x97;let _0x1a6ce9=_0x37fca0[_0x24b87c];return _0x1a6ce9;},a29_0x24b8(_0x1f00b5,_0x3ade4c);}const a29_0xf3d315=a29_0x24b8;function a29_0x37fc(){const _0x299dfd=['getPlatform','TwfKS','fromEntries','failed','../../utils/logPatcher','getHookDetails','suites','qzLoD','uuid','18102690sSYdYK','AbydC','emit','hKymA','getSession','passed','tests','FOaxP','parent','4822930uMfmaL','DtBdb','generic','markedStatus','getBrowserName','browserstack','getHooksForTest','NFdbm','string','../../../helpers/testhub/utils','_beforeAll','appium:app','pid','forEach','kFQDZ','ObBMd','concat','4574142YjMQlY','jaZCi','UMmjd','filter','MMHPJ','TEST_PLATFORM','bs:addPlatformDetails:','oWSdT','LXiNx','js-','ufEJm','rrBjx','../../../helpers/test-observability/utils','17426VBvTfp','639935Faycid','__cloud_provider___','substring','../../../helpers/helper','mapTestHooks','177TCeiJx','getCapabilities','AWyaJ','eaAxX','toJSON','split','ZujlZ','lvuon','ZkfSK','sndjL','../../utils/logReportingAPI','zBmFc','5VPNkHR','GFSrz','app','4573662DyEpMi','hookAnalyticsId','8QJtqOW','_beforeEach','_afterAll','_afterEach','state','indexOf','BiHPh','hvWGc','pending','qOPfA','../../../helpers/test-observability/constants','2728252xcBCVb','EelLg','SXSen','hkOoc','hook:','hook','AxvQf'];a29_0x37fc=function(){return _0x299dfd;};return a29_0x37fc();}(function(_0x265b8d,_0x54a9e2){const _0x18e437=a29_0x24b8,_0xf0220b=_0x265b8d();while(!![]){try{const _0x12d12b=-parseInt(_0x18e437(0xe6))/0x1+-parseInt(_0x18e437(0xe5))/0x2*(parseInt(_0x18e437(0xeb))/0x3)+-parseInt(_0x18e437(0xae))/0x4+parseInt(_0x18e437(0x9e))/0x5*(-parseInt(_0x18e437(0xa1))/0x6)+parseInt(_0x18e437(0xc7))/0x7+-parseInt(_0x18e437(0xa3))/0x8*(-parseInt(_0x18e437(0xd8))/0x9)+parseInt(_0x18e437(0xbe))/0xa;if(_0x12d12b===_0x54a9e2)break;else _0xf0220b['push'](_0xf0220b['shift']());}catch(_0x4de6aa){_0xf0220b['push'](_0xf0220b['shift']());}}}(a29_0x37fc,0x63e43));const {v4:uuidv4}=require(a29_0xf3d315(0xbd)),{name,version}=require('../../../../package.json'),logPatcher=require(a29_0xf3d315(0xb9)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0xf3d315(0x9c)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0xf3d315(0xe4)),{consoleHolder}=require(a29_0xf3d315(0xad)),{getPlatformVersion}=require(a29_0xf3d315(0xe9)),{shouldProcessEventForTesthub}=require(a29_0xf3d315(0xd0));console={},Object['keys'](consoleHolder)[a29_0xf3d315(0xd4)](_0x1b0afd=>{console[_0x1b0afd]=(..._0x105068)=>{BSTestOpsPatcher[_0x1b0afd](..._0x105068);};}),exports['getTestEnv']=()=>{const _0x146a99=a29_0xf3d315,_0x4751f8={'kFQDZ':_0x146a99(0xc9),'hKymA':function(_0x23c6cb){return _0x23c6cb();}};return{'ci':_0x4751f8[_0x146a99(0xd5)],'key':_0x4751f8[_0x146a99(0xc1)](uuidv4),'version':version,'collector':_0x146a99(0xe1)+name};},exports[a29_0xf3d315(0xba)]=_0xce6a98=>{const _0xb6e854=a29_0xf3d315,_0x305bb0={};_0x305bb0[_0xb6e854(0xb1)]=function(_0x25433f,_0x146876){return _0x25433f!==_0x146876;},_0x305bb0[_0xb6e854(0xb0)]=_0xb6e854(0xcf),_0x305bb0[_0xb6e854(0x9f)]=_0xb6e854(0xb2),_0x305bb0['sndjL']='hook';const _0x381044=_0x305bb0;if(!_0xce6a98||_0x381044[_0xb6e854(0xb1)](typeof _0xce6a98,_0x381044['SXSen']))return[null,null];if(_0x381044[_0xb6e854(0xb1)](_0xce6a98[_0xb6e854(0xa8)](_0x381044[_0xb6e854(0x9f)]),-0x1)){const _0x43b3ae=_0xce6a98[_0xb6e854(0x97)](_0x381044['GFSrz']);return[_0x43b3ae[0x0]['slice'](0x0,-0x1)[_0xb6e854(0x97)]('\x22')[0x1],_0x43b3ae[0x1][_0xb6e854(0xe8)](0x1)];}else{if(_0x381044[_0xb6e854(0xb1)](_0xce6a98['indexOf'](_0x381044[_0xb6e854(0x9b)]),-0x1)){const _0x22e186=_0xce6a98[_0xb6e854(0x97)](_0x381044[_0xb6e854(0x9b)]);return[_0x22e186[0x0]['slice'](0x0,-0x1)[_0xb6e854(0x97)]('\x22')[0x1],_0xce6a98];}}return[null,null];},exports[a29_0xf3d315(0xcd)]=_0x94f5d7=>{const _0x218f31=a29_0xf3d315,_0x37b214={'ZkfSK':function(_0x5bd8af,_0x444638){return _0x5bd8af(_0x444638);},'ufEJm':_0x218f31(0xd1),'ObBMd':_0x218f31(0xa5),'DtBdb':_0x218f31(0xa4),'EelLg':_0x218f31(0xa6)};if(!_0x94f5d7||!_0x94f5d7[_0x218f31(0xc6)])return[];const _0x1706e2=[];return[_0x37b214[_0x218f31(0xe2)],_0x37b214[_0x218f31(0xd6)],_0x37b214[_0x218f31(0xc8)],_0x37b214[_0x218f31(0xaf)]][_0x218f31(0xd4)](_0x43448b=>{const _0x56d555=_0x218f31,_0x357464=_0x94f5d7[_0x56d555(0xc6)][_0x43448b]||[];_0x357464[_0x56d555(0xd4)](_0x5ed5c5=>{const _0x57c0bf=_0x56d555;_0x5ed5c5[_0x57c0bf(0xa2)]&&!_0x37b214[_0x57c0bf(0x9a)](isInternalHook,_0x5ed5c5['fn'])&&_0x1706e2['push'](_0x5ed5c5[_0x57c0bf(0xa2)]);});}),[..._0x1706e2,...exports[_0x218f31(0xcd)](_0x94f5d7[_0x218f31(0xc6)])];},exports['mapTestHooks']=_0x34e32a=>{const _0x531e9f=a29_0xf3d315,_0x3d2ac7={'CdpOw':function(_0x28b2aa){return _0x28b2aa();},'oWSdT':function(_0x580cf7,_0x5ef63b){return _0x580cf7===_0x5ef63b;},'hvWGc':_0x531e9f(0xa6),'AxvQf':function(_0x1c6d5f){return _0x1c6d5f();},'mYOho':'_beforeAll','FOaxP':_0x531e9f(0xa5),'jaZCi':'_beforeEach'};if(!_0x34e32a||!_0x34e32a['parent'])return;[_0x3d2ac7['mYOho'],_0x3d2ac7[_0x531e9f(0xc5)],_0x3d2ac7[_0x531e9f(0xd9)],_0x3d2ac7[_0x531e9f(0xaa)]]['forEach'](_0x5e6f00=>{const _0x1cee3e=_0x531e9f,_0x51ba71=_0x34e32a[_0x1cee3e(0xc6)][_0x5e6f00]||[];_0x51ba71['forEach'](_0x23ddcd=>{const _0x4114ef=_0x1cee3e;if(!_0x23ddcd['hookAnalyticsId'])_0x23ddcd['hookAnalyticsId']=_0x3d2ac7['CdpOw'](uuidv4);else _0x23ddcd[_0x4114ef(0xca)]&&_0x3d2ac7[_0x4114ef(0xdf)](_0x5e6f00,_0x3d2ac7['hvWGc'])&&(_0x23ddcd[_0x4114ef(0xa2)]=_0x3d2ac7[_0x4114ef(0xb4)](uuidv4),delete _0x23ddcd[_0x4114ef(0xca)]);});}),exports[_0x531e9f(0xea)](_0x34e32a['parent']);},exports['sendPlatformDetails']=async(_0x41e45f,_0x413aca)=>{const _0x2d0067=a29_0xf3d315,_0x1e9ad5={'aMxaJ':function(_0x54090d){return _0x54090d();},'wluNZ':function(_0x77bd62,_0x1132ca){return _0x77bd62===_0x1132ca;},'MMHPJ':_0x2d0067(0xcc),'UMmjd':_0x2d0067(0xd2),'qOPfA':_0x2d0067(0xa0),'TwfKS':'app-automate','sKFMG':'automate','BiHPh':function(_0x3617bb,_0x392713){return _0x3617bb(_0x392713);},'ZujlZ':function(_0x37593d,_0x254a0a){return _0x37593d===_0x254a0a;},'AWyaJ':'unknown_grid','LXiNx':_0x2d0067(0xdd),'qzLoD':function(_0x30bb92,_0x8e828){return _0x30bb92(_0x8e828);}};try{if(!_0x1e9ad5['aMxaJ'](shouldProcessEventForTesthub))return;const _0x4cc701=await _0x41e45f[_0x2d0067(0xec)](),_0x546b52=await _0x41e45f[_0x2d0067(0xc2)](),_0x2ead08={},_0x400dd5=Object[_0x2d0067(0xb7)](_0x546b52['getCapabilities']()['map_']),_0x3b4b2a={'product':_0x1e9ad5['wluNZ'](global['__cloud_provider___'],_0x1e9ad5[_0x2d0067(0xdc)])?_0x400dd5[_0x1e9ad5[_0x2d0067(0xda)]]||_0x400dd5[_0x1e9ad5[_0x2d0067(0xac)]]?_0x1e9ad5[_0x2d0067(0xb6)]:_0x1e9ad5['sKFMG']:null,'capabilities':_0x400dd5,'platform':_0x4cc701[_0x2d0067(0xb5)](),'platform_version':_0x1e9ad5[_0x2d0067(0xa9)](getPlatformVersion,_0x1e9ad5[_0x2d0067(0x98)](global[_0x2d0067(0xe7)],_0x1e9ad5[_0x2d0067(0xdc)])),'browser':_0x4cc701[_0x2d0067(0xcb)](),'browser_version':_0x4cc701['getBrowserVersion'](),'session_id':_0x546b52[_0x2d0067(0xef)]()};global[_0x2d0067(0xe7)]?_0x2ead08[global[_0x2d0067(0xe7)]]=_0x3b4b2a:_0x2ead08[_0x1e9ad5[_0x2d0067(0xed)]]=_0x3b4b2a,process[_0x2d0067(0xc0)](_0x2d0067(0xde)+process[_0x2d0067(0xd3)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x1e9ad5[_0x2d0067(0xe0)],'http_response':_0x2ead08,'uuid':_0x413aca});}catch(_0x3d508d){_0x1e9ad5[_0x2d0067(0xbc)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x3d508d);}},exports['getHookSkippedTests']=_0x127b4d=>{const _0x3887bc=a29_0xf3d315,_0x1d58b4={};_0x1d58b4[_0x3887bc(0xbf)]=function(_0xa305ed,_0x71b224){return _0xa305ed!==_0x71b224;},_0x1d58b4[_0x3887bc(0xe3)]=_0x3887bc(0xb3),_0x1d58b4[_0x3887bc(0xee)]=function(_0x439160,_0x3fa332){return _0x439160!==_0x3fa332;},_0x1d58b4[_0x3887bc(0x99)]=_0x3887bc(0xc3),_0x1d58b4[_0x3887bc(0x9d)]=function(_0x51bd00,_0x27c536){return _0x51bd00!==_0x27c536;},_0x1d58b4[_0x3887bc(0xce)]=_0x3887bc(0xb8);const _0x272789=_0x1d58b4,_0x5e2fb5=_0x127b4d[_0x3887bc(0xbb)]['reduce']((_0x4035a6,_0x41c6b7)=>{const _0x318d8e=exports['getHookSkippedTests'](_0x41c6b7);return _0x318d8e&&(_0x4035a6=_0x4035a6['concat'](_0x318d8e)),_0x4035a6;},[]),_0x11d3cc=_0x127b4d[_0x3887bc(0xc4)][_0x3887bc(0xdb)](_0xa63bb5=>{const _0x39fae9=_0x3887bc,_0x4aaaad=_0x272789[_0x39fae9(0xbf)](_0xa63bb5['type'],_0x272789[_0x39fae9(0xe3)])&&!_0xa63bb5['markedStatus']&&_0x272789['eaAxX'](_0xa63bb5[_0x39fae9(0xa7)],_0x272789[_0x39fae9(0x99)])&&_0x272789[_0x39fae9(0x9d)](_0xa63bb5[_0x39fae9(0xa7)],_0x272789[_0x39fae9(0xce)])&&!_0xa63bb5[_0x39fae9(0xab)];return _0x4aaaad;});return _0x11d3cc[_0x3887bc(0xd7)](_0x5e2fb5);};
1
+ const a29_0x1f5031=a29_0x2cb4;function a29_0x2cb4(_0x16f5bd,_0x95cb63){const _0x5c5f1e=a29_0x5c5f();return a29_0x2cb4=function(_0x2cb44b,_0x123abb){_0x2cb44b=_0x2cb44b-0x10b;let _0x161aac=_0x5c5f1e[_0x2cb44b];return _0x161aac;},a29_0x2cb4(_0x16f5bd,_0x95cb63);}(function(_0x5d0dec,_0x6ed529){const _0xa2775e=a29_0x2cb4,_0x8a8a7d=_0x5d0dec();while(!![]){try{const _0x1cec29=-parseInt(_0xa2775e(0x11e))/0x1+-parseInt(_0xa2775e(0x132))/0x2*(-parseInt(_0xa2775e(0x144))/0x3)+-parseInt(_0xa2775e(0x119))/0x4*(parseInt(_0xa2775e(0x15c))/0x5)+parseInt(_0xa2775e(0x166))/0x6+-parseInt(_0xa2775e(0x146))/0x7*(-parseInt(_0xa2775e(0x11a))/0x8)+-parseInt(_0xa2775e(0x159))/0x9*(parseInt(_0xa2775e(0x141))/0xa)+-parseInt(_0xa2775e(0x145))/0xb;if(_0x1cec29===_0x6ed529)break;else _0x8a8a7d['push'](_0x8a8a7d['shift']());}catch(_0x1636de){_0x8a8a7d['push'](_0x8a8a7d['shift']());}}}(a29_0x5c5f,0x7c9ba));const {v4:uuidv4}=require(a29_0x1f5031(0x147)),{name,version}=require(a29_0x1f5031(0x12b)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x1f5031(0x152)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x1f5031(0x125)),{consoleHolder}=require(a29_0x1f5031(0x131)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a29_0x1f5031(0x13c));function a29_0x5c5f(){const _0x4b76a8=['toJSON','nkJha','getCapabilities','automate','pending','qCaip','YPshs','map_','BQjhF','JjrPS','rypMd','browserstack','NpYcT','OvvDt','10748APCFjB','3099264QFKTAL','getPlatform','concat','indexOf','141329WOxNkK','VLuFt','parent','emUCb','RVdqb','tests','gmHOj','../../../helpers/test-observability/utils','hookAnalyticsId','slice','aWxEP','substring','itMGK','../../../../package.json','getSession','suites','fzbZm','js-','getHookDetails','../../../helpers/test-observability/constants','1305682MyIddw','mapTestHooks','lMCRp','PkdJX','toISOString','DvTGQ','hook','keys','generic','MuetR','../../../helpers/testhub/utils','string','__cloud_provider___','AaTji','reduce','40bAPsIH','split','app','3pqINDc','3356881blCEuj','14krPMJo','uuid','_beforeEach','mKXfg','JSCQO','getBrowserName','oYMnL','getHookSkippedTests','markedStatus','WihJb','_beforeAll','state','../../utils/logReportingAPI','appium:app','passed','lDugz','_afterAll','idfxy','unknown_grid','959562UwabRt','forEach','zdRst','1625VumlTD','getHooksForTest','failed','_afterEach','VcnGq','push','filter','getBrowserVersion','BOuFu','sendPlatformDetails','4973904NXYUsi','NGVEN'];a29_0x5c5f=function(){return _0x4b76a8;};return a29_0x5c5f();}console={},Object[a29_0x1f5031(0x139)](consoleHolder)['forEach'](_0x2d4e53=>{console[_0x2d4e53]=(..._0x348a48)=>{BSTestOpsPatcher[_0x2d4e53](..._0x348a48);};}),exports['getTestEnv']=()=>{const _0x3a8626=a29_0x1f5031,_0x325fe1={'JSCQO':_0x3a8626(0x13a),'idfxy':function(_0x860330){return _0x860330();}};return{'ci':_0x325fe1[_0x3a8626(0x14a)],'key':_0x325fe1[_0x3a8626(0x157)](uuidv4),'version':version,'collector':_0x3a8626(0x12f)+name};},exports[a29_0x1f5031(0x130)]=_0x3c478d=>{const _0x3fc0dc=a29_0x1f5031,_0x31e5d7={};_0x31e5d7['JjrPS']=function(_0x40d253,_0xd15634){return _0x40d253!==_0xd15634;},_0x31e5d7['nWONo']=_0x3fc0dc(0x13d),_0x31e5d7[_0x3fc0dc(0x13f)]=function(_0x5184a4,_0x1da4d6){return _0x5184a4!==_0x1da4d6;},_0x31e5d7[_0x3fc0dc(0x10c)]='hook:',_0x31e5d7[_0x3fc0dc(0x149)]=function(_0xb5696e,_0x14bf64){return _0xb5696e!==_0x14bf64;},_0x31e5d7[_0x3fc0dc(0x167)]=_0x3fc0dc(0x138);const _0x32517d=_0x31e5d7;if(!_0x3c478d||_0x32517d[_0x3fc0dc(0x114)](typeof _0x3c478d,_0x32517d['nWONo']))return[null,null];if(_0x32517d[_0x3fc0dc(0x13f)](_0x3c478d['indexOf'](_0x32517d[_0x3fc0dc(0x10c)]),-0x1)){const _0x4c2a8a=_0x3c478d['split'](_0x32517d['nkJha']);return[_0x4c2a8a[0x0][_0x3fc0dc(0x127)](0x0,-0x1)[_0x3fc0dc(0x142)]('\x22')[0x1],_0x4c2a8a[0x1][_0x3fc0dc(0x129)](0x1)];}else{if(_0x32517d[_0x3fc0dc(0x149)](_0x3c478d[_0x3fc0dc(0x11d)](_0x32517d['NGVEN']),-0x1)){const _0x4454b8=_0x3c478d[_0x3fc0dc(0x142)](_0x32517d[_0x3fc0dc(0x167)]);return[_0x4454b8[0x0][_0x3fc0dc(0x127)](0x0,-0x1)[_0x3fc0dc(0x142)]('\x22')[0x1],_0x3c478d];}}return[null,null];},exports['getHooksForTest']=_0x451a93=>{const _0x396214=a29_0x1f5031,_0x29e7d1={'lMCRp':function(_0x2585ac,_0x4eb314){return _0x2585ac(_0x4eb314);},'oYMnL':'_beforeAll','BQjhF':_0x396214(0x156),'BOuFu':_0x396214(0x148),'VcnGq':_0x396214(0x15f)};if(!_0x451a93||!_0x451a93[_0x396214(0x120)])return[];const _0x52f0f7=[];return[_0x29e7d1[_0x396214(0x14c)],_0x29e7d1[_0x396214(0x113)],_0x29e7d1[_0x396214(0x164)],_0x29e7d1[_0x396214(0x160)]][_0x396214(0x15a)](_0x38d848=>{const _0xdf54b8=_0x396214,_0x2071a6=_0x451a93[_0xdf54b8(0x120)][_0x38d848]||[];_0x2071a6[_0xdf54b8(0x15a)](_0x304d40=>{const _0x34529e=_0xdf54b8;_0x304d40[_0x34529e(0x126)]&&!_0x29e7d1[_0x34529e(0x134)](isInternalHook,_0x304d40['fn'])&&_0x52f0f7[_0x34529e(0x161)](_0x304d40['hookAnalyticsId']);});}),[..._0x52f0f7,...exports[_0x396214(0x15d)](_0x451a93['parent'])];},exports[a29_0x1f5031(0x133)]=_0x3d0253=>{const _0x596b1a=a29_0x1f5031,_0x24e756={'aWxEP':function(_0x5382dd){return _0x5382dd();},'YPshs':function(_0x125ca5,_0x199c12){return _0x125ca5===_0x199c12;},'NpYcT':_0x596b1a(0x15f),'MuetR':_0x596b1a(0x150),'DvTGQ':_0x596b1a(0x156),'rypMd':_0x596b1a(0x148)};if(!_0x3d0253||!_0x3d0253[_0x596b1a(0x120)])return;[_0x24e756[_0x596b1a(0x13b)],_0x24e756[_0x596b1a(0x137)],_0x24e756[_0x596b1a(0x115)],_0x24e756[_0x596b1a(0x117)]][_0x596b1a(0x15a)](_0x701e42=>{const _0x50398a=_0x596b1a,_0x12b13b=_0x3d0253[_0x50398a(0x120)][_0x701e42]||[];_0x12b13b[_0x50398a(0x15a)](_0x30ec4f=>{const _0x2eb31b=_0x50398a;if(!_0x30ec4f[_0x2eb31b(0x126)])_0x30ec4f[_0x2eb31b(0x126)]=_0x24e756[_0x2eb31b(0x128)](uuidv4);else _0x30ec4f[_0x2eb31b(0x14e)]&&_0x24e756[_0x2eb31b(0x111)](_0x701e42,_0x24e756['NpYcT'])&&(_0x30ec4f[_0x2eb31b(0x126)]=_0x24e756['aWxEP'](uuidv4),delete _0x30ec4f[_0x2eb31b(0x14e)]);});}),exports['mapTestHooks'](_0x3d0253['parent']);},exports[a29_0x1f5031(0x165)]=async(_0x17f163,_0x36fd36)=>{const _0x28ac0b=a29_0x1f5031,_0x342a38={'ljlXx':function(_0x49c675){return _0x49c675();},'mUTJM':function(_0x410354,_0x52a5a6){return _0x410354===_0x52a5a6;},'fzbZm':_0x28ac0b(0x116),'WihJb':_0x28ac0b(0x153),'zdRst':_0x28ac0b(0x143),'PkdJX':'app-automate','qCaip':_0x28ac0b(0x10e),'lbwXc':function(_0x1a8ec2,_0x25a0cb){return _0x1a8ec2(_0x25a0cb);},'itMGK':function(_0x49a609,_0x2154e6){return _0x49a609===_0x2154e6;},'Zhdaz':_0x28ac0b(0x158),'XKhcr':'TEST_PLATFORM','lDugz':function(_0x21048a,_0x3042d4){return _0x21048a(_0x3042d4);}};try{if(!_0x342a38['ljlXx'](shouldProcessEventForTesthub))return;const _0x89a1b6=await _0x17f163['getCapabilities'](),_0x1c3098=await _0x17f163[_0x28ac0b(0x12c)](),_0x39fb95={},_0x384ad1=Object['fromEntries'](_0x1c3098[_0x28ac0b(0x10d)]()[_0x28ac0b(0x112)]),_0x428f9d={'product':_0x342a38['mUTJM'](global['__cloud_provider___'],_0x342a38['fzbZm'])?_0x384ad1[_0x342a38[_0x28ac0b(0x14f)]]||_0x384ad1[_0x342a38[_0x28ac0b(0x15b)]]?_0x342a38[_0x28ac0b(0x135)]:_0x342a38[_0x28ac0b(0x110)]:null,'capabilities':_0x384ad1,'platform':_0x89a1b6[_0x28ac0b(0x11b)](),'platform_version':_0x342a38['lbwXc'](getPlatformVersion,_0x342a38[_0x28ac0b(0x12a)](global[_0x28ac0b(0x13e)],_0x342a38[_0x28ac0b(0x12e)])),'browser':_0x89a1b6[_0x28ac0b(0x14b)](),'browser_version':_0x89a1b6[_0x28ac0b(0x163)](),'session_id':_0x1c3098[_0x28ac0b(0x10b)]()};global[_0x28ac0b(0x13e)]?_0x39fb95[global[_0x28ac0b(0x13e)]]=_0x428f9d:_0x39fb95[_0x342a38['Zhdaz']]=_0x428f9d,process['emit']('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x28ac0b(0x136)](),'level':null,'message':null,'kind':_0x342a38['XKhcr'],'http_response':_0x39fb95,'uuid':_0x36fd36});}catch(_0x1825f2){_0x342a38[_0x28ac0b(0x155)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x1825f2);}},exports[a29_0x1f5031(0x14d)]=_0x49c3f9=>{const _0x571d55=a29_0x1f5031,_0x43b703={};_0x43b703['RVdqb']=function(_0x4b01b7,_0x4420e1){return _0x4b01b7!==_0x4420e1;},_0x43b703[_0x571d55(0x124)]=_0x571d55(0x138),_0x43b703[_0x571d55(0x121)]=_0x571d55(0x154),_0x43b703['OvvDt']=function(_0x19d5e4,_0x620535){return _0x19d5e4!==_0x620535;},_0x43b703[_0x571d55(0x11f)]=_0x571d55(0x15e);const _0xb7e615=_0x43b703,_0x2506c4=_0x49c3f9[_0x571d55(0x12d)][_0x571d55(0x140)]((_0x5b9e5f,_0x17e7ef)=>{const _0x4270af=_0x571d55,_0xd08a4c=exports[_0x4270af(0x14d)](_0x17e7ef);return _0xd08a4c&&(_0x5b9e5f=_0x5b9e5f[_0x4270af(0x11c)](_0xd08a4c)),_0x5b9e5f;},[]),_0x4336a5=_0x49c3f9[_0x571d55(0x123)][_0x571d55(0x162)](_0x2104cf=>{const _0x400b55=_0x571d55,_0x323b8f=_0xb7e615['RVdqb'](_0x2104cf['type'],_0xb7e615['gmHOj'])&&!_0x2104cf[_0x400b55(0x14e)]&&_0xb7e615[_0x400b55(0x122)](_0x2104cf[_0x400b55(0x151)],_0xb7e615['emUCb'])&&_0xb7e615[_0x400b55(0x118)](_0x2104cf[_0x400b55(0x151)],_0xb7e615[_0x400b55(0x11f)])&&!_0x2104cf[_0x400b55(0x10f)];return _0x323b8f;});return _0x4336a5[_0x571d55(0x11c)](_0x2506c4);};
@@ -1 +1 @@
1
- function a30_0x3a0d(_0x57d32b,_0x2ab28d){const _0x35bbdb=a30_0x35bb();return a30_0x3a0d=function(_0x3a0d57,_0x442fc4){_0x3a0d57=_0x3a0d57-0x168;let _0x4fc045=_0x35bbdb[_0x3a0d57];return _0x4fc045;},a30_0x3a0d(_0x57d32b,_0x2ab28d);}const a30_0x4081b4=a30_0x3a0d;(function(_0x4b9345,_0x1e6feb){const _0x5b61b5=a30_0x3a0d,_0x508cfc=_0x4b9345();while(!![]){try{const _0x402f3a=-parseInt(_0x5b61b5(0x176))/0x1+parseInt(_0x5b61b5(0x17d))/0x2*(-parseInt(_0x5b61b5(0x1c2))/0x3)+parseInt(_0x5b61b5(0x199))/0x4*(-parseInt(_0x5b61b5(0x1b7))/0x5)+-parseInt(_0x5b61b5(0x17e))/0x6*(-parseInt(_0x5b61b5(0x1d0))/0x7)+-parseInt(_0x5b61b5(0x1b3))/0x8+parseInt(_0x5b61b5(0x195))/0x9*(parseInt(_0x5b61b5(0x178))/0xa)+parseInt(_0x5b61b5(0x1c8))/0xb;if(_0x402f3a===_0x1e6feb)break;else _0x508cfc['push'](_0x508cfc['shift']());}catch(_0x18881f){_0x508cfc['push'](_0x508cfc['shift']());}}}(a30_0x35bb,0xe2936));const util=require(a30_0x4081b4(0x193)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x4081b4(0x1ab)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a30_0x4081b4(0x1d9)),{isBrowserstackInfra,markSessionStatus}=require(a30_0x4081b4(0x16c)),{isTestObservabilitySession}=require(a30_0x4081b4(0x173)),PerformanceTester=require(a30_0x4081b4(0x18a)),scripts=require(a30_0x4081b4(0x1d7)),globals=require('../../helpers/globals'),logger=require(a30_0x4081b4(0x1dd))['winstonLogger'],{shouldProcessEventForTesthub}=require(a30_0x4081b4(0x19f)),testHubConstants=require(a30_0x4081b4(0x17f));function a30_0x35bb(){const _0x49c02a=['qDhLh','GqwTz','662237FMmoHP','\x22}}','2453510QnNxmV','err','getCurrentUrl','HMbZR','yyYlX','2xbcxik','6BhdHqs','../../helpers/testhub/constants','stringify','capabilities','MiRHL','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','shift','then','currentTest','Swifm','CLotD','../../helpers/performance-tester','executeAsyncScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','percyCaptureMode','startMonitoring','__drivers','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','vsrDo','passed','util','protocol','45uAMnWL','ENV_VAR','thTestRunUuid','testAnalyticsId','8tPsSyJ','browserstackSessionName','DHNJF','FuzUu','thJwtToken','env','../../helpers/testhub/utils','shouldScanTestForAccessibility','JYubp','isAccessibilityPlatform','http:','YuLJm','failed','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','PFeiM','zMZzx','push','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/helper','appium:app','saveTestResults','yvUFI','WGonG','info','timeout','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','14302736vZFrLv','ObservabilitySync:','bmzbp','bstackA11yShouldScan','2463905VIxCyC','wgzqW','AXwEb','session_','ktTpL','percy',',\x22level\x22:\x20\x22','xQiMw','executeScript','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','jqLFf','892452GdPbtN','isArray','BROWSERSTACK_TESTHUB_UUID','Pvsds','eWWFo','getGlobal','37603885zvBPgT','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','accessibilityScanStarted','SZLKO','wSNvO','message','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','__sessionFailed','111223nvhjfu','stopMonitoring','format','app','titlePath','\x20-\x20','Performing\x20scan\x20before\x20saving\x20results','../../helpers/accessibility-automation/scripts','__error_messages__','./test-observability/mochaUtils','testcase','qNzLI','driverCleanup','../../helpers/logger','debug','join','buWTm','UiiOc','../../helpers/helper','length','GpCTm','\x20|\x20','Krxbp','Failed:\x20','mochaHooks','../../helpers/test-observability/utils'];a30_0x35bb=function(){return _0x49c02a;};return a30_0x35bb();}exports[a30_0x4081b4(0x172)]={'beforeAll'(){const _0x1fc3f2=a30_0x4081b4,_0x45a1ca={'Pvsds':function(_0x42af77,_0x643e17,_0x20311c,_0x107cb8){return _0x42af77(_0x643e17,_0x20311c,_0x107cb8);},'Tpipu':_0x1fc3f2(0x1a5),'UiiOc':_0x1fc3f2(0x16f),'LIoKX':function(_0x3746a9,_0x4361eb,_0xb56f3a){return _0x3746a9(_0x4361eb,_0xb56f3a);},'jqLFf':'passed','WGonG':function(_0x51e6a4){return _0x51e6a4();},'buWTm':function(_0x3b5448,_0x1ff0fe,_0x1530e5){return _0x3b5448(_0x1ff0fe,_0x1530e5);}};PerformanceTester[_0x1fc3f2(0x18e)]();const _0x3d8e86='browserstack internal helper hook';global[_0x1fc3f2(0x1d8)]=[],global[_0x1fc3f2(0x1cf)]=![],global[_0x1fc3f2(0x1dc)]=async()=>{const _0xc6ef93=_0x1fc3f2;let _0x3f5155=![];try{await global['__drivers'][0x0][_0xc6ef93(0x1ba)],_0x3f5155=!![],global[_0xc6ef93(0x1cf)]?await _0x45a1ca[_0xc6ef93(0x1c5)](markSessionStatus,global[_0xc6ef93(0x18f)][0x0],_0x45a1ca['Tpipu'],global[_0xc6ef93(0x1d8)][_0xc6ef93(0x169)](_0x45a1ca[_0xc6ef93(0x16b)])):await _0x45a1ca['LIoKX'](markSessionStatus,global[_0xc6ef93(0x18f)][0x0],_0x45a1ca[_0xc6ef93(0x1c1)]);}catch(_0xfbc1b0){}global[_0xc6ef93(0x1d8)]=[],global['__sessionFailed']=![];if(_0x3f5155)try{try{_0x45a1ca[_0xc6ef93(0x1af)](shouldProcessEventForTesthub)&&(global[_0xc6ef93(0x18f)][0x0]&&await _0x45a1ca[_0xc6ef93(0x16a)](sendPlatformDetails,global[_0xc6ef93(0x18f)][0x0],this['currentTest']?this[_0xc6ef93(0x187)][_0xc6ef93(0x198)]:null));}catch{}await global[_0xc6ef93(0x18f)][0x0]['initQuit']();}catch(_0x6fa5e7){}};},'beforeEach'(_0xbfd60a){const _0x5a61e3=a30_0x4081b4,_0x1a1d01={'xQiMw':function(_0x9ff839,_0x4ceaa3){return _0x9ff839>_0x4ceaa3;},'yyYlX':function(_0x4fc321,_0x333ec1){return _0x4fc321>_0x333ec1;},'Swifm':_0x5a61e3(0x1d5),'wgzqW':function(_0x3b6761,_0x26a37d,_0x518596){return _0x3b6761(_0x26a37d,_0x518596);},'wSNvO':_0x5a61e3(0x1b6),'szKIy':function(_0x5e921c){return _0x5e921c();},'zNUrk':_0x5a61e3(0x1a2),'SZLKO':function(_0x197a7e,_0x2151e9){return _0x197a7e===_0x2151e9;},'lZJSW':_0x5a61e3(0x1a3),'bmzbp':'https:','qDhLh':_0x5a61e3(0x1ce),'gerJt':'Automate\x20test\x20case\x20execution\x20has\x20started.','DHNJF':function(_0xb84fff){return _0xb84fff();}};new Promise(async _0x1c569e=>{const _0xbc4777=_0x5a61e3,_0x325bbb='browserstack internal helper hook';let _0x533ee4=!![];try{_0x1a1d01[_0xbc4777(0x1be)](global[_0xbc4777(0x18f)]['length'],0x1)&&(await global['driverCleanup'](),global[_0xbc4777(0x18f)][_0xbc4777(0x185)]()),_0x1a1d01[_0xbc4777(0x17c)](global['__drivers'][0x0]['quitCount_'],0x0)&&(_0x533ee4=![],await global[_0xbc4777(0x1dc)]());}catch{}try{Array[_0xbc4777(0x1c3)](global[_0xbc4777(0x18f)])&&global[_0xbc4777(0x18f)][0x0]&&(global[_0xbc4777(0x18f)][0x0][_0xbc4777(0x19a)]=this['currentTest'][_0xbc4777(0x1d4)]()[_0xbc4777(0x169)](_0x1a1d01[_0xbc4777(0x188)])),global['browserstackSessionName']=this['currentTest']['titlePath']()[_0xbc4777(0x169)](_0x1a1d01['Swifm']);}catch(_0x1c7e52){logger[_0xbc4777(0x168)](_0xbc4777(0x1aa)+_0x1c7e52);}this[_0xbc4777(0x187)][_0xbc4777(0x1a0)]=_0x1a1d01[_0xbc4777(0x1b8)](shouldScanTestForAccessibility,this[_0xbc4777(0x187)][_0xbc4777(0x1d4)](),!![]),globals[_0xbc4777(0x183)](_0x1a1d01[_0xbc4777(0x1cc)],this[_0xbc4777(0x187)]['shouldScanTestForAccessibility']),this[_0xbc4777(0x187)][_0xbc4777(0x1ca)]=!![];if(_0x1a1d01['szKIy'](isAccessibilityAutomationSession)&&_0x533ee4&&Array[_0xbc4777(0x1c3)](global[_0xbc4777(0x18f)])&&_0x1a1d01[_0xbc4777(0x17c)](global[_0xbc4777(0x18f)][_0xbc4777(0x16d)],0x0)&&globals['getGlobal'](_0x1a1d01['zNUrk']))try{const _0x11b362=await global[_0xbc4777(0x18f)][0x0][_0xbc4777(0x1ba)];if(_0x11b362){let _0x3c7b87=!![];const _0x18ade8=await global[_0xbc4777(0x18f)][0x0][_0xbc4777(0x17a)]();let _0x561f84;try{_0x561f84=new URL(_0x18ade8);}catch(_0x51256e){_0x3c7b87=![];}_0x3c7b87=_0x1a1d01[_0xbc4777(0x1cb)](_0x561f84[_0xbc4777(0x194)],_0x1a1d01['lZJSW'])||_0x1a1d01[_0xbc4777(0x1cb)](_0x561f84[_0xbc4777(0x194)],_0x1a1d01[_0xbc4777(0x1b5)]),_0x3c7b87&&(this[_0xbc4777(0x187)][_0xbc4777(0x1a0)]&&logger[_0xbc4777(0x1b0)](_0x1a1d01[_0xbc4777(0x174)])),this[_0xbc4777(0x187)][_0xbc4777(0x1ca)]=this[_0xbc4777(0x187)][_0xbc4777(0x1a0)],this[_0xbc4777(0x187)]['shouldScanTestForAccessibility']&&logger[_0xbc4777(0x1b0)](_0x1a1d01['gerJt']);}}catch(_0x4a0310){logger['error'](_0xbc4777(0x1c0)+util[_0xbc4777(0x1d2)](_0x4a0310));}_0x1a1d01[_0xbc4777(0x19b)](_0x1c569e);})['then'](_0xbfd60a);},'afterEach'(_0x47e24b){const _0x2105bf=a30_0x4081b4,_0xa753a3={'GpCTm':function(_0x2fcab2,_0x4de38f){return _0x2fcab2>_0x4de38f;},'cyvNq':function(_0x493800,_0xd432){return _0x493800===_0xd432;},'JYubp':_0x2105bf(0x1da),'VcVZC':function(_0x1e1314,_0x351744){return _0x1e1314>_0x351744;},'Krxbp':_0x2105bf(0x1ac),'VFccC':function(_0x16c8e1,_0x415062,_0x34a045,_0x586653){return _0x16c8e1(_0x415062,_0x34a045,_0x586653);},'FuzUu':_0x2105bf(0x1d5),'vsrDo':function(_0x38a320,_0x40b995){return _0x38a320!==_0x40b995;},'tdcoy':_0x2105bf(0x192),'CLotD':function(_0x51ba39,_0x363a8d,_0xb691a6){return _0x51ba39(_0x363a8d,_0xb691a6);},'qNzLI':function(_0x556f38,_0x5925f4){return _0x556f38+_0x5925f4;},'YuLJm':_0x2105bf(0x171),'AXwEb':'error','ktTpL':'Passed','MiRHL':_0x2105bf(0x1b0),'yvUFI':_0x2105bf(0x1a2),'eWWFo':_0x2105bf(0x1b6),'zMZzx':_0x2105bf(0x190),'FIoTD':_0x2105bf(0x1d6),'PFeiM':_0x2105bf(0x1c9),'HMbZR':function(_0x260574){return _0x260574();},'OltAy':_0x2105bf(0x168)},_0x2b697b='browserstack internal helper hook';this[_0x2105bf(0x1b1)](0xfde8);const _0x31a9fd=async(_0xf8692d,_0x3e559b)=>{const _0x2c9768=_0x2105bf;await global[_0x2c9768(0x18f)][0x0][_0x2c9768(0x1bf)](_0x2c9768(0x184)+_0xf8692d+_0x2c9768(0x1bd)+_0x3e559b+_0x2c9768(0x177));};new Promise(async _0x26cfea=>{const _0x6b6d14=_0x2105bf;try{_0xa753a3[_0x6b6d14(0x16e)](global['__drivers']['length'],0x1)&&(await global[_0x6b6d14(0x1dc)](),global[_0x6b6d14(0x18f)][_0x6b6d14(0x185)](),global[_0x6b6d14(0x1d8)]=[],global['__sessionFailed']=![]);try{if(global[_0x6b6d14(0x1bc)]&&_0xa753a3['cyvNq'](global[_0x6b6d14(0x18d)],_0xa753a3[_0x6b6d14(0x1a1)])&&global[_0x6b6d14(0x18f)][0x0]){const _0x1499dc=_0xa753a3['VcVZC'](global['capabilities'][_0x6b6d14(0x16d)],0x0)?!!global[_0x6b6d14(0x181)][0x0][_0x6b6d14(0x1d3)]||!!global['capabilities'][0x0][_0xa753a3[_0x6b6d14(0x170)]]:![],_0x3b6f22={};_0x3b6f22['app']=_0x1499dc,await _0xa753a3['VFccC'](percyAutoCapture,global[_0x6b6d14(0x18f)][0x0],_0xa753a3[_0x6b6d14(0x1a1)],_0x3b6f22);}}catch(_0x125cb8){}!global['__skipSessionName']&&(await global['__drivers'][0x0][_0x6b6d14(0x1bf)](_0x6b6d14(0x18c)+JSON[_0x6b6d14(0x180)](this[_0x6b6d14(0x187)][_0x6b6d14(0x1d4)]()[_0x6b6d14(0x169)](_0xa753a3[_0x6b6d14(0x19c)]))+'}}'),global[_0x6b6d14(0x18f)][0x0]['sessionNameSet__']=!![]);const _0x23cfb9=_0xa753a3[_0x6b6d14(0x191)](this[_0x6b6d14(0x187)]['state'],_0xa753a3['tdcoy']);_0x23cfb9?(global[_0x6b6d14(0x1cf)]=!![],global[_0x6b6d14(0x1d8)][_0x6b6d14(0x1a9)](this[_0x6b6d14(0x187)][_0x6b6d14(0x179)]['message']),await _0xa753a3['CLotD'](_0x31a9fd,JSON[_0x6b6d14(0x180)](_0xa753a3[_0x6b6d14(0x1db)](_0xa753a3[_0x6b6d14(0x1a4)],this[_0x6b6d14(0x187)][_0x6b6d14(0x179)][_0x6b6d14(0x1cd)])),_0xa753a3[_0x6b6d14(0x1b9)])):await _0xa753a3[_0x6b6d14(0x189)](_0x31a9fd,JSON['stringify'](_0xa753a3[_0x6b6d14(0x1bb)]),_0xa753a3[_0x6b6d14(0x182)]);}catch(_0x153d9c){}try{if(this[_0x6b6d14(0x187)][_0x6b6d14(0x1ca)]&&globals[_0x6b6d14(0x1c7)](_0xa753a3[_0x6b6d14(0x1ae)])&&globals['getGlobal'](_0xa753a3[_0x6b6d14(0x1c6)])){logger[_0x6b6d14(0x1b0)](_0xa753a3[_0x6b6d14(0x1a8)]);const _0x33cecc={};_0x33cecc[_0x6b6d14(0x197)]=this[_0x6b6d14(0x187)][_0x6b6d14(0x198)],_0x33cecc['thBuildUuid']=process[_0x6b6d14(0x19e)][testHubConstants[_0x6b6d14(0x196)][_0x6b6d14(0x1c4)]],_0x33cecc[_0x6b6d14(0x19d)]=process[_0x6b6d14(0x19e)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x284c1c=_0x33cecc;logger[_0x6b6d14(0x168)](_0x6b6d14(0x1b2)+JSON[_0x6b6d14(0x180)](_0x284c1c)),logger[_0x6b6d14(0x168)](_0xa753a3['FIoTD']),logger[_0x6b6d14(0x168)](util[_0x6b6d14(0x1d2)](await global[_0x6b6d14(0x18f)][0x0][_0x6b6d14(0x18b)](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global[_0x6b6d14(0x18f)][0x0][_0x6b6d14(0x18b)](scripts[_0x6b6d14(0x1ad)],_0x284c1c),logger[_0x6b6d14(0x1b0)](_0xa753a3[_0x6b6d14(0x1a7)]);}}catch(_0x143167){logger['error'](_0x6b6d14(0x1a6)+this[_0x6b6d14(0x187)]['titlePath']()+'.\x20Error\x20:',_0x143167);}try{try{if(_0xa753a3[_0x6b6d14(0x17b)](shouldProcessEventForTesthub)){global[_0x6b6d14(0x18f)][0x0]&&await _0xa753a3[_0x6b6d14(0x189)](sendPlatformDetails,global[_0x6b6d14(0x18f)][0x0],this['currentTest']?this[_0x6b6d14(0x187)]['testAnalyticsId']:null);if(_0xa753a3['HMbZR'](isBrowserstackInfra)){const _0x21c6dc=_0x6b6d14(0x1b4)+Date['now']();await _0xa753a3['CLotD'](_0x31a9fd,JSON['stringify'](_0x21c6dc),_0xa753a3['OltAy']);}}}catch{}_0xa753a3[_0x6b6d14(0x16e)](global[_0x6b6d14(0x18f)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x16d910){}_0xa753a3['HMbZR'](_0x26cfea);})['then'](()=>_0x47e24b());},'afterAll'(_0x2b1ba3){const _0x8155b0=a30_0x4081b4,_0x43f483={'GqwTz':function(_0x56fc55){return _0x56fc55();}},_0x4de825='browserstack internal helper hook';this[_0x8155b0(0x1b1)](0xfde8),new Promise(async _0x1aa389=>{const _0x41ecdf=_0x8155b0;PerformanceTester[_0x41ecdf(0x1d1)](),await global[_0x41ecdf(0x1dc)](),_0x43f483[_0x41ecdf(0x175)](_0x1aa389);})[_0x8155b0(0x186)](()=>_0x2b1ba3());}};
1
+ const a30_0x5ce6bf=a30_0x49e7;(function(_0x160fe4,_0x2534b2){const _0x4db779=a30_0x49e7,_0x5610f4=_0x160fe4();while(!![]){try{const _0x46bb11=parseInt(_0x4db779(0x21f))/0x1*(parseInt(_0x4db779(0x222))/0x2)+parseInt(_0x4db779(0x1f1))/0x3+-parseInt(_0x4db779(0x1ce))/0x4*(parseInt(_0x4db779(0x208))/0x5)+parseInt(_0x4db779(0x21e))/0x6*(parseInt(_0x4db779(0x1ed))/0x7)+parseInt(_0x4db779(0x228))/0x8+-parseInt(_0x4db779(0x219))/0x9*(parseInt(_0x4db779(0x1bd))/0xa)+-parseInt(_0x4db779(0x1c2))/0xb*(parseInt(_0x4db779(0x230))/0xc);if(_0x46bb11===_0x2534b2)break;else _0x5610f4['push'](_0x5610f4['shift']());}catch(_0x71ee04){_0x5610f4['push'](_0x5610f4['shift']());}}}(a30_0x4da7,0x5cabe));function a30_0x49e7(_0x47f03c,_0x3b6586){const _0x4da7e3=a30_0x4da7();return a30_0x49e7=function(_0x49e792,_0xebf403){_0x49e792=_0x49e792-0x1bb;let _0x1cdc1d=_0x4da7e3[_0x49e792];return _0x1cdc1d;},a30_0x49e7(_0x47f03c,_0x3b6586);}const util=require(a30_0x5ce6bf(0x1be)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a30_0x5ce6bf(0x20a)),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),PerformanceTester=require(a30_0x5ce6bf(0x1d7)),scripts=require(a30_0x5ce6bf(0x1dc)),globals=require('../../helpers/globals'),logger=require(a30_0x5ce6bf(0x22d))[a30_0x5ce6bf(0x200)],{shouldProcessEventForTesthub}=require(a30_0x5ce6bf(0x215)),testHubConstants=require('../../helpers/testhub/constants');exports[a30_0x5ce6bf(0x1bf)]={'beforeAll'(){const _0x12c6e9=a30_0x5ce6bf,_0x42f6ac={'AGTfF':function(_0x4e6a51,_0x3dbe67,_0xcb47b4,_0x44da1d){return _0x4e6a51(_0x3dbe67,_0xcb47b4,_0x44da1d);},'FUPhJ':_0x12c6e9(0x1e8),'COEcz':_0x12c6e9(0x203),'GpCVK':function(_0x13f295,_0x13875e,_0x4ce330){return _0x13f295(_0x13875e,_0x4ce330);},'zJJel':_0x12c6e9(0x1fc),'tjiIr':function(_0x4f6370){return _0x4f6370();},'HgbvW':function(_0x77c838,_0xcf6ec6,_0x4027b5){return _0x77c838(_0xcf6ec6,_0x4027b5);}};PerformanceTester[_0x12c6e9(0x1fe)]();const _0x4ede9b='browserstack internal helper hook';global[_0x12c6e9(0x20b)]=[],global[_0x12c6e9(0x211)]=![],global['driverCleanup']=async()=>{const _0x4a7e35=_0x12c6e9;let _0x332948=![];try{await global[_0x4a7e35(0x1cd)][0x0]['session_'],_0x332948=!![],global[_0x4a7e35(0x211)]?await _0x42f6ac[_0x4a7e35(0x1e3)](markSessionStatus,global[_0x4a7e35(0x1cd)][0x0],_0x42f6ac[_0x4a7e35(0x217)],global[_0x4a7e35(0x20b)][_0x4a7e35(0x1bc)](_0x42f6ac['COEcz'])):await _0x42f6ac[_0x4a7e35(0x22a)](markSessionStatus,global[_0x4a7e35(0x1cd)][0x0],_0x42f6ac[_0x4a7e35(0x1da)]);}catch(_0x2c1ceb){}global['__error_messages__']=[],global[_0x4a7e35(0x211)]=![];if(_0x332948)try{try{_0x42f6ac['tjiIr'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x42f6ac[_0x4a7e35(0x1f9)](sendPlatformDetails,global[_0x4a7e35(0x1cd)][0x0],this[_0x4a7e35(0x1ca)]?this[_0x4a7e35(0x1ca)][_0x4a7e35(0x1c6)]:null));}catch{}await global[_0x4a7e35(0x1cd)][0x0][_0x4a7e35(0x20c)]();}catch(_0x57ea30){}};},'beforeEach'(_0x13d840){const _0x3c2ac5=a30_0x5ce6bf,_0x546b73={'DwaRS':function(_0x333b06,_0x4fb2a1){return _0x333b06>_0x4fb2a1;},'zAkmB':function(_0x4508a3,_0x36ef8f){return _0x4508a3>_0x36ef8f;},'zBLQt':'\x20-\x20','aTFFc':function(_0x83aa8b,_0xcf990f,_0x19a216){return _0x83aa8b(_0xcf990f,_0x19a216);},'pOtIt':_0x3c2ac5(0x1e9),'jJbKe':function(_0x5a8a34){return _0x5a8a34();},'iZtUL':function(_0x1a2f22,_0x35a392){return _0x1a2f22>_0x35a392;},'bJXFD':_0x3c2ac5(0x1f8),'HxUJE':function(_0x35bdc2,_0x5b6b71){return _0x35bdc2===_0x5b6b71;},'DlZbv':_0x3c2ac5(0x1cb),'fJiXh':'https:','BeSih':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','NvLdX':_0x3c2ac5(0x202),'ayeCB':function(_0x29d8a7){return _0x29d8a7();}};new Promise(async _0x3c9020=>{const _0x1e6222=_0x3c2ac5,_0x3ca21c='browserstack internal helper hook';let _0x5c2963=!![];try{_0x546b73[_0x1e6222(0x1fa)](global[_0x1e6222(0x1cd)]['length'],0x1)&&(await global[_0x1e6222(0x1f0)](),global['__drivers'][_0x1e6222(0x21d)]()),_0x546b73[_0x1e6222(0x1fb)](global['__drivers'][0x0][_0x1e6222(0x1ef)],0x0)&&(_0x5c2963=![],await global[_0x1e6222(0x1f0)]());}catch{}try{Array[_0x1e6222(0x221)](global[_0x1e6222(0x1cd)])&&global[_0x1e6222(0x1cd)][0x0]&&(global[_0x1e6222(0x1cd)][0x0][_0x1e6222(0x213)]=this['currentTest'][_0x1e6222(0x227)]()[_0x1e6222(0x1bc)](_0x546b73['zBLQt'])),global[_0x1e6222(0x213)]=this['currentTest'][_0x1e6222(0x227)]()['join'](_0x546b73[_0x1e6222(0x1fd)]);}catch(_0x5a4245){logger[_0x1e6222(0x22b)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x5a4245);}this[_0x1e6222(0x1ca)][_0x1e6222(0x21c)]=_0x546b73['aTFFc'](shouldScanTestForAccessibility,this['currentTest'][_0x1e6222(0x227)](),!![]),globals[_0x1e6222(0x1c9)](_0x546b73[_0x1e6222(0x1d1)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x1e6222(0x1ca)][_0x1e6222(0x209)]=!![];if(_0x546b73[_0x1e6222(0x20f)](isAccessibilityAutomationSession)&&_0x5c2963&&Array['isArray'](global[_0x1e6222(0x1cd)])&&_0x546b73['iZtUL'](global[_0x1e6222(0x1cd)][_0x1e6222(0x1f3)],0x0)&&globals[_0x1e6222(0x229)](_0x546b73[_0x1e6222(0x1d3)]))try{const _0x1b3d14=await global[_0x1e6222(0x1cd)][0x0][_0x1e6222(0x1cc)];if(_0x1b3d14){let _0xb1a13b=!![];const _0x3d9cbf=await global[_0x1e6222(0x1cd)][0x0][_0x1e6222(0x1e7)]();let _0x1b4336;try{_0x1b4336=new URL(_0x3d9cbf);}catch(_0x59d2fe){_0xb1a13b=![];}_0xb1a13b=_0x546b73[_0x1e6222(0x205)](_0x1b4336[_0x1e6222(0x1f7)],_0x546b73[_0x1e6222(0x1e4)])||_0x546b73[_0x1e6222(0x205)](_0x1b4336[_0x1e6222(0x1f7)],_0x546b73[_0x1e6222(0x1f2)]),_0xb1a13b&&(this[_0x1e6222(0x1ca)][_0x1e6222(0x21c)]&&logger[_0x1e6222(0x204)](_0x546b73[_0x1e6222(0x1e2)])),this[_0x1e6222(0x1ca)][_0x1e6222(0x209)]=this['currentTest']['shouldScanTestForAccessibility'],this[_0x1e6222(0x1ca)][_0x1e6222(0x21c)]&&logger[_0x1e6222(0x204)](_0x546b73[_0x1e6222(0x1f4)]);}}catch(_0x43d208){logger[_0x1e6222(0x210)](_0x1e6222(0x1df)+util['format'](_0x43d208));}_0x546b73['ayeCB'](_0x3c9020);})[_0x3c2ac5(0x1d2)](_0x13d840);},'afterEach'(_0x3fcfd1){const _0x576e4c=a30_0x5ce6bf,_0xa7940c={'AgIDE':function(_0x5ecf31,_0x3b0555){return _0x5ecf31>_0x3b0555;},'KqEdZ':function(_0x2a2f50,_0x112cd){return _0x2a2f50===_0x112cd;},'JVOsr':_0x576e4c(0x1c0),'HGmuY':_0x576e4c(0x22e),'itxIH':function(_0x363c80,_0x12919,_0x4cb1b3,_0x59c8b8){return _0x363c80(_0x12919,_0x4cb1b3,_0x59c8b8);},'FOSLj':_0x576e4c(0x216),'teoQt':function(_0x8503d9,_0x454cd4){return _0x8503d9!==_0x454cd4;},'DHCOQ':_0x576e4c(0x1fc),'elDuc':function(_0xbe8c74,_0x32ef4c,_0x526d92){return _0xbe8c74(_0x32ef4c,_0x526d92);},'cVAEb':function(_0x3a99ba,_0x3a3b00){return _0x3a99ba+_0x3a3b00;},'CKxvj':_0x576e4c(0x20e),'pJpxM':'error','paTpK':function(_0x19320c,_0x178c51,_0x5a088f){return _0x19320c(_0x178c51,_0x5a088f);},'PLaNr':_0x576e4c(0x1c8),'srfIT':_0x576e4c(0x204),'YjknA':_0x576e4c(0x1f8),'Kfbto':'bstackA11yShouldScan','IrBvb':_0x576e4c(0x207),'HbUNk':'Performing\x20scan\x20before\x20saving\x20results','ZlWZP':_0x576e4c(0x201),'sjNQu':function(_0x21751d){return _0x21751d();},'NDqvr':_0x576e4c(0x22b),'SyJYe':function(_0x54e748,_0x1545da){return _0x54e748>_0x1545da;}},_0x1617f9='browserstack internal helper hook';this[_0x576e4c(0x1d5)](0xfde8);const _0x19ee1f=async(_0xbfa5f8,_0x1906cc)=>{const _0x567bea=_0x576e4c;await global['__drivers'][0x0][_0x567bea(0x1eb)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xbfa5f8+_0x567bea(0x1c4)+_0x1906cc+'\x22}}');};new Promise(async _0x6ef104=>{const _0x35f7ba=_0x576e4c;try{_0xa7940c[_0x35f7ba(0x22f)](global['__drivers'][_0x35f7ba(0x1f3)],0x1)&&(await global[_0x35f7ba(0x1f0)](),global[_0x35f7ba(0x1cd)][_0x35f7ba(0x21d)](),global['__error_messages__']=[],global[_0x35f7ba(0x211)]=![]);try{if(global[_0x35f7ba(0x1dd)]&&_0xa7940c['KqEdZ'](global[_0x35f7ba(0x223)],_0xa7940c[_0x35f7ba(0x1f5)])&&global['__drivers'][0x0]){const _0x25c58c=_0xa7940c[_0x35f7ba(0x22f)](global['capabilities'][_0x35f7ba(0x1f3)],0x0)?!!global[_0x35f7ba(0x225)][0x0][_0x35f7ba(0x1d4)]||!!global[_0x35f7ba(0x225)][0x0][_0xa7940c[_0x35f7ba(0x1de)]]:![],_0x11f929={};_0x11f929[_0x35f7ba(0x1d4)]=_0x25c58c,await _0xa7940c['itxIH'](percyAutoCapture,global[_0x35f7ba(0x1cd)][0x0],_0xa7940c[_0x35f7ba(0x1f5)],_0x11f929);}}catch(_0x1c4b35){}!global[_0x35f7ba(0x20d)]&&(await global['__drivers'][0x0][_0x35f7ba(0x1eb)](_0x35f7ba(0x206)+JSON[_0x35f7ba(0x1d9)](this[_0x35f7ba(0x1ca)]['titlePath']()[_0x35f7ba(0x1bc)](_0xa7940c[_0x35f7ba(0x1d0)]))+'}}'),global['__drivers'][0x0][_0x35f7ba(0x218)]=!![]);const _0x3d1f66=_0xa7940c[_0x35f7ba(0x226)](this[_0x35f7ba(0x1ca)][_0x35f7ba(0x1bb)],_0xa7940c[_0x35f7ba(0x1d6)]);_0x3d1f66?(global[_0x35f7ba(0x211)]=!![],global[_0x35f7ba(0x20b)]['push'](this[_0x35f7ba(0x1ca)][_0x35f7ba(0x1c1)]['message']),await _0xa7940c[_0x35f7ba(0x220)](_0x19ee1f,JSON[_0x35f7ba(0x1d9)](_0xa7940c['cVAEb'](_0xa7940c['CKxvj'],this[_0x35f7ba(0x1ca)]['err'][_0x35f7ba(0x1f6)])),_0xa7940c['pJpxM'])):await _0xa7940c[_0x35f7ba(0x1ee)](_0x19ee1f,JSON['stringify'](_0xa7940c[_0x35f7ba(0x1e1)]),_0xa7940c['srfIT']);}catch(_0x3f79ef){}try{if(this['currentTest'][_0x35f7ba(0x209)]&&globals[_0x35f7ba(0x229)](_0xa7940c[_0x35f7ba(0x1c5)])&&globals[_0x35f7ba(0x229)](_0xa7940c[_0x35f7ba(0x1cf)])){logger[_0x35f7ba(0x204)](_0xa7940c[_0x35f7ba(0x1e6)]);const _0x22a17e={};_0x22a17e[_0x35f7ba(0x1c7)]=this[_0x35f7ba(0x1ca)][_0x35f7ba(0x1c6)],_0x22a17e['thBuildUuid']=process['env'][testHubConstants[_0x35f7ba(0x1e0)][_0x35f7ba(0x1ea)]],_0x22a17e[_0x35f7ba(0x224)]=process[_0x35f7ba(0x214)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x5340a2=_0x22a17e;logger['debug'](_0x35f7ba(0x212)+JSON[_0x35f7ba(0x1d9)](_0x5340a2)),logger['debug'](_0xa7940c['HbUNk']),logger['debug'](util['format'](await global[_0x35f7ba(0x1cd)][0x0][_0x35f7ba(0x1c3)](scripts[_0x35f7ba(0x231)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x35f7ba(0x1ec)],_0x5340a2),logger['info'](_0xa7940c[_0x35f7ba(0x1ff)]);}}catch(_0x11f54b){logger[_0x35f7ba(0x210)](_0x35f7ba(0x21b)+this[_0x35f7ba(0x1ca)][_0x35f7ba(0x227)]()+_0x35f7ba(0x22c),_0x11f54b);}try{try{if(_0xa7940c[_0x35f7ba(0x1db)](shouldProcessEventForTesthub)){global[_0x35f7ba(0x1cd)][0x0]&&await _0xa7940c[_0x35f7ba(0x220)](sendPlatformDetails,global['__drivers'][0x0],this[_0x35f7ba(0x1ca)]?this[_0x35f7ba(0x1ca)]['testAnalyticsId']:null);if(_0xa7940c['sjNQu'](isBrowserstackInfra)){const _0x4150d4='ObservabilitySync:'+Date['now']();await _0xa7940c[_0x35f7ba(0x220)](_0x19ee1f,JSON[_0x35f7ba(0x1d9)](_0x4150d4),_0xa7940c[_0x35f7ba(0x1d8)]);}}}catch{}_0xa7940c[_0x35f7ba(0x21a)](global[_0x35f7ba(0x1cd)][0x0][_0x35f7ba(0x1ef)],0x0)&&await global[_0x35f7ba(0x1f0)]();}catch(_0x49ef1f){}_0xa7940c[_0x35f7ba(0x1db)](_0x6ef104);})[_0x576e4c(0x1d2)](()=>_0x3fcfd1());},'afterAll'(_0x502b15){const _0x4b34ed=a30_0x5ce6bf,_0x1f0e44={'QvPVo':function(_0x2f4e4a){return _0x2f4e4a();}},_0xc31ce4='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x54b460=>{const _0x53b7c0=a30_0x49e7;PerformanceTester['stopMonitoring'](),await global['driverCleanup'](),_0x1f0e44[_0x53b7c0(0x1e5)](_0x54b460);})[_0x4b34ed(0x1d2)](()=>_0x502b15());}};function a30_0x4da7(){const _0x7bbc3f=['../../helpers/testhub/utils','\x20-\x20','FUPhJ','sessionNameSet__','18bSGZOt','SyJYe','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','shouldScanTestForAccessibility','shift','6wPWMUA','24oAwcDM','elDuc','isArray','26166vctruo','percyCaptureMode','thJwtToken','capabilities','teoQt','titlePath','2551432CkdUFu','getGlobal','GpCVK','debug','.\x20Error\x20:','../../helpers/logger','appium:app','AgIDE','152940vXsuhM','performScan','state','join','1212370KPzMDQ','util','mochaHooks','testcase','err','341LvfAgb','executeAsyncScript',',\x22level\x22:\x20\x22','YjknA','testAnalyticsId','thTestRunUuid','Passed','setGlobal','currentTest','http:','session_','__drivers','60mtQtyw','Kfbto','FOSLj','pOtIt','then','bJXFD','app','timeout','DHCOQ','../../helpers/performance-tester','NDqvr','stringify','zJJel','sjNQu','../../helpers/accessibility-automation/scripts','percy','HGmuY','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','ENV_VAR','PLaNr','BeSih','AGTfF','DlZbv','QvPVo','IrBvb','getCurrentUrl','failed','bstackA11yShouldScan','BROWSERSTACK_TESTHUB_UUID','executeScript','saveTestResults','1867082FmFIrM','paTpK','quitCount_','driverCleanup','660537BLduNj','fJiXh','length','NvLdX','JVOsr','message','protocol','isAccessibilityPlatform','HgbvW','DwaRS','zAkmB','passed','zBLQt','startMonitoring','ZlWZP','winstonLogger','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Automate\x20test\x20case\x20execution\x20has\x20started.','\x20|\x20','info','HxUJE','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','34225zzPZTG','accessibilityScanStarted','./test-observability/mochaUtils','__error_messages__','initQuit','__skipSessionName','Failed:\x20','jJbKe','error','__sessionFailed','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserstackSessionName','env'];a30_0x4da7=function(){return _0x7bbc3f;};return a30_0x4da7();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a31_0x1e5698=a31_0x2f63;(function(_0xf95f53,_0x263410){const _0x22a0df=a31_0x2f63,_0x4fb393=_0xf95f53();while(!![]){try{const _0x2ff139=parseInt(_0x22a0df(0x207))/0x1+parseInt(_0x22a0df(0x1f9))/0x2*(parseInt(_0x22a0df(0x1db))/0x3)+parseInt(_0x22a0df(0x1e7))/0x4*(-parseInt(_0x22a0df(0x1f5))/0x5)+parseInt(_0x22a0df(0x204))/0x6+-parseInt(_0x22a0df(0x213))/0x7+-parseInt(_0x22a0df(0x201))/0x8+parseInt(_0x22a0df(0x214))/0x9;if(_0x2ff139===_0x263410)break;else _0x4fb393['push'](_0x4fb393['shift']());}catch(_0x117e7c){_0x4fb393['push'](_0x4fb393['shift']());}}}(a31_0x5b14,0xdb8e6));function a31_0x2f63(_0xd3161,_0x100be7){const _0x5b1484=a31_0x5b14();return a31_0x2f63=function(_0x2f63d0,_0x1b32c4){_0x2f63d0=_0x2f63d0-0x1d4;let _0x364791=_0x5b1484[_0x2f63d0];return _0x364791;},a31_0x2f63(_0xd3161,_0x100be7);}function a31_0x5b14(){const _0x51bea6=['env','aLiRO','splice','771ISSZHE','useW3C','hub.browserstack.com','ezHXe','WxiHM','nightwatch-browserstack.json','start_process','mergeDeep','VSCiP','--env','MFciL','getPlatformName','68Soleqb','Hbxmy','length','platform','platforms','port','filter','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','host','selenium','nightwatch.conf.js','isUndefined','Deleting\x20','findIndex','324985IaZvBt','trim','JExGK','join','6354oReyAO','PSEFN','NtTAt','bSyrZ','forEach','existsSync','aWhPg','modifyBrowserStackW3CCaps','8373160fzBTZr','info','pVADU','7087236bogerH','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','oPemr','112309dqNuoG','debug','../utils/constants','split','modifyBrowserStackCaps','slice','test_settings','child\x20process\x20exited\x20with\x20code\x20','../../helpers/logger','desiredCapabilities','winstonLogger','ZnaRT','5437649xITpUv','15459291aKsDKh','config','dIJiX','now','Getting\x20your\x20nightwatch\x20configs\x20from\x20','child_process','close','push','cwd','tTeJa'];a31_0x5b14=function(){return _0x51bea6;};return a31_0x5b14();}const fs=require('fs'),path=require('path'),{spawn}=require(a31_0x1e5698(0x219)),logger=require(a31_0x1e5698(0x20f))[a31_0x1e5698(0x211)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a31_0x1e5698(0x209)),getUserNightwatchConfigs=(_0x150b19,_0x3aa0fd)=>{const _0x4c17ba=a31_0x1e5698,_0x2965a7={'aWhPg':_0x4c17ba(0x1f1),'OfUvg':'nightwatch.json','aLiRO':function(_0x2822d4,_0x125ce6){return _0x2822d4(_0x125ce6);},'hmpwd':_0x4c17ba(0x1ee)};let _0x498c98=null,_0xce3ed9={};const _0x18fc36=_0x3aa0fd['findIndex'](_0x33fd40=>_0x33fd40==='--config');if(!helper[_0x4c17ba(0x1f2)](_0x150b19['config'])&&fs[_0x4c17ba(0x1fe)](path['join'](process[_0x4c17ba(0x1d6)](),_0x150b19['config'])))_0x498c98=path[_0x4c17ba(0x1f8)](process[_0x4c17ba(0x1d6)](),_0x150b19[_0x4c17ba(0x215)]),_0x3aa0fd[_0x4c17ba(0x1da)](_0x18fc36,0x2);else{if(fs['existsSync'](path['join'](process[_0x4c17ba(0x1d6)](),_0x2965a7[_0x4c17ba(0x1ff)])))_0x498c98=path[_0x4c17ba(0x1f8)](process[_0x4c17ba(0x1d6)](),_0x2965a7[_0x4c17ba(0x1ff)]);else fs[_0x4c17ba(0x1fe)](path['join'](process['cwd'](),_0x2965a7['OfUvg']))&&(_0x498c98=path[_0x4c17ba(0x1f8)](process[_0x4c17ba(0x1d6)](),_0x2965a7['OfUvg']));}return _0x498c98?(logger[_0x4c17ba(0x202)](_0x4c17ba(0x218)+_0x498c98),_0xce3ed9=_0x2965a7[_0x4c17ba(0x1d9)](require,_0x498c98)):logger[_0x4c17ba(0x202)](_0x2965a7['hmpwd']),_0xce3ed9;},removeExistingEnvs=_0x13f675=>{const _0x2c7d43=a31_0x1e5698,_0xeef5fc={};_0xeef5fc['WxiHM']=function(_0x1c9106,_0x340f72){return _0x1c9106>_0x340f72;};const _0x30d3a4=_0xeef5fc;let _0x57618f=_0x13f675[_0x2c7d43(0x1f4)](_0x66d3c=>_0x66d3c===_0x2c7d43(0x1e4));_0x30d3a4['WxiHM'](_0x57618f,-0x1)&&_0x13f675['splice'](_0x57618f,0x2),_0x57618f=_0x13f675[_0x2c7d43(0x1f4)](_0x89b70=>_0x89b70==='-e'),_0x30d3a4[_0x2c7d43(0x1df)](_0x57618f,-0x1)&&_0x13f675[_0x2c7d43(0x1da)](_0x57618f,0x2);};function run(_0x2dcde6,_0x367c4b){const _0x138995=a31_0x1e5698,_0xb1e7ab={'pVADU':'nightwatch','VSCiP':function(_0x8419ee,_0x4e9415){return _0x8419ee+_0x4e9415;},'tTeJa':_0x138995(0x20d),'BKdDm':function(_0x374e35,_0x250679,_0x1a8e03){return _0x374e35(_0x250679,_0x1a8e03);},'PSEFN':_0x138995(0x1dd),'bSyrZ':_0x138995(0x205),'ObpdK':function(_0xdd6a1f,_0x1fccb5){return _0xdd6a1f===_0x1fccb5;},'Hbxmy':_0x138995(0x1e0),'NgCoD':function(_0x3585f4,_0x7d3c2a){return _0x3585f4(_0x7d3c2a);},'oPemr':function(_0x4cf35c,_0x2ef035,_0x5560ad,_0x3da37b){return _0x4cf35c(_0x2ef035,_0x5560ad,_0x3da37b);},'JExGK':'nightwatch.cmd','MFciL':'--config','BWkgy':_0x138995(0x1e4),'dIJiX':'inherit','ezHXe':_0x138995(0x1d4)},_0x150aac=new BrowserStackSetup(_0x2dcde6);if(!_0x150aac['config'])return;const _0x4d8b4c=_0xb1e7ab['BKdDm'](getUserNightwatchConfigs,_0x2dcde6,_0x367c4b),_0x272e67={};_0x272e67[_0x138995(0x1e1)]=![];const _0x107bb9={};_0x107bb9[_0x138995(0x1ef)]=_0xb1e7ab[_0x138995(0x1fa)],_0x107bb9[_0x138995(0x1ec)]=0x1bb;const _0x59bfc1={};_0x59bfc1['webdriver']=_0x272e67,_0x59bfc1[_0x138995(0x1f0)]=_0x107bb9;const _0x21bdde=_0x59bfc1;logger['info'](_0xb1e7ab[_0x138995(0x1fc)]);const _0x2b546d={..._0x4d8b4c},_0x1d74c8=_0x2b546d,_0x30baa1=helper[_0x138995(0x1dc)](_0x150aac[_0x138995(0x215)]),_0x10d9c2=[];_0x150aac[_0x138995(0x215)][_0x138995(0x1eb)][_0x138995(0x1fd)]((_0x647f09,_0x146057)=>{const _0x3b00b0=_0x138995;_0x30baa1?_0x10d9c2[_0x3b00b0(0x1d5)](helper[_0x3b00b0(0x200)](_0x150aac[_0x3b00b0(0x215)],_0xb1e7ab[_0x3b00b0(0x203)],_0x146057)):_0x10d9c2[_0x3b00b0(0x1d5)](helper[_0x3b00b0(0x20b)](_0x150aac[_0x3b00b0(0x215)],_0xb1e7ab[_0x3b00b0(0x203)],_0x146057));});const _0xce9045={},_0x38453d=[];_0x2dcde6['env']=_0x2dcde6['env']||_0x2dcde6['e'];const _0x107fca=_0x2dcde6[_0x138995(0x1d8)]?_0x2dcde6[_0x138995(0x1d8)][_0x138995(0x1f6)]()[_0x138995(0x20a)](',')['map'](_0x498d6d=>_0x498d6d['trim']())[_0x138995(0x1ed)](_0x48d335=>_0x48d335!==''):[''];_0xb1e7ab['ObpdK'](_0x107fca[_0x138995(0x1e9)],0x0)&&_0x107fca[_0x138995(0x1d5)]('');_0x107fca['forEach'](_0x1299f5=>{const _0x1f80d8=_0x138995,_0x4e45c2={'NtTAt':function(_0x31e9d1,_0x3cd1d7){const _0x1fa5e3=a31_0x2f63;return _0xb1e7ab[_0x1fa5e3(0x1e3)](_0x31e9d1,_0x3cd1d7);},'ZnaRT':_0xb1e7ab[_0x1f80d8(0x1d7)]};_0x10d9c2[_0x1f80d8(0x1fd)](_0x54549d=>{const _0x5b9e72=_0x1f80d8;let _0xc31552=_0x4e45c2[_0x5b9e72(0x1fb)](helper[_0x5b9e72(0x1e6)](_0x54549d,'_'),'_'+Date[_0x5b9e72(0x217)]());_0x1299f5&&(_0xc31552+='_'+_0x1299f5);if(_0x1299f5&&(!_0x4d8b4c[_0x4e45c2[_0x5b9e72(0x212)]]||!_0x4d8b4c[_0x4e45c2[_0x5b9e72(0x212)]][_0x1299f5]))return;const _0x407b1d={..._0x21bdde};_0x407b1d[_0x5b9e72(0x210)]=_0x54549d;const _0x2c9337=_0x407b1d;_0xce9045[_0xc31552]=_0x1299f5?helper[_0x5b9e72(0x1e2)](_0x4d8b4c[_0x4e45c2[_0x5b9e72(0x212)]][_0x1299f5],_0x2c9337):_0x2c9337,_0x38453d[_0x5b9e72(0x1d5)](_0xc31552);});});!_0x1d74c8[_0x138995(0x20d)]&&(_0x1d74c8['test_settings']={});_0x1d74c8[_0x138995(0x20d)]={..._0x1d74c8[_0x138995(0x20d)],..._0xce9045};const _0xd3eedb=path[_0x138995(0x1f8)](__dirname,_0xb1e7ab[_0x138995(0x1e8)]);fs['writeFileSync'](_0xd3eedb,JSON['stringify'](_0x1d74c8)),_0xb1e7ab['NgCoD'](removeExistingEnvs,_0x367c4b);const _0x11ad10=_0xb1e7ab[_0x138995(0x206)](spawn,/^win/['test'](process[_0x138995(0x1ea)])?_0xb1e7ab[_0x138995(0x1f7)]:_0xb1e7ab[_0x138995(0x203)],[_0xb1e7ab[_0x138995(0x1e5)],_0xd3eedb,..._0x367c4b[_0x138995(0x20c)](0x1),_0xb1e7ab['BWkgy'],_0x38453d[_0x138995(0x1f8)](',')],{'stdio':_0xb1e7ab[_0x138995(0x216)]});_0x11ad10['on'](_0xb1e7ab[_0x138995(0x1de)],async _0x5c3a3b=>{const _0x34d551=_0x138995;logger[_0x34d551(0x208)](_0x34d551(0x20e)+_0x5c3a3b),logger[_0x34d551(0x202)](_0x34d551(0x1f3)+_0xd3eedb),fs['unlinkSync'](_0xd3eedb);});}module['exports']=run;
2
+ 'use strict';function a31_0x5a2f(){const _0x4c3ba9=['Getting\x20your\x20nightwatch\x20configs\x20from\x20','qljHb','env','xQSdG','test','winstonLogger','join','3421395VRhATR','../../helpers/helper','exports','splice','selenium','WiKHA','modifyBrowserStackW3CCaps','stringify','path','2693604WIABtR','nightwatch.conf.js','port','PJBrO','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','platforms','--config','120biQVAT','../../helpers/BrowserStackSetup','XhJln','2466iZeGgU','findIndex','push','unlinkSync','info','dgWUO','SHavw','../../helpers/logger','cwd','5840GxlBCc','host','RtTwM','slice','getPlatformName','writeFileSync','isUndefined','existsSync','JfPfh','start_process','35014YJrXMF','nightwatch-browserstack.json','19576uowVOb','forEach','inherit','Dztlr','13772YgbXkk','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','now','147OFSPBt','wDUkf','eKppg','--env','NtIEN','nightwatch.json','zeIAN','child\x20process\x20exited\x20with\x20code\x20','hub.browserstack.com','close','trim','Deleting\x20','length','zxIqt','nightwatch.cmd','config','IjyCX','78974dDqErK','HhvaX','1171567AbMuKL','webdriver','test_settings','split'];a31_0x5a2f=function(){return _0x4c3ba9;};return a31_0x5a2f();}function a31_0x2262(_0x3df6d9,_0x38f52e){const _0x5a2fc4=a31_0x5a2f();return a31_0x2262=function(_0x2262c7,_0x208498){_0x2262c7=_0x2262c7-0x97;let _0x2745e0=_0x5a2fc4[_0x2262c7];return _0x2745e0;},a31_0x2262(_0x3df6d9,_0x38f52e);}const a31_0x40f583=a31_0x2262;(function(_0x276370,_0x23f21f){const _0x4a6e18=a31_0x2262,_0x54ac8=_0x276370();while(!![]){try{const _0x2c7f9d=-parseInt(_0x4a6e18(0xa3))/0x1+parseInt(_0x4a6e18(0xd4))/0x2*(parseInt(_0x4a6e18(0xdd))/0x3)+parseInt(_0x4a6e18(0xb7))/0x4+parseInt(_0x4a6e18(0xae))/0x5+-parseInt(_0x4a6e18(0xbe))/0x6*(parseInt(_0x4a6e18(0xa1))/0x7)+-parseInt(_0x4a6e18(0xd6))/0x8*(-parseInt(_0x4a6e18(0xc1))/0x9)+-parseInt(_0x4a6e18(0xca))/0xa*(parseInt(_0x4a6e18(0xda))/0xb);if(_0x2c7f9d===_0x23f21f)break;else _0x54ac8['push'](_0x54ac8['shift']());}catch(_0x30e5cb){_0x54ac8['push'](_0x54ac8['shift']());}}}(a31_0x5a2f,0xb8f7a));const fs=require('fs'),path=require(a31_0x40f583(0xb6)),{spawn}=require('child_process'),logger=require(a31_0x40f583(0xc8))[a31_0x40f583(0xac)],{default:BrowserStackSetup}=require(a31_0x40f583(0xbf)),helper=require(a31_0x40f583(0xaf)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x265a4a,_0x1b815a)=>{const _0x52a300=a31_0x40f583,_0x52e784={'IjyCX':_0x52a300(0xb8),'zxIqt':_0x52a300(0xe2),'SHavw':function(_0x1651d3,_0x4c976c){return _0x1651d3(_0x4c976c);},'HhvaX':_0x52a300(0xdb)};let _0x4d19f1=null,_0x57bed3={};const _0x14d54c=_0x1b815a['findIndex'](_0x2dfce8=>_0x2dfce8==='--config');if(!helper[_0x52a300(0xd0)](_0x265a4a[_0x52a300(0x9f)])&&fs['existsSync'](path[_0x52a300(0xad)](process['cwd'](),_0x265a4a[_0x52a300(0x9f)])))_0x4d19f1=path[_0x52a300(0xad)](process['cwd'](),_0x265a4a[_0x52a300(0x9f)]),_0x1b815a[_0x52a300(0xb1)](_0x14d54c,0x2);else{if(fs[_0x52a300(0xd1)](path['join'](process[_0x52a300(0xc9)](),_0x52e784[_0x52a300(0xa0)])))_0x4d19f1=path[_0x52a300(0xad)](process['cwd'](),_0x52e784[_0x52a300(0xa0)]);else fs[_0x52a300(0xd1)](path['join'](process[_0x52a300(0xc9)](),_0x52e784[_0x52a300(0x9d)]))&&(_0x4d19f1=path[_0x52a300(0xad)](process['cwd'](),_0x52e784['zxIqt']));}return _0x4d19f1?(logger['info'](_0x52a300(0xa7)+_0x4d19f1),_0x57bed3=_0x52e784[_0x52a300(0xc7)](require,_0x4d19f1)):logger[_0x52a300(0xc5)](_0x52e784[_0x52a300(0xa2)]),_0x57bed3;},removeExistingEnvs=_0xe47028=>{const _0x441a82=a31_0x40f583,_0x4f8816={};_0x4f8816[_0x441a82(0xc0)]=function(_0x2c6faa,_0x51e937){return _0x2c6faa>_0x51e937;},_0x4f8816[_0x441a82(0xd2)]=function(_0x3fdc4,_0x4f206f){return _0x3fdc4>_0x4f206f;};const _0x43b0e4=_0x4f8816;let _0x166683=_0xe47028[_0x441a82(0xc2)](_0x297020=>_0x297020===_0x441a82(0xe0));_0x43b0e4[_0x441a82(0xc0)](_0x166683,-0x1)&&_0xe47028[_0x441a82(0xb1)](_0x166683,0x2),_0x166683=_0xe47028[_0x441a82(0xc2)](_0xfe9b69=>_0xfe9b69==='-e'),_0x43b0e4[_0x441a82(0xd2)](_0x166683,-0x1)&&_0xe47028[_0x441a82(0xb1)](_0x166683,0x2);};function run(_0x3a646f,_0x34c0e9){const _0x266bd6=a31_0x40f583,_0xa5ad8d={'WiKHA':'nightwatch','zeIAN':function(_0xada4c,_0xd17566){return _0xada4c+_0xd17566;},'Rvoae':_0x266bd6(0xa5),'vuEqv':function(_0x5db07d,_0x50da9a,_0x26832e){return _0x5db07d(_0x50da9a,_0x26832e);},'dgWUO':_0x266bd6(0x98),'Dztlr':_0x266bd6(0xbb),'qljHb':function(_0x363027,_0x1217c3){return _0x363027===_0x1217c3;},'mGXzH':_0x266bd6(0xd5),'RtTwM':function(_0x3a0d12,_0x43cf06){return _0x3a0d12(_0x43cf06);},'wDUkf':function(_0x3f7e92,_0x1b2c4c,_0x5d7abb,_0x490df8){return _0x3f7e92(_0x1b2c4c,_0x5d7abb,_0x490df8);},'WsWJF':_0x266bd6(0x9e),'BEgWm':_0x266bd6(0xbd),'PJBrO':_0x266bd6(0xe0),'eKppg':_0x266bd6(0xd8),'NtIEN':_0x266bd6(0x99)},_0x5e01cb=new BrowserStackSetup(_0x3a646f);if(!_0x5e01cb[_0x266bd6(0x9f)])return;const _0x5071ec=_0xa5ad8d['vuEqv'](getUserNightwatchConfigs,_0x3a646f,_0x34c0e9),_0x38f195={};_0x38f195[_0x266bd6(0xd3)]=![];const _0x442a30={};_0x442a30[_0x266bd6(0xcb)]=_0xa5ad8d[_0x266bd6(0xc6)],_0x442a30[_0x266bd6(0xb9)]=0x1bb;const _0x554384={};_0x554384[_0x266bd6(0xa4)]=_0x38f195,_0x554384[_0x266bd6(0xb2)]=_0x442a30;const _0x5d76af=_0x554384;logger[_0x266bd6(0xc5)](_0xa5ad8d[_0x266bd6(0xd9)]);const _0x2ab659={..._0x5071ec},_0x2fd7c9=_0x2ab659,_0x1eeeef=helper['useW3C'](_0x5e01cb['config']),_0x2fd1aa=[];_0x5e01cb[_0x266bd6(0x9f)][_0x266bd6(0xbc)][_0x266bd6(0xd7)]((_0xd39f60,_0x1daead)=>{const _0x488354=_0x266bd6;_0x1eeeef?_0x2fd1aa[_0x488354(0xc3)](helper[_0x488354(0xb4)](_0x5e01cb[_0x488354(0x9f)],_0xa5ad8d[_0x488354(0xb3)],_0x1daead)):_0x2fd1aa[_0x488354(0xc3)](helper['modifyBrowserStackCaps'](_0x5e01cb[_0x488354(0x9f)],_0xa5ad8d[_0x488354(0xb3)],_0x1daead));});const _0xd58678={},_0x16f4ef=[];_0x3a646f[_0x266bd6(0xa9)]=_0x3a646f[_0x266bd6(0xa9)]||_0x3a646f['e'];const _0x183e48=_0x3a646f[_0x266bd6(0xa9)]?_0x3a646f[_0x266bd6(0xa9)][_0x266bd6(0x9a)]()[_0x266bd6(0xa6)](',')['map'](_0x4512b5=>_0x4512b5[_0x266bd6(0x9a)]())['filter'](_0xdbe097=>_0xdbe097!==''):[''];_0xa5ad8d[_0x266bd6(0xa8)](_0x183e48[_0x266bd6(0x9c)],0x0)&&_0x183e48[_0x266bd6(0xc3)]('');_0x183e48[_0x266bd6(0xd7)](_0x48b919=>{const _0x53306e=_0x266bd6,_0x598ca2={'cknYh':function(_0x57dae3,_0xebcffd){const _0x531779=a31_0x2262;return _0xa5ad8d[_0x531779(0xe3)](_0x57dae3,_0xebcffd);},'xQSdG':_0xa5ad8d['Rvoae']};_0x2fd1aa[_0x53306e(0xd7)](_0x46fcbe=>{const _0xe7fe8=_0x53306e;let _0x14d882=_0x598ca2['cknYh'](helper[_0xe7fe8(0xce)](_0x46fcbe,'_'),'_'+Date[_0xe7fe8(0xdc)]());_0x48b919&&(_0x14d882+='_'+_0x48b919);if(_0x48b919&&(!_0x5071ec[_0x598ca2[_0xe7fe8(0xaa)]]||!_0x5071ec[_0x598ca2[_0xe7fe8(0xaa)]][_0x48b919]))return;const _0xb778ca={..._0x5d76af};_0xb778ca['desiredCapabilities']=_0x46fcbe;const _0x3fc230=_0xb778ca;_0xd58678[_0x14d882]=_0x48b919?helper['mergeDeep'](_0x5071ec[_0x598ca2['xQSdG']][_0x48b919],_0x3fc230):_0x3fc230,_0x16f4ef['push'](_0x14d882);});});!_0x2fd7c9[_0x266bd6(0xa5)]&&(_0x2fd7c9[_0x266bd6(0xa5)]={});_0x2fd7c9['test_settings']={..._0x2fd7c9[_0x266bd6(0xa5)],..._0xd58678};const _0x141594=path[_0x266bd6(0xad)](__dirname,_0xa5ad8d['mGXzH']);fs[_0x266bd6(0xcf)](_0x141594,JSON[_0x266bd6(0xb5)](_0x2fd7c9)),_0xa5ad8d[_0x266bd6(0xcc)](removeExistingEnvs,_0x34c0e9);const _0x3d75c5=_0xa5ad8d[_0x266bd6(0xde)](spawn,/^win/[_0x266bd6(0xab)](process['platform'])?_0xa5ad8d['WsWJF']:_0xa5ad8d['WiKHA'],[_0xa5ad8d['BEgWm'],_0x141594,..._0x34c0e9[_0x266bd6(0xcd)](0x1),_0xa5ad8d[_0x266bd6(0xba)],_0x16f4ef[_0x266bd6(0xad)](',')],{'stdio':_0xa5ad8d[_0x266bd6(0xdf)]});_0x3d75c5['on'](_0xa5ad8d[_0x266bd6(0xe1)],async _0x2da3bd=>{const _0x1a8a9b=_0x266bd6;logger['debug'](_0x1a8a9b(0x97)+_0x2da3bd),logger['info'](_0x1a8a9b(0x9b)+_0x141594),fs[_0x1a8a9b(0xc4)](_0x141594);});}module[a31_0x40f583(0xb0)]=run;
@@ -1 +1 @@
1
- const a32_0x4f5892=a32_0x4c2a;(function(_0xeedb0f,_0x1f1057){const _0x3ed66b=a32_0x4c2a,_0x16b9d1=_0xeedb0f();while(!![]){try{const _0x5799c0=parseInt(_0x3ed66b(0x123))/0x1+-parseInt(_0x3ed66b(0x146))/0x2+-parseInt(_0x3ed66b(0x14c))/0x3+-parseInt(_0x3ed66b(0x130))/0x4*(-parseInt(_0x3ed66b(0x10a))/0x5)+-parseInt(_0x3ed66b(0x104))/0x6+parseInt(_0x3ed66b(0x144))/0x7*(parseInt(_0x3ed66b(0xfc))/0x8)+parseInt(_0x3ed66b(0x12b))/0x9*(parseInt(_0x3ed66b(0xf3))/0xa);if(_0x5799c0===_0x1f1057)break;else _0x16b9d1['push'](_0x16b9d1['shift']());}catch(_0x4a8a5b){_0x16b9d1['push'](_0x16b9d1['shift']());}}}(a32_0x2a38,0x75fe8));const util=require(a32_0x4f5892(0x122)),logger=require('../../helpers/logger')[a32_0x4f5892(0xf2)],{isAccessibilityAutomationSession}=require(a32_0x4f5892(0x11b)),{isUndefined}=require(a32_0x4f5892(0xef)),scripts=require(a32_0x4f5892(0x143));function a32_0x4c2a(_0x233d18,_0x43bfb3){const _0x2a38f6=a32_0x2a38();return a32_0x4c2a=function(_0x4c2a8e,_0x4b445a){_0x4c2a8e=_0x4c2a8e-0xe7;let _0xb4b674=_0x2a38f6[_0x4c2a8e];return _0xb4b674;},a32_0x4c2a(_0x233d18,_0x43bfb3);}function a32_0x2a38(){const _0x3e5943=['method','hBbDJ','chrome','wcagVersion','824424mJmGnX','BFZHY','bestPractice','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','name','parse','bstackSdkArgs','jUVNK','135690IsBWuH','replace','aWyHD','processAccessibilityCaps','accessibilityOptions','LnrtX','5jPmwzm','accessibilityOptions.wcagVersion','accessibilityOptions.scannerProcessingTimeout','BS_A11Y_JWT','deviceName','fOzxg','bxhjy','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','performScan','browserStackExecuteDriver','OSbrv','connectOptions','PJwkW','cEUcL','EEpHa','dlSxc','../../helpers/accessibility-automation/helper','JBCWp','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.scannerVersion','iTSMf','latest','tXKQa','util','354300wXuRlY','whJCi','browser_version','warn','evaluate','PsYYs','browserStackEvaluate','lrsYf','9sEFGMH','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','LvLiE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','wsEndpoint','1660444eYQKcn','ngHIi','WfFkd','No\x20summaryResults\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','browserstack.accessibility','setAccessibilityCapabilities','scannerVersion','project','format','pyUed','SzwWl','jTxia','WebDriver','getAccessibilityResultsSummary','GxJtl','ebwkL','currentTest','error','../../helpers/accessibility-automation/scripts','7XewPTO','constructor','562476vbCrRe','ZdsVK','playwright-chromium','use','env','ZLwOr','2564889fbeqMr','hKAPd','rfTMG','scannerProcessingTimeout','accessibilityOptions.includeIssueType.needsReview','browser','stringify','accessibilityPlatform','accessibilityOptions.authToken','executeScript','debug','../../helpers/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','TTTwF','winstonLogger','7696560oRBXbp','JRuyl','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','includeIssueType','vchTv'];a32_0x2a38=function(){return _0x3e5943;};return a32_0x2a38();}exports[a32_0x4f5892(0x129)]=async(_0x441e4e,_0x417e0b,_0x13ac84={})=>{const _0x57aebb=a32_0x4f5892,_0x3600d9={};_0x3600d9[_0x57aebb(0x13f)]=_0x57aebb(0x102);const _0x425599=_0x3600d9;return await _0x441e4e[_0x57aebb(0x127)]('(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'+_0x417e0b[_0x57aebb(0x105)](/arguments/g,_0x425599[_0x57aebb(0x13f)])+_0x57aebb(0x11d)+JSON['stringify'](_0x13ac84)+')');},exports[a32_0x4f5892(0x114)]=async(_0x5e53f6,_0x29d800,_0xa7ca5c={})=>{const _0x16e946=a32_0x4f5892,_0x11b00e={};_0x11b00e['jdzgb']=function(_0x4d4a31,_0x64363d){return _0x4d4a31===_0x64363d;},_0x11b00e[_0x16e946(0x12a)]=_0x16e946(0x13d),_0x11b00e[_0x16e946(0x147)]=function(_0x31f1cd,_0x5d894f){return _0x31f1cd===_0x5d894f;},_0x11b00e[_0x16e946(0x117)]='Playwright',_0x11b00e[_0x16e946(0x13a)]='bstackSdkArgs';const _0xcf88d8=_0x11b00e;if(_0xcf88d8['jdzgb'](_0x5e53f6[_0x16e946(0x145)][_0x16e946(0x100)],_0xcf88d8[_0x16e946(0x12a)]))return await _0x5e53f6['executeAsyncScript'](_0x29d800,_0xa7ca5c);else{if(_0xcf88d8[_0x16e946(0x147)](_0x5e53f6[_0x16e946(0x145)][_0x16e946(0x100)],_0xcf88d8[_0x16e946(0x117)]))return await _0x5e53f6[_0x16e946(0xed)]('(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'+_0x29d800[_0x16e946(0x105)](/arguments/g,_0xcf88d8[_0x16e946(0x13a)])+_0x16e946(0x112)+JSON[_0x16e946(0xea)](_0xa7ca5c)+')');}},exports[a32_0x4f5892(0x136)]=async _0x1dfa98=>{const _0x550e4c=a32_0x4f5892,_0x9cddb7={};_0x9cddb7[_0x550e4c(0x11c)]=_0x550e4c(0x10b),_0x9cddb7[_0x550e4c(0x12d)]=_0x550e4c(0x10c),_0x9cddb7[_0x550e4c(0x14e)]='accessibilityOptions.includeIssueType.bestPractice',_0x9cddb7[_0x550e4c(0x14b)]=_0x550e4c(0xe8),_0x9cddb7[_0x550e4c(0x131)]=_0x550e4c(0xec),_0x9cddb7['jRRwD']=_0x550e4c(0x11e);const _0x2b7120=_0x9cddb7;_0x1dfa98[_0x550e4c(0x108)]&&(_0x1dfa98[_0x550e4c(0x108)]['wcagVersion']&&(_0x1dfa98[_0x2b7120['JBCWp']]=_0x1dfa98[_0x550e4c(0x108)][_0x550e4c(0xfb)]),_0x1dfa98['accessibilityOptions'][_0x550e4c(0xe7)]&&(_0x1dfa98[_0x2b7120['LvLiE']]=_0x1dfa98[_0x550e4c(0x108)][_0x550e4c(0xe7)]),_0x1dfa98[_0x550e4c(0x108)][_0x550e4c(0xf6)]&&(_0x1dfa98[_0x2b7120[_0x550e4c(0x14e)]]=_0x1dfa98[_0x550e4c(0x108)][_0x550e4c(0xf6)][_0x550e4c(0xfe)],_0x1dfa98[_0x2b7120[_0x550e4c(0x14b)]]=_0x1dfa98[_0x550e4c(0x108)][_0x550e4c(0xf6)]['needsReview']));const _0x4b4841=JSON[_0x550e4c(0x101)](process[_0x550e4c(0x14a)][_0x550e4c(0x12e)])[_0x550e4c(0x137)];_0x1dfa98[_0x2b7120['ngHIi']]=process[_0x550e4c(0x14a)][_0x550e4c(0x10d)],_0x1dfa98[_0x2b7120['jRRwD']]=_0x4b4841,delete _0x1dfa98['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x4ac797=>{const _0x4cb904=a32_0x4f5892,_0x5f41e7={};_0x5f41e7[_0x4cb904(0x124)]='No\x20accessibility\x20results\x20were\x20found.',_0x5f41e7[_0x4cb904(0x11a)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x535530=_0x5f41e7;if(global[_0x4cb904(0xeb)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4ac797,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4ac797,scripts.getResults);return res;}catch{return logger[_0x4cb904(0x142)](_0x535530[_0x4cb904(0x124)]),[];}else return logger[_0x4cb904(0x126)](_0x535530[_0x4cb904(0x11a)]),[];},exports['performScan']=async(_0x31eaa3,_0x1259f1='')=>{const _0x2cbd9b=a32_0x4f5892;if(global['accessibilityPlatform']){const _0x4f231f={};return _0x4f231f[_0x2cbd9b(0xf8)]=_0x1259f1,await exports[_0x2cbd9b(0x129)](_0x31eaa3,scripts[_0x2cbd9b(0x113)],_0x4f231f);}},exports[a32_0x4f5892(0x13e)]=async _0x50750a=>{const _0x3bb8db=a32_0x4f5892,_0x1f0546={};_0x1f0546[_0x3bb8db(0x14d)]=_0x3bb8db(0x133),_0x1f0546['hBbDJ']=_0x3bb8db(0xf5);const _0x1443b2=_0x1f0546;if(global[_0x3bb8db(0xeb)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x50750a,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x50750a,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x1443b2[_0x3bb8db(0x14d)]),{};}else return logger[_0x3bb8db(0x126)](_0x1443b2[_0x3bb8db(0xf9)]),{};},exports['platformValidation']=async _0x426ad5=>{const _0x4319af=a32_0x4f5892,_0x572894={'aWyHD':function(_0x28bd8b,_0x2bfb8b){return _0x28bd8b!==_0x2bfb8b;},'OSbrv':_0x4319af(0xf0),'PsYYs':function(_0x3f32b0,_0x3d2f63){return _0x3f32b0===_0x3d2f63;},'BFZHY':'chrome','ebwkL':_0x4319af(0x148),'iTSMf':_0x4319af(0xff),'tXKQa':function(_0x1807e7,_0x4255b3){return _0x1807e7(_0x4255b3);},'ZFrov':'latest','jTxia':function(_0x1b9ef7,_0x540278){return _0x1b9ef7>_0x540278;},'qEotB':_0x4319af(0x134)};try{if(!_0x572894[_0x4319af(0x106)](_0x426ad5[_0x4319af(0x10e)],''))return logger[_0x4319af(0x126)](_0x572894[_0x4319af(0x115)]),![];const _0x56c02d=_0x426ad5[_0x4319af(0xe9)];if(!(_0x572894['PsYYs'](_0x56c02d,_0x572894[_0x4319af(0xfd)])||_0x572894[_0x4319af(0x128)](_0x56c02d,_0x572894[_0x4319af(0x140)])))return logger[_0x4319af(0x126)](_0x572894[_0x4319af(0x11f)]),![];const _0x434ef5=_0x572894[_0x4319af(0x121)](parseInt,_0x426ad5[_0x4319af(0x125)]);if(!(_0x572894[_0x4319af(0x128)](_0x434ef5,_0x572894['ZFrov'])||_0x572894[_0x4319af(0x13c)](_0x434ef5,0x5e)))return logger[_0x4319af(0x126)](_0x572894['qEotB']),![];}catch(_0x3cd81b){logger[_0x4319af(0xee)](_0x4319af(0x111)+util[_0x4319af(0x139)](_0x3cd81b));}return!![];},exports[a32_0x4f5892(0x107)]=(_0x4d8f41,_0x476d24,_0x1e794f)=>{const _0x333a55=a32_0x4f5892,_0x2e5086={'SzwWl':function(_0x1bd2c0){return _0x1bd2c0();},'EEpHa':_0x333a55(0x135),'WfFkd':function(_0x35718b,_0xe5b09a){return _0x35718b===_0xe5b09a;},'bxhjy':_0x333a55(0xfa),'JRuyl':function(_0x296da4,_0x5e51ee){return _0x296da4===_0x5e51ee;},'SghgZ':'playwright-chromium','LnrtX':_0x333a55(0xff),'cEUcL':_0x333a55(0x120),'jUVNK':function(_0x49b02e,_0x3baf94){return _0x49b02e>_0x3baf94;},'fOzxg':_0x333a55(0x134),'TTTwF':function(_0x89bfd1,_0x43eb75){return _0x89bfd1(_0x43eb75);},'vchTv':_0x333a55(0xf0),'URlcd':function(_0x566e9f,_0x5daebc){return _0x566e9f+_0x5daebc;}};try{if(_0x2e5086[_0x333a55(0x13b)](isAccessibilityAutomationSession)){global[_0x333a55(0xeb)]=!![];!_0x4d8f41[_0x2e5086[_0x333a55(0x119)]]&&(global[_0x333a55(0xeb)]=![]);!(_0x2e5086[_0x333a55(0x132)](_0x4d8f41['browserName'],_0x2e5086[_0x333a55(0x110)])||_0x2e5086['JRuyl'](_0x4d8f41['browserName'],_0x2e5086['SghgZ']))&&(logger[_0x333a55(0x126)](_0x2e5086[_0x333a55(0x109)]),global[_0x333a55(0xeb)]=![]);!(_0x2e5086[_0x333a55(0xf4)](_0x4d8f41['browser_version'],_0x2e5086[_0x333a55(0x118)])||_0x2e5086[_0x333a55(0x103)](_0x4d8f41[_0x333a55(0x125)],0x5e))&&(logger[_0x333a55(0x126)](_0x2e5086[_0x333a55(0x10f)]),global[_0x333a55(0xeb)]=![]);!_0x2e5086['TTTwF'](isUndefined,_0x4d8f41['deviceName'])&&(logger[_0x333a55(0x126)](_0x2e5086[_0x333a55(0xf7)]),global[_0x333a55(0xeb)]=![]);if(!global[_0x333a55(0xeb)]){_0x4d8f41[_0x2e5086[_0x333a55(0x119)]]=![];const _0x14a517=_0x2e5086['URlcd'](_0x476d24,_0x2e5086[_0x333a55(0xf1)](encodeURIComponent,JSON[_0x333a55(0xea)](_0x4d8f41)));_0x1e794f&&(_0x1e794f[_0x333a55(0x141)]['testInfo'][_0x333a55(0x138)][_0x333a55(0x149)][_0x333a55(0x116)][_0x333a55(0x12f)]=_0x14a517);}}}catch(_0x25a60f){logger[_0x333a55(0xee)](_0x333a55(0x12c)+util[_0x333a55(0x139)](_0x25a60f));}};
1
+ function a32_0x4738(){const _0x4744fd=['wcagVersion','browser_version','name','VosYq','1190935FEQMug','method','1897LdywvI','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','gvTVa','kaShS','browserName','connectOptions','No\x20summaryResults\x20found.','(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','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','currentTest','accessibilityPlatform','MnVNF','zFuxT','chrome','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Zqdqh','dUSmW','../../helpers/helper','apwne','1441276FpeRto','101961DyhvYS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browserstack.accessibility','UmsLD','568oYcGRY','15279axNnpC','wWIsF','gQlzU','browser','kclhm','playwright-chromium','bestPractice','platformValidation','OkRAX','JUOyq','../../helpers/logger','accessibilityOptions.scannerVersion','26gyhKIs','accessibilityOptions.wcagVersion','evaluate','env','DHkmm','NEsXx','performScan','project','DMiZv','cMSnC','parse','testInfo','../../helpers/accessibility-automation/scripts','14060LMdhWQ','CJMwm','144759euuybb','accessibilityOptions.includeIssueType.needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','format','debug','2871035qklIDg','needsReview','error','getAccessibilityResults','replace','12462qKkYxi','QWRMh','GmUPq','getAccessibilityResultsSummary','browserStackEvaluate','stringify','yGErz','setAccessibilityCapabilities','gvmyQ','cebsB','browserStackExecuteDriver','accessibilityOptions','fTQDA','processAccessibilityCaps','zSuRY','gZUKz','SXNmb','EKymb','WebDriver','bstackSdkArgs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','constructor','../../helpers/accessibility-automation/helper','deviceName','LEwIu','No\x20accessibility\x20results\x20were\x20found.','latest','scannerVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','executeAsyncScript','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','warn','accessibilityOptions.scannerProcessingTimeout','scannerProcessingTimeout','executeScript'];a32_0x4738=function(){return _0x4744fd;};return a32_0x4738();}const a32_0x507822=a32_0x49dc;(function(_0x499600,_0x2ef1cf){const _0x42dcab=a32_0x49dc,_0x5b8a37=_0x499600();while(!![]){try{const _0x565395=-parseInt(_0x42dcab(0x1a9))/0x1+-parseInt(_0x42dcab(0x1d0))/0x2*(-parseInt(_0x42dcab(0x1df))/0x3)+parseInt(_0x42dcab(0x1be))/0x4+-parseInt(_0x42dcab(0x1e4))/0x5+parseInt(_0x42dcab(0x182))/0x6*(parseInt(_0x42dcab(0x1ab))/0x7)+-parseInt(_0x42dcab(0x1c3))/0x8*(parseInt(_0x42dcab(0x1bf))/0x9)+-parseInt(_0x42dcab(0x1dd))/0xa*(-parseInt(_0x42dcab(0x1c4))/0xb);if(_0x565395===_0x2ef1cf)break;else _0x5b8a37['push'](_0x5b8a37['shift']());}catch(_0x3f5a82){_0x5b8a37['push'](_0x5b8a37['shift']());}}}(a32_0x4738,0xe4014));const util=require('util'),logger=require(a32_0x507822(0x1ce))['winstonLogger'],{isAccessibilityAutomationSession}=require(a32_0x507822(0x198)),{isUndefined}=require(a32_0x507822(0x1bc)),scripts=require(a32_0x507822(0x1dc));function a32_0x49dc(_0x7b5e51,_0x5bb694){const _0x47386e=a32_0x4738();return a32_0x49dc=function(_0x49dc8d,_0x42e5bf){_0x49dc8d=_0x49dc8d-0x180;let _0x2994c5=_0x47386e[_0x49dc8d];return _0x2994c5;},a32_0x49dc(_0x7b5e51,_0x5bb694);}exports['browserStackEvaluate']=async(_0x4b0244,_0x3d8d8b,_0x451893={})=>{const _0x30f040=a32_0x507822,_0x1dc958={};_0x1dc958[_0x30f040(0x18e)]=_0x30f040(0x195);const _0x5790b8=_0x1dc958;return await _0x4b0244[_0x30f040(0x1d2)](_0x30f040(0x1b2)+_0x3d8d8b[_0x30f040(0x181)](/arguments/g,_0x5790b8[_0x30f040(0x18e)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x30f040(0x187)](_0x451893)+')');},exports[a32_0x507822(0x18c)]=async(_0x528210,_0x571237,_0x2aa3ff={})=>{const _0x46a14a=a32_0x507822,_0x2c118a={};_0x2c118a['BPiRH']=function(_0x131328,_0x534cf8){return _0x131328===_0x534cf8;},_0x2c118a[_0x46a14a(0x1c2)]=_0x46a14a(0x194),_0x2c118a[_0x46a14a(0x183)]=function(_0x3ac26f,_0x1577e7){return _0x3ac26f===_0x1577e7;},_0x2c118a[_0x46a14a(0x18b)]='Playwright',_0x2c118a['OkRAX']=_0x46a14a(0x195);const _0x221917=_0x2c118a;if(_0x221917['BPiRH'](_0x528210[_0x46a14a(0x197)]['name'],_0x221917[_0x46a14a(0x1c2)]))return await _0x528210[_0x46a14a(0x19f)](_0x571237,_0x2aa3ff);else{if(_0x221917[_0x46a14a(0x183)](_0x528210[_0x46a14a(0x197)][_0x46a14a(0x1a7)],_0x221917['cebsB']))return await _0x528210[_0x46a14a(0x1a4)]('(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'+_0x571237[_0x46a14a(0x181)](/arguments/g,_0x221917[_0x46a14a(0x1cc)])+_0x46a14a(0x1ac)+JSON[_0x46a14a(0x187)](_0x2aa3ff)+')');}},exports[a32_0x507822(0x189)]=async _0x298106=>{const _0x72d863=a32_0x507822,_0x4576e2={};_0x4576e2['cwAwA']=_0x72d863(0x1d1),_0x4576e2[_0x72d863(0x1d8)]=_0x72d863(0x1a2),_0x4576e2[_0x72d863(0x188)]='accessibilityOptions.includeIssueType.bestPractice',_0x4576e2['icxKu']=_0x72d863(0x1e0),_0x4576e2['LEwIu']='accessibilityOptions.authToken',_0x4576e2[_0x72d863(0x193)]=_0x72d863(0x1cf);const _0x56e780=_0x4576e2;_0x298106[_0x72d863(0x18d)]&&(_0x298106[_0x72d863(0x18d)][_0x72d863(0x1a5)]&&(_0x298106[_0x56e780['cwAwA']]=_0x298106[_0x72d863(0x18d)]['wcagVersion']),_0x298106[_0x72d863(0x18d)][_0x72d863(0x1a3)]&&(_0x298106[_0x56e780['DMiZv']]=_0x298106[_0x72d863(0x18d)][_0x72d863(0x1a3)]),_0x298106[_0x72d863(0x18d)]['includeIssueType']&&(_0x298106[_0x56e780[_0x72d863(0x188)]]=_0x298106[_0x72d863(0x18d)]['includeIssueType'][_0x72d863(0x1ca)],_0x298106[_0x56e780['icxKu']]=_0x298106[_0x72d863(0x18d)]['includeIssueType'][_0x72d863(0x1e5)]));const _0x46223e=JSON[_0x72d863(0x1da)](process[_0x72d863(0x1d3)][_0x72d863(0x1c0)])[_0x72d863(0x19d)];_0x298106[_0x56e780[_0x72d863(0x19a)]]=process[_0x72d863(0x1d3)]['BS_A11Y_JWT'],_0x298106[_0x56e780['EKymb']]=_0x46223e,delete _0x298106[_0x72d863(0x18d)];},exports[a32_0x507822(0x180)]=async _0x54e81e=>{const _0x4baacf=a32_0x507822,_0x2cbc1e={};_0x2cbc1e[_0x4baacf(0x1d9)]=_0x4baacf(0x19b),_0x2cbc1e[_0x4baacf(0x1d5)]=_0x4baacf(0x19e);const _0x4d9a79=_0x2cbc1e;if(global[_0x4baacf(0x1b5)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x54e81e,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x54e81e,scripts.getResults);return res;}catch{return logger[_0x4baacf(0x1e6)](_0x4d9a79[_0x4baacf(0x1d9)]),[];}else return logger['warn'](_0x4d9a79[_0x4baacf(0x1d5)]),[];},exports['performScan']=async(_0x1681a2,_0x3ea70a='')=>{const _0x116d17=a32_0x507822;if(global[_0x116d17(0x1b5)]){const _0x9c7de7={};return _0x9c7de7[_0x116d17(0x1aa)]=_0x3ea70a,await exports[_0x116d17(0x186)](_0x1681a2,scripts[_0x116d17(0x1d6)],_0x9c7de7);}},exports[a32_0x507822(0x185)]=async _0x1e71a9=>{const _0x2807ce=a32_0x507822,_0x5b4209={};_0x5b4209[_0x2807ce(0x18a)]=_0x2807ce(0x1b1),_0x5b4209[_0x2807ce(0x1ba)]=_0x2807ce(0x1a0);const _0x3036b2=_0x5b4209;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1e71a9,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1e71a9,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x2807ce(0x1e3)](_0x3036b2['gvmyQ']),{};}else return logger['warn'](_0x3036b2['Zqdqh']),{};},exports[a32_0x507822(0x1cb)]=async _0x178419=>{const _0x170860=a32_0x507822,_0x56c65f={'wWIsF':function(_0x16f0f2,_0x954bc3){return _0x16f0f2!==_0x954bc3;},'gvTVa':_0x170860(0x1b9),'CJMwm':function(_0x5efec5,_0x2a3668){return _0x5efec5===_0x2a3668;},'GmUPq':_0x170860(0x1b8),'sliHs':_0x170860(0x1c9),'DHkmm':_0x170860(0x1e1),'HUxzA':function(_0x3ad738,_0x2b4fec){return _0x3ad738(_0x2b4fec);},'zFuxT':function(_0x37922a,_0x28d8eb){return _0x37922a===_0x28d8eb;},'gZUKz':_0x170860(0x19c),'dLHDG':function(_0x1b705e,_0x4275f7){return _0x1b705e>_0x4275f7;},'kymwa':_0x170860(0x196)};try{if(!_0x56c65f[_0x170860(0x1c5)](_0x178419[_0x170860(0x199)],''))return logger['warn'](_0x56c65f[_0x170860(0x1ad)]),![];const _0x3fefad=_0x178419[_0x170860(0x1c7)];if(!(_0x56c65f[_0x170860(0x1de)](_0x3fefad,_0x56c65f[_0x170860(0x184)])||_0x56c65f[_0x170860(0x1de)](_0x3fefad,_0x56c65f['sliHs'])))return logger['warn'](_0x56c65f[_0x170860(0x1d4)]),![];const _0x1a9c1a=_0x56c65f['HUxzA'](parseInt,_0x178419[_0x170860(0x1a6)]);if(!(_0x56c65f[_0x170860(0x1b7)](_0x1a9c1a,_0x56c65f[_0x170860(0x191)])||_0x56c65f['dLHDG'](_0x1a9c1a,0x5e)))return logger[_0x170860(0x1a1)](_0x56c65f['kymwa']),![];}catch(_0x10a184){logger[_0x170860(0x1e3)](_0x170860(0x1b3)+util[_0x170860(0x1e2)](_0x10a184));}return!![];},exports[a32_0x507822(0x18f)]=(_0x3b5796,_0x47cca0,_0x5d1fb9)=>{const _0xadda67=a32_0x507822,_0x315086={'MnVNF':function(_0x576db5){return _0x576db5();},'SXNmb':_0xadda67(0x1c1),'JUOyq':function(_0x146be8,_0xd8cf01){return _0x146be8===_0xd8cf01;},'kaShS':_0xadda67(0x1b8),'apwne':_0xadda67(0x1c9),'ouYJc':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','dUSmW':function(_0x53a611,_0xb81543){return _0x53a611===_0xb81543;},'egTSy':'latest','NxPGh':function(_0x4a2ec7,_0xd2055e){return _0x4a2ec7>_0xd2055e;},'EVJbS':_0xadda67(0x196),'VosYq':function(_0x245ce4,_0x344729){return _0x245ce4(_0x344729);},'kclhm':_0xadda67(0x1b9),'gQlzU':function(_0x26c00f,_0x220087){return _0x26c00f+_0x220087;},'zSuRY':function(_0x39aac8,_0x421c5a){return _0x39aac8(_0x421c5a);}};try{if(_0x315086[_0xadda67(0x1b6)](isAccessibilityAutomationSession)){global[_0xadda67(0x1b5)]=!![];!_0x3b5796[_0x315086[_0xadda67(0x192)]]&&(global[_0xadda67(0x1b5)]=![]);!(_0x315086[_0xadda67(0x1cd)](_0x3b5796[_0xadda67(0x1af)],_0x315086[_0xadda67(0x1ae)])||_0x315086[_0xadda67(0x1cd)](_0x3b5796[_0xadda67(0x1af)],_0x315086[_0xadda67(0x1bd)]))&&(logger['warn'](_0x315086['ouYJc']),global[_0xadda67(0x1b5)]=![]);!(_0x315086[_0xadda67(0x1bb)](_0x3b5796['browser_version'],_0x315086['egTSy'])||_0x315086['NxPGh'](_0x3b5796[_0xadda67(0x1a6)],0x5e))&&(logger[_0xadda67(0x1a1)](_0x315086['EVJbS']),global[_0xadda67(0x1b5)]=![]);!_0x315086[_0xadda67(0x1a8)](isUndefined,_0x3b5796['deviceName'])&&(logger[_0xadda67(0x1a1)](_0x315086[_0xadda67(0x1c8)]),global['accessibilityPlatform']=![]);if(!global[_0xadda67(0x1b5)]){_0x3b5796[_0x315086['SXNmb']]=![];const _0x949b58=_0x315086[_0xadda67(0x1c6)](_0x47cca0,_0x315086[_0xadda67(0x190)](encodeURIComponent,JSON[_0xadda67(0x187)](_0x3b5796)));_0x5d1fb9&&(_0x5d1fb9[_0xadda67(0x1b4)][_0xadda67(0x1db)][_0xadda67(0x1d7)]['use'][_0xadda67(0x1b0)]['wsEndpoint']=_0x949b58);}}}catch(_0x6ba1f8){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0xadda67(0x1e2)](_0x6ba1f8));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a33_0x174256=a33_0x2144;(function(_0x3d7b66,_0x144543){const _0x23a981=a33_0x2144,_0x212fd1=_0x3d7b66();while(!![]){try{const _0x167a53=-parseInt(_0x23a981(0x169))/0x1*(-parseInt(_0x23a981(0x121))/0x2)+-parseInt(_0x23a981(0x110))/0x3*(parseInt(_0x23a981(0xfc))/0x4)+-parseInt(_0x23a981(0x12f))/0x5+parseInt(_0x23a981(0x17c))/0x6+parseInt(_0x23a981(0x182))/0x7*(-parseInt(_0x23a981(0x135))/0x8)+-parseInt(_0x23a981(0x17d))/0x9+parseInt(_0x23a981(0x14b))/0xa;if(_0x167a53===_0x144543)break;else _0x212fd1['push'](_0x212fd1['shift']());}catch(_0x104094){_0x212fd1['push'](_0x212fd1['shift']());}}}(a33_0x50ef,0xdaa50));function a33_0x2144(_0x5860ef,_0x46bf31){const _0x50ef55=a33_0x50ef();return a33_0x2144=function(_0x21442c,_0x12c9e4){_0x21442c=_0x21442c-0xed;let _0x34af03=_0x50ef55[_0x21442c];return _0x34af03;},a33_0x2144(_0x5860ef,_0x46bf31);}const fs=require('fs'),path=require(a33_0x174256(0x167)),{spawn}=require(a33_0x174256(0x134)),{format}=require(a33_0x174256(0xfe)),logger=require(a33_0x174256(0x151))[a33_0x174256(0xee)],{default:BrowserStackSetup}=require(a33_0x174256(0xf8)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a33_0x174256(0xff)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x174256(0xf5)),{CrashReporter}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a33_0x174256(0x181)),{checkAccessibilityPlatformConfig}=require(a33_0x174256(0x186)),{setAccessibilityCapabilities}=require(a33_0x174256(0xf1)),TestHubHandler=require(a33_0x174256(0x136)),{shouldProcessEventForTesthub}=require(a33_0x174256(0x18e));async function requireOrImportDefaultObject(_0xdccdc3){const _0x515cd5=a33_0x174256,_0x5081f0={'PDdUQ':function(_0x27aa8c){return _0x27aa8c();},'DzKvA':function(_0x3dfa2c,_0x511987){return _0x3dfa2c(_0x511987);},'aNrBb':function(_0x265d52,_0x3bf2d7){return _0x265d52===_0x3bf2d7;},'UepDM':_0x515cd5(0x196),'dGGpm':function(_0x3bab30,_0xefef76){return _0x3bab30 in _0xefef76;},'Zolvp':_0x515cd5(0xf2)},{requireOrImport:_0x21bb89}=helper[_0x515cd5(0x16c)][_0x515cd5(0x15f)](null,_0x5081f0['PDdUQ'](getTransformPath));let _0x2d7524=await _0x5081f0[_0x515cd5(0x16a)](_0x21bb89,_0xdccdc3);return _0x2d7524&&_0x5081f0[_0x515cd5(0x171)](typeof _0x2d7524,_0x5081f0[_0x515cd5(0x11f)])&&_0x5081f0['dGGpm'](_0x5081f0[_0x515cd5(0x149)],_0x2d7524)&&(_0x2d7524=_0x2d7524[_0x5081f0[_0x515cd5(0x149)]]),_0x2d7524;}const getUserPlaywrightConfig=async(_0xead7e0,_0x419173)=>{const _0x17278b=a33_0x174256,_0x4554f5={'HliJJ':function(_0x4ce35a){return _0x4ce35a();},'BlejL':function(_0xa76ef9,_0x28c35f){return _0xa76ef9(_0x28c35f);},'VssDj':function(_0x2163c9,_0x2aaa3f){return _0x2163c9(_0x2aaa3f);},'JLQdP':'resolvedConfigFile','ahHpO':function(_0xdfe67f,_0x4894f7){return _0xdfe67f(_0x4894f7);},'UNjTq':function(_0x571525,_0x4a8850){return _0x571525+_0x4a8850;},'LoGrV':_0x17278b(0x1a6),'YNqiY':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','skPLi':_0x17278b(0x152)},_0x3c4c27=!helper[_0x17278b(0x107)](_0xead7e0[_0x17278b(0x194)]),_0x4f750e=_0x3c4c27?path['resolve'](process['cwd'](),_0xead7e0['config']):process[_0x17278b(0x109)](),{resolveConfigFile:_0xaadad2,resolveConfigLocation:_0x226a68}=helper[_0x17278b(0x16c)][_0x17278b(0x15f)](null,_0x4554f5['HliJJ'](getConfigLoaderPath)),_0x36d843=_0xaadad2?_0x4554f5[_0x17278b(0x11a)](_0xaadad2,_0x4f750e):helper['nestedKeyValue'](_0x4554f5['VssDj'](_0x226a68,_0x4f750e),[_0x4554f5[_0x17278b(0x14d)]]);let _0x576656={};if(_0x36d843){logger[_0x17278b(0x168)](_0x17278b(0x174)+_0x36d843);try{_0x576656=await _0x4554f5[_0x17278b(0x127)](requireOrImportDefaultObject,_0x36d843);}catch(_0x4fe70d){return logger['error'](_0x4554f5['UNjTq'](_0x4554f5[_0x17278b(0x143)],_0x4554f5[_0x17278b(0x11a)](format,_0x4fe70d))),null;}}else logger[_0x17278b(0x168)](_0x4554f5['YNqiY']);if(_0x3c4c27){const _0x484ad4=_0x419173[_0x17278b(0x15b)](_0x2e7743=>_0x2e7743==='--config'||_0x2e7743==='-c'||_0x2e7743[_0x17278b(0x15c)](_0x17278b(0x152)));_0x419173[_0x17278b(0x164)](_0x484ad4,_0x419173[_0x484ad4][_0x17278b(0x15c)](_0x4554f5[_0x17278b(0x112)])?0x1:0x2);}const _0x339f56={};return _0x339f56[_0x17278b(0x167)]=_0x36d843,_0x339f56[_0x17278b(0x194)]=_0x576656,_0x339f56;},setGlobalSetup=(_0x49e8c3,_0xb0cd2d)=>{const _0x3e3903=a33_0x174256,_0x38f3a5={'sEPHg':_0x3e3903(0x126),'zJdbD':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','oulce':function(_0x2969c2,_0x4b0573){return _0x2969c2+_0x4b0573;},'DQjyB':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','qZFVq':function(_0x4725fe,_0x4dd26a){return _0x4725fe(_0x4dd26a);},'IpnTG':_0x3e3903(0x165)};if(!_0x49e8c3)return![];try{if(_0x49e8c3[_0x3e3903(0x126)]){let _0xc160e5;const _0x4c7cda=path[_0x3e3903(0x138)](_0xb0cd2d,_0x49e8c3[_0x38f3a5[_0x3e3903(0x191)]]);if(fs['existsSync'](_0x4c7cda))_0xc160e5=_0x4c7cda;else{const _0x1179d9={};_0x1179d9[_0x3e3903(0x129)]=[_0xb0cd2d],_0xc160e5=require[_0x3e3903(0x138)](_0x49e8c3[_0x38f3a5['sEPHg']],_0x1179d9);}if(!_0xc160e5)throw new Error(_0x38f3a5[_0x3e3903(0x177)]);process['env'][_0x3e3903(0x1a7)]=_0xc160e5;}}catch(_0x228f31){logger[_0x3e3903(0x17f)](_0x38f3a5[_0x3e3903(0x19d)](_0x38f3a5[_0x3e3903(0x18d)],_0x38f3a5[_0x3e3903(0x12e)](format,_0x228f31)));}return _0x49e8c3[_0x3e3903(0x126)]=require[_0x3e3903(0x138)](_0x38f3a5[_0x3e3903(0x195)]),!![];},addReporter=_0xf05274=>{const _0x1c02fa=a33_0x174256,_0x579f14={};_0x579f14['WfJri']=_0x1c02fa(0x14e),_0x579f14['xLvdj']='reporter',_0x579f14[_0x1c02fa(0x122)]=function(_0x2671ed,_0x5874de){return _0x2671ed===_0x5874de;},_0x579f14['GfdnO']=_0x1c02fa(0x13e),_0x579f14[_0x1c02fa(0x1a5)]=function(_0x720172,_0x45b776){return _0x720172===_0x45b776;},_0x579f14[_0x1c02fa(0x12b)]=_0x1c02fa(0x196);const _0x46e912=_0x579f14,_0x45fda7=path[_0x1c02fa(0x13c)](__dirname,_0x46e912[_0x1c02fa(0x130)]),_0x9b9a51=[_0x45fda7];if(helper[_0x1c02fa(0x107)](_0xf05274[_0x46e912['xLvdj']]))_0xf05274[_0x46e912[_0x1c02fa(0x188)]]=[_0x9b9a51];else{if(_0x46e912[_0x1c02fa(0x122)](typeof _0xf05274[_0x46e912[_0x1c02fa(0x188)]],_0x46e912[_0x1c02fa(0x157)]))_0xf05274[_0x46e912[_0x1c02fa(0x188)]]=[[_0xf05274[_0x46e912[_0x1c02fa(0x188)]]],_0x9b9a51];else _0x46e912[_0x1c02fa(0x1a5)](typeof _0xf05274[_0x46e912[_0x1c02fa(0x188)]],_0x46e912[_0x1c02fa(0x12b)])&&_0xf05274[_0x46e912['xLvdj']][_0x1c02fa(0x146)](_0x9b9a51);}},handleO11yRerun=_0x458781=>{const _0x38ff00=a33_0x174256,_0xb046e={};_0xb046e['ZCtRr']=function(_0x5be168,_0x36084b){return _0x5be168!==_0x36084b;},_0xb046e['szEvX']='null',_0xb046e[_0x38ff00(0x162)]=_0x38ff00(0x19e);const _0x2e733b=_0xb046e,_0x2fb90f=helper['isTrue'](process[_0x38ff00(0x17e)][_0x38ff00(0x189)]);if(_0x2fb90f){const _0x1870cb=process['env'][_0x38ff00(0x155)],_0x49c4df=[];if(_0x2e733b[_0x38ff00(0x105)](_0x1870cb,_0x2e733b[_0x38ff00(0x115)])&&!helper[_0x38ff00(0x107)](_0x1870cb)){_0x1870cb[_0x38ff00(0x170)](',')[_0x38ff00(0x148)](_0x495397=>{const _0x282a0e=_0x38ff00;_0x49c4df['push']('('+_0x495397[_0x282a0e(0x125)]()+')');});const _0x16a59a='^'+_0x49c4df[_0x38ff00(0x13c)]('|')+'$';_0x458781['push'](_0x2e733b[_0x38ff00(0x162)],_0x16a59a);}}},spawnOriginalProcess=_0x500656=>{const _0x1b6ada=a33_0x174256,_0x507dbe={'vaWEN':function(_0x2d54cc,_0x5d4d7b,_0x629201,_0x5a7790){return _0x2d54cc(_0x5d4d7b,_0x629201,_0x5a7790);},'UtTVp':_0x1b6ada(0x10c),'AgulU':_0x1b6ada(0x153),'GloiE':function(_0x2ab3fe,_0x50ab2c){return _0x2ab3fe===_0x50ab2c;},'syTYg':'win32','VGCqo':_0x1b6ada(0x18f)};_0x507dbe[_0x1b6ada(0x198)](spawn,_0x507dbe[_0x1b6ada(0xf7)],[_0x507dbe[_0x1b6ada(0x18c)],..._0x500656[_0x1b6ada(0x179)](0x1)],{'shell':_0x507dbe[_0x1b6ada(0x11b)](process[_0x1b6ada(0x178)],_0x507dbe[_0x1b6ada(0x13d)]),'stdio':_0x507dbe['VGCqo'],'cwd':process[_0x1b6ada(0x109)]()});},isTestCommand=(_0x32e025,_0x3bd0dd)=>{const _0x4e4ab8=a33_0x174256,_0x161246={};_0x161246[_0x4e4ab8(0x113)]=function(_0x3fb542,_0x36b99f){return _0x3fb542>_0x36b99f;},_0x161246[_0x4e4ab8(0x119)]=function(_0xf80cab,_0x4fdd72){return _0xf80cab===_0x4fdd72;},_0x161246['RXnQD']=_0x4e4ab8(0x104);const _0x4ce521=_0x161246;if(_0x4ce521[_0x4e4ab8(0x113)](_0x3bd0dd['length'],0x1)&&_0x4ce521['xCBkj'](_0x3bd0dd[0x1],_0x4ce521[_0x4e4ab8(0x141)]))return!![];return![];},initO11yCrashReporter=(_0x59c577,_0x3040c3)=>{const _0x44a47f=a33_0x174256,_0x448c46={'rYCTS':function(_0x4bf203,_0x162467){return _0x4bf203(_0x162467);}},_0x3d4c7f={'frameworkName':FRAMEWORKS['PLAYWRIGHT'],'frameworkVersion':_0x448c46[_0x44a47f(0xf3)](getFrameworkVersion,FRAMEWORKS[_0x44a47f(0x145)])};CrashReporter[_0x44a47f(0x150)](_0x3d4c7f,_0x59c577,_0x3040c3);};function a33_0x50ef(){const _0x9be57b=['playwright','testContextOptions','BROWSERSTACK_RERUN_TESTS','--disable-test-observability','GfdnO','testIgnore','WCVQk','finalExecution','findIndex','startsWith','icrdY','Deleting\x20','apply','WEAmF','homedir','zDFCF','NbyVx','splice','./globalSetup.js','USER_CONFIG_DETAILS_PATH','path','info','110CCmhhz','DzKvA','OXitF','requirePWModule','wifAg','testObservability','ZCBes','split','aNrBb','uOqXM','pw_result.json','Getting\x20your\x20playwright\x20config\x20from\x20','accessibilityOptions','nHpvA','zJdbD','platform','slice','MbJsc','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','2391522rTfLej','522801xfrAIW','env','error','--disable-browserstack-automation','../../helpers/test-observability/utils','10418674UcJVMZ','yelzq','accessibility','clearTempPWConfig','../../helpers/accessibility-automation/helper','SZSFj','xLvdj','BROWSERSTACK_RERUN','close','gbshN','AgulU','DQjyB','../../helpers/testhub/utils','inherit','BROWSERSTACK_AUTOMATION','sEPHg','tigTK','getProxyUrl','config','IpnTG','object','BROWSERSTACK_PW_CONFIG_DIR','vaWEN','nDaMb','serializeToYamlString','true','project','oulce','--grep','dirname','testMatch','Playwright\x20process\x20exited\x20with\x20code\x20','existsSync','KsZkP','readFileSync','hQjQd','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','getConfigPath','MXoNn','nflRL','UYtXs','vbAlh','efzOT','winstonLogger','debug','exports','./accessibility-helper','default','rYCTS','unlinkSync','./reporter/pwUtils','errorMessage','UtTVp','../../helpers/BrowserStackSetup','exitCode','BROWSERSTACK_TEST_ACCESSIBILITY_YML','QYUXE','8036cSbKrp','hRLXH','util','../../helpers/test-observability/constants','playwright-browserstack-sdk.config.cjs','Error\x20in\x20deleting\x20playwright\x20results','PACKAGE_TYPE','_internal','test','ZCtRr','fPSZC','isUndefined','uLivM','cwd','indexOf','.browserstack','npx','RhCGb','cliConfig','yIgaA','2607eWGflu','BrowserStack\x20config\x20file\x20not\x20found.','skPLi','XjYFl','collectFilesForProject','szEvX','JJSOW','Qxyzm','Error\x20in\x20getting\x20funnel\x20data\x20results','xCBkj','BlejL','GloiE','uONFS','njmyy','markSDKSetupComplete','UepDM','testDir','12114pBMWiA','GiZua','4|6|7|3|2|1|5|0','isTrue','trim','globalSetup','ahHpO','skipSessionName','paths','AqcZz','eWgbB','logLevel','BROWSERSTACK_TEST_OBSERVABILITY','qZFVq','4987380ONbtcq','WfJri','filterBrowserstackConfig','skipSessionStatus','win32','child_process','8zeQOwh','../../helpers/testhub/testhubHandler','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','resolve','automation','MgKDb','playwright-browserstack-sdk.config.js','join','syTYg','string','assign','length','RXnQD','launchBuild','LoGrV','elclx','PLAYWRIGHT','push','browserstackSetupConfig.json','map','Zolvp','filter','41204790PNBvhx','argv','JLQdP','./reporter/reporter.js','stringify','initialize','../../helpers/logger','--config='];a33_0x50ef=function(){return _0x9be57b;};return a33_0x50ef();}async function run(_0x19e9e8,_0x1e313c){const _0x91503b=a33_0x174256,_0x1fa33c={'wifAg':_0x91503b(0x10b),'JJSOW':_0x91503b(0x173),'yelzq':function(_0x5d56ce,_0x16ca70){return _0x5d56ce+_0x16ca70;},'RhCGb':_0x91503b(0x118),'GelLH':_0x91503b(0x123),'UYtXs':function(_0x28c36b){return _0x28c36b();},'SEQji':'Error\x20in\x20closing\x20playwright','tigTK':_0x91503b(0x180),'aQdUj':'false','CKrBY':_0x91503b(0x156),'Qxyzm':function(_0x2635ab,_0x4f0178){return _0x2635ab>=_0x4f0178;},'MbJsc':function(_0x46abc0,_0x5cccb1){return _0x46abc0+_0x5cccb1;},'MgKDb':_0x91503b(0x101),'yIgaA':function(_0x42d3ed,_0x4786c9,_0x47d4cc){return _0x42d3ed(_0x4786c9,_0x47d4cc);},'nHpvA':function(_0x4b59f9,_0x179384){return _0x4b59f9(_0x179384);},'ZCBes':_0x91503b(0x111),'WCVQk':_0x91503b(0x139),'fPSZC':function(_0x2c09b6,_0x45d696){return _0x2c09b6!=_0x45d696;},'qcAKw':'Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','uLivM':function(_0x1ad279,_0x33cf68){return _0x1ad279(_0x33cf68);},'nDaMb':function(_0x504600,_0x2f5ab2){return _0x504600===_0x2f5ab2;},'WEAmF':_0x91503b(0x19b),'LFAsn':function(_0x117d15,_0x253e7e){return _0x117d15(_0x253e7e);},'AqcZz':function(_0x1fd2f1,_0x3b8890){return _0x1fd2f1(_0x3b8890);},'OfraB':_0x91503b(0x147),'KsZkP':'testDir','njmyy':'testMatch','SZSFj':_0x91503b(0x158),'MXoNn':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','uOqXM':function(_0xb62092,_0x5d5fdb){return _0xb62092(_0x5d5fdb);},'nflRL':function(_0x50243a,_0x205bf8){return _0x50243a===_0x205bf8;},'nJmms':_0x91503b(0x100),'hRLXH':_0x91503b(0x13b),'gbshN':function(_0x2caf54,_0x22108d){return _0x2caf54>_0x22108d;},'whrib':function(_0x195806,_0x53101d,_0x161782,_0x4eddeb){return _0x195806(_0x53101d,_0x161782,_0x4eddeb);},'icrdY':_0x91503b(0x10c),'QYUXE':_0x91503b(0x153),'efzOT':_0x91503b(0x104),'NbyVx':'--config','uONFS':function(_0x551364,_0x3ed14d){return _0x551364===_0x3ed14d;},'elclx':_0x91503b(0x133),'vbAlh':_0x91503b(0x18f),'OXitF':_0x91503b(0x18a)};!helper['isFalse'](process[_0x91503b(0x17e)][_0x91503b(0x190)])&&(process['env'][_0x91503b(0x190)]=!![]);process[_0x91503b(0x14c)]['includes'](_0x1fa33c[_0x91503b(0x192)])&&(process[_0x91503b(0x17e)]['BROWSERSTACK_AUTOMATION']=_0x1fa33c['aQdUj'],_0x1e313c=_0x1e313c['filter'](_0x412512=>_0x412512!=='--disable-browserstack-automation'));const _0x3f6290=_0x1e313c[_0x91503b(0x10a)](_0x1fa33c['CKrBY']);_0x1fa33c[_0x91503b(0x117)](_0x3f6290,0x0)&&(process[_0x91503b(0x17e)][_0x91503b(0x12d)]=_0x1fa33c['aQdUj'],_0x1e313c=_0x1e313c[_0x91503b(0x14a)](_0x5d3566=>_0x5d3566!==_0x91503b(0x156)));try{const _0x1b641c=path[_0x91503b(0x13c)](helper[_0x91503b(0x161)](),_0x1fa33c[_0x91503b(0x16d)],_0x1fa33c[_0x91503b(0x116)]);fs[_0x91503b(0x1a2)](_0x1b641c)&&fs[_0x91503b(0xf4)](_0x1b641c);}catch(_0x58bb53){logger[_0x91503b(0xef)](_0x1fa33c[_0x91503b(0x17a)](_0x1fa33c[_0x91503b(0x13a)],_0x58bb53));}if(!_0x1fa33c[_0x91503b(0x10f)](isTestCommand,_0x19e9e8,_0x1e313c)){_0x1fa33c['nHpvA'](spawnOriginalProcess,_0x1e313c);return;}const _0x14c6e7=new BrowserStackSetup(_0x19e9e8,FRAMEWORKS[_0x91503b(0x145)]);if(!_0x14c6e7[_0x91503b(0x194)]){logger[_0x91503b(0x17f)](_0x1fa33c[_0x91503b(0x16f)]);return;}await _0x14c6e7[_0x91503b(0x150)]();!helper[_0x91503b(0x107)](_0x14c6e7[_0x91503b(0x10e)])&&_0x14c6e7[_0x91503b(0x10e)]['has'](_0x1fa33c[_0x91503b(0x159)])&&(process[_0x91503b(0x17e)][_0x91503b(0x190)]=_0x14c6e7[_0x91503b(0x10e)]['get'](_0x1fa33c['WCVQk'])||!![]);_0x1fa33c[_0x91503b(0x106)](_0x14c6e7['config'][_0x91503b(0x16e)],null)&&!helper[_0x91503b(0x124)](process[_0x91503b(0x17e)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x91503b(0x17e)][_0x91503b(0x12d)]=process['env'][_0x91503b(0x12d)]||_0x14c6e7[_0x91503b(0x194)]['testObservability']);const _0x4b9891=!helper['isFalse'](process[_0x91503b(0x17e)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x24b238=![];_0x14c6e7[_0x91503b(0x194)][_0x91503b(0x184)]&&(_0x24b238=!![],process[_0x91503b(0x17e)][_0x91503b(0xfa)]=_0x14c6e7['config'][_0x91503b(0x184)]);_0x14c6e7[_0x91503b(0x194)][_0x91503b(0x175)]&&(process[_0x91503b(0x17e)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x91503b(0x14f)](_0x14c6e7[_0x91503b(0x194)][_0x91503b(0x175)]));const _0x4bdd00=_0x1e313c['concat'](),_0x311b36=await _0x1fa33c[_0x91503b(0x10f)](getUserPlaywrightConfig,_0x19e9e8,_0x1e313c);if(helper['isUndefined'](_0x311b36)){_0x1fa33c[_0x91503b(0x176)](spawnOriginalProcess,_0x4bdd00);return;}const _0x2ee8f9={..._0x311b36[_0x91503b(0x194)]},_0x2f164d=_0x2ee8f9,_0x836370=_0x311b36[_0x91503b(0x167)]?path['dirname'](_0x311b36[_0x91503b(0x167)]):process[_0x91503b(0x109)]();process[_0x91503b(0x17e)][_0x91503b(0x197)]=_0x836370;if(!_0x1fa33c['yIgaA'](setGlobalSetup,_0x2f164d,_0x836370)){_0x1fa33c[_0x91503b(0x176)](spawnOriginalProcess,_0x4bdd00);return;}await TestHubHandler[_0x91503b(0x142)](FRAMEWORKS[_0x91503b(0x145)],_0x14c6e7);_0x4b9891&&(logger[_0x91503b(0x168)](_0x1fa33c['qcAKw']),_0x1fa33c[_0x91503b(0x10f)](initO11yCrashReporter,_0x2f164d,_0x14c6e7[_0x91503b(0x194)]),_0x1fa33c[_0x91503b(0x108)](handleO11yRerun,_0x1e313c));_0x1fa33c[_0x91503b(0x1ab)](shouldProcessEventForTesthub)&&_0x1fa33c['uLivM'](addReporter,_0x2f164d);let _0x51ccc6=_0x1fa33c[_0x91503b(0x199)](process[_0x91503b(0x17e)][_0x91503b(0xfa)],_0x1fa33c[_0x91503b(0x160)]);_0x51ccc6=_0x51ccc6||_0x1fa33c['LFAsn'](checkAccessibilityPlatformConfig,_0x14c6e7[_0x91503b(0x194)]),process['env'][_0x91503b(0xfa)]=_0x51ccc6;_0x51ccc6&&_0x1fa33c[_0x91503b(0x12a)](setAccessibilityCapabilities,_0x14c6e7[_0x91503b(0x194)]);const _0xc83859=path['join'](_0x311b36['path']?path[_0x91503b(0x19f)](_0x311b36[_0x91503b(0x167)]):process['cwd'](),_0x1fa33c['OfraB']);fs['writeFileSync'](_0xc83859,helper[_0x91503b(0x19a)](_0x14c6e7[_0x91503b(0x194)])),process[_0x91503b(0x17e)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0xc83859,helper[_0x91503b(0x185)]();if(helper[_0x91503b(0x124)](process[_0x91503b(0x17e)][_0x91503b(0x190)])){let _0x526a0a=[];try{const _0x561f1c=helper['requirePWModule']['apply'](null,_0x1fa33c[_0x91503b(0x1ab)](getProjectUtilsPath)),_0x15ab64={};_0x15ab64['respectGitIgnore']=!![],_0x15ab64[_0x91503b(0x120)]='',_0x15ab64[_0x91503b(0x1a0)]='',_0x15ab64[_0x91503b(0x158)]='';const _0xacbe84={};_0xacbe84['respectGitIgnore']=!![];const _0x33dcde={};_0x33dcde[_0x91503b(0x19c)]=_0x15ab64,_0x33dcde[_0x91503b(0x103)]=_0xacbe84;let _0x4a8950=_0x33dcde;_0x2f164d[_0x1fa33c[_0x91503b(0x1a3)]]&&(_0x4a8950[_0x91503b(0x19c)][_0x1fa33c[_0x91503b(0x1a3)]]=_0x2f164d[_0x1fa33c[_0x91503b(0x1a3)]]),_0x2f164d[_0x1fa33c[_0x91503b(0x11d)]]&&(_0x4a8950[_0x91503b(0x19c)][_0x1fa33c['njmyy']]=_0x2f164d[_0x1fa33c['njmyy']]),_0x2f164d[_0x1fa33c['SZSFj']]&&(_0x4a8950[_0x91503b(0x19c)][_0x1fa33c['SZSFj']]=_0x2f164d[_0x1fa33c[_0x91503b(0x187)]]),_0x4a8950=Object[_0x91503b(0x13f)](_0x4a8950,_0x4a8950['project']),_0x526a0a=await _0x561f1c[_0x91503b(0x114)](_0x4a8950);}catch(_0x1bf94){logger[_0x91503b(0xef)](_0x1fa33c['yelzq'](_0x1fa33c[_0x91503b(0x1a9)],_0x1fa33c[_0x91503b(0x172)](format,_0x1bf94)));}}let _0x46c89a='';_0x1fa33c[_0x91503b(0x1aa)](helper['getPackageType'](),constants[_0x91503b(0x102)]['MODULE'])?_0x46c89a=_0x1fa33c['nJmms']:_0x46c89a=_0x1fa33c[_0x91503b(0xfd)];const _0x560e4e=path[_0x91503b(0x13c)](_0x311b36[_0x91503b(0x167)]?path[_0x91503b(0x19f)](_0x311b36[_0x91503b(0x167)]):process['cwd'](),_0x46c89a);let _0x2bcba4=_0x311b36[_0x91503b(0x167)]?_0x311b36[_0x91503b(0x167)]:'';_0x2bcba4=_0x1fa33c[_0x91503b(0x18b)](_0x2bcba4[_0x91503b(0x140)],0x0)?path[_0x91503b(0x138)](_0x2bcba4):'',process[_0x91503b(0x17e)][_0x91503b(0x166)]=_0x2bcba4;let _0x30abe9=_0x91503b(0x17b);const _0x3ed1ea=helper[_0x91503b(0x193)](_0x14c6e7[_0x91503b(0x194)]);_0x3ed1ea&&(_0x30abe9=_0x1fa33c[_0x91503b(0x17a)](_0x91503b(0x137)+_0x3ed1ea+'\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();',_0x30abe9));helper[_0x91503b(0x131)]({},_0x1e313c),fs['writeFileSync'](_0x560e4e,_0x30abe9),helper[_0x91503b(0x11e)]();const _0x36024e=_0x1fa33c['whrib'](spawn,_0x1fa33c[_0x91503b(0x15d)],[_0x1fa33c[_0x91503b(0xfb)],_0x1fa33c[_0x91503b(0xed)],_0x1fa33c[_0x91503b(0x163)],_0x560e4e,..._0x1e313c['slice'](0x2)],{'shell':_0x1fa33c[_0x91503b(0x11c)](process[_0x91503b(0x178)],_0x1fa33c[_0x91503b(0x144)]),'stdio':_0x1fa33c[_0x91503b(0x1ac)],'cwd':process['cwd'](),'env':Object[_0x91503b(0x13f)]({},process[_0x91503b(0x17e)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x91503b(0x1a8)](_0x19e9e8),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x14c6e7['config'][_0x91503b(0x154)][_0x91503b(0x132)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x14c6e7[_0x91503b(0x194)]['testContextOptions'][_0x91503b(0x128)],'BROWSERSTACK_LOG_LEVEL':_0x14c6e7['config'][_0x91503b(0x12c)]})}),_0x2adfa1=()=>{const _0x2f7cd4=_0x91503b;try{const _0x43f20b=path[_0x2f7cd4(0x13c)](helper[_0x2f7cd4(0x161)](),_0x1fa33c[_0x2f7cd4(0x16d)],_0x1fa33c[_0x2f7cd4(0x116)]);if(fs[_0x2f7cd4(0x1a2)](_0x43f20b)){let _0x21169e=fs[_0x2f7cd4(0x1a4)](_0x43f20b);_0x21169e=JSON['parse'](_0x21169e),_0x14c6e7[_0x2f7cd4(0xf6)]=_0x21169e,fs[_0x2f7cd4(0xf4)](_0x43f20b);}}catch(_0x53bff8){logger[_0x2f7cd4(0xef)](_0x1fa33c[_0x2f7cd4(0x183)](_0x1fa33c[_0x2f7cd4(0x10d)],_0x53bff8));}};_0x36024e['on'](_0x1fa33c[_0x91503b(0x16b)],async _0x559c37=>{const _0x191f26=_0x91503b;try{const _0xde595f=_0x1fa33c['GelLH']['split']('|');let _0x442101=0x0;while(!![]){switch(_0xde595f[_0x442101++]){case'0':fs[_0x191f26(0xf4)](_0xc83859);continue;case'1':fs[_0x191f26(0xf4)](_0x560e4e);continue;case'2':logger[_0x191f26(0x168)](_0x191f26(0x15e)+_0x560e4e);continue;case'3':logger[_0x191f26(0xef)](_0x191f26(0x1a1)+_0x559c37);continue;case'4':_0x1fa33c[_0x191f26(0x1ab)](_0x2adfa1);continue;case'5':logger[_0x191f26(0xef)]('Deleting\x20'+_0xc83859);continue;case'6':await helper[_0x191f26(0x15a)](_0x14c6e7);continue;case'7':process[_0x191f26(0xf9)]=_0x559c37;continue;}break;}}catch(_0xcb295){logger[_0x191f26(0xef)](_0x1fa33c[_0x191f26(0x183)](_0x1fa33c['SEQji'],_0xcb295));}});}module[a33_0x174256(0xf0)]=run;
2
+ 'use strict';const a33_0x5eb3e2=a33_0xfaa8;function a33_0x59f1(){const _0x2426bd=['accessibility','initialize','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','21PsbJIP','sHMYs','writeFileSync','jLszi','cZNpU','map','iXIUT','child_process','Deleting\x20','filter','config','kAIpp','5065380iHfunv','ivtKb','resolve','testMatch','existsSync','xCcVY','cwd','vwTwy','--grep','XJZAZ','Error\x20in\x20deleting\x20playwright\x20results','bpiRo','yKDye','ApbrP','info','debug','WyWkv','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','SWEVP','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','skipSessionStatus','markSDKSetupComplete','1873388ZzHZUu','error','isFalse','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','playwright-browserstack-sdk.config.js','readFileSync','assign','isUndefined','UxLmz','1229SByPMz','./reporter/reporter.js','YlZFQ','filterBrowserstackConfig','unlinkSync','qrcna','LWfQr','inherit','resolvedConfigFile','NWowC','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','BROWSERSTACK_TEST_ACCESSIBILITY_YML','respectGitIgnore','BROWSERSTACK_TEST_OBSERVABILITY','umzXl','--config=','CmgsF','close','qjJTN','BROWSERSTACK_RERUN_TESTS','--config','win32','string','Wolzb','playwright','accessibilityOptions','finalExecution','WWMSD','40bSOAFF','PLAYWRIGHT','slice','exports','\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();','viGHg','kmiLq','testDir','playwright-browserstack-sdk.config.cjs','apply','YqTzf','Playwright\x20process\x20exited\x20with\x20code\x20','nqNFC','skipSessionName','../../helpers/test-observability/utils','tvuxx','concat','AmdpW','DdUWB','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','./globalSetup.js','--disable-browserstack-automation','split','Getting\x20your\x20playwright\x20config\x20from\x20','join','LeZlg','npx','iresC','vCsrN','1828608jAfaGm','env','getProxyUrl','false','EJBsR','cliConfig','../../helpers/BrowserStackSetup','eHLrm','533624xlwoOu','object','_internal','wRZrs','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','test','XoTMx','1240qPiIlb','testObservability','testContextOptions','startsWith','path','getConfigPath','rOlcA','IJPZy','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','vBGun','1724gVoDZJ','gqVbd','util','requirePWModule','nGXsr','testIgnore','platform','tVEzI','../../helpers/helper','exitCode','7215678QmgvAb','push','../../helpers/test-observability/constants','CmLie','reporter','nVene','indexOf','project','BROWSERSTACK_PW_CONFIG_DIR','../../helpers/testhub/utils','../utils/constants','NzTzc','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_AUTOMATION','qtSDn','XHklY','stop','isTrue','xyvVJ','YZjsq','launchBuild','get','PACKAGE_TYPE','cVAms','argv','UUqrC','jSqQV','--disable-test-observability','true','BgSDD','parse','pIteU','gdArZ','vSaCA','default','homedir','automation','CxcLo','mEkyc','dirname','XSkZN','clearTempPWConfig','BROWSERSTACK_RERUN','ELAyq','ipHeO','.browserstack','utJjk','globalSetup','./accessibility-helper','3800LzbnOE'];a33_0x59f1=function(){return _0x2426bd;};return a33_0x59f1();}(function(_0x50b291,_0x3c030b){const _0x2a0529=a33_0xfaa8,_0x2e4a2e=_0x50b291();while(!![]){try{const _0x2d3368=-parseInt(_0x2a0529(0x182))/0x1*(parseInt(_0x2a0529(0x118))/0x2)+-parseInt(_0x2a0529(0x1bc))/0x3+parseInt(_0x2a0529(0x153))/0x4*(-parseInt(_0x2a0529(0x10e))/0x5)+parseInt(_0x2a0529(0x163))/0x6+parseInt(_0x2a0529(0x157))/0x7*(parseInt(_0x2a0529(0x107))/0x8)+parseInt(_0x2a0529(0x122))/0x9+parseInt(_0x2a0529(0x19f))/0xa*(parseInt(_0x2a0529(0x179))/0xb);if(_0x2d3368===_0x3c030b)break;else _0x2e4a2e['push'](_0x2e4a2e['shift']());}catch(_0x55b28c){_0x2e4a2e['push'](_0x2e4a2e['shift']());}}}(a33_0x59f1,0x980bb));const fs=require('fs'),path=require(a33_0x5eb3e2(0x112)),{spawn}=require(a33_0x5eb3e2(0x15e)),{format}=require(a33_0x5eb3e2(0x11a)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x5eb3e2(0x105)),helper=require(a33_0x5eb3e2(0x120)),constants=require(a33_0x5eb3e2(0x12c)),{FRAMEWORKS}=require(a33_0x5eb3e2(0x124)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a33_0x5eb3e2(0x1ad)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a33_0x5eb3e2(0x152)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a33_0x5eb3e2(0x12b));async function requireOrImportDefaultObject(_0x577012){const _0x42e042=a33_0x5eb3e2,_0x4681f2={'IJPZy':function(_0x41d35d){return _0x41d35d();},'tVEzI':function(_0x147072,_0x22cb20){return _0x147072(_0x22cb20);},'xmAQK':function(_0x1224e7,_0x13986a){return _0x1224e7===_0x13986a;},'ugdcj':_0x42e042(0x108),'qrcna':function(_0x54d8c3,_0xf35138){return _0x54d8c3 in _0xf35138;},'WyWkv':_0x42e042(0x144)},{requireOrImport:_0x50b7e4}=helper[_0x42e042(0x11b)][_0x42e042(0x1a8)](null,_0x4681f2[_0x42e042(0x115)](getTransformPath));let _0x51465b=await _0x4681f2[_0x42e042(0x11f)](_0x50b7e4,_0x577012);return _0x51465b&&_0x4681f2['xmAQK'](typeof _0x51465b,_0x4681f2['ugdcj'])&&_0x4681f2[_0x42e042(0x187)](_0x4681f2[_0x42e042(0x173)],_0x51465b)&&(_0x51465b=_0x51465b[_0x4681f2[_0x42e042(0x173)]]),_0x51465b;}const getUserPlaywrightConfig=async(_0x571108,_0x558864)=>{const _0x4ee703=a33_0x5eb3e2,_0x4cccbb={'wWEMx':function(_0x4787fd){return _0x4787fd();},'AmdpW':function(_0xd7e884,_0x9b596){return _0xd7e884(_0x9b596);},'vwTwy':function(_0x370e4b,_0x171588){return _0x370e4b(_0x171588);},'BHlCl':_0x4ee703(0x18a),'Wolzb':function(_0x4bd52e,_0x110a2d){return _0x4bd52e+_0x110a2d;},'xyvVJ':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','gdArZ':function(_0x5989b0,_0x42f184){return _0x5989b0(_0x42f184);},'jSqQV':_0x4ee703(0x10b),'UfjbE':_0x4ee703(0x192)},_0x196b87=!helper[_0x4ee703(0x180)](_0x571108[_0x4ee703(0x161)]),_0x99ed24=_0x196b87?path[_0x4ee703(0x165)](process[_0x4ee703(0x169)](),_0x571108[_0x4ee703(0x161)]):process[_0x4ee703(0x169)](),{resolveConfigFile:_0x5779cb,resolveConfigLocation:_0x5395b0}=helper[_0x4ee703(0x11b)][_0x4ee703(0x1a8)](null,_0x4cccbb['wWEMx'](getConfigLoaderPath)),_0xa2f36=_0x5779cb?_0x4cccbb[_0x4ee703(0x1b0)](_0x5779cb,_0x99ed24):helper['nestedKeyValue'](_0x4cccbb[_0x4ee703(0x16a)](_0x5395b0,_0x99ed24),[_0x4cccbb['BHlCl']]);let _0x144f0c={};if(_0xa2f36){logger[_0x4ee703(0x171)](_0x4ee703(0x1b6)+_0xa2f36);try{_0x144f0c=await _0x4cccbb['vwTwy'](requireOrImportDefaultObject,_0xa2f36);}catch(_0x52c010){return logger['error'](_0x4cccbb[_0x4ee703(0x19a)](_0x4cccbb[_0x4ee703(0x134)],_0x4cccbb[_0x4ee703(0x142)](format,_0x52c010))),null;}}else logger[_0x4ee703(0x171)](_0x4cccbb[_0x4ee703(0x13c)]);if(_0x196b87){const _0x20c1db=_0x558864['findIndex'](_0x4dd24f=>_0x4dd24f===_0x4ee703(0x197)||_0x4dd24f==='-c'||_0x4dd24f[_0x4ee703(0x111)](_0x4ee703(0x192)));_0x558864['splice'](_0x20c1db,_0x558864[_0x20c1db][_0x4ee703(0x111)](_0x4cccbb['UfjbE'])?0x1:0x2);}const _0x4e2f83={};return _0x4e2f83[_0x4ee703(0x112)]=_0xa2f36,_0x4e2f83[_0x4ee703(0x161)]=_0x144f0c,_0x4e2f83;},setGlobalSetup=(_0x348c53,_0x3fc87b)=>{const _0x53927f=a33_0x5eb3e2,_0x14df96={'YZjsq':'globalSetup','rNRXr':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','sHMYs':function(_0x18a087,_0x3ca6bb){return _0x18a087+_0x3ca6bb;},'yKDye':_0x53927f(0x156),'OvQTd':function(_0x3417a9,_0x587ee7){return _0x3417a9(_0x587ee7);},'XSkZN':_0x53927f(0x1b3)};if(!_0x348c53)return![];try{if(_0x348c53['globalSetup']){let _0x1934d3;const _0xdaad6f=path[_0x53927f(0x165)](_0x3fc87b,_0x348c53[_0x14df96[_0x53927f(0x135)]]);if(fs[_0x53927f(0x167)](_0xdaad6f))_0x1934d3=_0xdaad6f;else{const _0x1cf174={};_0x1cf174['paths']=[_0x3fc87b],_0x1934d3=require[_0x53927f(0x165)](_0x348c53[_0x14df96['YZjsq']],_0x1cf174);}if(!_0x1934d3)throw new Error(_0x14df96['rNRXr']);process[_0x53927f(0x1bd)][_0x53927f(0x18d)]=_0x1934d3;}}catch(_0x20c734){logger['error'](_0x14df96[_0x53927f(0x158)](_0x14df96[_0x53927f(0x16f)],_0x14df96['OvQTd'](format,_0x20c734)));}return _0x348c53[_0x53927f(0x151)]=require[_0x53927f(0x165)](_0x14df96[_0x53927f(0x14a)]),!![];},addReporter=_0x492dd1=>{const _0x6c26a8=a33_0x5eb3e2,_0x22f050={};_0x22f050[_0x6c26a8(0x164)]=_0x6c26a8(0x183),_0x22f050['XJZAZ']=_0x6c26a8(0x126),_0x22f050[_0x6c26a8(0x1a4)]=function(_0x517df5,_0x1cfdbc){return _0x517df5===_0x1cfdbc;},_0x22f050[_0x6c26a8(0x131)]=_0x6c26a8(0x199),_0x22f050[_0x6c26a8(0x141)]='object';const _0x4e63a0=_0x22f050,_0x52d8f0=path['join'](__dirname,_0x4e63a0[_0x6c26a8(0x164)]),_0x1d5678=[_0x52d8f0];if(helper['isUndefined'](_0x492dd1[_0x4e63a0['XJZAZ']]))_0x492dd1[_0x4e63a0[_0x6c26a8(0x16c)]]=[_0x1d5678];else{if(_0x4e63a0[_0x6c26a8(0x1a4)](typeof _0x492dd1[_0x4e63a0['XJZAZ']],_0x4e63a0[_0x6c26a8(0x131)]))_0x492dd1[_0x4e63a0['XJZAZ']]=[[_0x492dd1[_0x4e63a0[_0x6c26a8(0x16c)]]],_0x1d5678];else _0x4e63a0[_0x6c26a8(0x1a4)](typeof _0x492dd1[_0x4e63a0['XJZAZ']],_0x4e63a0[_0x6c26a8(0x141)])&&_0x492dd1[_0x4e63a0[_0x6c26a8(0x16c)]][_0x6c26a8(0x123)](_0x1d5678);}},handleO11yRerun=_0x448c51=>{const _0x4ba2cc=a33_0x5eb3e2,_0x42bc03={};_0x42bc03['ZZVgd']=function(_0x4f7c9b,_0x50f281){return _0x4f7c9b!==_0x50f281;},_0x42bc03[_0x4ba2cc(0x14d)]='null',_0x42bc03['vCsrN']=_0x4ba2cc(0x16b);const _0x3abfb6=_0x42bc03,_0x4ee71f=helper[_0x4ba2cc(0x133)](process[_0x4ba2cc(0x1bd)][_0x4ba2cc(0x14c)]);if(_0x4ee71f){const _0x2c555e=process[_0x4ba2cc(0x1bd)][_0x4ba2cc(0x196)],_0x1efc1d=[];if(_0x3abfb6['ZZVgd'](_0x2c555e,_0x3abfb6['ELAyq'])&&!helper[_0x4ba2cc(0x180)](_0x2c555e)){_0x2c555e[_0x4ba2cc(0x1b5)](',')[_0x4ba2cc(0x15c)](_0x494817=>{const _0x4df141=_0x4ba2cc;_0x1efc1d[_0x4df141(0x123)]('('+_0x494817['trim']()+')');});const _0x3bcca0='^'+_0x1efc1d[_0x4ba2cc(0x1b7)]('|')+'$';_0x448c51[_0x4ba2cc(0x123)](_0x3abfb6[_0x4ba2cc(0x1bb)],_0x3bcca0);}}},spawnOriginalProcess=_0x452e0b=>{const _0x438515=a33_0x5eb3e2,_0x11ea56={'SWEVP':function(_0x2f10c0,_0x2d0e52,_0x491e61,_0x240c65){return _0x2f10c0(_0x2d0e52,_0x491e61,_0x240c65);},'YlZFQ':_0x438515(0x1b9),'DdUWB':_0x438515(0x19b),'CmgsF':function(_0x35a1b0,_0x42f463){return _0x35a1b0===_0x42f463;},'kmiLq':_0x438515(0x198),'utJjk':_0x438515(0x189)};_0x11ea56[_0x438515(0x175)](spawn,_0x11ea56[_0x438515(0x184)],[_0x11ea56[_0x438515(0x1b1)],..._0x452e0b[_0x438515(0x1a1)](0x1)],{'shell':_0x11ea56[_0x438515(0x193)](process[_0x438515(0x11e)],_0x11ea56[_0x438515(0x1a5)]),'stdio':_0x11ea56[_0x438515(0x150)],'cwd':process[_0x438515(0x169)]()});},isTestCommand=(_0x31d9f4,_0x308bc4)=>{const _0x24de02=a33_0x5eb3e2,_0x222bb4={};_0x222bb4['qjJTN']=function(_0x2444b0,_0x19167a){return _0x2444b0>_0x19167a;},_0x222bb4[_0x24de02(0x162)]=function(_0x3de458,_0x1cfb07){return _0x3de458===_0x1cfb07;},_0x222bb4[_0x24de02(0x191)]='test';const _0x372048=_0x222bb4;if(_0x372048[_0x24de02(0x195)](_0x308bc4['length'],0x1)&&_0x372048[_0x24de02(0x162)](_0x308bc4[0x1],_0x372048['umzXl']))return!![];return![];},initO11yCrashReporter=(_0x131b2d,_0x5dcf76)=>{const _0x2c379e=a33_0x5eb3e2,_0x3e6f7a={'ApbrP':function(_0x1330bc,_0x978a4d){return _0x1330bc(_0x978a4d);}},_0x55cd6a={'frameworkName':FRAMEWORKS[_0x2c379e(0x1a0)],'frameworkVersion':_0x3e6f7a[_0x2c379e(0x170)](getFrameworkVersion,FRAMEWORKS[_0x2c379e(0x1a0)])};CrashReporter['initialize'](_0x55cd6a,_0x131b2d,_0x5dcf76);};function a33_0xfaa8(_0x1a90f7,_0x482760){const _0x59f191=a33_0x59f1();return a33_0xfaa8=function(_0xfaa8bf,_0x608cc6){_0xfaa8bf=_0xfaa8bf-0x105;let _0x288fa7=_0x59f191[_0xfaa8bf];return _0x288fa7;},a33_0xfaa8(_0x1a90f7,_0x482760);}async function run(_0x47b6a0,_0x208213){const _0x18f764=a33_0x5eb3e2,_0x2755fb={'WWMSD':_0x18f764(0x14f),'xCcVY':'pw_result.json','jLszi':function(_0x18c351,_0x4b22bf){return _0x18c351+_0x4b22bf;},'ipHeO':_0x18f764(0x12e),'ePwGP':'7|8|1|2|3|0|5|6|4','iresC':function(_0x19e103){return _0x19e103();},'nqNFC':'Error\x20in\x20closing\x20playwright','krWMs':_0x18f764(0x1b4),'NWowC':_0x18f764(0x1bf),'BgSDD':'--disable-test-observability','wpwKV':function(_0x3bd5d,_0x2ea105){return _0x3bd5d>=_0x2ea105;},'tvuxx':_0x18f764(0x16d),'vBGun':function(_0x3027f3,_0x2fbef3,_0x1016ab){return _0x3027f3(_0x2fbef3,_0x1016ab);},'nGXsr':function(_0x15f4eb,_0x571e65){return _0x15f4eb(_0x571e65);},'CxcLo':_0x18f764(0x18c),'cVAms':_0x18f764(0x146),'KWiQK':function(_0x297286,_0x153164){return _0x297286!=_0x153164;},'eQuRO':function(_0x421b25,_0x344262){return _0x421b25(_0x344262);},'wRZrs':function(_0x340264,_0x520ebb){return _0x340264(_0x520ebb);},'NzTzc':_0x18f764(0x174),'qtSDn':function(_0x341981,_0x383c32){return _0x341981(_0x383c32);},'LWfQr':function(_0x5a8121,_0x2a69cc){return _0x5a8121===_0x2a69cc;},'mEkyc':_0x18f764(0x13e),'XoTMx':function(_0x231252,_0x257655){return _0x231252(_0x257655);},'fRsQJ':function(_0x3bfe67,_0x4074ca){return _0x3bfe67(_0x4074ca);},'vSaCA':'browserstackSetupConfig.json','bpiRo':function(_0x4f6b73){return _0x4f6b73();},'gqVbd':_0x18f764(0x1a6),'LeZlg':_0x18f764(0x166),'iXIUT':_0x18f764(0x11d),'nVene':_0x18f764(0x116),'tKVXT':_0x18f764(0x1a7),'cZNpU':_0x18f764(0x17d),'UUqrC':function(_0x275837,_0x422088){return _0x275837>_0x422088;},'CmLie':function(_0x65063d,_0x5af8fc){return _0x65063d+_0x5af8fc;},'eHLrm':function(_0x568299,_0x2d7397,_0x275285,_0x2f368c){return _0x568299(_0x2d7397,_0x275285,_0x2f368c);},'EZMXf':_0x18f764(0x1b9),'YqTzf':_0x18f764(0x19b),'UxLmz':_0x18f764(0x10c),'rOlcA':_0x18f764(0x197),'oSsXt':_0x18f764(0x198),'EJBsR':'inherit','ydHVN':_0x18f764(0x194)};!helper[_0x18f764(0x17b)](process[_0x18f764(0x1bd)][_0x18f764(0x12f)])&&(process[_0x18f764(0x1bd)][_0x18f764(0x12f)]=!![]);process[_0x18f764(0x13a)]['includes'](_0x2755fb['krWMs'])&&(process[_0x18f764(0x1bd)][_0x18f764(0x12f)]=_0x2755fb[_0x18f764(0x18b)],_0x208213=_0x208213['filter'](_0x486ce1=>_0x486ce1!==_0x18f764(0x1b4)));const _0x349968=_0x208213[_0x18f764(0x128)](_0x2755fb[_0x18f764(0x13f)]);_0x2755fb['wpwKV'](_0x349968,0x0)&&(process[_0x18f764(0x1bd)][_0x18f764(0x190)]=_0x2755fb[_0x18f764(0x18b)],_0x208213=_0x208213[_0x18f764(0x160)](_0xee9c5=>_0xee9c5!==_0x18f764(0x13d)));try{const _0x428e83=path['join'](helper['homedir'](),_0x2755fb[_0x18f764(0x19e)],_0x2755fb[_0x18f764(0x168)]);fs[_0x18f764(0x167)](_0x428e83)&&fs[_0x18f764(0x186)](_0x428e83);}catch(_0x22351b){logger[_0x18f764(0x172)](_0x2755fb[_0x18f764(0x15a)](_0x2755fb[_0x18f764(0x1ae)],_0x22351b));}if(!_0x2755fb[_0x18f764(0x117)](isTestCommand,_0x47b6a0,_0x208213)){_0x2755fb[_0x18f764(0x11c)](spawnOriginalProcess,_0x208213);return;}const _0x13a81c=new BrowserStackSetup(_0x47b6a0,FRAMEWORKS[_0x18f764(0x1a0)]);if(!_0x13a81c[_0x18f764(0x161)]){logger[_0x18f764(0x17a)](_0x2755fb[_0x18f764(0x147)]);return;}await _0x13a81c[_0x18f764(0x155)]();!helper['isUndefined'](_0x13a81c[_0x18f764(0x1c1)])&&_0x13a81c[_0x18f764(0x1c1)]['has'](_0x2755fb[_0x18f764(0x139)])&&(process[_0x18f764(0x1bd)]['BROWSERSTACK_AUTOMATION']=_0x13a81c[_0x18f764(0x1c1)][_0x18f764(0x137)](_0x2755fb['cVAms'])||!![]);_0x2755fb['KWiQK'](_0x13a81c[_0x18f764(0x161)]['testObservability'],null)&&!helper[_0x18f764(0x133)](process['env'][_0x18f764(0x190)])&&(process[_0x18f764(0x1bd)][_0x18f764(0x190)]=process[_0x18f764(0x1bd)][_0x18f764(0x190)]||_0x13a81c['config'][_0x18f764(0x10f)]);const _0x3497c9=!helper[_0x18f764(0x17b)](process[_0x18f764(0x1bd)][_0x18f764(0x190)]);let _0x1fc81e=![];_0x13a81c[_0x18f764(0x161)][_0x18f764(0x154)]&&(_0x1fc81e=!![],process[_0x18f764(0x1bd)][_0x18f764(0x18e)]=_0x13a81c[_0x18f764(0x161)][_0x18f764(0x154)]);_0x13a81c['config'][_0x18f764(0x19c)]&&(process[_0x18f764(0x1bd)][_0x18f764(0x176)]=JSON['stringify'](_0x13a81c[_0x18f764(0x161)][_0x18f764(0x19c)]));const _0x3f48b6=_0x208213[_0x18f764(0x1af)](),_0x37873d=await _0x2755fb[_0x18f764(0x117)](getUserPlaywrightConfig,_0x47b6a0,_0x208213);if(helper['isUndefined'](_0x37873d)){_0x2755fb['eQuRO'](spawnOriginalProcess,_0x3f48b6);return;}const _0x17b862={..._0x37873d[_0x18f764(0x161)]},_0x2970ec=_0x17b862,_0x392aa8=_0x37873d[_0x18f764(0x112)]?path['dirname'](_0x37873d[_0x18f764(0x112)]):process['cwd']();process['env'][_0x18f764(0x12a)]=_0x392aa8;if(!_0x2755fb['vBGun'](setGlobalSetup,_0x2970ec,_0x392aa8)){_0x2755fb[_0x18f764(0x10a)](spawnOriginalProcess,_0x3f48b6);return;}await TestHubHandler[_0x18f764(0x136)](FRAMEWORKS[_0x18f764(0x1a0)],_0x13a81c);_0x3497c9&&(logger[_0x18f764(0x171)](_0x2755fb[_0x18f764(0x12d)]),_0x2755fb[_0x18f764(0x117)](initO11yCrashReporter,_0x2970ec,_0x13a81c[_0x18f764(0x161)]),_0x2755fb[_0x18f764(0x10a)](handleO11yRerun,_0x208213));_0x2755fb[_0x18f764(0x1ba)](shouldProcessEventForTesthub)&&_0x2755fb[_0x18f764(0x130)](addReporter,_0x2970ec);let _0x42839d=_0x2755fb['LWfQr'](process[_0x18f764(0x1bd)][_0x18f764(0x18e)],_0x2755fb[_0x18f764(0x148)]);_0x42839d=_0x42839d||_0x2755fb[_0x18f764(0x10d)](checkAccessibilityPlatformConfig,_0x13a81c[_0x18f764(0x161)]),process[_0x18f764(0x1bd)][_0x18f764(0x18e)]=_0x42839d;_0x42839d&&_0x2755fb['fRsQJ'](setAccessibilityCapabilities,_0x13a81c[_0x18f764(0x161)]);const _0x152a91=path[_0x18f764(0x1b7)](_0x37873d[_0x18f764(0x112)]?path[_0x18f764(0x149)](_0x37873d[_0x18f764(0x112)]):process[_0x18f764(0x169)](),_0x2755fb[_0x18f764(0x143)]);fs[_0x18f764(0x159)](_0x152a91,helper['serializeToYamlString'](_0x13a81c[_0x18f764(0x161)])),process[_0x18f764(0x1bd)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x152a91,helper[_0x18f764(0x14b)]();if(helper[_0x18f764(0x133)](process[_0x18f764(0x1bd)]['BROWSERSTACK_AUTOMATION'])){let _0x358c1b=[];try{const _0x2dd7b6=helper[_0x18f764(0x11b)][_0x18f764(0x1a8)](null,_0x2755fb[_0x18f764(0x16e)](getProjectUtilsPath)),_0x33ae52={};_0x33ae52['respectGitIgnore']=!![],_0x33ae52[_0x18f764(0x1a6)]='',_0x33ae52[_0x18f764(0x166)]='',_0x33ae52[_0x18f764(0x11d)]='';const _0x1ad8b6={};_0x1ad8b6[_0x18f764(0x18f)]=!![];const _0x574280={};_0x574280[_0x18f764(0x129)]=_0x33ae52,_0x574280[_0x18f764(0x109)]=_0x1ad8b6;let _0x2f6237=_0x574280;_0x2970ec[_0x2755fb[_0x18f764(0x119)]]&&(_0x2f6237[_0x18f764(0x129)][_0x2755fb['gqVbd']]=_0x2970ec[_0x2755fb[_0x18f764(0x119)]]),_0x2970ec[_0x2755fb[_0x18f764(0x1b8)]]&&(_0x2f6237[_0x18f764(0x129)][_0x2755fb[_0x18f764(0x1b8)]]=_0x2970ec[_0x2755fb['LeZlg']]),_0x2970ec[_0x2755fb[_0x18f764(0x15d)]]&&(_0x2f6237[_0x18f764(0x129)][_0x2755fb[_0x18f764(0x15d)]]=_0x2970ec[_0x2755fb['iXIUT']]),_0x2f6237=Object[_0x18f764(0x17f)](_0x2f6237,_0x2f6237[_0x18f764(0x129)]),_0x358c1b=await _0x2dd7b6['collectFilesForProject'](_0x2f6237);}catch(_0x47d72c){logger[_0x18f764(0x172)](_0x2755fb[_0x18f764(0x15a)](_0x2755fb[_0x18f764(0x127)],_0x2755fb[_0x18f764(0x11c)](format,_0x47d72c)));}}let _0x3854a7='';_0x2755fb['LWfQr'](helper['getPackageType'](),constants[_0x18f764(0x138)]['MODULE'])?_0x3854a7=_0x2755fb['tKVXT']:_0x3854a7=_0x2755fb[_0x18f764(0x15b)];const _0x44b5eb=path[_0x18f764(0x1b7)](_0x37873d[_0x18f764(0x112)]?path[_0x18f764(0x149)](_0x37873d[_0x18f764(0x112)]):process['cwd'](),_0x3854a7);let _0x28f95e=_0x37873d[_0x18f764(0x112)]?_0x37873d[_0x18f764(0x112)]:'';_0x28f95e=_0x2755fb[_0x18f764(0x13b)](_0x28f95e['length'],0x0)?path[_0x18f764(0x165)](_0x28f95e):'',process[_0x18f764(0x1bd)]['USER_CONFIG_DETAILS_PATH']=_0x28f95e;let _0x4402bf=_0x18f764(0x17c);const _0x22819f=helper[_0x18f764(0x1be)](_0x13a81c[_0x18f764(0x161)]);_0x22819f&&(_0x4402bf=_0x2755fb[_0x18f764(0x125)](_0x18f764(0x1b2)+_0x22819f+_0x18f764(0x1a3),_0x4402bf));helper[_0x18f764(0x185)]({},_0x208213),fs['writeFileSync'](_0x44b5eb,_0x4402bf),helper[_0x18f764(0x178)]();const _0x22c25a=_0x2755fb[_0x18f764(0x106)](spawn,_0x2755fb['EZMXf'],[_0x2755fb[_0x18f764(0x1a9)],_0x2755fb[_0x18f764(0x181)],_0x2755fb[_0x18f764(0x114)],_0x44b5eb,..._0x208213['slice'](0x2)],{'shell':_0x2755fb[_0x18f764(0x188)](process[_0x18f764(0x11e)],_0x2755fb['oSsXt']),'stdio':_0x2755fb[_0x18f764(0x1c0)],'cwd':process[_0x18f764(0x169)](),'env':Object[_0x18f764(0x17f)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x18f764(0x113)](_0x47b6a0),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x13a81c[_0x18f764(0x161)][_0x18f764(0x110)][_0x18f764(0x177)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x13a81c[_0x18f764(0x161)][_0x18f764(0x110)][_0x18f764(0x1ac)],'BROWSERSTACK_LOG_LEVEL':_0x13a81c[_0x18f764(0x161)]['logLevel']})}),_0x31eca2=()=>{const _0x5a581f=_0x18f764;try{const _0x391267=path[_0x5a581f(0x1b7)](helper[_0x5a581f(0x145)](),_0x2755fb[_0x5a581f(0x19e)],_0x2755fb['xCcVY']);if(fs['existsSync'](_0x391267)){let _0x339aa4=fs[_0x5a581f(0x17e)](_0x391267);_0x339aa4=JSON[_0x5a581f(0x140)](_0x339aa4),_0x13a81c['errorMessage']=_0x339aa4,fs[_0x5a581f(0x186)](_0x391267);}}catch(_0x1eac15){logger['debug'](_0x2755fb[_0x5a581f(0x15a)](_0x2755fb[_0x5a581f(0x14e)],_0x1eac15));}};_0x22c25a['on'](_0x2755fb['ydHVN'],async _0x56cfb5=>{const _0x389712=_0x18f764;try{const _0xe3d6cf=_0x2755fb['ePwGP']['split']('|');let _0x5e51ad=0x0;while(!![]){switch(_0xe3d6cf[_0x5e51ad++]){case'0':logger[_0x389712(0x171)](_0x389712(0x15f)+_0x44b5eb);continue;case'1':await helper[_0x389712(0x19d)](_0x13a81c);continue;case'2':process[_0x389712(0x121)]=_0x56cfb5;continue;case'3':logger['debug'](_0x389712(0x1aa)+_0x56cfb5);continue;case'4':fs[_0x389712(0x186)](_0x152a91);continue;case'5':fs[_0x389712(0x186)](_0x44b5eb);continue;case'6':logger[_0x389712(0x172)](_0x389712(0x15f)+_0x152a91);continue;case'7':_0x2755fb['iresC'](_0x31eca2);continue;case'8':await TestHubHandler[_0x389712(0x132)]();continue;}break;}}catch(_0x4117a3){logger[_0x389712(0x172)](_0x2755fb[_0x389712(0x15a)](_0x2755fb[_0x389712(0x1ab)],_0x4117a3));}});}module[a33_0x5eb3e2(0x1a2)]=run;
@@ -1 +1 @@
1
- function a34_0x3216(_0x3a50d2,_0xebc634){const _0xd9c75b=a34_0xd9c7();return a34_0x3216=function(_0x321673,_0x76dd88){_0x321673=_0x321673-0x71;let _0x15c26e=_0xd9c75b[_0x321673];return _0x15c26e;},a34_0x3216(_0x3a50d2,_0xebc634);}const a34_0x2a1df3=a34_0x3216;(function(_0x2d34d3,_0x2f95a7){const _0x28d34a=a34_0x3216,_0xf4ab4e=_0x2d34d3();while(!![]){try{const _0x541ad6=-parseInt(_0x28d34a(0x9a))/0x1+-parseInt(_0x28d34a(0x8d))/0x2*(parseInt(_0x28d34a(0x7c))/0x3)+-parseInt(_0x28d34a(0x99))/0x4+parseInt(_0x28d34a(0x9b))/0x5+-parseInt(_0x28d34a(0x7a))/0x6*(parseInt(_0x28d34a(0x87))/0x7)+-parseInt(_0x28d34a(0x74))/0x8*(-parseInt(_0x28d34a(0x98))/0x9)+parseInt(_0x28d34a(0x72))/0xa;if(_0x541ad6===_0x2f95a7)break;else _0xf4ab4e['push'](_0xf4ab4e['shift']());}catch(_0x1c6111){_0xf4ab4e['push'](_0xf4ab4e['shift']());}}}(a34_0xd9c7,0x539e0));function a34_0xd9c7(){const _0x1570f9=['297767LyqaoY','2479375dNUMRG','Cujlk','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','2361350MDthIl','toString','13224jERKBI','rhjVr','CZvSh','function','Path\x20','error','335598WouhCf','fork','3MLtsEC','ljUrT','Call\x20to\x20child\x20fork\x20with\x20args\x20','../../helpers/logger','../../helpers/test-observability/utils','rzMLS','GAiEz','fuLOg','uQgss','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','requirePWModule','7MyjeBS','apply','env','wbXIQ','yuMCY','../../helpers/helper','344522RnVpEV','./reporter/pwUtils','Not\x20able\x20to\x20import\x20globalSetup','../../helpers/test-observability/constants','Running\x20existing\x20global\x20setup','winstonLogger','resolve','MdVjw','AMvNw','exports','child_process','1305fcFKcJ','412952GluiLY'];a34_0xd9c7=function(){return _0x1570f9;};return a34_0xd9c7();}const child_process=require(a34_0x2a1df3(0x97)),{FRAMEWORKS}=require(a34_0x2a1df3(0x90)),{getFrameworkVersion,debug}=require(a34_0x2a1df3(0x80)),helper=require(a34_0x2a1df3(0x8c)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x2a1df3(0x8e)),logger=require(a34_0x2a1df3(0x7f))[a34_0x2a1df3(0x92)];module[a34_0x2a1df3(0x96)]=async function(_0x423fdc){const _0x3fe777=a34_0x2a1df3,_0x522899={'uQgss':function(_0x1e013a,_0x2a734a){return _0x1e013a(_0x2a734a);},'yuMCY':function(_0x228a9e){return _0x228a9e();},'MdVjw':'./mock-process.js','Cujlk':function(_0x1b33ec){return _0x1b33ec();},'ljUrT':function(_0x315b49,_0x95094b){return _0x315b49(_0x95094b);},'AMvNw':_0x3fe777(0x91),'rzMLS':function(_0x5a99da){return _0x5a99da();},'rhjVr':function(_0x2c3ace,_0x12545a){return _0x2c3ace>=_0x12545a;},'wbXIQ':'1.33.0','fuLOg':function(_0x232067,_0x30e9ba,_0x5cf289){return _0x232067(_0x30e9ba,_0x5cf289);},'yXdRa':function(_0x17b4c9,_0x710966){return _0x17b4c9!==_0x710966;},'UgVcL':_0x3fe777(0x77),'CZvSh':_0x3fe777(0x8f),'GAiEz':function(_0x508436,_0x43657b){return _0x508436(_0x43657b);}},_0x41c878=child_process[_0x3fe777(0x7b)];child_process[_0x3fe777(0x7b)]=function(){const _0x3e2c6e=_0x3fe777;return _0x522899[_0x3e2c6e(0x84)](debug,_0x3e2c6e(0x7e)+arguments[0x0]),arguments[0x0]['includes'](_0x522899[_0x3e2c6e(0x8b)](getForkProcessPath))?arguments[0x0]=require[_0x3e2c6e(0x93)](_0x522899[_0x3e2c6e(0x94)]):logger[_0x3e2c6e(0x79)](_0x3e2c6e(0x78)+_0x522899[_0x3e2c6e(0x9c)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x41c878[_0x3e2c6e(0x88)](null,arguments);};if(process[_0x3fe777(0x89)][_0x3fe777(0x85)]){_0x522899[_0x3fe777(0x7d)](debug,_0x522899[_0x3fe777(0x95)]);try{const {loadGlobalHook:_0x2e8ece}=helper[_0x3fe777(0x86)][_0x3fe777(0x88)](null,_0x522899[_0x3fe777(0x81)](getLoadUtilsPath)),_0x5e3b02=_0x522899[_0x3fe777(0x7d)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0xdff00c=_0x423fdc;if(_0x522899[_0x3fe777(0x75)](helper['compareVersions'](_0x5e3b02,_0x522899[_0x3fe777(0x8a)]),0x0)){const _0x29a760={};_0x29a760['config']=_0x423fdc,_0xdff00c=_0x29a760;}const _0x31312a=await _0x522899[_0x3fe777(0x83)](_0x2e8ece,_0xdff00c,process[_0x3fe777(0x89)][_0x3fe777(0x85)]);if(_0x522899['yXdRa'](typeof _0x31312a,_0x522899['UgVcL']))throw new Error(_0x522899[_0x3fe777(0x76)]);return _0x31312a[_0x3fe777(0x88)](null,arguments);}catch(_0x47e849){_0x522899[_0x3fe777(0x82)](debug,_0x3fe777(0x71)+_0x47e849[_0x3fe777(0x73)]());}}};
1
+ const a34_0x1c3e00=a34_0x42bc;(function(_0x2da3f1,_0x1f2739){const _0x42aec9=a34_0x42bc,_0x36d4e9=_0x2da3f1();while(!![]){try{const _0x372967=-parseInt(_0x42aec9(0x111))/0x1+-parseInt(_0x42aec9(0x105))/0x2*(-parseInt(_0x42aec9(0x109))/0x3)+-parseInt(_0x42aec9(0x124))/0x4*(parseInt(_0x42aec9(0x10f))/0x5)+parseInt(_0x42aec9(0x110))/0x6+-parseInt(_0x42aec9(0x11e))/0x7+-parseInt(_0x42aec9(0x114))/0x8*(-parseInt(_0x42aec9(0x125))/0x9)+parseInt(_0x42aec9(0x115))/0xa;if(_0x372967===_0x1f2739)break;else _0x36d4e9['push'](_0x36d4e9['shift']());}catch(_0x240a01){_0x36d4e9['push'](_0x36d4e9['shift']());}}}(a34_0x4bdd,0x677dd));function a34_0x42bc(_0x10ed2a,_0x18079f){const _0x4bdd1=a34_0x4bdd();return a34_0x42bc=function(_0x42bc74,_0x1205d3){_0x42bc74=_0x42bc74-0x104;let _0x3c29eb=_0x4bdd1[_0x42bc74];return _0x3c29eb;},a34_0x42bc(_0x10ed2a,_0x18079f);}function a34_0x4bdd(){const _0x22d9c1=['child_process','env','GNQuP','aFdKz','5HmqKjR','1052502bMdgCv','39731OsoXgU','IqAvJ','mVaBm','144NhmFNu','1855440YOdbnA','../../helpers/test-observability/utils','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','VLuUx','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','winstonLogger','includes','requirePWModule','PLAYWRIGHT','4220370sugkBD','GKspk','iSXgm','mmdgj','Path\x20','1.33.0','1271324nThfco','369729fHeljZ','error','function','./reporter/pwUtils','compareVersions','../../helpers/helper','exports','FYOSy','./mock-process.js','Running\x20existing\x20global\x20setup','apply','Not\x20able\x20to\x20import\x20globalSetup','44IvEzAw','../../helpers/logger','\x20is\x20not\x20found','toString','38721DvqhkD','config'];a34_0x4bdd=function(){return _0x22d9c1;};return a34_0x4bdd();}const child_process=require(a34_0x1c3e00(0x10b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a34_0x1c3e00(0x116)),helper=require(a34_0x1c3e00(0x12a)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x1c3e00(0x128)),logger=require(a34_0x1c3e00(0x106))[a34_0x1c3e00(0x11a)];module[a34_0x1c3e00(0x12b)]=async function(_0x134241){const _0x1eaf60=a34_0x1c3e00,_0x14cef6={'GNQuP':function(_0x5f560c,_0x12c2dd){return _0x5f560c(_0x12c2dd);},'IqAvJ':function(_0x3e0c3a){return _0x3e0c3a();},'GKspk':_0x1eaf60(0x12d),'VLuUx':function(_0x4ba54,_0x7472c){return _0x4ba54(_0x7472c);},'aFdKz':_0x1eaf60(0x12e),'FYOSy':function(_0x3a0d02,_0x1baa3b){return _0x3a0d02>=_0x1baa3b;},'mmdgj':_0x1eaf60(0x123),'mVaBm':function(_0x45a325,_0x9f8f8b,_0x234904){return _0x45a325(_0x9f8f8b,_0x234904);},'iSXgm':function(_0x778739,_0x28b429){return _0x778739!==_0x28b429;},'vupEA':_0x1eaf60(0x127),'kwuzC':_0x1eaf60(0x104)},_0x26dfd0=child_process['fork'];child_process['fork']=function(){const _0x27e555=_0x1eaf60;return _0x14cef6[_0x27e555(0x10d)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x27e555(0x11b)](_0x14cef6[_0x27e555(0x112)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x14cef6[_0x27e555(0x11f)]):logger[_0x27e555(0x126)](_0x27e555(0x122)+_0x14cef6[_0x27e555(0x112)](getForkProcessPath)+_0x27e555(0x107)),_0x26dfd0[_0x27e555(0x12f)](null,arguments);};if(process['env'][_0x1eaf60(0x119)]){_0x14cef6[_0x1eaf60(0x118)](debug,_0x14cef6[_0x1eaf60(0x10e)]);try{const {loadGlobalHook:_0x253515}=helper[_0x1eaf60(0x11c)][_0x1eaf60(0x12f)](null,_0x14cef6['IqAvJ'](getLoadUtilsPath)),_0x1d93a7=_0x14cef6['VLuUx'](getFrameworkVersion,FRAMEWORKS[_0x1eaf60(0x11d)]);let _0x46395f=_0x134241;if(_0x14cef6[_0x1eaf60(0x12c)](helper[_0x1eaf60(0x129)](_0x1d93a7,_0x14cef6[_0x1eaf60(0x121)]),0x0)){const _0x321841={};_0x321841[_0x1eaf60(0x10a)]=_0x134241,_0x46395f=_0x321841;}const _0xcfb78=await _0x14cef6[_0x1eaf60(0x113)](_0x253515,_0x46395f,process[_0x1eaf60(0x10c)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x14cef6[_0x1eaf60(0x120)](typeof _0xcfb78,_0x14cef6['vupEA']))throw new Error(_0x14cef6['kwuzC']);return _0xcfb78[_0x1eaf60(0x12f)](null,arguments);}catch(_0x54921b){_0x14cef6['VLuUx'](debug,_0x1eaf60(0x117)+_0x54921b[_0x1eaf60(0x108)]());}}};