browserstack-node-sdk 1.34.9 → 1.34.10

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 (126) 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/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x1c9b62=a29_0x9b94;(function(_0x40e407,_0x28296c){const _0x272a5b=a29_0x9b94,_0x513246=_0x40e407();while(!![]){try{const _0x2d5a8=-parseInt(_0x272a5b(0x148))/0x1*(-parseInt(_0x272a5b(0x14b))/0x2)+-parseInt(_0x272a5b(0x147))/0x3+parseInt(_0x272a5b(0x189))/0x4*(-parseInt(_0x272a5b(0x17c))/0x5)+parseInt(_0x272a5b(0x154))/0x6+parseInt(_0x272a5b(0x1a7))/0x7+parseInt(_0x272a5b(0x130))/0x8*(parseInt(_0x272a5b(0x15e))/0x9)+parseInt(_0x272a5b(0x18c))/0xa*(-parseInt(_0x272a5b(0x163))/0xb);if(_0x2d5a8===_0x28296c)break;else _0x513246['push'](_0x513246['shift']());}catch(_0x6b102a){_0x513246['push'](_0x513246['shift']());}}}(a29_0x51d4,0x7fa61));function a29_0x51d4(){const _0x43322a=['7779244PlhaDH','optimalHubUrl','vdSKM','__driver','setLogLevel','Hub\x20url\x20set\x20to\x20','QgMsh','set','1|4|5|3|0|2','MfXvd','debug','safari.options','Proxy\x20set\x20to\x20','options_','proxyUrl','overrideGet','isBrowserstackInfra','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','/wd/hub','caps_','aOjnJ','send','HttpClient','global','ORmws','55xPMmNM','xCPNe','info','getAccessibilityResultsSummary','build','ms:edgeOptions','isUndefined','__setBrowserOptions','bnDpD','chromeOptions_','then','0|2|4|3|5|1','proxySettings','39052CPcLrk','JgJpt','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','10zRJfle','__driversArray','originalBuilder','https://','browserstackAgentObservability','Builder','Modifying\x20webdriver\x20builder','UEyju','edgeOptions_','setServer','url_','VnSsD','mergeDeep','wEMRd','getRequestOptions','IkItU','push','ezusl','Xangb','getAccessibilityResults','zNFWV','proxy_','exports','gBzaf','bNEva','firefoxOptions_','jiaYK','953134yoVarA','/session','Mrrew','27152DdBzCa','get','split','capability','ymTlO','getHttpAgent','../accessibility-automation/helper','getHubUrl','logLevel','__drivers','storeOptimalHubUrl','../../../hubAllocationMethods','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','CAPABILITY_KEY','NFzRz','ITLZM','Setting\x20Browserstack\x20capabilities','Ewacn','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','getGlobal','capabilities_','aIMvg','requireSeleniumWebdriver','354477dPEhSA','735755xRagiI','npVDo','PKJzN','2WInvzP','setCapabilities','goog:chromeOptions','../../../helpers/globals','../../../bin/utils/constants','EYVmw','winstonLogger','ieOptions_','newHubUrl','2300652SrfbYt','tEihW','HDbVT','firefoxOptions','SHGiW','object','pnIpX','kdsAX','error','Mnxwc','531qfmxBf','safariOptions_','path','updateHubUrl','quitCount_'];a29_0x51d4=function(){return _0x43322a;};return a29_0x51d4();}function a29_0x9b94(_0x37bf99,_0x46b1ec){const _0x51d486=a29_0x51d4();return a29_0x9b94=function(_0x9b94cc,_0x304459){_0x9b94cc=_0x9b94cc-0x130;let _0x5128cd=_0x51d486[_0x9b94cc];return _0x5128cd;},a29_0x9b94(_0x37bf99,_0x46b1ec);}const logger=require('../../../helpers/logger')[a29_0x1c9b62(0x151)],helper=require('../../../helpers/helper'),constants=require(a29_0x1c9b62(0x14f)),hubAllocator=require(a29_0x1c9b62(0x13b)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x1c9b62(0x136)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x1c9b62(0x14e)),modify=(_0x34bdc9,_0x3bdb31=null,_0x2837ab=![])=>{const _0x3ac733=a29_0x1c9b62,_0x240cf4={'Ewacn':function(_0x243302,_0x131f7e){return _0x243302!==_0x131f7e;},'SHGiW':_0x3ac733(0x1a8),'xCPNe':function(_0x5017ee,_0xac15d3){return _0x5017ee+_0xac15d3;},'aIMvg':_0x3ac733(0x18f),'UEyju':_0x3ac733(0x175),'tEihW':_0x3ac733(0x14d),'Bsled':'chromeOptions','QgMsh':_0x3ac733(0x181),'NFzRz':'edgeOptions','VnSsD':'moz:firefoxOptions','ORmws':_0x3ac733(0x157),'pnIpX':_0x3ac733(0x16e),'ezusl':'se:ieOptions','kdsAX':'ieOptions','ymTlO':function(_0x284886,_0x235608){return _0x284886===_0x235608;},'ITLZM':_0x3ac733(0x159),'bNEva':_0x3ac733(0x140),'kzRSB':_0x3ac733(0x164),'zNFWV':_0x3ac733(0x142),'aOjnJ':function(_0x2e969c,_0x54d119,_0x45ded0){return _0x2e969c(_0x54d119,_0x45ded0);},'vdSKM':function(_0x236d43,_0x4f6d3a,_0x5c5f50){return _0x236d43(_0x4f6d3a,_0x5c5f50);},'bnDpD':_0x3ac733(0x187),'EYVmw':function(_0x2726d3,_0xc58b68){return _0x2726d3(_0xc58b68);},'jiaYK':_0x3ac733(0x16b),'Mnxwc':'isAccessibilityPlatform','Mrrew':function(_0x44c1a0,_0x3e7d17,_0x5b106f){return _0x44c1a0(_0x3e7d17,_0x5b106f);},'gBzaf':function(_0x5ba6f9){return _0x5ba6f9();},'gUvuR':function(_0x412c1d,_0x2862f0){return _0x412c1d(_0x2862f0);},'PKJzN':_0x3ac733(0x13c),'IkItU':function(_0x2f93f8,_0x479345){return _0x2f93f8(_0x479345);},'wEMRd':function(_0x28aa86,_0x1fa262){return _0x28aa86!==_0x1fa262;},'Xangb':_0x3ac733(0x18b),'HDbVT':_0x3ac733(0x192)},_0x2606f6=helper['requireHttpClient']();let _0x394ed2;try{_0x394ed2=helper[_0x3ac733(0x146)](),_0x394ed2['originalBuilder']&&(_0x394ed2[_0x3ac733(0x191)]=_0x394ed2[_0x3ac733(0x18e)]);}catch(_0x49a4bc){return;}if(helper['isBrowserstackInfra']()){const _0x2ec27e={};_0x2ec27e[_0x3ac733(0x138)]=_0x34bdc9['browserStackLogLevel'],helper[_0x3ac733(0x167)](_0x2ec27e,new Map(),new Map()),logger[_0x3ac733(0x17e)](_0x240cf4[_0x3ac733(0x19e)]),logger[_0x3ac733(0x16d)](_0x240cf4[_0x3ac733(0x156)]);}class _0x28e599 extends _0x2606f6[_0x3ac733(0x179)]{[_0x3ac733(0x178)](_0xecdabd){const _0x225d95=_0x3ac733;if(_0x240cf4[_0x225d95(0x141)](_0xecdabd[_0x225d95(0x160)],_0x240cf4[_0x225d95(0x158)])&&_0x240cf4[_0x225d95(0x141)](global[_0x225d95(0x153)],''))try{global['newHubUrl']=_0x240cf4[_0x225d95(0x17d)](_0x240cf4[_0x225d95(0x17d)](_0x240cf4[_0x225d95(0x145)],global['newHubUrl']),_0x240cf4[_0x225d95(0x193)]),this[_0x225d95(0x170)]=hubAllocator[_0x225d95(0x19a)](global[_0x225d95(0x153)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global['newHubUrl']='';}catch(_0x4e93b5){logger[_0x225d95(0x15c)](_0x4e93b5);}return super[_0x225d95(0x178)](_0xecdabd);}}class _0x2bc71a extends _0x394ed2['Builder']{['setServer'](){const _0xe502d1=_0x3ac733;return this[_0xe502d1(0x196)]=helper[_0xe502d1(0x137)](_0x34bdc9),logger['debug'](_0xe502d1(0x168)+this[_0xe502d1(0x196)]),this;}[_0x3ac733(0x183)](_0x2ccda1){const _0x49b44f=_0x3ac733;let _0x53249f={};for(const _0x38b1fc in _0x2ccda1){switch(_0x38b1fc){case _0x240cf4[_0x49b44f(0x155)]:case _0x240cf4['Bsled']:this[_0x49b44f(0x185)]&&(_0x53249f=this[_0x49b44f(0x185)][_0x49b44f(0x131)](this[_0x49b44f(0x185)]['CAPABILITY_KEY'])||{},this[_0x49b44f(0x185)][_0x49b44f(0x16a)](this[_0x49b44f(0x185)]['CAPABILITY_KEY'],helper[_0x49b44f(0x198)](_0x53249f,_0x2ccda1[_0x38b1fc])));break;case _0x240cf4[_0x49b44f(0x169)]:case _0x240cf4[_0x49b44f(0x13e)]:this[_0x49b44f(0x194)]&&(_0x53249f=this[_0x49b44f(0x194)]['get'](this[_0x49b44f(0x194)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0x49b44f(0x16a)](this[_0x49b44f(0x194)]['CAPABILITY_KEY'],helper[_0x49b44f(0x198)](_0x53249f,_0x2ccda1[_0x38b1fc])));break;case _0x240cf4[_0x49b44f(0x197)]:case _0x240cf4[_0x49b44f(0x17b)]:this[_0x49b44f(0x1a5)]&&(_0x53249f=this['firefoxOptions_'][_0x49b44f(0x131)](this[_0x49b44f(0x1a5)][_0x49b44f(0x13d)])||{},this[_0x49b44f(0x1a5)]['set'](this['firefoxOptions_'][_0x49b44f(0x13d)],helper[_0x49b44f(0x198)](_0x53249f,_0x2ccda1[_0x38b1fc])));break;case _0x240cf4[_0x49b44f(0x15a)]:this[_0x49b44f(0x15f)]&&(_0x53249f=this['safariOptions_'][_0x49b44f(0x131)](this[_0x49b44f(0x15f)]['CAPABILITY_KEY'])||{},this[_0x49b44f(0x15f)][_0x49b44f(0x16a)](this['safariOptions_']['CAPABILITY_KEY'],helper[_0x49b44f(0x198)](_0x53249f,_0x2ccda1[_0x38b1fc])));break;case _0x240cf4[_0x49b44f(0x19d)]:case _0x240cf4[_0x49b44f(0x15b)]:this[_0x49b44f(0x152)]&&(_0x53249f=this[_0x49b44f(0x152)]['get'](this[_0x49b44f(0x152)][_0x49b44f(0x13d)])||{},this['ieOptions_'][_0x49b44f(0x16a)](this[_0x49b44f(0x152)][_0x49b44f(0x13d)],helper['mergeDeep'](_0x53249f,_0x2ccda1[_0x38b1fc])));break;}}}[_0x3ac733(0x14c)](){const _0x50388e=_0x3ac733,_0xc52b1d={'Otpwv':function(_0x6219d4,_0x3d17fa){const _0x18bceb=a29_0x9b94;return _0x240cf4[_0x18bceb(0x134)](_0x6219d4,_0x3d17fa);},'MfXvd':_0x240cf4[_0x50388e(0x13f)]};return logger[_0x50388e(0x16d)](_0x240cf4[_0x50388e(0x1a4)]),this[_0x50388e(0x183)](_0x34bdc9[_0x50388e(0x133)]),Object['keys'](_0x34bdc9[_0x50388e(0x133)])['forEach'](_0x5c27b8=>{const _0x36a0f5=_0x50388e,_0x16387f=this[_0x36a0f5(0x144)][_0x36a0f5(0x131)](_0x5c27b8);_0xc52b1d['Otpwv'](typeof _0x16387f,_0xc52b1d[_0x36a0f5(0x16c)])?this[_0x36a0f5(0x144)]['set'](_0x5c27b8,helper[_0x36a0f5(0x198)](_0x16387f,_0x34bdc9[_0x36a0f5(0x133)][_0x5c27b8])):this[_0x36a0f5(0x144)]['set'](_0x5c27b8,_0x34bdc9[_0x36a0f5(0x133)][_0x5c27b8]);}),this;}[_0x3ac733(0x180)](){const _0x57fa8b=_0x3ac733,_0x4d31a9={'Kfefx':function(_0x123294,_0x38e76c,_0x598e72){const _0x180b89=a29_0x9b94;return _0x240cf4[_0x180b89(0x165)](_0x123294,_0x38e76c,_0x598e72);},'npVDo':function(_0x46a519,_0x124c3a,_0x2e3082){return _0x240cf4['aOjnJ'](_0x46a519,_0x124c3a,_0x2e3082);},'DvhKt':_0x240cf4[_0x57fa8b(0x184)],'JgJpt':function(_0x4f0301,_0xe2c97e){const _0x57edad=_0x57fa8b;return _0x240cf4[_0x57edad(0x150)](_0x4f0301,_0xe2c97e);}};if(helper[_0x57fa8b(0x173)]()){const _0x334c96=_0x240cf4[_0x57fa8b(0x1a6)]['split']('|');let _0x156bd8=0x0;while(!![]){switch(_0x334c96[_0x156bd8++]){case'0':globals[_0x57fa8b(0x143)](_0x240cf4[_0x57fa8b(0x15d)])&&(!_0x240cf4[_0x57fa8b(0x1a9)](setExtension,this,_0x34bdc9)&&globals['setGlobal'](_0x240cf4[_0x57fa8b(0x15d)],![]));continue;case'1':_0x240cf4[_0x57fa8b(0x1a3)](isAccessibilityAutomationSession)&&_0x240cf4['gUvuR'](setAccessibilityCapabilities,_0x34bdc9);continue;case'2':logger[_0x57fa8b(0x16d)](_0x240cf4[_0x57fa8b(0x14a)]);continue;case'3':if(helper['isPacProxy'](_0x34bdc9['proxySettings'][_0x57fa8b(0x171)]))this['agent_']=helper[_0x57fa8b(0x135)](_0x34bdc9[_0x57fa8b(0x188)][_0x57fa8b(0x171)]);else _0x34bdc9[_0x57fa8b(0x188)][_0x57fa8b(0x171)]&&(this[_0x57fa8b(0x1a1)]=_0x34bdc9[_0x57fa8b(0x188)]['proxyUrl'],logger['debug'](_0x57fa8b(0x16f)+this[_0x57fa8b(0x1a1)]));continue;case'4':this[_0x57fa8b(0x195)]();continue;case'5':this[_0x57fa8b(0x14c)]();continue;}break;}}const _0x378557=super['build']();return _0x378557['session_'][_0x57fa8b(0x186)](_0x57151f=>{const _0x17595d=_0x57fa8b;try{const _0x310ca4=_0x57151f[_0x17595d(0x176)]['get'](_0x240cf4['kzRSB']);_0x310ca4?(logger['debug'](_0x17595d(0x174)+_0x310ca4),hubAllocator[_0x17595d(0x161)](_0x310ca4),helper[_0x17595d(0x13a)](_0x310ca4)):logger[_0x17595d(0x16d)](_0x240cf4[_0x17595d(0x1a0)]);}catch(_0x3faa1e){logger[_0x17595d(0x16d)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x3faa1e);}}),_0x378557[_0x57fa8b(0x162)]=0x0,_0x378557[_0x57fa8b(0x186)]&&_0x378557['then'](_0x3e27c9=>{const _0x38bd8f=_0x57fa8b,_0x1de58e=_0x4d31a9['DvhKt'][_0x38bd8f(0x132)]('|');let _0x381897=0x0;while(!![]){switch(_0x1de58e[_0x381897++]){case'0':_0x4d31a9[_0x38bd8f(0x149)](overrideQuit,_0x3e27c9,_0x378557);continue;case'1':_0x3e27c9[_0x38bd8f(0x19f)]=async()=>{const _0xa90704=_0x38bd8f;return await _0x4d31a9[_0xa90704(0x149)](getAccessibilityResults,_0x3e27c9,global);};continue;case'2':_0x4d31a9[_0x38bd8f(0x18a)](overrideTakeScreenshot,_0x3e27c9);continue;case'3':helper['overrideExecute'](_0x3e27c9,_0x34bdc9);continue;case'4':helper[_0x38bd8f(0x172)](_0x3e27c9,_0x34bdc9);continue;case'5':_0x3e27c9[_0x38bd8f(0x17f)]=async()=>{return await _0x4d31a9['Kfefx'](getAccessibilityResultsSummary,_0x3e27c9,global);};continue;}break;}}),_0x378557['getAccessibilityResultsSummary']=async()=>{const _0x5a686c=_0x57fa8b;return await _0x240cf4[_0x5a686c(0x177)](getAccessibilityResultsSummary,_0x378557,global);},_0x378557[_0x57fa8b(0x19f)]=async()=>{return await _0x4d31a9['npVDo'](getAccessibilityResults,_0x378557,global);},_0x240cf4[_0x57fa8b(0x19b)](overrideTakeScreenshot,_0x378557),_0x240cf4[_0x57fa8b(0x19b)](overrideQuit,_0x378557),helper[_0x57fa8b(0x172)](_0x378557,_0x34bdc9),helper['overrideExecute'](_0x378557,_0x34bdc9),helper['isUndefined'](global[_0x57fa8b(0x18d)])&&(global[_0x57fa8b(0x18d)]=[]),helper[_0x57fa8b(0x182)](global[_0x57fa8b(0x139)])&&(global[_0x57fa8b(0x139)]=[]),global[_0x57fa8b(0x18d)]['push'](_0x378557),global[_0x57fa8b(0x166)]=_0x378557,_0x240cf4[_0x57fa8b(0x141)](global[_0x57fa8b(0x139)],undefined)&&global[_0x57fa8b(0x139)][_0x57fa8b(0x19c)](_0x378557),_0x3bdb31&&helper['isUndefined'](_0x3bdb31[_0x57fa8b(0x17a)][_0x57fa8b(0x18d)])&&(_0x3bdb31[_0x57fa8b(0x17a)][_0x57fa8b(0x18d)]=[]),_0x3bdb31&&_0x240cf4[_0x57fa8b(0x199)](_0x3bdb31['global']['__drivers'],undefined)&&(_0x3bdb31[_0x57fa8b(0x17a)][_0x57fa8b(0x139)][_0x57fa8b(0x19c)](_0x378557),_0x3bdb31[_0x57fa8b(0x17a)][_0x57fa8b(0x18d)]['push'](_0x378557)),_0x378557;}}return _0x394ed2[_0x3ac733(0x18e)]=_0x394ed2[_0x3ac733(0x191)],_0x394ed2[_0x3ac733(0x191)]=_0x2bc71a,_0x2606f6['HttpClient']=_0x28e599,_0x394ed2;};module[a29_0x1c9b62(0x1a2)][a29_0x1c9b62(0x190)]=modify;
1
+ function a29_0x2533(_0x2ecee3,_0x3774d8){const _0x1b6dfb=a29_0x1b6d();return a29_0x2533=function(_0x2533a7,_0x1c98b4){_0x2533a7=_0x2533a7-0x18f;let _0x3fd7e5=_0x1b6dfb[_0x2533a7];return _0x3fd7e5;},a29_0x2533(_0x2ecee3,_0x3774d8);}function a29_0x1b6d(){const _0x2b7832=['isPacProxy','eBxmX','exports','__setBrowserOptions','hPoGJ','quitCount_','agent_','mergeDeep','edgeOptions_','se:ieOptions','YTZvI','lJTFF','getHttpAgent','0|2|4|1|3|5','get','Proxy\x20set\x20to\x20','browserstackAgentObservability','XUlvV','https://','../../../hubAllocationMethods','zLqcl','IrRLU','8bLPvac','DgAhK','eapMB','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','originalBuilder','HttpClient','iZfIf','590887XOhCVu','requireHttpClient','global','208696suffou','getAccessibilityResults','246ZrRBDh','../../../helpers/logger','updateHubUrl','vzpRD','chromeOptions','12ciGhJz','setGlobal','__driversArray','goog:chromeOptions','caps_','build','AlnhP','overrideGet','url_','/wd/hub','getHubUrl','__drivers','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','path','getGlobal','Gixbs','cbBht','set','28fVTfQt','KNoxH','CAPABILITY_KEY','safari.options','../../../helpers/globals','proxy_','twVdX','Builder','then','ms:edgeOptions','nEZVe','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','storeOptimalHubUrl','capability','error','requireSeleniumWebdriver','../../../helpers/helper','newHubUrl','isBrowserstackInfra','CAbrk','safariOptions_','ieOptions','getRequestOptions','438524hxOkfI','FtdPY','BDTwN','forEach','RVlIO','27155bgpwEc','overrideExecute','push','isUndefined','winstonLogger','edgeOptions','__driver','dYIaT','NmUmj','browserStackLogLevel','split','ieOptions_','YbkyA','dYRyI','proxyUrl','proxySettings','nIurZ','../../../helpers/accessibility-automation/helper','object','logLevel','839976apHVPc','send','381093ksbEbZ','capabilities_','setCapabilities','Setting\x20Browserstack\x20capabilities','debug','LTDRk','Hub\x20url\x20set\x20to\x20','firefoxOptions_','grpNn','10bxSxka','chromeOptions_','session_','TyQzP','../../../bin/utils/constants','WOOPU','firefoxOptions','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','isAccessibilityPlatform','setServer','2247822JMcSZw'];a29_0x1b6d=function(){return _0x2b7832;};return a29_0x1b6d();}const a29_0x6aebee=a29_0x2533;(function(_0x1ea918,_0x5b9f54){const _0x31e85f=a29_0x2533,_0x1bf321=_0x1ea918();while(!![]){try{const _0x795101=parseInt(_0x31e85f(0x1b4))/0x1+-parseInt(_0x31e85f(0x1e4))/0x2+parseInt(_0x31e85f(0x1ff))/0x3*(parseInt(_0x31e85f(0x1aa))/0x4)+parseInt(_0x31e85f(0x1e9))/0x5*(parseInt(_0x31e85f(0x1b6))/0x6)+parseInt(_0x31e85f(0x1cd))/0x7*(-parseInt(_0x31e85f(0x1fd))/0x8)+parseInt(_0x31e85f(0x193))/0x9*(parseInt(_0x31e85f(0x208))/0xa)+parseInt(_0x31e85f(0x1b1))/0xb*(-parseInt(_0x31e85f(0x1bb))/0xc);if(_0x795101===_0x5b9f54)break;else _0x1bf321['push'](_0x1bf321['shift']());}catch(_0x2bfe36){_0x1bf321['push'](_0x1bf321['shift']());}}}(a29_0x1b6d,0x3b22c));const logger=require(a29_0x6aebee(0x1b7))[a29_0x6aebee(0x1ed)],helper=require(a29_0x6aebee(0x1dd)),constants=require(a29_0x6aebee(0x20c)),hubAllocator=require(a29_0x6aebee(0x1a7)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x6aebee(0x1fa)),globals=require(a29_0x6aebee(0x1d1)),modify=(_0x566e1f,_0x5b5df6=null,_0x350ef8=![])=>{const _0x117ee3=a29_0x6aebee,_0x249f86={'RVlIO':function(_0x2877b8,_0x37033c){return _0x2877b8!==_0x37033c;},'dWcWW':'/session','dYIaT':function(_0x70c73e,_0x161a3a){return _0x70c73e!==_0x161a3a;},'grpNn':function(_0x71f3a3,_0xa9df81){return _0x71f3a3+_0xa9df81;},'hPoGJ':function(_0x1d921f,_0x48cd60){return _0x1d921f+_0x48cd60;},'IrRLU':_0x117ee3(0x1a6),'BDTwN':_0x117ee3(0x1c4),'KNoxH':_0x117ee3(0x1be),'LTDRk':_0x117ee3(0x1ba),'twVdX':_0x117ee3(0x1d6),'WOOPU':_0x117ee3(0x1ee),'lJTFF':'moz:firefoxOptions','oCZKW':_0x117ee3(0x18f),'YbkyA':_0x117ee3(0x1d0),'nwGJS':_0x117ee3(0x19d),'eBxmX':_0x117ee3(0x1e2),'CAbrk':function(_0x4677b7,_0x499552){return _0x4677b7===_0x499552;},'zLqcl':_0x117ee3(0x1fb),'AlnhP':_0x117ee3(0x202),'XUlvV':'optimalHubUrl','nEZVe':_0x117ee3(0x1c7),'AlAle':function(_0x30c93b,_0x5e8ff4,_0x194a61){return _0x30c93b(_0x5e8ff4,_0x194a61);},'TyQzP':function(_0x1c0a97,_0x16e0b0,_0x3970a9){return _0x1c0a97(_0x16e0b0,_0x3970a9);},'nIurZ':function(_0x57c32f,_0x20fc1b){return _0x57c32f(_0x20fc1b);},'dYRyI':function(_0x1cd687,_0x2a3088,_0x10e2ea){return _0x1cd687(_0x2a3088,_0x10e2ea);},'hsmHE':_0x117ee3(0x1a1),'eapMB':function(_0x1038c0){return _0x1038c0();},'YTZvI':_0x117ee3(0x191),'CxImV':_0x117ee3(0x1d8),'vzpRD':function(_0xb9f59f,_0x194f79){return _0xb9f59f(_0x194f79);},'cbBht':function(_0x21971d,_0x4a2574){return _0x21971d!==_0x4a2574;},'Gixbs':function(_0x20bacd,_0x51a034){return _0x20bacd!==_0x51a034;},'NmUmj':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','FtdPY':'Modifying\x20webdriver\x20builder'},_0x4ff5a3=helper[_0x117ee3(0x1b2)]();let _0x1e2d16;try{_0x1e2d16=helper[_0x117ee3(0x1dc)](),_0x1e2d16[_0x117ee3(0x1ae)]&&(_0x1e2d16[_0x117ee3(0x1d4)]=_0x1e2d16[_0x117ee3(0x1ae)]);}catch(_0x554ce0){return;}if(helper[_0x117ee3(0x1df)]()){const _0x43515b={};_0x43515b[_0x117ee3(0x1fc)]=_0x566e1f[_0x117ee3(0x1f2)],helper['setLogLevel'](_0x43515b,new Map(),new Map()),logger['info'](_0x249f86[_0x117ee3(0x1f1)]),logger['debug'](_0x249f86[_0x117ee3(0x1e5)]);}class _0x3bd8a7 extends _0x4ff5a3['HttpClient']{['send'](_0x21aab0){const _0x5b8268=_0x117ee3;if(_0x249f86[_0x5b8268(0x1e8)](_0x21aab0[_0x5b8268(0x1c8)],_0x249f86['dWcWW'])&&_0x249f86[_0x5b8268(0x1f0)](global[_0x5b8268(0x1de)],''))try{global[_0x5b8268(0x1de)]=_0x249f86[_0x5b8268(0x207)](_0x249f86[_0x5b8268(0x198)](_0x249f86[_0x5b8268(0x1a9)],global['newHubUrl']),_0x249f86[_0x5b8268(0x1e6)]),this['options_']=hubAllocator[_0x5b8268(0x1e3)](global[_0x5b8268(0x1de)]),logger[_0x5b8268(0x203)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x5b8268(0x1de)]),global[_0x5b8268(0x1de)]='';}catch(_0x35b8b6){logger[_0x5b8268(0x1db)](_0x35b8b6);}return super[_0x5b8268(0x1fe)](_0x21aab0);}}class _0x20684e extends _0x1e2d16[_0x117ee3(0x1d4)]{[_0x117ee3(0x192)](){const _0x3aadf3=_0x117ee3;return this[_0x3aadf3(0x1c3)]=helper[_0x3aadf3(0x1c5)](_0x566e1f),logger['debug'](_0x3aadf3(0x205)+this[_0x3aadf3(0x1c3)]),this;}[_0x117ee3(0x197)](_0x3f4f10){const _0x4d4592=_0x117ee3;let _0x7b640d={};for(const _0x36ea3b in _0x3f4f10){switch(_0x36ea3b){case _0x249f86[_0x4d4592(0x1ce)]:case _0x249f86[_0x4d4592(0x204)]:this[_0x4d4592(0x209)]&&(_0x7b640d=this[_0x4d4592(0x209)][_0x4d4592(0x1a2)](this[_0x4d4592(0x209)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x4d4592(0x1cc)](this['chromeOptions_'][_0x4d4592(0x1cf)],helper[_0x4d4592(0x19b)](_0x7b640d,_0x3f4f10[_0x36ea3b])));break;case _0x249f86[_0x4d4592(0x1d3)]:case _0x249f86[_0x4d4592(0x20d)]:this[_0x4d4592(0x19c)]&&(_0x7b640d=this[_0x4d4592(0x19c)]['get'](this[_0x4d4592(0x19c)][_0x4d4592(0x1cf)])||{},this[_0x4d4592(0x19c)]['set'](this[_0x4d4592(0x19c)]['CAPABILITY_KEY'],helper[_0x4d4592(0x19b)](_0x7b640d,_0x3f4f10[_0x36ea3b])));break;case _0x249f86[_0x4d4592(0x19f)]:case _0x249f86['oCZKW']:this[_0x4d4592(0x206)]&&(_0x7b640d=this['firefoxOptions_'][_0x4d4592(0x1a2)](this[_0x4d4592(0x206)][_0x4d4592(0x1cf)])||{},this[_0x4d4592(0x206)][_0x4d4592(0x1cc)](this[_0x4d4592(0x206)][_0x4d4592(0x1cf)],helper['mergeDeep'](_0x7b640d,_0x3f4f10[_0x36ea3b])));break;case _0x249f86[_0x4d4592(0x1f5)]:this[_0x4d4592(0x1e1)]&&(_0x7b640d=this['safariOptions_'][_0x4d4592(0x1a2)](this[_0x4d4592(0x1e1)]['CAPABILITY_KEY'])||{},this[_0x4d4592(0x1e1)]['set'](this['safariOptions_'][_0x4d4592(0x1cf)],helper['mergeDeep'](_0x7b640d,_0x3f4f10[_0x36ea3b])));break;case _0x249f86['nwGJS']:case _0x249f86[_0x4d4592(0x195)]:this[_0x4d4592(0x1f4)]&&(_0x7b640d=this[_0x4d4592(0x1f4)][_0x4d4592(0x1a2)](this[_0x4d4592(0x1f4)]['CAPABILITY_KEY'])||{},this[_0x4d4592(0x1f4)][_0x4d4592(0x1cc)](this['ieOptions_'][_0x4d4592(0x1cf)],helper[_0x4d4592(0x19b)](_0x7b640d,_0x3f4f10[_0x36ea3b])));break;}}}['setCapabilities'](){const _0x457733=_0x117ee3;return logger[_0x457733(0x203)](_0x249f86[_0x457733(0x1c1)]),this[_0x457733(0x197)](_0x566e1f[_0x457733(0x1da)]),Object['keys'](_0x566e1f['capability'])[_0x457733(0x1e7)](_0x452d43=>{const _0x32e784=_0x457733,_0x4e19bb=this['capabilities_'][_0x32e784(0x1a2)](_0x452d43);_0x249f86[_0x32e784(0x1e0)](typeof _0x4e19bb,_0x249f86[_0x32e784(0x1a8)])?this[_0x32e784(0x200)]['set'](_0x452d43,helper[_0x32e784(0x19b)](_0x4e19bb,_0x566e1f[_0x32e784(0x1da)][_0x452d43])):this[_0x32e784(0x200)][_0x32e784(0x1cc)](_0x452d43,_0x566e1f['capability'][_0x452d43]);}),this;}[_0x117ee3(0x1c0)](){const _0xdd7179=_0x117ee3,_0x372eab={'DgAhK':function(_0x25d464,_0x2f257e,_0x2284fe){const _0x4afdb3=a29_0x2533;return _0x249f86[_0x4afdb3(0x1f6)](_0x25d464,_0x2f257e,_0x2284fe);}};if(helper[_0xdd7179(0x1df)]()){const _0x56f720=_0x249f86['hsmHE'][_0xdd7179(0x1f3)]('|');let _0x18962f=0x0;while(!![]){switch(_0x56f720[_0x18962f++]){case'0':_0x249f86[_0xdd7179(0x1ac)](isAccessibilityAutomationSession)&&_0x249f86[_0xdd7179(0x1f9)](setAccessibilityCapabilities,_0x566e1f);continue;case'1':if(helper[_0xdd7179(0x194)](_0x566e1f['proxySettings'][_0xdd7179(0x1f7)]))this[_0xdd7179(0x19a)]=helper[_0xdd7179(0x1a0)](_0x566e1f[_0xdd7179(0x1f8)][_0xdd7179(0x1f7)]);else _0x566e1f[_0xdd7179(0x1f8)][_0xdd7179(0x1f7)]&&(this['proxy_']=_0x566e1f[_0xdd7179(0x1f8)][_0xdd7179(0x1f7)],logger[_0xdd7179(0x203)](_0xdd7179(0x1a3)+this[_0xdd7179(0x1d2)]));continue;case'2':this[_0xdd7179(0x192)]();continue;case'3':globals[_0xdd7179(0x1c9)](_0x249f86[_0xdd7179(0x19e)])&&(!_0x249f86[_0xdd7179(0x20b)](setExtension,this,_0x566e1f)&&globals[_0xdd7179(0x1bc)](_0x249f86[_0xdd7179(0x19e)],![]));continue;case'4':this[_0xdd7179(0x201)]();continue;case'5':logger[_0xdd7179(0x203)](_0x249f86['CxImV']);continue;}break;}}const _0x117c83=super[_0xdd7179(0x1c0)]();return _0x117c83[_0xdd7179(0x20a)][_0xdd7179(0x1d5)](_0x3c799a=>{const _0x409b38=_0xdd7179;try{const _0x45e0f2=_0x3c799a[_0x409b38(0x1bf)][_0x409b38(0x1a2)](_0x249f86[_0x409b38(0x1a5)]);_0x45e0f2?(logger[_0x409b38(0x203)](_0x409b38(0x1ad)+_0x45e0f2),hubAllocator[_0x409b38(0x1b8)](_0x45e0f2),helper[_0x409b38(0x1d9)](_0x45e0f2)):logger['debug'](_0x249f86[_0x409b38(0x1d7)]);}catch(_0x5b7e99){logger[_0x409b38(0x203)](_0x409b38(0x190)+_0x5b7e99);}}),_0x117c83[_0xdd7179(0x199)]=0x0,_0x117c83[_0xdd7179(0x1d5)]&&_0x117c83[_0xdd7179(0x1d5)](_0x1ca79b=>{const _0xec94e3=_0xdd7179,_0x631bd9={'iZfIf':function(_0x2bd906,_0x5084e4,_0x4230c9){return _0x249f86['AlAle'](_0x2bd906,_0x5084e4,_0x4230c9);}};_0x249f86[_0xec94e3(0x20b)](overrideQuit,_0x1ca79b,_0x117c83),_0x249f86[_0xec94e3(0x1f9)](overrideTakeScreenshot,_0x1ca79b),helper[_0xec94e3(0x1c2)](_0x1ca79b,_0x566e1f),helper[_0xec94e3(0x1ea)](_0x1ca79b,_0x566e1f),_0x1ca79b['getAccessibilityResultsSummary']=async()=>{const _0x1a97f4=_0xec94e3;return await _0x372eab[_0x1a97f4(0x1ab)](getAccessibilityResultsSummary,_0x1ca79b,global);},_0x1ca79b[_0xec94e3(0x1b5)]=async()=>{const _0x4c6958=_0xec94e3;return await _0x631bd9[_0x4c6958(0x1b0)](getAccessibilityResults,_0x1ca79b,global);};}),_0x117c83['getAccessibilityResultsSummary']=async()=>{return await _0x249f86['TyQzP'](getAccessibilityResultsSummary,_0x117c83,global);},_0x117c83[_0xdd7179(0x1b5)]=async()=>{const _0x515965=_0xdd7179;return await _0x249f86[_0x515965(0x1f6)](getAccessibilityResults,_0x117c83,global);},_0x249f86[_0xdd7179(0x1f9)](overrideTakeScreenshot,_0x117c83),_0x249f86[_0xdd7179(0x1b9)](overrideQuit,_0x117c83),helper[_0xdd7179(0x1c2)](_0x117c83,_0x566e1f),helper[_0xdd7179(0x1ea)](_0x117c83,_0x566e1f),helper['isUndefined'](global['__driversArray'])&&(global[_0xdd7179(0x1bd)]=[]),helper[_0xdd7179(0x1ec)](global[_0xdd7179(0x1c6)])&&(global[_0xdd7179(0x1c6)]=[]),global['__driversArray'][_0xdd7179(0x1eb)](_0x117c83),global[_0xdd7179(0x1ef)]=_0x117c83,_0x249f86[_0xdd7179(0x1cb)](global[_0xdd7179(0x1c6)],undefined)&&global[_0xdd7179(0x1c6)][_0xdd7179(0x1eb)](_0x117c83),_0x5b5df6&&helper[_0xdd7179(0x1ec)](_0x5b5df6[_0xdd7179(0x1b3)]['__driversArray'])&&(_0x5b5df6[_0xdd7179(0x1b3)]['__driversArray']=[]),_0x5b5df6&&_0x249f86[_0xdd7179(0x1ca)](_0x5b5df6[_0xdd7179(0x1b3)]['__drivers'],undefined)&&(_0x5b5df6[_0xdd7179(0x1b3)][_0xdd7179(0x1c6)][_0xdd7179(0x1eb)](_0x117c83),_0x5b5df6[_0xdd7179(0x1b3)][_0xdd7179(0x1bd)][_0xdd7179(0x1eb)](_0x117c83)),_0x117c83;}}return _0x1e2d16[_0x117ee3(0x1ae)]=_0x1e2d16[_0x117ee3(0x1d4)],_0x1e2d16[_0x117ee3(0x1d4)]=_0x20684e,_0x4ff5a3[_0x117ee3(0x1af)]=_0x3bd8a7,_0x1e2d16;};module[a29_0x6aebee(0x196)][a29_0x6aebee(0x1a4)]=modify;
@@ -1 +1 @@
1
- const a30_0x2adc56=a30_0x446c;(function(_0x2c89d8,_0xc2610b){const _0x173f8b=a30_0x446c,_0x29bc6d=_0x2c89d8();while(!![]){try{const _0xd74a73=-parseInt(_0x173f8b(0xbb))/0x1+parseInt(_0x173f8b(0xbc))/0x2+-parseInt(_0x173f8b(0xba))/0x3+-parseInt(_0x173f8b(0xc0))/0x4+parseInt(_0x173f8b(0xbf))/0x5+parseInt(_0x173f8b(0xc3))/0x6+parseInt(_0x173f8b(0xc6))/0x7*(parseInt(_0x173f8b(0xc2))/0x8);if(_0xd74a73===_0xc2610b)break;else _0x29bc6d['push'](_0x29bc6d['shift']());}catch(_0x1cf8db){_0x29bc6d['push'](_0x29bc6d['shift']());}}}(a30_0x5c34,0x34285));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x2adc56(0xc4)),{addRequestSpy}=require(a30_0x2adc56(0xbe));function a30_0x446c(_0x563564,_0xb2bc56){const _0x5c34cf=a30_0x5c34();return a30_0x446c=function(_0x446c8f,_0x45762d){_0x446c8f=_0x446c8f-0xba;let _0x42d0a0=_0x5c34cf[_0x446c8f];return _0x42d0a0;},a30_0x446c(_0x563564,_0xb2bc56);}exports['mochaHooks']={'beforeAll'(){const _0x231e86=a30_0x2adc56,_0xe95e6={'zJlTw':function(_0x2bf2e1){return _0x2bf2e1();}},_0x455f86='browserstack internal helper hook';_0xe95e6[_0x231e86(0xbd)](addRequestSpy);},'afterAll'(){const _0x479877=a30_0x2adc56,_0x23ab0e='browserstack internal helper hook';this[_0x479877(0xc5)](0xea60),requestSpy[_0x479877(0xc1)]();}};function a30_0x5c34(){const _0x6f8b20=['zJlTw','../../../helpers/test-observability/utils','1681610GViPbN','1634728dzKbWu','restore','24utxCao','802206CklEsF','../../../bin/utils/constants','timeout','1292417IHiVHr','1087374fbKIJd','179865zStlEx','281452evKGYg'];a30_0x5c34=function(){return _0x6f8b20;};return a30_0x5c34();}
1
+ function a30_0x549b(){const _0x17ee3e=['66393OSaMAz','11937779xrcOVE','1061080lYZNNf','43681aiMiLT','11287476iZXaSa','../../../helpers/test-observability/utils','1108944facZhm','6BeVbdt','7461305cAHQtA','156EtqnBW','restore'];a30_0x549b=function(){return _0x17ee3e;};return a30_0x549b();}const a30_0x3a781e=a30_0x312f;(function(_0x2eab9c,_0x1cab80){const _0xf70366=a30_0x312f,_0x27a40a=_0x2eab9c();while(!![]){try{const _0x5d7644=-parseInt(_0xf70366(0x18d))/0x1+parseInt(_0xf70366(0x190))/0x2+-parseInt(_0xf70366(0x195))/0x3*(parseInt(_0xf70366(0x193))/0x4)+parseInt(_0xf70366(0x192))/0x5*(-parseInt(_0xf70366(0x191))/0x6)+parseInt(_0xf70366(0x196))/0x7+-parseInt(_0xf70366(0x18c))/0x8+parseInt(_0xf70366(0x18e))/0x9;if(_0x5d7644===_0x1cab80)break;else _0x27a40a['push'](_0x27a40a['shift']());}catch(_0x1229a7){_0x27a40a['push'](_0x27a40a['shift']());}}}(a30_0x549b,0xefd4b));function a30_0x312f(_0x1d1471,_0x2af4f8){const _0x549b1c=a30_0x549b();return a30_0x312f=function(_0x312fd0,_0x8c6900){_0x312fd0=_0x312fd0-0x18c;let _0x3dec7a=_0x549b1c[_0x312fd0];return _0x3dec7a;},a30_0x312f(_0x1d1471,_0x2af4f8);}const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x3a781e(0x18f));exports['mochaHooks']={'beforeAll'(){const _0x45bd17={'zryGK':function(_0x59436c){return _0x59436c();}},_0x4319f4='browserstack internal helper hook';_0x45bd17['zryGK'](addRequestSpy);},'afterAll'(){const _0x478876=a30_0x3a781e,_0x4b10e5='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x478876(0x194)]();}};
@@ -1 +1 @@
1
- const a31_0x38d6dd=a31_0xf587;(function(_0x4a3620,_0x29522d){const _0x386bef=a31_0xf587,_0x447584=_0x4a3620();while(!![]){try{const _0x153315=-parseInt(_0x386bef(0x143))/0x1+parseInt(_0x386bef(0x156))/0x2*(-parseInt(_0x386bef(0x151))/0x3)+parseInt(_0x386bef(0x14f))/0x4*(parseInt(_0x386bef(0x142))/0x5)+parseInt(_0x386bef(0x137))/0x6*(-parseInt(_0x386bef(0x14d))/0x7)+-parseInt(_0x386bef(0x166))/0x8*(-parseInt(_0x386bef(0x154))/0x9)+-parseInt(_0x386bef(0x138))/0xa+parseInt(_0x386bef(0x148))/0xb;if(_0x153315===_0x29522d)break;else _0x447584['push'](_0x447584['shift']());}catch(_0x1da37f){_0x447584['push'](_0x447584['shift']());}}}(a31_0x26ca,0x87ed7));function a31_0x26ca(){const _0xb1ab73=['browserstack','failed','cGznz','pending','appium:app','868232qIQcOf','NaQta','vTdld','../../../../package.json','gCMEk','unknown_grid','type','toISOString','_afterAll','../../utils/logPatcher','app','ZNlCs','JvVev','getPlatform','pid','getSession','getBrowserName','YolpY','state','hook:','getHookSkippedTests','lxEMv','getHooksForTest','XTiQR','hook','SFlvC','markedStatus','_afterEach','concat','OkNMi','mKbsK','FWbLN','mEFoS','app-automate','slice','RBaOf','gUJZE','passed','split','keys','DzuyG','getHookDetails','substring','5501508BtiUxd','305480zptKzU','HHihM','uuid','wsuXm','indexOf','string','YnOYs','yGayB','map_','eXkAk','5021810iihXes','569244wkciib','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','forEach','mapTestHooks','hookAnalyticsId','15102780KfIuwj','filter','getCapabilities','_beforeAll','_beforeEach','7UZBfHq','emit','4ixthVW','uXWEH','9684rzrLQG','xsqQX','__cloud_provider___','27ZoyxhZ','../../../helpers/test-observability/constants','390NFrusi','getBrowserVersion','../../../helpers/testhub/utils','lSHbL','parent','bzeTG','bs:addPlatformDetails:','MSyLw','qSEkS','rqxTs','js-'];a31_0x26ca=function(){return _0xb1ab73;};return a31_0x26ca();}const {v4:uuidv4}=require(a31_0x38d6dd(0x13a)),{name,version}=require(a31_0x38d6dd(0x169)),logPatcher=require(a31_0x38d6dd(0x16f)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x38d6dd(0x155)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x38d6dd(0x158));function a31_0xf587(_0x4ade08,_0x408c9f){const _0x26ca02=a31_0x26ca();return a31_0xf587=function(_0xf587c8,_0x336abc){_0xf587c8=_0xf587c8-0x134;let _0x3a4109=_0x26ca02[_0xf587c8];return _0x3a4109;},a31_0xf587(_0x4ade08,_0x408c9f);}console={},Object[a31_0x38d6dd(0x18d)](consoleHolder)[a31_0x38d6dd(0x145)](_0x18291f=>{console[_0x18291f]=(..._0x3c70d7)=>{BSTestOpsPatcher[_0x18291f](..._0x3c70d7);};}),exports['getTestEnv']=()=>{const _0x3a3622=a31_0x38d6dd,_0x1541ac={'vTdld':'generic','HHihM':function(_0x5a9fe5){return _0x5a9fe5();}};return{'ci':_0x1541ac[_0x3a3622(0x168)],'key':_0x1541ac[_0x3a3622(0x139)](uuidv4),'version':version,'collector':_0x3a3622(0x160)+name};},exports[a31_0x38d6dd(0x135)]=_0x2bd107=>{const _0x226cb4=a31_0x38d6dd,_0x42bf9f={};_0x42bf9f[_0x226cb4(0x183)]=function(_0x5bc505,_0x48ca1d){return _0x5bc505!==_0x48ca1d;},_0x42bf9f[_0x226cb4(0x171)]=_0x226cb4(0x13d),_0x42bf9f[_0x226cb4(0x163)]=_0x226cb4(0x179),_0x42bf9f['YnOYs']='hook';const _0x529816=_0x42bf9f;if(!_0x2bd107||_0x529816[_0x226cb4(0x183)](typeof _0x2bd107,_0x529816['ZNlCs']))return[null,null];if(_0x529816[_0x226cb4(0x183)](_0x2bd107['indexOf'](_0x529816[_0x226cb4(0x163)]),-0x1)){const _0x5be5b7=_0x2bd107['split'](_0x529816[_0x226cb4(0x163)]);return[_0x5be5b7[0x0]['slice'](0x0,-0x1)[_0x226cb4(0x18c)]('\x22')[0x1],_0x5be5b7[0x1][_0x226cb4(0x136)](0x1)];}else{if(_0x529816[_0x226cb4(0x183)](_0x2bd107[_0x226cb4(0x13c)](_0x529816[_0x226cb4(0x13e)]),-0x1)){const _0x2f4fae=_0x2bd107[_0x226cb4(0x18c)](_0x529816[_0x226cb4(0x13e)]);return[_0x2f4fae[0x0][_0x226cb4(0x188)](0x0,-0x1)[_0x226cb4(0x18c)]('\x22')[0x1],_0x2bd107];}}return[null,null];},exports[a31_0x38d6dd(0x17c)]=_0xca437f=>{const _0xf1f464=a31_0x38d6dd,_0x2fbd1a={'YolpY':function(_0x484ec4,_0xb916b4){return _0x484ec4(_0xb916b4);},'SFlvC':_0xf1f464(0x14b),'rqxTs':_0xf1f464(0x16e),'eXkAk':'_beforeEach','wsuXm':_0xf1f464(0x181)};if(!_0xca437f||!_0xca437f[_0xf1f464(0x15a)])return[];const _0x211c31=[];return[_0x2fbd1a[_0xf1f464(0x17f)],_0x2fbd1a[_0xf1f464(0x15f)],_0x2fbd1a[_0xf1f464(0x141)],_0x2fbd1a[_0xf1f464(0x13b)]][_0xf1f464(0x145)](_0x4ef51a=>{const _0x2c8a8a=_0xf1f464,_0x14dd35={'jhjAf':function(_0x34d160,_0x3e4a79){const _0x11b03e=a31_0xf587;return _0x2fbd1a[_0x11b03e(0x177)](_0x34d160,_0x3e4a79);}},_0x5b3384=_0xca437f[_0x2c8a8a(0x15a)][_0x4ef51a]||[];_0x5b3384[_0x2c8a8a(0x145)](_0x75ee34=>{const _0x1766d9=_0x2c8a8a;_0x75ee34['hookAnalyticsId']&&!_0x14dd35['jhjAf'](isInternalHook,_0x75ee34['fn'])&&_0x211c31['push'](_0x75ee34[_0x1766d9(0x147)]);});}),[..._0x211c31,...exports[_0xf1f464(0x17c)](_0xca437f['parent'])];},exports[a31_0x38d6dd(0x146)]=_0x1da203=>{const _0x48d9a7=a31_0x38d6dd,_0x392b32={'bzeTG':function(_0x296461){return _0x296461();},'DzuyG':function(_0x5da224,_0x29e4fb){return _0x5da224===_0x29e4fb;},'gUJZE':_0x48d9a7(0x181),'gFOAn':'_beforeAll','MiWpa':'_afterAll','LgXSv':_0x48d9a7(0x14c)};if(!_0x1da203||!_0x1da203['parent'])return;[_0x392b32['gFOAn'],_0x392b32['MiWpa'],_0x392b32['LgXSv'],_0x392b32[_0x48d9a7(0x18a)]][_0x48d9a7(0x145)](_0x559ed2=>{const _0x471a0a=_0x48d9a7,_0x2fa21d=_0x1da203[_0x471a0a(0x15a)][_0x559ed2]||[];_0x2fa21d[_0x471a0a(0x145)](_0x282d2b=>{const _0x2c25a8=_0x471a0a;if(!_0x282d2b['hookAnalyticsId'])_0x282d2b['hookAnalyticsId']=_0x392b32[_0x2c25a8(0x15b)](uuidv4);else _0x282d2b['markedStatus']&&_0x392b32[_0x2c25a8(0x134)](_0x559ed2,_0x392b32['gUJZE'])&&(_0x282d2b['hookAnalyticsId']=_0x392b32['bzeTG'](uuidv4),delete _0x282d2b[_0x2c25a8(0x180)]);});}),exports[_0x48d9a7(0x146)](_0x1da203['parent']);},exports['sendPlatformDetails']=async(_0x84da87,_0x595abe)=>{const _0x33defa=a31_0x38d6dd,_0x105e4a={'RBaOf':function(_0x2193c7){return _0x2193c7();},'MSyLw':function(_0x5d69a6,_0x542e17){return _0x5d69a6===_0x542e17;},'NaQta':_0x33defa(0x161),'FWbLN':_0x33defa(0x165),'XTiQR':_0x33defa(0x170),'DPbEw':_0x33defa(0x187),'gCMEk':'automate','xsqQX':function(_0x564c14,_0x307dc4){return _0x564c14(_0x307dc4);},'yGayB':_0x33defa(0x16b),'uXWEH':'TEST_PLATFORM','lSHbL':function(_0x106f83,_0x613c4){return _0x106f83(_0x613c4);}};try{if(!_0x105e4a[_0x33defa(0x189)](shouldProcessEventForTesthub))return;const _0x3a2015=await _0x84da87[_0x33defa(0x14a)](),_0xa26188=await _0x84da87[_0x33defa(0x175)](),_0x3c9cbc={},_0x5b4abc=Object['fromEntries'](_0xa26188['getCapabilities']()[_0x33defa(0x140)]),_0x516361={'product':_0x105e4a[_0x33defa(0x15d)](global[_0x33defa(0x153)],_0x105e4a['NaQta'])?_0x5b4abc[_0x105e4a[_0x33defa(0x185)]]||_0x5b4abc[_0x105e4a[_0x33defa(0x17d)]]?_0x105e4a['DPbEw']:_0x105e4a[_0x33defa(0x16a)]:null,'capabilities':_0x5b4abc,'platform':_0x3a2015[_0x33defa(0x173)](),'platform_version':_0x105e4a[_0x33defa(0x152)](getPlatformVersion,_0x105e4a[_0x33defa(0x15d)](global[_0x33defa(0x153)],_0x105e4a[_0x33defa(0x167)])),'browser':_0x3a2015[_0x33defa(0x176)](),'browser_version':_0x3a2015[_0x33defa(0x157)](),'session_id':_0xa26188['toJSON']()};global[_0x33defa(0x153)]?_0x3c9cbc[global[_0x33defa(0x153)]]=_0x516361:_0x3c9cbc[_0x105e4a[_0x33defa(0x13f)]]=_0x516361,process[_0x33defa(0x14e)](_0x33defa(0x15c)+process[_0x33defa(0x174)],{'timestamp':new Date()[_0x33defa(0x16d)](),'level':null,'message':null,'kind':_0x105e4a[_0x33defa(0x150)],'http_response':_0x3c9cbc,'uuid':_0x595abe});}catch(_0xf7261f){_0x105e4a[_0x33defa(0x159)](debug,_0x33defa(0x144)+_0xf7261f);}},exports[a31_0x38d6dd(0x17a)]=_0x22dc75=>{const _0xd4eb08=a31_0x38d6dd,_0x357283={};_0x357283[_0xd4eb08(0x172)]=function(_0x200c2c,_0x323194){return _0x200c2c!==_0x323194;},_0x357283[_0xd4eb08(0x15e)]=_0xd4eb08(0x17e),_0x357283[_0xd4eb08(0x186)]=function(_0xc9dfbc,_0x346a61){return _0xc9dfbc!==_0x346a61;},_0x357283[_0xd4eb08(0x184)]=_0xd4eb08(0x18b),_0x357283[_0xd4eb08(0x17b)]=_0xd4eb08(0x162);const _0x2c82d1=_0x357283,_0x410a26=_0x22dc75['suites']['reduce']((_0x4d2f0e,_0xabc25)=>{const _0x1c2b16=_0xd4eb08,_0x927894=exports[_0x1c2b16(0x17a)](_0xabc25);return _0x927894&&(_0x4d2f0e=_0x4d2f0e[_0x1c2b16(0x182)](_0x927894)),_0x4d2f0e;},[]),_0x393e01=_0x22dc75['tests'][_0xd4eb08(0x149)](_0x47d343=>{const _0x53f28f=_0xd4eb08,_0x15594f=_0x2c82d1[_0x53f28f(0x172)](_0x47d343[_0x53f28f(0x16c)],_0x2c82d1[_0x53f28f(0x15e)])&&!_0x47d343['markedStatus']&&_0x2c82d1[_0x53f28f(0x186)](_0x47d343[_0x53f28f(0x178)],_0x2c82d1['mKbsK'])&&_0x2c82d1[_0x53f28f(0x186)](_0x47d343[_0x53f28f(0x178)],_0x2c82d1['lxEMv'])&&!_0x47d343[_0x53f28f(0x164)];return _0x15594f;});return _0x393e01[_0xd4eb08(0x182)](_0x410a26);};
1
+ const a31_0x5a789a=a31_0x4933;(function(_0x460107,_0x2f790b){const _0x3310cf=a31_0x4933,_0x1e9472=_0x460107();while(!![]){try{const _0x2aa250=-parseInt(_0x3310cf(0x16e))/0x1+-parseInt(_0x3310cf(0x197))/0x2*(parseInt(_0x3310cf(0x147))/0x3)+parseInt(_0x3310cf(0x16d))/0x4*(parseInt(_0x3310cf(0x189))/0x5)+parseInt(_0x3310cf(0x194))/0x6*(-parseInt(_0x3310cf(0x191))/0x7)+-parseInt(_0x3310cf(0x176))/0x8*(-parseInt(_0x3310cf(0x158))/0x9)+-parseInt(_0x3310cf(0x17d))/0xa+parseInt(_0x3310cf(0x182))/0xb;if(_0x2aa250===_0x2f790b)break;else _0x1e9472['push'](_0x1e9472['shift']());}catch(_0x2be648){_0x1e9472['push'](_0x1e9472['shift']());}}}(a31_0x1398,0x78f59));function a31_0x4933(_0x351bff,_0x2030c5){const _0x139846=a31_0x1398();return a31_0x4933=function(_0x4933a7,_0x5c0d91){_0x4933a7=_0x4933a7-0x143;let _0x448fbf=_0x139846[_0x4933a7];return _0x448fbf;},a31_0x4933(_0x351bff,_0x2030c5);}const {v4:uuidv4}=require(a31_0x5a789a(0x181)),{name,version}=require(a31_0x5a789a(0x171)),logPatcher=require(a31_0x5a789a(0x154)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x5a789a(0x155)),{consoleHolder}=require(a31_0x5a789a(0x159)),{getPlatformVersion}=require(a31_0x5a789a(0x16b)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');console={},Object['keys'](consoleHolder)[a31_0x5a789a(0x14a)](_0x5fc3c3=>{console[_0x5fc3c3]=(..._0x26fdca)=>{BSTestOpsPatcher[_0x5fc3c3](..._0x26fdca);};}),exports[a31_0x5a789a(0x18d)]=()=>{const _0x3bc4d3=a31_0x5a789a,_0x380fb2={'UNont':_0x3bc4d3(0x18b),'EZPkF':function(_0x24fb0b){return _0x24fb0b();}};return{'ci':_0x380fb2[_0x3bc4d3(0x166)],'key':_0x380fb2[_0x3bc4d3(0x18c)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x2577a7=>{const _0x77603a=a31_0x5a789a,_0x29f704={};_0x29f704[_0x77603a(0x17b)]=function(_0x409618,_0x3f7593){return _0x409618!==_0x3f7593;},_0x29f704[_0x77603a(0x15c)]=_0x77603a(0x169),_0x29f704['lTddK']='hook:',_0x29f704[_0x77603a(0x17f)]='hook';const _0x2047af=_0x29f704;if(!_0x2577a7||_0x2047af[_0x77603a(0x17b)](typeof _0x2577a7,_0x2047af[_0x77603a(0x15c)]))return[null,null];if(_0x2047af[_0x77603a(0x17b)](_0x2577a7[_0x77603a(0x14d)](_0x2047af[_0x77603a(0x150)]),-0x1)){const _0x1b5290=_0x2577a7[_0x77603a(0x152)](_0x2047af[_0x77603a(0x150)]);return[_0x1b5290[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x1b5290[0x1]['substring'](0x1)];}else{if(_0x2047af[_0x77603a(0x17b)](_0x2577a7[_0x77603a(0x14d)](_0x2047af[_0x77603a(0x17f)]),-0x1)){const _0x4b1e74=_0x2577a7['split'](_0x2047af[_0x77603a(0x17f)]);return[_0x4b1e74[0x0][_0x77603a(0x14c)](0x0,-0x1)[_0x77603a(0x152)]('\x22')[0x1],_0x2577a7];}}return[null,null];},exports['getHooksForTest']=_0x3e7f72=>{const _0x182a99=a31_0x5a789a,_0x190745={'TeAXn':function(_0x3a6673,_0xecfe9a){return _0x3a6673(_0xecfe9a);},'QbAhe':_0x182a99(0x190),'ltNvZ':_0x182a99(0x160),'ndTCe':_0x182a99(0x161),'pzWWI':_0x182a99(0x192)};if(!_0x3e7f72||!_0x3e7f72[_0x182a99(0x179)])return[];const _0x161403=[];return[_0x190745[_0x182a99(0x178)],_0x190745['ltNvZ'],_0x190745['ndTCe'],_0x190745[_0x182a99(0x170)]][_0x182a99(0x14a)](_0x400f0b=>{const _0x9b20aa=_0x182a99,_0x168ff5=_0x3e7f72['parent'][_0x400f0b]||[];_0x168ff5[_0x9b20aa(0x14a)](_0x28fc0b=>{const _0x50bddd=_0x9b20aa;_0x28fc0b[_0x50bddd(0x14b)]&&!_0x190745[_0x50bddd(0x16a)](isInternalHook,_0x28fc0b['fn'])&&_0x161403['push'](_0x28fc0b[_0x50bddd(0x14b)]);});}),[..._0x161403,...exports[_0x182a99(0x185)](_0x3e7f72[_0x182a99(0x179)])];},exports[a31_0x5a789a(0x187)]=_0x59e991=>{const _0x13ed96=a31_0x5a789a,_0x1dc5f6={'zDapZ':function(_0x3a399e){return _0x3a399e();},'TgqTi':function(_0x2db9d2,_0x26e244){return _0x2db9d2===_0x26e244;},'EHoxg':'_afterEach','gKYAV':'_beforeAll','Opoas':_0x13ed96(0x160),'JfSzo':'_beforeEach'};if(!_0x59e991||!_0x59e991[_0x13ed96(0x179)])return;[_0x1dc5f6['gKYAV'],_0x1dc5f6[_0x13ed96(0x175)],_0x1dc5f6[_0x13ed96(0x173)],_0x1dc5f6[_0x13ed96(0x177)]][_0x13ed96(0x14a)](_0x3a59a7=>{const _0x154ca4=_0x13ed96,_0x7f8dc9={'oerTu':function(_0x3cbe2e){const _0x57b5ec=a31_0x4933;return _0x1dc5f6[_0x57b5ec(0x15b)](_0x3cbe2e);},'kvgoD':function(_0x18c043,_0x5bf4d7){return _0x1dc5f6['TgqTi'](_0x18c043,_0x5bf4d7);},'xmaHJ':_0x1dc5f6[_0x154ca4(0x177)]},_0x216582=_0x59e991['parent'][_0x3a59a7]||[];_0x216582[_0x154ca4(0x14a)](_0x1fc2d5=>{const _0xa0841e=_0x154ca4;if(!_0x1fc2d5[_0xa0841e(0x14b)])_0x1fc2d5[_0xa0841e(0x14b)]=_0x7f8dc9[_0xa0841e(0x162)](uuidv4);else _0x1fc2d5[_0xa0841e(0x15a)]&&_0x7f8dc9[_0xa0841e(0x15e)](_0x3a59a7,_0x7f8dc9[_0xa0841e(0x16f)])&&(_0x1fc2d5[_0xa0841e(0x14b)]=_0x7f8dc9['oerTu'](uuidv4),delete _0x1fc2d5[_0xa0841e(0x15a)]);});}),exports['mapTestHooks'](_0x59e991[_0x13ed96(0x179)]);},exports['sendPlatformDetails']=async(_0x1d4bfe,_0x20cdf0)=>{const _0x33b216=a31_0x5a789a,_0x9b530f={'CnBle':function(_0x399ca5){return _0x399ca5();},'BbkDt':function(_0x94322c,_0x2ff9d3){return _0x94322c===_0x2ff9d3;},'nYsFa':_0x33b216(0x149),'nDpLT':_0x33b216(0x157),'wtERh':_0x33b216(0x148),'RfJXp':'app-automate','AaWWh':_0x33b216(0x18a),'PcfuT':function(_0x464631,_0x13f9d9){return _0x464631(_0x13f9d9);},'keuqR':function(_0x3ca19d,_0x2387c3){return _0x3ca19d===_0x2387c3;},'XOJXS':_0x33b216(0x195),'fMeiG':_0x33b216(0x163),'MeoUe':function(_0x29a418,_0x55afa5){return _0x29a418(_0x55afa5);}};try{if(!_0x9b530f['CnBle'](shouldProcessEventForTesthub))return;const _0x4d6b27=await _0x1d4bfe[_0x33b216(0x196)](),_0x1bd314=await _0x1d4bfe['getSession'](),_0x57b8d3={},_0x3b9f06=Object[_0x33b216(0x180)](_0x1bd314[_0x33b216(0x196)]()[_0x33b216(0x174)]),_0x2be5fd={'product':_0x9b530f['BbkDt'](global[_0x33b216(0x15d)],_0x9b530f[_0x33b216(0x18f)])?_0x3b9f06[_0x9b530f['nDpLT']]||_0x3b9f06[_0x9b530f['wtERh']]?_0x9b530f[_0x33b216(0x188)]:_0x9b530f[_0x33b216(0x18e)]:null,'capabilities':_0x3b9f06,'platform':_0x4d6b27[_0x33b216(0x153)](),'platform_version':_0x9b530f[_0x33b216(0x15f)](getPlatformVersion,_0x9b530f[_0x33b216(0x193)](global[_0x33b216(0x15d)],_0x9b530f['nYsFa'])),'browser':_0x4d6b27['getBrowserName'](),'browser_version':_0x4d6b27['getBrowserVersion'](),'session_id':_0x1bd314[_0x33b216(0x183)]()};global[_0x33b216(0x15d)]?_0x57b8d3[global[_0x33b216(0x15d)]]=_0x2be5fd:_0x57b8d3[_0x9b530f[_0x33b216(0x17a)]]=_0x2be5fd,process[_0x33b216(0x156)](_0x33b216(0x172)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x9b530f[_0x33b216(0x14e)],'http_response':_0x57b8d3,'uuid':_0x20cdf0});}catch(_0x2dd09b){_0x9b530f['MeoUe'](debug,_0x33b216(0x184)+_0x2dd09b);}},exports[a31_0x5a789a(0x168)]=_0x23cb0d=>{const _0x16cb27=a31_0x5a789a,_0x47caa0={};_0x47caa0[_0x16cb27(0x14f)]=function(_0x1ea1e0,_0x1da457){return _0x1ea1e0!==_0x1da457;},_0x47caa0[_0x16cb27(0x165)]=_0x16cb27(0x146),_0x47caa0['GUNBG']=function(_0x39e3c3,_0x4671c9){return _0x39e3c3!==_0x4671c9;},_0x47caa0[_0x16cb27(0x143)]=_0x16cb27(0x145),_0x47caa0['wWsJp']=_0x16cb27(0x164);const _0x591385=_0x47caa0,_0x23ecba=_0x23cb0d['suites'][_0x16cb27(0x144)]((_0x2f2e98,_0x5c3dd0)=>{const _0x191cc3=_0x16cb27,_0x11aeea=exports[_0x191cc3(0x168)](_0x5c3dd0);return _0x11aeea&&(_0x2f2e98=_0x2f2e98[_0x191cc3(0x151)](_0x11aeea)),_0x2f2e98;},[]),_0x2f64e0=_0x23cb0d['tests'][_0x16cb27(0x186)](_0x974d01=>{const _0x5f454e=_0x16cb27,_0x317b47=_0x591385[_0x5f454e(0x14f)](_0x974d01[_0x5f454e(0x167)],_0x591385[_0x5f454e(0x165)])&&!_0x974d01[_0x5f454e(0x15a)]&&_0x591385[_0x5f454e(0x16c)](_0x974d01['state'],_0x591385[_0x5f454e(0x143)])&&_0x591385['GUNBG'](_0x974d01[_0x5f454e(0x17c)],_0x591385['wWsJp'])&&!_0x974d01[_0x5f454e(0x17e)];return _0x317b47;});return _0x2f64e0[_0x16cb27(0x151)](_0x23ecba);};function a31_0x1398(){const _0x4f5b31=['parent','XOJXS','DmhEt','state','1970250uFQHdV','pending','zHwLI','fromEntries','uuid','11735482xHWwGv','toJSON','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getHooksForTest','filter','mapTestHooks','RfJXp','2939190SjkPHS','automate','generic','EZPkF','getTestEnv','AaWWh','nYsFa','_beforeAll','434TgoAOD','_afterEach','keuqR','150KekUqX','unknown_grid','getCapabilities','11132JbqiEJ','axLPo','reduce','passed','hook','213DWPPvs','app','browserstack','forEach','hookAnalyticsId','slice','indexOf','fMeiG','xcTzE','lTddK','concat','split','getPlatform','../../utils/logPatcher','../../../helpers/test-observability/utils','emit','appium:app','9nTnViB','../../../helpers/test-observability/constants','markedStatus','zDapZ','ChklJ','__cloud_provider___','kvgoD','PcfuT','_afterAll','_beforeEach','oerTu','TEST_PLATFORM','failed','DzemL','UNont','type','getHookSkippedTests','string','TeAXn','../../../helpers/helper','GUNBG','4vDRYOw','905257pwQziX','xmaHJ','pzWWI','../../../../package.json','bs:addPlatformDetails:','JfSzo','map_','Opoas','2718136hlHTHy','EHoxg','QbAhe'];a31_0x1398=function(){return _0x4f5b31;};return a31_0x1398();}
@@ -1 +1 @@
1
- const a32_0xe88ac9=a32_0x2403;(function(_0x585e1c,_0x10d66e){const _0x83caf=a32_0x2403,_0x3cc6ba=_0x585e1c();while(!![]){try{const _0xbe0f4d=parseInt(_0x83caf(0x107))/0x1*(parseInt(_0x83caf(0x119))/0x2)+-parseInt(_0x83caf(0x122))/0x3*(parseInt(_0x83caf(0xeb))/0x4)+-parseInt(_0x83caf(0x15e))/0x5+parseInt(_0x83caf(0x116))/0x6+parseInt(_0x83caf(0xe6))/0x7*(-parseInt(_0x83caf(0xe1))/0x8)+-parseInt(_0x83caf(0x101))/0x9*(-parseInt(_0x83caf(0x11e))/0xa)+-parseInt(_0x83caf(0x14a))/0xb;if(_0xbe0f4d===_0x10d66e)break;else _0x3cc6ba['push'](_0x3cc6ba['shift']());}catch(_0x2f7e3c){_0x3cc6ba['push'](_0x3cc6ba['shift']());}}}(a32_0x2795,0x56449));function a32_0x2795(){const _0x368046=['103860xAYRjs','__drivers','bstackA11yShouldScan','join','info','EkivH','28487vdQZdJ','then','thJwtToken','lssNo','passed','startMonitoring','QYCMg','push','BROWSERSTACK_TESTHUB_JWT',',\x22level\x22:\x20\x22','../../helpers/percy/utils','shift','performScan','nBrRn','stringify','3417348PbIRId','./test-observability/mochaUtils','../../helpers/helper','46kQONbS','__sessionFailed','bAQNs','Failed\x20to\x20store\x20session\x20name:\x20','hwSnP','600gYtwSU','BWvXP','message','stopMonitoring','51atzmtK','kkcPa','sessionNameSet__','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','mochaHooks','../../helpers/performance-tester','testcase','\x22}}','.\x20Error\x20:','isArray','BROWSERSTACK_TESTHUB_UUID','state','gJwjb','browserstackSessionName','Failed:\x20','Performing\x20scan\x20before\x20saving\x20results','length','ENV_VAR','Automate\x20test\x20case\x20execution\x20has\x20started.','Passed','accessibilityScanStarted','protocol','cDrzN','isAccessibilityPlatform','getGlobal','MyCYv','executeScript','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','capabilities','nzsBr','shouldScanTestForAccessibility','BufdR','timeout','failed','thTestRunUuid','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','err','yZfxy','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','6555703TdpxlF','quitCount_','../../helpers/globals','format','DpYIC','enqxl','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','pDlGf','app','AogMh','VxvqS','eZMec','SJAEO','error','initQuit','kDScp','env','winstonLogger','../../helpers/accessibility-automation/helper','appium:app','2089070ZMoGsp','BdDbC','__error_messages__','HFBRI','executeAsyncScript','setGlobal','picpz','576yuRyfr','percy','driverCleanup','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','titlePath','30198XNzIua','../../helpers/accessibility-automation/scripts','ztDaa','IYZpT','DhaNt','56332HtJzWL','XwPOh','VdRjL','kPBoY','\x20-\x20','saveTestResults','lgYVW','FDKme','https:','http:','debug','now','XlbWC','\x20|\x20','UFQyg','testAnalyticsId','wGriK','../../helpers/logger','session_','thBuildUuid','currentTest','dxqoS'];a32_0x2795=function(){return _0x368046;};return a32_0x2795();}function a32_0x2403(_0xa7848e,_0x3afc06){const _0x2795f0=a32_0x2795();return a32_0x2403=function(_0x240398,_0x37fe20){_0x240398=_0x240398-0xdc;let _0x5277e3=_0x2795f0[_0x240398];return _0x5277e3;},a32_0x2403(_0xa7848e,_0x3afc06);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0xe88ac9(0x15c)),{percyAutoCapture}=require(a32_0xe88ac9(0x111)),{sendPlatformDetails}=require(a32_0xe88ac9(0x117)),{isBrowserstackInfra,markSessionStatus}=require(a32_0xe88ac9(0x118)),PerformanceTester=require(a32_0xe88ac9(0x128)),scripts=require(a32_0xe88ac9(0xe7)),globals=require(a32_0xe88ac9(0x14c)),logger=require(a32_0xe88ac9(0xfc))[a32_0xe88ac9(0x15b)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0xe88ac9(0x127)]={'beforeAll'(){const _0x59fa4c=a32_0xe88ac9,_0x416d05={'BWvXP':function(_0x4927f1,_0x39c7a3,_0x468b21,_0x463aea){return _0x4927f1(_0x39c7a3,_0x468b21,_0x463aea);},'EcHks':_0x59fa4c(0x144),'yxZJB':_0x59fa4c(0xf8),'VxvqS':function(_0x2543f4,_0x51eb41,_0x2e87fe){return _0x2543f4(_0x51eb41,_0x2e87fe);},'hwSnP':_0x59fa4c(0x10b),'DpYIC':function(_0x5646f9){return _0x5646f9();}};PerformanceTester[_0x59fa4c(0x10c)]();const _0x317b9c='browserstack internal helper hook';global[_0x59fa4c(0xdc)]=[],global[_0x59fa4c(0x11a)]=![],global[_0x59fa4c(0xe3)]=async()=>{const _0x3e2463=_0x59fa4c;let _0xe06b9c=![];try{await global['__drivers'][0x0][_0x3e2463(0xfd)],_0xe06b9c=!![],global[_0x3e2463(0x11a)]?await _0x416d05[_0x3e2463(0x11f)](markSessionStatus,global[_0x3e2463(0x102)][0x0],_0x416d05['EcHks'],global[_0x3e2463(0xdc)][_0x3e2463(0x104)](_0x416d05['yxZJB'])):await _0x416d05[_0x3e2463(0x154)](markSessionStatus,global[_0x3e2463(0x102)][0x0],_0x416d05[_0x3e2463(0x11d)]);}catch(_0x1bc8ff){}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0xe06b9c)try{try{_0x416d05[_0x3e2463(0x14e)](shouldProcessEventForTesthub)&&(global[_0x3e2463(0x102)][0x0]&&await _0x416d05[_0x3e2463(0x154)](sendPlatformDetails,global[_0x3e2463(0x102)][0x0],this[_0x3e2463(0xff)]?this[_0x3e2463(0xff)][_0x3e2463(0xfa)]:null));}catch{}await global[_0x3e2463(0x102)][0x0][_0x3e2463(0x158)]();}catch(_0x369e21){}};},'beforeEach'(_0x3a251a){const _0x230bea=a32_0xe88ac9,_0x2ce60a={'XlbWC':function(_0x2b2997,_0x33593b){return _0x2b2997>_0x33593b;},'nzsBr':_0x230bea(0xef),'MyCYv':function(_0x4092d0,_0x14849b,_0x16387d){return _0x4092d0(_0x14849b,_0x16387d);},'FDKme':_0x230bea(0x103),'LIaxh':function(_0x532336){return _0x532336();},'EkivH':function(_0x701f6e,_0x40652b){return _0x701f6e>_0x40652b;},'gJwjb':'isAccessibilityPlatform','XwPOh':function(_0x468ba3,_0x565c67){return _0x468ba3===_0x565c67;},'nBrRn':_0x230bea(0xf4),'UFQyg':_0x230bea(0xf3),'enqxl':_0x230bea(0x13e),'QYCMg':_0x230bea(0x135),'IYZpT':function(_0x5b31f5){return _0x5b31f5();}};new Promise(async _0x560414=>{const _0x184fb3=_0x230bea,_0x58179e='browserstack internal helper hook';let _0x4e4812=!![];try{_0x2ce60a[_0x184fb3(0xf7)](global[_0x184fb3(0x102)][_0x184fb3(0x133)],0x1)&&(await global['driverCleanup'](),global[_0x184fb3(0x102)][_0x184fb3(0x112)]()),_0x2ce60a[_0x184fb3(0xf7)](global[_0x184fb3(0x102)][0x0][_0x184fb3(0x14b)],0x0)&&(_0x4e4812=![],await global['driverCleanup']());}catch{}try{Array[_0x184fb3(0x12c)](global['__drivers'])&&global[_0x184fb3(0x102)][0x0]&&(global[_0x184fb3(0x102)][0x0][_0x184fb3(0x130)]=this['currentTest'][_0x184fb3(0xe5)]()[_0x184fb3(0x104)](_0x2ce60a[_0x184fb3(0x140)])),global['browserstackSessionName']=this[_0x184fb3(0xff)][_0x184fb3(0xe5)]()[_0x184fb3(0x104)](_0x2ce60a[_0x184fb3(0x140)]);}catch(_0x2c51c6){logger[_0x184fb3(0xf5)](_0x184fb3(0x11c)+_0x2c51c6);}this['currentTest']['shouldScanTestForAccessibility']=_0x2ce60a[_0x184fb3(0x13c)](shouldScanTestForAccessibility,this[_0x184fb3(0xff)][_0x184fb3(0xe5)](),!![]),globals[_0x184fb3(0xdf)](_0x2ce60a[_0x184fb3(0xf2)],this[_0x184fb3(0xff)][_0x184fb3(0x141)]),this[_0x184fb3(0xff)][_0x184fb3(0x137)]=!![];if(_0x2ce60a['LIaxh'](isAccessibilityAutomationSession)&&_0x4e4812&&Array[_0x184fb3(0x12c)](global[_0x184fb3(0x102)])&&_0x2ce60a[_0x184fb3(0x106)](global[_0x184fb3(0x102)][_0x184fb3(0x133)],0x0)&&globals['getGlobal'](_0x2ce60a[_0x184fb3(0x12f)]))try{const _0x4e7de0=await global[_0x184fb3(0x102)][0x0][_0x184fb3(0xfd)];if(_0x4e7de0){let _0x2900c6=!![];const _0x414edb=await global[_0x184fb3(0x102)][0x0]['getCurrentUrl']();let _0x22115c;try{_0x22115c=new URL(_0x414edb);}catch(_0x3e988b){_0x2900c6=![];}_0x2900c6=_0x2ce60a[_0x184fb3(0xec)](_0x22115c['protocol'],_0x2ce60a[_0x184fb3(0x114)])||_0x2ce60a[_0x184fb3(0xec)](_0x22115c[_0x184fb3(0x138)],_0x2ce60a[_0x184fb3(0xf9)]),_0x2900c6&&(this[_0x184fb3(0xff)][_0x184fb3(0x141)]&&logger[_0x184fb3(0x105)](_0x2ce60a[_0x184fb3(0x14f)])),this['currentTest'][_0x184fb3(0x137)]=this['currentTest'][_0x184fb3(0x141)],this[_0x184fb3(0xff)][_0x184fb3(0x141)]&&logger['info'](_0x2ce60a[_0x184fb3(0x10d)]);}}catch(_0x4ac5f0){logger[_0x184fb3(0x157)](_0x184fb3(0x146)+util[_0x184fb3(0x14d)](_0x4ac5f0));}_0x2ce60a[_0x184fb3(0xe9)](_0x560414);})[_0x230bea(0x108)](_0x3a251a);},'afterEach'(_0x4478a5){const _0x103a41=a32_0xe88ac9,_0x436a0f={'HFBRI':function(_0x6e9dbf,_0x274eb3){return _0x6e9dbf>_0x274eb3;},'DhaNt':function(_0x9c046,_0xcbfb52){return _0x9c046===_0xcbfb52;},'wGriK':_0x103a41(0x129),'wbfFZ':function(_0xc8130b,_0x38c881){return _0xc8130b>_0x38c881;},'bAQNs':_0x103a41(0x15d),'ztDaa':function(_0x41ab7a,_0x5a9f68,_0x4b4234,_0xa8fd17){return _0x41ab7a(_0x5a9f68,_0x4b4234,_0xa8fd17);},'DSGQQ':_0x103a41(0xef),'iCKwW':function(_0x257f5f,_0x4ed464){return _0x257f5f!==_0x4ed464;},'kkcPa':_0x103a41(0x10b),'BufdR':function(_0x174543,_0x33ec76,_0x266e28){return _0x174543(_0x33ec76,_0x266e28);},'kPBoY':function(_0x324c43,_0x511dd8){return _0x324c43+_0x511dd8;},'saoNg':_0x103a41(0x131),'nPkYs':'error','cDrzN':function(_0x1f9191,_0x572c75,_0x1028af){return _0x1f9191(_0x572c75,_0x1028af);},'SJAEO':_0x103a41(0x136),'kDScp':'info','AogMh':_0x103a41(0x13a),'dxqoS':'bstackA11yShouldScan','lgYVW':_0x103a41(0x150),'yZfxy':_0x103a41(0x132),'eZMec':_0x103a41(0xe4),'lssNo':function(_0x46ee74){return _0x46ee74();},'BdDbC':function(_0x2b4e97,_0x52d804,_0xd56a61){return _0x2b4e97(_0x52d804,_0xd56a61);},'VdRjL':function(_0x3fbcd1,_0x52010d,_0x34c7c1){return _0x3fbcd1(_0x52010d,_0x34c7c1);},'pDlGf':_0x103a41(0xf5)},_0x23d018='browserstack internal helper hook';this[_0x103a41(0x143)](0xfde8);const _0x436317=async(_0x1bd7d9,_0x5b3fba)=>{const _0x93147b=_0x103a41;await global[_0x93147b(0x102)][0x0][_0x93147b(0x13d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x1bd7d9+_0x93147b(0x110)+_0x5b3fba+_0x93147b(0x12a));};new Promise(async _0x390067=>{const _0x97bfbc=_0x103a41;try{_0x436a0f[_0x97bfbc(0xdd)](global[_0x97bfbc(0x102)][_0x97bfbc(0x133)],0x1)&&(await global[_0x97bfbc(0xe3)](),global[_0x97bfbc(0x102)][_0x97bfbc(0x112)](),global[_0x97bfbc(0xdc)]=[],global[_0x97bfbc(0x11a)]=![]);try{if(global[_0x97bfbc(0xe2)]&&_0x436a0f[_0x97bfbc(0xea)](global['percyCaptureMode'],_0x436a0f[_0x97bfbc(0xfb)])&&global[_0x97bfbc(0x102)][0x0]){const _0x32abff=_0x436a0f['wbfFZ'](global[_0x97bfbc(0x13f)][_0x97bfbc(0x133)],0x0)?!!global[_0x97bfbc(0x13f)][0x0][_0x97bfbc(0x152)]||!!global[_0x97bfbc(0x13f)][0x0][_0x436a0f[_0x97bfbc(0x11b)]]:![],_0x2d5ec0={};_0x2d5ec0[_0x97bfbc(0x152)]=_0x32abff,await _0x436a0f[_0x97bfbc(0xe8)](percyAutoCapture,global['__drivers'][0x0],_0x436a0f[_0x97bfbc(0xfb)],_0x2d5ec0);}}catch(_0x2d8381){}!global['__skipSessionName']&&(await global[_0x97bfbc(0x102)][0x0][_0x97bfbc(0x13d)](_0x97bfbc(0x126)+JSON[_0x97bfbc(0x115)](this[_0x97bfbc(0xff)][_0x97bfbc(0xe5)]()[_0x97bfbc(0x104)](_0x436a0f['DSGQQ']))+'}}'),global[_0x97bfbc(0x102)][0x0][_0x97bfbc(0x124)]=!![]);const _0x3c8175=_0x436a0f['iCKwW'](this['currentTest'][_0x97bfbc(0x12e)],_0x436a0f[_0x97bfbc(0x123)]);_0x3c8175?(global['__sessionFailed']=!![],global[_0x97bfbc(0xdc)][_0x97bfbc(0x10e)](this[_0x97bfbc(0xff)][_0x97bfbc(0x147)][_0x97bfbc(0x120)]),await _0x436a0f[_0x97bfbc(0x142)](_0x436317,JSON[_0x97bfbc(0x115)](_0x436a0f[_0x97bfbc(0xee)](_0x436a0f['saoNg'],this['currentTest']['err'][_0x97bfbc(0x120)])),_0x436a0f['nPkYs'])):await _0x436a0f[_0x97bfbc(0x139)](_0x436317,JSON[_0x97bfbc(0x115)](_0x436a0f[_0x97bfbc(0x156)]),_0x436a0f[_0x97bfbc(0x159)]);}catch(_0xdb42e9){}try{if(this['currentTest'][_0x97bfbc(0x137)]&&globals['getGlobal'](_0x436a0f[_0x97bfbc(0x153)])&&globals[_0x97bfbc(0x13b)](_0x436a0f[_0x97bfbc(0x100)])){logger[_0x97bfbc(0x105)](_0x436a0f[_0x97bfbc(0xf1)]);const _0x1eede2={};_0x1eede2[_0x97bfbc(0x145)]=this[_0x97bfbc(0xff)]['testAnalyticsId'],_0x1eede2[_0x97bfbc(0xfe)]=process['env'][testHubConstants[_0x97bfbc(0x134)][_0x97bfbc(0x12d)]],_0x1eede2[_0x97bfbc(0x109)]=process[_0x97bfbc(0x15a)][testHubConstants[_0x97bfbc(0x134)][_0x97bfbc(0x10f)]];const _0x1b3674=_0x1eede2;logger[_0x97bfbc(0xf5)](_0x97bfbc(0x149)+JSON[_0x97bfbc(0x115)](_0x1b3674)),logger[_0x97bfbc(0xf5)](_0x436a0f[_0x97bfbc(0x148)]),logger['debug'](util['format'](await global['__drivers'][0x0][_0x97bfbc(0xde)](scripts[_0x97bfbc(0x113)],{'method':global['browserstackSessionName']}))),await global[_0x97bfbc(0x102)][0x0][_0x97bfbc(0xde)](scripts[_0x97bfbc(0xf0)],_0x1b3674),logger['info'](_0x436a0f[_0x97bfbc(0x155)]);}}catch(_0x505d40){logger['error'](_0x97bfbc(0x125)+this[_0x97bfbc(0xff)][_0x97bfbc(0xe5)]()+_0x97bfbc(0x12b),_0x505d40);}try{try{if(_0x436a0f[_0x97bfbc(0x10a)](shouldProcessEventForTesthub)){global[_0x97bfbc(0x102)][0x0]&&await _0x436a0f[_0x97bfbc(0x15f)](sendPlatformDetails,global[_0x97bfbc(0x102)][0x0],this[_0x97bfbc(0xff)]?this[_0x97bfbc(0xff)][_0x97bfbc(0xfa)]:null);if(_0x436a0f['lssNo'](isBrowserstackInfra)){const _0x53832a='ObservabilitySync:'+Date[_0x97bfbc(0xf6)]();await _0x436a0f[_0x97bfbc(0xed)](_0x436317,JSON[_0x97bfbc(0x115)](_0x53832a),_0x436a0f[_0x97bfbc(0x151)]);}}}catch{}_0x436a0f[_0x97bfbc(0xdd)](global[_0x97bfbc(0x102)][0x0][_0x97bfbc(0x14b)],0x0)&&await global['driverCleanup']();}catch(_0x3dad87){}_0x436a0f['lssNo'](_0x390067);})['then'](()=>_0x4478a5());},'afterAll'(_0x91fe82){const _0x504041=a32_0xe88ac9,_0x260240={'picpz':function(_0x11d6e0){return _0x11d6e0();}},_0x1a4732='browserstack internal helper hook';this[_0x504041(0x143)](0xfde8),new Promise(async _0x407ec9=>{const _0x1cc092=_0x504041;PerformanceTester[_0x1cc092(0x121)](),await global[_0x1cc092(0xe3)](),_0x260240[_0x1cc092(0xe0)](_0x407ec9);})[_0x504041(0x108)](()=>_0x91fe82());}};
1
+ function a32_0x5907(_0x50dfc6,_0x594cf5){const _0x284957=a32_0x2849();return a32_0x5907=function(_0x590742,_0x2448de){_0x590742=_0x590742-0x97;let _0x205c93=_0x284957[_0x590742];return _0x205c93;},a32_0x5907(_0x50dfc6,_0x594cf5);}const a32_0x4bbcf4=a32_0x5907;(function(_0x5d03c4,_0x37636a){const _0x339449=a32_0x5907,_0x5bd6fb=_0x5d03c4();while(!![]){try{const _0x33a875=-parseInt(_0x339449(0xff))/0x1*(-parseInt(_0x339449(0x103))/0x2)+-parseInt(_0x339449(0xa0))/0x3*(parseInt(_0x339449(0x10a))/0x4)+-parseInt(_0x339449(0xe2))/0x5+parseInt(_0x339449(0xd3))/0x6+parseInt(_0x339449(0xc5))/0x7+-parseInt(_0x339449(0xa9))/0x8*(parseInt(_0x339449(0xe9))/0x9)+parseInt(_0x339449(0xad))/0xa;if(_0x33a875===_0x37636a)break;else _0x5bd6fb['push'](_0x5bd6fb['shift']());}catch(_0x42ec7f){_0x5bd6fb['push'](_0x5bd6fb['shift']());}}}(a32_0x2849,0x65c1a));const util=require(a32_0x4bbcf4(0xa8)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x4bbcf4(0x109)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require(a32_0x4bbcf4(0xc3)),scripts=require(a32_0x4bbcf4(0xa3)),globals=require(a32_0x4bbcf4(0x9f)),logger=require(a32_0x4bbcf4(0xda))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x4bbcf4(0x107)),testHubConstants=require(a32_0x4bbcf4(0x108));exports[a32_0x4bbcf4(0x10d)]={'beforeAll'(){const _0x11e278=a32_0x4bbcf4,_0x476d03={'WjXdG':function(_0x5525b2,_0x5276f2,_0xed5474,_0x16dc0b){return _0x5525b2(_0x5276f2,_0xed5474,_0x16dc0b);},'snVuA':'failed','mXGnk':_0x11e278(0xdc),'HmAeG':function(_0x374866,_0x51abad,_0x699799){return _0x374866(_0x51abad,_0x699799);},'BEhqd':_0x11e278(0xe0),'QwgsO':function(_0x2970cc){return _0x2970cc();}};PerformanceTester[_0x11e278(0xf4)]();const _0x523108='browserstack internal helper hook';global[_0x11e278(0xfc)]=[],global[_0x11e278(0xf3)]=![],global[_0x11e278(0x101)]=async()=>{const _0x4af8d1=_0x11e278;let _0x98576a=![];try{await global[_0x4af8d1(0xe3)][0x0]['session_'],_0x98576a=!![],global[_0x4af8d1(0xf3)]?await _0x476d03[_0x4af8d1(0x102)](markSessionStatus,global['__drivers'][0x0],_0x476d03[_0x4af8d1(0xce)],global[_0x4af8d1(0xfc)][_0x4af8d1(0xaf)](_0x476d03[_0x4af8d1(0xd4)])):await _0x476d03[_0x4af8d1(0x10e)](markSessionStatus,global[_0x4af8d1(0xe3)][0x0],_0x476d03[_0x4af8d1(0xb5)]);}catch(_0x376a1e){}global[_0x4af8d1(0xfc)]=[],global[_0x4af8d1(0xf3)]=![];if(_0x98576a)try{try{_0x476d03['QwgsO'](shouldProcessEventForTesthub)&&(global[_0x4af8d1(0xe3)][0x0]&&await _0x476d03[_0x4af8d1(0x10e)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x4af8d1(0xea)][_0x4af8d1(0xc9)]:null));}catch{}await global[_0x4af8d1(0xe3)][0x0][_0x4af8d1(0xd2)]();}catch(_0x18f5b8){}};},'beforeEach'(_0x1e930d){const _0x254948=a32_0x4bbcf4,_0x5cfdbd={'tsQKi':function(_0x1b9d2c,_0x1856d7){return _0x1b9d2c>_0x1856d7;},'dZgWa':_0x254948(0x99),'BMnMq':function(_0x8b64ba,_0x18f29a,_0x2af59b){return _0x8b64ba(_0x18f29a,_0x2af59b);},'ZVHsQ':'bstackA11yShouldScan','DbLZI':function(_0x88f7f9){return _0x88f7f9();},'HWMDw':function(_0x31f911,_0x1ecfe9){return _0x31f911>_0x1ecfe9;},'LOxwL':_0x254948(0xe6),'MZYDB':function(_0x14956b,_0x462217){return _0x14956b===_0x462217;},'lhJlp':_0x254948(0xbc),'JyVSM':function(_0x1fcddc,_0x25a84e){return _0x1fcddc===_0x25a84e;},'SxLld':_0x254948(0xb6),'nZDtU':_0x254948(0xca),'Bbakb':'Automate\x20test\x20case\x20execution\x20has\x20started.','nLsHq':function(_0x5b62fb){return _0x5b62fb();}};new Promise(async _0x20a0d2=>{const _0xf7c5a3=_0x254948,_0x3eca2a='browserstack internal helper hook';let _0x2c3e41=!![];try{_0x5cfdbd['tsQKi'](global[_0xf7c5a3(0xe3)]['length'],0x1)&&(await global['driverCleanup'](),global[_0xf7c5a3(0xe3)]['shift']()),_0x5cfdbd['tsQKi'](global[_0xf7c5a3(0xe3)][0x0][_0xf7c5a3(0xfe)],0x0)&&(_0x2c3e41=![],await global[_0xf7c5a3(0x101)]());}catch{}try{Array['isArray'](global['__drivers'])&&global[_0xf7c5a3(0xe3)][0x0]&&(global[_0xf7c5a3(0xe3)][0x0][_0xf7c5a3(0xb7)]=this['currentTest'][_0xf7c5a3(0xc0)]()['join'](_0x5cfdbd[_0xf7c5a3(0xbb)])),global[_0xf7c5a3(0xb7)]=this[_0xf7c5a3(0xea)][_0xf7c5a3(0xc0)]()['join'](_0x5cfdbd[_0xf7c5a3(0xbb)]);}catch(_0x2a56b9){logger[_0xf7c5a3(0xf2)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x2a56b9);}this[_0xf7c5a3(0xea)][_0xf7c5a3(0x98)]=_0x5cfdbd[_0xf7c5a3(0xab)](shouldScanTestForAccessibility,this['currentTest'][_0xf7c5a3(0xc0)](),!![]),globals['setGlobal'](_0x5cfdbd[_0xf7c5a3(0xf9)],this['currentTest']['shouldScanTestForAccessibility']),this[_0xf7c5a3(0xea)][_0xf7c5a3(0xbd)]=!![];if(_0x5cfdbd[_0xf7c5a3(0xa4)](isAccessibilityAutomationSession)&&_0x2c3e41&&Array['isArray'](global[_0xf7c5a3(0xe3)])&&_0x5cfdbd[_0xf7c5a3(0xee)](global[_0xf7c5a3(0xe3)]['length'],0x0)&&globals['getGlobal'](_0x5cfdbd[_0xf7c5a3(0x110)]))try{const _0xda728d=await global['__drivers'][0x0][_0xf7c5a3(0xe1)];if(_0xda728d){let _0x2bd65a=!![];const _0x571b80=await global['__drivers'][0x0][_0xf7c5a3(0xef)]();let _0x5979de;try{_0x5979de=new URL(_0x571b80);}catch(_0x3738f3){_0x2bd65a=![];}_0x2bd65a=_0x5cfdbd[_0xf7c5a3(0xb2)](_0x5979de[_0xf7c5a3(0xc1)],_0x5cfdbd[_0xf7c5a3(0x9b)])||_0x5cfdbd['JyVSM'](_0x5979de[_0xf7c5a3(0xc1)],_0x5cfdbd[_0xf7c5a3(0xcb)]),_0x2bd65a&&(this[_0xf7c5a3(0xea)][_0xf7c5a3(0x98)]&&logger[_0xf7c5a3(0xb1)](_0x5cfdbd[_0xf7c5a3(0xe7)])),this[_0xf7c5a3(0xea)][_0xf7c5a3(0xbd)]=this[_0xf7c5a3(0xea)]['shouldScanTestForAccessibility'],this[_0xf7c5a3(0xea)]['shouldScanTestForAccessibility']&&logger[_0xf7c5a3(0xb1)](_0x5cfdbd['Bbakb']);}}catch(_0x2a87dd){logger['error'](_0xf7c5a3(0xdf)+util[_0xf7c5a3(0xec)](_0x2a87dd));}_0x5cfdbd['nLsHq'](_0x20a0d2);})[_0x254948(0xe5)](_0x1e930d);},'afterEach'(_0x1cb71b){const _0x2585af=a32_0x4bbcf4,_0x15915a={'iUldU':function(_0x436425,_0x5f16be){return _0x436425>_0x5f16be;},'HEHwD':function(_0x463f10,_0x2c1aaf){return _0x463f10===_0x2c1aaf;},'RPBvG':'testcase','Bqbva':'appium:app','Jjpmo':function(_0x11b079,_0x1c617b,_0x4ca40f,_0x446d68){return _0x11b079(_0x1c617b,_0x4ca40f,_0x446d68);},'bXSdH':_0x2585af(0x99),'ucxDD':function(_0x57dc6a,_0x377017){return _0x57dc6a!==_0x377017;},'hRtyW':_0x2585af(0xe0),'uicyq':function(_0x3c3c36,_0x37397a,_0x430905){return _0x3c3c36(_0x37397a,_0x430905);},'ZpTfZ':function(_0xa2fec4,_0x37a0b7){return _0xa2fec4+_0x37a0b7;},'MAxzF':'Failed:\x20','KaOSg':'error','xnCCJ':_0x2585af(0xe8),'KlHCI':_0x2585af(0xb1),'bUTSM':_0x2585af(0xe6),'duzLR':_0x2585af(0xa6),'cCHoC':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','HELiC':_0x2585af(0x106),'BGCty':_0x2585af(0xd8),'Ofmfi':function(_0x5b7f87){return _0x5b7f87();},'mmlRL':function(_0x261cce){return _0x261cce();},'bCpNY':function(_0x4089bd,_0x4fe418,_0x1f6a0c){return _0x4089bd(_0x4fe418,_0x1f6a0c);},'nxrpf':'debug'},_0x2ebac1='browserstack internal helper hook';this[_0x2585af(0xc2)](0xfde8);const _0x54abce=async(_0x3110aa,_0x569471)=>{const _0x2cea89=_0x2585af;await global[_0x2cea89(0xe3)][0x0][_0x2cea89(0x97)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x3110aa+_0x2cea89(0xcd)+_0x569471+_0x2cea89(0x100));};new Promise(async _0x39e161=>{const _0x999646=_0x2585af;try{_0x15915a[_0x999646(0xfa)](global[_0x999646(0xe3)][_0x999646(0xb8)],0x1)&&(await global[_0x999646(0x101)](),global[_0x999646(0xe3)][_0x999646(0x9d)](),global['__error_messages__']=[],global[_0x999646(0xf3)]=![]);try{if(global[_0x999646(0xfd)]&&_0x15915a[_0x999646(0xa1)](global[_0x999646(0x10c)],_0x15915a[_0x999646(0xf5)])&&global[_0x999646(0xe3)][0x0]){const _0x53c5b0=_0x15915a[_0x999646(0xfa)](global['capabilities'][_0x999646(0xb8)],0x0)?!!global[_0x999646(0x9c)][0x0][_0x999646(0xb4)]||!!global[_0x999646(0x9c)][0x0][_0x15915a[_0x999646(0xe4)]]:![],_0x3befec={};_0x3befec[_0x999646(0xb4)]=_0x53c5b0,await _0x15915a[_0x999646(0xf6)](percyAutoCapture,global[_0x999646(0xe3)][0x0],_0x15915a[_0x999646(0xf5)],_0x3befec);}}catch(_0x1f2dee){}!global[_0x999646(0xa7)]&&(await global[_0x999646(0xe3)][0x0][_0x999646(0x97)](_0x999646(0xdb)+JSON['stringify'](this['currentTest']['titlePath']()[_0x999646(0xaf)](_0x15915a[_0x999646(0xcc)]))+'}}'),global[_0x999646(0xe3)][0x0][_0x999646(0x10b)]=!![]);const _0x2c9d95=_0x15915a[_0x999646(0xf8)](this[_0x999646(0xea)]['state'],_0x15915a[_0x999646(0xd6)]);_0x2c9d95?(global[_0x999646(0xf3)]=!![],global[_0x999646(0xfc)][_0x999646(0xf7)](this[_0x999646(0xea)][_0x999646(0xfb)]['message']),await _0x15915a[_0x999646(0x9e)](_0x54abce,JSON[_0x999646(0x10f)](_0x15915a[_0x999646(0xba)](_0x15915a[_0x999646(0xa2)],this[_0x999646(0xea)]['err']['message'])),_0x15915a[_0x999646(0x9a)])):await _0x15915a['uicyq'](_0x54abce,JSON['stringify'](_0x15915a[_0x999646(0xb9)]),_0x15915a[_0x999646(0xc6)]);}catch(_0x3df7a1){}try{if(this[_0x999646(0xea)][_0x999646(0xbd)]&&globals[_0x999646(0xac)](_0x15915a[_0x999646(0xc7)])&&globals['getGlobal'](_0x15915a[_0x999646(0xaa)])){logger[_0x999646(0xb1)](_0x15915a[_0x999646(0xc8)]);const _0x464e52={};_0x464e52[_0x999646(0xa5)]=this[_0x999646(0xea)]['testAnalyticsId'],_0x464e52[_0x999646(0x104)]=process[_0x999646(0xd5)][testHubConstants[_0x999646(0xf1)][_0x999646(0xd7)]],_0x464e52[_0x999646(0xd1)]=process[_0x999646(0xd5)][testHubConstants[_0x999646(0xf1)][_0x999646(0xf0)]];const _0xe884ae=_0x464e52;logger[_0x999646(0xf2)](_0x999646(0xb0)+JSON[_0x999646(0x10f)](_0xe884ae)),logger[_0x999646(0xf2)](_0x15915a[_0x999646(0xd0)]),logger[_0x999646(0xf2)](util['format'](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x999646(0xbe)],{'method':global[_0x999646(0xb7)]}))),await global[_0x999646(0xe3)][0x0][_0x999646(0xdd)](scripts[_0x999646(0xc4)],_0xe884ae),logger[_0x999646(0xb1)](_0x15915a['BGCty']);}}catch(_0xf0d1d6){logger[_0x999646(0xde)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x999646(0xea)][_0x999646(0xc0)]()+_0x999646(0xae),_0xf0d1d6);}try{try{if(_0x15915a[_0x999646(0xbf)](shouldProcessEventForTesthub)){global[_0x999646(0xe3)][0x0]&&await _0x15915a[_0x999646(0x9e)](sendPlatformDetails,global[_0x999646(0xe3)][0x0],this[_0x999646(0xea)]?this['currentTest'][_0x999646(0xc9)]:null);if(_0x15915a[_0x999646(0xd9)](isBrowserstackInfra)){const _0x17d761=_0x999646(0xcf)+Date[_0x999646(0xed)]();await _0x15915a[_0x999646(0xb3)](_0x54abce,JSON[_0x999646(0x10f)](_0x17d761),_0x15915a['nxrpf']);}}}catch{}_0x15915a['iUldU'](global[_0x999646(0xe3)][0x0][_0x999646(0xfe)],0x0)&&await global[_0x999646(0x101)]();}catch(_0x363ca3){}_0x15915a[_0x999646(0xbf)](_0x39e161);})[_0x2585af(0xe5)](()=>_0x1cb71b());},'afterAll'(_0x8a8b11){const _0x4c165d=a32_0x4bbcf4,_0x526d6c={'wvDyj':function(_0x562e78){return _0x562e78();}},_0x38a678='browserstack internal helper hook';this[_0x4c165d(0xc2)](0xfde8),new Promise(async _0x193d01=>{const _0x5b64c3=_0x4c165d;PerformanceTester[_0x5b64c3(0x105)](),await global['driverCleanup'](),_0x526d6c[_0x5b64c3(0xeb)](_0x193d01);})[_0x4c165d(0xe5)](()=>_0x8a8b11());}};function a32_0x2849(){const _0x1d0647=['1604584QkfQmK','duzLR','BMnMq','getGlobal','11363720QzcBvN','.\x20Error\x20:','join','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','info','MZYDB','bCpNY','app','BEhqd','https:','browserstackSessionName','length','xnCCJ','ZpTfZ','dZgWa','http:','accessibilityScanStarted','performScan','Ofmfi','titlePath','protocol','timeout','../../helpers/performance-tester','saveTestResults','3728655UQeNSh','KlHCI','bUTSM','cCHoC','testAnalyticsId','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SxLld','bXSdH',',\x22level\x22:\x20\x22','snVuA','ObservabilitySync:','HELiC','thJwtToken','initQuit','4244706qsikSR','mXGnk','env','hRtyW','BROWSERSTACK_TESTHUB_UUID','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','mmlRL','../../helpers/logger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','\x20|\x20','executeAsyncScript','error','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','passed','session_','3540835vNTuAm','__drivers','Bqbva','then','isAccessibilityPlatform','nZDtU','Passed','36QXaCRr','currentTest','wvDyj','format','now','HWMDw','getCurrentUrl','BROWSERSTACK_TESTHUB_JWT','ENV_VAR','debug','__sessionFailed','startMonitoring','RPBvG','Jjpmo','push','ucxDD','ZVHsQ','iUldU','err','__error_messages__','percy','quitCount_','347cplYLs','\x22}}','driverCleanup','WjXdG','1922RFbyCB','thBuildUuid','stopMonitoring','Performing\x20scan\x20before\x20saving\x20results','../../helpers/testhub/utils','../../helpers/testhub/constants','../../helpers/percy/utils','8WhSQYL','sessionNameSet__','percyCaptureMode','mochaHooks','HmAeG','stringify','LOxwL','executeScript','shouldScanTestForAccessibility','\x20-\x20','KaOSg','lhJlp','capabilities','shift','uicyq','../../helpers/globals','1174053dwYqlm','HEHwD','MAxzF','../../helpers/accessibility-automation/scripts','DbLZI','thTestRunUuid','bstackA11yShouldScan','__skipSessionName','util'];a32_0x2849=function(){return _0x1d0647;};return a32_0x2849();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x32cd(){const _0x3a142b=['port','9GZqrXS','path','Flqiu','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','slice','zeoZg','stringify','push','7jicXAc','pkUpz','inherit','platform','debug','test','../../helpers/BrowserStackSetup','env','204tGiSVB','filter','QetGR','eBrrw','9749SkUZbu','../utils/constants','39060SNQlKX','existsSync','RneXN','244nMJxeO','../../helpers/logger','lXrXY','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','cCIAH','6oqUwoC','useW3C','JULtQ','53817751TsFglb','eKXgY','info','writeFileSync','--env','1174672dYgZsg','forEach','qZQQS','start_process','nightwatch.json','3184008upfovS','SOhQA','NruZO','rlvGA','--config','desiredCapabilities','604745OofHWD','525877liliZP','ytiPa','platforms','demug','RTHjg','splice','config','KehQi','isUndefined','trim','winstonLogger','modifyBrowserStackW3CCaps','length','nightwatch.conf.js','nightwatch-browserstack.json','join','map','close','getPlatformName','now','findIndex','ZWJKo','nightwatch','cwd','2682MxJXLA','child_process','modifyBrowserStackCaps','test_settings','exports'];a33_0x32cd=function(){return _0x3a142b;};return a33_0x32cd();}const a33_0xd1d7ef=a33_0x3a96;(function(_0x2e68d3,_0x336950){const _0x1d8a68=a33_0x3a96,_0x447d45=_0x2e68d3();while(!![]){try{const _0x2be160=-parseInt(_0x1d8a68(0x16c))/0x1*(parseInt(_0x1d8a68(0x121))/0x2)+parseInt(_0x1d8a68(0x158))/0x3*(-parseInt(_0x1d8a68(0x12e))/0x4)+parseInt(_0x1d8a68(0x139))/0x5*(parseInt(_0x1d8a68(0x126))/0x6)+parseInt(_0x1d8a68(0x160))/0x7*(parseInt(_0x1d8a68(0x133))/0x8)+parseInt(_0x1d8a68(0x152))/0x9*(-parseInt(_0x1d8a68(0x16e))/0xa)+parseInt(_0x1d8a68(0x13a))/0xb*(-parseInt(_0x1d8a68(0x168))/0xc)+parseInt(_0x1d8a68(0x129))/0xd;if(_0x2be160===_0x336950)break;else _0x447d45['push'](_0x447d45['shift']());}catch(_0x12c388){_0x447d45['push'](_0x447d45['shift']());}}}(a33_0x32cd,0x95568));const fs=require('fs'),path=require(a33_0xd1d7ef(0x159)),{spawn}=require(a33_0xd1d7ef(0x153)),logger=require(a33_0xd1d7ef(0x122))[a33_0xd1d7ef(0x144)],{default:BrowserStackSetup}=require(a33_0xd1d7ef(0x166)),helper=require('../../helpers/helper'),constants=require(a33_0xd1d7ef(0x16d)),getUserNightwatchConfigs=(_0x4b648e,_0x4fb4c4)=>{const _0xd59063=a33_0xd1d7ef,_0x262580={'qZQQS':_0xd59063(0x147),'KehQi':_0xd59063(0x132),'eBrrw':function(_0x294d53,_0x3446cd){return _0x294d53(_0x3446cd);},'nhell':_0xd59063(0x15b)};let _0x4690ee=null,_0x4d02fe={};const _0x367f3a=_0x4fb4c4[_0xd59063(0x14e)](_0xbd7001=>_0xbd7001===_0xd59063(0x137));if(!helper[_0xd59063(0x142)](_0x4b648e['config'])&&fs[_0xd59063(0x11f)](path[_0xd59063(0x149)](process[_0xd59063(0x151)](),_0x4b648e[_0xd59063(0x140)])))_0x4690ee=path[_0xd59063(0x149)](process['cwd'](),_0x4b648e[_0xd59063(0x140)]),_0x4fb4c4[_0xd59063(0x13f)](_0x367f3a,0x2);else{if(fs['existsSync'](path[_0xd59063(0x149)](process[_0xd59063(0x151)](),_0x262580[_0xd59063(0x130)])))_0x4690ee=path[_0xd59063(0x149)](process[_0xd59063(0x151)](),_0x262580['qZQQS']);else fs[_0xd59063(0x11f)](path['join'](process['cwd'](),_0x262580[_0xd59063(0x141)]))&&(_0x4690ee=path[_0xd59063(0x149)](process[_0xd59063(0x151)](),_0x262580[_0xd59063(0x141)]));}return _0x4690ee?(logger[_0xd59063(0x12b)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4690ee),_0x4d02fe=_0x262580[_0xd59063(0x16b)](require,_0x4690ee)):logger[_0xd59063(0x12b)](_0x262580['nhell']),_0x4d02fe;},removeExistingEnvs=_0x40a986=>{const _0x2ba5a8=a33_0xd1d7ef,_0x5dd600={};_0x5dd600[_0x2ba5a8(0x16a)]=function(_0x3f3567,_0x504bc3){return _0x3f3567>_0x504bc3;},_0x5dd600['RneXN']=function(_0xb5ea43,_0x354d1a){return _0xb5ea43>_0x354d1a;};const _0x38309e=_0x5dd600;let _0x27156e=_0x40a986[_0x2ba5a8(0x14e)](_0x318c6a=>_0x318c6a===_0x2ba5a8(0x12d));_0x38309e[_0x2ba5a8(0x16a)](_0x27156e,-0x1)&&_0x40a986[_0x2ba5a8(0x13f)](_0x27156e,0x2),_0x27156e=_0x40a986[_0x2ba5a8(0x14e)](_0x3efba6=>_0x3efba6==='-e'),_0x38309e[_0x2ba5a8(0x120)](_0x27156e,-0x1)&&_0x40a986[_0x2ba5a8(0x13f)](_0x27156e,0x2);};function run(_0xbdafd6,_0x5c5d9a){const _0xf9c81a=a33_0xd1d7ef,_0x58c4ab={'NruZO':_0xf9c81a(0x150),'pkUpz':function(_0x5a9160,_0x2c4e4f){return _0x5a9160+_0x2c4e4f;},'lXrXY':_0xf9c81a(0x155),'ytiPa':function(_0x12e434,_0x4c3688,_0x2d76f6){return _0x12e434(_0x4c3688,_0x2d76f6);},'ZWJKo':'hub.browserstack.com','rlvGA':_0xf9c81a(0x124),'Flqiu':function(_0x235699,_0x1d92e8){return _0x235699===_0x1d92e8;},'zeoZg':_0xf9c81a(0x148),'eKXgY':function(_0x122ba,_0x359adb){return _0x122ba(_0x359adb);},'RTHjg':function(_0x1a1ef5,_0x1b8fd0,_0x17bbaf,_0x1d7d2e){return _0x1a1ef5(_0x1b8fd0,_0x17bbaf,_0x1d7d2e);},'JULtQ':'nightwatch.cmd','demug':_0xf9c81a(0x137),'cCIAH':'--env','BWnNa':_0xf9c81a(0x162),'SOhQA':_0xf9c81a(0x14b)},_0x5490b7=new BrowserStackSetup(_0xbdafd6);if(!_0x5490b7['config'])return;const _0x37f267=_0x58c4ab[_0xf9c81a(0x13b)](getUserNightwatchConfigs,_0xbdafd6,_0x5c5d9a),_0x442870={};_0x442870[_0xf9c81a(0x131)]=![];const _0x294723={};_0x294723['host']=_0x58c4ab[_0xf9c81a(0x14f)],_0x294723[_0xf9c81a(0x157)]=0x1bb;const _0x3b1cc3={};_0x3b1cc3['webdriver']=_0x442870,_0x3b1cc3['selenium']=_0x294723;const _0x22a92f=_0x3b1cc3;logger[_0xf9c81a(0x12b)](_0x58c4ab[_0xf9c81a(0x136)]);const _0x29ff83={..._0x37f267},_0x496e0a=_0x29ff83,_0x1ebe88=helper[_0xf9c81a(0x127)](_0x5490b7[_0xf9c81a(0x140)]),_0x1c0735=[];_0x5490b7[_0xf9c81a(0x140)][_0xf9c81a(0x13c)]['forEach']((_0x527845,_0x14c456)=>{const _0x193f56=_0xf9c81a;_0x1ebe88?_0x1c0735['push'](helper[_0x193f56(0x145)](_0x5490b7['config'],_0x58c4ab[_0x193f56(0x135)],_0x14c456)):_0x1c0735[_0x193f56(0x15f)](helper[_0x193f56(0x154)](_0x5490b7[_0x193f56(0x140)],_0x58c4ab[_0x193f56(0x135)],_0x14c456));});const _0x207906={},_0x225867=[];_0xbdafd6[_0xf9c81a(0x167)]=_0xbdafd6['env']||_0xbdafd6['e'];const _0x5b0624=_0xbdafd6[_0xf9c81a(0x167)]?_0xbdafd6[_0xf9c81a(0x167)][_0xf9c81a(0x143)]()['split'](',')[_0xf9c81a(0x14a)](_0x2fdf98=>_0x2fdf98['trim']())[_0xf9c81a(0x169)](_0x43ff87=>_0x43ff87!==''):[''];_0x58c4ab[_0xf9c81a(0x15a)](_0x5b0624[_0xf9c81a(0x146)],0x0)&&_0x5b0624['push']('');_0x5b0624['forEach'](_0x4abb8a=>{const _0x4dc914=_0xf9c81a;_0x1c0735[_0x4dc914(0x12f)](_0x50e486=>{const _0x243412=_0x4dc914;let _0x27ed3e=_0x58c4ab[_0x243412(0x161)](helper[_0x243412(0x14c)](_0x50e486,'_'),'_'+Date[_0x243412(0x14d)]());_0x4abb8a&&(_0x27ed3e+='_'+_0x4abb8a);if(_0x4abb8a&&(!_0x37f267[_0x58c4ab[_0x243412(0x123)]]||!_0x37f267[_0x58c4ab[_0x243412(0x123)]][_0x4abb8a]))return;const _0x12c1b2={..._0x22a92f};_0x12c1b2[_0x243412(0x138)]=_0x50e486;const _0x4c9718=_0x12c1b2;_0x207906[_0x27ed3e]=_0x4abb8a?helper['mergeDeep'](_0x37f267[_0x58c4ab[_0x243412(0x123)]][_0x4abb8a],_0x4c9718):_0x4c9718,_0x225867['push'](_0x27ed3e);});});!_0x496e0a[_0xf9c81a(0x155)]&&(_0x496e0a[_0xf9c81a(0x155)]={});_0x496e0a[_0xf9c81a(0x155)]={..._0x496e0a[_0xf9c81a(0x155)],..._0x207906};const _0x88b388=path[_0xf9c81a(0x149)](__dirname,_0x58c4ab[_0xf9c81a(0x15d)]);fs[_0xf9c81a(0x12c)](_0x88b388,JSON[_0xf9c81a(0x15e)](_0x496e0a)),_0x58c4ab[_0xf9c81a(0x12a)](removeExistingEnvs,_0x5c5d9a);const _0x3a8a12=_0x58c4ab[_0xf9c81a(0x13e)](spawn,/^win/[_0xf9c81a(0x165)](process[_0xf9c81a(0x163)])?_0x58c4ab[_0xf9c81a(0x128)]:_0x58c4ab[_0xf9c81a(0x135)],[_0x58c4ab[_0xf9c81a(0x13d)],_0x88b388,..._0x5c5d9a[_0xf9c81a(0x15c)](0x1),_0x58c4ab[_0xf9c81a(0x125)],_0x225867[_0xf9c81a(0x149)](',')],{'stdio':_0x58c4ab['BWnNa']});_0x3a8a12['on'](_0x58c4ab[_0xf9c81a(0x134)],async _0x4b2c29=>{const _0x5f1b6d=_0xf9c81a;logger[_0x5f1b6d(0x164)]('child\x20process\x20exited\x20with\x20code\x20'+_0x4b2c29),logger[_0x5f1b6d(0x12b)]('Deleting\x20'+_0x88b388),fs['unlinkSync'](_0x88b388);});}function a33_0x3a96(_0x162a39,_0x5bc692){const _0x32cdff=a33_0x32cd();return a33_0x3a96=function(_0x3a96b6,_0x41aa60){_0x3a96b6=_0x3a96b6-0x11f;let _0x39eb4c=_0x32cdff[_0x3a96b6];return _0x39eb4c;},a33_0x3a96(_0x162a39,_0x5bc692);}module[a33_0xd1d7ef(0x156)]=run;
2
+ 'use strict';const a33_0x251111=a33_0x224e;function a33_0x2ffe(){const _0x439853=['debug','nightwatch.cmd','config','nightwatch.conf.js','child\x20process\x20exited\x20with\x20code\x20','3545485bHqzrh','exports','mfekS','yydnT','--config','stringify','Hapnw','OMwzS','428611HguOdd','7cJqida','inherit','findIndex','length','ucSai','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','filter','modifyBrowserStackCaps','forEach','2593392pVObeP','getPlatformName','isUndefined','port','../utils/constants','now','nightwatch.json','pzjUY','test_settings','KjFTW','slice','uJzoh','875763IvLgKz','ziCMp','selenium','env','close','5803832vepcmv','abZOs','child_process','8608842pfASFT','--env','push','120800JMkUjv','start_process','../../helpers/helper','mergeDeep','nLRsi','nelaG','info','2AZlfea','unlinkSync','ZtWYz','writeFileSync','AKUjh','splice','nightwatch','test','hub.browserstack.com','Deleting\x20','modifyBrowserStackW3CCaps','../../helpers/BrowserStackSetup','existsSync','cwd','eynJm','nightwatch-browserstack.json','join','webdriver','sMqsx','lWXHz','trim'];a33_0x2ffe=function(){return _0x439853;};return a33_0x2ffe();}(function(_0x4076ed,_0x39ea27){const _0x247d00=a33_0x224e,_0x175fb4=_0x4076ed();while(!![]){try{const _0x2cdaff=-parseInt(_0x247d00(0x1b5))/0x1+parseInt(_0x247d00(0x1dd))/0x2*(parseInt(_0x247d00(0x1cb))/0x3)+parseInt(_0x247d00(0x1d6))/0x4+parseInt(_0x247d00(0x1ad))/0x5+-parseInt(_0x247d00(0x1bf))/0x6+parseInt(_0x247d00(0x1b6))/0x7*(-parseInt(_0x247d00(0x1d0))/0x8)+parseInt(_0x247d00(0x1d3))/0x9;if(_0x2cdaff===_0x39ea27)break;else _0x175fb4['push'](_0x175fb4['shift']());}catch(_0x2e14bd){_0x175fb4['push'](_0x175fb4['shift']());}}}(a33_0x2ffe,0x6201a));const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x251111(0x1d2)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x251111(0x1e8)),helper=require(a33_0x251111(0x1d8)),constants=require(a33_0x251111(0x1c3)),getUserNightwatchConfigs=(_0x5677b6,_0x2fe2a1)=>{const _0x17ed57=a33_0x251111,_0x57785b={'ziCMp':_0x17ed57(0x1ab),'OMwzS':_0x17ed57(0x1c5),'uJzoh':function(_0x42b231,_0x3765b6){return _0x42b231(_0x3765b6);},'yydnT':_0x17ed57(0x1bb)};let _0x5dcf63=null,_0xb7a344={};const _0x5b907e=_0x2fe2a1[_0x17ed57(0x1b8)](_0x1894a4=>_0x1894a4===_0x17ed57(0x1b1));if(!helper[_0x17ed57(0x1c1)](_0x5677b6['config'])&&fs[_0x17ed57(0x1e9)](path[_0x17ed57(0x1a3)](process[_0x17ed57(0x1a0)](),_0x5677b6['config'])))_0x5dcf63=path['join'](process[_0x17ed57(0x1a0)](),_0x5677b6[_0x17ed57(0x1aa)]),_0x2fe2a1['splice'](_0x5b907e,0x2);else{if(fs[_0x17ed57(0x1e9)](path['join'](process['cwd'](),_0x57785b[_0x17ed57(0x1cc)])))_0x5dcf63=path[_0x17ed57(0x1a3)](process[_0x17ed57(0x1a0)](),_0x57785b['ziCMp']);else fs[_0x17ed57(0x1e9)](path[_0x17ed57(0x1a3)](process[_0x17ed57(0x1a0)](),_0x57785b[_0x17ed57(0x1b4)]))&&(_0x5dcf63=path[_0x17ed57(0x1a3)](process['cwd'](),_0x57785b[_0x17ed57(0x1b4)]));}return _0x5dcf63?(logger[_0x17ed57(0x1dc)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x5dcf63),_0xb7a344=_0x57785b[_0x17ed57(0x1ca)](require,_0x5dcf63)):logger[_0x17ed57(0x1dc)](_0x57785b[_0x17ed57(0x1b0)]),_0xb7a344;},removeExistingEnvs=_0x3fb41b=>{const _0x449c22=a33_0x251111,_0x501e24={};_0x501e24[_0x449c22(0x1ba)]=function(_0x541ec9,_0x2a7b6d){return _0x541ec9>_0x2a7b6d;},_0x501e24[_0x449c22(0x1d1)]=function(_0x53c477,_0x411498){return _0x53c477>_0x411498;};const _0x411927=_0x501e24;let _0x21c18e=_0x3fb41b[_0x449c22(0x1b8)](_0x549ba6=>_0x549ba6==='--env');_0x411927[_0x449c22(0x1ba)](_0x21c18e,-0x1)&&_0x3fb41b[_0x449c22(0x1e2)](_0x21c18e,0x2),_0x21c18e=_0x3fb41b[_0x449c22(0x1b8)](_0x471900=>_0x471900==='-e'),_0x411927[_0x449c22(0x1d1)](_0x21c18e,-0x1)&&_0x3fb41b[_0x449c22(0x1e2)](_0x21c18e,0x2);};function run(_0x47c404,_0x57d33a){const _0x5f5ac9=a33_0x251111,_0x4ac7e5={'pzjUY':_0x5f5ac9(0x1e3),'KjFTW':function(_0x198052,_0x574430){return _0x198052+_0x574430;},'Hapnw':_0x5f5ac9(0x1c7),'rfgZm':function(_0xebc7a2,_0x45688f,_0x187420){return _0xebc7a2(_0x45688f,_0x187420);},'mfekS':_0x5f5ac9(0x1e5),'KLfNy':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','sMqsx':function(_0x59e7c1,_0x566622){return _0x59e7c1===_0x566622;},'nelaG':_0x5f5ac9(0x1a2),'eynJm':function(_0xcbfbd3,_0x3170dd){return _0xcbfbd3(_0x3170dd);},'AKUjh':function(_0x8a98c5,_0x5f1e73,_0x5f23a0,_0x234eb0){return _0x8a98c5(_0x5f1e73,_0x5f23a0,_0x234eb0);},'ZtWYz':_0x5f5ac9(0x1a9),'lWXHz':'--config','PlfTP':_0x5f5ac9(0x1d4),'wyLsi':_0x5f5ac9(0x1b7),'nLRsi':_0x5f5ac9(0x1cf)},_0x3d28cf=new BrowserStackSetup(_0x47c404);if(!_0x3d28cf['config'])return;const _0x36722b=_0x4ac7e5['rfgZm'](getUserNightwatchConfigs,_0x47c404,_0x57d33a),_0x8d60e5={};_0x8d60e5[_0x5f5ac9(0x1d7)]=![];const _0x49b0a7={};_0x49b0a7['host']=_0x4ac7e5[_0x5f5ac9(0x1af)],_0x49b0a7[_0x5f5ac9(0x1c2)]=0x1bb;const _0x46068b={};_0x46068b[_0x5f5ac9(0x1a4)]=_0x8d60e5,_0x46068b[_0x5f5ac9(0x1cd)]=_0x49b0a7;const _0x4f1a2b=_0x46068b;logger[_0x5f5ac9(0x1dc)](_0x4ac7e5['KLfNy']);const _0x17b297={..._0x36722b},_0x169773=_0x17b297,_0x26b43d=helper['useW3C'](_0x3d28cf['config']),_0x11cae4=[];_0x3d28cf['config']['platforms'][_0x5f5ac9(0x1be)]((_0x1c74f5,_0x4f22fd)=>{const _0xc3f145=_0x5f5ac9;_0x26b43d?_0x11cae4[_0xc3f145(0x1d5)](helper[_0xc3f145(0x1e7)](_0x3d28cf['config'],_0x4ac7e5[_0xc3f145(0x1c6)],_0x4f22fd)):_0x11cae4['push'](helper[_0xc3f145(0x1bd)](_0x3d28cf[_0xc3f145(0x1aa)],_0x4ac7e5['pzjUY'],_0x4f22fd));});const _0x4582e9={},_0x2e2643=[];_0x47c404['env']=_0x47c404['env']||_0x47c404['e'];const _0x48d619=_0x47c404[_0x5f5ac9(0x1ce)]?_0x47c404[_0x5f5ac9(0x1ce)][_0x5f5ac9(0x1a7)]()['split'](',')['map'](_0x169b0a=>_0x169b0a[_0x5f5ac9(0x1a7)]())[_0x5f5ac9(0x1bc)](_0x529225=>_0x529225!==''):[''];_0x4ac7e5[_0x5f5ac9(0x1a5)](_0x48d619[_0x5f5ac9(0x1b9)],0x0)&&_0x48d619['push']('');_0x48d619[_0x5f5ac9(0x1be)](_0x5070a4=>{const _0x3a114c=_0x5f5ac9;_0x11cae4[_0x3a114c(0x1be)](_0x55f489=>{const _0x50e1fe=_0x3a114c;let _0xe79d36=_0x4ac7e5[_0x50e1fe(0x1c8)](helper[_0x50e1fe(0x1c0)](_0x55f489,'_'),'_'+Date[_0x50e1fe(0x1c4)]());_0x5070a4&&(_0xe79d36+='_'+_0x5070a4);if(_0x5070a4&&(!_0x36722b[_0x4ac7e5['Hapnw']]||!_0x36722b[_0x4ac7e5[_0x50e1fe(0x1b3)]][_0x5070a4]))return;const _0x484bb2={..._0x4f1a2b};_0x484bb2['desiredCapabilities']=_0x55f489;const _0x1100ab=_0x484bb2;_0x4582e9[_0xe79d36]=_0x5070a4?helper[_0x50e1fe(0x1d9)](_0x36722b[_0x4ac7e5[_0x50e1fe(0x1b3)]][_0x5070a4],_0x1100ab):_0x1100ab,_0x2e2643['push'](_0xe79d36);});});!_0x169773['test_settings']&&(_0x169773[_0x5f5ac9(0x1c7)]={});_0x169773[_0x5f5ac9(0x1c7)]={..._0x169773[_0x5f5ac9(0x1c7)],..._0x4582e9};const _0x1878f5=path[_0x5f5ac9(0x1a3)](__dirname,_0x4ac7e5[_0x5f5ac9(0x1db)]);fs[_0x5f5ac9(0x1e0)](_0x1878f5,JSON[_0x5f5ac9(0x1b2)](_0x169773)),_0x4ac7e5[_0x5f5ac9(0x1a1)](removeExistingEnvs,_0x57d33a);const _0x2eeaf7=_0x4ac7e5[_0x5f5ac9(0x1e1)](spawn,/^win/[_0x5f5ac9(0x1e4)](process['platform'])?_0x4ac7e5[_0x5f5ac9(0x1df)]:_0x4ac7e5[_0x5f5ac9(0x1c6)],[_0x4ac7e5[_0x5f5ac9(0x1a6)],_0x1878f5,..._0x57d33a[_0x5f5ac9(0x1c9)](0x1),_0x4ac7e5['PlfTP'],_0x2e2643[_0x5f5ac9(0x1a3)](',')],{'stdio':_0x4ac7e5['wyLsi']});_0x2eeaf7['on'](_0x4ac7e5[_0x5f5ac9(0x1da)],async _0x340e04=>{const _0x186e7c=_0x5f5ac9;logger[_0x186e7c(0x1a8)](_0x186e7c(0x1ac)+_0x340e04),logger[_0x186e7c(0x1dc)](_0x186e7c(0x1e6)+_0x1878f5),fs[_0x186e7c(0x1de)](_0x1878f5);});}function a33_0x224e(_0x335b01,_0x2c8064){const _0x2ffebe=a33_0x2ffe();return a33_0x224e=function(_0x224e6e,_0x3ffb36){_0x224e6e=_0x224e6e-0x1a0;let _0x515e95=_0x2ffebe[_0x224e6e];return _0x515e95;},a33_0x224e(_0x335b01,_0x2c8064);}module[a33_0x251111(0x1ae)]=run;
@@ -1 +1 @@
1
- const a34_0x4cbd0f=a34_0x2939;(function(_0x6207ab,_0x1e005f){const _0x427be0=a34_0x2939,_0x43f451=_0x6207ab();while(!![]){try{const _0x24108d=parseInt(_0x427be0(0xb3))/0x1*(parseInt(_0x427be0(0xa6))/0x2)+parseInt(_0x427be0(0xe8))/0x3+-parseInt(_0x427be0(0xd6))/0x4+-parseInt(_0x427be0(0xb2))/0x5*(parseInt(_0x427be0(0x9a))/0x6)+parseInt(_0x427be0(0x9d))/0x7+parseInt(_0x427be0(0xaa))/0x8+parseInt(_0x427be0(0xb6))/0x9;if(_0x24108d===_0x1e005f)break;else _0x43f451['push'](_0x43f451['shift']());}catch(_0x56e0db){_0x43f451['push'](_0x43f451['shift']());}}}(a34_0x57ba,0x72a71));const util=require(a34_0x4cbd0f(0xa0)),logger=require(a34_0x4cbd0f(0xb8))[a34_0x4cbd0f(0xc4)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a34_0x4cbd0f(0xe5)),scripts=require(a34_0x4cbd0f(0x94));function a34_0x57ba(){const _0x29ec75=['Kzloa','KSUAy','QOHlb','browserstack.accessibility','executeScript','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','zOZIJ','accessibilityOptions.includeIssueType.bestPractice','muZrc','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions','accessibilityPlatform','workerInfo','chgBl','getAccessibilityResults','format','deviceName','LWUpg','chrome','../../helpers/accessibility-automation/scripts','performScan','browserName','platformValidation','oxMdA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','48084bYCqeQ','processAccessibilityCaps','vSxvU','2433851SzDXQf','qpATO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','util','testInfo','gsukZ','method','accessibilityOptions.includeIssueType.needsReview','wsEndpoint','34fgGzQk','Playwright','wcagVersion','stringify','2395392sKnvMo','browserStackExecuteDriver','getAccessibilityResultsSummary','ETOhh','CdlDl','gMloW','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','DJgvN','525ANflGQ','3309mEpYkq','constructor','setAccessibilityCapabilities','6148728ymEKOQ','name','../../helpers/logger','wiynD','cmKfR','accessibilityOptions.scannerProcessingTimeout','warn','scannerVersion','bstackSdkArgs','scannerProcessingTimeout','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','LonGZ','debug','accessibilityOptions.scannerVersion','winstonLogger','qpJqI','No\x20summaryResults\x20found.','WebDriver','browser_version','project','BS_A11Y_JWT','needsReview','GnPHV','(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','replace','jYYyk','sgMgu','Xgsck','opKJp','lYsTO','playwright-chromium','RKrkw','1132920YHxLwt','browser','IgOFq','kRfIr','txkGR','parse','QEDDG','error','No\x20accessibility\x20results\x20were\x20found.','env','latest','Xvkiw','connectOptions','FdYOr','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','../../helpers/helper','includeIssueType','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','623265RyPXKg','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'];a34_0x57ba=function(){return _0x29ec75;};return a34_0x57ba();}function a34_0x2939(_0x34208c,_0x587e10){const _0x57ba08=a34_0x57ba();return a34_0x2939=function(_0x293957,_0x50675e){_0x293957=_0x293957-0x8c;let _0x5485af=_0x57ba08[_0x293957];return _0x5485af;},a34_0x2939(_0x34208c,_0x587e10);}exports['browserStackEvaluate']=async(_0x1f2a88,_0x4f6938,_0x5c4c72={})=>{const _0x28f007=a34_0x4cbd0f,_0x193a44={};_0x193a44['sgMgu']=_0x28f007(0xbe);const _0x3cbea0=_0x193a44;return await _0x1f2a88['evaluate'](_0x28f007(0xcd)+_0x4f6938[_0x28f007(0xce)](/arguments/g,_0x3cbea0[_0x28f007(0xd0)])+_0x28f007(0xf3)+JSON[_0x28f007(0xa9)](_0x5c4c72)+')');},exports[a34_0x4cbd0f(0xab)]=async(_0x1cd666,_0xf57827,_0x190873={})=>{const _0x32c99f=a34_0x4cbd0f,_0x3ad842={};_0x3ad842[_0x32c99f(0xdc)]=function(_0x97faa5,_0x474aff){return _0x97faa5===_0x474aff;},_0x3ad842[_0x32c99f(0xcc)]=_0x32c99f(0xc7),_0x3ad842[_0x32c99f(0xb9)]=_0x32c99f(0xa7),_0x3ad842[_0x32c99f(0xa2)]=_0x32c99f(0xbe);const _0x542088=_0x3ad842;if(_0x542088[_0x32c99f(0xdc)](_0x1cd666[_0x32c99f(0xb4)][_0x32c99f(0xb7)],_0x542088[_0x32c99f(0xcc)]))return await _0x1cd666['executeAsyncScript'](_0xf57827,_0x190873);else{if(_0x542088[_0x32c99f(0xdc)](_0x1cd666[_0x32c99f(0xb4)][_0x32c99f(0xb7)],_0x542088[_0x32c99f(0xb9)]))return await _0x1cd666[_0x32c99f(0xee)]('(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'+_0xf57827[_0x32c99f(0xce)](/arguments/g,_0x542088[_0x32c99f(0xa2)])+_0x32c99f(0xb0)+JSON[_0x32c99f(0xa9)](_0x190873)+')');}},exports[a34_0x4cbd0f(0xb5)]=async _0x1f83ea=>{const _0x47c813=a34_0x4cbd0f,_0x2d0364={};_0x2d0364['Cxbli']='accessibilityOptions.wcagVersion',_0x2d0364[_0x47c813(0xc1)]=_0x47c813(0xbb),_0x2d0364[_0x47c813(0xd8)]=_0x47c813(0xf1),_0x2d0364[_0x47c813(0xda)]=_0x47c813(0xa4),_0x2d0364[_0x47c813(0xba)]='accessibilityOptions.authToken',_0x2d0364['Xgsck']=_0x47c813(0xc3);const _0x59919c=_0x2d0364;_0x1f83ea[_0x47c813(0xf4)]&&(_0x1f83ea[_0x47c813(0xf4)]['wcagVersion']&&(_0x1f83ea[_0x59919c['Cxbli']]=_0x1f83ea[_0x47c813(0xf4)][_0x47c813(0xa8)]),_0x1f83ea[_0x47c813(0xf4)][_0x47c813(0xbf)]&&(_0x1f83ea[_0x59919c[_0x47c813(0xc1)]]=_0x1f83ea[_0x47c813(0xf4)][_0x47c813(0xbf)]),_0x1f83ea[_0x47c813(0xf4)][_0x47c813(0xe6)]&&(_0x1f83ea[_0x59919c['IgOFq']]=_0x1f83ea[_0x47c813(0xf4)][_0x47c813(0xe6)]['bestPractice'],_0x1f83ea[_0x59919c[_0x47c813(0xda)]]=_0x1f83ea[_0x47c813(0xf4)][_0x47c813(0xe6)][_0x47c813(0xcb)]));const _0x27c0eb=JSON[_0x47c813(0xdb)](process[_0x47c813(0xdf)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x47c813(0xbd)];_0x1f83ea[_0x59919c[_0x47c813(0xba)]]=process['env'][_0x47c813(0xca)],_0x1f83ea[_0x59919c[_0x47c813(0xd1)]]=_0x27c0eb,delete _0x1f83ea[_0x47c813(0xf4)];},exports[a34_0x4cbd0f(0x8f)]=async _0x392b7f=>{const _0x34c8b4=a34_0x4cbd0f,_0x31e6ab={};_0x31e6ab[_0x34c8b4(0xd9)]=_0x34c8b4(0xde),_0x31e6ab[_0x34c8b4(0xd5)]=_0x34c8b4(0xc0);const _0x3c2534=_0x31e6ab;if(global[_0x34c8b4(0x8c)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x392b7f,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x392b7f,scripts.getResults);return res;}catch{return logger[_0x34c8b4(0xdd)](_0x3c2534['kRfIr']),[];}else return logger[_0x34c8b4(0xbc)](_0x3c2534[_0x34c8b4(0xd5)]),[];},exports[a34_0x4cbd0f(0x95)]=async(_0x168b82,_0xaf88b='')=>{const _0x59d3fd=a34_0x4cbd0f;if(global[_0x59d3fd(0x8c)]){const _0xf40577={};return _0xf40577[_0x59d3fd(0xa3)]=_0xaf88b,await exports['browserStackEvaluate'](_0x168b82,scripts[_0x59d3fd(0x95)],_0xf40577);}},exports[a34_0x4cbd0f(0xac)]=async _0x3a0bee=>{const _0x96fcfd=a34_0x4cbd0f,_0x1ebf59={};_0x1ebf59['jYYyk']=_0x96fcfd(0xc6),_0x1ebf59[_0x96fcfd(0x9c)]=_0x96fcfd(0xef);const _0x4b05fa=_0x1ebf59;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3a0bee,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x3a0bee,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x96fcfd(0xc2)](_0x4b05fa[_0x96fcfd(0xcf)]),{};}else return logger[_0x96fcfd(0xbc)](_0x4b05fa[_0x96fcfd(0x9c)]),{};},exports[a34_0x4cbd0f(0x97)]=async _0x4f1cc0=>{const _0x3b3a36=a34_0x4cbd0f,_0x553e71={'zOZIJ':function(_0x144718,_0xbcae8b){return _0x144718!==_0xbcae8b;},'KSUAy':_0x3b3a36(0x9f),'UEDQk':function(_0x5d892a,_0x251cb9){return _0x5d892a===_0x251cb9;},'DJgvN':'chrome','gMloW':_0x3b3a36(0xd4),'qpJqI':_0x3b3a36(0xe7),'ETOhh':function(_0x2caffd,_0x470b44){return _0x2caffd(_0x470b44);},'bQaJI':function(_0x306070,_0x534343){return _0x306070===_0x534343;},'oxMdA':_0x3b3a36(0xe0),'lYsTO':function(_0x2ceea0,_0x5d0f24){return _0x2ceea0>_0x5d0f24;},'kXxlf':_0x3b3a36(0x99)};try{if(!_0x553e71[_0x3b3a36(0xf0)](_0x4f1cc0[_0x3b3a36(0x91)],''))return logger['warn'](_0x553e71[_0x3b3a36(0xeb)]),![];const _0x192e5d=_0x4f1cc0[_0x3b3a36(0xd7)];if(!(_0x553e71['UEDQk'](_0x192e5d,_0x553e71[_0x3b3a36(0xb1)])||_0x553e71['UEDQk'](_0x192e5d,_0x553e71[_0x3b3a36(0xaf)])))return logger[_0x3b3a36(0xbc)](_0x553e71[_0x3b3a36(0xc5)]),![];const _0x564ce4=_0x553e71[_0x3b3a36(0xad)](parseInt,_0x4f1cc0[_0x3b3a36(0xc8)]);if(!(_0x553e71['bQaJI'](_0x564ce4,_0x553e71[_0x3b3a36(0x98)])||_0x553e71[_0x3b3a36(0xd3)](_0x564ce4,0x5e)))return logger['warn'](_0x553e71['kXxlf']),![];}catch(_0x17ee41){logger[_0x3b3a36(0xc2)](_0x3b3a36(0xe4)+util[_0x3b3a36(0x90)](_0x17ee41));}return!![];},exports[a34_0x4cbd0f(0x9b)]=(_0x53ace9,_0x3643a9,_0x3b0137)=>{const _0xc41a60=a34_0x4cbd0f,_0x15bc42={'FdYOr':function(_0x11845b){return _0x11845b();},'QOHlb':_0xc41a60(0xed),'Kzloa':function(_0x541ad3,_0x5cca5b){return _0x541ad3===_0x5cca5b;},'opKJp':_0xc41a60(0x93),'muZrc':_0xc41a60(0xd4),'qpATO':_0xc41a60(0xe7),'CdlDl':_0xc41a60(0xe0),'chgBl':function(_0x213b30,_0x2bc324){return _0x213b30>_0x2bc324;},'rxdYg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Xvkiw':function(_0x5af4be,_0x3ec878){return _0x5af4be(_0x3ec878);},'loCjA':_0xc41a60(0x9f),'LWUpg':function(_0x29832d,_0x1fd312){return _0x29832d+_0x1fd312;}};try{if(_0x15bc42[_0xc41a60(0xe3)](isAccessibilityAutomationSession)){global[_0xc41a60(0x8c)]=!![];!_0x53ace9[_0x15bc42[_0xc41a60(0xec)]]&&(global[_0xc41a60(0x8c)]=![]);!(_0x15bc42[_0xc41a60(0xea)](_0x53ace9[_0xc41a60(0x96)],_0x15bc42[_0xc41a60(0xd2)])||_0x15bc42[_0xc41a60(0xea)](_0x53ace9['browserName'],_0x15bc42[_0xc41a60(0xf2)]))&&(logger[_0xc41a60(0xbc)](_0x15bc42[_0xc41a60(0x9e)]),global['accessibilityPlatform']=![]);!(_0x15bc42['Kzloa'](_0x53ace9[_0xc41a60(0xc8)],_0x15bc42[_0xc41a60(0xae)])||_0x15bc42[_0xc41a60(0x8e)](_0x53ace9[_0xc41a60(0xc8)],0x5e))&&(logger['warn'](_0x15bc42['rxdYg']),global[_0xc41a60(0x8c)]=![]);!_0x15bc42[_0xc41a60(0xe1)](isUndefined,_0x53ace9['deviceName'])&&(logger[_0xc41a60(0xbc)](_0x15bc42['loCjA']),global[_0xc41a60(0x8c)]=![]);if(!global[_0xc41a60(0x8c)]){_0x53ace9[_0x15bc42[_0xc41a60(0xec)]]=![];const _0x529471=_0x15bc42[_0xc41a60(0x92)](_0x3643a9,_0x15bc42[_0xc41a60(0xe1)](encodeURIComponent,JSON[_0xc41a60(0xa9)](_0x53ace9)));_0x3b0137&&(_0x3b0137['currentTest'][_0xc41a60(0xa1)][_0xc41a60(0xc9)]['use'][_0xc41a60(0xe2)][_0xc41a60(0xa5)]=_0x529471,_0x3b0137[_0xc41a60(0x8d)]['project']['use'][_0xc41a60(0xe2)][_0xc41a60(0xa5)]=_0x529471);}}}catch(_0x51bcab){logger[_0xc41a60(0xc2)](_0xc41a60(0xe9)+util[_0xc41a60(0x90)](_0x51bcab));}};
1
+ function a34_0x5621(_0x548fe2,_0x54b016){const _0x592546=a34_0x5925();return a34_0x5621=function(_0x56212a,_0x4a95f0){_0x56212a=_0x56212a-0xd6;let _0x173b33=_0x592546[_0x56212a];return _0x173b33;},a34_0x5621(_0x548fe2,_0x54b016);}const a34_0x3c831a=a34_0x5621;(function(_0x298c2a,_0x4e3f75){const _0x4ceee2=a34_0x5621,_0x1e45b8=_0x298c2a();while(!![]){try{const _0x1f21e4=-parseInt(_0x4ceee2(0x128))/0x1+-parseInt(_0x4ceee2(0xea))/0x2*(parseInt(_0x4ceee2(0x13b))/0x3)+parseInt(_0x4ceee2(0x120))/0x4+-parseInt(_0x4ceee2(0xec))/0x5+-parseInt(_0x4ceee2(0xf4))/0x6+parseInt(_0x4ceee2(0xfe))/0x7*(-parseInt(_0x4ceee2(0xe4))/0x8)+-parseInt(_0x4ceee2(0xef))/0x9*(-parseInt(_0x4ceee2(0x10e))/0xa);if(_0x1f21e4===_0x4e3f75)break;else _0x1e45b8['push'](_0x1e45b8['shift']());}catch(_0x3e3160){_0x1e45b8['push'](_0x1e45b8['shift']());}}}(a34_0x5925,0xbfb2c));function a34_0x5925(){const _0x52f306=['connectOptions','accessibilityOptions','10MSChFD','No\x20summaryResults\x20found.','xfGWg','replace','nQHqW','scannerProcessingTimeout','zhIWY','WebDriver','method','chrome','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','use','GPntg','workerInfo','JwKha','../../helpers/accessibility-automation/scripts','2924044rIyHVP','zlrkQ','error','accessibilityOptions.authToken','accessibilityOptions.includeIssueType.bestPractice','constructor','includeIssueType','accessibilityOptions.scannerVersion','1353597NGrtti','debug','getAccessibilityResultsSummary','playwright-chromium','iwmbW','aBiRJ','scannerVersion','accessibilityPlatform','WphbU','FlvQb','QNSQo','setAccessibilityCapabilities','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','performScan','BTYEV','xJkFA','browserStackEvaluate','kFTHv','hRilU','255qSbCMF','browserstack.accessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FeJGt','(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','wcagVersion','No\x20accessibility\x20results\x20were\x20found.','DkoyL','latest','../../helpers/helper','BS_A11Y_JWT','bestPractice','wsEndpoint','accessibilityOptions.wcagVersion','ZeeSn','browserStackExecuteDriver','nqEzC','deviceName','browser','CVjBe','HkZxL','Xmaai','wcCzq','VSJOq','8808472ohGgHs','currentTest','accessibilityOptions.scannerProcessingTimeout','browserName','FAcbW','ejJKm','16402ECUuwn','getAccessibilityResults','3613195CrAJbp','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','48030462QKtfpf','util','stringify','VcJWS','ysnKR','8448918bPBgdh','name','warn','Jjkyj','Playwright','bstackSdkArgs','Qjgst','winstonLogger','processAccessibilityCaps','beLXu','7uuEGNT','project','platformValidation','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','../../helpers/accessibility-automation/helper','GRbAi','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','orDPF','hsIdL','env','CCAgI','browser_version','ethva','format'];a34_0x5925=function(){return _0x52f306;};return a34_0x5925();}const util=require(a34_0x3c831a(0xf0)),logger=require('../../helpers/logger')[a34_0x3c831a(0xfb)],{isAccessibilityAutomationSession}=require(a34_0x3c831a(0x102)),{isUndefined}=require(a34_0x3c831a(0x144)),scripts=require(a34_0x3c831a(0x11f));exports['browserStackEvaluate']=async(_0x484ac1,_0x371d72,_0x178195={})=>{const _0x5c2dd6=a34_0x3c831a,_0xe25b86={};_0xe25b86['zhIWY']=_0x5c2dd6(0xf9);const _0x131c07=_0xe25b86;return await _0x484ac1['evaluate']('(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'+_0x371d72[_0x5c2dd6(0x111)](/arguments/g,_0x131c07[_0x5c2dd6(0x114)])+_0x5c2dd6(0x101)+JSON[_0x5c2dd6(0xf1)](_0x178195)+')');},exports[a34_0x3c831a(0xdb)]=async(_0x1eaf36,_0x46f377,_0x2ef7e0={})=>{const _0x387c27=a34_0x3c831a,_0x384f52={};_0x384f52['beLXu']=function(_0x1122b8,_0x3f587b){return _0x1122b8===_0x3f587b;},_0x384f52[_0x387c27(0x131)]=_0x387c27(0x115),_0x384f52['FeJGt']=_0x387c27(0xf8),_0x384f52[_0x387c27(0xe8)]='bstackSdkArgs';const _0x695b76=_0x384f52;if(_0x695b76[_0x387c27(0xfd)](_0x1eaf36[_0x387c27(0x125)][_0x387c27(0xf5)],_0x695b76['FlvQb']))return await _0x1eaf36['executeAsyncScript'](_0x46f377,_0x2ef7e0);else{if(_0x695b76[_0x387c27(0xfd)](_0x1eaf36[_0x387c27(0x125)][_0x387c27(0xf5)],_0x695b76[_0x387c27(0x13e)]))return await _0x1eaf36['executeScript'](_0x387c27(0x13f)+_0x46f377[_0x387c27(0x111)](/arguments/g,_0x695b76[_0x387c27(0xe8)])+_0x387c27(0x134)+JSON[_0x387c27(0xf1)](_0x2ef7e0)+')');}},exports[a34_0x3c831a(0x133)]=async _0x50cec3=>{const _0x2ba3b2=a34_0x3c831a,_0x179018={};_0x179018[_0x2ba3b2(0x136)]=_0x2ba3b2(0xd9),_0x179018['VcJWS']=_0x2ba3b2(0xe6),_0x179018[_0x2ba3b2(0x139)]=_0x2ba3b2(0x124),_0x179018['DWMJS']='accessibilityOptions.includeIssueType.needsReview',_0x179018[_0x2ba3b2(0x108)]=_0x2ba3b2(0x123),_0x179018[_0x2ba3b2(0x11e)]=_0x2ba3b2(0x127);const _0xab9b2f=_0x179018;_0x50cec3[_0x2ba3b2(0x10d)]&&(_0x50cec3['accessibilityOptions']['wcagVersion']&&(_0x50cec3[_0xab9b2f['BTYEV']]=_0x50cec3[_0x2ba3b2(0x10d)][_0x2ba3b2(0x140)]),_0x50cec3[_0x2ba3b2(0x10d)][_0x2ba3b2(0x113)]&&(_0x50cec3[_0xab9b2f[_0x2ba3b2(0xf2)]]=_0x50cec3[_0x2ba3b2(0x10d)]['scannerProcessingTimeout']),_0x50cec3[_0x2ba3b2(0x10d)][_0x2ba3b2(0x126)]&&(_0x50cec3[_0xab9b2f['kFTHv']]=_0x50cec3['accessibilityOptions'][_0x2ba3b2(0x126)][_0x2ba3b2(0xd7)],_0x50cec3[_0xab9b2f['DWMJS']]=_0x50cec3[_0x2ba3b2(0x10d)][_0x2ba3b2(0x126)]['needsReview']));const _0x40ef79=JSON['parse'](process['env'][_0x2ba3b2(0xed)])[_0x2ba3b2(0x12e)];_0x50cec3[_0xab9b2f['CCAgI']]=process[_0x2ba3b2(0x107)][_0x2ba3b2(0xd6)],_0x50cec3[_0xab9b2f[_0x2ba3b2(0x11e)]]=_0x40ef79,delete _0x50cec3[_0x2ba3b2(0x10d)];},exports[a34_0x3c831a(0xeb)]=async _0x5c0d1c=>{const _0x34f575=a34_0x3c831a,_0x38c9f6={};_0x38c9f6[_0x34f575(0xe2)]=_0x34f575(0x141),_0x38c9f6[_0x34f575(0x137)]=_0x34f575(0x118);const _0x4d69a9=_0x38c9f6;if(global[_0x34f575(0x12f)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x5c0d1c,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x5c0d1c,scripts.getResults);return res;}catch{return logger[_0x34f575(0x122)](_0x4d69a9[_0x34f575(0xe2)]),[];}else return logger[_0x34f575(0xf6)](_0x4d69a9[_0x34f575(0x137)]),[];},exports[a34_0x3c831a(0x135)]=async(_0x1c81b0,_0x4a776d='')=>{const _0x246fa8=a34_0x3c831a;if(global['accessibilityPlatform']){const _0xbf2104={};return _0xbf2104[_0x246fa8(0x116)]=_0x4a776d,await exports[_0x246fa8(0x138)](_0x1c81b0,scripts[_0x246fa8(0x135)],_0xbf2104);}},exports[a34_0x3c831a(0x12a)]=async _0x2d030e=>{const _0x79ad99=a34_0x3c831a,_0xa5f52b={};_0xa5f52b[_0x79ad99(0xe0)]=_0x79ad99(0x10f),_0xa5f52b[_0x79ad99(0x121)]=_0x79ad99(0xee);const _0x20aa13=_0xa5f52b;if(global[_0x79ad99(0x12f)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2d030e,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x2d030e,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x79ad99(0x129)](_0x20aa13[_0x79ad99(0xe0)]),{};}else return logger['warn'](_0x20aa13[_0x79ad99(0x121)]),{};},exports[a34_0x3c831a(0x100)]=async _0x58e6be=>{const _0xcd148b=a34_0x3c831a,_0x1423ef={'orDPF':function(_0x267464,_0x1a54be){return _0x267464!==_0x1a54be;},'CVjBe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','VSJOq':function(_0x3f9c99,_0x1048d0){return _0x3f9c99===_0x1048d0;},'jqxkB':_0xcd148b(0x117),'Qjgst':function(_0x1829d3,_0x244793){return _0x1829d3===_0x244793;},'iwmbW':_0xcd148b(0x12b),'ejJKm':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','LCKbc':function(_0x3a3369,_0x2f9e7c){return _0x3a3369(_0x2f9e7c);},'Jjkyj':function(_0xa64f5b,_0x3fde7c){return _0xa64f5b===_0x3fde7c;},'Xmaai':_0xcd148b(0x143),'GRbAi':function(_0x65cf95,_0x52c9d3){return _0x65cf95>_0x52c9d3;},'hRilU':_0xcd148b(0x13d)};try{if(!_0x1423ef[_0xcd148b(0x105)](_0x58e6be['deviceName'],''))return logger[_0xcd148b(0xf6)](_0x1423ef[_0xcd148b(0xdf)]),![];const _0x4f5df4=_0x58e6be[_0xcd148b(0xde)];if(!(_0x1423ef[_0xcd148b(0xe3)](_0x4f5df4,_0x1423ef['jqxkB'])||_0x1423ef[_0xcd148b(0xfa)](_0x4f5df4,_0x1423ef[_0xcd148b(0x12c)])))return logger[_0xcd148b(0xf6)](_0x1423ef[_0xcd148b(0xe9)]),![];const _0x302e4e=_0x1423ef['LCKbc'](parseInt,_0x58e6be[_0xcd148b(0x109)]);if(!(_0x1423ef[_0xcd148b(0xf7)](_0x302e4e,_0x1423ef[_0xcd148b(0xe1)])||_0x1423ef[_0xcd148b(0x103)](_0x302e4e,0x5e)))return logger['warn'](_0x1423ef[_0xcd148b(0x13a)]),![];}catch(_0x40aead){logger[_0xcd148b(0x129)](_0xcd148b(0x104)+util[_0xcd148b(0x10b)](_0x40aead));}return!![];},exports[a34_0x3c831a(0xfc)]=(_0x2a020f,_0x3887df,_0x1a84a9)=>{const _0x1c8904=a34_0x3c831a,_0x6a83fb={'nQHqW':function(_0x3fa502){return _0x3fa502();},'xfGWg':_0x1c8904(0x13c),'GPntg':function(_0x4507b4,_0x4fc6d9){return _0x4507b4===_0x4fc6d9;},'hsIdL':_0x1c8904(0x117),'nqEzC':'playwright-chromium','aBiRJ':_0x1c8904(0x119),'ZeeSn':function(_0x21e1ea,_0x326245){return _0x21e1ea===_0x326245;},'ysnKR':_0x1c8904(0x143),'WphbU':function(_0x14abb8,_0x16b56c){return _0x14abb8>_0x16b56c;},'ethva':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','hjAyL':function(_0x47cdb7,_0x42dc5c){return _0x47cdb7(_0x42dc5c);},'fJrzY':_0x1c8904(0x11a),'QNSQo':function(_0x1511fd,_0x37488b){return _0x1511fd+_0x37488b;},'DkoyL':function(_0xe8c000,_0xfc56ef){return _0xe8c000(_0xfc56ef);}};try{if(_0x6a83fb[_0x1c8904(0x112)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x2a020f[_0x6a83fb[_0x1c8904(0x110)]]&&(global[_0x1c8904(0x12f)]=![]);!(_0x6a83fb[_0x1c8904(0x11c)](_0x2a020f[_0x1c8904(0xe7)],_0x6a83fb[_0x1c8904(0x106)])||_0x6a83fb[_0x1c8904(0x11c)](_0x2a020f['browserName'],_0x6a83fb[_0x1c8904(0xdc)]))&&(logger[_0x1c8904(0xf6)](_0x6a83fb[_0x1c8904(0x12d)]),global['accessibilityPlatform']=![]);!(_0x6a83fb[_0x1c8904(0xda)](_0x2a020f[_0x1c8904(0x109)],_0x6a83fb[_0x1c8904(0xf3)])||_0x6a83fb[_0x1c8904(0x130)](_0x2a020f[_0x1c8904(0x109)],0x5e))&&(logger[_0x1c8904(0xf6)](_0x6a83fb[_0x1c8904(0x10a)]),global[_0x1c8904(0x12f)]=![]);!_0x6a83fb['hjAyL'](isUndefined,_0x2a020f[_0x1c8904(0xdd)])&&(logger[_0x1c8904(0xf6)](_0x6a83fb['fJrzY']),global[_0x1c8904(0x12f)]=![]);if(!global[_0x1c8904(0x12f)]){_0x2a020f[_0x6a83fb[_0x1c8904(0x110)]]=![];const _0x57a480=_0x6a83fb[_0x1c8904(0x132)](_0x3887df,_0x6a83fb[_0x1c8904(0x142)](encodeURIComponent,JSON[_0x1c8904(0xf1)](_0x2a020f)));_0x1a84a9&&(_0x1a84a9[_0x1c8904(0xe5)]['testInfo'][_0x1c8904(0xff)]['use']['connectOptions'][_0x1c8904(0xd8)]=_0x57a480,_0x1a84a9[_0x1c8904(0x11d)]['project'][_0x1c8904(0x11b)][_0x1c8904(0x10c)]['wsEndpoint']=_0x57a480);}}}catch(_0x52ffee){logger[_0x1c8904(0x129)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x1c8904(0x10b)](_0x52ffee));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x3fa32c=a35_0x221c;function a35_0x221c(_0x4e076c,_0x1a1a79){const _0x385c7c=a35_0x385c();return a35_0x221c=function(_0x221c90,_0x2f026f){_0x221c90=_0x221c90-0x124;let _0x183b37=_0x385c7c[_0x221c90];return _0x183b37;},a35_0x221c(_0x4e076c,_0x1a1a79);}(function(_0x2cb8dc,_0x18f385){const _0xdf46f=a35_0x221c,_0x8eeebc=_0x2cb8dc();while(!![]){try{const _0xd6accf=-parseInt(_0xdf46f(0x17e))/0x1+parseInt(_0xdf46f(0x142))/0x2+parseInt(_0xdf46f(0x171))/0x3*(parseInt(_0xdf46f(0x175))/0x4)+parseInt(_0xdf46f(0x1a6))/0x5*(parseInt(_0xdf46f(0x1b8))/0x6)+-parseInt(_0xdf46f(0x18c))/0x7+parseInt(_0xdf46f(0x190))/0x8*(parseInt(_0xdf46f(0x13b))/0x9)+parseInt(_0xdf46f(0x147))/0xa*(parseInt(_0xdf46f(0x127))/0xb);if(_0xd6accf===_0x18f385)break;else _0x8eeebc['push'](_0x8eeebc['shift']());}catch(_0x5ca103){_0x8eeebc['push'](_0x8eeebc['shift']());}}}(a35_0x385c,0x57e4a));const fs=require('fs'),path=require(a35_0x3fa32c(0x1b4)),{spawn}=require(a35_0x3fa32c(0x1a4)),{format}=require('util'),logger=require(a35_0x3fa32c(0x124))['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x3fa32c(0x15f)),helper=require(a35_0x3fa32c(0x18f)),utilities=require('../../helpers/utilities'),constants=require(a35_0x3fa32c(0x166)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x3fa32c(0x139)),{CrashReporter}=require(a35_0x3fa32c(0x1ad)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x3fa32c(0x13f)),{setAccessibilityCapabilities}=require(a35_0x3fa32c(0x1a8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x3fa32c(0x187)),getUserPlaywrightConfig=async(_0x375458,_0x55568e)=>{const _0x4fa618=a35_0x3fa32c,_0x2117fb={'HpYGi':function(_0x59d44b){return _0x59d44b();},'HzNYu':function(_0x2ef388,_0x444982){return _0x2ef388(_0x444982);},'ScoBR':function(_0x277103,_0x77741a){return _0x277103(_0x77741a);},'CYczd':_0x4fa618(0x132),'QgKBL':_0x4fa618(0x174)},_0x560776=!helper['isUndefined'](_0x375458[_0x4fa618(0x143)]),_0x592224=_0x560776?path[_0x4fa618(0x1bb)](process[_0x4fa618(0x13c)](),_0x375458[_0x4fa618(0x143)]):process[_0x4fa618(0x13c)](),{resolveConfigFile:_0x1814fd,resolveConfigLocation:_0x118def}=helper[_0x4fa618(0x14b)]['apply'](null,_0x2117fb[_0x4fa618(0x16c)](getConfigLoaderPath)),_0x1cfa2a=_0x1814fd?_0x2117fb[_0x4fa618(0x131)](_0x1814fd,_0x592224):helper[_0x4fa618(0x180)](_0x2117fb[_0x4fa618(0x184)](_0x118def,_0x592224),[_0x2117fb[_0x4fa618(0x16d)]]),_0x229ff6={};if(_0x560776){const _0x3eb21f=_0x55568e['findIndex'](_0x1cee8a=>_0x1cee8a===_0x4fa618(0x176)||_0x1cee8a==='-c'||_0x1cee8a[_0x4fa618(0x19e)](_0x4fa618(0x174)));_0x55568e[_0x4fa618(0x135)](_0x3eb21f,_0x55568e[_0x3eb21f]['startsWith'](_0x2117fb[_0x4fa618(0x137)])?0x1:0x2);}const _0x1fa437={};return _0x1fa437[_0x4fa618(0x1b4)]=_0x1cfa2a,_0x1fa437[_0x4fa618(0x143)]=_0x229ff6,_0x1fa437;},handleO11yRerun=_0x94a24f=>{const _0x551d71=a35_0x3fa32c,_0x51a8e1={};_0x51a8e1[_0x551d71(0x173)]=function(_0x2357f2,_0x372a15){return _0x2357f2!==_0x372a15;},_0x51a8e1[_0x551d71(0x148)]=_0x551d71(0x19c),_0x51a8e1[_0x551d71(0x14d)]='--grep';const _0x222c1d=_0x51a8e1,_0x2e996e=helper[_0x551d71(0x156)](process[_0x551d71(0x1b1)]['BROWSERSTACK_RERUN']);if(_0x2e996e){const _0xd524e8=process['env'][_0x551d71(0x188)],_0x1b485c=[];if(_0x222c1d[_0x551d71(0x173)](_0xd524e8,_0x222c1d[_0x551d71(0x148)])&&!helper[_0x551d71(0x154)](_0xd524e8)){_0xd524e8[_0x551d71(0x183)](',')[_0x551d71(0x14e)](_0x37446f=>{const _0x3c2195=_0x551d71;_0x1b485c[_0x3c2195(0x13e)]('('+_0x37446f[_0x3c2195(0x19b)]()+')');});const _0x308ef9='^'+_0x1b485c[_0x551d71(0x1ac)]('|')+'$';_0x94a24f[_0x551d71(0x13e)](_0x222c1d[_0x551d71(0x14d)],_0x308ef9);}}},spawnOriginalProcess=_0x5e13b1=>{const _0x5b1a24=a35_0x3fa32c,_0x6e5767={'zJUns':function(_0x2895d7,_0x16ba74,_0x1f7790,_0x1e3b17){return _0x2895d7(_0x16ba74,_0x1f7790,_0x1e3b17);},'fZXav':'npx','RjLJC':_0x5b1a24(0x16b),'MJqjK':function(_0x3b479c,_0x3e6873){return _0x3b479c===_0x3e6873;},'xeJaD':_0x5b1a24(0x136),'MELZv':'inherit'};_0x6e5767[_0x5b1a24(0x1aa)](spawn,_0x6e5767['fZXav'],[_0x6e5767[_0x5b1a24(0x19a)],..._0x5e13b1[_0x5b1a24(0x1b2)](0x1)],{'shell':_0x6e5767[_0x5b1a24(0x172)](process['platform'],_0x6e5767['xeJaD']),'stdio':_0x6e5767[_0x5b1a24(0x17b)],'cwd':process[_0x5b1a24(0x13c)]()});},isTestCommand=(_0x508873,_0x1ec9ff)=>{const _0x55e70f=a35_0x3fa32c,_0x1bc0e3={};_0x1bc0e3[_0x55e70f(0x15c)]=function(_0x1f64eb,_0x1a19d5){return _0x1f64eb>_0x1a19d5;},_0x1bc0e3[_0x55e70f(0x12f)]=function(_0x2cf061,_0x309129){return _0x2cf061===_0x309129;},_0x1bc0e3[_0x55e70f(0x19f)]=_0x55e70f(0x194);const _0x378601=_0x1bc0e3;if(_0x378601['IFKtc'](_0x1ec9ff[_0x55e70f(0x13a)],0x1)&&_0x378601[_0x55e70f(0x12f)](_0x1ec9ff[0x1],_0x378601[_0x55e70f(0x19f)]))return!![];return![];};async function run(_0x4dd06c,_0x36d06a){const _0x2af3c8=a35_0x3fa32c,_0x56e200={'dJrqH':_0x2af3c8(0x145),'WqooA':'pw_result.json','XFUiN':function(_0x643376,_0x33610e){return _0x643376+_0x33610e;},'KIhHe':_0x2af3c8(0x18b),'WJCjn':_0x2af3c8(0x130),'dtREf':function(_0x36d174){return _0x36d174();},'LGCsh':_0x2af3c8(0x17a),'TLWVZ':_0x2af3c8(0x192),'eXdmX':'false','uTvya':_0x2af3c8(0x195),'nshwk':function(_0x478b84,_0x514ced){return _0x478b84>=_0x514ced;},'LdDzZ':function(_0x586872,_0x1e297a){return _0x586872+_0x1e297a;},'PNdig':'Error\x20in\x20deleting\x20playwright\x20results','AWBOa':function(_0x1489c7,_0x4019c9,_0x4a469a){return _0x1489c7(_0x4019c9,_0x4a469a);},'GBAqz':function(_0x218b29,_0x223f7a){return _0x218b29(_0x223f7a);},'xvdxB':_0x2af3c8(0x178),'qwCOu':_0x2af3c8(0x138),'qNfKa':function(_0x13d40a,_0x1210eb){return _0x13d40a!=_0x1210eb;},'sUNfO':function(_0x5b6bad,_0x441959,_0x4822f7){return _0x5b6bad(_0x441959,_0x4822f7);},'SLMYK':function(_0xacc4d5,_0x2ce015){return _0xacc4d5(_0x2ce015);},'wtLXC':function(_0x5e0f38,_0x1c915c){return _0x5e0f38===_0x1c915c;},'uDaJH':_0x2af3c8(0x197),'yNtKl':function(_0x40fdc0,_0x3b4426){return _0x40fdc0(_0x3b4426);},'uUgyU':_0x2af3c8(0x168),'WGxFG':function(_0x3ffe73,_0x55a290){return _0x3ffe73===_0x55a290;},'fAILz':'playwright-browserstack-sdk.config.cjs','AcXll':_0x2af3c8(0x134),'wZVMd':function(_0x111151,_0x368a04){return _0x111151-_0x368a04;},'xSBDD':function(_0x4867c9,_0x56d496){return _0x4867c9+_0x56d496;},'xqYJa':_0x2af3c8(0x181),'cWtGf':function(_0x56e787,_0x4d8e5d){return _0x56e787>_0x4d8e5d;},'IZrxv':function(_0x24a09d,_0x4980ae){return _0x24a09d+_0x4980ae;},'nZKkZ':function(_0x140254,_0x1b517f,_0x3081f8,_0x4a5152){return _0x140254(_0x1b517f,_0x3081f8,_0x4a5152);},'vYhFE':'npx','Pcdyo':_0x2af3c8(0x16b),'IIBxe':'test','PSyhw':_0x2af3c8(0x176),'TxICm':function(_0x22b625,_0x4feda1){return _0x22b625===_0x4feda1;},'xLzJe':'win32','kRUwG':_0x2af3c8(0x1ae),'wBnqi':_0x2af3c8(0x17f)};!helper[_0x2af3c8(0x1af)](process[_0x2af3c8(0x1b1)][_0x2af3c8(0x12e)])&&(process[_0x2af3c8(0x1b1)][_0x2af3c8(0x12e)]=!![]);process[_0x2af3c8(0x15d)][_0x2af3c8(0x198)](_0x56e200['TLWVZ'])&&(process[_0x2af3c8(0x1b1)][_0x2af3c8(0x12e)]=_0x56e200['eXdmX'],_0x36d06a=_0x36d06a['filter'](_0x12d4dd=>_0x12d4dd!==_0x2af3c8(0x192)));const _0x2561a6=_0x36d06a['indexOf'](_0x56e200[_0x2af3c8(0x133)]);_0x56e200[_0x2af3c8(0x1a3)](_0x2561a6,0x0)&&(process[_0x2af3c8(0x1b1)][_0x2af3c8(0x193)]=_0x56e200[_0x2af3c8(0x164)],_0x36d06a=_0x36d06a[_0x2af3c8(0x1b3)](_0x35ffa1=>_0x35ffa1!==_0x2af3c8(0x195)));try{const _0x452167=path[_0x2af3c8(0x1ac)](helper[_0x2af3c8(0x1a0)](),_0x56e200[_0x2af3c8(0x1a1)],_0x56e200[_0x2af3c8(0x186)]);fs['existsSync'](_0x452167)&&fs[_0x2af3c8(0x125)](_0x452167);}catch(_0x2b3260){logger[_0x2af3c8(0x165)](_0x56e200['LdDzZ'](_0x56e200[_0x2af3c8(0x129)],_0x2b3260));}if(!_0x56e200[_0x2af3c8(0x151)](isTestCommand,_0x4dd06c,_0x36d06a)){_0x56e200[_0x2af3c8(0x1a7)](spawnOriginalProcess,_0x36d06a);return;}const _0x1c5004=new BrowserStackSetup(_0x4dd06c,FRAMEWORKS[_0x2af3c8(0x153)]);if(!_0x1c5004[_0x2af3c8(0x143)]){logger[_0x2af3c8(0x1b7)](_0x56e200[_0x2af3c8(0x155)]);return;}await _0x1c5004[_0x2af3c8(0x144)]();!helper['isUndefined'](_0x1c5004[_0x2af3c8(0x1ba)])&&_0x1c5004[_0x2af3c8(0x1ba)]['has'](_0x56e200['qwCOu'])&&(process[_0x2af3c8(0x1b1)][_0x2af3c8(0x12e)]=_0x1c5004[_0x2af3c8(0x1ba)]['get'](_0x56e200['qwCOu'])||!![]);_0x56e200[_0x2af3c8(0x13d)](_0x1c5004[_0x2af3c8(0x143)][_0x2af3c8(0x18e)],null)&&!helper[_0x2af3c8(0x156)](process[_0x2af3c8(0x1b1)][_0x2af3c8(0x193)])&&(process['env'][_0x2af3c8(0x193)]=process[_0x2af3c8(0x1b1)][_0x2af3c8(0x193)]||_0x1c5004[_0x2af3c8(0x143)]['testObservability']);const _0x216eee=!helper[_0x2af3c8(0x1af)](process['env'][_0x2af3c8(0x193)]);let _0x371fe7=![];_0x1c5004[_0x2af3c8(0x143)][_0x2af3c8(0x15b)]&&(_0x371fe7=!![],process['env'][_0x2af3c8(0x14a)]=_0x1c5004['config'][_0x2af3c8(0x15b)]);_0x1c5004[_0x2af3c8(0x143)][_0x2af3c8(0x15e)]&&(process['env'][_0x2af3c8(0x1ab)]=JSON['stringify'](_0x1c5004[_0x2af3c8(0x143)]['accessibilityOptions']));const _0x2df3f3=_0x36d06a['concat'](),_0x2ebbce=await _0x56e200[_0x2af3c8(0x177)](getUserPlaywrightConfig,_0x4dd06c,_0x36d06a);if(helper[_0x2af3c8(0x154)](_0x2ebbce)){_0x56e200[_0x2af3c8(0x182)](spawnOriginalProcess,_0x2df3f3);return;}const _0x2f9433=_0x2ebbce[_0x2af3c8(0x1b4)]?path['dirname'](_0x2ebbce['path']):process['cwd']();process[_0x2af3c8(0x1b1)][_0x2af3c8(0x150)]=_0x2f9433,await TestHubHandler[_0x2af3c8(0x18d)](FRAMEWORKS[_0x2af3c8(0x153)],_0x1c5004);_0x216eee&&_0x56e200['GBAqz'](handleO11yRerun,_0x36d06a);let _0xa6e62f=_0x56e200[_0x2af3c8(0x185)](process['env'][_0x2af3c8(0x14a)],_0x56e200[_0x2af3c8(0x1a5)]);_0xa6e62f=_0xa6e62f||_0x56e200[_0x2af3c8(0x1a7)](checkAccessibilityPlatformConfig,_0x1c5004[_0x2af3c8(0x143)]),process['env'][_0x2af3c8(0x14a)]=_0xa6e62f;_0xa6e62f&&_0x56e200[_0x2af3c8(0x12a)](setAccessibilityCapabilities,_0x1c5004[_0x2af3c8(0x143)]);const _0x4fcc89=path[_0x2af3c8(0x1ac)](_0x2ebbce[_0x2af3c8(0x1b4)]?path[_0x2af3c8(0x199)](_0x2ebbce[_0x2af3c8(0x1b4)]):process[_0x2af3c8(0x13c)](),_0x56e200[_0x2af3c8(0x152)]);fs[_0x2af3c8(0x160)](_0x4fcc89,helper['serializeToYamlString'](_0x1c5004[_0x2af3c8(0x143)])),process['env'][_0x2af3c8(0x17c)]=_0x4fcc89,helper['clearTempPWConfig']();let _0x1124ab='';_0x56e200[_0x2af3c8(0x159)](helper[_0x2af3c8(0x140)](),constants[_0x2af3c8(0x146)][_0x2af3c8(0x128)])?_0x1124ab=_0x56e200[_0x2af3c8(0x189)]:_0x1124ab=_0x56e200['AcXll'];let _0x38bd79='';if(helper[_0x2af3c8(0x18a)](_0x2ebbce[_0x2af3c8(0x1b4)])){_0x38bd79='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x553a21=_0x1124ab[_0x2af3c8(0x183)]('.');_0x553a21[_0x56e200[_0x2af3c8(0x1a9)](_0x553a21[_0x2af3c8(0x13a)],0x1)]='ts',_0x1124ab=_0x553a21[_0x2af3c8(0x1ac)]('.'),logger[_0x2af3c8(0x165)](_0x56e200[_0x2af3c8(0x15a)](_0x56e200[_0x2af3c8(0x12b)],_0x1124ab));}else _0x38bd79=_0x2af3c8(0x170);const _0x50a629=path['join'](_0x2ebbce['path']?path[_0x2af3c8(0x199)](_0x2ebbce[_0x2af3c8(0x1b4)]):process[_0x2af3c8(0x13c)](),_0x1124ab);let _0x3b3512=_0x2ebbce[_0x2af3c8(0x1b4)]?_0x2ebbce[_0x2af3c8(0x1b4)]:'';_0x3b3512=_0x56e200[_0x2af3c8(0x1b5)](_0x3b3512['length'],0x0)?path['resolve'](_0x3b3512):'',process[_0x2af3c8(0x1b1)][_0x2af3c8(0x167)]=_0x3b3512;const _0x2dabe4=helper['getProxyUrl'](_0x1c5004[_0x2af3c8(0x143)]);_0x2dabe4&&(_0x38bd79=_0x56e200['IZrxv']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x2dabe4+_0x2af3c8(0x1b0),_0x38bd79));helper['filterBrowserstackArgs']({},_0x36d06a),fs['writeFileSync'](_0x50a629,_0x38bd79),helper['markSDKSetupComplete']();const _0x30f4ec=_0x56e200['nZKkZ'](spawn,_0x56e200[_0x2af3c8(0x163)],[_0x56e200[_0x2af3c8(0x141)],_0x56e200[_0x2af3c8(0x1a2)],_0x56e200['PSyhw'],_0x50a629,..._0x36d06a[_0x2af3c8(0x1b2)](0x2)],{'shell':_0x56e200[_0x2af3c8(0x158)](process[_0x2af3c8(0x1b6)],_0x56e200[_0x2af3c8(0x157)]),'stdio':_0x56e200['kRUwG'],'cwd':process[_0x2af3c8(0x13c)](),'env':Object[_0x2af3c8(0x179)]({},process[_0x2af3c8(0x1b1)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x4dd06c),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1c5004[_0x2af3c8(0x143)][_0x2af3c8(0x12d)][_0x2af3c8(0x16f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1c5004[_0x2af3c8(0x143)]['testContextOptions'][_0x2af3c8(0x169)],'BROWSERSTACK_LOG_LEVEL':_0x1c5004[_0x2af3c8(0x143)][_0x2af3c8(0x191)]})}),_0x2bea0e=()=>{const _0x5561a0=_0x2af3c8;try{const _0x240e8f=path[_0x5561a0(0x1ac)](helper[_0x5561a0(0x1a0)](),_0x56e200[_0x5561a0(0x1a1)],_0x56e200[_0x5561a0(0x186)]);if(fs[_0x5561a0(0x14c)](_0x240e8f)){let _0x2b349c=fs['readFileSync'](_0x240e8f);_0x2b349c=JSON[_0x5561a0(0x16a)](_0x2b349c),_0x1c5004[_0x5561a0(0x12c)]=_0x2b349c,fs[_0x5561a0(0x125)](_0x240e8f);}}catch(_0x2de8fd){logger['debug'](_0x56e200[_0x5561a0(0x126)](_0x56e200[_0x5561a0(0x162)],_0x2de8fd));}};_0x30f4ec['on'](_0x56e200[_0x2af3c8(0x19d)],async _0x4f9bc9=>{const _0x2ac741=_0x2af3c8;try{const _0x26266e=_0x56e200[_0x2ac741(0x161)]['split']('|');let _0x33e217=0x0;while(!![]){switch(_0x26266e[_0x33e217++]){case'0':_0x56e200[_0x2ac741(0x14f)](_0x2bea0e);continue;case'1':logger[_0x2ac741(0x165)](_0x2ac741(0x17d)+_0x4f9bc9);continue;case'2':logger[_0x2ac741(0x165)](_0x2ac741(0x16e)+_0x4fcc89);continue;case'3':fs['unlinkSync'](_0x4fcc89);continue;case'4':await TestHubHandler[_0x2ac741(0x149)]();continue;case'5':logger['info']('Deleting\x20'+_0x50a629);continue;case'6':await utilities[_0x2ac741(0x1b9)](_0x1c5004);continue;case'7':fs[_0x2ac741(0x125)](_0x50a629);continue;case'8':process[_0x2ac741(0x196)]=_0x4f9bc9;continue;}break;}}catch(_0x589f7d){logger[_0x2ac741(0x165)](_0x56e200[_0x2ac741(0x126)](_0x56e200['LGCsh'],_0x589f7d));}});}function a35_0x385c(){const _0x554f82=['close','nestedKeyValue','Updated\x20config\x20file\x20name\x20to\x20-\x20','SLMYK','split','ScoBR','wtLXC','WqooA','../../helpers/testhub/utils','BROWSERSTACK_RERUN_TESTS','fAILz','isTypescriptProject','Error\x20in\x20getting\x20funnel\x20data\x20results','3090927jzoJlT','launchBuild','testObservability','../../helpers/helper','597952cUxaKS','logLevel','--disable-browserstack-automation','BROWSERSTACK_TEST_OBSERVABILITY','test','--disable-test-observability','exitCode','true','includes','dirname','RjLJC','trim','null','wBnqi','startsWith','thPxd','homedir','dJrqH','IIBxe','nshwk','child_process','uDaJH','475180bOVtsn','GBAqz','./accessibility-helper','wZVMd','zJUns','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','join','../../helpers/test-observability/error-handler','inherit','isFalse','\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();','env','slice','filter','path','cWtGf','platform','error','12VuGhKs','finalExecution','cliConfig','resolve','../../helpers/logger','unlinkSync','XFUiN','3720805FRIgvL','MODULE','PNdig','yNtKl','xqYJa','errorMessage','testContextOptions','BROWSERSTACK_AUTOMATION','bCWyN','0|4|6|8|1|5|7|2|3','HzNYu','resolvedConfigFile','uTvya','playwright-browserstack-sdk.config.js','splice','win32','QgKBL','automation','./reporter/pwUtils','length','54dxtZkQ','cwd','qNfKa','push','../../helpers/accessibility-automation/helper','getPackageType','Pcdyo','390428pcpupi','config','initialize','.browserstack','PACKAGE_TYPE','10jQUNlh','myIZd','stop','BROWSERSTACK_TEST_ACCESSIBILITY_YML','requirePWModule','existsSync','TwxAS','map','dtREf','BROWSERSTACK_PW_CONFIG_DIR','AWBOa','uUgyU','PLAYWRIGHT','isUndefined','xvdxB','isTrue','xLzJe','TxICm','WGxFG','xSBDD','accessibility','IFKtc','argv','accessibilityOptions','../../helpers/BrowserStackSetup','writeFileSync','WJCjn','KIhHe','vYhFE','eXdmX','debug','../utils/constants','USER_CONFIG_DETAILS_PATH','browserstackSetupConfig.json','skipSessionName','parse','playwright','HpYGi','CYczd','Deleting\x20','skipSessionStatus','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','66678WtVKQP','MJqjK','gRMbN','--config=','48rlrzLe','--config','sUNfO','BrowserStack\x20config\x20file\x20not\x20found.','assign','Error\x20in\x20closing\x20playwright','MELZv','BROWSERSTACK_SETUP_CONFIG_PATH','Playwright\x20process\x20exited\x20with\x20code\x20','637146IZwmcE'];a35_0x385c=function(){return _0x554f82;};return a35_0x385c();}module['exports']=run;
2
+ 'use strict';function a35_0x33aa(){const _0x5f5685=['qfKxE','PACKAGE_TYPE','../../helpers/test-observability/error-handler','../../helpers/BrowserStackSetup','tPgDq','config','getProxyUrl','3451068BdCxjG','BvpCJ','8VpdiJJ','WfJbv','4AEKOzl','Error\x20in\x20getting\x20funnel\x20data\x20results','platform','test','518XOuSOY','skipSessionStatus','trim','dirname','length','true','nJOTO','QsFYJ','8761660QciHej','initialize','playwright-browserstack-sdk.config.cjs','QQCpD','BROWSERSTACK_TEST_OBSERVABILITY','LgzqA','Error\x20in\x20closing\x20playwright','Updated\x20config\x20file\x20name\x20to\x20-\x20','startsWith','env','isUndefined','mLqlz','accessibilityOptions','indexOf','Playwright\x20process\x20exited\x20with\x20code\x20','vTkQG','4979970puIYet','kJebM','isTypescriptProject','\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();','Deleting\x20','3208prBhPD','testObservability','cliConfig','697575tWYxDi','nestedKeyValue','jrjpA','join','inherit','skipSessionName','KUuAb','info','moXkv','FvYSB','fRVmc','GPKcA','ogmFD','existsSync','gYeTA','split','--config','resolve','LtSpR','filter','accessibility','gYASb','filterBrowserstackArgs','../../helpers/test-observability/utils','requirePWModule','close','launchBuild','../../helpers/accessibility-automation/helper','../../helpers/logger','slice','kADrM','markSDKSetupComplete','BrowserStack\x20config\x20file\x20not\x20found.','playwright','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','--disable-test-observability','getPackageType','KLRDu','4|1|8|3|0|7|5|2|6','PLAYWRIGHT','finalExecution','322009TchOUH','BROWSERSTACK_AUTOMATION','debug','USER_CONFIG_DETAILS_PATH','push','exports','ERGPC','resolvedConfigFile','argv','cwd','GOrca','./accessibility-helper','readFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','browserstackSetupConfig.json','getConfigPath','fiXHl','npx','--disable-browserstack-automation','winstonLogger','./reporter/pwUtils','splice','isFalse','arCli','Error\x20in\x20deleting\x20playwright\x20results','gSYBd','XFLxI','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','gBRqs','--config=','path','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','stringify','MODULE','veycl','isTrue','automation','../../helpers/utilities','OSVfj','../../helpers/test-observability/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','map','findIndex','child_process','BvpPm','YlusF','KgysB','2671300FnTyeU','get','win32','BROWSERSTACK_RERUN_TESTS','../../helpers/helper','unlinkSync','llfHN','null','mhwax','playwright-browserstack-sdk.config.js','KMgDW','util','--grep','aIlCG'];a35_0x33aa=function(){return _0x5f5685;};return a35_0x33aa();}const a35_0x4c01c1=a35_0x299a;(function(_0x1c0823,_0xa072b0){const _0x195742=a35_0x299a,_0x100a39=_0x1c0823();while(!![]){try{const _0x823b47=parseInt(_0x195742(0x212))/0x1*(-parseInt(_0x195742(0x1c5))/0x2)+parseInt(_0x195742(0x1e9))/0x3*(-parseInt(_0x195742(0x1c3))/0x4)+parseInt(_0x195742(0x241))/0x5+parseInt(_0x195742(0x256))/0x6+parseInt(_0x195742(0x1c9))/0x7*(parseInt(_0x195742(0x1e6))/0x8)+-parseInt(_0x195742(0x1e1))/0x9+parseInt(_0x195742(0x1d1))/0xa;if(_0x823b47===_0xa072b0)break;else _0x100a39['push'](_0x100a39['shift']());}catch(_0x34fc8b){_0x100a39['push'](_0x100a39['shift']());}}}(a35_0x33aa,0x56270));function a35_0x299a(_0x1ea347,_0x15694a){const _0x33aa8e=a35_0x33aa();return a35_0x299a=function(_0x299a20,_0xbce038){_0x299a20=_0x299a20-0x1c2;let _0x28898e=_0x33aa8e[_0x299a20];return _0x28898e;},a35_0x299a(_0x1ea347,_0x15694a);}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x4c01c1(0x23d)),{format}=require(a35_0x4c01c1(0x24c)),logger=require(a35_0x4c01c1(0x205))[a35_0x4c01c1(0x225)],{default:BrowserStackSetup}=require(a35_0x4c01c1(0x252)),helper=require(a35_0x4c01c1(0x245)),utilities=require(a35_0x4c01c1(0x237)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x4c01c1(0x239)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x4c01c1(0x226)),{CrashReporter}=require(a35_0x4c01c1(0x251)),{getFrameworkVersion}=require(a35_0x4c01c1(0x200)),{checkAccessibilityPlatformConfig}=require(a35_0x4c01c1(0x204)),{setAccessibilityCapabilities}=require(a35_0x4c01c1(0x21d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),getUserPlaywrightConfig=async(_0x325411,_0x18e90d)=>{const _0x496733=a35_0x4c01c1,_0x1cfd1e={'FNYWn':function(_0x399758){return _0x399758();},'llfHN':function(_0x4a7fc8,_0x17754d){return _0x4a7fc8(_0x17754d);},'yJpZY':_0x496733(0x219),'YxlRJ':_0x496733(0x22f)},_0x351404=!helper['isUndefined'](_0x325411['config']),_0x2ed491=_0x351404?path[_0x496733(0x1fa)](process[_0x496733(0x21b)](),_0x325411[_0x496733(0x254)]):process[_0x496733(0x21b)](),{resolveConfigFile:_0x59d5c4,resolveConfigLocation:_0x1e7674}=helper[_0x496733(0x201)]['apply'](null,_0x1cfd1e['FNYWn'](getConfigLoaderPath)),_0x32dcdd=_0x59d5c4?_0x1cfd1e['llfHN'](_0x59d5c4,_0x2ed491):helper[_0x496733(0x1ea)](_0x1cfd1e[_0x496733(0x247)](_0x1e7674,_0x2ed491),[_0x1cfd1e['yJpZY']]),_0x2145a2={};if(_0x351404){const _0x17fd14=_0x18e90d[_0x496733(0x23c)](_0xe43326=>_0xe43326===_0x496733(0x1f9)||_0xe43326==='-c'||_0xe43326[_0x496733(0x1d9)](_0x496733(0x22f)));_0x18e90d[_0x496733(0x227)](_0x17fd14,_0x18e90d[_0x17fd14][_0x496733(0x1d9)](_0x1cfd1e['YxlRJ'])?0x1:0x2);}const _0x400e99={};return _0x400e99[_0x496733(0x230)]=_0x32dcdd,_0x400e99[_0x496733(0x254)]=_0x2145a2,_0x400e99;},handleO11yRerun=_0x1adc33=>{const _0x132324=a35_0x4c01c1,_0x5bd07d={};_0x5bd07d[_0x132324(0x1f5)]=function(_0x3ffe6d,_0x368d4d){return _0x3ffe6d!==_0x368d4d;},_0x5bd07d['ERGPC']=_0x132324(0x248),_0x5bd07d[_0x132324(0x1f3)]=_0x132324(0x24d);const _0x490a2b=_0x5bd07d,_0x4f9dde=helper[_0x132324(0x235)](process[_0x132324(0x1da)]['BROWSERSTACK_RERUN']);if(_0x4f9dde){const _0x40c58e=process['env'][_0x132324(0x244)],_0x3cb1f6=[];if(_0x490a2b[_0x132324(0x1f5)](_0x40c58e,_0x490a2b[_0x132324(0x218)])&&!helper[_0x132324(0x1db)](_0x40c58e)){_0x40c58e['split'](',')[_0x132324(0x23b)](_0x721692=>{const _0x530a78=_0x132324;_0x3cb1f6[_0x530a78(0x216)]('('+_0x721692[_0x530a78(0x1cb)]()+')');});const _0x4676e9='^'+_0x3cb1f6[_0x132324(0x1ec)]('|')+'$';_0x1adc33[_0x132324(0x216)](_0x490a2b[_0x132324(0x1f3)],_0x4676e9);}}},spawnOriginalProcess=_0x450747=>{const _0x539810=a35_0x4c01c1,_0x182f1f={'tPgDq':function(_0x5a2bd4,_0x55021f,_0x5f063b,_0x41584d){return _0x5a2bd4(_0x55021f,_0x5f063b,_0x41584d);},'kADrM':_0x539810(0x223),'kBwvW':_0x539810(0x20a),'kJebM':function(_0x49e29d,_0x139df7){return _0x49e29d===_0x139df7;},'gLtQe':_0x539810(0x243),'QsFYJ':_0x539810(0x1ed)};_0x182f1f[_0x539810(0x253)](spawn,_0x182f1f[_0x539810(0x207)],[_0x182f1f['kBwvW'],..._0x450747[_0x539810(0x206)](0x1)],{'shell':_0x182f1f[_0x539810(0x1e2)](process[_0x539810(0x1c7)],_0x182f1f['gLtQe']),'stdio':_0x182f1f[_0x539810(0x1d0)],'cwd':process[_0x539810(0x21b)]()});},isTestCommand=(_0x58f92f,_0x20425a)=>{const _0x52ff8e=a35_0x4c01c1,_0x479ed4={};_0x479ed4['GFJvf']=function(_0x235c19,_0x4bdf16){return _0x235c19>_0x4bdf16;},_0x479ed4[_0x52ff8e(0x24b)]=function(_0x13ac46,_0x56948a){return _0x13ac46===_0x56948a;},_0x479ed4['AWpwF']='test';const _0x5a72a3=_0x479ed4;if(_0x5a72a3['GFJvf'](_0x20425a[_0x52ff8e(0x1cd)],0x1)&&_0x5a72a3[_0x52ff8e(0x24b)](_0x20425a[0x1],_0x5a72a3['AWpwF']))return!![];return![];};async function run(_0x12a0ae,_0x41252c){const _0x1aecf7=a35_0x4c01c1,_0xab1042={'gSYBd':'.browserstack','jrjpA':'pw_result.json','vTkQG':function(_0x597f9f,_0x1eecf5){return _0x597f9f+_0x1eecf5;},'hrgnf':_0x1aecf7(0x1c6),'KLRDu':_0x1aecf7(0x20f),'YeLdE':function(_0x262396){return _0x262396();},'KUuAb':function(_0x4b3c80,_0x526864){return _0x4b3c80+_0x526864;},'GPKcA':_0x1aecf7(0x1d7),'gBRqs':_0x1aecf7(0x224),'aIlCG':'false','nJOTO':_0x1aecf7(0x20c),'FvYSB':function(_0x190ebc,_0x4d3012){return _0x190ebc>=_0x4d3012;},'KgysB':function(_0x1778b9,_0x2a79ef){return _0x1778b9+_0x2a79ef;},'moXkv':_0x1aecf7(0x22a),'mLqlz':function(_0x467074,_0x6edf50,_0x1131b7){return _0x467074(_0x6edf50,_0x1131b7);},'QQCpD':function(_0x2f75c6,_0x371f50){return _0x2f75c6(_0x371f50);},'WfJbv':_0x1aecf7(0x209),'XFLxI':_0x1aecf7(0x236),'AMjAX':function(_0x4fd125,_0x4b0310){return _0x4fd125!=_0x4b0310;},'gYASb':function(_0x488537,_0x4a129c,_0x4d8124){return _0x488537(_0x4a129c,_0x4d8124);},'YlusF':function(_0x30c7c8,_0x237e95){return _0x30c7c8(_0x237e95);},'BvpCJ':function(_0x19a2a9,_0x1a75b2){return _0x19a2a9===_0x1a75b2;},'DcNeu':_0x1aecf7(0x1ce),'arCli':_0x1aecf7(0x220),'LtSpR':function(_0x2b33a8,_0x5abd27){return _0x2b33a8===_0x5abd27;},'qfKxE':_0x1aecf7(0x1d3),'RoudM':_0x1aecf7(0x24a),'fiXHl':function(_0x297d06,_0x51d400){return _0x297d06-_0x51d400;},'FMqFA':_0x1aecf7(0x1d8),'LgzqA':function(_0x578efe,_0x32f1b9){return _0x578efe>_0x32f1b9;},'GOrca':function(_0x598ee5,_0x44699e){return _0x598ee5+_0x44699e;},'gYeTA':function(_0x8008e9,_0x99efe4,_0xf5b31b,_0x1d774c){return _0x8008e9(_0x99efe4,_0xf5b31b,_0x1d774c);},'dPslW':'npx','nyBPE':_0x1aecf7(0x20a),'mhwax':_0x1aecf7(0x1c8),'BvpPm':_0x1aecf7(0x1f9),'zxJJk':_0x1aecf7(0x243),'veycl':'inherit','OSVfj':_0x1aecf7(0x202)};!helper[_0x1aecf7(0x228)](process[_0x1aecf7(0x1da)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x1aecf7(0x1da)][_0x1aecf7(0x213)]=!![]);process[_0x1aecf7(0x21a)]['includes'](_0xab1042[_0x1aecf7(0x22e)])&&(process[_0x1aecf7(0x1da)][_0x1aecf7(0x213)]=_0xab1042[_0x1aecf7(0x24e)],_0x41252c=_0x41252c['filter'](_0x5e5b3f=>_0x5e5b3f!==_0x1aecf7(0x224)));const _0x3bd7ff=_0x41252c[_0x1aecf7(0x1de)](_0xab1042[_0x1aecf7(0x1cf)]);_0xab1042[_0x1aecf7(0x1f2)](_0x3bd7ff,0x0)&&(process[_0x1aecf7(0x1da)][_0x1aecf7(0x1d5)]=_0xab1042[_0x1aecf7(0x24e)],_0x41252c=_0x41252c[_0x1aecf7(0x1fc)](_0x1e79e1=>_0x1e79e1!==_0x1aecf7(0x20c)));try{const _0x2bd851=path[_0x1aecf7(0x1ec)](helper['homedir'](),_0xab1042['gSYBd'],_0xab1042[_0x1aecf7(0x1eb)]);fs[_0x1aecf7(0x1f6)](_0x2bd851)&&fs[_0x1aecf7(0x246)](_0x2bd851);}catch(_0x5252bb){logger[_0x1aecf7(0x214)](_0xab1042[_0x1aecf7(0x240)](_0xab1042[_0x1aecf7(0x1f1)],_0x5252bb));}if(!_0xab1042[_0x1aecf7(0x1dc)](isTestCommand,_0x12a0ae,_0x41252c)){_0xab1042['QQCpD'](spawnOriginalProcess,_0x41252c);return;}const _0x38996f=new BrowserStackSetup(_0x12a0ae,FRAMEWORKS[_0x1aecf7(0x210)]);if(!_0x38996f[_0x1aecf7(0x254)]){logger['error'](_0xab1042[_0x1aecf7(0x1c4)]);return;}await _0x38996f[_0x1aecf7(0x1d2)]();!helper[_0x1aecf7(0x1db)](_0x38996f['cliConfig'])&&_0x38996f[_0x1aecf7(0x1e8)]['has'](_0xab1042[_0x1aecf7(0x22c)])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x38996f[_0x1aecf7(0x1e8)][_0x1aecf7(0x242)](_0xab1042[_0x1aecf7(0x22c)])||!![]);_0xab1042['AMjAX'](_0x38996f[_0x1aecf7(0x254)][_0x1aecf7(0x1e7)],null)&&!helper[_0x1aecf7(0x235)](process[_0x1aecf7(0x1da)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x1aecf7(0x1d5)]=process[_0x1aecf7(0x1da)][_0x1aecf7(0x1d5)]||_0x38996f['config'][_0x1aecf7(0x1e7)]);const _0x11f3f5=!helper[_0x1aecf7(0x228)](process[_0x1aecf7(0x1da)][_0x1aecf7(0x1d5)]);let _0x32058f=![];_0x38996f[_0x1aecf7(0x254)][_0x1aecf7(0x1fd)]&&(_0x32058f=!![],process[_0x1aecf7(0x1da)][_0x1aecf7(0x21f)]=_0x38996f[_0x1aecf7(0x254)][_0x1aecf7(0x1fd)]);_0x38996f[_0x1aecf7(0x254)]['accessibilityOptions']&&(process['env'][_0x1aecf7(0x23a)]=JSON[_0x1aecf7(0x232)](_0x38996f[_0x1aecf7(0x254)][_0x1aecf7(0x1dd)]));const _0x319428=_0x41252c['concat'](),_0x3950eb=await _0xab1042[_0x1aecf7(0x1fe)](getUserPlaywrightConfig,_0x12a0ae,_0x41252c);if(helper[_0x1aecf7(0x1db)](_0x3950eb)){_0xab1042[_0x1aecf7(0x23f)](spawnOriginalProcess,_0x319428);return;}const _0x4071cc=_0x3950eb[_0x1aecf7(0x230)]?path[_0x1aecf7(0x1cc)](_0x3950eb[_0x1aecf7(0x230)]):process[_0x1aecf7(0x21b)]();process[_0x1aecf7(0x1da)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x4071cc,await TestHubHandler[_0x1aecf7(0x203)](FRAMEWORKS[_0x1aecf7(0x210)],_0x38996f);_0x11f3f5&&_0xab1042['QQCpD'](handleO11yRerun,_0x41252c);let _0x4b75ce=_0xab1042['BvpCJ'](process[_0x1aecf7(0x1da)][_0x1aecf7(0x21f)],_0xab1042['DcNeu']);_0x4b75ce=_0x4b75ce||_0xab1042[_0x1aecf7(0x1d4)](checkAccessibilityPlatformConfig,_0x38996f[_0x1aecf7(0x254)]),process[_0x1aecf7(0x1da)][_0x1aecf7(0x21f)]=_0x4b75ce;_0x4b75ce&&_0xab1042[_0x1aecf7(0x23f)](setAccessibilityCapabilities,_0x38996f[_0x1aecf7(0x254)]);const _0x468c73=path[_0x1aecf7(0x1ec)](_0x3950eb[_0x1aecf7(0x230)]?path[_0x1aecf7(0x1cc)](_0x3950eb['path']):process[_0x1aecf7(0x21b)](),_0xab1042[_0x1aecf7(0x229)]);fs['writeFileSync'](_0x468c73,helper['serializeToYamlString'](_0x38996f[_0x1aecf7(0x254)])),process[_0x1aecf7(0x1da)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x468c73,helper['clearTempPWConfig']();let _0x5e085c='';_0xab1042[_0x1aecf7(0x1fb)](helper[_0x1aecf7(0x20d)](),constants[_0x1aecf7(0x250)][_0x1aecf7(0x233)])?_0x5e085c=_0xab1042[_0x1aecf7(0x24f)]:_0x5e085c=_0xab1042['RoudM'];let _0x5e5b7a='';if(helper[_0x1aecf7(0x1e3)](_0x3950eb[_0x1aecf7(0x230)])){_0x5e5b7a=_0x1aecf7(0x20b);const _0x414fe0=_0x5e085c[_0x1aecf7(0x1f8)]('.');_0x414fe0[_0xab1042[_0x1aecf7(0x222)](_0x414fe0[_0x1aecf7(0x1cd)],0x1)]='ts',_0x5e085c=_0x414fe0[_0x1aecf7(0x1ec)]('.'),logger[_0x1aecf7(0x214)](_0xab1042['KUuAb'](_0xab1042['FMqFA'],_0x5e085c));}else _0x5e5b7a=_0x1aecf7(0x22d);const _0x3b7a81=path[_0x1aecf7(0x1ec)](_0x3950eb[_0x1aecf7(0x230)]?path[_0x1aecf7(0x1cc)](_0x3950eb[_0x1aecf7(0x230)]):process[_0x1aecf7(0x21b)](),_0x5e085c);let _0x43fe52=_0x3950eb[_0x1aecf7(0x230)]?_0x3950eb[_0x1aecf7(0x230)]:'';_0x43fe52=_0xab1042[_0x1aecf7(0x1d6)](_0x43fe52['length'],0x0)?path['resolve'](_0x43fe52):'',process['env'][_0x1aecf7(0x215)]=_0x43fe52;const _0x3fb2f1=helper[_0x1aecf7(0x255)](_0x38996f[_0x1aecf7(0x254)]);_0x3fb2f1&&(_0x5e5b7a=_0xab1042[_0x1aecf7(0x21c)](_0x1aecf7(0x231)+_0x3fb2f1+_0x1aecf7(0x1e4),_0x5e5b7a));helper[_0x1aecf7(0x1ff)]({},_0x41252c),fs['writeFileSync'](_0x3b7a81,_0x5e5b7a),helper[_0x1aecf7(0x208)]();const _0x3edaee=_0xab1042[_0x1aecf7(0x1f7)](spawn,_0xab1042['dPslW'],[_0xab1042['nyBPE'],_0xab1042[_0x1aecf7(0x249)],_0xab1042[_0x1aecf7(0x23e)],_0x3b7a81,..._0x41252c[_0x1aecf7(0x206)](0x2)],{'shell':_0xab1042[_0x1aecf7(0x1c2)](process[_0x1aecf7(0x1c7)],_0xab1042['zxJJk']),'stdio':_0xab1042[_0x1aecf7(0x234)],'cwd':process[_0x1aecf7(0x21b)](),'env':Object['assign']({},process[_0x1aecf7(0x1da)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x1aecf7(0x221)](_0x12a0ae),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x38996f[_0x1aecf7(0x254)]['testContextOptions'][_0x1aecf7(0x1ca)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x38996f[_0x1aecf7(0x254)]['testContextOptions'][_0x1aecf7(0x1ee)],'BROWSERSTACK_LOG_LEVEL':_0x38996f[_0x1aecf7(0x254)]['logLevel']})}),_0x44cfdd=()=>{const _0x41b20b=_0x1aecf7;try{const _0x4736de=path['join'](helper['homedir'](),_0xab1042[_0x41b20b(0x22b)],_0xab1042[_0x41b20b(0x1eb)]);if(fs[_0x41b20b(0x1f6)](_0x4736de)){let _0xd75460=fs[_0x41b20b(0x21e)](_0x4736de);_0xd75460=JSON['parse'](_0xd75460),_0x38996f['errorMessage']=_0xd75460,fs[_0x41b20b(0x246)](_0x4736de);}}catch(_0x235721){logger['debug'](_0xab1042[_0x41b20b(0x1e0)](_0xab1042['hrgnf'],_0x235721));}};_0x3edaee['on'](_0xab1042[_0x1aecf7(0x238)],async _0x508988=>{const _0x469916=_0x1aecf7;try{const _0x9e4ec8=_0xab1042[_0x469916(0x20e)]['split']('|');let _0x142be1=0x0;while(!![]){switch(_0x9e4ec8[_0x142be1++]){case'0':logger[_0x469916(0x214)](_0x469916(0x1df)+_0x508988);continue;case'1':await TestHubHandler['stop']();continue;case'2':logger[_0x469916(0x214)]('Deleting\x20'+_0x468c73);continue;case'3':process['exitCode']=_0x508988;continue;case'4':_0xab1042['YeLdE'](_0x44cfdd);continue;case'5':fs[_0x469916(0x246)](_0x3b7a81);continue;case'6':fs[_0x469916(0x246)](_0x468c73);continue;case'7':logger[_0x469916(0x1f0)](_0x469916(0x1e5)+_0x3b7a81);continue;case'8':await utilities[_0x469916(0x211)](_0x38996f);continue;}break;}}catch(_0x517697){logger[_0x469916(0x214)](_0xab1042[_0x469916(0x1ef)](_0xab1042[_0x469916(0x1f4)],_0x517697));}});}module[a35_0x4c01c1(0x217)]=run;
@@ -1 +1 @@
1
- const a36_0x53404a=a36_0x4a31;(function(_0x5ea9e5,_0x38374d){const _0x3b7f8a=a36_0x4a31,_0x2ef026=_0x5ea9e5();while(!![]){try{const _0x4fd662=parseInt(_0x3b7f8a(0x111))/0x1*(-parseInt(_0x3b7f8a(0x112))/0x2)+parseInt(_0x3b7f8a(0xfc))/0x3+-parseInt(_0x3b7f8a(0xf0))/0x4+parseInt(_0x3b7f8a(0xec))/0x5+parseInt(_0x3b7f8a(0xeb))/0x6*(-parseInt(_0x3b7f8a(0x109))/0x7)+-parseInt(_0x3b7f8a(0x10e))/0x8*(-parseInt(_0x3b7f8a(0xfe))/0x9)+parseInt(_0x3b7f8a(0x100))/0xa*(-parseInt(_0x3b7f8a(0x107))/0xb);if(_0x4fd662===_0x38374d)break;else _0x2ef026['push'](_0x2ef026['shift']());}catch(_0x18933c){_0x2ef026['push'](_0x2ef026['shift']());}}}(a36_0x747d,0xa0096));function a36_0x4a31(_0x8b147a,_0x42794a){const _0x747d82=a36_0x747d();return a36_0x4a31=function(_0x4a3110,_0x4fb8d5){_0x4a3110=_0x4a3110-0xe3;let _0x3026ac=_0x747d82[_0x4a3110];return _0x3026ac;},a36_0x4a31(_0x8b147a,_0x42794a);}const util=require(a36_0x53404a(0xe8)),child_process=require(a36_0x53404a(0x106)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a36_0x53404a(0x108)),helper=require(a36_0x53404a(0x104)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x53404a(0xe4)),logger=require(a36_0x53404a(0xf2))[a36_0x53404a(0xe6)];module['exports']=async function(_0x4eaeb2){const _0xfa8914=a36_0x53404a,_0x2bdbde={'YRdAr':function(_0x5acc86,_0xb623b5){return _0x5acc86(_0xb623b5);},'FcqJh':function(_0x36d83e){return _0x36d83e();},'oRtQh':'./mock-process.js','xvtkW':function(_0xafa54){return _0xafa54();},'mmPgk':function(_0x2460fe){return _0x2460fe();},'HoRqJ':_0xfa8914(0xe3),'bQgLw':function(_0x1dd15f,_0x12b36f){return _0x1dd15f(_0x12b36f);},'tgEpn':function(_0x4318e7,_0x1d67b8){return _0x4318e7>=_0x1d67b8;},'PgLcc':_0xfa8914(0xf6),'YQqGW':function(_0x52d586,_0x4557b6,_0xfef764){return _0x52d586(_0x4557b6,_0xfef764);},'BqebC':function(_0x5493de,_0x227bd9){return _0x5493de!==_0x227bd9;},'afcTb':_0xfa8914(0x117),'FcDOu':_0xfa8914(0x103),'gcSsH':function(_0x201030,_0x2feee9){return _0x201030(_0x2feee9);}},_0xcf4c08=child_process['fork'];if(helper[_0xfa8914(0x116)]())try{_0x2bdbde['mmPgk'](mockIsWorkerRedundant);}catch(_0x9fc474){logger[_0xfa8914(0x10d)](_0xfa8914(0xf3)+util['format'](_0x9fc474));}child_process[_0xfa8914(0x10c)]=function(){const _0x1b2902=_0xfa8914;return _0x2bdbde[_0x1b2902(0x105)](debug,_0x1b2902(0xef)+arguments[0x0]),arguments[0x0][_0x1b2902(0xea)](_0x2bdbde[_0x1b2902(0x10b)](getForkProcessPath))?arguments[0x0]=require[_0x1b2902(0xed)](_0x2bdbde[_0x1b2902(0x113)]):logger[_0x1b2902(0xee)](_0x1b2902(0x114)+_0x2bdbde[_0x1b2902(0x101)](getForkProcessPath)+_0x1b2902(0xfa)),_0xcf4c08[_0x1b2902(0x115)](null,arguments);};if(process['env'][_0xfa8914(0xff)]){_0x2bdbde[_0xfa8914(0x105)](debug,_0x2bdbde[_0xfa8914(0xf8)]);try{const {loadGlobalHook:_0xf742ef}=helper[_0xfa8914(0xfb)][_0xfa8914(0x115)](null,_0x2bdbde[_0xfa8914(0x101)](getLoadUtilsPath)),_0x2d2921=_0x2bdbde[_0xfa8914(0x10a)](getFrameworkVersion,FRAMEWORKS[_0xfa8914(0xe7)]);let _0x190a2e=_0x4eaeb2;if(_0x2bdbde[_0xfa8914(0xf5)](helper[_0xfa8914(0xf4)](_0x2d2921,_0x2bdbde[_0xfa8914(0x110)]),0x0)){const _0x54237d={};_0x54237d[_0xfa8914(0x10f)]=_0x4eaeb2,_0x190a2e=_0x54237d;}const _0x4751c8=await _0x2bdbde[_0xfa8914(0xf7)](_0xf742ef,_0x190a2e,process[_0xfa8914(0xf1)][_0xfa8914(0xff)]);if(_0x2bdbde[_0xfa8914(0x102)](typeof _0x4751c8,_0x2bdbde[_0xfa8914(0xe9)]))throw new Error(_0x2bdbde[_0xfa8914(0xfd)]);return _0x4751c8[_0xfa8914(0x115)](null,arguments);}catch(_0x29dd5d){_0x2bdbde['gcSsH'](debug,_0xfa8914(0xe5)+_0x29dd5d[_0xfa8914(0xf9)]());}}};function a36_0x747d(){const _0x356630=['../../helpers/logger','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','compareVersions','tgEpn','1.33.0','YQqGW','HoRqJ','toString','\x20is\x20not\x20found','requirePWModule','2162001wtSTMO','FcDOu','7004538qwlplj','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','10hIReSp','xvtkW','BqebC','Not\x20able\x20to\x20import\x20globalSetup','../../helpers/helper','YRdAr','child_process','10234136qAYywt','../../helpers/test-observability/utils','28GLugRo','bQgLw','FcqJh','fork','debug','8FQMjiD','config','PgLcc','641keGInu','134xYWDQO','oRtQh','Path\x20','apply','isHandlePWErrorSet','function','Running\x20existing\x20global\x20setup','./patches','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','winstonLogger','PLAYWRIGHT','util','afcTb','includes','534408OdYxUR','4227270UPwhiQ','resolve','error','Call\x20to\x20child\x20fork\x20with\x20args\x20','1437192WkmqBI','env'];a36_0x747d=function(){return _0x356630;};return a36_0x747d();}
1
+ const a36_0x547859=a36_0x1902;(function(_0x26c7b7,_0xd2195b){const _0x33979a=a36_0x1902,_0x2021e9=_0x26c7b7();while(!![]){try{const _0x31dd5c=-parseInt(_0x33979a(0x179))/0x1*(parseInt(_0x33979a(0x182))/0x2)+-parseInt(_0x33979a(0x18f))/0x3*(-parseInt(_0x33979a(0x173))/0x4)+-parseInt(_0x33979a(0x17e))/0x5+-parseInt(_0x33979a(0x16c))/0x6*(parseInt(_0x33979a(0x190))/0x7)+parseInt(_0x33979a(0x18d))/0x8*(-parseInt(_0x33979a(0x175))/0x9)+-parseInt(_0x33979a(0x184))/0xa*(-parseInt(_0x33979a(0x191))/0xb)+-parseInt(_0x33979a(0x18c))/0xc*(-parseInt(_0x33979a(0x193))/0xd);if(_0x31dd5c===_0xd2195b)break;else _0x2021e9['push'](_0x2021e9['shift']());}catch(_0x1f7591){_0x2021e9['push'](_0x2021e9['shift']());}}}(a36_0x4f4a,0xe5424));const util=require('util'),child_process=require(a36_0x547859(0x192)),{FRAMEWORKS}=require(a36_0x547859(0x176)),{getFrameworkVersion,debug}=require(a36_0x547859(0x171)),helper=require(a36_0x547859(0x17d)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x547859(0x194)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')[a36_0x547859(0x197)];function a36_0x1902(_0x4161b7,_0x55545a){const _0x4f4a08=a36_0x4f4a();return a36_0x1902=function(_0x190272,_0x13eeef){_0x190272=_0x190272-0x16a;let _0x2c631d=_0x4f4a08[_0x190272];return _0x2c631d;},a36_0x1902(_0x4161b7,_0x55545a);}module[a36_0x547859(0x16b)]=async function(_0x15b1f2){const _0x17002f=a36_0x547859,_0x1047e1={'AkXNX':function(_0x6f3472,_0x32611d){return _0x6f3472(_0x32611d);},'aUuVB':function(_0x39c1e8){return _0x39c1e8();},'XLBuV':_0x17002f(0x185),'RixBU':function(_0x278ab4){return _0x278ab4();},'wzWyN':function(_0x217d6f,_0x4128b8){return _0x217d6f(_0x4128b8);},'JlOhN':_0x17002f(0x18b),'FdCJg':function(_0x1175ba,_0x5211ae){return _0x1175ba(_0x5211ae);},'HsPZr':function(_0x44ead7,_0x5ee955){return _0x44ead7>=_0x5ee955;},'nlEJw':_0x17002f(0x17c),'GvZtx':function(_0x23a2a1,_0x3d3232,_0x5d75af){return _0x23a2a1(_0x3d3232,_0x5d75af);},'vAsZW':function(_0x1f773b,_0x39512f){return _0x1f773b!==_0x39512f;},'zmgYO':_0x17002f(0x186),'uELMy':'Not\x20able\x20to\x20import\x20globalSetup','pzZZp':function(_0x483c93,_0x2546b3){return _0x483c93(_0x2546b3);}},_0x307bb7=child_process[_0x17002f(0x16e)];if(helper[_0x17002f(0x17b)]())try{_0x1047e1[_0x17002f(0x174)](mockIsWorkerRedundant);}catch(_0x5e1c49){logger['debug'](_0x17002f(0x189)+util[_0x17002f(0x16f)](_0x5e1c49));}child_process[_0x17002f(0x16e)]=function(){const _0x33a438=_0x17002f;return _0x1047e1[_0x33a438(0x18e)](debug,_0x33a438(0x188)+arguments[0x0]),arguments[0x0]['includes'](_0x1047e1[_0x33a438(0x198)](getForkProcessPath))?arguments[0x0]=require[_0x33a438(0x16d)](_0x1047e1['XLBuV']):logger[_0x33a438(0x187)]('Path\x20'+_0x1047e1[_0x33a438(0x198)](getForkProcessPath)+_0x33a438(0x195)),_0x307bb7[_0x33a438(0x178)](null,arguments);};if(process[_0x17002f(0x170)][_0x17002f(0x181)]){_0x1047e1['wzWyN'](debug,_0x1047e1['JlOhN']);try{const {loadGlobalHook:_0x421955}=helper['requirePWModule'][_0x17002f(0x178)](null,_0x1047e1[_0x17002f(0x174)](getLoadUtilsPath)),_0x312217=_0x1047e1[_0x17002f(0x18a)](getFrameworkVersion,FRAMEWORKS[_0x17002f(0x16a)]);let _0x43c38b=_0x15b1f2;if(_0x1047e1[_0x17002f(0x180)](helper['compareVersions'](_0x312217,_0x1047e1[_0x17002f(0x177)]),0x0)){const _0x11d47c={};_0x11d47c[_0x17002f(0x183)]=_0x15b1f2,_0x43c38b=_0x11d47c;}const _0x309cd0=await _0x1047e1[_0x17002f(0x196)](_0x421955,_0x43c38b,process[_0x17002f(0x170)][_0x17002f(0x181)]);if(_0x1047e1['vAsZW'](typeof _0x309cd0,_0x1047e1[_0x17002f(0x172)]))throw new Error(_0x1047e1['uELMy']);return _0x309cd0[_0x17002f(0x178)](null,arguments);}catch(_0x1454a7){_0x1047e1[_0x17002f(0x199)](debug,_0x17002f(0x17a)+_0x1454a7[_0x17002f(0x17f)]());}}};function a36_0x4f4a(){const _0x116169=['6722872TwYvhd','AkXNX','33iNNjtJ','3628415LRWjrD','11cCeXgO','child_process','26xEjJdU','./reporter/pwUtils','\x20is\x20not\x20found','GvZtx','winstonLogger','aUuVB','pzZZp','PLAYWRIGHT','exports','12pRQfFh','resolve','fork','format','env','../../helpers/test-observability/utils','zmgYO','533516TryGYd','RixBU','9PWSStn','../../helpers/test-observability/constants','nlEJw','apply','52214fOnGiq','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','isHandlePWErrorSet','1.33.0','../../helpers/helper','8223295tnfMUr','toString','HsPZr','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','2UIMzxq','config','13827570XcyycX','./mock-process.js','function','error','Call\x20to\x20child\x20fork\x20with\x20args\x20','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','FdCJg','Running\x20existing\x20global\x20setup','9978240ClMgVF'];a36_0x4f4a=function(){return _0x116169;};return a36_0x4f4a();}