browserstack-node-sdk 1.34.14 → 1.34.16

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 (127) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelper.js +1 -0
  104. package/src/helpers/patchHelpers.js +1 -1
  105. package/src/helpers/percy/Percy.js +1 -1
  106. package/src/helpers/percy/PercyBinary.js +1 -1
  107. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  108. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  109. package/src/helpers/percy/PercySDK.js +1 -1
  110. package/src/helpers/percy/index.js +1 -1
  111. package/src/helpers/percy/utils.js +1 -1
  112. package/src/helpers/performance-tester.js +1 -1
  113. package/src/helpers/request-spy.js +1 -1
  114. package/src/helpers/setKeepAlive.js +1 -1
  115. package/src/helpers/test-observability/constants.js +1 -1
  116. package/src/helpers/test-observability/error-handler.js +1 -1
  117. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  118. package/src/helpers/test-observability/sessionHandler.js +1 -1
  119. package/src/helpers/test-observability/utils.js +1 -1
  120. package/src/helpers/testhub/constants.js +1 -1
  121. package/src/helpers/testhub/testhubHandler.js +1 -1
  122. package/src/helpers/testhub/utils.js +1 -1
  123. package/src/helpers/timeoutPromise.js +1 -1
  124. package/src/helpers/utilities.js +1 -1
  125. package/src/helpers/w3cMapping.js +1 -1
  126. package/src/hubAllocationMethods.js +1 -1
  127. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x5c6bb4=a29_0x5c6a;function a29_0x5820(){const _0x18bbcd=['getHttpAgent','https://','MNJiR','sTIPQ','jiaYr','quitCount_','forEach','capability','20YrApXS','/session','../../../helpers/globals','setCapabilities','mergeDeep','push','debug','info','49ScRutk','HttpClient','isAccessibilityPlatform','getHubUrl','kLAOy','overrideGet','firefoxOptions','requireHttpClient','path','getRequestOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','gwfrp','optimalHubUrl','JVtyx','11308450EDjKDs','Modifying\x20webdriver\x20builder','jWxZO','AOFrS','ieOptions_','goog:chromeOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','/wd/hub','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','zSAMW','global','../../../helpers/accessibility-automation/helper','1513788SWeECO','1325oLhQsX','Jzdmz','Builder','1|4|0|2|3|5','pankM','uKPYL','browserStackLogLevel','split','exports','getAccessibilityResultsSummary','isPacProxy','updateHubUrl','Bxpog','winstonLogger','__driversArray','CAPABILITY_KEY','../../../helpers/logger','../../../bin/utils/constants','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','1278056LUwYzT','setServer','isBrowserstackInfra','safariOptions_','caps_','1|0|5|4|2|3','mlyww','vbMoM','isUndefined','1097307xVmdhW','getGlobal','proxyUrl','9426LojPhB','ms:edgeOptions','agent_','keys','DZmIm','send','newHubUrl','options_','then','object','KVvXV','omdcw','moz:firefoxOptions','ygooR','session_','build','Hub\x20url\x20set\x20to\x20','firefoxOptions_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','qdwES','wQjhD','error','137128gFcsGe','49807hUlWaJ','getAccessibilityResults','edgeOptions_','Proxy\x20set\x20to\x20','proxy_','wzocs','../accessibility-automation/helper','HfzKt','get','set','setLogLevel','capabilities_','NswTh','Setting\x20Browserstack\x20capabilities','overrideExecute','chromeOptions_','chromeOptions','__drivers','__setBrowserOptions','Bzovq','url_','storeOptimalHubUrl','XuFuu','originalBuilder','proxySettings','diZwb'];a29_0x5820=function(){return _0x18bbcd;};return a29_0x5820();}(function(_0x3d0be7,_0x377010){const _0x50e209=a29_0x5c6a,_0x21b411=_0x3d0be7();while(!![]){try{const _0x31b355=-parseInt(_0x50e209(0xef))/0x1*(parseInt(_0x50e209(0x111))/0x2)+-parseInt(_0x50e209(0x133))/0x3+parseInt(_0x50e209(0x147))/0x4+parseInt(_0x50e209(0x134))/0x5*(-parseInt(_0x50e209(0x153))/0x6)+parseInt(_0x50e209(0x119))/0x7*(parseInt(_0x50e209(0xee))/0x8)+parseInt(_0x50e209(0x150))/0x9+parseInt(_0x50e209(0x127))/0xa;if(_0x31b355===_0x377010)break;else _0x21b411['push'](_0x21b411['shift']());}catch(_0x29ddc2){_0x21b411['push'](_0x21b411['shift']());}}}(a29_0x5820,0x42b88));function a29_0x5c6a(_0x1ebf7d,_0x3320a0){const _0x5820c7=a29_0x5820();return a29_0x5c6a=function(_0x5c6a04,_0x53f7c6){_0x5c6a04=_0x5c6a04-0xe0;let _0x42c728=_0x5820c7[_0x5c6a04];return _0x42c728;},a29_0x5c6a(_0x1ebf7d,_0x3320a0);}const logger=require(a29_0x5c6bb4(0x144))[a29_0x5c6bb4(0x141)],helper=require('../../../helpers/helper'),constants=require(a29_0x5c6bb4(0x145)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x5c6bb4(0xf5)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x5c6bb4(0x132)),globals=require(a29_0x5c6bb4(0x113)),modify=(_0x4959fc,_0x417d28=null,_0x168a34=![])=>{const _0x5d5ecd=a29_0x5c6bb4,_0x1406be={'diZwb':function(_0x1d271d,_0x395868){return _0x1d271d!==_0x395868;},'vbMoM':_0x5d5ecd(0x112),'KVvXV':function(_0x1e1704,_0x386593){return _0x1e1704+_0x386593;},'jWxZO':function(_0x13746c,_0x3b9aa3){return _0x13746c+_0x3b9aa3;},'zSAMW':_0x5d5ecd(0x10a),'gwfrp':_0x5d5ecd(0x12e),'wzocs':_0x5d5ecd(0x12c),'wDoVA':_0x5d5ecd(0xff),'LxvXU':_0x5d5ecd(0x154),'AOFrS':'edgeOptions','DZmIm':_0x5d5ecd(0xe4),'MNJiR':_0x5d5ecd(0x11f),'Bxpog':'safari.options','uKPYL':'se:ieOptions','XpIbU':'ieOptions','ygooR':function(_0xf16a64,_0x287258){return _0xf16a64===_0x287258;},'auiCh':_0x5d5ecd(0xe1),'jiaYr':_0x5d5ecd(0xfc),'pankM':_0x5d5ecd(0x125),'tcIhn':_0x5d5ecd(0x123),'kLAOy':_0x5d5ecd(0x137),'HfzKt':function(_0x779ec8,_0x24dd66,_0xb59aea){return _0x779ec8(_0x24dd66,_0xb59aea);},'qdwES':function(_0x2a4a3a,_0x172cd2){return _0x2a4a3a(_0x172cd2);},'wQjhD':_0x5d5ecd(0x14c),'XuFuu':function(_0x400b7b){return _0x400b7b();},'JVtyx':_0x5d5ecd(0x11b),'Jzdmz':_0x5d5ecd(0x146),'omdcw':function(_0xe19aaa,_0x1df22b){return _0xe19aaa(_0x1df22b);},'fnEKq':_0x5d5ecd(0xea),'NswTh':_0x5d5ecd(0x128)},_0x50194e=helper[_0x5d5ecd(0x120)]();let _0x3028c0;try{_0x3028c0=helper['requireSeleniumWebdriver'](),_0x3028c0['originalBuilder']&&(_0x3028c0['Builder']=_0x3028c0[_0x5d5ecd(0x106)]);}catch(_0x357a84){return;}if(helper[_0x5d5ecd(0x149)]()){const _0x21d786={};_0x21d786['logLevel']=_0x4959fc[_0x5d5ecd(0x13a)],helper[_0x5d5ecd(0xf9)](_0x21d786,new Map(),new Map()),logger[_0x5d5ecd(0x118)](_0x1406be['fnEKq']),logger[_0x5d5ecd(0x117)](_0x1406be[_0x5d5ecd(0xfb)]);}class _0x12ec40 extends _0x50194e[_0x5d5ecd(0x11a)]{[_0x5d5ecd(0x158)](_0x225824){const _0x24c757=_0x5d5ecd;if(_0x1406be[_0x24c757(0x108)](_0x225824[_0x24c757(0x121)],_0x1406be[_0x24c757(0x14e)])&&_0x1406be[_0x24c757(0x108)](global['newHubUrl'],''))try{global['newHubUrl']=_0x1406be[_0x24c757(0xe2)](_0x1406be[_0x24c757(0x129)](_0x1406be[_0x24c757(0x130)],global[_0x24c757(0x159)]),_0x1406be[_0x24c757(0x124)]),this[_0x24c757(0x15a)]=hubAllocator[_0x24c757(0x122)](global['newHubUrl']),logger[_0x24c757(0x117)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x24c757(0x159)]),global[_0x24c757(0x159)]='';}catch(_0x485f9b){logger[_0x24c757(0xed)](_0x485f9b);}return super[_0x24c757(0x158)](_0x225824);}}class _0x5c93b5 extends _0x3028c0[_0x5d5ecd(0x136)]{['setServer'](){const _0x14f7ac=_0x5d5ecd;return this[_0x14f7ac(0x103)]=helper[_0x14f7ac(0x11c)](_0x4959fc),logger['debug'](_0x14f7ac(0xe8)+this[_0x14f7ac(0x103)]),this;}[_0x5d5ecd(0x101)](_0xd92373){const _0x4f661a=_0x5d5ecd;let _0x31a214={};for(const _0x3bccd8 in _0xd92373){switch(_0x3bccd8){case _0x1406be[_0x4f661a(0xf4)]:case _0x1406be['wDoVA']:this[_0x4f661a(0xfe)]&&(_0x31a214=this[_0x4f661a(0xfe)][_0x4f661a(0xf7)](this['chromeOptions_'][_0x4f661a(0x143)])||{},this[_0x4f661a(0xfe)]['set'](this[_0x4f661a(0xfe)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be['LxvXU']:case _0x1406be[_0x4f661a(0x12a)]:this['edgeOptions_']&&(_0x31a214=this['edgeOptions_']['get'](this[_0x4f661a(0xf1)][_0x4f661a(0x143)])||{},this[_0x4f661a(0xf1)][_0x4f661a(0xf8)](this[_0x4f661a(0xf1)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be[_0x4f661a(0x157)]:case _0x1406be[_0x4f661a(0x10b)]:this['firefoxOptions_']&&(_0x31a214=this[_0x4f661a(0xe9)][_0x4f661a(0xf7)](this['firefoxOptions_'][_0x4f661a(0x143)])||{},this[_0x4f661a(0xe9)]['set'](this[_0x4f661a(0xe9)]['CAPABILITY_KEY'],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be[_0x4f661a(0x140)]:this[_0x4f661a(0x14a)]&&(_0x31a214=this[_0x4f661a(0x14a)][_0x4f661a(0xf7)](this[_0x4f661a(0x14a)]['CAPABILITY_KEY'])||{},this[_0x4f661a(0x14a)][_0x4f661a(0xf8)](this[_0x4f661a(0x14a)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;case _0x1406be[_0x4f661a(0x139)]:case _0x1406be['XpIbU']:this[_0x4f661a(0x12b)]&&(_0x31a214=this[_0x4f661a(0x12b)][_0x4f661a(0xf7)](this[_0x4f661a(0x12b)]['CAPABILITY_KEY'])||{},this[_0x4f661a(0x12b)]['set'](this[_0x4f661a(0x12b)][_0x4f661a(0x143)],helper[_0x4f661a(0x115)](_0x31a214,_0xd92373[_0x3bccd8])));break;}}}[_0x5d5ecd(0x114)](){const _0x495a38=_0x5d5ecd,_0x3b2d67={'PRLRA':function(_0x19437c,_0x28d0e5){const _0x57814b=a29_0x5c6a;return _0x1406be[_0x57814b(0xe5)](_0x19437c,_0x28d0e5);},'Bzovq':_0x1406be['auiCh']};return logger[_0x495a38(0x117)](_0x1406be[_0x495a38(0x10d)]),this[_0x495a38(0x101)](_0x4959fc['capability']),Object[_0x495a38(0x156)](_0x4959fc[_0x495a38(0x110)])[_0x495a38(0x10f)](_0xe1bcf5=>{const _0x25164c=_0x495a38,_0x257c85=this[_0x25164c(0xfa)][_0x25164c(0xf7)](_0xe1bcf5);_0x3b2d67['PRLRA'](typeof _0x257c85,_0x3b2d67[_0x25164c(0x102)])?this[_0x25164c(0xfa)][_0x25164c(0xf8)](_0xe1bcf5,helper['mergeDeep'](_0x257c85,_0x4959fc[_0x25164c(0x110)][_0xe1bcf5])):this[_0x25164c(0xfa)][_0x25164c(0xf8)](_0xe1bcf5,_0x4959fc[_0x25164c(0x110)][_0xe1bcf5]);}),this;}['build'](){const _0x226f08=_0x5d5ecd,_0x5d247b={'mlyww':function(_0x33fbcf,_0x3c4417,_0x629d9f){const _0xd2e5f9=a29_0x5c6a;return _0x1406be[_0xd2e5f9(0xf6)](_0x33fbcf,_0x3c4417,_0x629d9f);},'sTIPQ':function(_0x5374e1,_0x509b73,_0x2942e3){const _0x5ce4ac=a29_0x5c6a;return _0x1406be[_0x5ce4ac(0xf6)](_0x5374e1,_0x509b73,_0x2942e3);}};if(helper[_0x226f08(0x149)]()){const _0x2ca637=_0x1406be[_0x226f08(0xec)][_0x226f08(0x13b)]('|');let _0x432a8d=0x0;while(!![]){switch(_0x2ca637[_0x432a8d++]){case'0':this[_0x226f08(0x148)]();continue;case'1':_0x1406be[_0x226f08(0x105)](isAccessibilityAutomationSession)&&_0x1406be[_0x226f08(0xeb)](setAccessibilityCapabilities,_0x4959fc);continue;case'2':globals[_0x226f08(0x151)](_0x1406be['JVtyx'])&&(!_0x1406be[_0x226f08(0xf6)](setExtension,this,_0x4959fc)&&globals['setGlobal'](_0x1406be[_0x226f08(0x126)],![]));continue;case'3':logger['debug'](_0x1406be[_0x226f08(0x135)]);continue;case'4':if(helper[_0x226f08(0x13e)](_0x4959fc[_0x226f08(0x107)][_0x226f08(0x152)]))this[_0x226f08(0x155)]=helper[_0x226f08(0x109)](_0x4959fc['proxySettings'][_0x226f08(0x152)]);else _0x4959fc['proxySettings']['proxyUrl']&&(this[_0x226f08(0xf3)]=_0x4959fc['proxySettings'][_0x226f08(0x152)],logger[_0x226f08(0x117)](_0x226f08(0xf2)+this[_0x226f08(0xf3)]));continue;case'5':this[_0x226f08(0x114)]();continue;}break;}}const _0x52bd58=super[_0x226f08(0xe7)]();return _0x52bd58[_0x226f08(0xe6)][_0x226f08(0xe0)](_0x37de1e=>{const _0x456e83=_0x226f08;try{const _0x1693a4=_0x37de1e[_0x456e83(0x14b)][_0x456e83(0xf7)](_0x1406be[_0x456e83(0x138)]);_0x1693a4?(logger[_0x456e83(0x117)](_0x456e83(0x12f)+_0x1693a4),hubAllocator[_0x456e83(0x13f)](_0x1693a4),helper[_0x456e83(0x104)](_0x1693a4)):logger[_0x456e83(0x117)](_0x1406be['tcIhn']);}catch(_0x4a85fe){logger[_0x456e83(0x117)](_0x456e83(0x12d)+_0x4a85fe);}}),_0x52bd58[_0x226f08(0x10e)]=0x0,_0x52bd58[_0x226f08(0xe0)]&&_0x52bd58[_0x226f08(0xe0)](_0x1c2466=>{const _0x52bf1f=_0x226f08,_0x262e85=_0x1406be[_0x52bf1f(0x11d)]['split']('|');let _0x5132a2=0x0;while(!![]){switch(_0x262e85[_0x5132a2++]){case'0':helper[_0x52bf1f(0x11e)](_0x1c2466,_0x4959fc);continue;case'1':_0x1406be[_0x52bf1f(0xf6)](overrideQuit,_0x1c2466,_0x52bd58);continue;case'2':helper[_0x52bf1f(0xfd)](_0x1c2466,_0x4959fc);continue;case'3':_0x1c2466[_0x52bf1f(0x13d)]=async()=>{const _0x19b59f=_0x52bf1f;return await _0x5d247b[_0x19b59f(0x14d)](getAccessibilityResultsSummary,_0x1c2466,global);};continue;case'4':_0x1406be[_0x52bf1f(0xeb)](overrideTakeScreenshot,_0x1c2466);continue;case'5':_0x1c2466['getAccessibilityResults']=async()=>{const _0xd1302e=_0x52bf1f;return await _0x5d247b[_0xd1302e(0x14d)](getAccessibilityResults,_0x1c2466,global);};continue;}break;}}),_0x52bd58[_0x226f08(0x13d)]=async()=>{const _0x1c7e91=_0x226f08;return await _0x5d247b[_0x1c7e91(0x10c)](getAccessibilityResultsSummary,_0x52bd58,global);},_0x52bd58[_0x226f08(0xf0)]=async()=>{const _0x38945d=_0x226f08;return await _0x5d247b[_0x38945d(0x10c)](getAccessibilityResults,_0x52bd58,global);},_0x1406be[_0x226f08(0xeb)](overrideTakeScreenshot,_0x52bd58),_0x1406be[_0x226f08(0xe3)](overrideQuit,_0x52bd58),helper[_0x226f08(0x11e)](_0x52bd58,_0x4959fc),helper[_0x226f08(0xfd)](_0x52bd58,_0x4959fc),helper[_0x226f08(0x14f)](global[_0x226f08(0x142)])&&(global[_0x226f08(0x142)]=[]),helper[_0x226f08(0x14f)](global['__drivers'])&&(global['__drivers']=[]),global[_0x226f08(0x142)][_0x226f08(0x116)](_0x52bd58),global['__driver']=_0x52bd58,_0x1406be['diZwb'](global['__drivers'],undefined)&&global[_0x226f08(0x100)][_0x226f08(0x116)](_0x52bd58),_0x417d28&&helper[_0x226f08(0x14f)](_0x417d28[_0x226f08(0x131)][_0x226f08(0x142)])&&(_0x417d28[_0x226f08(0x131)]['__driversArray']=[]),_0x417d28&&_0x1406be[_0x226f08(0x108)](_0x417d28[_0x226f08(0x131)]['__drivers'],undefined)&&(_0x417d28[_0x226f08(0x131)]['__drivers'][_0x226f08(0x116)](_0x52bd58),_0x417d28[_0x226f08(0x131)][_0x226f08(0x142)][_0x226f08(0x116)](_0x52bd58)),_0x52bd58;}}return _0x3028c0[_0x5d5ecd(0x106)]=_0x3028c0['Builder'],_0x3028c0[_0x5d5ecd(0x136)]=_0x5c93b5,_0x50194e[_0x5d5ecd(0x11a)]=_0x12ec40,_0x3028c0;};module[a29_0x5c6bb4(0x13c)]['browserstackAgentObservability']=modify;
1
+ const a29_0x2cbe56=a29_0x3dcc;function a29_0x3dcc(_0x1002ea,_0x3ddef0){const _0x55a54c=a29_0x55a5();return a29_0x3dcc=function(_0x3dccdd,_0x46b2ae){_0x3dccdd=_0x3dccdd-0x10e;let _0x2b2328=_0x55a54c[_0x3dccdd];return _0x2b2328;},a29_0x3dcc(_0x1002ea,_0x3ddef0);}function a29_0x55a5(){const _0x57945f=['CAPABILITY_KEY','url_','set','../../../helpers/globals','exports','ZQnqN','oBBfJ','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','GuGzB','TxHid','requireSeleniumWebdriver','split','safari.options','700041uCoFSO','setCapabilities','GDtsx','https://','360oIfQKO','oiMOo','AeGMs','safariOptions_','getAccessibilityResultsSummary','7582260LYEqBB','getAccessibilityResults','../../../helpers/logger','__driver','newHubUrl','forEach','New\x20hub\x20url\x20set\x20to\x20','5|4|0|2|1|3','1951646pmimBk','rZVWR','FRzfx','firefoxOptions_','cXqxq','guewP','browserStackLogLevel','bUYaY','overrideGet','kUVJk','global','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','LArBt','build','PUjTb','946416FVziSG','ERxsh','push','getRequestOptions','faGqp','1071450nqpfrX','CUCZd','/wd/hub','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','7VUpQDh','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','edgeOptions_','../../../helpers/patchHelpers','isAccessibilityPlatform','HeetN','capability','browserstackAgentObservability','2304264fRhIeA','proxy_','error','object','send','proxySettings','wDssN','lbmtf','IGfXV','../accessibility-automation/helper','Setting\x20Browserstack\x20capabilities','__driversArray','LfotO','isBrowserstackInfra','ieOptions','HttpClient','debug','isUndefined','../../../hubAllocationMethods','__setBrowserOptions','get','capabilities_','goog:chromeOptions','DSeSG','Builder','setServer','xoCtc','setGlobal','caps_','EYpOp','logLevel','rLiOW','edgeOptions','HjHor','mergeDeep','7261986pukSxT','../../../bin/utils/constants','getGlobal','originalBuilder','KMIoM','WZpfh','setLogLevel','ieOptions_','ixrhh','then','requireHttpClient','chromeOptions_','path','./helpers/patchHelper','proxyUrl','ZdBQx','__drivers','Modifying\x20webdriver\x20builder','winstonLogger','Buewl','moz:firefoxOptions','../../../helpers/accessibility-automation/helper','getHubUrl','ntzKw'];a29_0x55a5=function(){return _0x57945f;};return a29_0x55a5();}(function(_0x1a349f,_0x1eb465){const _0x490330=a29_0x3dcc,_0x46fc7b=_0x1a349f();while(!![]){try{const _0x1f124a=parseInt(_0x490330(0x169))/0x1+-parseInt(_0x490330(0x17a))/0x2+-parseInt(_0x490330(0x115))/0x3+-parseInt(_0x490330(0x121))/0x4+-parseInt(_0x490330(0x172))/0x5+parseInt(_0x490330(0x144))/0x6*(-parseInt(_0x490330(0x119))/0x7)+-parseInt(_0x490330(0x110))/0x8*(-parseInt(_0x490330(0x16d))/0x9);if(_0x1f124a===_0x1eb465)break;else _0x46fc7b['push'](_0x46fc7b['shift']());}catch(_0x5125fb){_0x46fc7b['push'](_0x46fc7b['shift']());}}}(a29_0x55a5,0xc268b));const logger=require(a29_0x2cbe56(0x174))[a29_0x2cbe56(0x156)],helper=require('../../../helpers/helper'),constants=require(a29_0x2cbe56(0x145)),hubAllocator=require(a29_0x2cbe56(0x133)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x2cbe56(0x11c)),{setAccessibilityCapabilities,setExtension}=require(a29_0x2cbe56(0x12a)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x2cbe56(0x159)),globals=require(a29_0x2cbe56(0x15f)),{overrideExecute}=require(a29_0x2cbe56(0x151)),modify=(_0x5af05f,_0x493139=null,_0xd3a67c=![])=>{const _0x80da5d=a29_0x2cbe56,_0x37757e={'ZdBQx':function(_0x44679d,_0x19bc39){return _0x44679d!==_0x19bc39;},'GDtsx':'/session','oBBfJ':function(_0x5f1ea6,_0x61d577){return _0x5f1ea6!==_0x61d577;},'rZVWR':function(_0x1cca2c,_0x276728){return _0x1cca2c+_0x276728;},'Ojefd':function(_0xb445d5,_0x18267c){return _0xb445d5+_0x18267c;},'spFkj':_0x80da5d(0x16c),'kUVJk':_0x80da5d(0x117),'IGfXV':_0x80da5d(0x137),'bUYaY':'chromeOptions','GIjqF':'ms:edgeOptions','AeGMs':_0x80da5d(0x141),'faGqp':_0x80da5d(0x158),'KMIoM':'firefoxOptions','FRzfx':_0x80da5d(0x168),'DSeSG':'se:ieOptions','PkCqx':_0x80da5d(0x12f),'wLFFA':function(_0x2192c9,_0x13f9f1){return _0x2192c9===_0x13f9f1;},'LArBt':_0x80da5d(0x124),'EYpOp':_0x80da5d(0x12b),'lNRDy':'optimalHubUrl','GuGzB':_0x80da5d(0x118),'xoCtc':function(_0x423db0,_0x1b7b1e,_0x4be30e){return _0x423db0(_0x1b7b1e,_0x4be30e);},'rLiOW':function(_0x10b85d,_0x51de57,_0x570eca){return _0x10b85d(_0x51de57,_0x570eca);},'WZpfh':function(_0x5ab363,_0x2a6f81,_0x41224b){return _0x5ab363(_0x2a6f81,_0x41224b);},'ntzKw':function(_0x4e09e8,_0x12fc1e){return _0x4e09e8(_0x12fc1e);},'wDssN':_0x80da5d(0x179),'HeetN':_0x80da5d(0x11d),'TxHid':function(_0x5f3c0f,_0x3ae1c7,_0x2f7875){return _0x5f3c0f(_0x3ae1c7,_0x2f7875);},'PWNMh':_0x80da5d(0x163),'lbmtf':function(_0x2dacaa){return _0x2dacaa();},'CUCZd':function(_0x1c2704,_0x2a3805){return _0x1c2704(_0x2a3805);},'HjHor':function(_0x592311,_0x543a82,_0x1e6994){return _0x592311(_0x543a82,_0x1e6994);},'ixrhh':function(_0x2b941f,_0xaf6bbf){return _0x2b941f!==_0xaf6bbf;},'ZQnqN':_0x80da5d(0x11a),'guewP':_0x80da5d(0x155)},_0x4b74a9=helper[_0x80da5d(0x14e)]();let _0x5bfd89;try{_0x5bfd89=helper[_0x80da5d(0x166)](),_0x5bfd89[_0x80da5d(0x147)]&&(_0x5bfd89[_0x80da5d(0x139)]=_0x5bfd89[_0x80da5d(0x147)]);}catch(_0x1a2ee8){return;}if(helper[_0x80da5d(0x12e)]()){const _0x171465={};_0x171465[_0x80da5d(0x13f)]=_0x5af05f[_0x80da5d(0x180)],helper[_0x80da5d(0x14a)](_0x171465,new Map(),new Map()),logger['info'](_0x37757e[_0x80da5d(0x161)]),logger[_0x80da5d(0x131)](_0x37757e[_0x80da5d(0x17f)]);}class _0x18d1c1 extends _0x4b74a9[_0x80da5d(0x130)]{['send'](_0x309ee6){const _0x20a2bf=_0x80da5d;if(_0x37757e[_0x20a2bf(0x153)](_0x309ee6[_0x20a2bf(0x150)],_0x37757e[_0x20a2bf(0x16b)])&&_0x37757e[_0x20a2bf(0x162)](global[_0x20a2bf(0x176)],''))try{global[_0x20a2bf(0x176)]=_0x37757e[_0x20a2bf(0x17b)](_0x37757e['Ojefd'](_0x37757e['spFkj'],global[_0x20a2bf(0x176)]),_0x37757e[_0x20a2bf(0x183)]),this['options_']=hubAllocator[_0x20a2bf(0x113)](global['newHubUrl']),logger[_0x20a2bf(0x131)](_0x20a2bf(0x178)+global['newHubUrl']),global[_0x20a2bf(0x176)]='';}catch(_0x9922c8){logger[_0x20a2bf(0x123)](_0x9922c8);}return super[_0x20a2bf(0x125)](_0x309ee6);}}class _0x3ab029 extends _0x5bfd89[_0x80da5d(0x139)]{[_0x80da5d(0x13a)](){const _0x5a2801=_0x80da5d;return this[_0x5a2801(0x15d)]=helper[_0x5a2801(0x15a)](_0x5af05f),logger[_0x5a2801(0x131)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x80da5d(0x134)](_0x591459){const _0x5a35dc=_0x80da5d;let _0x31d13c={};for(const _0x4460f9 in _0x591459){switch(_0x4460f9){case _0x37757e[_0x5a35dc(0x129)]:case _0x37757e[_0x5a35dc(0x181)]:this[_0x5a35dc(0x14f)]&&(_0x31d13c=this[_0x5a35dc(0x14f)]['get'](this[_0x5a35dc(0x14f)][_0x5a35dc(0x15c)])||{},this[_0x5a35dc(0x14f)][_0x5a35dc(0x15e)](this['chromeOptions_'][_0x5a35dc(0x15c)],helper['mergeDeep'](_0x31d13c,_0x591459[_0x4460f9])));break;case _0x37757e['GIjqF']:case _0x37757e[_0x5a35dc(0x16f)]:this['edgeOptions_']&&(_0x31d13c=this[_0x5a35dc(0x11b)][_0x5a35dc(0x135)](this[_0x5a35dc(0x11b)][_0x5a35dc(0x15c)])||{},this['edgeOptions_'][_0x5a35dc(0x15e)](this[_0x5a35dc(0x11b)][_0x5a35dc(0x15c)],helper[_0x5a35dc(0x143)](_0x31d13c,_0x591459[_0x4460f9])));break;case _0x37757e[_0x5a35dc(0x114)]:case _0x37757e[_0x5a35dc(0x148)]:this[_0x5a35dc(0x17d)]&&(_0x31d13c=this[_0x5a35dc(0x17d)][_0x5a35dc(0x135)](this[_0x5a35dc(0x17d)][_0x5a35dc(0x15c)])||{},this[_0x5a35dc(0x17d)]['set'](this['firefoxOptions_'][_0x5a35dc(0x15c)],helper[_0x5a35dc(0x143)](_0x31d13c,_0x591459[_0x4460f9])));break;case _0x37757e[_0x5a35dc(0x17c)]:this[_0x5a35dc(0x170)]&&(_0x31d13c=this['safariOptions_']['get'](this[_0x5a35dc(0x170)][_0x5a35dc(0x15c)])||{},this[_0x5a35dc(0x170)][_0x5a35dc(0x15e)](this[_0x5a35dc(0x170)][_0x5a35dc(0x15c)],helper[_0x5a35dc(0x143)](_0x31d13c,_0x591459[_0x4460f9])));break;case _0x37757e[_0x5a35dc(0x138)]:case _0x37757e['PkCqx']:this[_0x5a35dc(0x14b)]&&(_0x31d13c=this[_0x5a35dc(0x14b)][_0x5a35dc(0x135)](this['ieOptions_'][_0x5a35dc(0x15c)])||{},this['ieOptions_'][_0x5a35dc(0x15e)](this[_0x5a35dc(0x14b)][_0x5a35dc(0x15c)],helper['mergeDeep'](_0x31d13c,_0x591459[_0x4460f9])));break;}}}[_0x80da5d(0x16a)](){const _0x267c0d=_0x80da5d,_0x2b721b={'cXqxq':function(_0x3d440b,_0x171b81){return _0x37757e['wLFFA'](_0x3d440b,_0x171b81);},'ERxsh':_0x37757e[_0x267c0d(0x186)]};return logger[_0x267c0d(0x131)](_0x37757e[_0x267c0d(0x13e)]),this[_0x267c0d(0x134)](_0x5af05f[_0x267c0d(0x11f)]),Object['keys'](_0x5af05f[_0x267c0d(0x11f)])[_0x267c0d(0x177)](_0x194ff3=>{const _0x5261ec=_0x267c0d,_0x4768ee=this[_0x5261ec(0x136)][_0x5261ec(0x135)](_0x194ff3);_0x2b721b[_0x5261ec(0x17e)](typeof _0x4768ee,_0x2b721b[_0x5261ec(0x111)])?this['capabilities_'][_0x5261ec(0x15e)](_0x194ff3,helper[_0x5261ec(0x143)](_0x4768ee,_0x5af05f['capability'][_0x194ff3])):this[_0x5261ec(0x136)][_0x5261ec(0x15e)](_0x194ff3,_0x5af05f[_0x5261ec(0x11f)][_0x194ff3]);}),this;}[_0x80da5d(0x10e)](){const _0x2837d5=_0x80da5d,_0x120cb9={'PUjTb':function(_0x259b6c,_0x433c56,_0x4fe972){const _0x2766c3=a29_0x3dcc;return _0x37757e[_0x2766c3(0x140)](_0x259b6c,_0x433c56,_0x4fe972);},'Buewl':function(_0x277068,_0xcc8b87,_0xef5cf6){const _0x5b2e66=a29_0x3dcc;return _0x37757e[_0x5b2e66(0x149)](_0x277068,_0xcc8b87,_0xef5cf6);},'ZmtCW':function(_0x37f3aa,_0x1a52d7){const _0xfef5dd=a29_0x3dcc;return _0x37757e[_0xfef5dd(0x15b)](_0x37f3aa,_0x1a52d7);},'LfotO':function(_0x4956a9,_0x8fe8da,_0x19d561){return _0x37757e['rLiOW'](_0x4956a9,_0x8fe8da,_0x19d561);}};if(helper[_0x2837d5(0x12e)]()){const _0xf29898=_0x37757e[_0x2837d5(0x127)][_0x2837d5(0x167)]('|');let _0x538477=0x0;while(!![]){switch(_0xf29898[_0x538477++]){case'0':this['setCapabilities']();continue;case'1':globals[_0x2837d5(0x146)](_0x37757e[_0x2837d5(0x11e)])&&(!_0x37757e[_0x2837d5(0x165)](setExtension,this,_0x5af05f)&&globals[_0x2837d5(0x13c)](_0x37757e['HeetN'],![]));continue;case'2':if(helper['isPacProxy'](_0x5af05f[_0x2837d5(0x126)][_0x2837d5(0x152)]))this['agent_']=helper['getHttpAgent'](_0x5af05f[_0x2837d5(0x126)]['proxyUrl']);else _0x5af05f[_0x2837d5(0x126)][_0x2837d5(0x152)]&&(this[_0x2837d5(0x122)]=_0x5af05f['proxySettings'][_0x2837d5(0x152)],logger[_0x2837d5(0x131)]('Proxy\x20set\x20to\x20'+this[_0x2837d5(0x122)]));continue;case'3':logger['debug'](_0x37757e['PWNMh']);continue;case'4':this['setServer']();continue;case'5':_0x37757e[_0x2837d5(0x128)](isAccessibilityAutomationSession)&&_0x37757e[_0x2837d5(0x15b)](setAccessibilityCapabilities,_0x5af05f);continue;}break;}}const _0x12a31d=super[_0x2837d5(0x10e)]();return _0x12a31d['session_']['then'](_0x26a77a=>{const _0x3de62c=_0x2837d5;try{const _0x16d0f3=_0x26a77a[_0x3de62c(0x13d)][_0x3de62c(0x135)](_0x37757e['lNRDy']);_0x16d0f3?(logger[_0x3de62c(0x131)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x16d0f3),hubAllocator['updateHubUrl'](_0x16d0f3),helper['storeOptimalHubUrl'](_0x16d0f3)):logger[_0x3de62c(0x131)](_0x37757e[_0x3de62c(0x164)]);}catch(_0x5b3694){logger[_0x3de62c(0x131)](_0x3de62c(0x185)+_0x5b3694);}}),_0x12a31d['quitCount_']=0x0,_0x12a31d[_0x2837d5(0x14d)]&&_0x12a31d['then'](_0x1adb5f=>{const _0x1ac859=_0x2837d5,_0x3c531e={'oiMOo':function(_0x1e88d5,_0x562d9d,_0x2eefd1){return _0x120cb9['PUjTb'](_0x1e88d5,_0x562d9d,_0x2eefd1);}};_0x120cb9[_0x1ac859(0x157)](overrideQuit,_0x1adb5f,_0x12a31d),_0x120cb9['ZmtCW'](overrideTakeScreenshot,_0x1adb5f),helper['overrideGet'](_0x1adb5f,_0x5af05f),_0x120cb9[_0x1ac859(0x12d)](overrideExecute,_0x1adb5f,_0x5af05f),_0x1adb5f[_0x1ac859(0x171)]=async()=>{const _0x4a1f54=_0x1ac859;return await _0x120cb9[_0x4a1f54(0x10f)](getAccessibilityResultsSummary,_0x1adb5f,global);},_0x1adb5f[_0x1ac859(0x173)]=async()=>{const _0x31329e=_0x1ac859;return await _0x3c531e[_0x31329e(0x16e)](getAccessibilityResults,_0x1adb5f,global);};}),_0x12a31d[_0x2837d5(0x171)]=async()=>{const _0x3ad5ed=_0x2837d5;return await _0x37757e[_0x3ad5ed(0x13b)](getAccessibilityResultsSummary,_0x12a31d,global);},_0x12a31d[_0x2837d5(0x173)]=async()=>{const _0x60f297=_0x2837d5;return await _0x37757e[_0x60f297(0x13b)](getAccessibilityResults,_0x12a31d,global);},_0x37757e[_0x2837d5(0x116)](overrideTakeScreenshot,_0x12a31d),_0x37757e[_0x2837d5(0x15b)](overrideQuit,_0x12a31d),helper[_0x2837d5(0x182)](_0x12a31d,_0x5af05f),_0x37757e[_0x2837d5(0x142)](overrideExecute,_0x12a31d,_0x5af05f),helper[_0x2837d5(0x132)](global['__driversArray'])&&(global['__driversArray']=[]),helper[_0x2837d5(0x132)](global[_0x2837d5(0x154)])&&(global[_0x2837d5(0x154)]=[]),global[_0x2837d5(0x12c)][_0x2837d5(0x112)](_0x12a31d),global[_0x2837d5(0x175)]=_0x12a31d,_0x37757e[_0x2837d5(0x14c)](global[_0x2837d5(0x154)],undefined)&&global[_0x2837d5(0x154)]['push'](_0x12a31d),_0x493139&&helper['isUndefined'](_0x493139[_0x2837d5(0x184)][_0x2837d5(0x12c)])&&(_0x493139['global'][_0x2837d5(0x12c)]=[]),_0x493139&&_0x37757e[_0x2837d5(0x14c)](_0x493139[_0x2837d5(0x184)][_0x2837d5(0x154)],undefined)&&(_0x493139['global'][_0x2837d5(0x154)][_0x2837d5(0x112)](_0x12a31d),_0x493139[_0x2837d5(0x184)][_0x2837d5(0x12c)][_0x2837d5(0x112)](_0x12a31d)),_0x12a31d;}}return _0x5bfd89[_0x80da5d(0x147)]=_0x5bfd89[_0x80da5d(0x139)],_0x5bfd89[_0x80da5d(0x139)]=_0x3ab029,_0x4b74a9[_0x80da5d(0x130)]=_0x18d1c1,_0x5bfd89;};module[a29_0x2cbe56(0x160)][a29_0x2cbe56(0x120)]=modify;
@@ -1 +1 @@
1
- function a30_0x56ad(){const _0xea1338=['GaCHw','10341881zKgUfm','8161190fItjdd','5982NDsNxw','4332805hSgWHM','33388vhDhhG','../../../helpers/request-spy','225YQZwdx','214MWImlx','36kHsdLn','../../../helpers/test-observability/utils','../../../bin/utils/constants','115392WDvNZg','98dJbaRa','308886dxRAyb','restore','timeout'];a30_0x56ad=function(){return _0xea1338;};return a30_0x56ad();}const a30_0x317eb9=a30_0x5895;(function(_0x1e7709,_0x34cf2b){const _0x26df99=a30_0x5895,_0x341ec5=_0x1e7709();while(!![]){try{const _0x10ea73=-parseInt(_0x26df99(0x89))/0x1*(parseInt(_0x26df99(0x84))/0x2)+parseInt(_0x26df99(0x88))/0x3*(-parseInt(_0x26df99(0x86))/0x4)+parseInt(_0x26df99(0x85))/0x5+parseInt(_0x26df99(0x7e))/0x6*(parseInt(_0x26df99(0x7d))/0x7)+-parseInt(_0x26df99(0x7c))/0x8*(-parseInt(_0x26df99(0x8a))/0x9)+-parseInt(_0x26df99(0x83))/0xa+parseInt(_0x26df99(0x82))/0xb;if(_0x10ea73===_0x34cf2b)break;else _0x341ec5['push'](_0x341ec5['shift']());}catch(_0x2d5074){_0x341ec5['push'](_0x341ec5['shift']());}}}(a30_0x56ad,0x7aca0));function a30_0x5895(_0x467780,_0x46eb02){const _0x56adaa=a30_0x56ad();return a30_0x5895=function(_0x5895a2,_0x35a05a){_0x5895a2=_0x5895a2-0x7a;let _0x13c9ee=_0x56adaa[_0x5895a2];return _0x13c9ee;},a30_0x5895(_0x467780,_0x46eb02);}const requestSpy=require(a30_0x317eb9(0x87)),constants=require(a30_0x317eb9(0x7b)),{addRequestSpy}=require(a30_0x317eb9(0x7a));exports['mochaHooks']={'beforeAll'(){const _0x45e373=a30_0x317eb9,_0x1405ab={'GaCHw':function(_0x2bc387){return _0x2bc387();}},_0x3226be='browserstack internal helper hook';_0x1405ab[_0x45e373(0x81)](addRequestSpy);},'afterAll'(){const _0x3e37a6=a30_0x317eb9,_0x29e5e9='browserstack internal helper hook';this[_0x3e37a6(0x80)](0xea60),requestSpy[_0x3e37a6(0x7f)]();}};
1
+ function a30_0x1642(){const _0x58b1b3=['86879xSyjQX','59535xUXcmt','8FZqFlY','../../../bin/utils/constants','mochaHooks','restore','274589ftIREy','../../../helpers/test-observability/utils','50VibgQr','741108snDInU','timeout','117GcJsSg','378654zfCMzl','133794sfNFKf','2tAQLRG','48pcvYlU','40kahhUz','204116VaJoTT'];a30_0x1642=function(){return _0x58b1b3;};return a30_0x1642();}const a30_0xe7c21c=a30_0x516f;function a30_0x516f(_0x10b1d1,_0x215b97){const _0x16426c=a30_0x1642();return a30_0x516f=function(_0x516fb5,_0x29d902){_0x516fb5=_0x516fb5-0x192;let _0x56b966=_0x16426c[_0x516fb5];return _0x56b966;},a30_0x516f(_0x10b1d1,_0x215b97);}(function(_0x72adcd,_0x232ee3){const _0x5170c2=a30_0x516f,_0x1ec492=_0x72adcd();while(!![]){try{const _0x365a61=parseInt(_0x5170c2(0x19a))/0x1+parseInt(_0x5170c2(0x196))/0x2*(parseInt(_0x5170c2(0x194))/0x3)+-parseInt(_0x5170c2(0x198))/0x4*(-parseInt(_0x5170c2(0x19b))/0x5)+parseInt(_0x5170c2(0x197))/0x6*(parseInt(_0x5170c2(0x1a0))/0x7)+-parseInt(_0x5170c2(0x19c))/0x8*(parseInt(_0x5170c2(0x195))/0x9)+-parseInt(_0x5170c2(0x1a2))/0xa*(-parseInt(_0x5170c2(0x199))/0xb)+parseInt(_0x5170c2(0x1a3))/0xc*(-parseInt(_0x5170c2(0x193))/0xd);if(_0x365a61===_0x232ee3)break;else _0x1ec492['push'](_0x1ec492['shift']());}catch(_0x34ad23){_0x1ec492['push'](_0x1ec492['shift']());}}}(a30_0x1642,0x29082));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0xe7c21c(0x19d)),{addRequestSpy}=require(a30_0xe7c21c(0x1a1));exports[a30_0xe7c21c(0x19e)]={'beforeAll'(){const _0x366fbc={'ipvcH':function(_0x1d90ed){return _0x1d90ed();}},_0x3a9035='browserstack internal helper hook';_0x366fbc['ipvcH'](addRequestSpy);},'afterAll'(){const _0x2f1eff=a30_0xe7c21c,_0x3ca21a='browserstack internal helper hook';this[_0x2f1eff(0x192)](0xea60),requestSpy[_0x2f1eff(0x19f)]();}};
@@ -1 +1 @@
1
- const a31_0x32c7f3=a31_0x2966;function a31_0x17ab(){const _0xbdc60=['hook','cSAIW','UUfHU','61407hZbwxH','indexOf','Yosqv','bs:addPlatformDetails:','hook:','../../../helpers/testhub/utils','VHQcH','getPlatform','passed','HQRoI','keys','13162110UNWDhN','forEach','uuid','taiWo','xwKSM','getCapabilities','parent','../../utils/logPatcher','filter','../../../../package.json','23619AGoqfU','12918fNVUaR','split','MLVFp','jPwLT','getBrowserName','type','generic','unknown_grid','hookAnalyticsId','RNojd','browserstack','lpIDP','concat','emit','jYElS','../../../helpers/helper','LUjlq','TEST_PLATFORM','eyrBt','getHooksForTest','__cloud_provider___','pending','substring','OEvLn','792040DJzMUs','slice','qiVzT','JoUPV','BQnBP','../../../helpers/test-observability/utils','1093834bAOPFm','qIpKi','markedStatus','EkmDQ','CyrZh','state','failed','getBrowserVersion','ClZSW','488skkBtm','iThtE','getTestEnv','oYxHf','getHookSkippedTests','mapTestHooks','rTeaR','../../../helpers/test-observability/constants','map_','_beforeAll','OZXAK','string','Uqxra','fromEntries','_afterEach','_afterAll','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','JXQhn','suites','XDzRY','REYUa','LYbcJ','HHnHG','244jsBIgF','tests','js-','705cNeAol','push','toISOString','YgRGy','vXRKR','pid','4774266WtfnER'];a31_0x17ab=function(){return _0xbdc60;};return a31_0x17ab();}function a31_0x2966(_0x1a41ae,_0x11820f){const _0x17ab1c=a31_0x17ab();return a31_0x2966=function(_0x2966ee,_0x52a61b){_0x2966ee=_0x2966ee-0x1ca;let _0x43cff5=_0x17ab1c[_0x2966ee];return _0x43cff5;},a31_0x2966(_0x1a41ae,_0x11820f);}(function(_0x4285d2,_0x805063){const _0x20d8a8=a31_0x2966,_0x2b70ab=_0x4285d2();while(!![]){try{const _0x4c7fc8=-parseInt(_0x20d8a8(0x213))/0x1+-parseInt(_0x20d8a8(0x219))/0x2+-parseInt(_0x20d8a8(0x1fa))/0x3*(-parseInt(_0x20d8a8(0x1d8))/0x4)+parseInt(_0x20d8a8(0x1db))/0x5*(-parseInt(_0x20d8a8(0x1fb))/0x6)+parseInt(_0x20d8a8(0x1e1))/0x7+parseInt(_0x20d8a8(0x222))/0x8*(-parseInt(_0x20d8a8(0x1e5))/0x9)+parseInt(_0x20d8a8(0x1f0))/0xa;if(_0x4c7fc8===_0x805063)break;else _0x2b70ab['push'](_0x2b70ab['shift']());}catch(_0x4c0f9f){_0x2b70ab['push'](_0x2b70ab['shift']());}}}(a31_0x17ab,0x667b9));const {v4:uuidv4}=require(a31_0x32c7f3(0x1f2)),{name,version}=require(a31_0x32c7f3(0x1f9)),logPatcher=require(a31_0x32c7f3(0x1f7)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x32c7f3(0x218)),{consoleHolder}=require(a31_0x32c7f3(0x229)),{getPlatformVersion}=require(a31_0x32c7f3(0x20a)),{shouldProcessEventForTesthub}=require(a31_0x32c7f3(0x1ea));console={},Object[a31_0x32c7f3(0x1ef)](consoleHolder)[a31_0x32c7f3(0x1f1)](_0x22f31f=>{console[_0x22f31f]=(..._0x33bf17)=>{BSTestOpsPatcher[_0x22f31f](..._0x33bf17);};}),exports[a31_0x32c7f3(0x224)]=()=>{const _0x3dece5=a31_0x32c7f3,_0x5ca629={'YgRGy':_0x3dece5(0x201),'eyrBt':function(_0x47b3e7){return _0x47b3e7();}};return{'ci':_0x5ca629[_0x3dece5(0x1de)],'key':_0x5ca629[_0x3dece5(0x20d)](uuidv4),'version':version,'collector':_0x3dece5(0x1da)+name};},exports['getHookDetails']=_0x4c63da=>{const _0x301584=a31_0x32c7f3,_0x37235d={};_0x37235d['jYElS']=function(_0x1b71ab,_0x36d625){return _0x1b71ab!==_0x36d625;},_0x37235d[_0x301584(0x1fe)]=_0x301584(0x1cc),_0x37235d['MLVFp']=_0x301584(0x1e9),_0x37235d[_0x301584(0x1cb)]=_0x301584(0x1e2);const _0x50542f=_0x37235d;if(!_0x4c63da||_0x50542f[_0x301584(0x209)](typeof _0x4c63da,_0x50542f[_0x301584(0x1fe)]))return[null,null];if(_0x50542f[_0x301584(0x209)](_0x4c63da[_0x301584(0x1e6)](_0x50542f[_0x301584(0x1fd)]),-0x1)){const _0x35c3ef=_0x4c63da[_0x301584(0x1fc)](_0x50542f[_0x301584(0x1fd)]);return[_0x35c3ef[0x0][_0x301584(0x214)](0x0,-0x1)[_0x301584(0x1fc)]('\x22')[0x1],_0x35c3ef[0x1][_0x301584(0x211)](0x1)];}else{if(_0x50542f[_0x301584(0x209)](_0x4c63da['indexOf'](_0x50542f['OZXAK']),-0x1)){const _0x57e6b1=_0x4c63da[_0x301584(0x1fc)](_0x50542f[_0x301584(0x1cb)]);return[_0x57e6b1[0x0][_0x301584(0x214)](0x0,-0x1)[_0x301584(0x1fc)]('\x22')[0x1],_0x4c63da];}}return[null,null];},exports[a31_0x32c7f3(0x20e)]=_0x53a0d4=>{const _0x18304b=a31_0x32c7f3,_0x161741={'xwKSM':function(_0x269ff7,_0x5693c5){return _0x269ff7(_0x5693c5);},'VHQcH':_0x18304b(0x1ca),'rTeaR':'_afterAll','vXRKR':'_beforeEach','taiWo':'_afterEach'};if(!_0x53a0d4||!_0x53a0d4[_0x18304b(0x1f6)])return[];const _0x326a9d=[];return[_0x161741[_0x18304b(0x1eb)],_0x161741[_0x18304b(0x228)],_0x161741[_0x18304b(0x1df)],_0x161741[_0x18304b(0x1f3)]][_0x18304b(0x1f1)](_0x57500d=>{const _0x21c809=_0x18304b,_0x316cd4={'HHnHG':function(_0x540484,_0x1dc224){const _0x2a15e2=a31_0x2966;return _0x161741[_0x2a15e2(0x1f4)](_0x540484,_0x1dc224);}},_0x5e9b25=_0x53a0d4[_0x21c809(0x1f6)][_0x57500d]||[];_0x5e9b25[_0x21c809(0x1f1)](_0x26badf=>{const _0x391f14=_0x21c809;_0x26badf[_0x391f14(0x203)]&&!_0x316cd4[_0x391f14(0x1d7)](isInternalHook,_0x26badf['fn'])&&_0x326a9d[_0x391f14(0x1dc)](_0x26badf['hookAnalyticsId']);});}),[..._0x326a9d,...exports[_0x18304b(0x20e)](_0x53a0d4[_0x18304b(0x1f6)])];},exports[a31_0x32c7f3(0x227)]=_0x4e9b7a=>{const _0x45b8e6=a31_0x32c7f3,_0x1ea506={'LYbcJ':function(_0x58348a){return _0x58348a();},'qiVzT':function(_0x58af19,_0x12fa05){return _0x58af19===_0x12fa05;},'HQRoI':_0x45b8e6(0x1cf),'oYxHf':_0x45b8e6(0x1ca),'UUfHU':_0x45b8e6(0x1d0),'Yosqv':'_beforeEach'};if(!_0x4e9b7a||!_0x4e9b7a[_0x45b8e6(0x1f6)])return;[_0x1ea506[_0x45b8e6(0x225)],_0x1ea506[_0x45b8e6(0x1e4)],_0x1ea506[_0x45b8e6(0x1e7)],_0x1ea506['HQRoI']][_0x45b8e6(0x1f1)](_0x409995=>{const _0x1fef10=_0x45b8e6,_0x55ed8a={'OEvLn':function(_0x3943b0){const _0x20fb15=a31_0x2966;return _0x1ea506[_0x20fb15(0x1d6)](_0x3943b0);},'CyrZh':function(_0x4dd363,_0x8f9542){const _0x1c90dc=a31_0x2966;return _0x1ea506[_0x1c90dc(0x215)](_0x4dd363,_0x8f9542);},'RNojd':_0x1ea506[_0x1fef10(0x1ee)]},_0x2e1b37=_0x4e9b7a[_0x1fef10(0x1f6)][_0x409995]||[];_0x2e1b37[_0x1fef10(0x1f1)](_0x2ebd16=>{const _0x4b7fa5=_0x1fef10;if(!_0x2ebd16[_0x4b7fa5(0x203)])_0x2ebd16[_0x4b7fa5(0x203)]=_0x55ed8a[_0x4b7fa5(0x212)](uuidv4);else _0x2ebd16[_0x4b7fa5(0x21b)]&&_0x55ed8a[_0x4b7fa5(0x21d)](_0x409995,_0x55ed8a[_0x4b7fa5(0x204)])&&(_0x2ebd16[_0x4b7fa5(0x203)]=_0x55ed8a['OEvLn'](uuidv4),delete _0x2ebd16[_0x4b7fa5(0x21b)]);});}),exports[_0x45b8e6(0x227)](_0x4e9b7a['parent']);},exports['sendPlatformDetails']=async(_0xcef1e3,_0x5b5b4a)=>{const _0x282761=a31_0x32c7f3,_0x197022={'lpIDP':function(_0x24af90){return _0x24af90();},'ClZSW':function(_0x128d82,_0x383676){return _0x128d82(_0x383676);},'JoUPV':function(_0x159c53,_0x4a34d6){return _0x159c53(_0x4a34d6);},'REYUa':function(_0x5c8f2b,_0x986566){return _0x5c8f2b===_0x986566;},'GqVAo':_0x282761(0x205),'qIpKi':_0x282761(0x202),'XDzRY':_0x282761(0x20c),'cSAIW':function(_0x1d8cce,_0x2047db){return _0x1d8cce(_0x2047db);}};try{if(!_0x197022[_0x282761(0x206)](shouldProcessEventForTesthub))return;const _0x4153a9=await _0xcef1e3['getCapabilities'](),_0x1b0b94=await _0xcef1e3['getSession'](),_0x278745={},_0x1f1210=Object[_0x282761(0x1ce)](_0x1b0b94[_0x282761(0x1f5)]()[_0x282761(0x22a)]),_0x5009c8={'product':_0x197022[_0x282761(0x221)](getObservabilityLinkedProductName,_0x1f1210),'capabilities':_0x1f1210,'platform':_0x4153a9[_0x282761(0x1ec)](),'platform_version':_0x197022[_0x282761(0x216)](getPlatformVersion,_0x197022[_0x282761(0x1d5)](global['__cloud_provider___'],_0x197022['GqVAo'])),'browser':_0x4153a9[_0x282761(0x1ff)](),'browser_version':_0x4153a9[_0x282761(0x220)](),'session_id':_0x1b0b94['toJSON']()};global['__cloud_provider___']?_0x278745[global[_0x282761(0x20f)]]=_0x5009c8:_0x278745[_0x197022[_0x282761(0x21a)]]=_0x5009c8,process[_0x282761(0x208)](_0x282761(0x1e8)+process[_0x282761(0x1e0)],{'timestamp':new Date()[_0x282761(0x1dd)](),'level':null,'message':null,'kind':_0x197022[_0x282761(0x1d4)],'http_response':_0x278745,'uuid':_0x5b5b4a});}catch(_0x441bd5){_0x197022[_0x282761(0x1e3)](debug,_0x282761(0x1d1)+_0x441bd5);}},exports[a31_0x32c7f3(0x226)]=_0x472b55=>{const _0x36916c=a31_0x32c7f3,_0x333e42={};_0x333e42[_0x36916c(0x1d2)]=function(_0x3622e,_0x2eb84f){return _0x3622e!==_0x2eb84f;},_0x333e42[_0x36916c(0x217)]=_0x36916c(0x1e2),_0x333e42[_0x36916c(0x21c)]=function(_0x2a17b8,_0x442cef){return _0x2a17b8!==_0x442cef;},_0x333e42[_0x36916c(0x1cd)]=_0x36916c(0x1ed),_0x333e42['LUjlq']=function(_0x50f6bc,_0x4d984f){return _0x50f6bc!==_0x4d984f;},_0x333e42[_0x36916c(0x223)]=_0x36916c(0x21f);const _0x193537=_0x333e42,_0x486278=_0x472b55[_0x36916c(0x1d3)]['reduce']((_0x2ac06d,_0x46f478)=>{const _0x4b2710=exports['getHookSkippedTests'](_0x46f478);return _0x4b2710&&(_0x2ac06d=_0x2ac06d['concat'](_0x4b2710)),_0x2ac06d;},[]),_0x5464ee=_0x472b55[_0x36916c(0x1d9)][_0x36916c(0x1f8)](_0x169e22=>{const _0x4200d0=_0x36916c,_0xd84673=_0x193537[_0x4200d0(0x1d2)](_0x169e22[_0x4200d0(0x200)],_0x193537[_0x4200d0(0x217)])&&!_0x169e22[_0x4200d0(0x21b)]&&_0x193537['EkmDQ'](_0x169e22[_0x4200d0(0x21e)],_0x193537['Uqxra'])&&_0x193537[_0x4200d0(0x20b)](_0x169e22[_0x4200d0(0x21e)],_0x193537[_0x4200d0(0x223)])&&!_0x169e22[_0x4200d0(0x210)];return _0xd84673;});return _0x5464ee[_0x36916c(0x207)](_0x486278);};
1
+ const a31_0x1cbf7a=a31_0x2be8;(function(_0x3d0153,_0x4b6114){const _0x46fa11=a31_0x2be8,_0x3f7e32=_0x3d0153();while(!![]){try{const _0x225b96=parseInt(_0x46fa11(0x1e1))/0x1+parseInt(_0x46fa11(0x1d7))/0x2+-parseInt(_0x46fa11(0x210))/0x3+-parseInt(_0x46fa11(0x1e9))/0x4+-parseInt(_0x46fa11(0x20a))/0x5+parseInt(_0x46fa11(0x1e4))/0x6+parseInt(_0x46fa11(0x1fa))/0x7;if(_0x225b96===_0x4b6114)break;else _0x3f7e32['push'](_0x3f7e32['shift']());}catch(_0xcbb9d8){_0x3f7e32['push'](_0x3f7e32['shift']());}}}(a31_0x8e88,0x4f771));const {v4:uuidv4}=require(a31_0x1cbf7a(0x20d)),{name,version}=require(a31_0x1cbf7a(0x1d3)),logPatcher=require(a31_0x1cbf7a(0x1ff)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x1cbf7a(0x1f4));function a31_0x8e88(){const _0x596168=['XNTNI','1047548nRMghR','_afterEach','filter','kfxqY','SlnRN','_beforeEach','forEach','parent','IDiHe','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','87801LGzaEi','TGDME','generic','1421760YiUFig','_afterAll','getHookDetails','passed','state','2088280KabzJG','fromEntries','YjIIB','markedStatus','pending','__cloud_provider___','string','indexOf','split','pFBxM','IQolp','../../../helpers/testhub/utils','ticyp','push','Hnjci','pmIns','RZAJk','7174944KYZigL','hookAnalyticsId','slice','toISOString','bs:addPlatformDetails:','../../utils/logPatcher','keys','nNGMi','mJTHl','bxupt','substring','hook','getBrowserName','gLcHt','usnLU','getCapabilities','3092975BNdOud','getSession','karVJ','uuid','oMoxZ','_beforeAll','1222119GaFQxG','tPFHK','concat','rxiuf','aVXmV','getTestEnv','ioaQi','getHookSkippedTests','mapTestHooks','uQOEZ','sendPlatformDetails','TEST_PLATFORM','unknown_grid','lNwNl','anGLN','../../../../package.json','hook:','tiSQP'];a31_0x8e88=function(){return _0x596168;};return a31_0x8e88();}function a31_0x2be8(_0x273763,_0x1fadb3){const _0x8e8868=a31_0x8e88();return a31_0x2be8=function(_0x2be8d2,_0x315f04){_0x2be8d2=_0x2be8d2-0x1cf;let _0x565099=_0x8e8868[_0x2be8d2];return _0x565099;},a31_0x2be8(_0x273763,_0x1fadb3);}console={},Object[a31_0x1cbf7a(0x200)](consoleHolder)[a31_0x1cbf7a(0x1dd)](_0x57a682=>{console[_0x57a682]=(..._0x1a9fc6)=>{BSTestOpsPatcher[_0x57a682](..._0x1a9fc6);};}),exports[a31_0x1cbf7a(0x215)]=()=>{const _0x2b2940=a31_0x1cbf7a,_0x2279d3={'Hnjci':_0x2b2940(0x1e3),'anGLN':function(_0x1c6e8e){return _0x1c6e8e();}};return{'ci':_0x2279d3[_0x2b2940(0x1f7)],'key':_0x2279d3[_0x2b2940(0x1d2)](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x1cbf7a(0x1e6)]=_0x241ccb=>{const _0x300a6b=a31_0x1cbf7a,_0x55be19={};_0x55be19[_0x300a6b(0x1d6)]=function(_0x2e5ac9,_0xfb680a){return _0x2e5ac9!==_0xfb680a;},_0x55be19[_0x300a6b(0x1f5)]=_0x300a6b(0x1ef),_0x55be19['zpClW']=function(_0x5c106a,_0x2803a5){return _0x5c106a!==_0x2803a5;},_0x55be19[_0x300a6b(0x1f8)]=_0x300a6b(0x1d4),_0x55be19[_0x300a6b(0x213)]=function(_0x25f93d,_0x5e802c){return _0x25f93d!==_0x5e802c;},_0x55be19[_0x300a6b(0x216)]=_0x300a6b(0x205);const _0x3709e2=_0x55be19;if(!_0x241ccb||_0x3709e2[_0x300a6b(0x1d6)](typeof _0x241ccb,_0x3709e2['ticyp']))return[null,null];if(_0x3709e2['zpClW'](_0x241ccb[_0x300a6b(0x1f0)](_0x3709e2[_0x300a6b(0x1f8)]),-0x1)){const _0x15a2bb=_0x241ccb[_0x300a6b(0x1f1)](_0x3709e2[_0x300a6b(0x1f8)]);return[_0x15a2bb[0x0][_0x300a6b(0x1fc)](0x0,-0x1)['split']('\x22')[0x1],_0x15a2bb[0x1][_0x300a6b(0x204)](0x1)];}else{if(_0x3709e2[_0x300a6b(0x213)](_0x241ccb[_0x300a6b(0x1f0)](_0x3709e2[_0x300a6b(0x216)]),-0x1)){const _0x308101=_0x241ccb[_0x300a6b(0x1f1)](_0x3709e2['ioaQi']);return[_0x308101[0x0][_0x300a6b(0x1fc)](0x0,-0x1)[_0x300a6b(0x1f1)]('\x22')[0x1],_0x241ccb];}}return[null,null];},exports['getHooksForTest']=_0x19edbe=>{const _0x2a02c6=a31_0x1cbf7a,_0x2d4506={'nNGMi':function(_0x4542a0,_0x4cff3f){return _0x4542a0(_0x4cff3f);},'RZAJk':_0x2a02c6(0x20f),'kfxqY':'_afterAll','aVXmV':'_beforeEach','mJTHl':_0x2a02c6(0x1d8)};if(!_0x19edbe||!_0x19edbe['parent'])return[];const _0x363c9a=[];return[_0x2d4506[_0x2a02c6(0x1f9)],_0x2d4506[_0x2a02c6(0x1da)],_0x2d4506[_0x2a02c6(0x214)],_0x2d4506[_0x2a02c6(0x202)]][_0x2a02c6(0x1dd)](_0x2d284d=>{const _0xf2c1d=_0x2a02c6,_0x55453d=_0x19edbe['parent'][_0x2d284d]||[];_0x55453d[_0xf2c1d(0x1dd)](_0x3313ce=>{const _0x88f517=_0xf2c1d;_0x3313ce['hookAnalyticsId']&&!_0x2d4506[_0x88f517(0x201)](isInternalHook,_0x3313ce['fn'])&&_0x363c9a[_0x88f517(0x1f6)](_0x3313ce[_0x88f517(0x1fb)]);});}),[..._0x363c9a,...exports['getHooksForTest'](_0x19edbe[_0x2a02c6(0x1de)])];},exports[a31_0x1cbf7a(0x218)]=_0x1983bc=>{const _0xaaf312=a31_0x1cbf7a,_0x2eb56a={'tiSQP':function(_0x3e9372){return _0x3e9372();},'hhAgH':function(_0x4f4106,_0x3c1bbd){return _0x4f4106===_0x3c1bbd;},'pFBxM':_0xaaf312(0x1d8),'tHyBt':'_beforeAll','gLcHt':_0xaaf312(0x1e5),'SlnRN':_0xaaf312(0x1dc)};if(!_0x1983bc||!_0x1983bc['parent'])return;[_0x2eb56a['tHyBt'],_0x2eb56a[_0xaaf312(0x207)],_0x2eb56a[_0xaaf312(0x1db)],_0x2eb56a[_0xaaf312(0x1f2)]]['forEach'](_0x2552bc=>{const _0x1641e6=_0xaaf312,_0x2966c1=_0x1983bc['parent'][_0x2552bc]||[];_0x2966c1[_0x1641e6(0x1dd)](_0x2471c1=>{const _0x3bf945=_0x1641e6;if(!_0x2471c1[_0x3bf945(0x1fb)])_0x2471c1[_0x3bf945(0x1fb)]=_0x2eb56a[_0x3bf945(0x1d5)](uuidv4);else _0x2471c1[_0x3bf945(0x1ec)]&&_0x2eb56a['hhAgH'](_0x2552bc,_0x2eb56a['pFBxM'])&&(_0x2471c1[_0x3bf945(0x1fb)]=_0x2eb56a['tiSQP'](uuidv4),delete _0x2471c1[_0x3bf945(0x1ec)]);});}),exports[_0xaaf312(0x218)](_0x1983bc['parent']);},exports[a31_0x1cbf7a(0x21a)]=async(_0x91764e,_0x4c9209)=>{const _0x1bb35a=a31_0x1cbf7a,_0xa422c4={'rPjcA':function(_0x1192e6){return _0x1192e6();},'tPFHK':function(_0x528c53,_0x3c73b4){return _0x528c53(_0x3c73b4);},'karVJ':function(_0x34e2ec,_0x17c4a6){return _0x34e2ec(_0x17c4a6);},'YjIIB':function(_0x13b26e,_0x3c3d95){return _0x13b26e===_0x3c3d95;},'lNwNl':'browserstack','uDvUq':_0x1bb35a(0x1d0),'bxupt':_0x1bb35a(0x1cf),'IDiHe':function(_0x49c402,_0x5917e1){return _0x49c402(_0x5917e1);}};try{if(!_0xa422c4['rPjcA'](shouldProcessEventForTesthub))return;const _0x215471=await _0x91764e[_0x1bb35a(0x209)](),_0xd272cd=await _0x91764e[_0x1bb35a(0x20b)](),_0x426632={},_0x420536=Object[_0x1bb35a(0x1ea)](_0xd272cd[_0x1bb35a(0x209)]()['map_']),_0x17e21e={'product':_0xa422c4[_0x1bb35a(0x211)](getObservabilityLinkedProductName,_0x420536),'capabilities':_0x420536,'platform':_0x215471['getPlatform'](),'platform_version':_0xa422c4[_0x1bb35a(0x20c)](getPlatformVersion,_0xa422c4[_0x1bb35a(0x1eb)](global['__cloud_provider___'],_0xa422c4[_0x1bb35a(0x1d1)])),'browser':_0x215471[_0x1bb35a(0x206)](),'browser_version':_0x215471['getBrowserVersion'](),'session_id':_0xd272cd['toJSON']()};global[_0x1bb35a(0x1ee)]?_0x426632[global['__cloud_provider___']]=_0x17e21e:_0x426632[_0xa422c4['uDvUq']]=_0x17e21e,process['emit'](_0x1bb35a(0x1fe)+process['pid'],{'timestamp':new Date()[_0x1bb35a(0x1fd)](),'level':null,'message':null,'kind':_0xa422c4[_0x1bb35a(0x203)],'http_response':_0x426632,'uuid':_0x4c9209});}catch(_0xaf056c){_0xa422c4[_0x1bb35a(0x1df)](debug,_0x1bb35a(0x1e0)+_0xaf056c);}},exports[a31_0x1cbf7a(0x217)]=_0x312011=>{const _0x41ed7a=a31_0x1cbf7a,_0x3a1936={};_0x3a1936['oMoxZ']=function(_0x45e431,_0x234668){return _0x45e431!==_0x234668;},_0x3a1936[_0x41ed7a(0x208)]=_0x41ed7a(0x205),_0x3a1936['TGDME']=function(_0x429b5a,_0x26c946){return _0x429b5a!==_0x26c946;},_0x3a1936[_0x41ed7a(0x219)]=_0x41ed7a(0x1e7),_0x3a1936[_0x41ed7a(0x1f3)]='failed';const _0x422e8a=_0x3a1936,_0xa54e51=_0x312011['suites']['reduce']((_0x300a8a,_0x2e5def)=>{const _0x2bbbb8=_0x41ed7a,_0x1f288a=exports[_0x2bbbb8(0x217)](_0x2e5def);return _0x1f288a&&(_0x300a8a=_0x300a8a['concat'](_0x1f288a)),_0x300a8a;},[]),_0x160ccb=_0x312011['tests'][_0x41ed7a(0x1d9)](_0x142ef8=>{const _0x5d4ecc=_0x41ed7a,_0x7ab6d8=_0x422e8a[_0x5d4ecc(0x20e)](_0x142ef8['type'],_0x422e8a['usnLU'])&&!_0x142ef8['markedStatus']&&_0x422e8a[_0x5d4ecc(0x1e2)](_0x142ef8[_0x5d4ecc(0x1e8)],_0x422e8a[_0x5d4ecc(0x219)])&&_0x422e8a[_0x5d4ecc(0x20e)](_0x142ef8[_0x5d4ecc(0x1e8)],_0x422e8a[_0x5d4ecc(0x1f3)])&&!_0x142ef8[_0x5d4ecc(0x1ed)];return _0x7ab6d8;});return _0x160ccb[_0x41ed7a(0x212)](_0xa54e51);};
@@ -1 +1 @@
1
- const a32_0x7f0119=a32_0x535f;(function(_0x3c2725,_0x10be01){const _0x44cd12=a32_0x535f,_0x5777dc=_0x3c2725();while(!![]){try{const _0x36bb9d=parseInt(_0x44cd12(0x166))/0x1+parseInt(_0x44cd12(0x16f))/0x2+parseInt(_0x44cd12(0x1a2))/0x3+-parseInt(_0x44cd12(0x1b8))/0x4*(parseInt(_0x44cd12(0x178))/0x5)+parseInt(_0x44cd12(0x155))/0x6*(-parseInt(_0x44cd12(0x16b))/0x7)+-parseInt(_0x44cd12(0x1b5))/0x8*(parseInt(_0x44cd12(0x18d))/0x9)+parseInt(_0x44cd12(0x180))/0xa*(parseInt(_0x44cd12(0x1c6))/0xb);if(_0x36bb9d===_0x10be01)break;else _0x5777dc['push'](_0x5777dc['shift']());}catch(_0x549549){_0x5777dc['push'](_0x5777dc['shift']());}}}(a32_0x5b96,0x3b701));function a32_0x5b96(){const _0x160b88=['browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','./test-observability/mochaUtils','185600azoPzB','getGlobal','thBuildUuid','protocol','bstackA11yShouldScan','49CHreWM','startMonitoring','mochaHooks','wvmzl','463184oepaib','info','dfNTK','XZUAC','passed','state','HcXfb','thTestRunUuid','stopMonitoring','14085tdHGhq','\x20-\x20','Hvowd','Automate\x20test\x20case\x20execution\x20has\x20started.','isAccessibilityPlatform','hcSyl','../../helpers/performance-tester','jVoXH','126250vlTGdQ','appium:app','accessibilityScanStarted','../../helpers/testhub/utils','quitCount_','titlePath','initQuit','err','EurcT','Passed','performScan','\x20|\x20','__drivers','99crFVkW','bIGjn','nYiHR','session_','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../../helpers/helper','stringify','dElpz','mxoAW','../../helpers/globals','message','push','testcase','JhBTF','driverCleanup','BROWSERSTACK_TESTHUB_UUID','Failed:\x20','__error_messages__','percy','uqtVn','ABWkI','1140126CDjkBK','dFcPp','browserstackSessionName','Peypk','bVomh','GrDmR','EtxMQ','.\x20Error\x20:','http:','BUUSI','shouldScanTestForAccessibility','__sessionFailed','env','timeout','Failed\x20to\x20store\x20session\x20name:\x20','app','CFKdq','wZmRk','PLErx','317880LdxVDv','mhZqD','../../helpers/percy/utils','4ygcJkJ','failed','capabilities','ygGVI','then','__skipSessionName','winstonLogger','length','executeScript','shift','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','dGyGX','sWyYr','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','22rKqesY','now','isArray','executeAsyncScript','currentTest','BorBo','MZGgc','join','saveTestResults','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','\x22}}','hbgJJ','119250xPuWfT','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','ENV_VAR','error','format','TDjKB','QyvgH','thJwtToken','../../helpers/logger','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','../../helpers/testhub/constants','Brehx','https:','Performing\x20scan\x20before\x20saving\x20results','debug'];a32_0x5b96=function(){return _0x160b88;};return a32_0x5b96();}function a32_0x535f(_0x127292,_0x686a8c){const _0x5b964b=a32_0x5b96();return a32_0x535f=function(_0x535f6c,_0x4dedf1){_0x535f6c=_0x535f6c-0x151;let _0x294094=_0x5b964b[_0x535f6c];return _0x294094;},a32_0x535f(_0x127292,_0x686a8c);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x7f0119(0x1b7)),{sendPlatformDetails}=require(a32_0x7f0119(0x165)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x7f0119(0x192)),PerformanceTester=require(a32_0x7f0119(0x17e)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x7f0119(0x196)),logger=require(a32_0x7f0119(0x15d))[a32_0x7f0119(0x1be)],{shouldProcessEventForTesthub}=require(a32_0x7f0119(0x183)),testHubConstants=require(a32_0x7f0119(0x15f));exports[a32_0x7f0119(0x16d)]={'beforeAll'(){const _0x10fc6a=a32_0x7f0119,_0x2ca0e6={'BorBo':function(_0x15ce47,_0x3bd0a6,_0xd3b494,_0x1d7128){return _0x15ce47(_0x3bd0a6,_0xd3b494,_0x1d7128);},'EtxMQ':_0x10fc6a(0x1b9),'wZmRk':_0x10fc6a(0x18b),'XZUAC':function(_0x2a758b,_0x24bff0,_0x38a938){return _0x2a758b(_0x24bff0,_0x38a938);},'ygGVI':_0x10fc6a(0x173),'TDjKB':function(_0x4ba1e4){return _0x4ba1e4();}};PerformanceTester[_0x10fc6a(0x16c)]();const _0x17820b='browserstack internal helper hook';global[_0x10fc6a(0x19e)]=[],global[_0x10fc6a(0x1ad)]=![],global[_0x10fc6a(0x19b)]=async()=>{const _0x15b71b=_0x10fc6a;let _0x3b705a=![];try{await global['__drivers'][0x0][_0x15b71b(0x190)],_0x3b705a=!![],global[_0x15b71b(0x1ad)]?await _0x2ca0e6[_0x15b71b(0x1cb)](markSessionStatus,global['__drivers'][0x0],_0x2ca0e6[_0x15b71b(0x1a8)],global['__error_messages__'][_0x15b71b(0x1cd)](_0x2ca0e6[_0x15b71b(0x1b3)])):await _0x2ca0e6['XZUAC'](markSessionStatus,global[_0x15b71b(0x18c)][0x0],_0x2ca0e6[_0x15b71b(0x1bb)]);}catch(_0xdc9db){}global[_0x15b71b(0x19e)]=[],global[_0x15b71b(0x1ad)]=![];if(_0x3b705a)try{try{_0x2ca0e6[_0x15b71b(0x15a)](shouldProcessEventForTesthub)&&(global[_0x15b71b(0x18c)][0x0]&&await _0x2ca0e6[_0x15b71b(0x172)](sendPlatformDetails,global['__drivers'][0x0],this[_0x15b71b(0x1ca)]?this[_0x15b71b(0x1ca)]['testAnalyticsId']:null));}catch{}await global[_0x15b71b(0x18c)][0x0][_0x15b71b(0x186)]();}catch(_0x2fef60){}};},'beforeEach'(_0x51ee8e){const _0x286c54=a32_0x7f0119,_0x3fb0e8={'hcSyl':function(_0x2a8dc5,_0x2cd45b){return _0x2a8dc5>_0x2cd45b;},'Hvowd':_0x286c54(0x179),'BUUSI':function(_0x2bfb3b,_0x497563,_0x2a1229){return _0x2bfb3b(_0x497563,_0x2a1229);},'zWJZw':_0x286c54(0x16a),'lNCkE':function(_0x6dad00){return _0x6dad00();},'mxoAW':_0x286c54(0x17c),'dfNTK':function(_0x38506f,_0x5c8dba){return _0x38506f===_0x5c8dba;},'gmPwe':_0x286c54(0x1aa),'YxGgU':_0x286c54(0x161),'mhZqD':_0x286c54(0x15e),'CFKdq':_0x286c54(0x17b)};new Promise(async _0x3893de=>{const _0xab8c0c=_0x286c54,_0x110867='browserstack internal helper hook';let _0x3e5c31=!![];try{_0x3fb0e8[_0xab8c0c(0x17d)](global[_0xab8c0c(0x18c)][_0xab8c0c(0x1bf)],0x1)&&(await global['driverCleanup'](),global[_0xab8c0c(0x18c)][_0xab8c0c(0x1c1)]()),_0x3fb0e8[_0xab8c0c(0x17d)](global[_0xab8c0c(0x18c)][0x0][_0xab8c0c(0x184)],0x0)&&(_0x3e5c31=![],await global[_0xab8c0c(0x19b)]());}catch{}try{Array['isArray'](global[_0xab8c0c(0x18c)])&&global[_0xab8c0c(0x18c)][0x0]&&(global[_0xab8c0c(0x18c)][0x0]['browserstackSessionName']=this[_0xab8c0c(0x1ca)][_0xab8c0c(0x185)]()[_0xab8c0c(0x1cd)](_0x3fb0e8[_0xab8c0c(0x17a)])),global[_0xab8c0c(0x1a4)]=this[_0xab8c0c(0x1ca)][_0xab8c0c(0x185)]()[_0xab8c0c(0x1cd)](_0x3fb0e8[_0xab8c0c(0x17a)]);}catch(_0x37d0b3){logger[_0xab8c0c(0x163)](_0xab8c0c(0x1b0)+_0x37d0b3);}this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]=_0x3fb0e8[_0xab8c0c(0x1ab)](shouldScanTestForAccessibility,this[_0xab8c0c(0x1ca)]['titlePath'](),!![]),globals['setGlobal'](_0x3fb0e8['zWJZw'],this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]),this[_0xab8c0c(0x1ca)]['accessibilityScanStarted']=!![];if(_0x3fb0e8['lNCkE'](isAccessibilityAutomationSession)&&_0x3e5c31&&Array[_0xab8c0c(0x1c8)](global[_0xab8c0c(0x18c)])&&_0x3fb0e8[_0xab8c0c(0x17d)](global[_0xab8c0c(0x18c)][_0xab8c0c(0x1bf)],0x0)&&globals[_0xab8c0c(0x167)](_0x3fb0e8[_0xab8c0c(0x195)]))try{const _0x13d9d7=await global['__drivers'][0x0][_0xab8c0c(0x190)];if(_0x13d9d7){let _0x1a42cc=!![];const _0x234c4b=await global[_0xab8c0c(0x18c)][0x0]['getCurrentUrl']();let _0x142fe0;try{_0x142fe0=new URL(_0x234c4b);}catch(_0x56acd3){_0x1a42cc=![];}_0x1a42cc=_0x3fb0e8[_0xab8c0c(0x171)](_0x142fe0[_0xab8c0c(0x169)],_0x3fb0e8['gmPwe'])||_0x3fb0e8[_0xab8c0c(0x171)](_0x142fe0['protocol'],_0x3fb0e8['YxGgU']),_0x1a42cc&&(this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]&&logger[_0xab8c0c(0x170)](_0x3fb0e8[_0xab8c0c(0x1b6)])),this[_0xab8c0c(0x1ca)][_0xab8c0c(0x182)]=this['currentTest'][_0xab8c0c(0x1ac)],this[_0xab8c0c(0x1ca)][_0xab8c0c(0x1ac)]&&logger[_0xab8c0c(0x170)](_0x3fb0e8[_0xab8c0c(0x1b2)]);}}catch(_0x15a7f7){logger[_0xab8c0c(0x158)](_0xab8c0c(0x156)+util[_0xab8c0c(0x159)](_0x15a7f7));}_0x3fb0e8['lNCkE'](_0x3893de);})[_0x286c54(0x1bc)](_0x51ee8e);},'afterEach'(_0x544453){const _0x4ef9b7=a32_0x7f0119,_0x4e6922={'HcXfb':function(_0x1910e1,_0x45b969){return _0x1910e1>_0x45b969;},'nYiHR':function(_0x1566c8,_0xe564fa){return _0x1566c8===_0xe564fa;},'Peypk':_0x4ef9b7(0x199),'uqtVn':function(_0xa946f3,_0xed98d6){return _0xa946f3>_0xed98d6;},'Brehx':_0x4ef9b7(0x181),'dFcPp':function(_0x237081,_0x78b471,_0x2cc4d8,_0x5b1e57){return _0x237081(_0x78b471,_0x2cc4d8,_0x5b1e57);},'PLErx':_0x4ef9b7(0x179),'QyvgH':function(_0x659cd5,_0x4ce52f){return _0x659cd5!==_0x4ce52f;},'GrDmR':_0x4ef9b7(0x173),'nZYfo':function(_0x42d9b6,_0x4db9e2,_0x341d5d){return _0x42d9b6(_0x4db9e2,_0x341d5d);},'bVomh':function(_0x2fcd7b,_0x4ec53a){return _0x2fcd7b+_0x4ec53a;},'sWyYr':_0x4ef9b7(0x19d),'hcfAY':_0x4ef9b7(0x158),'wvmzl':_0x4ef9b7(0x189),'AabvT':_0x4ef9b7(0x170),'dGyGX':_0x4ef9b7(0x17c),'dElpz':_0x4ef9b7(0x16a),'jVoXH':_0x4ef9b7(0x1c5),'hbgJJ':_0x4ef9b7(0x162),'bIGjn':_0x4ef9b7(0x191),'aBmCY':function(_0x3b1426){return _0x3b1426();},'MZGgc':function(_0xe49488,_0x5a579e,_0xad70ec){return _0xe49488(_0x5a579e,_0xad70ec);},'JhBTF':function(_0x4c0d56){return _0x4c0d56();},'LYINw':function(_0x443cd7,_0x389a5f,_0xaa95e){return _0x443cd7(_0x389a5f,_0xaa95e);},'ABWkI':_0x4ef9b7(0x163)},_0x475531='browserstack internal helper hook';this[_0x4ef9b7(0x1af)](0xfde8);const _0x58f167=async(_0xc4ed34,_0x3eb4ea)=>{const _0xd6cb89=_0x4ef9b7;await global[_0xd6cb89(0x18c)][0x0][_0xd6cb89(0x1c0)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xc4ed34+',\x22level\x22:\x20\x22'+_0x3eb4ea+_0xd6cb89(0x153));};new Promise(async _0xd7c1f3=>{const _0x470cec=_0x4ef9b7;try{_0x4e6922['HcXfb'](global[_0x470cec(0x18c)][_0x470cec(0x1bf)],0x1)&&(await global[_0x470cec(0x19b)](),global[_0x470cec(0x18c)][_0x470cec(0x1c1)](),global[_0x470cec(0x19e)]=[],global[_0x470cec(0x1ad)]=![]);try{if(global[_0x470cec(0x19f)]&&_0x4e6922[_0x470cec(0x18f)](global['percyCaptureMode'],_0x4e6922[_0x470cec(0x1a5)])&&global[_0x470cec(0x18c)][0x0]){const _0x3de91e=_0x4e6922[_0x470cec(0x1a0)](global['capabilities'][_0x470cec(0x1bf)],0x0)?!!global[_0x470cec(0x1ba)][0x0][_0x470cec(0x1b1)]||!!global['capabilities'][0x0][_0x4e6922[_0x470cec(0x160)]]:![],_0x256416={};_0x256416[_0x470cec(0x1b1)]=_0x3de91e,await _0x4e6922[_0x470cec(0x1a3)](percyAutoCapture,global[_0x470cec(0x18c)][0x0],_0x4e6922[_0x470cec(0x1a5)],_0x256416);}}catch(_0x265e23){}!global[_0x470cec(0x1bd)]&&(await global[_0x470cec(0x18c)][0x0][_0x470cec(0x1c0)](_0x470cec(0x164)+JSON['stringify'](this[_0x470cec(0x1ca)][_0x470cec(0x185)]()['join'](_0x4e6922[_0x470cec(0x1b4)]))+'}}'),global['__drivers'][0x0]['sessionNameSet__']=!![]);const _0x20c5f6=_0x4e6922[_0x470cec(0x15b)](this[_0x470cec(0x1ca)][_0x470cec(0x174)],_0x4e6922[_0x470cec(0x1a7)]);_0x20c5f6?(global[_0x470cec(0x1ad)]=!![],global['__error_messages__'][_0x470cec(0x198)](this[_0x470cec(0x1ca)][_0x470cec(0x187)][_0x470cec(0x197)]),await _0x4e6922['nZYfo'](_0x58f167,JSON[_0x470cec(0x193)](_0x4e6922[_0x470cec(0x1a6)](_0x4e6922[_0x470cec(0x1c4)],this['currentTest'][_0x470cec(0x187)][_0x470cec(0x197)])),_0x4e6922['hcfAY'])):await _0x4e6922['nZYfo'](_0x58f167,JSON[_0x470cec(0x193)](_0x4e6922[_0x470cec(0x16e)]),_0x4e6922['AabvT']);}catch(_0x4de7bb){}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x470cec(0x167)](_0x4e6922[_0x470cec(0x1c3)])&&globals['getGlobal'](_0x4e6922[_0x470cec(0x194)])){logger[_0x470cec(0x170)](_0x4e6922[_0x470cec(0x17f)]);const _0x172b8f={};_0x172b8f[_0x470cec(0x176)]=this[_0x470cec(0x1ca)]['testAnalyticsId'],_0x172b8f[_0x470cec(0x168)]=process[_0x470cec(0x1ae)][testHubConstants[_0x470cec(0x157)][_0x470cec(0x19c)]],_0x172b8f[_0x470cec(0x15c)]=process[_0x470cec(0x1ae)][testHubConstants[_0x470cec(0x157)]['BROWSERSTACK_TESTHUB_JWT']];const _0x14f1fe=_0x172b8f;logger['debug'](_0x470cec(0x152)+JSON[_0x470cec(0x193)](_0x14f1fe)),logger['debug'](_0x4e6922[_0x470cec(0x154)]),logger[_0x470cec(0x163)](util[_0x470cec(0x159)](await global[_0x470cec(0x18c)][0x0][_0x470cec(0x1c9)](scripts[_0x470cec(0x18a)],{'method':global[_0x470cec(0x1a4)]}))),await global['__drivers'][0x0][_0x470cec(0x1c9)](scripts[_0x470cec(0x151)],_0x14f1fe),logger[_0x470cec(0x170)](_0x4e6922[_0x470cec(0x18e)]);}}catch(_0x3a2e81){logger[_0x470cec(0x158)](_0x470cec(0x1c2)+this[_0x470cec(0x1ca)]['titlePath']()+_0x470cec(0x1a9),_0x3a2e81);}try{try{if(_0x4e6922['aBmCY'](shouldProcessEventForTesthub)){global[_0x470cec(0x18c)][0x0]&&await _0x4e6922[_0x470cec(0x1cc)](sendPlatformDetails,global[_0x470cec(0x18c)][0x0],this['currentTest']?this[_0x470cec(0x1ca)]['testAnalyticsId']:null);if(_0x4e6922[_0x470cec(0x19a)](isBrowserstackInfra)){const _0xe2a48a='ObservabilitySync:'+Date[_0x470cec(0x1c7)]();await _0x4e6922['LYINw'](_0x58f167,JSON[_0x470cec(0x193)](_0xe2a48a),_0x4e6922[_0x470cec(0x1a1)]);}}}catch{}_0x4e6922[_0x470cec(0x175)](global[_0x470cec(0x18c)][0x0][_0x470cec(0x184)],0x0)&&await global[_0x470cec(0x19b)]();}catch(_0x23080e){}_0x4e6922[_0x470cec(0x19a)](_0xd7c1f3);})[_0x4ef9b7(0x1bc)](()=>_0x544453());},'afterAll'(_0x603cb8){const _0x5bbe64=a32_0x7f0119,_0x3a7bd4={'EurcT':function(_0x448726){return _0x448726();}},_0x1e4432='browserstack internal helper hook';this[_0x5bbe64(0x1af)](0xfde8),new Promise(async _0x2e0d5c=>{const _0x44ade2=_0x5bbe64;PerformanceTester[_0x44ade2(0x177)](),await global[_0x44ade2(0x19b)](),_0x3a7bd4[_0x44ade2(0x188)](_0x2e0d5c);})[_0x5bbe64(0x1bc)](()=>_0x603cb8());}};
1
+ const a32_0x4a8737=a32_0x17da;function a32_0x50dc(){const _0x2ea7e4=['currentTest','testcase','dWoKd','executeAsyncScript','HqhHi','OKvXm','../../helpers/accessibility-automation/helper','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','jaABw','3102232kbAphf','isArray','timeout','yLLjn','856134CYoRHI','quitCount_','TjoQo','env','\x20-\x20','15eaKOCW','IHQVf','shift','rqelr','winstonLogger','sessionNameSet__','protocol','CFXEM','VQPYW','thTestRunUuid','WzhCK','capabilities','73176mnTSQx','format','../../helpers/logger','initQuit','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','__error_messages__','../../helpers/performance-tester','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','error','4266153VkkZMQ','err','debug','Popnr','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','browserstackSessionName','getGlobal','svDBu','util','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/testhub/utils','cLqGU','qciwi','__drivers','../../helpers/globals','Mnxxq','then','testAnalyticsId','lEYeq','20KaxJZY','failed','../../helpers/testhub/constants','../../helpers/helper','dlkEP','1551GWbvTK','message','http:','zTwUu','driverCleanup','AuoNO','accessibilityScanStarted','percyCaptureMode','VcGcg','__skipSessionName','join','push','appium:app','__sessionFailed','bstackA11yShouldScan','iQcdO','app','info','LOCfd','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','RClta','stringify','../../helpers/accessibility-automation/scripts','startMonitoring','setGlobal',',\x22level\x22:\x20\x22','isAccessibilityPlatform','ObservabilitySync:','length','2TmFTrq','ENV_VAR','bJcnU','10yxrFkT','XMCIX','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','performScan','BROWSERSTACK_TESTHUB_UUID','Failed:\x20','state','PWDgL','\x22}}','shouldScanTestForAccessibility','UDHfg','Failed\x20to\x20store\x20session\x20name:\x20','114085BLDIXA','../../helpers/percy/utils','session_','./test-observability/mochaUtils','KDeXk','176043tSEYDo','rSMTB','\x20|\x20','BROWSERSTACK_TESTHUB_JWT','thJwtToken','HczdS','titlePath','144067Djgiwy','passed','SHeof','percy','yhFnR','VSxRs','Performing\x20scan\x20before\x20saving\x20results','JjcDH','Gzaul'];a32_0x50dc=function(){return _0x2ea7e4;};return a32_0x50dc();}(function(_0x5ce09f,_0x3263e7){const _0x482ead=a32_0x17da,_0x48aeb5=_0x5ce09f();while(!![]){try{const _0x4e87dc=parseInt(_0x482ead(0x1e5))/0x1*(parseInt(_0x482ead(0x1d6))/0x2)+parseInt(_0x482ead(0x1ea))/0x3*(-parseInt(_0x482ead(0x1b4))/0x4)+parseInt(_0x482ead(0x20c))/0x5*(-parseInt(_0x482ead(0x207))/0x6)+parseInt(_0x482ead(0x1f1))/0x7+-parseInt(_0x482ead(0x203))/0x8+-parseInt(_0x482ead(0x1a1))/0x9*(-parseInt(_0x482ead(0x1d9))/0xa)+-parseInt(_0x482ead(0x1b9))/0xb*(-parseInt(_0x482ead(0x198))/0xc);if(_0x4e87dc===_0x3263e7)break;else _0x48aeb5['push'](_0x48aeb5['shift']());}catch(_0x4e2f65){_0x48aeb5['push'](_0x48aeb5['shift']());}}}(a32_0x50dc,0x57b52));const util=require(a32_0x4a8737(0x1a9)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x4a8737(0x200)),{percyAutoCapture}=require(a32_0x4a8737(0x1e6)),{sendPlatformDetails}=require(a32_0x4a8737(0x1e8)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x4a8737(0x1b7)),PerformanceTester=require(a32_0x4a8737(0x19e)),scripts=require(a32_0x4a8737(0x1cf)),globals=require(a32_0x4a8737(0x1af)),logger=require(a32_0x4a8737(0x19a))[a32_0x4a8737(0x210)],{shouldProcessEventForTesthub}=require(a32_0x4a8737(0x1ab)),testHubConstants=require(a32_0x4a8737(0x1b6));function a32_0x17da(_0x3e5203,_0x422d5c){const _0x50dc01=a32_0x50dc();return a32_0x17da=function(_0x17da47,_0x289568){_0x17da47=_0x17da47-0x198;let _0x5a5670=_0x50dc01[_0x17da47];return _0x5a5670;},a32_0x17da(_0x3e5203,_0x422d5c);}exports['mochaHooks']={'beforeAll'(){const _0x3bf335=a32_0x4a8737,_0x21fb63={'Gzaul':function(_0x2d399a,_0xe383f1,_0x286ae3,_0x29e83d){return _0x2d399a(_0xe383f1,_0x286ae3,_0x29e83d);},'dPmzy':_0x3bf335(0x1b5),'RClta':_0x3bf335(0x1ec),'qciwi':function(_0xfdc7a9,_0x1910a3,_0x561286){return _0xfdc7a9(_0x1910a3,_0x561286);},'PWDgL':_0x3bf335(0x1f2),'TKIkx':function(_0x3e23be){return _0x3e23be();}};PerformanceTester[_0x3bf335(0x1d0)]();const _0x562d67='browserstack internal helper hook';global[_0x3bf335(0x19d)]=[],global[_0x3bf335(0x1c6)]=![],global[_0x3bf335(0x1bd)]=async()=>{const _0x54b296=_0x3bf335;let _0x22b031=![];try{await global[_0x54b296(0x1ae)][0x0][_0x54b296(0x1e7)],_0x22b031=!![],global[_0x54b296(0x1c6)]?await _0x21fb63[_0x54b296(0x1f9)](markSessionStatus,global[_0x54b296(0x1ae)][0x0],_0x21fb63['dPmzy'],global[_0x54b296(0x19d)]['join'](_0x21fb63[_0x54b296(0x1cd)])):await _0x21fb63[_0x54b296(0x1ad)](markSessionStatus,global[_0x54b296(0x1ae)][0x0],_0x21fb63[_0x54b296(0x1e0)]);}catch(_0x41f82c){}global[_0x54b296(0x19d)]=[],global[_0x54b296(0x1c6)]=![];if(_0x22b031)try{try{_0x21fb63['TKIkx'](shouldProcessEventForTesthub)&&(global[_0x54b296(0x1ae)][0x0]&&await _0x21fb63[_0x54b296(0x1ad)](sendPlatformDetails,global[_0x54b296(0x1ae)][0x0],this['currentTest']?this['currentTest']['testAnalyticsId']:null));}catch{}await global[_0x54b296(0x1ae)][0x0][_0x54b296(0x19b)]();}catch(_0x4b0a4a){}};},'beforeEach'(_0x46a1f0){const _0x357ffd=a32_0x4a8737,_0x308651={'iQcdO':function(_0x5f0aa2,_0x5efbf3){return _0x5f0aa2>_0x5efbf3;},'lEYeq':function(_0x478292,_0x2a9cc5){return _0x478292>_0x2a9cc5;},'VSxRs':_0x357ffd(0x20b),'UAhRF':function(_0x43a03b,_0x447afa,_0x284dba){return _0x43a03b(_0x447afa,_0x284dba);},'UDHfg':_0x357ffd(0x1c7),'yhFnR':function(_0x193875){return _0x193875();},'LOCfd':function(_0xd8c6f3,_0x2fc5c5){return _0xd8c6f3>_0x2fc5c5;},'dWoKd':_0x357ffd(0x1d3),'cLqGU':function(_0x244979,_0x1c0475){return _0x244979===_0x1c0475;},'VcGcg':_0x357ffd(0x1bb),'XMCIX':function(_0x53de04,_0x38806b){return _0x53de04===_0x38806b;},'AuoNO':'https:','bJcnU':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KDeXk':_0x357ffd(0x1aa)};new Promise(async _0x58330d=>{const _0x3f5843=_0x357ffd,_0x41e14f='browserstack internal helper hook';let _0x410119=!![];try{_0x308651[_0x3f5843(0x1c8)](global[_0x3f5843(0x1ae)][_0x3f5843(0x1d5)],0x1)&&(await global['driverCleanup'](),global[_0x3f5843(0x1ae)][_0x3f5843(0x20e)]()),_0x308651[_0x3f5843(0x1b3)](global[_0x3f5843(0x1ae)][0x0][_0x3f5843(0x208)],0x0)&&(_0x410119=![],await global[_0x3f5843(0x1bd)]());}catch{}try{Array[_0x3f5843(0x204)](global[_0x3f5843(0x1ae)])&&global['__drivers'][0x0]&&(global[_0x3f5843(0x1ae)][0x0][_0x3f5843(0x1a6)]=this['currentTest'][_0x3f5843(0x1f0)]()[_0x3f5843(0x1c3)](_0x308651[_0x3f5843(0x1f6)])),global['browserstackSessionName']=this[_0x3f5843(0x1fa)][_0x3f5843(0x1f0)]()[_0x3f5843(0x1c3)](_0x308651[_0x3f5843(0x1f6)]);}catch(_0x456c88){logger[_0x3f5843(0x1a3)](_0x3f5843(0x1e4)+_0x456c88);}this[_0x3f5843(0x1fa)]['shouldScanTestForAccessibility']=_0x308651['UAhRF'](shouldScanTestForAccessibility,this[_0x3f5843(0x1fa)]['titlePath'](),!![]),globals[_0x3f5843(0x1d1)](_0x308651[_0x3f5843(0x1e3)],this[_0x3f5843(0x1fa)][_0x3f5843(0x1e2)]),this[_0x3f5843(0x1fa)][_0x3f5843(0x1bf)]=!![];if(_0x308651[_0x3f5843(0x1f5)](isAccessibilityAutomationSession)&&_0x410119&&Array['isArray'](global[_0x3f5843(0x1ae)])&&_0x308651[_0x3f5843(0x1cb)](global[_0x3f5843(0x1ae)][_0x3f5843(0x1d5)],0x0)&&globals[_0x3f5843(0x1a7)](_0x308651[_0x3f5843(0x1fc)]))try{const _0x1941d9=await global[_0x3f5843(0x1ae)][0x0][_0x3f5843(0x1e7)];if(_0x1941d9){let _0x1955dc=!![];const _0x31371c=await global[_0x3f5843(0x1ae)][0x0]['getCurrentUrl']();let _0x2c1d22;try{_0x2c1d22=new URL(_0x31371c);}catch(_0x31fbe){_0x1955dc=![];}_0x1955dc=_0x308651[_0x3f5843(0x1ac)](_0x2c1d22[_0x3f5843(0x212)],_0x308651[_0x3f5843(0x1c1)])||_0x308651[_0x3f5843(0x1da)](_0x2c1d22[_0x3f5843(0x212)],_0x308651[_0x3f5843(0x1be)]),_0x1955dc&&(this[_0x3f5843(0x1fa)][_0x3f5843(0x1e2)]&&logger[_0x3f5843(0x1ca)](_0x308651[_0x3f5843(0x1d8)])),this[_0x3f5843(0x1fa)][_0x3f5843(0x1bf)]=this[_0x3f5843(0x1fa)][_0x3f5843(0x1e2)],this[_0x3f5843(0x1fa)][_0x3f5843(0x1e2)]&&logger[_0x3f5843(0x1ca)](_0x308651[_0x3f5843(0x1e9)]);}}catch(_0x2a5d43){logger[_0x3f5843(0x1a0)](_0x3f5843(0x201)+util[_0x3f5843(0x199)](_0x2a5d43));}_0x308651[_0x3f5843(0x1f5)](_0x58330d);})[_0x357ffd(0x1b1)](_0x46a1f0);},'afterEach'(_0x35d7bd){const _0x200a57=a32_0x4a8737,_0x58ab15={'HczdS':function(_0x15946a,_0x83564f){return _0x15946a>_0x83564f;},'OHDAh':function(_0x1fdbab,_0x11d5e2){return _0x1fdbab===_0x11d5e2;},'WzhCK':_0x200a57(0x1fb),'Mnxxq':_0x200a57(0x1c5),'VQPYW':function(_0x35ddf5,_0x527776,_0x1c7ca5,_0x4cfe6c){return _0x35ddf5(_0x527776,_0x1c7ca5,_0x4cfe6c);},'TjoQo':'\x20-\x20','CFXEM':function(_0x987eb3,_0x16f080){return _0x987eb3!==_0x16f080;},'gHnFr':_0x200a57(0x1f2),'zTwUu':function(_0xc43afb,_0x35f8f4,_0x3e5de1){return _0xc43afb(_0x35f8f4,_0x3e5de1);},'jaABw':function(_0x1223e4,_0x248c90){return _0x1223e4+_0x248c90;},'IHQVf':_0x200a57(0x1de),'PPPwG':_0x200a57(0x1a0),'OKvXm':function(_0x2f1e60,_0x11c07b,_0x1dbc10){return _0x2f1e60(_0x11c07b,_0x1dbc10);},'dlkEP':'Passed','SHeof':_0x200a57(0x1ca),'svDBu':'isAccessibilityPlatform','rSMTB':_0x200a57(0x1c7),'pEIur':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','uWqHh':_0x200a57(0x1f7),'JjcDH':_0x200a57(0x1db),'gPgOa':function(_0x46cad5){return _0x46cad5();},'yLLjn':function(_0x14cc8b){return _0x14cc8b();},'Popnr':_0x200a57(0x1a3),'VsdBD':function(_0x4f6d2f,_0x87a3f6){return _0x4f6d2f>_0x87a3f6;},'rqelr':function(_0x4d69e6){return _0x4d69e6();}},_0x294548='browserstack internal helper hook';this['timeout'](0xfde8);const _0x3cd822=async(_0x432425,_0xa76f26)=>{const _0x57795c=_0x200a57;await global[_0x57795c(0x1ae)][0x0]['executeScript'](_0x57795c(0x19f)+_0x432425+_0x57795c(0x1d2)+_0xa76f26+_0x57795c(0x1e1));};new Promise(async _0x145cfc=>{const _0x165715=_0x200a57;try{_0x58ab15['HczdS'](global[_0x165715(0x1ae)]['length'],0x1)&&(await global[_0x165715(0x1bd)](),global[_0x165715(0x1ae)][_0x165715(0x20e)](),global['__error_messages__']=[],global[_0x165715(0x1c6)]=![]);try{if(global[_0x165715(0x1f4)]&&_0x58ab15['OHDAh'](global[_0x165715(0x1c0)],_0x58ab15['WzhCK'])&&global['__drivers'][0x0]){const _0x4e9675=_0x58ab15[_0x165715(0x1ef)](global['capabilities']['length'],0x0)?!!global[_0x165715(0x217)][0x0][_0x165715(0x1c9)]||!!global[_0x165715(0x217)][0x0][_0x58ab15[_0x165715(0x1b0)]]:![],_0x528928={};_0x528928[_0x165715(0x1c9)]=_0x4e9675,await _0x58ab15[_0x165715(0x214)](percyAutoCapture,global[_0x165715(0x1ae)][0x0],_0x58ab15[_0x165715(0x216)],_0x528928);}}catch(_0x57602a){}!global[_0x165715(0x1c2)]&&(await global[_0x165715(0x1ae)][0x0]['executeScript'](_0x165715(0x19c)+JSON[_0x165715(0x1ce)](this[_0x165715(0x1fa)][_0x165715(0x1f0)]()['join'](_0x58ab15[_0x165715(0x209)]))+'}}'),global[_0x165715(0x1ae)][0x0][_0x165715(0x211)]=!![]);const _0x3ed96a=_0x58ab15[_0x165715(0x213)](this[_0x165715(0x1fa)][_0x165715(0x1df)],_0x58ab15['gHnFr']);_0x3ed96a?(global[_0x165715(0x1c6)]=!![],global[_0x165715(0x19d)][_0x165715(0x1c4)](this[_0x165715(0x1fa)][_0x165715(0x1a2)][_0x165715(0x1ba)]),await _0x58ab15[_0x165715(0x1bc)](_0x3cd822,JSON[_0x165715(0x1ce)](_0x58ab15[_0x165715(0x202)](_0x58ab15[_0x165715(0x20d)],this['currentTest']['err'][_0x165715(0x1ba)])),_0x58ab15['PPPwG'])):await _0x58ab15[_0x165715(0x1ff)](_0x3cd822,JSON['stringify'](_0x58ab15[_0x165715(0x1b8)]),_0x58ab15[_0x165715(0x1f3)]);}catch(_0x4188d6){}try{if(this['currentTest'][_0x165715(0x1bf)]&&globals['getGlobal'](_0x58ab15[_0x165715(0x1a8)])&&globals['getGlobal'](_0x58ab15[_0x165715(0x1eb)])){logger[_0x165715(0x1ca)](_0x58ab15['pEIur']);const _0x39bb18={};_0x39bb18[_0x165715(0x215)]=this['currentTest'][_0x165715(0x1b2)],_0x39bb18['thBuildUuid']=process['env'][testHubConstants[_0x165715(0x1d7)][_0x165715(0x1dd)]],_0x39bb18[_0x165715(0x1ee)]=process[_0x165715(0x20a)][testHubConstants[_0x165715(0x1d7)][_0x165715(0x1ed)]];const _0x75171=_0x39bb18;logger[_0x165715(0x1a3)](_0x165715(0x1a5)+JSON[_0x165715(0x1ce)](_0x75171)),logger['debug'](_0x58ab15['uWqHh']),logger['debug'](util[_0x165715(0x199)](await global[_0x165715(0x1ae)][0x0][_0x165715(0x1fd)](scripts[_0x165715(0x1dc)],{'method':global[_0x165715(0x1a6)]}))),await global[_0x165715(0x1ae)][0x0][_0x165715(0x1fd)](scripts['saveTestResults'],_0x75171),logger[_0x165715(0x1ca)](_0x58ab15[_0x165715(0x1f8)]);}}catch(_0x5cbefd){logger[_0x165715(0x1a0)](_0x165715(0x1cc)+this[_0x165715(0x1fa)][_0x165715(0x1f0)]()+'.\x20Error\x20:',_0x5cbefd);}try{try{if(_0x58ab15['gPgOa'](shouldProcessEventForTesthub)){global[_0x165715(0x1ae)][0x0]&&await _0x58ab15['zTwUu'](sendPlatformDetails,global[_0x165715(0x1ae)][0x0],this[_0x165715(0x1fa)]?this[_0x165715(0x1fa)][_0x165715(0x1b2)]:null);if(_0x58ab15[_0x165715(0x206)](isBrowserstackInfra)){const _0x5076b4=_0x165715(0x1d4)+Date['now']();await _0x58ab15['zTwUu'](_0x3cd822,JSON[_0x165715(0x1ce)](_0x5076b4),_0x58ab15[_0x165715(0x1a4)]);}}}catch{}_0x58ab15['VsdBD'](global['__drivers'][0x0][_0x165715(0x208)],0x0)&&await global[_0x165715(0x1bd)]();}catch(_0x508dbe){}_0x58ab15[_0x165715(0x20f)](_0x145cfc);})[_0x200a57(0x1b1)](()=>_0x35d7bd());},'afterAll'(_0x5edf77){const _0x5ab967=a32_0x4a8737,_0x319221={'HqhHi':function(_0x1043be){return _0x1043be();}},_0xad9790='browserstack internal helper hook';this[_0x5ab967(0x205)](0xfde8),new Promise(async _0x189205=>{const _0x56a33d=_0x5ab967;PerformanceTester['stopMonitoring'](),await global[_0x56a33d(0x1bd)](),_0x319221[_0x56a33d(0x1fe)](_0x189205);})['then'](()=>_0x5edf77());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x2642(_0x4ef530,_0x2970b5){const _0xfd7d09=a33_0xfd7d();return a33_0x2642=function(_0x26424f,_0x341eab){_0x26424f=_0x26424f-0x6f;let _0x1ebb90=_0xfd7d09[_0x26424f];return _0x1ebb90;},a33_0x2642(_0x4ef530,_0x2970b5);}const a33_0x31a796=a33_0x2642;(function(_0x309cbd,_0x57e1c2){const _0x133be3=a33_0x2642,_0x11d677=_0x309cbd();while(!![]){try{const _0x1414b0=parseInt(_0x133be3(0x9a))/0x1*(-parseInt(_0x133be3(0xaa))/0x2)+parseInt(_0x133be3(0x7a))/0x3*(parseInt(_0x133be3(0x94))/0x4)+parseInt(_0x133be3(0x85))/0x5*(-parseInt(_0x133be3(0x96))/0x6)+parseInt(_0x133be3(0x99))/0x7*(parseInt(_0x133be3(0xb3))/0x8)+parseInt(_0x133be3(0x70))/0x9+-parseInt(_0x133be3(0xa9))/0xa*(-parseInt(_0x133be3(0x93))/0xb)+-parseInt(_0x133be3(0x9f))/0xc*(-parseInt(_0x133be3(0x9e))/0xd);if(_0x1414b0===_0x57e1c2)break;else _0x11d677['push'](_0x11d677['shift']());}catch(_0x3915cf){_0x11d677['push'](_0x11d677['shift']());}}}(a33_0xfd7d,0x95da0));function a33_0xfd7d(){const _0x372a38=['winstonLogger','--env','cwd','useW3C','../../helpers/logger','splice','close','ftsTC','9396610UdhUYc','1127896UuMUgV','GxHxL','Lgiyr','path','getPlatformName','length','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','trim','mergeDeep','198168zFkZcJ','debug','start_process','existsSync','platforms','inherit','isUndefined','stringify','writeFileSync','9774027RicvWU','hub.browserstack.com','host','config','now','../../helpers/BrowserStackSetup','ukSLR','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','lzpuU','test_settings','245859AdTAGn','../../helpers/helper','platform','WLDCZ','join','env','otEXa','push','--config','fuJuU','JFpsy','2814710GdxQbs','exports','Getting\x20your\x20nightwatch\x20configs\x20from\x20','nightwatch-browserstack.json','modifyBrowserStackCaps','YWRgi','nJWEh','LDiqF','aRWRX','filter','test','DAaob','unlinkSync','modifyBrowserStackW3CCaps','11ipEfLD','20VYOaxw','fLGKy','12AoXuDh','info','webdriver','119MZfMko','2lZZGfU','findIndex','forEach','selenium','143468RnYNBA','12OsDukc','desiredCapabilities'];a33_0xfd7d=function(){return _0x372a38;};return a33_0xfd7d();}const fs=require('fs'),path=require(a33_0x31a796(0xad)),{spawn}=require('child_process'),logger=require(a33_0x31a796(0xa5))[a33_0x31a796(0xa1)],{default:BrowserStackSetup}=require(a33_0x31a796(0x75)),helper=require(a33_0x31a796(0x7b)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x583b45,_0x578c45)=>{const _0x33a477=a33_0x31a796,_0x2c29fb={'WLDCZ':'nightwatch.conf.js','aRWRX':'nightwatch.json','nJWEh':function(_0x91ceb8,_0x5d3f40){return _0x91ceb8(_0x5d3f40);},'otEXa':_0x33a477(0xb0)};let _0x2eba76=null,_0x5b81db={};const _0x55acad=_0x578c45[_0x33a477(0x9b)](_0x1d2a14=>_0x1d2a14===_0x33a477(0x82));if(!helper[_0x33a477(0xb9)](_0x583b45[_0x33a477(0x73)])&&fs[_0x33a477(0xb6)](path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x583b45[_0x33a477(0x73)])))_0x2eba76=path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x583b45['config']),_0x578c45[_0x33a477(0xa6)](_0x55acad,0x2);else{if(fs[_0x33a477(0xb6)](path[_0x33a477(0x7e)](process['cwd'](),_0x2c29fb[_0x33a477(0x7d)])))_0x2eba76=path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x2c29fb[_0x33a477(0x7d)]);else fs[_0x33a477(0xb6)](path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x2c29fb[_0x33a477(0x8d)]))&&(_0x2eba76=path[_0x33a477(0x7e)](process[_0x33a477(0xa3)](),_0x2c29fb[_0x33a477(0x8d)]));}return _0x2eba76?(logger[_0x33a477(0x97)](_0x33a477(0x87)+_0x2eba76),_0x5b81db=_0x2c29fb[_0x33a477(0x8b)](require,_0x2eba76)):logger[_0x33a477(0x97)](_0x2c29fb[_0x33a477(0x80)]),_0x5b81db;},removeExistingEnvs=_0x1a6a4b=>{const _0x480c95=a33_0x31a796,_0x9b8a01={};_0x9b8a01[_0x480c95(0x90)]=function(_0x13db62,_0x2363a1){return _0x13db62>_0x2363a1;};const _0x3aaa73=_0x9b8a01;let _0x23f5b4=_0x1a6a4b[_0x480c95(0x9b)](_0x50b160=>_0x50b160==='--env');_0x3aaa73[_0x480c95(0x90)](_0x23f5b4,-0x1)&&_0x1a6a4b[_0x480c95(0xa6)](_0x23f5b4,0x2),_0x23f5b4=_0x1a6a4b[_0x480c95(0x9b)](_0x359ab2=>_0x359ab2==='-e'),_0x3aaa73[_0x480c95(0x90)](_0x23f5b4,-0x1)&&_0x1a6a4b[_0x480c95(0xa6)](_0x23f5b4,0x2);};function run(_0xf018ee,_0x5de62a){const _0x3ae176=a33_0x31a796,_0x24f343={'ukSLR':'nightwatch','JFpsy':function(_0x3c1de1,_0x315e65){return _0x3c1de1+_0x315e65;},'fuJuU':_0x3ae176(0x79),'LDiqF':function(_0x39ae64,_0x184ceb,_0x2ec229){return _0x39ae64(_0x184ceb,_0x2ec229);},'fJcti':_0x3ae176(0x71),'kyrYV':_0x3ae176(0x77),'iwOHM':function(_0x1309b4,_0x2a522a){return _0x1309b4===_0x2a522a;},'MMFSN':_0x3ae176(0x88),'YWRgi':function(_0x4519e1,_0x35ff0f){return _0x4519e1(_0x35ff0f);},'fLGKy':function(_0x5ba0a3,_0x1f460f,_0x6da407,_0x311850){return _0x5ba0a3(_0x1f460f,_0x6da407,_0x311850);},'Lgiyr':'nightwatch.cmd','GxHxL':_0x3ae176(0x82),'ftsTC':_0x3ae176(0xa2),'lzpuU':_0x3ae176(0xb8),'JyxGU':_0x3ae176(0xa7)},_0x500bfe=new BrowserStackSetup(_0xf018ee);if(!_0x500bfe[_0x3ae176(0x73)])return;const _0x5eb9dc=_0x24f343[_0x3ae176(0x8c)](getUserNightwatchConfigs,_0xf018ee,_0x5de62a),_0x342066={};_0x342066[_0x3ae176(0xb5)]=![];const _0x130360={};_0x130360[_0x3ae176(0x72)]=_0x24f343['fJcti'],_0x130360['port']=0x1bb;const _0x3ff6fc={};_0x3ff6fc[_0x3ae176(0x98)]=_0x342066,_0x3ff6fc[_0x3ae176(0x9d)]=_0x130360;const _0x3b751e=_0x3ff6fc;logger[_0x3ae176(0x97)](_0x24f343['kyrYV']);const _0x2c4e1d={..._0x5eb9dc},_0x3f8da1=_0x2c4e1d,_0x24e2ad=helper[_0x3ae176(0xa4)](_0x500bfe['config']),_0x175672=[];_0x500bfe[_0x3ae176(0x73)][_0x3ae176(0xb7)][_0x3ae176(0x9c)]((_0x357c60,_0x1e2728)=>{const _0xd2b1ce=_0x3ae176;_0x24e2ad?_0x175672[_0xd2b1ce(0x81)](helper[_0xd2b1ce(0x92)](_0x500bfe[_0xd2b1ce(0x73)],_0x24f343[_0xd2b1ce(0x76)],_0x1e2728)):_0x175672[_0xd2b1ce(0x81)](helper[_0xd2b1ce(0x89)](_0x500bfe[_0xd2b1ce(0x73)],_0x24f343['ukSLR'],_0x1e2728));});const _0x5423d2={},_0x5181fd=[];_0xf018ee[_0x3ae176(0x7f)]=_0xf018ee[_0x3ae176(0x7f)]||_0xf018ee['e'];const _0x5296e0=_0xf018ee[_0x3ae176(0x7f)]?_0xf018ee[_0x3ae176(0x7f)][_0x3ae176(0xb1)]()['split'](',')['map'](_0x28f34c=>_0x28f34c[_0x3ae176(0xb1)]())[_0x3ae176(0x8e)](_0x9e7fb4=>_0x9e7fb4!==''):[''];_0x24f343['iwOHM'](_0x5296e0[_0x3ae176(0xaf)],0x0)&&_0x5296e0[_0x3ae176(0x81)]('');_0x5296e0[_0x3ae176(0x9c)](_0x46846d=>{_0x175672['forEach'](_0x32be65=>{const _0x48f3ea=a33_0x2642;let _0x415f22=_0x24f343[_0x48f3ea(0x84)](helper[_0x48f3ea(0xae)](_0x32be65,'_'),'_'+Date[_0x48f3ea(0x74)]());_0x46846d&&(_0x415f22+='_'+_0x46846d);if(_0x46846d&&(!_0x5eb9dc[_0x24f343['fuJuU']]||!_0x5eb9dc[_0x24f343[_0x48f3ea(0x83)]][_0x46846d]))return;const _0x20f8ad={..._0x3b751e};_0x20f8ad[_0x48f3ea(0xa0)]=_0x32be65;const _0xd0d713=_0x20f8ad;_0x5423d2[_0x415f22]=_0x46846d?helper[_0x48f3ea(0xb2)](_0x5eb9dc[_0x24f343['fuJuU']][_0x46846d],_0xd0d713):_0xd0d713,_0x5181fd['push'](_0x415f22);});});!_0x3f8da1['test_settings']&&(_0x3f8da1['test_settings']={});_0x3f8da1[_0x3ae176(0x79)]={..._0x3f8da1['test_settings'],..._0x5423d2};const _0x508073=path['join'](__dirname,_0x24f343['MMFSN']);fs[_0x3ae176(0x6f)](_0x508073,JSON[_0x3ae176(0xba)](_0x3f8da1)),_0x24f343[_0x3ae176(0x8a)](removeExistingEnvs,_0x5de62a);const _0x14aa82=_0x24f343[_0x3ae176(0x95)](spawn,/^win/[_0x3ae176(0x8f)](process[_0x3ae176(0x7c)])?_0x24f343[_0x3ae176(0xac)]:_0x24f343[_0x3ae176(0x76)],[_0x24f343[_0x3ae176(0xab)],_0x508073,..._0x5de62a['slice'](0x1),_0x24f343[_0x3ae176(0xa8)],_0x5181fd[_0x3ae176(0x7e)](',')],{'stdio':_0x24f343[_0x3ae176(0x78)]});_0x14aa82['on'](_0x24f343['JyxGU'],async _0x112677=>{const _0x1f6157=_0x3ae176;logger[_0x1f6157(0xb4)]('child\x20process\x20exited\x20with\x20code\x20'+_0x112677),logger[_0x1f6157(0x97)]('Deleting\x20'+_0x508073),fs[_0x1f6157(0x91)](_0x508073);});}module[a33_0x31a796(0x86)]=run;
2
+ 'use strict';const a33_0x2f5574=a33_0x38ac;function a33_0x38ac(_0x2c5bc5,_0x293cf2){const _0x21aa98=a33_0x21aa();return a33_0x38ac=function(_0x38ac62,_0x57a50a){_0x38ac62=_0x38ac62-0x1ad;let _0x4f2995=_0x21aa98[_0x38ac62];return _0x4f2995;},a33_0x38ac(_0x2c5bc5,_0x293cf2);}(function(_0x32fd3d,_0x53b4d5){const _0xfa087b=a33_0x38ac,_0x54dbd0=_0x32fd3d();while(!![]){try{const _0x711496=parseInt(_0xfa087b(0x1e1))/0x1*(parseInt(_0xfa087b(0x1dc))/0x2)+-parseInt(_0xfa087b(0x1b5))/0x3*(parseInt(_0xfa087b(0x1c5))/0x4)+-parseInt(_0xfa087b(0x1cf))/0x5*(-parseInt(_0xfa087b(0x1c2))/0x6)+-parseInt(_0xfa087b(0x1ba))/0x7*(-parseInt(_0xfa087b(0x1ed))/0x8)+-parseInt(_0xfa087b(0x1d6))/0x9+parseInt(_0xfa087b(0x1c1))/0xa*(parseInt(_0xfa087b(0x1ff))/0xb)+parseInt(_0xfa087b(0x1f6))/0xc*(-parseInt(_0xfa087b(0x1be))/0xd);if(_0x711496===_0x53b4d5)break;else _0x54dbd0['push'](_0x54dbd0['shift']());}catch(_0x2321d8){_0x54dbd0['push'](_0x54dbd0['shift']());}}}(a33_0x21aa,0xdfb2f));const fs=require('fs'),path=require(a33_0x2f5574(0x1d7)),{spawn}=require(a33_0x2f5574(0x1e3)),logger=require('../../helpers/logger')[a33_0x2f5574(0x200)],{default:BrowserStackSetup}=require(a33_0x2f5574(0x1f5)),helper=require('../../helpers/helper'),constants=require(a33_0x2f5574(0x1f0)),getUserNightwatchConfigs=(_0xdb6a1,_0x5c2c24)=>{const _0x3b0d50=a33_0x2f5574,_0xfb6bff={'QTDIq':_0x3b0d50(0x1c6),'qIVwn':_0x3b0d50(0x1e0),'XfyKp':function(_0x18d2a8,_0x8f84b0){return _0x18d2a8(_0x8f84b0);},'oOjUM':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x5a8c7a=null,_0x2d202d={};const _0x29312e=_0x5c2c24['findIndex'](_0x3965bd=>_0x3965bd==='--config');if(!helper[_0x3b0d50(0x1fc)](_0xdb6a1[_0x3b0d50(0x1ee)])&&fs[_0x3b0d50(0x1ca)](path[_0x3b0d50(0x1b8)](process[_0x3b0d50(0x1bc)](),_0xdb6a1['config'])))_0x5a8c7a=path[_0x3b0d50(0x1b8)](process[_0x3b0d50(0x1bc)](),_0xdb6a1[_0x3b0d50(0x1ee)]),_0x5c2c24[_0x3b0d50(0x1ad)](_0x29312e,0x2);else{if(fs['existsSync'](path[_0x3b0d50(0x1b8)](process[_0x3b0d50(0x1bc)](),_0xfb6bff[_0x3b0d50(0x1e9)])))_0x5a8c7a=path[_0x3b0d50(0x1b8)](process[_0x3b0d50(0x1bc)](),_0xfb6bff[_0x3b0d50(0x1e9)]);else fs[_0x3b0d50(0x1ca)](path['join'](process['cwd'](),_0xfb6bff[_0x3b0d50(0x1d0)]))&&(_0x5a8c7a=path[_0x3b0d50(0x1b8)](process[_0x3b0d50(0x1bc)](),_0xfb6bff['qIVwn']));}return _0x5a8c7a?(logger[_0x3b0d50(0x1c3)](_0x3b0d50(0x1de)+_0x5a8c7a),_0x2d202d=_0xfb6bff[_0x3b0d50(0x1df)](require,_0x5a8c7a)):logger[_0x3b0d50(0x1c3)](_0xfb6bff[_0x3b0d50(0x1b7)]),_0x2d202d;},removeExistingEnvs=_0x21c141=>{const _0x322505=a33_0x2f5574,_0x1c2878={};_0x1c2878[_0x322505(0x1e7)]=function(_0x14504b,_0x3f871a){return _0x14504b>_0x3f871a;},_0x1c2878[_0x322505(0x1f8)]=function(_0x1ad27d,_0x34300b){return _0x1ad27d>_0x34300b;};const _0x4e1fd4=_0x1c2878;let _0x466702=_0x21c141[_0x322505(0x1fa)](_0x40e233=>_0x40e233==='--env');_0x4e1fd4[_0x322505(0x1e7)](_0x466702,-0x1)&&_0x21c141[_0x322505(0x1ad)](_0x466702,0x2),_0x466702=_0x21c141['findIndex'](_0xbc5e6d=>_0xbc5e6d==='-e'),_0x4e1fd4[_0x322505(0x1f8)](_0x466702,-0x1)&&_0x21c141['splice'](_0x466702,0x2);};function a33_0x21aa(){const _0x29f53a=['stringify','Dgnjm','now','6342435UQxfTU','path','modifyBrowserStackCaps','FmgPj','modifyBrowserStackW3CCaps','wExZr','1703634PpiFQl','split','Getting\x20your\x20nightwatch\x20configs\x20from\x20','XfyKp','nightwatch.json','2zPFnhN','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','child_process','RTDWf','vGbJj','inherit','eqkFh','ykuTI','QTDIq','host','length','writeFileSync','6652472ixiWwD','config','test_settings','../utils/constants','BTzDz','port','forEach','filter','../../helpers/BrowserStackSetup','470868hsAbcF','nightwatch.cmd','JDLqx','eAQxc','findIndex','test','isUndefined','close','hub.browserstack.com','8367062wFeJDg','winstonLogger','splice','push','--config','useW3C','pDdFJ','webdriver','desiredCapabilities','--env','4107PKorQB','WPWzA','oOjUM','join','getPlatformName','14VhpfWc','platforms','cwd','debug','767PuAtNj','Deleting\x20','ZQPqV','10RRpJmH','708hvPAwt','info','trim','2940ITnMyI','nightwatch.conf.js','child\x20process\x20exited\x20with\x20code\x20','nightwatch-browserstack.json','mergeDeep','existsSync','ucPRq','selenium','qDypB','nightwatch','34530zBOExm','qIVwn','LnehX','env'];a33_0x21aa=function(){return _0x29f53a;};return a33_0x21aa();}function run(_0x42988b,_0x52cf95){const _0x256526=a33_0x2f5574,_0x91a1bd={'ucPRq':_0x256526(0x1ce),'ykuTI':function(_0x59b0ce,_0x5368c3){return _0x59b0ce+_0x5368c3;},'BZonF':_0x256526(0x1ef),'pDdFJ':function(_0x4a2c11,_0x140bfb,_0x1d269d){return _0x4a2c11(_0x140bfb,_0x1d269d);},'Dgnjm':_0x256526(0x1fe),'FmgPj':_0x256526(0x1e2),'qDypB':function(_0x2b0402,_0x1f134e){return _0x2b0402===_0x1f134e;},'eAQxc':_0x256526(0x1c8),'WPWzA':function(_0x2a0b50,_0x5ba39e){return _0x2a0b50(_0x5ba39e);},'OYDvK':function(_0x48768a,_0x4cfbc0,_0x189682,_0x42fa4f){return _0x48768a(_0x4cfbc0,_0x189682,_0x42fa4f);},'vGbJj':_0x256526(0x1f7),'QHCCd':_0x256526(0x1af),'RTDWf':_0x256526(0x1b4),'ZQPqV':_0x256526(0x1e6),'wExZr':_0x256526(0x1fd)},_0x3238c9=new BrowserStackSetup(_0x42988b);if(!_0x3238c9[_0x256526(0x1ee)])return;const _0x3ed1e1=_0x91a1bd[_0x256526(0x1b1)](getUserNightwatchConfigs,_0x42988b,_0x52cf95),_0x197724={};_0x197724['start_process']=![];const _0x309bac={};_0x309bac[_0x256526(0x1ea)]=_0x91a1bd[_0x256526(0x1d4)],_0x309bac[_0x256526(0x1f2)]=0x1bb;const _0x570cca={};_0x570cca[_0x256526(0x1b2)]=_0x197724,_0x570cca[_0x256526(0x1cc)]=_0x309bac;const _0x371e8c=_0x570cca;logger[_0x256526(0x1c3)](_0x91a1bd[_0x256526(0x1d9)]);const _0x438f2={..._0x3ed1e1},_0x3cdbf3=_0x438f2,_0x2d6b2c=helper[_0x256526(0x1b0)](_0x3238c9['config']),_0x255e8b=[];_0x3238c9[_0x256526(0x1ee)][_0x256526(0x1bb)]['forEach']((_0x2a4f72,_0x280c36)=>{const _0x1edbb4=_0x256526;_0x2d6b2c?_0x255e8b[_0x1edbb4(0x1ae)](helper[_0x1edbb4(0x1da)](_0x3238c9['config'],_0x91a1bd[_0x1edbb4(0x1cb)],_0x280c36)):_0x255e8b[_0x1edbb4(0x1ae)](helper[_0x1edbb4(0x1d8)](_0x3238c9[_0x1edbb4(0x1ee)],_0x91a1bd['ucPRq'],_0x280c36));});const _0x200388={},_0x348a35=[];_0x42988b[_0x256526(0x1d2)]=_0x42988b['env']||_0x42988b['e'];const _0x57db9c=_0x42988b[_0x256526(0x1d2)]?_0x42988b[_0x256526(0x1d2)][_0x256526(0x1c4)]()[_0x256526(0x1dd)](',')['map'](_0x59401e=>_0x59401e[_0x256526(0x1c4)]())[_0x256526(0x1f4)](_0x1a9fab=>_0x1a9fab!==''):[''];_0x91a1bd[_0x256526(0x1cd)](_0x57db9c[_0x256526(0x1eb)],0x0)&&_0x57db9c[_0x256526(0x1ae)]('');_0x57db9c[_0x256526(0x1f3)](_0xe426f6=>{const _0x3f8270=_0x256526,_0x5de886={'LnehX':function(_0x37780e,_0x21b7a3){const _0x497a28=a33_0x38ac;return _0x91a1bd[_0x497a28(0x1e8)](_0x37780e,_0x21b7a3);},'BTzDz':_0x91a1bd['BZonF']};_0x255e8b[_0x3f8270(0x1f3)](_0x3b8b03=>{const _0x4f13ac=_0x3f8270;let _0x4aca57=_0x5de886[_0x4f13ac(0x1d1)](helper[_0x4f13ac(0x1b9)](_0x3b8b03,'_'),'_'+Date[_0x4f13ac(0x1d5)]());_0xe426f6&&(_0x4aca57+='_'+_0xe426f6);if(_0xe426f6&&(!_0x3ed1e1[_0x5de886[_0x4f13ac(0x1f1)]]||!_0x3ed1e1[_0x5de886['BTzDz']][_0xe426f6]))return;const _0x523544={..._0x371e8c};_0x523544[_0x4f13ac(0x1b3)]=_0x3b8b03;const _0x6ea018=_0x523544;_0x200388[_0x4aca57]=_0xe426f6?helper[_0x4f13ac(0x1c9)](_0x3ed1e1[_0x5de886[_0x4f13ac(0x1f1)]][_0xe426f6],_0x6ea018):_0x6ea018,_0x348a35['push'](_0x4aca57);});});!_0x3cdbf3[_0x256526(0x1ef)]&&(_0x3cdbf3[_0x256526(0x1ef)]={});_0x3cdbf3['test_settings']={..._0x3cdbf3[_0x256526(0x1ef)],..._0x200388};const _0x19bcd0=path[_0x256526(0x1b8)](__dirname,_0x91a1bd[_0x256526(0x1f9)]);fs[_0x256526(0x1ec)](_0x19bcd0,JSON[_0x256526(0x1d3)](_0x3cdbf3)),_0x91a1bd[_0x256526(0x1b6)](removeExistingEnvs,_0x52cf95);const _0xc03d5f=_0x91a1bd['OYDvK'](spawn,/^win/[_0x256526(0x1fb)](process['platform'])?_0x91a1bd[_0x256526(0x1e5)]:_0x91a1bd[_0x256526(0x1cb)],[_0x91a1bd['QHCCd'],_0x19bcd0,..._0x52cf95['slice'](0x1),_0x91a1bd[_0x256526(0x1e4)],_0x348a35['join'](',')],{'stdio':_0x91a1bd[_0x256526(0x1c0)]});_0xc03d5f['on'](_0x91a1bd[_0x256526(0x1db)],async _0x5c3028=>{const _0x35a821=_0x256526;logger[_0x35a821(0x1bd)](_0x35a821(0x1c7)+_0x5c3028),logger[_0x35a821(0x1c3)](_0x35a821(0x1bf)+_0x19bcd0),fs['unlinkSync'](_0x19bcd0);});}module['exports']=run;
@@ -1 +1 @@
1
- const a34_0x452f77=a34_0x3e1e;(function(_0x217982,_0x334f7c){const _0x13218a=a34_0x3e1e,_0x2b681a=_0x217982();while(!![]){try{const _0x164518=-parseInt(_0x13218a(0x131))/0x1*(-parseInt(_0x13218a(0x109))/0x2)+parseInt(_0x13218a(0x125))/0x3*(parseInt(_0x13218a(0x12c))/0x4)+parseInt(_0x13218a(0xf1))/0x5+parseInt(_0x13218a(0x121))/0x6+-parseInt(_0x13218a(0xe4))/0x7+parseInt(_0x13218a(0xe1))/0x8+-parseInt(_0x13218a(0xea))/0x9;if(_0x164518===_0x334f7c)break;else _0x2b681a['push'](_0x2b681a['shift']());}catch(_0x3827f3){_0x2b681a['push'](_0x2b681a['shift']());}}}(a34_0x1023,0x8bbb4));const util=require(a34_0x452f77(0x10c)),logger=require(a34_0x452f77(0x135))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x452f77(0x12d)),{isUndefined}=require(a34_0x452f77(0x104)),scripts=require(a34_0x452f77(0x112));function a34_0x3e1e(_0x15f6e4,_0x1ca847){const _0x102339=a34_0x1023();return a34_0x3e1e=function(_0x3e1e2f,_0x1065be){_0x3e1e2f=_0x3e1e2f-0xdb;let _0x31b75f=_0x102339[_0x3e1e2f];return _0x31b75f;},a34_0x3e1e(_0x15f6e4,_0x1ca847);}exports[a34_0x452f77(0x11f)]=async(_0x28ccac,_0x4c74e5,_0x43468a={})=>{const _0x9c44ca=a34_0x452f77,_0x352a84={};_0x352a84[_0x9c44ca(0x102)]=_0x9c44ca(0xe9);const _0x52adf2=_0x352a84;return await _0x28ccac['evaluate'](_0x9c44ca(0xe6)+_0x4c74e5[_0x9c44ca(0xec)](/arguments/g,_0x52adf2[_0x9c44ca(0x102)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x9c44ca(0x13a)](_0x43468a)+')');},exports['browserStackExecuteDriver']=async(_0x2c5522,_0x163fd5,_0x5cd162={})=>{const _0x41e868=a34_0x452f77,_0x55cb70={};_0x55cb70[_0x41e868(0xe5)]=function(_0x2603e3,_0x1d5542){return _0x2603e3===_0x1d5542;},_0x55cb70['sjndb']='WebDriver',_0x55cb70['raWOx']=function(_0x557a29,_0x122a5a){return _0x557a29===_0x122a5a;},_0x55cb70[_0x41e868(0x100)]=_0x41e868(0x105),_0x55cb70[_0x41e868(0x12f)]='bstackSdkArgs';const _0x51f958=_0x55cb70;if(_0x51f958[_0x41e868(0xe5)](_0x2c5522['constructor']['name'],_0x51f958[_0x41e868(0x115)]))return await _0x2c5522[_0x41e868(0x108)](_0x163fd5,_0x5cd162);else{if(_0x51f958['raWOx'](_0x2c5522['constructor'][_0x41e868(0xed)],_0x51f958[_0x41e868(0x100)]))return await _0x2c5522['executeScript'](_0x41e868(0xfd)+_0x163fd5['replace'](/arguments/g,_0x51f958[_0x41e868(0x12f)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x41e868(0x13a)](_0x5cd162)+')');}},exports[a34_0x452f77(0xef)]=async _0x1f68fd=>{const _0x1ac626=a34_0x452f77,_0x386786={};_0x386786['MIOIZ']=_0x1ac626(0x11a),_0x386786[_0x1ac626(0xf9)]=_0x1ac626(0x11c),_0x386786[_0x1ac626(0xee)]=_0x1ac626(0xf0),_0x386786[_0x1ac626(0x12b)]='accessibilityOptions.includeIssueType.needsReview',_0x386786[_0x1ac626(0x128)]=_0x1ac626(0xe3),_0x386786[_0x1ac626(0x10f)]='accessibilityOptions.scannerVersion';const _0x12cfdb=_0x386786;_0x1f68fd[_0x1ac626(0xf6)]&&(_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0x137)]&&(_0x1f68fd[_0x12cfdb['MIOIZ']]=_0x1f68fd['accessibilityOptions'][_0x1ac626(0x137)]),_0x1f68fd['accessibilityOptions'][_0x1ac626(0xe7)]&&(_0x1f68fd[_0x12cfdb[_0x1ac626(0xf9)]]=_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xe7)]),_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xf4)]&&(_0x1f68fd[_0x12cfdb['NQKTJ']]=_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xf4)][_0x1ac626(0xdb)],_0x1f68fd[_0x12cfdb[_0x1ac626(0x12b)]]=_0x1f68fd[_0x1ac626(0xf6)][_0x1ac626(0xf4)][_0x1ac626(0x12a)]));const _0x2764c4=JSON[_0x1ac626(0x133)](process[_0x1ac626(0xe0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x1f68fd[_0x12cfdb[_0x1ac626(0x128)]]=process[_0x1ac626(0xe0)][_0x1ac626(0x10d)],_0x1f68fd[_0x12cfdb[_0x1ac626(0x10f)]]=_0x2764c4,delete _0x1f68fd[_0x1ac626(0xf6)];},exports[a34_0x452f77(0x12e)]=async _0x54d741=>{const _0x1a4239=a34_0x452f77,_0x334ad5={};_0x334ad5['BAtOR']='No\x20accessibility\x20results\x20were\x20found.',_0x334ad5[_0x1a4239(0x11e)]=_0x1a4239(0x101);const _0x125767=_0x334ad5;if(global[_0x1a4239(0xf5)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x54d741,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x54d741,scripts.getResults);return res;}catch{return logger[_0x1a4239(0x132)](_0x125767[_0x1a4239(0x139)]),[];}else return logger['warn'](_0x125767['OoKJJ']),[];},exports[a34_0x452f77(0x119)]=async(_0x5b127b,_0x180f95='')=>{const _0x464341=a34_0x452f77;if(global[_0x464341(0xf5)]){const _0x80d0d6={};return _0x80d0d6[_0x464341(0xeb)]=_0x180f95,await exports['browserStackEvaluate'](_0x5b127b,scripts['performScan'],_0x80d0d6);}},exports[a34_0x452f77(0xe2)]=async _0x1ae5f0=>{const _0x35ac73=a34_0x452f77,_0x5cef97={};_0x5cef97[_0x35ac73(0x134)]='No\x20summaryResults\x20found.',_0x5cef97[_0x35ac73(0x122)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x28490d=_0x5cef97;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1ae5f0,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1ae5f0,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x35ac73(0x110)](_0x28490d['GGjaz']),{};}else return logger[_0x35ac73(0x116)](_0x28490d[_0x35ac73(0x122)]),{};},exports[a34_0x452f77(0x11b)]=async _0x3445a7=>{const _0x2175e8=a34_0x452f77,_0x34a5c9={'ZiHld':function(_0x2aa385,_0x35ec75){return _0x2aa385!==_0x35ec75;},'GFqHM':_0x2175e8(0x129),'vqPkb':function(_0xbe61ff,_0x18c7cb){return _0xbe61ff===_0x18c7cb;},'jggch':_0x2175e8(0x136),'pIMPV':_0x2175e8(0x111),'oJOTT':_0x2175e8(0xff),'EIIAK':function(_0x393f77,_0x4a4823){return _0x393f77(_0x4a4823);},'RFPpY':function(_0x12c7bb,_0x1854c0){return _0x12c7bb===_0x1854c0;},'rCxfQ':_0x2175e8(0xf8),'wKAME':function(_0x4587fc,_0x326762){return _0x4587fc>_0x326762;},'UJtWr':_0x2175e8(0xfa)};try{if(!_0x34a5c9[_0x2175e8(0xdf)](_0x3445a7[_0x2175e8(0x11d)],''))return logger['warn'](_0x34a5c9['GFqHM']),![];const _0x1068ca=_0x3445a7['browser'];if(!(_0x34a5c9[_0x2175e8(0x106)](_0x1068ca,_0x34a5c9['jggch'])||_0x34a5c9['vqPkb'](_0x1068ca,_0x34a5c9['pIMPV'])))return logger['warn'](_0x34a5c9[_0x2175e8(0x114)]),![];const _0x1ba3c6=_0x34a5c9[_0x2175e8(0xdc)](parseInt,_0x3445a7[_0x2175e8(0x126)]);if(!(_0x34a5c9[_0x2175e8(0x10a)](_0x1ba3c6,_0x34a5c9[_0x2175e8(0x113)])||_0x34a5c9['wKAME'](_0x1ba3c6,0x5e)))return logger['warn'](_0x34a5c9[_0x2175e8(0xfb)]),![];}catch(_0x1402a3){logger[_0x2175e8(0x110)](_0x2175e8(0x10e)+util['format'](_0x1402a3));}return!![];},exports['processAccessibilityCaps']=(_0x55523d,_0x5e0977,_0xdbacce)=>{const _0x1ad043=a34_0x452f77,_0x32787c={'JGKxH':function(_0x101500){return _0x101500();},'Gkgjt':_0x1ad043(0x124),'KNoak':function(_0x18270e,_0x47edfd){return _0x18270e===_0x47edfd;},'dOzYj':_0x1ad043(0x136),'tlCbH':_0x1ad043(0x111),'lAwQF':_0x1ad043(0xff),'YDBNb':_0x1ad043(0xf8),'unKhw':function(_0x3a437b,_0x40f437){return _0x3a437b>_0x40f437;},'OuZHz':_0x1ad043(0xfa),'dwFxn':function(_0x2051d6,_0xb69cb2){return _0x2051d6(_0xb69cb2);},'MkCqa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','RgjAX':function(_0x2e96c7,_0x233d8f){return _0x2e96c7+_0x233d8f;}};try{if(_0x32787c[_0x1ad043(0x120)](isAccessibilityAutomationSession)){global[_0x1ad043(0xf5)]=!![];!_0x55523d[_0x32787c[_0x1ad043(0xf7)]]&&(global[_0x1ad043(0xf5)]=![]);!(_0x32787c[_0x1ad043(0x10b)](_0x55523d['browserName'],_0x32787c[_0x1ad043(0x127)])||_0x32787c[_0x1ad043(0x10b)](_0x55523d[_0x1ad043(0x107)],_0x32787c[_0x1ad043(0x130)]))&&(logger[_0x1ad043(0x116)](_0x32787c[_0x1ad043(0xdd)]),global['accessibilityPlatform']=![]);!(_0x32787c[_0x1ad043(0x10b)](_0x55523d[_0x1ad043(0x126)],_0x32787c['YDBNb'])||_0x32787c['unKhw'](_0x55523d[_0x1ad043(0x126)],0x5e))&&(logger[_0x1ad043(0x116)](_0x32787c[_0x1ad043(0xfc)]),global[_0x1ad043(0xf5)]=![]);!_0x32787c[_0x1ad043(0xfe)](isUndefined,_0x55523d['deviceName'])&&(logger[_0x1ad043(0x116)](_0x32787c['MkCqa']),global[_0x1ad043(0xf5)]=![]);if(!global[_0x1ad043(0xf5)]){_0x55523d[_0x32787c[_0x1ad043(0xf7)]]=![];const _0x3b5630=_0x32787c[_0x1ad043(0x118)](_0x5e0977,_0x32787c[_0x1ad043(0xfe)](encodeURIComponent,JSON[_0x1ad043(0x13a)](_0x55523d)));_0xdbacce&&(_0xdbacce['currentTest'][_0x1ad043(0x138)]['project'][_0x1ad043(0x117)][_0x1ad043(0x123)][_0x1ad043(0xe8)]=_0x3b5630,_0xdbacce[_0x1ad043(0xde)][_0x1ad043(0xf2)][_0x1ad043(0x117)]['connectOptions'][_0x1ad043(0xe8)]=_0x3b5630);}}}catch(_0x50bf24){logger[_0x1ad043(0x110)](_0x1ad043(0x103)+util[_0x1ad043(0xf3)](_0x50bf24));}};function a34_0x1023(){const _0x183371=['accessibilityOptions','Gkgjt','latest','ZaumS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','UJtWr','OuZHz','(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','dwFxn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ypzrQ','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','aaCMb','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/helper','Playwright','vqPkb','browserName','executeAsyncScript','20OCPOAR','RFPpY','KNoak','util','BS_A11Y_JWT','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','NavfY','debug','playwright-chromium','../../helpers/accessibility-automation/scripts','rCxfQ','oJOTT','sjndb','warn','use','RgjAX','performScan','accessibilityOptions.wcagVersion','platformValidation','accessibilityOptions.scannerProcessingTimeout','deviceName','OoKJJ','browserStackEvaluate','JGKxH','966504lcMyyz','ljNRY','connectOptions','browserstack.accessibility','3261597hFLsad','browser_version','dOzYj','zebIu','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','needsReview','DZHTT','4UWgFIq','../../helpers/accessibility-automation/helper','getAccessibilityResults','xWAVX','tlCbH','47105JuJBOd','error','parse','GGjaz','../../helpers/logger','chrome','wcagVersion','testInfo','BAtOR','stringify','bestPractice','EIIAK','lAwQF','workerInfo','ZiHld','env','1232184TmCzkV','getAccessibilityResultsSummary','accessibilityOptions.authToken','847511XKOVli','POWRA','(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','scannerProcessingTimeout','wsEndpoint','bstackSdkArgs','11241981TfKAOO','method','replace','name','NQKTJ','setAccessibilityCapabilities','accessibilityOptions.includeIssueType.bestPractice','345830EaBaHH','project','format','includeIssueType','accessibilityPlatform'];a34_0x1023=function(){return _0x183371;};return a34_0x1023();}
1
+ function a34_0x260c(){const _0x39b442=['5582442PSoFqq','8etgtqo','connectOptions','browserName','../../helpers/accessibility-automation/scripts','GCeac','XWWQG','IgBpW','SeOrJ','currentTest','194gxqrDX','accessibilityOptions','PjAWN','latest','olLdY','719RUrZjC','accessibilityOptions.includeIssueType.needsReview','../../helpers/helper','setAccessibilityCapabilities','method','project','winstonLogger','accessibilityOptions.scannerProcessingTimeout','aQqeh','debug','(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','TbKcU','wsEndpoint','platformValidation','env','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','vmhzp','QFWvH','needsReview','10AoRBqQ','2597442IjoiqD','YKOEJ','JNsQI','error','JFruH','bstackSdkArgs','yNJEo','warn','testInfo','1355132EyPGBH','browser_version','../../helpers/logger','726814kqUiLT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityPlatform','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibilityOptions.wcagVersion','zSXHp','bestPractice','SsQHp','getAccessibilityResultsSummary','format','wauAH','YlMrq','deviceName','workerInfo','JHMKI','ojEsx','pmdfm','replace','WebDriver','constructor','Zyhgk','browserStackEvaluate','Playwright','stringify','scannerVersion','zKSGX','ZQzGK','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','wcagVersion','accessibilityOptions.scannerVersion','includeIssueType','use','performScan','parse','wYnnI','MciSM','browserstack.accessibility','WPlVY','name','XDCKb','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','haoZb','7276860RTLzRW','executeAsyncScript','140UUnOqh','chrome','No\x20summaryResults\x20found.','XiZMp','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','hENUs','462917YbOHAV','../../helpers/accessibility-automation/helper','scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','lynLv','PBORx','tGsHU','WVDQM','LtSKm'];a34_0x260c=function(){return _0x39b442;};return a34_0x260c();}const a34_0x4d1fdb=a34_0x4f78;(function(_0x31408e,_0x167cc6){const _0x3750f7=a34_0x4f78,_0x5d4900=_0x31408e();while(!![]){try{const _0x44aca9=parseInt(_0x3750f7(0x1d7))/0x1*(parseInt(_0x3750f7(0x23e))/0x2)+-parseInt(_0x3750f7(0x1eb))/0x3+-parseInt(_0x3750f7(0x1f4))/0x4*(-parseInt(_0x3750f7(0x1ea))/0x5)+-parseInt(_0x3750f7(0x234))/0x6+-parseInt(_0x3750f7(0x22b))/0x7*(-parseInt(_0x3750f7(0x235))/0x8)+parseInt(_0x3750f7(0x223))/0x9+-parseInt(_0x3750f7(0x225))/0xa*(-parseInt(_0x3750f7(0x1f7))/0xb);if(_0x44aca9===_0x167cc6)break;else _0x5d4900['push'](_0x5d4900['shift']());}catch(_0x56cd73){_0x5d4900['push'](_0x5d4900['shift']());}}}(a34_0x260c,0xb74cb));function a34_0x4f78(_0x1662aa,_0x316991){const _0x260c84=a34_0x260c();return a34_0x4f78=function(_0x4f78d0,_0x565ddb){_0x4f78d0=_0x4f78d0-0x1d3;let _0x515be2=_0x260c84[_0x4f78d0];return _0x515be2;},a34_0x4f78(_0x1662aa,_0x316991);}const util=require('util'),logger=require(a34_0x4d1fdb(0x1f6))[a34_0x4d1fdb(0x1dd)],{isAccessibilityAutomationSession}=require(a34_0x4d1fdb(0x22c)),{isUndefined}=require(a34_0x4d1fdb(0x1d9)),scripts=require(a34_0x4d1fdb(0x238));exports[a34_0x4d1fdb(0x20d)]=async(_0x2fe4df,_0x1b83ec,_0x19e7c9={})=>{const _0x5ad69e=a34_0x4d1fdb,_0x2660f9={};_0x2660f9['WPTmc']=_0x5ad69e(0x1f0);const _0x35c35c=_0x2660f9;return await _0x2fe4df['evaluate'](_0x5ad69e(0x1e1)+_0x1b83ec[_0x5ad69e(0x209)](/arguments/g,_0x35c35c['WPTmc'])+_0x5ad69e(0x214)+JSON['stringify'](_0x19e7c9)+')');},exports[a34_0x4d1fdb(0x1fa)]=async(_0x2c49bc,_0x1713e3,_0x3ff81a={})=>{const _0x1c03f2=a34_0x4d1fdb,_0x16d1a7={};_0x16d1a7[_0x1c03f2(0x202)]=function(_0x11a3db,_0x293ff6){return _0x11a3db===_0x293ff6;},_0x16d1a7[_0x1c03f2(0x1fd)]=_0x1c03f2(0x20a),_0x16d1a7[_0x1c03f2(0x1e8)]=function(_0x364b78,_0x41effa){return _0x364b78===_0x41effa;},_0x16d1a7[_0x1c03f2(0x203)]=_0x1c03f2(0x20e),_0x16d1a7[_0x1c03f2(0x23c)]=_0x1c03f2(0x1f0);const _0x16a90e=_0x16d1a7;if(_0x16a90e[_0x1c03f2(0x202)](_0x2c49bc['constructor']['name'],_0x16a90e[_0x1c03f2(0x1fd)]))return await _0x2c49bc[_0x1c03f2(0x224)](_0x1713e3,_0x3ff81a);else{if(_0x16a90e['QFWvH'](_0x2c49bc[_0x1c03f2(0x20b)][_0x1c03f2(0x21f)],_0x16a90e[_0x1c03f2(0x203)]))return await _0x2c49bc['executeScript']('(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'+_0x1713e3[_0x1c03f2(0x209)](/arguments/g,_0x16a90e['SeOrJ'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON['stringify'](_0x3ff81a)+')');}},exports[a34_0x4d1fdb(0x1da)]=async _0x53ae03=>{const _0x50ba3e=a34_0x4d1fdb,_0x1e2ed4={};_0x1e2ed4[_0x50ba3e(0x1ff)]=_0x50ba3e(0x1fc),_0x1e2ed4['ZQzGK']=_0x50ba3e(0x1de),_0x1e2ed4[_0x50ba3e(0x1ed)]='accessibilityOptions.includeIssueType.bestPractice',_0x1e2ed4[_0x50ba3e(0x1d6)]=_0x50ba3e(0x1d8),_0x1e2ed4['XDCKb']='accessibilityOptions.authToken',_0x1e2ed4[_0x50ba3e(0x232)]=_0x50ba3e(0x216);const _0x8454b1=_0x1e2ed4;_0x53ae03[_0x50ba3e(0x1d3)]&&(_0x53ae03['accessibilityOptions'][_0x50ba3e(0x215)]&&(_0x53ae03[_0x8454b1['SsQHp']]=_0x53ae03['accessibilityOptions'][_0x50ba3e(0x215)]),_0x53ae03[_0x50ba3e(0x1d3)][_0x50ba3e(0x22d)]&&(_0x53ae03[_0x8454b1[_0x50ba3e(0x212)]]=_0x53ae03[_0x50ba3e(0x1d3)][_0x50ba3e(0x22d)]),_0x53ae03['accessibilityOptions'][_0x50ba3e(0x217)]&&(_0x53ae03[_0x8454b1[_0x50ba3e(0x1ed)]]=_0x53ae03[_0x50ba3e(0x1d3)]['includeIssueType'][_0x50ba3e(0x1fe)],_0x53ae03[_0x8454b1[_0x50ba3e(0x1d6)]]=_0x53ae03[_0x50ba3e(0x1d3)][_0x50ba3e(0x217)][_0x50ba3e(0x1e9)]));const _0x22bb7a=JSON[_0x50ba3e(0x21a)](process[_0x50ba3e(0x1e5)][_0x50ba3e(0x1fb)])[_0x50ba3e(0x210)];_0x53ae03[_0x8454b1[_0x50ba3e(0x220)]]=process[_0x50ba3e(0x1e5)]['BS_A11Y_JWT'],_0x53ae03[_0x8454b1[_0x50ba3e(0x232)]]=_0x22bb7a,delete _0x53ae03[_0x50ba3e(0x1d3)];},exports['getAccessibilityResults']=async _0x48fb63=>{const _0x56358f=a34_0x4d1fdb,_0x1574cc={};_0x1574cc[_0x56358f(0x1e7)]='No\x20accessibility\x20results\x20were\x20found.',_0x1574cc[_0x56358f(0x231)]=_0x56358f(0x229);const _0x26a74d=_0x1574cc;if(global[_0x56358f(0x1f9)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x48fb63,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x48fb63,scripts.getResults);return res;}catch{return logger[_0x56358f(0x1ee)](_0x26a74d['vmhzp']),[];}else return logger[_0x56358f(0x1f2)](_0x26a74d[_0x56358f(0x231)]),[];},exports[a34_0x4d1fdb(0x219)]=async(_0x5d2188,_0x21c004='')=>{const _0x883698=a34_0x4d1fdb;if(global['accessibilityPlatform']){const _0x5c1d1d={};return _0x5c1d1d[_0x883698(0x1db)]=_0x21c004,await exports['browserStackEvaluate'](_0x5d2188,scripts['performScan'],_0x5c1d1d);}},exports[a34_0x4d1fdb(0x200)]=async _0x459bd3=>{const _0x955005=a34_0x4d1fdb,_0x5c641c={};_0x5c641c[_0x955005(0x239)]=_0x955005(0x227),_0x5c641c[_0x955005(0x1f1)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x1ef369=_0x5c641c;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x459bd3,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x459bd3,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x955005(0x1e0)](_0x1ef369[_0x955005(0x239)]),{};}else return logger['warn'](_0x1ef369['yNJEo']),{};},exports[a34_0x4d1fdb(0x1e4)]=async _0x478613=>{const _0x230dc7=a34_0x4d1fdb,_0x55d48b={'PBORx':function(_0x256614,_0x11530f){return _0x256614!==_0x11530f;},'vvbFR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','MciSM':function(_0x5fb9c7,_0x1cdfef){return _0x5fb9c7===_0x1cdfef;},'JHMKI':_0x230dc7(0x226),'XiZMp':'playwright-chromium','LtSKm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','lynLv':function(_0x3288f3,_0x1a4577){return _0x3288f3(_0x1a4577);},'aQqeh':function(_0xf5e26f,_0x57a6cd){return _0xf5e26f===_0x57a6cd;},'JFruH':_0x230dc7(0x1d5),'ojEsx':function(_0x2d6872,_0x56f9af){return _0x2d6872>_0x56f9af;},'PjAWN':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x55d48b[_0x230dc7(0x230)](_0x478613[_0x230dc7(0x204)],''))return logger[_0x230dc7(0x1f2)](_0x55d48b['vvbFR']),![];const _0x32db1c=_0x478613['browser'];if(!(_0x55d48b[_0x230dc7(0x21c)](_0x32db1c,_0x55d48b[_0x230dc7(0x206)])||_0x55d48b['MciSM'](_0x32db1c,_0x55d48b[_0x230dc7(0x228)])))return logger[_0x230dc7(0x1f2)](_0x55d48b[_0x230dc7(0x233)]),![];const _0x20ac3b=_0x55d48b[_0x230dc7(0x22f)](parseInt,_0x478613['browser_version']);if(!(_0x55d48b[_0x230dc7(0x1df)](_0x20ac3b,_0x55d48b[_0x230dc7(0x1ef)])||_0x55d48b[_0x230dc7(0x207)](_0x20ac3b,0x5e)))return logger[_0x230dc7(0x1f2)](_0x55d48b[_0x230dc7(0x1d4)]),![];}catch(_0x40adda){logger[_0x230dc7(0x1e0)](_0x230dc7(0x213)+util['format'](_0x40adda));}return!![];},exports['processAccessibilityCaps']=(_0x8ea01b,_0x2519c7,_0x45b48e)=>{const _0x2a443d=a34_0x4d1fdb,_0x53ea8f={'WPlVY':function(_0x17c758){return _0x17c758();},'zKSGX':_0x2a443d(0x21d),'RrPPD':function(_0x4b2558,_0x538f5c){return _0x4b2558===_0x538f5c;},'IgBpW':'chrome','MWEPd':'playwright-chromium','TbKcU':_0x2a443d(0x1f8),'haoZb':function(_0x31214b,_0x6782a4){return _0x31214b===_0x6782a4;},'wYnnI':_0x2a443d(0x1d5),'hENUs':function(_0x20ebdb,_0x15d6a9){return _0x20ebdb>_0x15d6a9;},'Zyhgk':_0x2a443d(0x22e),'YKOEJ':function(_0x3c4181,_0x1f2c07){return _0x3c4181(_0x1f2c07);},'pmdfm':_0x2a443d(0x1e6),'XWWQG':function(_0x4b60c3,_0x16030c){return _0x4b60c3+_0x16030c;},'VXGDx':function(_0x1c1cd1,_0x257f60){return _0x1c1cd1(_0x257f60);}};try{if(_0x53ea8f[_0x2a443d(0x21e)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x8ea01b[_0x53ea8f[_0x2a443d(0x211)]]&&(global[_0x2a443d(0x1f9)]=![]);!(_0x53ea8f['RrPPD'](_0x8ea01b[_0x2a443d(0x237)],_0x53ea8f[_0x2a443d(0x23b)])||_0x53ea8f['RrPPD'](_0x8ea01b[_0x2a443d(0x237)],_0x53ea8f['MWEPd']))&&(logger[_0x2a443d(0x1f2)](_0x53ea8f[_0x2a443d(0x1e2)]),global[_0x2a443d(0x1f9)]=![]);!(_0x53ea8f[_0x2a443d(0x222)](_0x8ea01b[_0x2a443d(0x1f5)],_0x53ea8f[_0x2a443d(0x21b)])||_0x53ea8f[_0x2a443d(0x22a)](_0x8ea01b['browser_version'],0x5e))&&(logger['warn'](_0x53ea8f[_0x2a443d(0x20c)]),global[_0x2a443d(0x1f9)]=![]);!_0x53ea8f[_0x2a443d(0x1ec)](isUndefined,_0x8ea01b[_0x2a443d(0x204)])&&(logger[_0x2a443d(0x1f2)](_0x53ea8f[_0x2a443d(0x208)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x8ea01b[_0x53ea8f[_0x2a443d(0x211)]]=![];const _0x33acd6=_0x53ea8f[_0x2a443d(0x23a)](_0x2519c7,_0x53ea8f['VXGDx'](encodeURIComponent,JSON[_0x2a443d(0x20f)](_0x8ea01b)));_0x45b48e&&(_0x45b48e[_0x2a443d(0x23d)][_0x2a443d(0x1f3)]['project'][_0x2a443d(0x218)][_0x2a443d(0x236)][_0x2a443d(0x1e3)]=_0x33acd6,_0x45b48e[_0x2a443d(0x205)][_0x2a443d(0x1dc)][_0x2a443d(0x218)][_0x2a443d(0x236)][_0x2a443d(0x1e3)]=_0x33acd6);}}}catch(_0xce4863){logger[_0x2a443d(0x1e0)](_0x2a443d(0x221)+util[_0x2a443d(0x201)](_0xce4863));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a35_0x1f32(){const _0x42dea6=['automation','HLmiG','--grep','../../helpers/test-observability/utils','1002928BkqHEz','hMzKO','wkWBL','startsWith','./accessibility-helper','dirname','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','USER_CONFIG_DETAILS_PATH','isFalse','HGogw','writeFileSync','626150sykgKo','Error\x20in\x20getting\x20funnel\x20data\x20results','get','XAEFh','UHKkn','testObservability','Updated\x20config\x20file\x20name\x20to\x20-\x20','winstonLogger','exitCode','hjaBN','XnjTO','error','path','uAeYR','xilKu','--disable-browserstack-automation','filterBrowserstackArgs','resolve','stop','logLevel','SmcKH','length','RczVE','DvUaN','MODULE','TkKpD','isUndefined','rRNjZ','uliyf','sBSrj','false','../../helpers/testhub/testhubHandler','cwd','NkrIw','../../helpers/helper','./reporter/pwUtils','SabNj','getProxyUrl','qumYr','547665PqfpIx','NgxNQ','Error\x20in\x20closing\x20playwright','CFtVY','BrowserStack\x20config\x20file\x20not\x20found.','slice','../../helpers/testhub/utils','util','playwright','has','0|6|5|3|4|8|1|7|2','--disable-test-observability','ooocZ','Deleting\x20','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','platform','Playwright\x20process\x20exited\x20with\x20code\x20','rQktb','pFVjT','../../helpers/test-observability/error-handler','qKotl','accessibility','TABHU','debug','nestedKeyValue','concat','null','KFmwN','KlbbH','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','filter','testContextOptions','test','yisKw','apply','JuhDb','getConfigPath','child_process','stringify','../../helpers/logger','playwright-browserstack-sdk.config.cjs','cliConfig','JYwmO','BROWSERSTACK_PW_CONFIG_DIR','skipSessionStatus','--config=','../../helpers/test-observability/constants','true','existsSync','pw_result.json','4akSysr','139123yYmVeX','env','readFileSync','resolvedConfigFile','parse','initialize','ExKWa','PLAYWRIGHT','BROWSERSTACK_AUTOMATION','1777100WSMlje','../utils/constants','push','--config','clearTempPWConfig','exports','AaoOt','skipSessionName','ahsEE','hktfs','npx','indexOf','zXaqy','split','482994JmyTQF','../../helpers/BrowserStackSetup','unlinkSync','BROWSERSTACK_SETUP_CONFIG_PATH','ZjDxP','103905uCRqAV','win32','BROWSERSTACK_TEST_OBSERVABILITY','pCkIb','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isTrue','\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();','trim','VWOGZ','join','assign','.browserstack','QAnWu','homedir','inherit','Ffehp','playwright-browserstack-sdk.config.js','MkXMG','248fTKuHe','ToKcm','abpuq','BROWSERSTACK_RERUN','Trjbc','Error\x20in\x20deleting\x20playwright\x20results','serializeToYamlString','config'];a35_0x1f32=function(){return _0x42dea6;};return a35_0x1f32();}function a35_0x595c(_0x3bf211,_0x1e5554){const _0x1f3255=a35_0x1f32();return a35_0x595c=function(_0x595cff,_0x2d4435){_0x595cff=_0x595cff-0x17e;let _0x34c019=_0x1f3255[_0x595cff];return _0x34c019;},a35_0x595c(_0x3bf211,_0x1e5554);}const a35_0x249430=a35_0x595c;(function(_0xd22451,_0x249e81){const _0xaf9c9a=a35_0x595c,_0x311050=_0xd22451();while(!![]){try{const _0x579a29=-parseInt(_0xaf9c9a(0x212))/0x1*(-parseInt(_0xaf9c9a(0x211))/0x2)+-parseInt(_0xaf9c9a(0x1df))/0x3+parseInt(_0xaf9c9a(0x1ad))/0x4+-parseInt(_0xaf9c9a(0x21b))/0x5+-parseInt(_0xaf9c9a(0x18a))/0x6+-parseInt(_0xaf9c9a(0x1b8))/0x7+parseInt(_0xaf9c9a(0x1a1))/0x8*(parseInt(_0xaf9c9a(0x18f))/0x9);if(_0x579a29===_0x249e81)break;else _0x311050['push'](_0x311050['shift']());}catch(_0x24c1d4){_0x311050['push'](_0x311050['shift']());}}}(a35_0x1f32,0x2bb05));const fs=require('fs'),path=require(a35_0x249430(0x1c4)),{spawn}=require(a35_0x249430(0x204)),{format}=require(a35_0x249430(0x1e6)),logger=require(a35_0x249430(0x206))[a35_0x249430(0x1bf)],{default:BrowserStackSetup}=require(a35_0x249430(0x18b)),helper=require(a35_0x249430(0x1da)),utilities=require('../../helpers/utilities'),constants=require(a35_0x249430(0x21c)),{FRAMEWORKS}=require(a35_0x249430(0x20d)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x249430(0x1db)),{CrashReporter}=require(a35_0x249430(0x1f2)),{getFrameworkVersion}=require(a35_0x249430(0x1ac)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require(a35_0x249430(0x1b1)),TestHubHandler=require(a35_0x249430(0x1d7)),{shouldProcessEventForTesthub}=require(a35_0x249430(0x1e5)),getUserPlaywrightConfig=async(_0x16998a,_0x301347)=>{const _0x395fde=a35_0x249430,_0x460ee0={'SmcKH':function(_0x332913){return _0x332913();},'MkXMG':function(_0x43d8e0,_0x5da22b){return _0x43d8e0(_0x5da22b);},'QAnWu':_0x395fde(0x215),'sBSrj':_0x395fde(0x20c)},_0x10ab0f=!helper[_0x395fde(0x1d2)](_0x16998a[_0x395fde(0x1a8)]),_0x5a4918=_0x10ab0f?path[_0x395fde(0x1c9)](process[_0x395fde(0x1d8)](),_0x16998a[_0x395fde(0x1a8)]):process[_0x395fde(0x1d8)](),{resolveConfigFile:_0x31b561,resolveConfigLocation:_0x543e2d}=helper['requirePWModule'][_0x395fde(0x201)](null,_0x460ee0[_0x395fde(0x1cc)](getConfigLoaderPath)),_0x3a6d82=_0x31b561?_0x460ee0['MkXMG'](_0x31b561,_0x5a4918):helper[_0x395fde(0x1f7)](_0x460ee0[_0x395fde(0x1a0)](_0x543e2d,_0x5a4918),[_0x460ee0[_0x395fde(0x19b)]]),_0x2dceb8={};if(_0x10ab0f){const _0xa3308f=_0x301347['findIndex'](_0x5d6626=>_0x5d6626===_0x395fde(0x17f)||_0x5d6626==='-c'||_0x5d6626[_0x395fde(0x1b0)](_0x395fde(0x20c)));_0x301347['splice'](_0xa3308f,_0x301347[_0xa3308f]['startsWith'](_0x460ee0[_0x395fde(0x1d5)])?0x1:0x2);}const _0x436fa2={};return _0x436fa2[_0x395fde(0x1c4)]=_0x3a6d82,_0x436fa2[_0x395fde(0x1a8)]=_0x2dceb8,_0x436fa2;},handleO11yRerun=_0x2c739d=>{const _0x4e4330=a35_0x249430,_0x4aac24={};_0x4aac24['rRNjZ']=function(_0x5ca425,_0xa07ec2){return _0x5ca425!==_0xa07ec2;},_0x4aac24['KlbbH']=_0x4e4330(0x1f9),_0x4aac24[_0x4e4330(0x209)]=_0x4e4330(0x1ab);const _0x2ee0f2=_0x4aac24,_0x3444b8=helper[_0x4e4330(0x194)](process['env'][_0x4e4330(0x1a4)]);if(_0x3444b8){const _0x1d539a=process[_0x4e4330(0x213)]['BROWSERSTACK_RERUN_TESTS'],_0x5f239d=[];if(_0x2ee0f2[_0x4e4330(0x1d3)](_0x1d539a,_0x2ee0f2[_0x4e4330(0x1fb)])&&!helper[_0x4e4330(0x1d2)](_0x1d539a)){_0x1d539a[_0x4e4330(0x189)](',')['map'](_0xed0130=>{const _0x111185=_0x4e4330;_0x5f239d[_0x111185(0x17e)]('('+_0xed0130[_0x111185(0x196)]()+')');});const _0x3cdba1='^'+_0x5f239d['join']('|')+'$';_0x2c739d[_0x4e4330(0x17e)](_0x2ee0f2['JYwmO'],_0x3cdba1);}}},spawnOriginalProcess=_0x1b7b65=>{const _0x1a1755=a35_0x249430,_0x26da2c={'KFmwN':function(_0x559ee9,_0x53e8d0,_0x2bf777,_0x32274c){return _0x559ee9(_0x53e8d0,_0x2bf777,_0x32274c);},'XLYmG':_0x1a1755(0x186),'uliyf':_0x1a1755(0x1e7),'Fibum':function(_0x440b3d,_0x5f3465){return _0x440b3d===_0x5f3465;},'hjaBN':_0x1a1755(0x190),'ERrSP':_0x1a1755(0x19d)};_0x26da2c[_0x1a1755(0x1fa)](spawn,_0x26da2c['XLYmG'],[_0x26da2c[_0x1a1755(0x1d4)],..._0x1b7b65[_0x1a1755(0x1e4)](0x1)],{'shell':_0x26da2c['Fibum'](process['platform'],_0x26da2c[_0x1a1755(0x1c1)]),'stdio':_0x26da2c['ERrSP'],'cwd':process[_0x1a1755(0x1d8)]()});},isTestCommand=(_0x1d295f,_0x656f5f)=>{const _0x9581a3=a35_0x249430,_0x33eb1b={};_0x33eb1b[_0x9581a3(0x200)]=function(_0x286ff3,_0x221156){return _0x286ff3>_0x221156;},_0x33eb1b[_0x9581a3(0x1f1)]=function(_0x5efdb1,_0x5b184a){return _0x5efdb1===_0x5b184a;},_0x33eb1b[_0x9581a3(0x1e2)]=_0x9581a3(0x1ff);const _0x10af62=_0x33eb1b;if(_0x10af62[_0x9581a3(0x200)](_0x656f5f[_0x9581a3(0x1cd)],0x1)&&_0x10af62[_0x9581a3(0x1f1)](_0x656f5f[0x1],_0x10af62[_0x9581a3(0x1e2)]))return!![];return![];};async function run(_0x358adc,_0x28e601){const _0x5c352d=a35_0x249430,_0x3a693a={'ExKWa':_0x5c352d(0x19a),'XAEFh':_0x5c352d(0x210),'TkKpD':function(_0x2d8a6f,_0x245b9b){return _0x2d8a6f+_0x245b9b;},'VsEvi':_0x5c352d(0x1b9),'ToKcm':_0x5c352d(0x1e9),'IamRW':function(_0x2a7f95){return _0x2a7f95();},'hktfs':_0x5c352d(0x1e1),'UHKkn':'--disable-browserstack-automation','rQktb':_0x5c352d(0x1d6),'druQr':_0x5c352d(0x1ea),'pCkIb':function(_0x45520b,_0x56aa43){return _0x45520b>=_0x56aa43;},'NkrIw':function(_0x54e89d,_0x1f2b19){return _0x54e89d+_0x1f2b19;},'ooocZ':_0x5c352d(0x1a6),'VWOGZ':function(_0x20b92e,_0x164dcc,_0x1dee3e){return _0x20b92e(_0x164dcc,_0x1dee3e);},'abpuq':function(_0x1dfeaa,_0x195555){return _0x1dfeaa(_0x195555);},'Trjbc':_0x5c352d(0x1e3),'xilKu':_0x5c352d(0x1a9),'Ffehp':function(_0x1e8c6b,_0x20aad8){return _0x1e8c6b!=_0x20aad8;},'qumYr':function(_0x3d03be,_0x3ee43d){return _0x3d03be(_0x3ee43d);},'ahsEE':function(_0x21209c,_0x5bf592){return _0x21209c===_0x5bf592;},'TABHU':_0x5c352d(0x20e),'hMzKO':function(_0x3c7a9a,_0x5cf5f2){return _0x3c7a9a(_0x5cf5f2);},'HLmiG':'browserstackSetupConfig.json','LBWhS':function(_0x227b81,_0x4cddb5){return _0x227b81===_0x4cddb5;},'DvUaN':_0x5c352d(0x207),'XnjTO':_0x5c352d(0x19f),'uAeYR':function(_0x35b636,_0x6b357c){return _0x35b636-_0x6b357c;},'wkWBL':function(_0x16159e,_0x438abb){return _0x16159e+_0x438abb;},'RczVE':_0x5c352d(0x1be),'HGogw':function(_0x479dd8,_0xd2aaad){return _0x479dd8>_0xd2aaad;},'ZjDxP':function(_0xbb145f,_0x354b86,_0x18ffea,_0x51c508){return _0xbb145f(_0x354b86,_0x18ffea,_0x51c508);},'zXaqy':_0x5c352d(0x186),'SabNj':_0x5c352d(0x1e7),'AaoOt':_0x5c352d(0x1ff),'NgxNQ':_0x5c352d(0x17f),'YaPgt':_0x5c352d(0x190),'JuhDb':_0x5c352d(0x19d),'qKotl':'close'};!helper[_0x5c352d(0x1b5)](process[_0x5c352d(0x213)][_0x5c352d(0x21a)])&&(process['env'][_0x5c352d(0x21a)]=!![]);process['argv']['includes'](_0x3a693a[_0x5c352d(0x1bc)])&&(process[_0x5c352d(0x213)][_0x5c352d(0x21a)]=_0x3a693a['rQktb'],_0x28e601=_0x28e601[_0x5c352d(0x1fd)](_0x5d1c07=>_0x5d1c07!==_0x5c352d(0x1c7)));const _0x3589b4=_0x28e601[_0x5c352d(0x187)](_0x3a693a['druQr']);_0x3a693a[_0x5c352d(0x192)](_0x3589b4,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x3a693a[_0x5c352d(0x1f0)],_0x28e601=_0x28e601[_0x5c352d(0x1fd)](_0x2c7c32=>_0x2c7c32!==_0x5c352d(0x1ea)));try{const _0x3d65cb=path['join'](helper[_0x5c352d(0x19c)](),_0x3a693a[_0x5c352d(0x218)],_0x3a693a[_0x5c352d(0x1bb)]);fs[_0x5c352d(0x20f)](_0x3d65cb)&&fs['unlinkSync'](_0x3d65cb);}catch(_0x2e36ea){logger[_0x5c352d(0x1f6)](_0x3a693a['NkrIw'](_0x3a693a[_0x5c352d(0x1eb)],_0x2e36ea));}if(!_0x3a693a[_0x5c352d(0x197)](isTestCommand,_0x358adc,_0x28e601)){_0x3a693a[_0x5c352d(0x1a3)](spawnOriginalProcess,_0x28e601);return;}const _0x5db1c8=new BrowserStackSetup(_0x358adc,FRAMEWORKS[_0x5c352d(0x219)]);if(!_0x5db1c8[_0x5c352d(0x1a8)]){logger[_0x5c352d(0x1c3)](_0x3a693a[_0x5c352d(0x1a5)]);return;}await _0x5db1c8[_0x5c352d(0x217)]();!helper['isUndefined'](_0x5db1c8[_0x5c352d(0x208)])&&_0x5db1c8[_0x5c352d(0x208)][_0x5c352d(0x1e8)](_0x3a693a[_0x5c352d(0x1c6)])&&(process[_0x5c352d(0x213)][_0x5c352d(0x21a)]=_0x5db1c8[_0x5c352d(0x208)][_0x5c352d(0x1ba)](_0x3a693a[_0x5c352d(0x1c6)])||!![]);_0x3a693a[_0x5c352d(0x19e)](_0x5db1c8[_0x5c352d(0x1a8)]['testObservability'],null)&&!helper[_0x5c352d(0x194)](process[_0x5c352d(0x213)][_0x5c352d(0x191)])&&(process['env'][_0x5c352d(0x191)]=process['env'][_0x5c352d(0x191)]||_0x5db1c8[_0x5c352d(0x1a8)][_0x5c352d(0x1bd)]);const _0x28fc2c=!helper[_0x5c352d(0x1b5)](process[_0x5c352d(0x213)][_0x5c352d(0x191)]);let _0x5b9847=![];_0x5db1c8['config'][_0x5c352d(0x1f4)]&&(_0x5b9847=!![],process[_0x5c352d(0x213)][_0x5c352d(0x193)]=_0x5db1c8['config']['accessibility']);_0x5db1c8['config']['accessibilityOptions']&&(process[_0x5c352d(0x213)][_0x5c352d(0x1b3)]=JSON[_0x5c352d(0x205)](_0x5db1c8[_0x5c352d(0x1a8)]['accessibilityOptions']));const _0xba675e=_0x28e601[_0x5c352d(0x1f8)](),_0x1478a9=await _0x3a693a[_0x5c352d(0x197)](getUserPlaywrightConfig,_0x358adc,_0x28e601);if(helper[_0x5c352d(0x1d2)](_0x1478a9)){_0x3a693a[_0x5c352d(0x1de)](spawnOriginalProcess,_0xba675e);return;}const _0x58ed66=_0x1478a9[_0x5c352d(0x1c4)]?path['dirname'](_0x1478a9[_0x5c352d(0x1c4)]):process['cwd']();process[_0x5c352d(0x213)][_0x5c352d(0x20a)]=_0x58ed66,await TestHubHandler['launchBuild'](FRAMEWORKS[_0x5c352d(0x219)],_0x5db1c8);_0x28fc2c&&_0x3a693a[_0x5c352d(0x1a3)](handleO11yRerun,_0x28e601);let _0x3f0e95=_0x3a693a[_0x5c352d(0x184)](process[_0x5c352d(0x213)][_0x5c352d(0x193)],_0x3a693a[_0x5c352d(0x1f5)]);_0x3f0e95=_0x3f0e95||_0x3a693a[_0x5c352d(0x1a3)](checkAccessibilityPlatformConfig,_0x5db1c8[_0x5c352d(0x1a8)]),process[_0x5c352d(0x213)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x3f0e95;_0x3f0e95&&_0x3a693a[_0x5c352d(0x1ae)](setAccessibilityCapabilities,_0x5db1c8['config']);const _0x271def=path[_0x5c352d(0x198)](_0x1478a9['path']?path[_0x5c352d(0x1b2)](_0x1478a9['path']):process[_0x5c352d(0x1d8)](),_0x3a693a[_0x5c352d(0x1aa)]);fs['writeFileSync'](_0x271def,helper[_0x5c352d(0x1a7)](_0x5db1c8[_0x5c352d(0x1a8)])),process[_0x5c352d(0x213)][_0x5c352d(0x18d)]=_0x271def,helper[_0x5c352d(0x180)]();let _0x5e20f9='';_0x3a693a['LBWhS'](helper['getPackageType'](),constants['PACKAGE_TYPE'][_0x5c352d(0x1d0)])?_0x5e20f9=_0x3a693a[_0x5c352d(0x1cf)]:_0x5e20f9=_0x3a693a[_0x5c352d(0x1c2)];let _0x99859f='';if(helper['isTypescriptProject'](_0x1478a9['path'])){_0x99859f='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x39aa2d=_0x5e20f9['split']('.');_0x39aa2d[_0x3a693a[_0x5c352d(0x1c5)](_0x39aa2d[_0x5c352d(0x1cd)],0x1)]='ts',_0x5e20f9=_0x39aa2d['join']('.'),logger[_0x5c352d(0x1f6)](_0x3a693a[_0x5c352d(0x1af)](_0x3a693a[_0x5c352d(0x1ce)],_0x5e20f9));}else _0x99859f=_0x5c352d(0x1fc);const _0x54798c=path[_0x5c352d(0x198)](_0x1478a9['path']?path[_0x5c352d(0x1b2)](_0x1478a9['path']):process['cwd'](),_0x5e20f9);let _0x53d819=_0x1478a9['path']?_0x1478a9[_0x5c352d(0x1c4)]:'';_0x53d819=_0x3a693a[_0x5c352d(0x1b6)](_0x53d819[_0x5c352d(0x1cd)],0x0)?path['resolve'](_0x53d819):'',process[_0x5c352d(0x213)][_0x5c352d(0x1b4)]=_0x53d819;const _0x161825=helper[_0x5c352d(0x1dd)](_0x5db1c8[_0x5c352d(0x1a8)]);_0x161825&&(_0x99859f=_0x3a693a[_0x5c352d(0x1d9)](_0x5c352d(0x1ed)+_0x161825+_0x5c352d(0x195),_0x99859f));helper[_0x5c352d(0x1c8)]({},_0x28e601),fs[_0x5c352d(0x1b7)](_0x54798c,_0x99859f),helper['markSDKSetupComplete']();const _0x3dc973=_0x3a693a[_0x5c352d(0x18e)](spawn,_0x3a693a[_0x5c352d(0x188)],[_0x3a693a[_0x5c352d(0x1dc)],_0x3a693a[_0x5c352d(0x182)],_0x3a693a[_0x5c352d(0x1e0)],_0x54798c,..._0x28e601[_0x5c352d(0x1e4)](0x2)],{'shell':_0x3a693a[_0x5c352d(0x184)](process[_0x5c352d(0x1ee)],_0x3a693a['YaPgt']),'stdio':_0x3a693a[_0x5c352d(0x202)],'cwd':process[_0x5c352d(0x1d8)](),'env':Object[_0x5c352d(0x199)]({},process[_0x5c352d(0x213)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5c352d(0x203)](_0x358adc),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5db1c8[_0x5c352d(0x1a8)][_0x5c352d(0x1fe)][_0x5c352d(0x20b)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5db1c8[_0x5c352d(0x1a8)][_0x5c352d(0x1fe)][_0x5c352d(0x183)],'BROWSERSTACK_LOG_LEVEL':_0x5db1c8['config'][_0x5c352d(0x1cb)]})}),_0x38f23d=()=>{const _0x154e4c=_0x5c352d;try{const _0x479c29=path[_0x154e4c(0x198)](helper[_0x154e4c(0x19c)](),_0x3a693a[_0x154e4c(0x218)],_0x3a693a['XAEFh']);if(fs[_0x154e4c(0x20f)](_0x479c29)){let _0x2e9ec5=fs[_0x154e4c(0x214)](_0x479c29);_0x2e9ec5=JSON[_0x154e4c(0x216)](_0x2e9ec5),_0x5db1c8['errorMessage']=_0x2e9ec5,fs[_0x154e4c(0x18c)](_0x479c29);}}catch(_0x13df2){logger[_0x154e4c(0x1f6)](_0x3a693a[_0x154e4c(0x1d1)](_0x3a693a['VsEvi'],_0x13df2));}};_0x3dc973['on'](_0x3a693a[_0x5c352d(0x1f3)],async _0x20e666=>{const _0x4041f5=_0x5c352d;try{const _0x289bc4=_0x3a693a[_0x4041f5(0x1a2)][_0x4041f5(0x189)]('|');let _0x149086=0x0;while(!![]){switch(_0x289bc4[_0x149086++]){case'0':_0x3a693a['IamRW'](_0x38f23d);continue;case'1':fs['unlinkSync'](_0x54798c);continue;case'2':fs[_0x4041f5(0x18c)](_0x271def);continue;case'3':process[_0x4041f5(0x1c0)]=_0x20e666;continue;case'4':logger['debug'](_0x4041f5(0x1ef)+_0x20e666);continue;case'5':await utilities['finalExecution'](_0x5db1c8);continue;case'6':await TestHubHandler[_0x4041f5(0x1ca)]();continue;case'7':logger[_0x4041f5(0x1f6)](_0x4041f5(0x1ec)+_0x271def);continue;case'8':logger['info'](_0x4041f5(0x1ec)+_0x54798c);continue;}break;}}catch(_0x3c6e62){logger[_0x4041f5(0x1f6)](_0x3a693a['TkKpD'](_0x3a693a[_0x4041f5(0x185)],_0x3c6e62));}});}module[a35_0x249430(0x181)]=run;
2
+ 'use strict';function a35_0x5e90(_0x3c0f11,_0x323520){const _0xbc6cf0=a35_0xbc6c();return a35_0x5e90=function(_0x5e90c1,_0x283cd9){_0x5e90c1=_0x5e90c1-0x1b8;let _0x49e138=_0xbc6cf0[_0x5e90c1];return _0x49e138;},a35_0x5e90(_0x3c0f11,_0x323520);}const a35_0x42fa4d=a35_0x5e90;function a35_0xbc6c(){const _0x20c577=['\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','logLevel','length','24qShnxC','oVhrc','UGvsN','HJrYF','3874525gvLTuu','3441712GlfoZH','iJiqT','../../helpers/BrowserStackSetup','vlAoD','6699483pywkQL','AxBXg','--config=','oaDco','automation','BROWSERSTACK_SETUP_CONFIG_PATH','../../helpers/helper','false','env','tMWjy','includes','hLign','FfhxM','jwXAa','exports','558493EdEnHb','startsWith','mXuzA','BROWSERSTACK_RERUN_TESTS','inherit','BROWSERSTACK_TEST_ACCESSIBILITY_YML','waieH','slice','errorMessage','skipSessionStatus','test','map','eFMED','getConfigPath','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getProxyUrl','close','uGCbc','jWqpQ','RGjpQ','config','soWGG','./reporter/pwUtils','accessibility','qtDNk','apply','clearTempPWConfig','writeFileSync','true','BROWSERSTACK_PW_CONFIG_DIR','stop','0|8|1|6|4|7|5|3|2','afCQn','IboEZ','win32','isTrue','get','elpLg','cHVdD','../../helpers/test-observability/error-handler','indexOf','nrfSK','matiZ','cliConfig','2047575skKShS','resolve','DjvkK','accessibilityOptions','pw_result.json','--config','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','launchBuild','tiwjW','isTypescriptProject','TBwmA','nestedKeyValue','info','skipSessionName','existsSync','exitCode','Deleting\x20','MTKCn','child_process','finalExecution','SFoQZ','4438vaZUYj','isUndefined','parse','../../helpers/testhub/testhubHandler','serializeToYamlString','USER_CONFIG_DETAILS_PATH','PLAYWRIGHT','YtkzL','../../helpers/testhub/utils','argv','split','filter','BROWSERSTACK_AUTOMATION','../../helpers/accessibility-automation/helper','filterBrowserstackArgs','splice','5917776lGOPYr','../../helpers/test-observability/constants','unlinkSync','aANLu','aaSlD','BROWSERSTACK_TEST_OBSERVABILITY','Error\x20in\x20deleting\x20playwright\x20results','requirePWModule','\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();','markSDKSetupComplete','yTNcG','cwd','--disable-test-observability','util','jHOhr','--grep','homedir','playwright','Error\x20in\x20getting\x20funnel\x20data\x20results','resolvedConfigFile','platform','testContextOptions','testObservability','join','mnTry','assign','initialize','playwright-browserstack-sdk.config.js','path','hOblz','XGpqf','--disable-browserstack-automation','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','ETfRs','debug','xQCoj','concat','browserstackSetupConfig.json'];a35_0xbc6c=function(){return _0x20c577;};return a35_0xbc6c();}(function(_0x12ea8d,_0x29abe3){const _0x4f5a4c=a35_0x5e90,_0x1bd559=_0x12ea8d();while(!![]){try{const _0x567c44=-parseInt(_0x4f5a4c(0x1f6))/0x1+-parseInt(_0x4f5a4c(0x237))/0x2+-parseInt(_0x4f5a4c(0x222))/0x3+-parseInt(_0x4f5a4c(0x1e3))/0x4+parseInt(_0x4f5a4c(0x1e2))/0x5+-parseInt(_0x4f5a4c(0x247))/0x6+-parseInt(_0x4f5a4c(0x1e7))/0x7*(-parseInt(_0x4f5a4c(0x1de))/0x8);if(_0x567c44===_0x29abe3)break;else _0x1bd559['push'](_0x1bd559['shift']());}catch(_0x4f204a){_0x1bd559['push'](_0x1bd559['shift']());}}}(a35_0xbc6c,0x87c77));const fs=require('fs'),path=require(a35_0x42fa4d(0x1d1)),{spawn}=require(a35_0x42fa4d(0x234)),{format}=require(a35_0x42fa4d(0x1c2)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x42fa4d(0x1e5)),helper=require(a35_0x42fa4d(0x1ed)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x42fa4d(0x248)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x42fa4d(0x20c)),{CrashReporter}=require(a35_0x42fa4d(0x21d)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x42fa4d(0x244)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require(a35_0x42fa4d(0x23a)),{shouldProcessEventForTesthub}=require(a35_0x42fa4d(0x23f)),getUserPlaywrightConfig=async(_0x513d41,_0x5d0f0c)=>{const _0x2206a5=a35_0x42fa4d,_0x26a7d7={'zCCec':function(_0x1a7273){return _0x1a7273();},'qtDNk':function(_0x2cd912,_0x20fb6c){return _0x2cd912(_0x20fb6c);},'oVhrc':_0x2206a5(0x1c8),'FfhxM':_0x2206a5(0x1e9)},_0x51f390=!helper[_0x2206a5(0x238)](_0x513d41[_0x2206a5(0x20a)]),_0x1457eb=_0x51f390?path[_0x2206a5(0x223)](process[_0x2206a5(0x1c0)](),_0x513d41[_0x2206a5(0x20a)]):process[_0x2206a5(0x1c0)](),{resolveConfigFile:_0x4077d1,resolveConfigLocation:_0x2091e1}=helper[_0x2206a5(0x1bc)][_0x2206a5(0x20f)](null,_0x26a7d7['zCCec'](getConfigLoaderPath)),_0x3e74bf=_0x4077d1?_0x26a7d7['qtDNk'](_0x4077d1,_0x1457eb):helper[_0x2206a5(0x22d)](_0x26a7d7[_0x2206a5(0x20e)](_0x2091e1,_0x1457eb),[_0x26a7d7[_0x2206a5(0x1df)]]),_0x6458d6={};if(_0x51f390){const _0x8e492b=_0x5d0f0c['findIndex'](_0x440330=>_0x440330===_0x2206a5(0x227)||_0x440330==='-c'||_0x440330[_0x2206a5(0x1f7)](_0x2206a5(0x1e9)));_0x5d0f0c[_0x2206a5(0x246)](_0x8e492b,_0x5d0f0c[_0x8e492b][_0x2206a5(0x1f7)](_0x26a7d7[_0x2206a5(0x1f3)])?0x1:0x2);}const _0x3d01d7={};return _0x3d01d7[_0x2206a5(0x1d1)]=_0x3e74bf,_0x3d01d7['config']=_0x6458d6,_0x3d01d7;},handleO11yRerun=_0xc6844d=>{const _0x17ad5c=a35_0x42fa4d,_0x5e86b8={};_0x5e86b8['YeSVY']=function(_0x2767d8,_0x5a1b4c){return _0x2767d8!==_0x5a1b4c;},_0x5e86b8[_0x17ad5c(0x217)]='null',_0x5e86b8[_0x17ad5c(0x1e4)]=_0x17ad5c(0x1c4);const _0x56d49b=_0x5e86b8,_0xc29d5c=helper[_0x17ad5c(0x219)](process[_0x17ad5c(0x1ef)]['BROWSERSTACK_RERUN']);if(_0xc29d5c){const _0x1e12e8=process['env'][_0x17ad5c(0x1f9)],_0x5f484b=[];if(_0x56d49b['YeSVY'](_0x1e12e8,_0x56d49b[_0x17ad5c(0x217)])&&!helper[_0x17ad5c(0x238)](_0x1e12e8)){_0x1e12e8['split'](',')[_0x17ad5c(0x201)](_0x385361=>{_0x5f484b['push']('('+_0x385361['trim']()+')');});const _0x2245d5='^'+_0x5f484b[_0x17ad5c(0x1cc)]('|')+'$';_0xc6844d['push'](_0x56d49b[_0x17ad5c(0x1e4)],_0x2245d5);}}},spawnOriginalProcess=_0x3c7985=>{const _0x45cabb=a35_0x42fa4d,_0xa461f3={'UGvsN':function(_0x1bcc0b,_0x22af32,_0x340bed,_0x36e2ae){return _0x1bcc0b(_0x22af32,_0x340bed,_0x36e2ae);},'QldNv':'npx','uiILO':_0x45cabb(0x1c6),'vfCDf':function(_0x435f35,_0x4432ad){return _0x435f35===_0x4432ad;},'ppgbL':_0x45cabb(0x218),'nopxe':_0x45cabb(0x1fa)};_0xa461f3[_0x45cabb(0x1e0)](spawn,_0xa461f3['QldNv'],[_0xa461f3['uiILO'],..._0x3c7985['slice'](0x1)],{'shell':_0xa461f3['vfCDf'](process[_0x45cabb(0x1c9)],_0xa461f3['ppgbL']),'stdio':_0xa461f3['nopxe'],'cwd':process[_0x45cabb(0x1c0)]()});},isTestCommand=(_0x52301e,_0x4d6d3c)=>{const _0x4ea620=a35_0x42fa4d,_0x4a1f4d={};_0x4a1f4d[_0x4ea620(0x216)]=function(_0x43b60e,_0x170c88){return _0x43b60e>_0x170c88;},_0x4a1f4d[_0x4ea620(0x1bf)]=function(_0x4f9c33,_0x39ede1){return _0x4f9c33===_0x39ede1;},_0x4a1f4d[_0x4ea620(0x21b)]=_0x4ea620(0x200);const _0x331797=_0x4a1f4d;if(_0x331797['afCQn'](_0x4d6d3c['length'],0x1)&&_0x331797[_0x4ea620(0x1bf)](_0x4d6d3c[0x1],_0x331797[_0x4ea620(0x21b)]))return!![];return![];};async function run(_0x451386,_0x105cab){const _0x251884=a35_0x42fa4d,_0x554038={'jWqpQ':'.browserstack','ETfRs':_0x251884(0x226),'tMWjy':function(_0x3acd69,_0x3af05b){return _0x3acd69+_0x3af05b;},'LBDCB':_0x251884(0x1c7),'XGpqf':_0x251884(0x215),'eFMED':function(_0x138bc0){return _0x138bc0();},'mXuzA':'Error\x20in\x20closing\x20playwright','HJrYF':_0x251884(0x1d4),'waieH':_0x251884(0x1ee),'RGjpQ':'--disable-test-observability','aANLu':function(_0x2867aa,_0x55c1e1){return _0x2867aa>=_0x55c1e1;},'jHOhr':_0x251884(0x1bb),'cHVdD':function(_0x4d2b07,_0x45a031,_0x2742c2){return _0x4d2b07(_0x45a031,_0x2742c2);},'xQCoj':function(_0x682ebd,_0x2351f9){return _0x682ebd(_0x2351f9);},'jAyjE':'BrowserStack\x20config\x20file\x20not\x20found.','jwXAa':_0x251884(0x1eb),'AxBXg':function(_0x3aa539,_0x4a9db9){return _0x3aa539!=_0x4a9db9;},'giefW':function(_0x243f3e,_0x3a355d){return _0x243f3e(_0x3a355d);},'uGCbc':function(_0x16f976,_0x2316fe){return _0x16f976===_0x2316fe;},'tiwjW':_0x251884(0x212),'soWGG':function(_0x21ee4e,_0x5c44ed){return _0x21ee4e(_0x5c44ed);},'TBwmA':_0x251884(0x1da),'matiZ':function(_0x695f4f,_0x2160b8){return _0x695f4f===_0x2160b8;},'hLign':'playwright-browserstack-sdk.config.cjs','tnVVm':_0x251884(0x1d0),'vlAoD':function(_0x271a58,_0x89989c){return _0x271a58-_0x89989c;},'wOEHv':function(_0x52d23b,_0xdfe71c){return _0x52d23b+_0xdfe71c;},'hOblz':'Updated\x20config\x20file\x20name\x20to\x20-\x20','oaDco':function(_0x26d61f,_0x297bee){return _0x26d61f>_0x297bee;},'CwvmZ':function(_0x5b9492,_0x61f8d3,_0x532f72,_0x4955bd){return _0x5b9492(_0x61f8d3,_0x532f72,_0x4955bd);},'DjvkK':'npx','mnTry':'playwright','MTKCn':_0x251884(0x200),'SFoQZ':_0x251884(0x227),'nrfSK':function(_0x3d3696,_0xeba872){return _0x3d3696===_0xeba872;},'aaSlD':_0x251884(0x218),'YtkzL':_0x251884(0x1fa),'XyxMw':_0x251884(0x206)};!helper['isFalse'](process['env'][_0x251884(0x243)])&&(process[_0x251884(0x1ef)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x251884(0x240)][_0x251884(0x1f1)](_0x554038[_0x251884(0x1e1)])&&(process['env'][_0x251884(0x243)]=_0x554038['waieH'],_0x105cab=_0x105cab[_0x251884(0x242)](_0x187b7d=>_0x187b7d!==_0x251884(0x1d4)));const _0x3e07f9=_0x105cab[_0x251884(0x21e)](_0x554038[_0x251884(0x209)]);_0x554038[_0x251884(0x1b8)](_0x3e07f9,0x0)&&(process['env'][_0x251884(0x1ba)]=_0x554038[_0x251884(0x1fc)],_0x105cab=_0x105cab[_0x251884(0x242)](_0x1c8d78=>_0x1c8d78!==_0x251884(0x1c1)));try{const _0x2b7583=path[_0x251884(0x1cc)](helper[_0x251884(0x1c5)](),_0x554038['jWqpQ'],_0x554038['ETfRs']);fs['existsSync'](_0x2b7583)&&fs['unlinkSync'](_0x2b7583);}catch(_0x3d94a9){logger[_0x251884(0x1d7)](_0x554038[_0x251884(0x1f0)](_0x554038[_0x251884(0x1c3)],_0x3d94a9));}if(!_0x554038[_0x251884(0x21c)](isTestCommand,_0x451386,_0x105cab)){_0x554038[_0x251884(0x1d8)](spawnOriginalProcess,_0x105cab);return;}const _0x6b30f9=new BrowserStackSetup(_0x451386,FRAMEWORKS[_0x251884(0x23d)]);if(!_0x6b30f9[_0x251884(0x20a)]){logger['error'](_0x554038['jAyjE']);return;}await _0x6b30f9[_0x251884(0x1cf)]();!helper[_0x251884(0x238)](_0x6b30f9['cliConfig'])&&_0x6b30f9[_0x251884(0x221)]['has'](_0x554038[_0x251884(0x1f4)])&&(process['env'][_0x251884(0x243)]=_0x6b30f9['cliConfig'][_0x251884(0x21a)](_0x554038[_0x251884(0x1f4)])||!![]);_0x554038[_0x251884(0x1e8)](_0x6b30f9[_0x251884(0x20a)][_0x251884(0x1cb)],null)&&!helper['isTrue'](process[_0x251884(0x1ef)][_0x251884(0x1ba)])&&(process['env'][_0x251884(0x1ba)]=process[_0x251884(0x1ef)][_0x251884(0x1ba)]||_0x6b30f9[_0x251884(0x20a)][_0x251884(0x1cb)]);const _0x1a9c51=!helper['isFalse'](process[_0x251884(0x1ef)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x1d4bbe=![];_0x6b30f9[_0x251884(0x20a)][_0x251884(0x20d)]&&(_0x1d4bbe=!![],process[_0x251884(0x1ef)][_0x251884(0x1fb)]=_0x6b30f9[_0x251884(0x20a)][_0x251884(0x20d)]);_0x6b30f9[_0x251884(0x20a)][_0x251884(0x225)]&&(process['env'][_0x251884(0x204)]=JSON['stringify'](_0x6b30f9[_0x251884(0x20a)][_0x251884(0x225)]));const _0x390fc3=_0x105cab[_0x251884(0x1d9)](),_0x3e3004=await _0x554038[_0x251884(0x21c)](getUserPlaywrightConfig,_0x451386,_0x105cab);if(helper[_0x251884(0x238)](_0x3e3004)){_0x554038['giefW'](spawnOriginalProcess,_0x390fc3);return;}const _0x4243b1=_0x3e3004['path']?path['dirname'](_0x3e3004['path']):process[_0x251884(0x1c0)]();process[_0x251884(0x1ef)][_0x251884(0x213)]=_0x4243b1,await TestHubHandler[_0x251884(0x229)](FRAMEWORKS[_0x251884(0x23d)],_0x6b30f9);_0x1a9c51&&_0x554038['giefW'](handleO11yRerun,_0x105cab);let _0x193a4c=_0x554038[_0x251884(0x207)](process['env'][_0x251884(0x1fb)],_0x554038[_0x251884(0x22a)]);_0x193a4c=_0x193a4c||_0x554038[_0x251884(0x20b)](checkAccessibilityPlatformConfig,_0x6b30f9[_0x251884(0x20a)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x193a4c;_0x193a4c&&_0x554038[_0x251884(0x20b)](setAccessibilityCapabilities,_0x6b30f9['config']);const _0x409d9d=path[_0x251884(0x1cc)](_0x3e3004[_0x251884(0x1d1)]?path['dirname'](_0x3e3004[_0x251884(0x1d1)]):process[_0x251884(0x1c0)](),_0x554038[_0x251884(0x22c)]);fs[_0x251884(0x211)](_0x409d9d,helper[_0x251884(0x23b)](_0x6b30f9['config'])),process[_0x251884(0x1ef)][_0x251884(0x1ec)]=_0x409d9d,helper[_0x251884(0x210)]();let _0x31b2b9='';_0x554038[_0x251884(0x220)](helper['getPackageType'](),constants['PACKAGE_TYPE']['MODULE'])?_0x31b2b9=_0x554038[_0x251884(0x1f2)]:_0x31b2b9=_0x554038['tnVVm'];let _0x54a9e3='';if(helper[_0x251884(0x22b)](_0x3e3004['path'])){_0x54a9e3=_0x251884(0x1db);const _0x5b16a7=_0x31b2b9[_0x251884(0x241)]('.');_0x5b16a7[_0x554038[_0x251884(0x1e6)](_0x5b16a7[_0x251884(0x1dd)],0x1)]='ts',_0x31b2b9=_0x5b16a7[_0x251884(0x1cc)]('.'),logger[_0x251884(0x1d7)](_0x554038['wOEHv'](_0x554038[_0x251884(0x1d2)],_0x31b2b9));}else _0x54a9e3=_0x251884(0x228);const _0x478a73=path[_0x251884(0x1cc)](_0x3e3004['path']?path['dirname'](_0x3e3004[_0x251884(0x1d1)]):process[_0x251884(0x1c0)](),_0x31b2b9);let _0x5e4dfc=_0x3e3004[_0x251884(0x1d1)]?_0x3e3004[_0x251884(0x1d1)]:'';_0x5e4dfc=_0x554038[_0x251884(0x1ea)](_0x5e4dfc[_0x251884(0x1dd)],0x0)?path[_0x251884(0x223)](_0x5e4dfc):'',process[_0x251884(0x1ef)][_0x251884(0x23c)]=_0x5e4dfc;const _0x4a12d0=helper[_0x251884(0x205)](_0x6b30f9[_0x251884(0x20a)]);_0x4a12d0&&(_0x54a9e3=_0x554038[_0x251884(0x1f0)](_0x251884(0x1d5)+_0x4a12d0+_0x251884(0x1bd),_0x54a9e3));helper[_0x251884(0x245)]({},_0x105cab),fs[_0x251884(0x211)](_0x478a73,_0x54a9e3),helper[_0x251884(0x1be)]();const _0x508da3=_0x554038['CwvmZ'](spawn,_0x554038[_0x251884(0x224)],[_0x554038[_0x251884(0x1cd)],_0x554038[_0x251884(0x233)],_0x554038[_0x251884(0x236)],_0x478a73,..._0x105cab[_0x251884(0x1fd)](0x2)],{'shell':_0x554038[_0x251884(0x21f)](process[_0x251884(0x1c9)],_0x554038[_0x251884(0x1b9)]),'stdio':_0x554038[_0x251884(0x23e)],'cwd':process['cwd'](),'env':Object[_0x251884(0x1ce)]({},process[_0x251884(0x1ef)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x251884(0x203)](_0x451386),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x6b30f9[_0x251884(0x20a)][_0x251884(0x1ca)][_0x251884(0x1ff)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x6b30f9[_0x251884(0x20a)][_0x251884(0x1ca)][_0x251884(0x22f)],'BROWSERSTACK_LOG_LEVEL':_0x6b30f9[_0x251884(0x20a)][_0x251884(0x1dc)]})}),_0x56ddc2=()=>{const _0x231644=_0x251884;try{const _0x5eb71d=path[_0x231644(0x1cc)](helper[_0x231644(0x1c5)](),_0x554038[_0x231644(0x208)],_0x554038[_0x231644(0x1d6)]);if(fs[_0x231644(0x230)](_0x5eb71d)){let _0x4fc7d1=fs['readFileSync'](_0x5eb71d);_0x4fc7d1=JSON[_0x231644(0x239)](_0x4fc7d1),_0x6b30f9[_0x231644(0x1fe)]=_0x4fc7d1,fs[_0x231644(0x249)](_0x5eb71d);}}catch(_0x3eb788){logger['debug'](_0x554038['tMWjy'](_0x554038['LBDCB'],_0x3eb788));}};_0x508da3['on'](_0x554038['XyxMw'],async _0x4d2294=>{const _0x4a2125=_0x251884;try{const _0x589395=_0x554038[_0x4a2125(0x1d3)][_0x4a2125(0x241)]('|');let _0x54ea51=0x0;while(!![]){switch(_0x589395[_0x54ea51++]){case'0':_0x554038[_0x4a2125(0x202)](_0x56ddc2);continue;case'1':await utilities[_0x4a2125(0x235)](_0x6b30f9);continue;case'2':fs[_0x4a2125(0x249)](_0x409d9d);continue;case'3':logger[_0x4a2125(0x1d7)](_0x4a2125(0x232)+_0x409d9d);continue;case'4':logger[_0x4a2125(0x1d7)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x4d2294);continue;case'5':fs['unlinkSync'](_0x478a73);continue;case'6':process[_0x4a2125(0x231)]=_0x4d2294;continue;case'7':logger[_0x4a2125(0x22e)]('Deleting\x20'+_0x478a73);continue;case'8':await TestHubHandler[_0x4a2125(0x214)]();continue;}break;}}catch(_0x184534){logger[_0x4a2125(0x1d7)](_0x554038[_0x4a2125(0x1f0)](_0x554038[_0x4a2125(0x1f8)],_0x184534));}});}module[a35_0x42fa4d(0x1f5)]=run;
@@ -1 +1 @@
1
- const a36_0x29f09a=a36_0x125f;function a36_0x5543(){const _0x274d8c=['apply','SenQW','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','./reporter/pwUtils','fork','./patches','includes','winstonLogger','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','14yAIxQk','Not\x20able\x20to\x20import\x20globalSetup','debug','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','136179MHsCtL','IVFes','resolve','EHeew','uaKkh','XaDvl','167962NEKBYA','Path\x20','155XdFOVz','function','requirePWModule','format','40YVFYoy','18012MvMZRf','slUYq','../../helpers/logger','15300vAEhYc','MsksZ','../../helpers/helper','\x20is\x20not\x20found','toString','PLAYWRIGHT','config','env','2690JSSTeM','compareVersions','okPBw','1125908GYbUXL','exports','../../helpers/test-observability/utils','Running\x20existing\x20global\x20setup','sxqXI','IvaxO','342728SEJWRX','11671yenzSM'];a36_0x5543=function(){return _0x274d8c;};return a36_0x5543();}function a36_0x125f(_0x4eda4f,_0x1079d0){const _0x554399=a36_0x5543();return a36_0x125f=function(_0x125f5f,_0x121182){_0x125f5f=_0x125f5f-0x1a2;let _0x12e1ae=_0x554399[_0x125f5f];return _0x12e1ae;},a36_0x125f(_0x4eda4f,_0x1079d0);}(function(_0x18ee69,_0x57576c){const _0x1b415e=a36_0x125f,_0x206f2d=_0x18ee69();while(!![]){try{const _0xb3a8b3=parseInt(_0x1b415e(0x1b5))/0x1+-parseInt(_0x1b415e(0x1ab))/0x2*(parseInt(_0x1b415e(0x1bf))/0x3)+parseInt(_0x1b415e(0x1d0))/0x4+parseInt(_0x1b415e(0x1b7))/0x5*(parseInt(_0x1b415e(0x1bc))/0x6)+parseInt(_0x1b415e(0x1ca))/0x7+parseInt(_0x1b415e(0x1bb))/0x8*(-parseInt(_0x1b415e(0x1af))/0x9)+-parseInt(_0x1b415e(0x1c7))/0xa*(parseInt(_0x1b415e(0x1d1))/0xb);if(_0xb3a8b3===_0x57576c)break;else _0x206f2d['push'](_0x206f2d['shift']());}catch(_0x1832f5){_0x206f2d['push'](_0x206f2d['shift']());}}}(a36_0x5543,0x1b0c2));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a36_0x29f09a(0x1cc)),helper=require(a36_0x29f09a(0x1c1)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x29f09a(0x1a5)),{mockIsWorkerRedundant}=require(a36_0x29f09a(0x1a7)),logger=require(a36_0x29f09a(0x1be))[a36_0x29f09a(0x1a9)];module[a36_0x29f09a(0x1cb)]=async function(_0x335003){const _0x5a5b1f=a36_0x29f09a,_0x412633={'XaDvl':function(_0x5529e9,_0xe04e82){return _0x5529e9(_0xe04e82);},'slUYq':function(_0x40b2ac){return _0x40b2ac();},'lAfOf':'./mock-process.js','IVFes':function(_0x146093){return _0x146093();},'MsksZ':function(_0x330cbb,_0x1a933c){return _0x330cbb(_0x1a933c);},'TsDZX':_0x5a5b1f(0x1cd),'uaKkh':function(_0x4fe1b2){return _0x4fe1b2();},'sxqXI':function(_0x4a2dbd,_0x4de498){return _0x4a2dbd(_0x4de498);},'EHeew':function(_0x228732,_0x180ae6){return _0x228732>=_0x180ae6;},'ogSfT':'1.33.0','IvaxO':function(_0xc18902,_0x5bb4a6,_0x3d62f2){return _0xc18902(_0x5bb4a6,_0x3d62f2);},'okPBw':function(_0x156847,_0x156b45){return _0x156847!==_0x156b45;},'qrpSO':_0x5a5b1f(0x1b8),'SenQW':_0x5a5b1f(0x1ac)},_0x5974b1=child_process[_0x5a5b1f(0x1a6)];if(helper['isHandlePWErrorSet']())try{_0x412633[_0x5a5b1f(0x1b0)](mockIsWorkerRedundant);}catch(_0x542dce){logger[_0x5a5b1f(0x1ad)](_0x5a5b1f(0x1aa)+util[_0x5a5b1f(0x1ba)](_0x542dce));}child_process[_0x5a5b1f(0x1a6)]=function(){const _0x152f2f=_0x5a5b1f;return _0x412633[_0x152f2f(0x1b4)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x152f2f(0x1a8)](_0x412633['slUYq'](getForkProcessPath))?arguments[0x0]=require[_0x152f2f(0x1b1)](_0x412633['lAfOf']):logger['error'](_0x152f2f(0x1b6)+_0x412633[_0x152f2f(0x1bd)](getForkProcessPath)+_0x152f2f(0x1c2)),_0x5974b1[_0x152f2f(0x1a2)](null,arguments);};if(process[_0x5a5b1f(0x1c6)][_0x5a5b1f(0x1a4)]){_0x412633[_0x5a5b1f(0x1c0)](debug,_0x412633['TsDZX']);try{const {loadGlobalHook:_0x5cce2e}=helper[_0x5a5b1f(0x1b9)][_0x5a5b1f(0x1a2)](null,_0x412633[_0x5a5b1f(0x1b3)](getLoadUtilsPath)),_0x45db3e=_0x412633[_0x5a5b1f(0x1ce)](getFrameworkVersion,FRAMEWORKS[_0x5a5b1f(0x1c4)]);let _0x3e1f3d=_0x335003;if(_0x412633[_0x5a5b1f(0x1b2)](helper[_0x5a5b1f(0x1c8)](_0x45db3e,_0x412633['ogSfT']),0x0)){const _0x7775d9={};_0x7775d9[_0x5a5b1f(0x1c5)]=_0x335003,_0x3e1f3d=_0x7775d9;}const _0xe42393=await _0x412633[_0x5a5b1f(0x1cf)](_0x5cce2e,_0x3e1f3d,process['env'][_0x5a5b1f(0x1a4)]);if(_0x412633[_0x5a5b1f(0x1c9)](typeof _0xe42393,_0x412633['qrpSO']))throw new Error(_0x412633[_0x5a5b1f(0x1a3)]);return _0xe42393['apply'](null,arguments);}catch(_0x4c79e4){_0x412633[_0x5a5b1f(0x1ce)](debug,_0x5a5b1f(0x1ae)+_0x4c79e4[_0x5a5b1f(0x1c3)]());}}};
1
+ const a36_0x1cd49b=a36_0x2be4;(function(_0x2f67aa,_0x5603ba){const _0x4f3d3f=a36_0x2be4,_0x1a8d30=_0x2f67aa();while(!![]){try{const _0x4c3b6f=parseInt(_0x4f3d3f(0x148))/0x1*(parseInt(_0x4f3d3f(0x13b))/0x2)+parseInt(_0x4f3d3f(0x137))/0x3+parseInt(_0x4f3d3f(0x150))/0x4+parseInt(_0x4f3d3f(0x156))/0x5*(-parseInt(_0x4f3d3f(0x14d))/0x6)+-parseInt(_0x4f3d3f(0x139))/0x7*(parseInt(_0x4f3d3f(0x13e))/0x8)+parseInt(_0x4f3d3f(0x159))/0x9*(-parseInt(_0x4f3d3f(0x146))/0xa)+parseInt(_0x4f3d3f(0x153))/0xb;if(_0x4c3b6f===_0x5603ba)break;else _0x1a8d30['push'](_0x1a8d30['shift']());}catch(_0xa43441){_0x1a8d30['push'](_0x1a8d30['shift']());}}}(a36_0x1165,0x55fc1));const util=require(a36_0x1cd49b(0x14a)),child_process=require(a36_0x1cd49b(0x15a)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x1cd49b(0x133)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')[a36_0x1cd49b(0x13f)];module['exports']=async function(_0x54221e){const _0x1493f3=a36_0x1cd49b,_0x139f6f={'WRPoj':function(_0x591ace,_0x3a5e32){return _0x591ace(_0x3a5e32);},'ysjPz':function(_0x460266){return _0x460266();},'uhHtJ':'./mock-process.js','rMRsZ':function(_0x456b49){return _0x456b49();},'oJFzY':function(_0x608dba){return _0x608dba();},'fRZib':function(_0x56afbf,_0x5c3a36){return _0x56afbf(_0x5c3a36);},'EhzAR':'Running\x20existing\x20global\x20setup','xWWBf':function(_0x1236f1,_0x3ebbea){return _0x1236f1>=_0x3ebbea;},'iAnfl':_0x1493f3(0x157),'qXmwd':function(_0x237af8,_0x34f17e,_0x8d05a5){return _0x237af8(_0x34f17e,_0x8d05a5);},'nCIJQ':function(_0x29e299,_0x2364ab){return _0x29e299!==_0x2364ab;},'Pekfq':'function','MZSHQ':_0x1493f3(0x144),'FxbDE':function(_0x1a90c1,_0xba58b){return _0x1a90c1(_0xba58b);}},_0x264225=child_process[_0x1493f3(0x134)];if(helper[_0x1493f3(0x14b)]())try{_0x139f6f[_0x1493f3(0x13c)](mockIsWorkerRedundant);}catch(_0x3fbecc){logger[_0x1493f3(0x142)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x1493f3(0x14c)](_0x3fbecc));}child_process[_0x1493f3(0x134)]=function(){const _0x5345cd=_0x1493f3;return _0x139f6f[_0x5345cd(0x14e)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x5345cd(0x140)](_0x139f6f[_0x5345cd(0x155)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x139f6f[_0x5345cd(0x132)]):logger['error']('Path\x20'+_0x139f6f['rMRsZ'](getForkProcessPath)+_0x5345cd(0x158)),_0x264225[_0x5345cd(0x131)](null,arguments);};if(process['env'][_0x1493f3(0x145)]){_0x139f6f[_0x1493f3(0x14f)](debug,_0x139f6f[_0x1493f3(0x12f)]);try{const {loadGlobalHook:_0x133a42}=helper[_0x1493f3(0x143)][_0x1493f3(0x131)](null,_0x139f6f['oJFzY'](getLoadUtilsPath)),_0x35742f=_0x139f6f[_0x1493f3(0x14e)](getFrameworkVersion,FRAMEWORKS[_0x1493f3(0x130)]);let _0x591416=_0x54221e;if(_0x139f6f['xWWBf'](helper[_0x1493f3(0x13a)](_0x35742f,_0x139f6f[_0x1493f3(0x141)]),0x0)){const _0x5c6a3b={};_0x5c6a3b[_0x1493f3(0x149)]=_0x54221e,_0x591416=_0x5c6a3b;}const _0xa296ba=await _0x139f6f[_0x1493f3(0x151)](_0x133a42,_0x591416,process[_0x1493f3(0x147)][_0x1493f3(0x145)]);if(_0x139f6f[_0x1493f3(0x154)](typeof _0xa296ba,_0x139f6f[_0x1493f3(0x138)]))throw new Error(_0x139f6f[_0x1493f3(0x136)]);return _0xa296ba[_0x1493f3(0x131)](null,arguments);}catch(_0x410420){_0x139f6f[_0x1493f3(0x152)](debug,_0x1493f3(0x13d)+_0x410420[_0x1493f3(0x135)]());}}};function a36_0x2be4(_0x34fb24,_0x39fb65){const _0x1165ae=a36_0x1165();return a36_0x2be4=function(_0x2be4a7,_0x4a0640){_0x2be4a7=_0x2be4a7-0x12f;let _0x85302a=_0x1165ae[_0x2be4a7];return _0x85302a;},a36_0x2be4(_0x34fb24,_0x39fb65);}function a36_0x1165(){const _0x5adb07=['iAnfl','debug','requirePWModule','Not\x20able\x20to\x20import\x20globalSetup','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','4570WTsxeI','env','46643iwwUhV','config','util','isHandlePWErrorSet','format','6BANRbY','WRPoj','fRZib','569896CZntLk','qXmwd','FxbDE','9784500dUBsne','nCIJQ','ysjPz','1975730NpnnpY','1.33.0','\x20is\x20not\x20found','9783LitKsI','child_process','EhzAR','PLAYWRIGHT','apply','uhHtJ','../../helpers/helper','fork','toString','MZSHQ','91347yHGENi','Pekfq','7vzFZTm','compareVersions','14DMwjXL','oJFzY','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','1158608JWnQOR','winstonLogger','includes'];a36_0x1165=function(){return _0x5adb07;};return a36_0x1165();}