browserstack-node-sdk 1.34.26 → 1.34.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/central-scanner/constants.js +1 -1
  101. package/src/helpers/central-scanner/helpers.js +1 -1
  102. package/src/helpers/globals.js +1 -1
  103. package/src/helpers/helper.js +1 -1
  104. package/src/helpers/logger.js +1 -1
  105. package/src/helpers/patchHelper.js +1 -1
  106. package/src/helpers/patchHelpers.js +1 -1
  107. package/src/helpers/percy/Percy.js +1 -1
  108. package/src/helpers/percy/PercyBinary.js +1 -1
  109. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  110. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  111. package/src/helpers/percy/PercySDK.js +1 -1
  112. package/src/helpers/percy/index.js +1 -1
  113. package/src/helpers/percy/utils.js +1 -1
  114. package/src/helpers/performance-tester.js +1 -1
  115. package/src/helpers/request-spy.js +1 -1
  116. package/src/helpers/setKeepAlive.js +1 -1
  117. package/src/helpers/test-observability/constants.js +1 -1
  118. package/src/helpers/test-observability/error-handler.js +1 -1
  119. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  120. package/src/helpers/test-observability/sessionHandler.js +1 -1
  121. package/src/helpers/test-observability/utils.js +1 -1
  122. package/src/helpers/testhub/constants.js +1 -1
  123. package/src/helpers/testhub/testhubHandler.js +1 -1
  124. package/src/helpers/testhub/utils.js +1 -1
  125. package/src/helpers/timeoutPromise.js +1 -1
  126. package/src/helpers/utilities.js +1 -1
  127. package/src/helpers/w3cMapping.js +1 -1
  128. package/src/hubAllocationMethods.js +1 -1
  129. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x4c9e18=a29_0x43ca;function a29_0x43ca(_0x375f09,_0x34be0f){const _0x432a72=a29_0x432a();return a29_0x43ca=function(_0x43ca30,_0x511add){_0x43ca30=_0x43ca30-0x154;let _0x3c4dc8=_0x432a72[_0x43ca30];return _0x3c4dc8;},a29_0x43ca(_0x375f09,_0x34be0f);}(function(_0x4029aa,_0x21da56){const _0x574a78=a29_0x43ca,_0x3fa23a=_0x4029aa();while(!![]){try{const _0x185d41=parseInt(_0x574a78(0x186))/0x1+-parseInt(_0x574a78(0x163))/0x2*(-parseInt(_0x574a78(0x15f))/0x3)+-parseInt(_0x574a78(0x1ac))/0x4*(parseInt(_0x574a78(0x157))/0x5)+-parseInt(_0x574a78(0x1b1))/0x6*(parseInt(_0x574a78(0x1c1))/0x7)+parseInt(_0x574a78(0x1af))/0x8*(-parseInt(_0x574a78(0x1a1))/0x9)+parseInt(_0x574a78(0x1ab))/0xa*(parseInt(_0x574a78(0x181))/0xb)+parseInt(_0x574a78(0x16d))/0xc*(-parseInt(_0x574a78(0x17f))/0xd);if(_0x185d41===_0x21da56)break;else _0x3fa23a['push'](_0x3fa23a['shift']());}catch(_0x3187bd){_0x3fa23a['push'](_0x3fa23a['shift']());}}}(a29_0x432a,0x7f793));const logger=require(a29_0x4c9e18(0x1c5))[a29_0x4c9e18(0x1a4)],helper=require(a29_0x4c9e18(0x1bf)),constants=require(a29_0x4c9e18(0x175)),hubAllocator=require(a29_0x4c9e18(0x17d)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x4c9e18(0x19a)),{setAccessibilityCapabilities,setExtension}=require(a29_0x4c9e18(0x16b)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x4c9e18(0x1b6)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x4c9e18(0x166)),modify=(_0x4aa19b,_0x3ceac9=null,_0x3a4aa6=![])=>{const _0xebf436=a29_0x4c9e18,_0x893a39={'VHPiG':function(_0x178cff,_0x118781){return _0x178cff!==_0x118781;},'pruro':_0xebf436(0x189),'fOTUA':function(_0x597d93,_0x39c709){return _0x597d93+_0x39c709;},'XJNnz':function(_0x211f3f,_0x47aa92){return _0x211f3f+_0x47aa92;},'AfgRU':_0xebf436(0x19e),'UhVzj':'/wd/hub','lRWpQ':_0xebf436(0x1bc),'wvDdp':'chromeOptions','VkDUe':'ms:edgeOptions','XMNow':_0xebf436(0x1c6),'AmlFJ':'moz:firefoxOptions','QMNTp':_0xebf436(0x1a0),'EsRUt':_0xebf436(0x179),'SqyLf':'se:ieOptions','XfwJV':'ieOptions','ryAev':function(_0x54b91c,_0x31d56a){return _0x54b91c===_0x31d56a;},'HkbYx':_0xebf436(0x16a),'TXuFR':'Setting\x20Browserstack\x20capabilities','YzkDd':function(_0x7b3d6a,_0x37206e,_0x64f8b4){return _0x7b3d6a(_0x37206e,_0x64f8b4);},'GbghA':_0xebf436(0x190),'gJfKm':_0xebf436(0x15b),'gIcLi':function(_0x2450f1,_0x2934ef){return _0x2450f1(_0x2934ef);},'EzoAR':'4|0|5|2|3|1','YfBwh':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','hyOfu':_0xebf436(0x171),'WKWes':function(_0x1a45a3){return _0x1a45a3();},'zXgXE':function(_0x43fd8b,_0x5233db){return _0x43fd8b(_0x5233db);},'jRnVa':function(_0x50c4aa,_0x3cc3dc){return _0x50c4aa(_0x3cc3dc);},'BEKdU':function(_0x2f2a7a,_0x38a4e0,_0x458f94){return _0x2f2a7a(_0x38a4e0,_0x458f94);},'jIWNw':function(_0x2c2c6e,_0x461b23){return _0x2c2c6e!==_0x461b23;},'VvPVD':_0xebf436(0x1aa),'pHLRG':_0xebf436(0x168)},_0x59807e=helper['requireHttpClient']();let _0x49d6fb;try{_0x49d6fb=helper[_0xebf436(0x1a7)](),_0x49d6fb[_0xebf436(0x155)]&&(_0x49d6fb[_0xebf436(0x18e)]=_0x49d6fb[_0xebf436(0x155)]);}catch(_0x5d9e3d){return;}if(helper['isBrowserstackInfra']()){const _0x3a49ee={};_0x3a49ee['logLevel']=_0x4aa19b[_0xebf436(0x191)],helper[_0xebf436(0x1c0)](_0x3a49ee,new Map(),new Map()),logger[_0xebf436(0x1be)](_0x893a39[_0xebf436(0x1ba)]),logger[_0xebf436(0x18b)](_0x893a39[_0xebf436(0x19d)]);}class _0x42625b extends _0x59807e['HttpClient']{[_0xebf436(0x16c)](_0x12ef33){const _0xd19b3d=_0xebf436;if(_0x893a39[_0xd19b3d(0x1a5)](_0x12ef33[_0xd19b3d(0x18d)],_0x893a39[_0xd19b3d(0x178)])&&_0x893a39[_0xd19b3d(0x1a5)](global[_0xd19b3d(0x18f)],''))try{global[_0xd19b3d(0x18f)]=_0x893a39['fOTUA'](_0x893a39[_0xd19b3d(0x19f)](_0x893a39['AfgRU'],global[_0xd19b3d(0x18f)]),_0x893a39['UhVzj']),this['options_']=hubAllocator[_0xd19b3d(0x194)](global['newHubUrl']),logger[_0xd19b3d(0x18b)](_0xd19b3d(0x1bd)+global['newHubUrl']),global[_0xd19b3d(0x18f)]='';}catch(_0x3d0189){logger[_0xd19b3d(0x197)](_0x3d0189);}return super['send'](_0x12ef33);}}class _0x239ee2 extends _0x49d6fb[_0xebf436(0x18e)]{[_0xebf436(0x192)](){const _0x21c4b9=_0xebf436;return this[_0x21c4b9(0x15c)]=helper['getHubUrl'](_0x4aa19b),logger[_0x21c4b9(0x18b)]('Hub\x20url\x20set\x20to\x20'+this[_0x21c4b9(0x15c)]),this;}['__setBrowserOptions'](_0x52c281){const _0x52f942=_0xebf436;let _0x5dba0e={};for(const _0x3da2eb in _0x52c281){switch(_0x3da2eb){case _0x893a39[_0x52f942(0x17e)]:case _0x893a39[_0x52f942(0x16f)]:this[_0x52f942(0x17c)]&&(_0x5dba0e=this['chromeOptions_'][_0x52f942(0x1c2)](this['chromeOptions_'][_0x52f942(0x159)])||{},this[_0x52f942(0x17c)]['set'](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x52f942(0x1a3)](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39['VkDUe']:case _0x893a39[_0x52f942(0x158)]:this['edgeOptions_']&&(_0x5dba0e=this[_0x52f942(0x18c)][_0x52f942(0x1c2)](this[_0x52f942(0x18c)]['CAPABILITY_KEY'])||{},this[_0x52f942(0x18c)][_0x52f942(0x1a6)](this[_0x52f942(0x18c)][_0x52f942(0x159)],helper['mergeDeep'](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39[_0x52f942(0x162)]:case _0x893a39['QMNTp']:this[_0x52f942(0x188)]&&(_0x5dba0e=this[_0x52f942(0x188)][_0x52f942(0x1c2)](this[_0x52f942(0x188)][_0x52f942(0x159)])||{},this[_0x52f942(0x188)][_0x52f942(0x1a6)](this['firefoxOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39['EsRUt']:this[_0x52f942(0x19c)]&&(_0x5dba0e=this['safariOptions_']['get'](this[_0x52f942(0x19c)][_0x52f942(0x159)])||{},this['safariOptions_']['set'](this[_0x52f942(0x19c)][_0x52f942(0x159)],helper[_0x52f942(0x1a3)](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39['SqyLf']:case _0x893a39['XfwJV']:this[_0x52f942(0x154)]&&(_0x5dba0e=this[_0x52f942(0x154)]['get'](this['ieOptions_'][_0x52f942(0x159)])||{},this[_0x52f942(0x154)][_0x52f942(0x1a6)](this[_0x52f942(0x154)][_0x52f942(0x159)],helper[_0x52f942(0x1a3)](_0x5dba0e,_0x52c281[_0x3da2eb])));break;}}}['setCapabilities'](){const _0x309300=_0xebf436;return logger['debug'](_0x893a39[_0x309300(0x1a9)]),this[_0x309300(0x15a)](_0x4aa19b[_0x309300(0x1b0)]),Object['keys'](_0x4aa19b['capability'])[_0x309300(0x177)](_0x54ebf7=>{const _0x286654=_0x309300,_0x189341=this[_0x286654(0x1a8)][_0x286654(0x1c2)](_0x54ebf7);_0x893a39[_0x286654(0x176)](typeof _0x189341,_0x893a39[_0x286654(0x185)])?this[_0x286654(0x1a8)][_0x286654(0x1a6)](_0x54ebf7,helper[_0x286654(0x1a3)](_0x189341,_0x4aa19b[_0x286654(0x1b0)][_0x54ebf7])):this[_0x286654(0x1a8)][_0x286654(0x1a6)](_0x54ebf7,_0x4aa19b[_0x286654(0x1b0)][_0x54ebf7]);}),this;}[_0xebf436(0x16e)](){const _0x18e63a=_0xebf436,_0x524d07={'liFtK':_0x893a39[_0x18e63a(0x1c7)],'bScNh':_0x893a39['gJfKm'],'btexS':function(_0x3c57d2,_0x7a24d,_0x444cd1){const _0x16ea85=_0x18e63a;return _0x893a39[_0x16ea85(0x1c4)](_0x3c57d2,_0x7a24d,_0x444cd1);},'mopEp':function(_0x44d84d,_0x4c82af){const _0x337f52=_0x18e63a;return _0x893a39[_0x337f52(0x173)](_0x44d84d,_0x4c82af);},'OaQUl':function(_0x287991,_0x4245f4,_0x38dfa7){return _0x893a39['YzkDd'](_0x287991,_0x4245f4,_0x38dfa7);}};if(helper[_0x18e63a(0x160)]()){const _0x2a20a7=_0x893a39[_0x18e63a(0x187)]['split']('|');let _0x4f931c=0x0;while(!![]){switch(_0x2a20a7[_0x4f931c++]){case'0':this['setServer']();continue;case'1':logger[_0x18e63a(0x18b)](_0x893a39[_0x18e63a(0x15e)]);continue;case'2':if(helper['isPacProxy'](_0x4aa19b['proxySettings'][_0x18e63a(0x182)]))this[_0x18e63a(0x1b2)]=helper[_0x18e63a(0x17b)](_0x4aa19b[_0x18e63a(0x1b9)][_0x18e63a(0x182)]);else _0x4aa19b['proxySettings'][_0x18e63a(0x182)]&&(this[_0x18e63a(0x1b4)]=_0x4aa19b[_0x18e63a(0x1b9)][_0x18e63a(0x182)],logger[_0x18e63a(0x18b)](_0x18e63a(0x15d)+this[_0x18e63a(0x1b4)]));continue;case'3':globals[_0x18e63a(0x196)](_0x893a39[_0x18e63a(0x1ae)])&&(!_0x893a39[_0x18e63a(0x1c4)](setExtension,this,_0x4aa19b)&&globals[_0x18e63a(0x193)](_0x893a39['hyOfu'],![]));continue;case'4':_0x893a39[_0x18e63a(0x1b3)](isAccessibilityAutomationSession)&&_0x893a39[_0x18e63a(0x1bb)](setAccessibilityCapabilities,_0x4aa19b);continue;case'5':this[_0x18e63a(0x156)]();continue;}break;}}const _0x44c16b=super[_0x18e63a(0x16e)]();return _0x44c16b['session_'][_0x18e63a(0x1b5)](_0x39c0bd=>{const _0x486b66=_0x18e63a;try{const _0x2fd76f=_0x39c0bd[_0x486b66(0x1b7)]['get'](_0x524d07[_0x486b66(0x17a)]);_0x2fd76f?(logger[_0x486b66(0x18b)](_0x486b66(0x172)+_0x2fd76f),hubAllocator['updateHubUrl'](_0x2fd76f),helper[_0x486b66(0x174)](_0x2fd76f)):logger[_0x486b66(0x18b)](_0x524d07[_0x486b66(0x180)]);}catch(_0x2c7603){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x2c7603);}}),_0x44c16b[_0x18e63a(0x183)]=0x0,_0x44c16b[_0x18e63a(0x1b5)]&&_0x44c16b[_0x18e63a(0x1b5)](_0x12c8a0=>{const _0x37f6e0=_0x18e63a,_0x2aaa04={'CpEXG':function(_0x47ead6,_0x50f72a,_0x3818d5){return _0x524d07['btexS'](_0x47ead6,_0x50f72a,_0x3818d5);}};_0x524d07[_0x37f6e0(0x198)](overrideQuit,_0x12c8a0,_0x44c16b),_0x524d07['mopEp'](overrideTakeScreenshot,_0x12c8a0),helper[_0x37f6e0(0x19b)](_0x12c8a0,_0x4aa19b),_0x524d07[_0x37f6e0(0x198)](overrideExecute,_0x12c8a0,_0x4aa19b),_0x12c8a0[_0x37f6e0(0x199)]=async()=>{const _0x2f85ad=_0x37f6e0;return await _0x2aaa04[_0x2f85ad(0x1b8)](getAccessibilityResultsSummary,_0x12c8a0,global);},_0x12c8a0[_0x37f6e0(0x1ad)]=async()=>{const _0x5ab80f=_0x37f6e0;return await _0x2aaa04[_0x5ab80f(0x1b8)](getAccessibilityResults,_0x12c8a0,global);};}),_0x44c16b[_0x18e63a(0x199)]=async()=>{return await _0x524d07['OaQUl'](getAccessibilityResultsSummary,_0x44c16b,global);},_0x44c16b[_0x18e63a(0x1ad)]=async()=>{const _0x18ea45=_0x18e63a;return await _0x893a39[_0x18ea45(0x1c4)](getAccessibilityResults,_0x44c16b,global);},_0x893a39[_0x18e63a(0x1c3)](overrideTakeScreenshot,_0x44c16b),_0x893a39[_0x18e63a(0x1bb)](overrideQuit,_0x44c16b),helper[_0x18e63a(0x19b)](_0x44c16b,_0x4aa19b),_0x893a39[_0x18e63a(0x184)](overrideExecute,_0x44c16b,_0x4aa19b),helper[_0x18e63a(0x167)](global[_0x18e63a(0x1a2)])&&(global[_0x18e63a(0x1a2)]=[]),helper[_0x18e63a(0x167)](global[_0x18e63a(0x170)])&&(global[_0x18e63a(0x170)]=[]),global[_0x18e63a(0x1a2)][_0x18e63a(0x195)](_0x44c16b),global[_0x18e63a(0x164)]=_0x44c16b,_0x893a39['VHPiG'](global[_0x18e63a(0x170)],undefined)&&global[_0x18e63a(0x170)][_0x18e63a(0x195)](_0x44c16b),_0x3ceac9&&helper[_0x18e63a(0x167)](_0x3ceac9[_0x18e63a(0x161)]['__driversArray'])&&(_0x3ceac9[_0x18e63a(0x161)][_0x18e63a(0x1a2)]=[]),_0x3ceac9&&_0x893a39['jIWNw'](_0x3ceac9[_0x18e63a(0x161)][_0x18e63a(0x170)],undefined)&&(_0x3ceac9[_0x18e63a(0x161)][_0x18e63a(0x170)][_0x18e63a(0x195)](_0x44c16b),_0x3ceac9['global'][_0x18e63a(0x1a2)][_0x18e63a(0x195)](_0x44c16b)),_0x44c16b;}}return _0x49d6fb[_0xebf436(0x155)]=_0x49d6fb[_0xebf436(0x18e)],_0x49d6fb[_0xebf436(0x18e)]=_0x239ee2,_0x59807e[_0xebf436(0x18a)]=_0x42625b,_0x49d6fb;};function a29_0x432a(){const _0x2c5d2c=['New\x20hub\x20url\x20set\x20to\x20','info','../../../helpers/helper','setLogLevel','1071959lRTmdG','get','jRnVa','YzkDd','../../../helpers/logger','edgeOptions','GbghA','ieOptions_','originalBuilder','setCapabilities','2805070apvVhg','XMNow','CAPABILITY_KEY','__setBrowserOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','url_','Proxy\x20set\x20to\x20','YfBwh','6iRXMPH','isBrowserstackInfra','global','AmlFJ','737542bmnpNi','__driver','exports','./helpers/patchHelper','isUndefined','Modifying\x20webdriver\x20builder','browserstackAgentObservability','object','../accessibility-automation/helper','send','98220RhsAAf','build','wvDdp','__drivers','isAccessibilityPlatform','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','gIcLi','storeOptimalHubUrl','../../../bin/utils/constants','ryAev','forEach','pruro','safari.options','liFtK','getHttpAgent','chromeOptions_','../../../hubAllocationMethods','lRWpQ','507xObOVy','bScNh','11DTcLqs','proxyUrl','quitCount_','BEKdU','HkbYx','927640ZjAwtx','EzoAR','firefoxOptions_','/session','HttpClient','debug','edgeOptions_','path','Builder','newHubUrl','optimalHubUrl','browserStackLogLevel','setServer','setGlobal','getRequestOptions','push','getGlobal','error','btexS','getAccessibilityResultsSummary','../../../helpers/patchHelpers','overrideGet','safariOptions_','pHLRG','https://','XJNnz','firefoxOptions','1069542qhUgfw','__driversArray','mergeDeep','winstonLogger','VHPiG','set','requireSeleniumWebdriver','capabilities_','TXuFR','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','3154270mtdjTO','4WDYUeQ','getAccessibilityResults','hyOfu','8ejxgqf','capability','18qPXxoW','agent_','WKWes','proxy_','then','../../../helpers/accessibility-automation/helper','caps_','CpEXG','proxySettings','VvPVD','zXgXE','goog:chromeOptions'];a29_0x432a=function(){return _0x2c5d2c;};return a29_0x432a();}module[a29_0x4c9e18(0x165)][a29_0x4c9e18(0x169)]=modify;
1
+ const a29_0x41475a=a29_0x58d2;function a29_0x5768(){const _0x3b1e8a=['../../../hubAllocationMethods','goog:chromeOptions','keys','New\x20hub\x20url\x20set\x20to\x20','newHubUrl','se:ieOptions','chromeOptions_','storeOptimalHubUrl','../accessibility-automation/helper','optimalHubUrl','ENUEK','FZjNp','523425NgDLSK','get','ViGzC','rBeYJ','aYZmW','zDKHX','__driversArray','1|3|4|0|2|5','getRequestOptions','getHttpAgent','1971yFPGca','2316AltdVz','CAPABILITY_KEY','kjlQs','EdQiX','FwoBg','info','wdbZX','set','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','../../../helpers/helper','638255KlVLpy','caps_','wpMWA','object','VgFtY','SKBvK','split','send','/session','ieOptions_','setCapabilities','cJIzs','overrideGet','build','firefoxOptions','setServer','PRmxQ','315qEkhyF','firefoxOptions_','FPTOI','requireHttpClient','/wd/hub','../../../helpers/globals','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Setting\x20Browserstack\x20capabilities','url_','edgeOptions_','./helpers/patchHelper','options_','mergeDeep','winstonLogger','forEach','548528vtUwWP','edgeOptions','capabilities_','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','imfeI','dCuhd','cuZyb','then','kEPvm','global','oGSrA','getGlobal','safariOptions_','398616dKmCeI','aJKUq','exports','proxyUrl','browserstackAgentObservability','AxNrg','MVErT','XdeFk','browserStackLogLevel','safari.options','isAccessibilityPlatform','setGlobal','https://','__driver','../../../helpers/accessibility-automation/helper','push','logLevel','updateHubUrl','mMUsE','18NKuolN','getAccessibilityResultsSummary','Modifying\x20webdriver\x20builder','1776900sVszBn','proxySettings','originalBuilder','EgNDp','__setBrowserOptions','capability','hZRRG','pTauB','79386uLBtNQ','isUndefined','debug','requireSeleniumWebdriver','WwsOd','MmOGQ','erqVO','setLogLevel','__drivers','uKhFM','Builder','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','path','ABdBj','HttpClient','error','isBrowserstackInfra'];a29_0x5768=function(){return _0x3b1e8a;};return a29_0x5768();}(function(_0x300992,_0x4b2eea){const _0x4cf7be=a29_0x58d2,_0x196344=_0x300992();while(!![]){try{const _0x1f7376=parseInt(_0x4cf7be(0x1eb))/0x1+-parseInt(_0x4cf7be(0x1f6))/0x2*(parseInt(_0x4cf7be(0x1f5))/0x3)+-parseInt(_0x4cf7be(0x221))/0x4+parseInt(_0x4cf7be(0x201))/0x5+-parseInt(_0x4cf7be(0x24c))/0x6*(-parseInt(_0x4cf7be(0x212))/0x7)+-parseInt(_0x4cf7be(0x22e))/0x8+parseInt(_0x4cf7be(0x241))/0x9*(parseInt(_0x4cf7be(0x244))/0xa);if(_0x1f7376===_0x4b2eea)break;else _0x196344['push'](_0x196344['shift']());}catch(_0x4f13cb){_0x196344['push'](_0x196344['shift']());}}}(a29_0x5768,0x9fb06));const logger=require('../../../helpers/logger')[a29_0x41475a(0x21f)],helper=require(a29_0x41475a(0x200)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x41475a(0x1df)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x41475a(0x1e7)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x41475a(0x23c)),globals=require(a29_0x41475a(0x217)),{overrideExecute}=require(a29_0x41475a(0x21c)),modify=(_0x4bf7a0,_0x125dd1=null,_0x1d4de3=![])=>{const _0x1eb0e8=a29_0x41475a,_0x4d524d={'BqzNk':function(_0x8c56c,_0x23cfd7){return _0x8c56c!==_0x23cfd7;},'ABdBj':_0x1eb0e8(0x209),'wdbZX':function(_0x4aae39,_0x56a1f6){return _0x4aae39!==_0x56a1f6;},'AxNrg':function(_0x253b8f,_0x32a4f7){return _0x253b8f+_0x32a4f7;},'kEPvm':function(_0x2e45f3,_0x43d93b){return _0x2e45f3+_0x43d93b;},'eYKDg':_0x1eb0e8(0x23a),'ykbjj':_0x1eb0e8(0x216),'rBeYJ':_0x1eb0e8(0x1e0),'EdQiX':'chromeOptions','oGSrA':'ms:edgeOptions','uKhFM':_0x1eb0e8(0x222),'DIdEA':'moz:firefoxOptions','aYZmW':_0x1eb0e8(0x20f),'ViGzC':_0x1eb0e8(0x237),'XdeFk':_0x1eb0e8(0x1e4),'erqVO':'ieOptions','FZjNp':function(_0x37613d,_0x4510f6){return _0x37613d===_0x4510f6;},'wpMWA':_0x1eb0e8(0x204),'EgNDp':_0x1eb0e8(0x219),'hZRRG':_0x1eb0e8(0x1e8),'aJKUq':_0x1eb0e8(0x224),'MVErT':function(_0x1d5e45,_0x58c67e,_0x13f43a){return _0x1d5e45(_0x58c67e,_0x13f43a);},'pTauB':function(_0x5ea525,_0x1d6dcf){return _0x5ea525(_0x1d6dcf);},'WwsOd':function(_0x52cf81,_0x489cec,_0x2e934c){return _0x52cf81(_0x489cec,_0x2e934c);},'FPTOI':_0x1eb0e8(0x1f2),'FwoBg':function(_0x4ce12c){return _0x4ce12c();},'kjlQs':_0x1eb0e8(0x238),'ENUEK':_0x1eb0e8(0x1fe),'zDKHX':function(_0x5cdcb4,_0x1770e3){return _0x5cdcb4!==_0x1770e3;},'VgFtY':_0x1eb0e8(0x1d9),'cuZyb':_0x1eb0e8(0x243)},_0x1bfbfc=helper[_0x1eb0e8(0x215)]();let _0x23b89f;try{_0x23b89f=helper[_0x1eb0e8(0x24f)](),_0x23b89f['originalBuilder']&&(_0x23b89f[_0x1eb0e8(0x1d8)]=_0x23b89f[_0x1eb0e8(0x246)]);}catch(_0xf6ba8){return;}if(helper[_0x1eb0e8(0x1de)]()){const _0xd430ce={};_0xd430ce[_0x1eb0e8(0x23e)]=_0x4bf7a0[_0x1eb0e8(0x236)],helper[_0x1eb0e8(0x1d5)](_0xd430ce,new Map(),new Map()),logger[_0x1eb0e8(0x1fb)](_0x4d524d[_0x1eb0e8(0x205)]),logger['debug'](_0x4d524d[_0x1eb0e8(0x227)]);}class _0x262cf8 extends _0x1bfbfc[_0x1eb0e8(0x1dc)]{[_0x1eb0e8(0x208)](_0x3b6852){const _0x5b4f2b=_0x1eb0e8;if(_0x4d524d['BqzNk'](_0x3b6852[_0x5b4f2b(0x1da)],_0x4d524d[_0x5b4f2b(0x1db)])&&_0x4d524d[_0x5b4f2b(0x1fc)](global[_0x5b4f2b(0x1e3)],''))try{global[_0x5b4f2b(0x1e3)]=_0x4d524d[_0x5b4f2b(0x233)](_0x4d524d[_0x5b4f2b(0x229)](_0x4d524d['eYKDg'],global[_0x5b4f2b(0x1e3)]),_0x4d524d['ykbjj']),this[_0x5b4f2b(0x21d)]=hubAllocator[_0x5b4f2b(0x1f3)](global[_0x5b4f2b(0x1e3)]),logger['debug'](_0x5b4f2b(0x1e2)+global[_0x5b4f2b(0x1e3)]),global[_0x5b4f2b(0x1e3)]='';}catch(_0x312b7f){logger[_0x5b4f2b(0x1dd)](_0x312b7f);}return super[_0x5b4f2b(0x208)](_0x3b6852);}}class _0x5e7542 extends _0x23b89f[_0x1eb0e8(0x1d8)]{['setServer'](){const _0x4d4a87=_0x1eb0e8;return this['url_']=helper['getHubUrl'](_0x4bf7a0),logger[_0x4d4a87(0x24e)]('Hub\x20url\x20set\x20to\x20'+this[_0x4d4a87(0x21a)]),this;}[_0x1eb0e8(0x248)](_0x5f0072){const _0x12ebdd=_0x1eb0e8;let _0x25b11d={};for(const _0x515596 in _0x5f0072){switch(_0x515596){case _0x4d524d[_0x12ebdd(0x1ee)]:case _0x4d524d[_0x12ebdd(0x1f9)]:this[_0x12ebdd(0x1e5)]&&(_0x25b11d=this[_0x12ebdd(0x1e5)][_0x12ebdd(0x1ec)](this[_0x12ebdd(0x1e5)][_0x12ebdd(0x1f7)])||{},this['chromeOptions_']['set'](this[_0x12ebdd(0x1e5)][_0x12ebdd(0x1f7)],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d[_0x12ebdd(0x22b)]:case _0x4d524d[_0x12ebdd(0x1d7)]:this['edgeOptions_']&&(_0x25b11d=this[_0x12ebdd(0x21b)][_0x12ebdd(0x1ec)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x12ebdd(0x21b)][_0x12ebdd(0x1fd)](this['edgeOptions_'][_0x12ebdd(0x1f7)],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d['DIdEA']:case _0x4d524d[_0x12ebdd(0x1ef)]:this['firefoxOptions_']&&(_0x25b11d=this[_0x12ebdd(0x213)][_0x12ebdd(0x1ec)](this[_0x12ebdd(0x213)]['CAPABILITY_KEY'])||{},this[_0x12ebdd(0x213)][_0x12ebdd(0x1fd)](this[_0x12ebdd(0x213)][_0x12ebdd(0x1f7)],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d[_0x12ebdd(0x1ed)]:this[_0x12ebdd(0x22d)]&&(_0x25b11d=this[_0x12ebdd(0x22d)][_0x12ebdd(0x1ec)](this[_0x12ebdd(0x22d)][_0x12ebdd(0x1f7)])||{},this['safariOptions_'][_0x12ebdd(0x1fd)](this[_0x12ebdd(0x22d)]['CAPABILITY_KEY'],helper[_0x12ebdd(0x21e)](_0x25b11d,_0x5f0072[_0x515596])));break;case _0x4d524d[_0x12ebdd(0x235)]:case _0x4d524d[_0x12ebdd(0x252)]:this[_0x12ebdd(0x20a)]&&(_0x25b11d=this[_0x12ebdd(0x20a)]['get'](this[_0x12ebdd(0x20a)][_0x12ebdd(0x1f7)])||{},this[_0x12ebdd(0x20a)]['set'](this[_0x12ebdd(0x20a)][_0x12ebdd(0x1f7)],helper['mergeDeep'](_0x25b11d,_0x5f0072[_0x515596])));break;}}}[_0x1eb0e8(0x20b)](){const _0x199abf=_0x1eb0e8,_0x4f9cd1={'PRmxQ':function(_0x977883,_0x48dccf){const _0x5e1843=a29_0x58d2;return _0x4d524d[_0x5e1843(0x1ea)](_0x977883,_0x48dccf);},'mMUsE':_0x4d524d[_0x199abf(0x203)]};return logger[_0x199abf(0x24e)](_0x4d524d[_0x199abf(0x247)]),this[_0x199abf(0x248)](_0x4bf7a0[_0x199abf(0x249)]),Object[_0x199abf(0x1e1)](_0x4bf7a0[_0x199abf(0x249)])[_0x199abf(0x220)](_0x16c8ed=>{const _0x4a4afe=_0x199abf,_0x35ee74=this[_0x4a4afe(0x223)][_0x4a4afe(0x1ec)](_0x16c8ed);_0x4f9cd1[_0x4a4afe(0x211)](typeof _0x35ee74,_0x4f9cd1[_0x4a4afe(0x240)])?this[_0x4a4afe(0x223)][_0x4a4afe(0x1fd)](_0x16c8ed,helper[_0x4a4afe(0x21e)](_0x35ee74,_0x4bf7a0[_0x4a4afe(0x249)][_0x16c8ed])):this['capabilities_'][_0x4a4afe(0x1fd)](_0x16c8ed,_0x4bf7a0[_0x4a4afe(0x249)][_0x16c8ed]);}),this;}[_0x1eb0e8(0x20e)](){const _0x7bfde2=_0x1eb0e8,_0x5b9767={'dCuhd':function(_0xd6d51c,_0x193709,_0x332fa3){const _0x3c58ab=a29_0x58d2;return _0x4d524d[_0x3c58ab(0x234)](_0xd6d51c,_0x193709,_0x332fa3);},'MmOGQ':function(_0x212f1d,_0x14ad65,_0x76a5bd){const _0x4bdc39=a29_0x58d2;return _0x4d524d[_0x4bdc39(0x234)](_0x212f1d,_0x14ad65,_0x76a5bd);},'cJIzs':function(_0x5d997f,_0x30f44e){return _0x4d524d['pTauB'](_0x5d997f,_0x30f44e);},'SKBvK':function(_0x4b677e,_0x803630,_0x37fb44){const _0x3f2c15=a29_0x58d2;return _0x4d524d[_0x3f2c15(0x250)](_0x4b677e,_0x803630,_0x37fb44);}};if(helper[_0x7bfde2(0x1de)]()){const _0xe12f54=_0x4d524d[_0x7bfde2(0x214)][_0x7bfde2(0x207)]('|');let _0x4ef731=0x0;while(!![]){switch(_0xe12f54[_0x4ef731++]){case'0':if(helper['isPacProxy'](_0x4bf7a0[_0x7bfde2(0x245)]['proxyUrl']))this['agent_']=helper[_0x7bfde2(0x1f4)](_0x4bf7a0[_0x7bfde2(0x245)][_0x7bfde2(0x231)]);else _0x4bf7a0[_0x7bfde2(0x245)][_0x7bfde2(0x231)]&&(this['proxy_']=_0x4bf7a0[_0x7bfde2(0x245)][_0x7bfde2(0x231)],logger[_0x7bfde2(0x24e)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'1':_0x4d524d[_0x7bfde2(0x1fa)](isAccessibilityAutomationSession)&&_0x4d524d[_0x7bfde2(0x24b)](setAccessibilityCapabilities,_0x4bf7a0);continue;case'2':globals[_0x7bfde2(0x22c)](_0x4d524d[_0x7bfde2(0x1f8)])&&(!_0x4d524d['MVErT'](setExtension,this,_0x4bf7a0)&&globals[_0x7bfde2(0x239)](_0x4d524d[_0x7bfde2(0x1f8)],![]));continue;case'3':this[_0x7bfde2(0x210)]();continue;case'4':this[_0x7bfde2(0x20b)]();continue;case'5':logger[_0x7bfde2(0x24e)](_0x4d524d[_0x7bfde2(0x1e9)]);continue;}break;}}const _0x255303=super[_0x7bfde2(0x20e)]();return _0x255303['session_'][_0x7bfde2(0x228)](_0x58b8f4=>{const _0x176cd3=_0x7bfde2;try{const _0x2257ca=_0x58b8f4[_0x176cd3(0x202)][_0x176cd3(0x1ec)](_0x4d524d[_0x176cd3(0x24a)]);_0x2257ca?(logger[_0x176cd3(0x24e)](_0x176cd3(0x218)+_0x2257ca),hubAllocator[_0x176cd3(0x23f)](_0x2257ca),helper[_0x176cd3(0x1e6)](_0x2257ca)):logger['debug'](_0x4d524d[_0x176cd3(0x22f)]);}catch(_0x75422f){logger[_0x176cd3(0x24e)](_0x176cd3(0x1ff)+_0x75422f);}}),_0x255303['quitCount_']=0x0,_0x255303['then']&&_0x255303['then'](_0x97a630=>{const _0x5ec096=_0x7bfde2,_0x2ef6c7={'imfeI':function(_0x4f5881,_0x64981,_0x4497a4){const _0x29c5da=a29_0x58d2;return _0x5b9767[_0x29c5da(0x226)](_0x4f5881,_0x64981,_0x4497a4);}};_0x5b9767[_0x5ec096(0x251)](overrideQuit,_0x97a630,_0x255303),_0x5b9767[_0x5ec096(0x20c)](overrideTakeScreenshot,_0x97a630),helper[_0x5ec096(0x20d)](_0x97a630,_0x4bf7a0),_0x5b9767[_0x5ec096(0x206)](overrideExecute,_0x97a630,_0x4bf7a0),_0x97a630[_0x5ec096(0x242)]=async()=>{const _0x10a508=_0x5ec096;return await _0x2ef6c7[_0x10a508(0x225)](getAccessibilityResultsSummary,_0x97a630,global);},_0x97a630['getAccessibilityResults']=async()=>{const _0x466bc7=_0x5ec096;return await _0x5b9767[_0x466bc7(0x226)](getAccessibilityResults,_0x97a630,global);};}),_0x255303['getAccessibilityResultsSummary']=async()=>{const _0x595c6a=_0x7bfde2;return await _0x4d524d[_0x595c6a(0x234)](getAccessibilityResultsSummary,_0x255303,global);},_0x255303['getAccessibilityResults']=async()=>{const _0x1696a6=_0x7bfde2;return await _0x4d524d[_0x1696a6(0x234)](getAccessibilityResults,_0x255303,global);},_0x4d524d[_0x7bfde2(0x24b)](overrideTakeScreenshot,_0x255303),_0x4d524d[_0x7bfde2(0x24b)](overrideQuit,_0x255303),helper[_0x7bfde2(0x20d)](_0x255303,_0x4bf7a0),_0x4d524d[_0x7bfde2(0x250)](overrideExecute,_0x255303,_0x4bf7a0),helper[_0x7bfde2(0x24d)](global[_0x7bfde2(0x1f1)])&&(global['__driversArray']=[]),helper[_0x7bfde2(0x24d)](global['__drivers'])&&(global[_0x7bfde2(0x1d6)]=[]),global[_0x7bfde2(0x1f1)][_0x7bfde2(0x23d)](_0x255303),global[_0x7bfde2(0x23b)]=_0x255303,_0x4d524d[_0x7bfde2(0x1fc)](global['__drivers'],undefined)&&global['__drivers'][_0x7bfde2(0x23d)](_0x255303),_0x125dd1&&helper['isUndefined'](_0x125dd1['global'][_0x7bfde2(0x1f1)])&&(_0x125dd1['global'][_0x7bfde2(0x1f1)]=[]),_0x125dd1&&_0x4d524d[_0x7bfde2(0x1f0)](_0x125dd1[_0x7bfde2(0x22a)]['__drivers'],undefined)&&(_0x125dd1[_0x7bfde2(0x22a)][_0x7bfde2(0x1d6)][_0x7bfde2(0x23d)](_0x255303),_0x125dd1[_0x7bfde2(0x22a)][_0x7bfde2(0x1f1)]['push'](_0x255303)),_0x255303;}}return _0x23b89f[_0x1eb0e8(0x246)]=_0x23b89f[_0x1eb0e8(0x1d8)],_0x23b89f['Builder']=_0x5e7542,_0x1bfbfc[_0x1eb0e8(0x1dc)]=_0x262cf8,_0x23b89f;};function a29_0x58d2(_0x3de3dd,_0x33a3c5){const _0x57682b=a29_0x5768();return a29_0x58d2=function(_0x58d253,_0x972c01){_0x58d253=_0x58d253-0x1d5;let _0x45da30=_0x57682b[_0x58d253];return _0x45da30;},a29_0x58d2(_0x3de3dd,_0x33a3c5);}module[a29_0x41475a(0x230)][a29_0x41475a(0x232)]=modify;
@@ -1 +1 @@
1
- const a30_0x3f7706=a30_0x3e14;function a30_0x42fd(){const _0x3efb32=['../../../bin/utils/constants','1220030PbpBoW','68BNiUVX','restore','179650OTHrma','90WpmWDL','5345178jtqjkK','370542PHbvrP','175HurrVM','timeout','10611264stxizm','riDnj','148527prLfUw','1871168fUGvUI','../../../helpers/request-spy'];a30_0x42fd=function(){return _0x3efb32;};return a30_0x42fd();}(function(_0x417587,_0x1dc9c5){const _0x505361=a30_0x3e14,_0x56eaa3=_0x417587();while(!![]){try{const _0x39f577=parseInt(_0x505361(0xb4))/0x1+-parseInt(_0x505361(0xb1))/0x2+-parseInt(_0x505361(0xb9))/0x3+-parseInt(_0x505361(0xb5))/0x4*(parseInt(_0x505361(0xb7))/0x5)+parseInt(_0x505361(0xab))/0x6*(parseInt(_0x505361(0xac))/0x7)+parseInt(_0x505361(0xae))/0x8+parseInt(_0x505361(0xb0))/0x9*(parseInt(_0x505361(0xb8))/0xa);if(_0x39f577===_0x1dc9c5)break;else _0x56eaa3['push'](_0x56eaa3['shift']());}catch(_0x18df4f){_0x56eaa3['push'](_0x56eaa3['shift']());}}}(a30_0x42fd,0xde5b2));function a30_0x3e14(_0x4b4390,_0x15ab2d){const _0x42fd2f=a30_0x42fd();return a30_0x3e14=function(_0x3e1420,_0x277323){_0x3e1420=_0x3e1420-0xab;let _0xde29d6=_0x42fd2f[_0x3e1420];return _0xde29d6;},a30_0x3e14(_0x4b4390,_0x15ab2d);}const requestSpy=require(a30_0x3f7706(0xb2)),constants=require(a30_0x3f7706(0xb3)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports['mochaHooks']={'beforeAll'(){const _0x5b37c7=a30_0x3f7706,_0x306feb={'riDnj':function(_0x47bf5d){return _0x47bf5d();}},_0x3f551e='browserstack internal helper hook';_0x306feb[_0x5b37c7(0xaf)](addRequestSpy);},'afterAll'(){const _0x4fa685=a30_0x3f7706,_0x2a7cd3='browserstack internal helper hook';this[_0x4fa685(0xad)](0xea60),requestSpy[_0x4fa685(0xb6)]();}};
1
+ function a30_0x377d(_0xd6ffc5,_0x3422cd){const _0x44f923=a30_0x44f9();return a30_0x377d=function(_0x377d7b,_0x3ebf1d){_0x377d7b=_0x377d7b-0xac;let _0xda18dc=_0x44f923[_0x377d7b];return _0xda18dc;},a30_0x377d(_0xd6ffc5,_0x3422cd);}const a30_0x468a79=a30_0x377d;(function(_0x2624c3,_0x166308){const _0x3270ee=a30_0x377d,_0x2b7b34=_0x2624c3();while(!![]){try{const _0x5316f6=parseInt(_0x3270ee(0xac))/0x1*(-parseInt(_0x3270ee(0xaf))/0x2)+parseInt(_0x3270ee(0xae))/0x3*(parseInt(_0x3270ee(0xb5))/0x4)+parseInt(_0x3270ee(0xb3))/0x5+parseInt(_0x3270ee(0xb4))/0x6+-parseInt(_0x3270ee(0xb8))/0x7+parseInt(_0x3270ee(0xb0))/0x8+-parseInt(_0x3270ee(0xad))/0x9;if(_0x5316f6===_0x166308)break;else _0x2b7b34['push'](_0x2b7b34['shift']());}catch(_0xc38cdc){_0x2b7b34['push'](_0x2b7b34['shift']());}}}(a30_0x44f9,0xa6580));function a30_0x44f9(){const _0xf12608=['288120boJlAi','1813488kmhMWy','../../../helpers/request-spy','../../../helpers/test-observability/utils','4092431kcndCt','2tnsesN','16497189IewWuk','9IWWCcu','424194svrqoS','6385104KVkerq','../../../bin/utils/constants','cUdZC','6584590PffZrx'];a30_0x44f9=function(){return _0xf12608;};return a30_0x44f9();}const requestSpy=require(a30_0x468a79(0xb6)),constants=require(a30_0x468a79(0xb1)),{addRequestSpy}=require(a30_0x468a79(0xb7));exports['mochaHooks']={'beforeAll'(){const _0x1b992c=a30_0x468a79,_0xda13af={'cUdZC':function(_0x36178b){return _0x36178b();}},_0x51611b='browserstack internal helper hook';_0xda13af[_0x1b992c(0xb2)](addRequestSpy);},'afterAll'(){const _0x315344='browserstack internal helper hook';this['timeout'](0xea60),requestSpy['restore']();}};
@@ -1 +1 @@
1
- const a31_0x44ef00=a31_0x5504;(function(_0x28207b,_0x328b6e){const _0x5ee0d6=a31_0x5504,_0x3c0944=_0x28207b();while(!![]){try{const _0x1f24b5=parseInt(_0x5ee0d6(0x1c8))/0x1+parseInt(_0x5ee0d6(0x1ad))/0x2+parseInt(_0x5ee0d6(0x1b4))/0x3*(parseInt(_0x5ee0d6(0x1bd))/0x4)+-parseInt(_0x5ee0d6(0x1d0))/0x5*(parseInt(_0x5ee0d6(0x1ab))/0x6)+-parseInt(_0x5ee0d6(0x1de))/0x7+-parseInt(_0x5ee0d6(0x1c5))/0x8+parseInt(_0x5ee0d6(0x1ba))/0x9*(parseInt(_0x5ee0d6(0x1e4))/0xa);if(_0x1f24b5===_0x328b6e)break;else _0x3c0944['push'](_0x3c0944['shift']());}catch(_0x4bb980){_0x3c0944['push'](_0x3c0944['shift']());}}}(a31_0x1c8f,0xcba40));function a31_0x5504(_0x47a715,_0x35e5e4){const _0x1c8f28=a31_0x1c8f();return a31_0x5504=function(_0x55041e,_0x538ecd){_0x55041e=_0x55041e-0x19d;let _0x34e2b0=_0x1c8f28[_0x55041e];return _0x34e2b0;},a31_0x5504(_0x47a715,_0x35e5e4);}function a31_0x1c8f(){const _0x3beedb=['721945HsqsAF','_beforeEach','ppSaR','stANp','bs:addPlatformDetails:','passed','state','markedStatus','hook:','EGSLB','_afterAll','getBrowserName','pid','doGJM','6686330mufqog','getHookDetails','ucVbj','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','emit','RwGJQ','1898100qqISMu','getBrowserVersion','indexOf','nFQTw','getHookSkippedTests','map_','_beforeAll','reduce','../../../helpers/test-observability/constants','push','unknown_grid','sendPlatformDetails','concat','hookAnalyticsId','fromEntries','tests','toISOString','svchV','__cloud_provider___','pending','getCapabilities','ivLoo','forEach','36ngmjby','WZpTW','2015104CWbIfZ','_afterEach','../../../../package.json','wrwBP','../../../helpers/testhub/utils','slice','toJSON','2361633CNiIQg','Awnqp','getPlatform','gvMlx','qBXWm','browserstack','45WBanle','nyzxO','split','8fVtilZ','cCckl','lodash','js-','VTjYo','getHooksForTest','uJyVb','inVUx','12615304mQHqfL','MBwfk','string','701525XwCOFz','ioEOy','substring','getSession','caesA','parent','failed','../../../helpers/test-observability/utils'];a31_0x1c8f=function(){return _0x3beedb;};return a31_0x1c8f();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x44ef00(0x1af)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x44ef00(0x1cf)),{consoleHolder}=require(a31_0x44ef00(0x1ec)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x44ef00(0x1b1)),{isFunction}=require(a31_0x44ef00(0x1bf)),{patchConsoleLogger}=require(a31_0x44ef00(0x1cf));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x6b20a1=a31_0x44ef00,_0x4623fa={'hQctG':'generic','RwGJQ':function(_0x5dd2f7){return _0x5dd2f7();}};return{'ci':_0x4623fa['hQctG'],'key':_0x4623fa[_0x6b20a1(0x1e3)](uuidv4),'version':version,'collector':_0x6b20a1(0x1c0)+name};},exports[a31_0x44ef00(0x1df)]=_0x53b24f=>{const _0x3345cc=a31_0x44ef00,_0x113c03={};_0x113c03[_0x3345cc(0x1b8)]=function(_0x3d720c,_0x1fb280){return _0x3d720c!==_0x1fb280;},_0x113c03['UPVKi']=_0x3345cc(0x1c7),_0x113c03[_0x3345cc(0x1dd)]=_0x3345cc(0x1d8),_0x113c03[_0x3345cc(0x1c3)]='hook';const _0x2cbdb2=_0x113c03;if(!_0x53b24f||_0x2cbdb2[_0x3345cc(0x1b8)](typeof _0x53b24f,_0x2cbdb2['UPVKi']))return[null,null];if(_0x2cbdb2[_0x3345cc(0x1b8)](_0x53b24f[_0x3345cc(0x1e6)](_0x2cbdb2[_0x3345cc(0x1dd)]),-0x1)){const _0x133a03=_0x53b24f[_0x3345cc(0x1bc)](_0x2cbdb2['doGJM']);return[_0x133a03[0x0][_0x3345cc(0x1b2)](0x0,-0x1)[_0x3345cc(0x1bc)]('\x22')[0x1],_0x133a03[0x1][_0x3345cc(0x1ca)](0x1)];}else{if(_0x2cbdb2[_0x3345cc(0x1b8)](_0x53b24f[_0x3345cc(0x1e6)](_0x2cbdb2[_0x3345cc(0x1c3)]),-0x1)){const _0xc3e7a7=_0x53b24f[_0x3345cc(0x1bc)](_0x2cbdb2[_0x3345cc(0x1c3)]);return[_0xc3e7a7[0x0][_0x3345cc(0x1b2)](0x0,-0x1)[_0x3345cc(0x1bc)]('\x22')[0x1],_0x53b24f];}}return[null,null];},exports[a31_0x44ef00(0x1c2)]=_0x3cad18=>{const _0xc668c=a31_0x44ef00,_0x47ae55={'inVUx':function(_0x2eb847,_0x41439b){return _0x2eb847(_0x41439b);},'cCckl':_0xc668c(0x1ea),'cagvT':_0xc668c(0x1da),'nFQTw':_0xc668c(0x1d1),'tfeoH':'_afterEach'};if(!_0x3cad18||!_0x3cad18[_0xc668c(0x1cd)])return[];const _0x10b1c4=[];return[_0x47ae55[_0xc668c(0x1be)],_0x47ae55['cagvT'],_0x47ae55[_0xc668c(0x1e7)],_0x47ae55['tfeoH']]['forEach'](_0x1b541f=>{const _0x2a129b=_0xc668c,_0x522193={'EGSLB':function(_0x75bacc,_0x104e40){const _0x301e5f=a31_0x5504;return _0x47ae55[_0x301e5f(0x1c4)](_0x75bacc,_0x104e40);}},_0x217643=_0x3cad18['parent'][_0x1b541f]||[];_0x217643[_0x2a129b(0x1aa)](_0x2cdb3c=>{const _0xb26f96=_0x2a129b;_0x2cdb3c[_0xb26f96(0x1a1)]&&!_0x522193[_0xb26f96(0x1d9)](isInternalHook,_0x2cdb3c['fn'])&&_0x10b1c4[_0xb26f96(0x19d)](_0x2cdb3c[_0xb26f96(0x1a1)]);});}),[..._0x10b1c4,...exports['getHooksForTest'](_0x3cad18[_0xc668c(0x1cd)])];},exports['mapTestHooks']=_0x273886=>{const _0x447082=a31_0x44ef00,_0x1eb235={'nyzxO':function(_0x244d56){return _0x244d56();},'trOiO':function(_0x3214a6,_0x46cb9e){return _0x3214a6===_0x46cb9e;},'XsGJW':_0x447082(0x1ae),'ioEOy':function(_0x42dc6b){return _0x42dc6b();},'gvbAg':_0x447082(0x1ea),'stANp':'_afterAll','lRIXh':_0x447082(0x1d1)};if(!_0x273886||!_0x273886[_0x447082(0x1cd)])return;[_0x1eb235['gvbAg'],_0x1eb235[_0x447082(0x1d3)],_0x1eb235['lRIXh'],_0x1eb235['XsGJW']][_0x447082(0x1aa)](_0x3e246d=>{const _0x51b096=_0x447082,_0x5f1aae=_0x273886[_0x51b096(0x1cd)][_0x3e246d]||[];_0x5f1aae[_0x51b096(0x1aa)](_0x37e22f=>{const _0x22c5ae=_0x51b096;if(!_0x37e22f[_0x22c5ae(0x1a1)])_0x37e22f[_0x22c5ae(0x1a1)]=_0x1eb235[_0x22c5ae(0x1bb)](uuidv4);else _0x37e22f[_0x22c5ae(0x1d7)]&&_0x1eb235['trOiO'](_0x3e246d,_0x1eb235['XsGJW'])&&(_0x37e22f[_0x22c5ae(0x1a1)]=_0x1eb235[_0x22c5ae(0x1c9)](uuidv4),delete _0x37e22f['markedStatus']);});}),exports['mapTestHooks'](_0x273886['parent']);},exports[a31_0x44ef00(0x19f)]=async(_0x4619aa,_0x10f742)=>{const _0x1e282c=a31_0x44ef00,_0x19fbdb={'wrwBP':function(_0x563422){return _0x563422();},'ucVbj':function(_0x32c049,_0xb8e91a){return _0x32c049(_0xb8e91a);},'VTjYo':function(_0x2a6b77,_0x16a32b){return _0x2a6b77===_0x16a32b;},'MBwfk':_0x1e282c(0x1b9),'ivLoo':_0x1e282c(0x19e),'gvMlx':'TEST_PLATFORM'};try{if(!_0x19fbdb[_0x1e282c(0x1b0)](shouldProcessEventForTesthub))return;const _0x347986=await _0x4619aa['getCapabilities'](),_0x188cbb=await _0x4619aa[_0x1e282c(0x1cb)](),_0x4ee3c0={},_0x54a1fb=Object[_0x1e282c(0x1a2)](_0x188cbb[_0x1e282c(0x1a8)]()[_0x1e282c(0x1e9)]),_0x29d61d={'product':_0x19fbdb[_0x1e282c(0x1e0)](getObservabilityLinkedProductName,_0x54a1fb),'capabilities':_0x54a1fb,'platform':_0x347986[_0x1e282c(0x1b6)](),'platform_version':_0x19fbdb[_0x1e282c(0x1e0)](getPlatformVersion,_0x19fbdb[_0x1e282c(0x1c1)](global[_0x1e282c(0x1a6)],_0x19fbdb[_0x1e282c(0x1c6)])),'browser':_0x347986[_0x1e282c(0x1db)](),'browser_version':_0x347986[_0x1e282c(0x1e5)](),'session_id':_0x188cbb[_0x1e282c(0x1b3)]()};global[_0x1e282c(0x1a6)]?_0x4ee3c0[global[_0x1e282c(0x1a6)]]=_0x29d61d:_0x4ee3c0[_0x19fbdb[_0x1e282c(0x1a9)]]=_0x29d61d,process[_0x1e282c(0x1e2)](_0x1e282c(0x1d4)+process[_0x1e282c(0x1dc)],{'timestamp':new Date()[_0x1e282c(0x1a4)](),'level':null,'message':null,'kind':_0x19fbdb[_0x1e282c(0x1b7)],'http_response':_0x4ee3c0,'uuid':_0x10f742});}catch(_0x2142d3){_0x19fbdb[_0x1e282c(0x1e0)](debug,_0x1e282c(0x1e1)+_0x2142d3);}},exports[a31_0x44ef00(0x1e8)]=_0x199845=>{const _0x3a6d39=a31_0x44ef00,_0x25e32c={};_0x25e32c[_0x3a6d39(0x1d2)]=function(_0x39fa50,_0x2f8e43){return _0x39fa50!==_0x2f8e43;},_0x25e32c[_0x3a6d39(0x1ac)]='hook',_0x25e32c['ONsQF']=function(_0x1bea04,_0x225cbd){return _0x1bea04!==_0x225cbd;},_0x25e32c[_0x3a6d39(0x1a5)]=_0x3a6d39(0x1d5),_0x25e32c[_0x3a6d39(0x1cc)]=function(_0x20f40a,_0x13aa7e){return _0x20f40a!==_0x13aa7e;},_0x25e32c[_0x3a6d39(0x1b5)]=_0x3a6d39(0x1ce);const _0x4da211=_0x25e32c,_0x1db5e9=_0x199845['suites'][_0x3a6d39(0x1eb)]((_0x3ddb79,_0x5c34dc)=>{const _0x1b31d7=_0x3a6d39,_0x3edbb2=exports[_0x1b31d7(0x1e8)](_0x5c34dc);return _0x3edbb2&&(_0x3ddb79=_0x3ddb79['concat'](_0x3edbb2)),_0x3ddb79;},[]),_0x1dee66=_0x199845[_0x3a6d39(0x1a3)]['filter'](_0x293187=>{const _0x514b67=_0x3a6d39,_0x331832=_0x4da211[_0x514b67(0x1d2)](_0x293187['type'],_0x4da211[_0x514b67(0x1ac)])&&!_0x293187[_0x514b67(0x1d7)]&&_0x4da211['ONsQF'](_0x293187[_0x514b67(0x1d6)],_0x4da211[_0x514b67(0x1a5)])&&_0x4da211[_0x514b67(0x1cc)](_0x293187['state'],_0x4da211[_0x514b67(0x1b5)])&&!_0x293187[_0x514b67(0x1a7)];return _0x331832;});return _0x1dee66[_0x3a6d39(0x1a0)](_0x1db5e9);};
1
+ const a31_0x9ed390=a31_0x2f14;function a31_0x2f14(_0x5acc96,_0x1a5b62){const _0xb59e92=a31_0xb59e();return a31_0x2f14=function(_0x2f1454,_0x14d84e){_0x2f1454=_0x2f1454-0x14e;let _0x40b81b=_0xb59e92[_0x2f1454];return _0x40b81b;},a31_0x2f14(_0x5acc96,_0x1a5b62);}function a31_0xb59e(){const _0x1fde55=['867954nYSXGL','bs:addPlatformDetails:','387937qzbXJl','passed','TbZYZ','getBrowserName','WAByv','browserstack','3282CMmJiH','emit','DXiJf','type','4360993FATEtJ','BsuNw','TXKrh','markedStatus','map_','rVQzY','_beforeAll','getCapabilities','IcQcK','getHookDetails','PLMkK','lodash','MYEGB','fromEntries','substring','slice','getSession','sendPlatformDetails','6325CWIkBp','hook:','getBrowserVersion','concat','2636192KxPpvk','mapTestHooks','../../../helpers/helper','DrVqA','xTvpK','Xkvdo','reduce','TEST_PLATFORM','zlPfF','iNomu','IfAIj','unknown_grid','SOVTJ','nXGMN','FRjpi','_beforeEach','getHooksForTest','GqjzY','getHookSkippedTests','suites','ndtMi','indexOf','nteTa','ojUcj','_afterEach','generic','string','split','_afterAll','cbwPi','filter','toJSON','failed','5927584TzNScm','state','35931020AevRzH','9wLNtmE','__cloud_provider___','NRxOx','VTRGf','cfQnQ','../../../helpers/testhub/utils','parent','xXyAn','tests','3cJKKij','../../../../package.json','Srfoa','hookAnalyticsId','hook','forEach'];a31_0xb59e=function(){return _0x1fde55;};return a31_0xb59e();}(function(_0x4eb3ef,_0x4b7654){const _0x263ef5=a31_0x2f14,_0x5b3da4=_0x4eb3ef();while(!![]){try{const _0x3da246=parseInt(_0x263ef5(0x160))/0x1+-parseInt(_0x263ef5(0x15e))/0x2*(parseInt(_0x263ef5(0x158))/0x3)+-parseInt(_0x263ef5(0x180))/0x4+parseInt(_0x263ef5(0x17c))/0x5*(-parseInt(_0x263ef5(0x166))/0x6)+-parseInt(_0x263ef5(0x16a))/0x7+-parseInt(_0x263ef5(0x1a1))/0x8+-parseInt(_0x263ef5(0x14f))/0x9*(-parseInt(_0x263ef5(0x14e))/0xa);if(_0x3da246===_0x4b7654)break;else _0x5b3da4['push'](_0x5b3da4['shift']());}catch(_0x10d144){_0x5b3da4['push'](_0x5b3da4['shift']());}}}(a31_0xb59e,0xcb270));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x9ed390(0x159)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x9ed390(0x182)),{shouldProcessEventForTesthub}=require(a31_0x9ed390(0x154)),{isFunction}=require(a31_0x9ed390(0x175)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x2bdde8=a31_0x9ed390,_0x55a8de={'Xkvdo':_0x2bdde8(0x199),'FhluD':function(_0x52beae){return _0x52beae();}};return{'ci':_0x55a8de[_0x2bdde8(0x185)],'key':_0x55a8de['FhluD'](uuidv4),'version':version,'collector':'js-'+name};},exports[a31_0x9ed390(0x173)]=_0x37da76=>{const _0x2198e6=a31_0x9ed390,_0x10d38c={};_0x10d38c[_0x2198e6(0x18c)]=function(_0xc829ef,_0x29279e){return _0xc829ef!==_0x29279e;},_0x10d38c[_0x2198e6(0x16c)]=_0x2198e6(0x19a),_0x10d38c[_0x2198e6(0x153)]=function(_0x35c48b,_0x32b66e){return _0x35c48b!==_0x32b66e;},_0x10d38c[_0x2198e6(0x151)]=_0x2198e6(0x17d),_0x10d38c['ndtMi']=function(_0x27ec84,_0x4ecc5c){return _0x27ec84!==_0x4ecc5c;},_0x10d38c[_0x2198e6(0x18e)]=_0x2198e6(0x15c);const _0x5bf0a9=_0x10d38c;if(!_0x37da76||_0x5bf0a9[_0x2198e6(0x18c)](typeof _0x37da76,_0x5bf0a9['TXKrh']))return[null,null];if(_0x5bf0a9[_0x2198e6(0x153)](_0x37da76[_0x2198e6(0x195)](_0x5bf0a9[_0x2198e6(0x151)]),-0x1)){const _0x22b34e=_0x37da76['split'](_0x5bf0a9['NRxOx']);return[_0x22b34e[0x0][_0x2198e6(0x179)](0x0,-0x1)[_0x2198e6(0x19b)]('\x22')[0x1],_0x22b34e[0x1][_0x2198e6(0x178)](0x1)];}else{if(_0x5bf0a9[_0x2198e6(0x194)](_0x37da76[_0x2198e6(0x195)](_0x5bf0a9[_0x2198e6(0x18e)]),-0x1)){const _0x3c30fc=_0x37da76[_0x2198e6(0x19b)](_0x5bf0a9['FRjpi']);return[_0x3c30fc[0x0]['slice'](0x0,-0x1)[_0x2198e6(0x19b)]('\x22')[0x1],_0x37da76];}}return[null,null];},exports[a31_0x9ed390(0x190)]=_0xe5ffca=>{const _0x412047=a31_0x9ed390,_0x17046a={'PLMkK':function(_0x3f49fe,_0x327e5f){return _0x3f49fe(_0x327e5f);},'nXGMN':'_beforeAll','iNomu':_0x412047(0x19c),'xTvpK':'_beforeEach','zlPfF':_0x412047(0x198)};if(!_0xe5ffca||!_0xe5ffca['parent'])return[];const _0x364bf4=[];return[_0x17046a[_0x412047(0x18d)],_0x17046a[_0x412047(0x189)],_0x17046a[_0x412047(0x184)],_0x17046a[_0x412047(0x188)]][_0x412047(0x15d)](_0x243599=>{const _0x1fd438=_0x412047,_0x3259a0={'VOFgq':function(_0x5d4704,_0x33dd99){const _0x384f59=a31_0x2f14;return _0x17046a[_0x384f59(0x174)](_0x5d4704,_0x33dd99);}},_0x56dea3=_0xe5ffca[_0x1fd438(0x155)][_0x243599]||[];_0x56dea3['forEach'](_0x27acda=>{const _0x312ddf=_0x1fd438;_0x27acda['hookAnalyticsId']&&!_0x3259a0['VOFgq'](isInternalHook,_0x27acda['fn'])&&_0x364bf4['push'](_0x27acda[_0x312ddf(0x15b)]);});}),[..._0x364bf4,...exports[_0x412047(0x190)](_0xe5ffca[_0x412047(0x155)])];},exports[a31_0x9ed390(0x181)]=_0x217504=>{const _0x4abb62=a31_0x9ed390,_0x1a1ecd={'VpQiA':function(_0x4b1c9d){return _0x4b1c9d();},'BsuNw':function(_0x21997f,_0x187522){return _0x21997f===_0x187522;},'ojUcj':_0x4abb62(0x198),'Srfoa':_0x4abb62(0x170),'rVQzY':'_afterAll','MPyiA':_0x4abb62(0x18f)};if(!_0x217504||!_0x217504['parent'])return;[_0x1a1ecd[_0x4abb62(0x15a)],_0x1a1ecd[_0x4abb62(0x16f)],_0x1a1ecd['MPyiA'],_0x1a1ecd[_0x4abb62(0x197)]]['forEach'](_0x3f6636=>{const _0x4a82f2=_0x4abb62,_0x286a4a={'WAByv':function(_0x1b964f){return _0x1a1ecd['VpQiA'](_0x1b964f);},'DXiJf':function(_0x580311,_0x301bc4){const _0x6e0edb=a31_0x2f14;return _0x1a1ecd[_0x6e0edb(0x16b)](_0x580311,_0x301bc4);},'IcQcK':_0x1a1ecd[_0x4a82f2(0x197)]},_0x3dda89=_0x217504[_0x4a82f2(0x155)][_0x3f6636]||[];_0x3dda89['forEach'](_0x233701=>{const _0x292033=_0x4a82f2;if(!_0x233701['hookAnalyticsId'])_0x233701[_0x292033(0x15b)]=_0x286a4a[_0x292033(0x164)](uuidv4);else _0x233701['markedStatus']&&_0x286a4a[_0x292033(0x168)](_0x3f6636,_0x286a4a[_0x292033(0x172)])&&(_0x233701[_0x292033(0x15b)]=_0x286a4a[_0x292033(0x164)](uuidv4),delete _0x233701[_0x292033(0x16d)]);});}),exports[_0x4abb62(0x181)](_0x217504[_0x4abb62(0x155)]);},exports[a31_0x9ed390(0x17b)]=async(_0xc56eb8,_0x43d3b9)=>{const _0x31ea24=a31_0x9ed390,_0x2690f1={'FUItf':function(_0x97cefd){return _0x97cefd();},'GqjzY':function(_0x520a37,_0x4660fb){return _0x520a37(_0x4660fb);},'nzyYJ':function(_0x1755af,_0x3810bb){return _0x1755af(_0x3810bb);},'TbZYZ':function(_0x592986,_0xc87b11){return _0x592986===_0xc87b11;},'VTRGf':_0x31ea24(0x165),'vIxcc':_0x31ea24(0x18b),'cbwPi':_0x31ea24(0x187),'xXyAn':function(_0x50269d,_0x3cb497){return _0x50269d(_0x3cb497);}};try{if(!_0x2690f1['FUItf'](shouldProcessEventForTesthub))return;const _0x5a12b2=await _0xc56eb8[_0x31ea24(0x171)](),_0x4da2c0=await _0xc56eb8[_0x31ea24(0x17a)](),_0x96dcc={},_0x56cd85=Object[_0x31ea24(0x177)](_0x4da2c0[_0x31ea24(0x171)]()[_0x31ea24(0x16e)]),_0x1a53da={'product':_0x2690f1[_0x31ea24(0x191)](getObservabilityLinkedProductName,_0x56cd85),'capabilities':_0x56cd85,'platform':_0x5a12b2['getPlatform'](),'platform_version':_0x2690f1['nzyYJ'](getPlatformVersion,_0x2690f1[_0x31ea24(0x162)](global[_0x31ea24(0x150)],_0x2690f1[_0x31ea24(0x152)])),'browser':_0x5a12b2[_0x31ea24(0x163)](),'browser_version':_0x5a12b2[_0x31ea24(0x17e)](),'session_id':_0x4da2c0[_0x31ea24(0x19f)]()};global[_0x31ea24(0x150)]?_0x96dcc[global[_0x31ea24(0x150)]]=_0x1a53da:_0x96dcc[_0x2690f1['vIxcc']]=_0x1a53da,process[_0x31ea24(0x167)](_0x31ea24(0x15f)+process['pid'],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x2690f1[_0x31ea24(0x19d)],'http_response':_0x96dcc,'uuid':_0x43d3b9});}catch(_0x11816b){_0x2690f1[_0x31ea24(0x156)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x11816b);}},exports[a31_0x9ed390(0x192)]=_0x1ddb62=>{const _0x429310=a31_0x9ed390,_0x5f0b01={};_0x5f0b01[_0x429310(0x18a)]=function(_0x2f6460,_0x5497c0){return _0x2f6460!==_0x5497c0;},_0x5f0b01[_0x429310(0x196)]=_0x429310(0x15c),_0x5f0b01[_0x429310(0x176)]=_0x429310(0x161),_0x5f0b01[_0x429310(0x183)]=_0x429310(0x1a0);const _0x3a166a=_0x5f0b01,_0x1f5a5a=_0x1ddb62[_0x429310(0x193)][_0x429310(0x186)]((_0x47a026,_0x40e2db)=>{const _0x275fcf=_0x429310,_0x150c9a=exports[_0x275fcf(0x192)](_0x40e2db);return _0x150c9a&&(_0x47a026=_0x47a026[_0x275fcf(0x17f)](_0x150c9a)),_0x47a026;},[]),_0x518a59=_0x1ddb62[_0x429310(0x157)][_0x429310(0x19e)](_0x331003=>{const _0x1a608d=_0x429310,_0x351f17=_0x3a166a[_0x1a608d(0x18a)](_0x331003[_0x1a608d(0x169)],_0x3a166a[_0x1a608d(0x196)])&&!_0x331003[_0x1a608d(0x16d)]&&_0x3a166a['IfAIj'](_0x331003['state'],_0x3a166a['MYEGB'])&&_0x3a166a[_0x1a608d(0x18a)](_0x331003[_0x1a608d(0x1a2)],_0x3a166a['DrVqA'])&&!_0x331003['pending'];return _0x351f17;});return _0x518a59[_0x429310(0x17f)](_0x1f5a5a);};
@@ -1 +1 @@
1
- const a32_0x24cf7f=a32_0x3986;(function(_0x4e479f,_0x998af7){const _0x5dc05d=a32_0x3986,_0x41a578=_0x4e479f();while(!![]){try{const _0x2f6e4f=-parseInt(_0x5dc05d(0x1b4))/0x1+parseInt(_0x5dc05d(0x1e7))/0x2*(parseInt(_0x5dc05d(0x1c7))/0x3)+-parseInt(_0x5dc05d(0x1a6))/0x4*(parseInt(_0x5dc05d(0x1c1))/0x5)+parseInt(_0x5dc05d(0x1b2))/0x6+-parseInt(_0x5dc05d(0x200))/0x7*(-parseInt(_0x5dc05d(0x1cd))/0x8)+parseInt(_0x5dc05d(0x1b8))/0x9+parseInt(_0x5dc05d(0x212))/0xa*(-parseInt(_0x5dc05d(0x1ba))/0xb);if(_0x2f6e4f===_0x998af7)break;else _0x41a578['push'](_0x41a578['shift']());}catch(_0x379405){_0x41a578['push'](_0x41a578['shift']());}}}(a32_0x5c98,0xbc520));function a32_0x3986(_0x15b650,_0x27786c){const _0x5c9814=a32_0x5c98();return a32_0x3986=function(_0x398641,_0x3a24b4){_0x398641=_0x398641-0x192;let _0xde4f85=_0x5c9814[_0x398641];return _0xde4f85;},a32_0x3986(_0x15b650,_0x27786c);}function a32_0x5c98(){const _0x224748=['mjgkm','percy','env','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','stringify','titlePath','6580PjQNYR','CdnQi','ekjEN','\x22}}','xbNYs','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','BROWSERSTACK_TESTHUB_UUID','https:','IbDbQ','hORWr','accessibilityScanStarted','../../helpers/accessibility-automation/scripts','failed','debug','startMonitoring','gtYZr','pvMGA','cPneR','TeWbf','currentTest','gFhoE','JeNVr','NBodc','app','shift','Failed:\x20','4yXbPGG','now','\x20|\x20','__drivers','vJnRy','BsFQI','err','OIdYw','error','__skipSessionName','percyCaptureMode','http:','9002418vsodQh','ifpUA','859140AbDOYq','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','isAccessibilityPlatform','__error_messages__','12203226lRGlKh','info','17116OiiPnV','../../helpers/testhub/utils',',\x22level\x22:\x20\x22','MyYgx','../../helpers/logger','getCurrentUrl','performScan','6578090dVhIEi','format','initQuit','lUKBh','thBuildUuid','length','3DSXYip','../../helpers/performance-tester','pyFRI','executeScript','qIHmI','ObservabilitySync:','8VSfJiL','\x20-\x20','EOMfM','./test-observability/mochaUtils','Passed','SnlZl','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','mochaHooks','message','otDXF','then','testcase','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','KNPHB','ENV_VAR','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','quitCount_','shouldScanTestForAccessibility','__sessionFailed','../../helpers/globals','session_','bXpya','PnOhS','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','1247952JCKksQ','JPwiK','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','browserstackSessionName','getGlobal','Failed\x20to\x20store\x20session\x20name:\x20','fHunp','passed','thTestRunUuid','Performing\x20scan\x20before\x20saving\x20results','BROWSERSTACK_TESTHUB_JWT','saveTestResults','NTZUL','push','XKTTO','.\x20Error\x20:','AIzuC','nzGFU','protocol','../../helpers/helper','testAnalyticsId','setGlobal','timeout','stopMonitoring','uOgUm','3427711TxJXSo','isArray','Automate\x20test\x20case\x20execution\x20has\x20started.','state','driverCleanup','sGJkK','xpuCN','cYSMw','NIREg','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','join','nAHGh'];a32_0x5c98=function(){return _0x224748;};return a32_0x5c98();}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x24cf7f(0x1d0)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x24cf7f(0x1fa)),PerformanceTester=require(a32_0x24cf7f(0x1c8)),scripts=require(a32_0x24cf7f(0x197)),globals=require(a32_0x24cf7f(0x1e0)),logger=require(a32_0x24cf7f(0x1be))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x24cf7f(0x1bb)),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0x24cf7f(0x1d4)]={'beforeAll'(){const _0x59d686=a32_0x24cf7f,_0x3615ee={'YuDBP':function(_0x3a4adb,_0x277584,_0x4b2135,_0x2ee1cc){return _0x3a4adb(_0x277584,_0x4b2135,_0x2ee1cc);},'gtYZr':_0x59d686(0x198),'fHunp':_0x59d686(0x1a8),'IcfsO':function(_0x577ba6,_0x1f96d3,_0x1c83b9){return _0x577ba6(_0x1f96d3,_0x1c83b9);},'NTZUL':'passed','cYSMw':function(_0x9a4573){return _0x9a4573();}};PerformanceTester[_0x59d686(0x19a)]();const _0x12dc20='browserstack internal helper hook';global['__error_messages__']=[],global[_0x59d686(0x1df)]=![],global['driverCleanup']=async()=>{const _0x141214=_0x59d686;let _0x3f485e=![];try{await global['__drivers'][0x0]['session_'],_0x3f485e=!![],global[_0x141214(0x1df)]?await _0x3615ee['YuDBP'](markSessionStatus,global[_0x141214(0x1a9)][0x0],_0x3615ee[_0x141214(0x19b)],global[_0x141214(0x1b7)][_0x141214(0x20a)](_0x3615ee[_0x141214(0x1ed)])):await _0x3615ee['IcfsO'](markSessionStatus,global[_0x141214(0x1a9)][0x0],_0x3615ee[_0x141214(0x1f3)]);}catch(_0x14b04a){logger['debug'](_0x141214(0x1d3)+_0x14b04a);}global[_0x141214(0x1b7)]=[],global[_0x141214(0x1df)]=![];if(_0x3f485e)try{try{_0x3615ee[_0x141214(0x207)](shouldProcessEventForTesthub)&&(global[_0x141214(0x1a9)][0x0]&&await _0x3615ee['IcfsO'](sendPlatformDetails,global[_0x141214(0x1a9)][0x0],this[_0x141214(0x19f)]?this[_0x141214(0x19f)][_0x141214(0x1fb)]:null));}catch(_0x3f34a0){logger[_0x141214(0x199)](_0x141214(0x1b5)+_0x3f34a0);}await global[_0x141214(0x1a9)][0x0][_0x141214(0x1c3)]();}catch(_0xa2767c){logger[_0x141214(0x199)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xa2767c);}};},'beforeEach'(_0x2b260e){const _0x2c684f=a32_0x24cf7f,_0x21bae6={'MyYgx':function(_0x24a0f0,_0x323923){return _0x24a0f0>_0x323923;},'uOgUm':_0x2c684f(0x1ce),'lUKBh':function(_0x4a7a29,_0x81ff59,_0x48cd02){return _0x4a7a29(_0x81ff59,_0x48cd02);},'PnOhS':'bstackA11yShouldScan','CdnQi':function(_0x107392){return _0x107392();},'EOMfM':function(_0x20902e,_0x4cb5f3){return _0x20902e>_0x4cb5f3;},'sGJkK':_0x2c684f(0x1b6),'mjgkm':function(_0x20cfd3,_0x356f47){return _0x20cfd3===_0x356f47;},'nzGFU':_0x2c684f(0x1b1),'ekjEN':_0x2c684f(0x193),'PGWLH':_0x2c684f(0x1e9),'pvMGA':_0x2c684f(0x202),'otDXF':function(_0x404aa4){return _0x404aa4();}};new Promise(async _0x592f66=>{const _0x2cddcd=_0x2c684f,_0x2aa84a='browserstack internal helper hook';let _0x26bbd5=!![];try{_0x21bae6['MyYgx'](global['__drivers'][_0x2cddcd(0x1c6)],0x1)&&(await global[_0x2cddcd(0x204)](),global[_0x2cddcd(0x1a9)][_0x2cddcd(0x1a4)]()),_0x21bae6[_0x2cddcd(0x1bd)](global['__drivers'][0x0][_0x2cddcd(0x1dd)],0x0)&&(_0x26bbd5=![],await global[_0x2cddcd(0x204)]());}catch(_0x30d271){logger['debug'](_0x2cddcd(0x217)+_0x30d271);}try{Array[_0x2cddcd(0x201)](global[_0x2cddcd(0x1a9)])&&global[_0x2cddcd(0x1a9)][0x0]&&(global['__drivers'][0x0][_0x2cddcd(0x1ea)]=this[_0x2cddcd(0x19f)][_0x2cddcd(0x211)]()[_0x2cddcd(0x20a)](_0x21bae6['uOgUm'])),global[_0x2cddcd(0x1ea)]=this['currentTest'][_0x2cddcd(0x211)]()[_0x2cddcd(0x20a)](_0x21bae6[_0x2cddcd(0x1ff)]);}catch(_0x10444a){logger[_0x2cddcd(0x199)](_0x2cddcd(0x1ec)+_0x10444a);}this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)]=_0x21bae6[_0x2cddcd(0x1c4)](shouldScanTestForAccessibility,this['currentTest'][_0x2cddcd(0x211)](),!![]),globals[_0x2cddcd(0x1fc)](_0x21bae6[_0x2cddcd(0x1e3)],this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)]),this[_0x2cddcd(0x19f)][_0x2cddcd(0x196)]=!![];if(_0x21bae6[_0x2cddcd(0x213)](isAccessibilityAutomationSession)&&_0x26bbd5&&Array[_0x2cddcd(0x201)](global[_0x2cddcd(0x1a9)])&&_0x21bae6[_0x2cddcd(0x1cf)](global[_0x2cddcd(0x1a9)][_0x2cddcd(0x1c6)],0x0)&&globals[_0x2cddcd(0x1eb)](_0x21bae6[_0x2cddcd(0x205)]))try{const _0x18c87c=await global[_0x2cddcd(0x1a9)][0x0][_0x2cddcd(0x1e1)];if(_0x18c87c){let _0x3c80eb=!![];const _0x2c8c76=await global[_0x2cddcd(0x1a9)][0x0][_0x2cddcd(0x1bf)]();let _0x39eafe;try{_0x39eafe=new URL(_0x2c8c76);}catch(_0x2a30e0){_0x3c80eb=![];}_0x3c80eb=_0x21bae6[_0x2cddcd(0x20c)](_0x39eafe['protocol'],_0x21bae6[_0x2cddcd(0x1f8)])||_0x21bae6[_0x2cddcd(0x20c)](_0x39eafe[_0x2cddcd(0x1f9)],_0x21bae6[_0x2cddcd(0x214)]),_0x3c80eb&&(this[_0x2cddcd(0x19f)]['shouldScanTestForAccessibility']&&logger[_0x2cddcd(0x1b9)](_0x21bae6['PGWLH'])),this[_0x2cddcd(0x19f)][_0x2cddcd(0x196)]=this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)],this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)]&&logger[_0x2cddcd(0x1b9)](_0x21bae6[_0x2cddcd(0x19c)]);}}catch(_0x4a1468){logger[_0x2cddcd(0x1ae)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x2cddcd(0x1c2)](_0x4a1468));}_0x21bae6[_0x2cddcd(0x1d6)](_0x592f66);})[_0x2c684f(0x1d7)](_0x2b260e);},'afterEach'(_0x5e03aa){const _0x813f4c=a32_0x24cf7f,_0x487cae={'gMXCx':function(_0x3804e9,_0x1d4577){return _0x3804e9>_0x1d4577;},'KNPHB':function(_0x1e12b0,_0x547dfc){return _0x1e12b0===_0x547dfc;},'NBodc':_0x813f4c(0x1d8),'SnlZl':function(_0x4a9d49,_0x2b1de2){return _0x4a9d49>_0x2b1de2;},'AIzuC':'appium:app','hORWr':function(_0x5e947d,_0x37f7b0,_0x3d7714,_0x46061b){return _0x5e947d(_0x37f7b0,_0x3d7714,_0x46061b);},'IbDbQ':_0x813f4c(0x1ce),'qIHmI':function(_0x571687,_0x17c18a){return _0x571687!==_0x17c18a;},'nAHGh':_0x813f4c(0x1ee),'cPneR':function(_0x2f697c,_0x552bfb,_0x2be568){return _0x2f697c(_0x552bfb,_0x2be568);},'XKTTO':function(_0x5cb2e2,_0x1f974d){return _0x5cb2e2+_0x1f974d;},'JPwiK':_0x813f4c(0x1a5),'xpuCN':_0x813f4c(0x1ae),'vJnRy':_0x813f4c(0x1d1),'ifpUA':_0x813f4c(0x1b9),'TeWbf':'isAccessibilityPlatform','gFhoE':'bstackA11yShouldScan','BsFQI':_0x813f4c(0x1e4),'FbHIQ':_0x813f4c(0x1f0),'JeNVr':_0x813f4c(0x1dc),'pyFRI':function(_0xf116b0){return _0xf116b0();},'OIdYw':function(_0x30d89d){return _0x30d89d();},'bXpya':function(_0xad981b,_0x4244fa,_0x5e54e6){return _0xad981b(_0x4244fa,_0x5e54e6);},'xbNYs':_0x813f4c(0x199),'lnSeD':function(_0x5990d2,_0x10100c){return _0x5990d2>_0x10100c;}},_0x562aeb='browserstack internal helper hook';this[_0x813f4c(0x1fd)](0xfde8);const _0x4e24a2=async(_0x41cbff,_0x4e8693)=>{const _0x4b7cc4=_0x813f4c;await global[_0x4b7cc4(0x1a9)][0x0][_0x4b7cc4(0x1ca)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x41cbff+_0x4b7cc4(0x1bc)+_0x4e8693+_0x4b7cc4(0x215));};new Promise(async _0x4f4d44=>{const _0x41a2ea=_0x813f4c;try{_0x487cae['gMXCx'](global['__drivers'][_0x41a2ea(0x1c6)],0x1)&&(await global[_0x41a2ea(0x204)](),global[_0x41a2ea(0x1a9)]['shift'](),global['__error_messages__']=[],global[_0x41a2ea(0x1df)]=![]);try{if(global[_0x41a2ea(0x20d)]&&_0x487cae[_0x41a2ea(0x1da)](global[_0x41a2ea(0x1b0)],_0x487cae[_0x41a2ea(0x1a2)])&&global['__drivers'][0x0]){const _0x22ef96=_0x487cae[_0x41a2ea(0x1d2)](global['capabilities']['length'],0x0)?!!global['capabilities'][0x0][_0x41a2ea(0x1a3)]||!!global['capabilities'][0x0][_0x487cae[_0x41a2ea(0x1f7)]]:![],_0x31971e={};_0x31971e[_0x41a2ea(0x1a3)]=_0x22ef96,await _0x487cae[_0x41a2ea(0x195)](percyAutoCapture,global[_0x41a2ea(0x1a9)][0x0],_0x487cae[_0x41a2ea(0x1a2)],_0x31971e);}}catch(_0x408dd0){logger['debug'](_0x41a2ea(0x1d9)+_0x408dd0);}!global[_0x41a2ea(0x1af)]&&(await global[_0x41a2ea(0x1a9)][0x0][_0x41a2ea(0x1ca)](_0x41a2ea(0x20f)+JSON[_0x41a2ea(0x210)](this['currentTest'][_0x41a2ea(0x211)]()[_0x41a2ea(0x20a)](_0x487cae[_0x41a2ea(0x194)]))+'}}'),global[_0x41a2ea(0x1a9)][0x0]['sessionNameSet__']=!![]);const _0x1e7b6a=_0x487cae[_0x41a2ea(0x1cb)](this['currentTest'][_0x41a2ea(0x203)],_0x487cae[_0x41a2ea(0x20b)]);_0x1e7b6a?(global[_0x41a2ea(0x1df)]=!![],global[_0x41a2ea(0x1b7)][_0x41a2ea(0x1f4)](this['currentTest'][_0x41a2ea(0x1ac)][_0x41a2ea(0x1d5)]),await _0x487cae[_0x41a2ea(0x19d)](_0x4e24a2,JSON['stringify'](_0x487cae[_0x41a2ea(0x1f5)](_0x487cae[_0x41a2ea(0x1e8)],this[_0x41a2ea(0x19f)]['err']['message'])),_0x487cae[_0x41a2ea(0x206)])):await _0x487cae['cPneR'](_0x4e24a2,JSON[_0x41a2ea(0x210)](_0x487cae[_0x41a2ea(0x1aa)]),_0x487cae[_0x41a2ea(0x1b3)]);}catch(_0x9b0875){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x9b0875);}try{if(this[_0x41a2ea(0x19f)][_0x41a2ea(0x196)]&&globals[_0x41a2ea(0x1eb)](_0x487cae[_0x41a2ea(0x19e)])&&globals['getGlobal'](_0x487cae[_0x41a2ea(0x1a0)])){logger[_0x41a2ea(0x1b9)](_0x487cae[_0x41a2ea(0x1ab)]);const _0x17b0ae={};_0x17b0ae[_0x41a2ea(0x1ef)]=this[_0x41a2ea(0x19f)][_0x41a2ea(0x1fb)],_0x17b0ae[_0x41a2ea(0x1c5)]=process[_0x41a2ea(0x20e)][testHubConstants['ENV_VAR'][_0x41a2ea(0x192)]],_0x17b0ae['thJwtToken']=process['env'][testHubConstants[_0x41a2ea(0x1db)][_0x41a2ea(0x1f1)]];const _0x279523=_0x17b0ae;logger[_0x41a2ea(0x199)](_0x41a2ea(0x209)+JSON['stringify'](_0x279523)),logger[_0x41a2ea(0x199)](_0x487cae['FbHIQ']),logger[_0x41a2ea(0x199)](util[_0x41a2ea(0x1c2)](await global[_0x41a2ea(0x1a9)][0x0]['executeAsyncScript'](scripts[_0x41a2ea(0x1c0)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x41a2ea(0x1f2)],_0x279523),logger[_0x41a2ea(0x1b9)](_0x487cae[_0x41a2ea(0x1a1)]);}}catch(_0x1ae35a){logger[_0x41a2ea(0x1ae)](_0x41a2ea(0x1e5)+this[_0x41a2ea(0x19f)][_0x41a2ea(0x211)]()+_0x41a2ea(0x1f6),_0x1ae35a);}try{try{if(_0x487cae[_0x41a2ea(0x1c9)](shouldProcessEventForTesthub)){global[_0x41a2ea(0x1a9)][0x0]&&await _0x487cae[_0x41a2ea(0x19d)](sendPlatformDetails,global[_0x41a2ea(0x1a9)][0x0],this[_0x41a2ea(0x19f)]?this[_0x41a2ea(0x19f)][_0x41a2ea(0x1fb)]:null);if(_0x487cae['OIdYw'](isBrowserstackInfra)){const _0x22054d=_0x41a2ea(0x1cc)+Date[_0x41a2ea(0x1a7)]();await _0x487cae[_0x41a2ea(0x1e2)](_0x4e24a2,JSON[_0x41a2ea(0x210)](_0x22054d),_0x487cae[_0x41a2ea(0x216)]);}}}catch(_0x5d38a4){logger[_0x41a2ea(0x199)](_0x41a2ea(0x1e6)+_0x5d38a4);}_0x487cae['lnSeD'](global[_0x41a2ea(0x1a9)][0x0][_0x41a2ea(0x1dd)],0x0)&&await global[_0x41a2ea(0x204)]();}catch(_0x258c50){logger[_0x41a2ea(0x199)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x258c50);}_0x487cae[_0x41a2ea(0x1ad)](_0x4f4d44);})[_0x813f4c(0x1d7)](()=>_0x5e03aa());},'afterAll'(_0x32da98){const _0x1d1434=a32_0x24cf7f,_0xf0cb09={'NIREg':function(_0x29fe8b){return _0x29fe8b();}},_0x2452ae='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x218b06=>{const _0x3e3962=a32_0x3986;PerformanceTester[_0x3e3962(0x1fe)](),await global[_0x3e3962(0x204)](),_0xf0cb09[_0x3e3962(0x208)](_0x218b06);})[_0x1d1434(0x1d7)](()=>_0x32da98());}};
1
+ const a32_0x2f0e10=a32_0xbdfc;function a32_0x1bca(){const _0x37d70a=['saveTestResults','../../helpers/testhub/constants','21zfPuJV','performScan','Performing\x20scan\x20before\x20saving\x20results','error','currentTest','gjEzf','shift','browserstackSessionName','__error_messages__','\x20|\x20','11440890KoRKyp','testAnalyticsId','cQCph','thJwtToken','5671398WhHsEV','capabilities','\x22}}','../../helpers/testhub/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','yzStV','HpjhU','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/accessibility-automation/scripts','nNWKT','MCJrx','titlePath','OAmil','\x20-\x20','../../helpers/accessibility-automation/helper','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PbZyz','isArray','app','err','failed','AlksP','../../helpers/percy/utils','XmKXD','isAccessibilityPlatform','44WXINVZ','WwiWO','https:','shouldScanTestForAccessibility','testcase','info','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','message',',\x22level\x22:\x20\x22','driverCleanup','9lyqZTs','state','iYjZi','5bOiBju','executeScript','XAwPW','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','dNaOx','climo','1268704lhfzfN','aROPz','__sessionFailed','MTVNY','accessibilityScanStarted','quitCount_','stopMonitoring','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','env','Passed','timeout','UgnyA','uudxE','format','../../helpers/logger','getCurrentUrl','BROWSERSTACK_TESTHUB_UUID','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','nPOfX','debug','thTestRunUuid','.\x20Error\x20:','KnSIV','sdCfd','now','percyCaptureMode','push','510148bIfDMG','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','__drivers','ENV_VAR','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','startMonitoring','executeAsyncScript','1599048nGoZPa','10888992HqrReO','nzBht','join','session_','passed','protocol','bstackA11yShouldScan','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','then','nfBmy','stringify','XGlik','getGlobal','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','winstonLogger','initQuit','ZdtdA','BROWSERSTACK_TESTHUB_JWT','3104556OhgOvz','../../helpers/globals','NDmCt','ztJTK','Failed:\x20','ObservabilitySync:','PwKIa','MjyRx','length','Failed\x20to\x20store\x20session\x20name:\x20','VqgUw','http:','4vFkZLb','util'];a32_0x1bca=function(){return _0x37d70a;};return a32_0x1bca();}function a32_0xbdfc(_0x5e9208,_0x1e57e5){const _0x1bca15=a32_0x1bca();return a32_0xbdfc=function(_0xbdfc5c,_0x278bcd){_0xbdfc5c=_0xbdfc5c-0x129;let _0xab3314=_0x1bca15[_0xbdfc5c];return _0xab3314;},a32_0xbdfc(_0x5e9208,_0x1e57e5);}(function(_0x485c03,_0x5b1cce){const _0x541899=a32_0xbdfc,_0x1a6e31=_0x485c03();while(!![]){try{const _0x362a35=-parseInt(_0x541899(0x156))/0x1*(parseInt(_0x541899(0x17e))/0x2)+parseInt(_0x541899(0x132))/0x3*(parseInt(_0x541899(0x15e))/0x4)+-parseInt(_0x541899(0x135))/0x5*(parseInt(_0x541899(0x190))/0x6)+parseInt(_0x541899(0x182))/0x7*(parseInt(_0x541899(0x13b))/0x8)+-parseInt(_0x541899(0x15f))/0x9+parseInt(_0x541899(0x18c))/0xa+-parseInt(_0x541899(0x1a9))/0xb*(-parseInt(_0x541899(0x172))/0xc);if(_0x362a35===_0x5b1cce)break;else _0x1a6e31['push'](_0x1a6e31['shift']());}catch(_0x21039d){_0x1a6e31['push'](_0x1a6e31['shift']());}}}(a32_0x1bca,0xa5aae));const util=require(a32_0x2f0e10(0x17f)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x2f0e10(0x19e)),{percyAutoCapture}=require(a32_0x2f0e10(0x1a6)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0x2f0e10(0x198)),globals=require(a32_0x2f0e10(0x173)),logger=require(a32_0x2f0e10(0x149))[a32_0x2f0e10(0x16e)],{shouldProcessEventForTesthub}=require(a32_0x2f0e10(0x193)),testHubConstants=require(a32_0x2f0e10(0x181));exports['mochaHooks']={'beforeAll'(){const _0x45b81d=a32_0x2f0e10,_0x428242={'XmKXD':function(_0x1cf182,_0x2cf064,_0x59da5c,_0x14b9b7){return _0x1cf182(_0x2cf064,_0x59da5c,_0x14b9b7);},'AlksP':_0x45b81d(0x1a4),'HpjhU':_0x45b81d(0x18b),'nzBht':function(_0x10a568,_0x41fe32,_0x3f11c6){return _0x10a568(_0x41fe32,_0x3f11c6);},'ZqPLz':_0x45b81d(0x163),'OAmil':function(_0x2e84ff){return _0x2e84ff();}};PerformanceTester[_0x45b81d(0x15c)]();const _0xb6d092='browserstack internal helper hook';global['__error_messages__']=[],global[_0x45b81d(0x13d)]=![],global[_0x45b81d(0x131)]=async()=>{const _0x1b0100=_0x45b81d;let _0xfc988=![];try{await global[_0x1b0100(0x158)][0x0][_0x1b0100(0x162)],_0xfc988=!![],global[_0x1b0100(0x13d)]?await _0x428242[_0x1b0100(0x1a7)](markSessionStatus,global[_0x1b0100(0x158)][0x0],_0x428242[_0x1b0100(0x1a5)],global[_0x1b0100(0x18a)][_0x1b0100(0x161)](_0x428242[_0x1b0100(0x196)])):await _0x428242[_0x1b0100(0x160)](markSessionStatus,global['__drivers'][0x0],_0x428242['ZqPLz']);}catch(_0xf68213){logger['debug'](_0x1b0100(0x157)+_0xf68213);}global['__error_messages__']=[],global[_0x1b0100(0x13d)]=![];if(_0xfc988)try{try{_0x428242[_0x1b0100(0x19c)](shouldProcessEventForTesthub)&&(global[_0x1b0100(0x158)][0x0]&&await _0x428242[_0x1b0100(0x160)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1b0100(0x186)]?this[_0x1b0100(0x186)][_0x1b0100(0x18d)]:null));}catch(_0x2cc973){logger[_0x1b0100(0x14e)](_0x1b0100(0x16d)+_0x2cc973);}await global[_0x1b0100(0x158)][0x0][_0x1b0100(0x16f)]();}catch(_0x4ecf18){logger[_0x1b0100(0x14e)](_0x1b0100(0x16c)+_0x4ecf18);}};},'beforeEach'(_0x52bb67){const _0x4aa1a7=a32_0x2f0e10,_0xa3a28c={'XGlik':function(_0x5e644d,_0x42a6b9){return _0x5e644d>_0x42a6b9;},'CTYTd':function(_0x280cc3,_0x263a88){return _0x280cc3>_0x263a88;},'climo':_0x4aa1a7(0x19d),'MTVNY':function(_0x42c640,_0x350275,_0x462610){return _0x42c640(_0x350275,_0x462610);},'PbZyz':_0x4aa1a7(0x165),'WwiWO':function(_0x1cd8e7){return _0x1cd8e7();},'SCFCY':_0x4aa1a7(0x1a8),'nfBmy':function(_0x1eef80,_0x368923){return _0x1eef80===_0x368923;},'uudxE':_0x4aa1a7(0x17d),'MjyRx':_0x4aa1a7(0x12a),'aROPz':_0x4aa1a7(0x166),'NDmCt':'Automate\x20test\x20case\x20execution\x20has\x20started.','ZdtdA':function(_0x20d0fd){return _0x20d0fd();}};new Promise(async _0x47d16d=>{const _0x3e6366=_0x4aa1a7,_0x3229da='browserstack internal helper hook';let _0x47168c=!![];try{_0xa3a28c[_0x3e6366(0x16a)](global[_0x3e6366(0x158)][_0x3e6366(0x17a)],0x1)&&(await global[_0x3e6366(0x131)](),global[_0x3e6366(0x158)][_0x3e6366(0x188)]()),_0xa3a28c['CTYTd'](global[_0x3e6366(0x158)][0x0]['quitCount_'],0x0)&&(_0x47168c=![],await global['driverCleanup']());}catch(_0x11a23a){logger['debug'](_0x3e6366(0x16c)+_0x11a23a);}try{Array[_0x3e6366(0x1a1)](global['__drivers'])&&global[_0x3e6366(0x158)][0x0]&&(global[_0x3e6366(0x158)][0x0][_0x3e6366(0x189)]=this['currentTest']['titlePath']()[_0x3e6366(0x161)](_0xa3a28c[_0x3e6366(0x13a)])),global['browserstackSessionName']=this[_0x3e6366(0x186)][_0x3e6366(0x19b)]()[_0x3e6366(0x161)](_0xa3a28c[_0x3e6366(0x13a)]);}catch(_0x5e0eb8){logger[_0x3e6366(0x14e)](_0x3e6366(0x17b)+_0x5e0eb8);}this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']=_0xa3a28c[_0x3e6366(0x13e)](shouldScanTestForAccessibility,this[_0x3e6366(0x186)][_0x3e6366(0x19b)](),!![]),globals['setGlobal'](_0xa3a28c[_0x3e6366(0x1a0)],this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']),this[_0x3e6366(0x186)][_0x3e6366(0x13f)]=!![];if(_0xa3a28c[_0x3e6366(0x129)](isAccessibilityAutomationSession)&&_0x47168c&&Array[_0x3e6366(0x1a1)](global[_0x3e6366(0x158)])&&_0xa3a28c['CTYTd'](global[_0x3e6366(0x158)][_0x3e6366(0x17a)],0x0)&&globals[_0x3e6366(0x16b)](_0xa3a28c['SCFCY']))try{const _0x9d9b2c=await global['__drivers'][0x0][_0x3e6366(0x162)];if(_0x9d9b2c){let _0x13d298=!![];const _0x206ab4=await global['__drivers'][0x0][_0x3e6366(0x14a)]();let _0x6bea87;try{_0x6bea87=new URL(_0x206ab4);}catch(_0x9234f5){_0x13d298=![];}_0x13d298=_0xa3a28c[_0x3e6366(0x168)](_0x6bea87[_0x3e6366(0x164)],_0xa3a28c[_0x3e6366(0x147)])||_0xa3a28c[_0x3e6366(0x168)](_0x6bea87[_0x3e6366(0x164)],_0xa3a28c[_0x3e6366(0x179)]),_0x13d298&&(this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']&&logger[_0x3e6366(0x12d)](_0xa3a28c[_0x3e6366(0x13c)])),this['currentTest'][_0x3e6366(0x13f)]=this[_0x3e6366(0x186)][_0x3e6366(0x12b)],this[_0x3e6366(0x186)]['shouldScanTestForAccessibility']&&logger[_0x3e6366(0x12d)](_0xa3a28c[_0x3e6366(0x174)]);}}catch(_0x2ef3ef){logger[_0x3e6366(0x185)](_0x3e6366(0x14c)+util[_0x3e6366(0x148)](_0x2ef3ef));}_0xa3a28c[_0x3e6366(0x170)](_0x47d16d);})[_0x4aa1a7(0x167)](_0x52bb67);},'afterEach'(_0x229754){const _0x1937d3=a32_0x2f0e10,_0x231a10={'XAwPW':function(_0x2b2609,_0x39a2f3){return _0x2b2609>_0x39a2f3;},'YutVY':function(_0x20768a,_0x22539d){return _0x20768a===_0x22539d;},'UgnyA':_0x1937d3(0x12c),'MOlDC':'appium:app','verth':function(_0xe6274b,_0x3b1964,_0xfa66d2,_0x48bb72){return _0xe6274b(_0x3b1964,_0xfa66d2,_0x48bb72);},'gjEzf':_0x1937d3(0x19d),'OLZHt':function(_0x46defe,_0x23d443){return _0x46defe!==_0x23d443;},'sdCfd':_0x1937d3(0x163),'cQCph':function(_0x55868c,_0x1155c1,_0x96e328){return _0x55868c(_0x1155c1,_0x96e328);},'iYjZi':function(_0x4630be,_0x1325a7){return _0x4630be+_0x1325a7;},'VqgUw':_0x1937d3(0x176),'PlzZH':_0x1937d3(0x185),'KnSIV':_0x1937d3(0x144),'dNaOx':_0x1937d3(0x12d),'GzAfx':_0x1937d3(0x1a8),'ztJTK':_0x1937d3(0x165),'nPOfX':_0x1937d3(0x19f),'iYUjp':_0x1937d3(0x184),'PwKIa':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','nNWKT':function(_0x354dae){return _0x354dae();},'cEOUq':function(_0x3db9dc,_0x46856c,_0x5c30d8){return _0x3db9dc(_0x46856c,_0x5c30d8);},'MCJrx':function(_0x30ef5f,_0x29e8e8,_0x2f2321){return _0x30ef5f(_0x29e8e8,_0x2f2321);},'PHZvX':_0x1937d3(0x14e)},_0x2f467b='browserstack internal helper hook';this[_0x1937d3(0x145)](0xfde8);const _0x5da143=async(_0xe34da0,_0x374ee5)=>{const _0x11b3df=_0x1937d3;await global[_0x11b3df(0x158)][0x0][_0x11b3df(0x136)](_0x11b3df(0x15b)+_0xe34da0+_0x11b3df(0x130)+_0x374ee5+_0x11b3df(0x192));};new Promise(async _0x5c6ed8=>{const _0x1d3507=_0x1937d3;try{_0x231a10[_0x1d3507(0x137)](global['__drivers'][_0x1d3507(0x17a)],0x1)&&(await global[_0x1d3507(0x131)](),global[_0x1d3507(0x158)][_0x1d3507(0x188)](),global[_0x1d3507(0x18a)]=[],global[_0x1d3507(0x13d)]=![]);try{if(global['percy']&&_0x231a10['YutVY'](global[_0x1d3507(0x154)],_0x231a10[_0x1d3507(0x146)])&&global[_0x1d3507(0x158)][0x0]){const _0x3bdc99=_0x231a10[_0x1d3507(0x137)](global[_0x1d3507(0x191)][_0x1d3507(0x17a)],0x0)?!!global['capabilities'][0x0][_0x1d3507(0x1a2)]||!!global[_0x1d3507(0x191)][0x0][_0x231a10['MOlDC']]:![],_0x5a9456={};_0x5a9456[_0x1d3507(0x1a2)]=_0x3bdc99,await _0x231a10['verth'](percyAutoCapture,global[_0x1d3507(0x158)][0x0],_0x231a10[_0x1d3507(0x146)],_0x5a9456);}}catch(_0x3ce96a){logger[_0x1d3507(0x14e)](_0x1d3507(0x138)+_0x3ce96a);}!global['__skipSessionName']&&(await global[_0x1d3507(0x158)][0x0][_0x1d3507(0x136)](_0x1d3507(0x194)+JSON[_0x1d3507(0x169)](this[_0x1d3507(0x186)][_0x1d3507(0x19b)]()[_0x1d3507(0x161)](_0x231a10[_0x1d3507(0x187)]))+'}}'),global[_0x1d3507(0x158)][0x0][_0x1d3507(0x15a)]=!![]);const _0x491e6b=_0x231a10['OLZHt'](this[_0x1d3507(0x186)][_0x1d3507(0x133)],_0x231a10[_0x1d3507(0x152)]);_0x491e6b?(global[_0x1d3507(0x13d)]=!![],global['__error_messages__'][_0x1d3507(0x155)](this['currentTest'][_0x1d3507(0x1a3)][_0x1d3507(0x12f)]),await _0x231a10[_0x1d3507(0x18e)](_0x5da143,JSON[_0x1d3507(0x169)](_0x231a10[_0x1d3507(0x134)](_0x231a10[_0x1d3507(0x17c)],this['currentTest'][_0x1d3507(0x1a3)][_0x1d3507(0x12f)])),_0x231a10['PlzZH'])):await _0x231a10[_0x1d3507(0x18e)](_0x5da143,JSON[_0x1d3507(0x169)](_0x231a10[_0x1d3507(0x151)]),_0x231a10[_0x1d3507(0x139)]);}catch(_0x3c79be){logger[_0x1d3507(0x14e)](_0x1d3507(0x142)+_0x3c79be);}try{if(this[_0x1d3507(0x186)][_0x1d3507(0x13f)]&&globals[_0x1d3507(0x16b)](_0x231a10['GzAfx'])&&globals[_0x1d3507(0x16b)](_0x231a10[_0x1d3507(0x175)])){logger[_0x1d3507(0x12d)](_0x231a10[_0x1d3507(0x14d)]);const _0x2bd073={};_0x2bd073[_0x1d3507(0x14f)]=this['currentTest']['testAnalyticsId'],_0x2bd073['thBuildUuid']=process[_0x1d3507(0x143)][testHubConstants[_0x1d3507(0x159)][_0x1d3507(0x14b)]],_0x2bd073[_0x1d3507(0x18f)]=process[_0x1d3507(0x143)][testHubConstants[_0x1d3507(0x159)][_0x1d3507(0x171)]];const _0x345799=_0x2bd073;logger[_0x1d3507(0x14e)](_0x1d3507(0x197)+JSON[_0x1d3507(0x169)](_0x345799)),logger[_0x1d3507(0x14e)](_0x231a10['iYUjp']),logger['debug'](util[_0x1d3507(0x148)](await global[_0x1d3507(0x158)][0x0][_0x1d3507(0x15d)](scripts[_0x1d3507(0x183)],{'method':global['browserstackSessionName']}))),await global[_0x1d3507(0x158)][0x0][_0x1d3507(0x15d)](scripts[_0x1d3507(0x180)],_0x345799),logger['info'](_0x231a10[_0x1d3507(0x178)]);}}catch(_0x20546d){logger[_0x1d3507(0x185)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x1d3507(0x186)][_0x1d3507(0x19b)]()+_0x1d3507(0x150),_0x20546d);}try{try{if(_0x231a10[_0x1d3507(0x199)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x231a10['cEOUq'](sendPlatformDetails,global[_0x1d3507(0x158)][0x0],this[_0x1d3507(0x186)]?this[_0x1d3507(0x186)][_0x1d3507(0x18d)]:null);if(_0x231a10[_0x1d3507(0x199)](isBrowserstackInfra)){const _0x2cea8d=_0x1d3507(0x177)+Date[_0x1d3507(0x153)]();await _0x231a10[_0x1d3507(0x19a)](_0x5da143,JSON['stringify'](_0x2cea8d),_0x231a10['PHZvX']);}}}catch(_0x199e46){logger['debug'](_0x1d3507(0x12e)+_0x199e46);}_0x231a10[_0x1d3507(0x137)](global[_0x1d3507(0x158)][0x0][_0x1d3507(0x140)],0x0)&&await global[_0x1d3507(0x131)]();}catch(_0x5cf736){logger[_0x1d3507(0x14e)](_0x1d3507(0x16c)+_0x5cf736);}_0x231a10[_0x1d3507(0x199)](_0x5c6ed8);})['then'](()=>_0x229754());},'afterAll'(_0x40a48a){const _0x42293d={'yzStV':function(_0x2d7ff4){return _0x2d7ff4();}},_0x36f999='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x1f3fe9=>{const _0x3d871d=a32_0xbdfc;PerformanceTester[_0x3d871d(0x141)](),await global[_0x3d871d(0x131)](),_0x42293d[_0x3d871d(0x195)](_0x1f3fe9);})['then'](()=>_0x40a48a());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x521b(){const _0x26a81d=['fpqjs','262xRkOVU','length','CBIJf','nightwatch.cmd','ordaZ','debug','test_settings','trim','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','now','BGjxd','config','unlinkSync','close','writeFileSync','useW3C','test','mergeDeep','winstonLogger','exports','inherit','port','host','29907UYbswF','nightwatch','slice','selenium','sTFvY','--env','FRCWF','wFaxw','EyasT','110iJrAVF','tKQCl','kchrX','673508gGNnGG','16WRPKbF','../utils/constants','push','env','info','join','findIndex','413950bWTqXA','hub.browserstack.com','nightwatch-browserstack.json','18fcscqZ','ZWUdK','27267qpRZcX','vFwli','mxMMj','start_process','yERMI','1911413HMvQWo','../../helpers/BrowserStackSetup','splice','yyFwz','isUndefined','nightwatch.json','gCwOm','forEach','stringify','modifyBrowserStackW3CCaps','../../helpers/logger','1031700XeWcio','child\x20process\x20exited\x20with\x20code\x20','344siEEtU','503329FenmPx','cwd','platforms','--config','desiredCapabilities','existsSync'];a33_0x521b=function(){return _0x26a81d;};return a33_0x521b();}const a33_0x3e1e37=a33_0x68fe;(function(_0x187fd3,_0x4c07e6){const _0x2c7a16=a33_0x68fe,_0x4d9500=_0x187fd3();while(!![]){try{const _0x18ebf5=-parseInt(_0x2c7a16(0xd9))/0x1+-parseInt(_0x2c7a16(0xe0))/0x2*(-parseInt(_0x2c7a16(0xc6))/0x3)+-parseInt(_0x2c7a16(0xba))/0x4*(-parseInt(_0x2c7a16(0xc1))/0x5)+-parseInt(_0x2c7a16(0xc4))/0x6*(parseInt(_0x2c7a16(0xcb))/0x7)+-parseInt(_0x2c7a16(0xd8))/0x8*(-parseInt(_0x2c7a16(0xad))/0x9)+-parseInt(_0x2c7a16(0xb6))/0xa*(-parseInt(_0x2c7a16(0xb9))/0xb)+-parseInt(_0x2c7a16(0xd6))/0xc;if(_0x18ebf5===_0x4c07e6)break;else _0x4d9500['push'](_0x4d9500['shift']());}catch(_0x279513){_0x4d9500['push'](_0x4d9500['shift']());}}}(a33_0x521b,0xe2fc7));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a33_0x3e1e37(0xd5))[a33_0x3e1e37(0xa8)],{default:BrowserStackSetup}=require(a33_0x3e1e37(0xcc)),helper=require('../../helpers/helper'),constants=require(a33_0x3e1e37(0xbb)),getUserNightwatchConfigs=(_0xd0b100,_0x13c831)=>{const _0xb34421=a33_0x3e1e37,_0x4f1a60={'wFaxw':'nightwatch.conf.js','ZWUdK':_0xb34421(0xd0),'pnBJS':function(_0xcb6792,_0x2830dc){return _0xcb6792(_0x2830dc);},'XptMX':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x3c83f2=null,_0x56b55e={};const _0x230a9f=_0x13c831[_0xb34421(0xc0)](_0x66de86=>_0x66de86===_0xb34421(0xdc));if(!helper[_0xb34421(0xcf)](_0xd0b100['config'])&&fs['existsSync'](path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0xd0b100[_0xb34421(0xeb)])))_0x3c83f2=path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0xd0b100['config']),_0x13c831[_0xb34421(0xcd)](_0x230a9f,0x2);else{if(fs[_0xb34421(0xde)](path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0x4f1a60['wFaxw'])))_0x3c83f2=path['join'](process[_0xb34421(0xda)](),_0x4f1a60[_0xb34421(0xb4)]);else fs[_0xb34421(0xde)](path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0x4f1a60['ZWUdK']))&&(_0x3c83f2=path[_0xb34421(0xbf)](process['cwd'](),_0x4f1a60[_0xb34421(0xc5)]));}return _0x3c83f2?(logger[_0xb34421(0xbe)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x3c83f2),_0x56b55e=_0x4f1a60['pnBJS'](require,_0x3c83f2)):logger[_0xb34421(0xbe)](_0x4f1a60['XptMX']),_0x56b55e;},removeExistingEnvs=_0x4bf465=>{const _0x313225=a33_0x3e1e37,_0x1707a5={};_0x1707a5['vFwli']=function(_0xefef8e,_0x173062){return _0xefef8e>_0x173062;};const _0x2f09bc=_0x1707a5;let _0x4af82a=_0x4bf465[_0x313225(0xc0)](_0x4a1f57=>_0x4a1f57===_0x313225(0xb2));_0x2f09bc[_0x313225(0xc7)](_0x4af82a,-0x1)&&_0x4bf465[_0x313225(0xcd)](_0x4af82a,0x2),_0x4af82a=_0x4bf465[_0x313225(0xc0)](_0x2b4835=>_0x2b4835==='-e'),_0x2f09bc[_0x313225(0xc7)](_0x4af82a,-0x1)&&_0x4bf465[_0x313225(0xcd)](_0x4af82a,0x2);};function a33_0x68fe(_0x50e06c,_0x16a4ef){const _0x521bbd=a33_0x521b();return a33_0x68fe=function(_0x68fe61,_0x215f00){_0x68fe61=_0x68fe61-0xa6;let _0x2cbb34=_0x521bbd[_0x68fe61];return _0x2cbb34;},a33_0x68fe(_0x50e06c,_0x16a4ef);}function run(_0xb9938c,_0x2716d8){const _0x14b752=a33_0x3e1e37,_0x39005c={'ordaZ':_0x14b752(0xae),'CBIJf':function(_0x1fbd8b,_0xf5c221){return _0x1fbd8b+_0xf5c221;},'kchrX':_0x14b752(0xe6),'mxMMj':function(_0x23025f,_0x2f8291,_0x31b299){return _0x23025f(_0x2f8291,_0x31b299);},'uIXmZ':_0x14b752(0xc2),'YtElw':_0x14b752(0xe8),'fpqjs':function(_0x840b55,_0x392248){return _0x840b55===_0x392248;},'sTFvY':_0x14b752(0xc3),'WTvJO':function(_0xbd3a28,_0x4c29d8){return _0xbd3a28(_0x4c29d8);},'tKQCl':function(_0x347b4e,_0x280bc0,_0x404eba,_0x2752d3){return _0x347b4e(_0x280bc0,_0x404eba,_0x2752d3);},'EyasT':_0x14b752(0xe3),'yyFwz':'--config','gCwOm':_0x14b752(0xb2),'ChhZN':_0x14b752(0xaa),'yERMI':_0x14b752(0xed)},_0x443ec1=new BrowserStackSetup(_0xb9938c);if(!_0x443ec1[_0x14b752(0xeb)])return;const _0x19b634=_0x39005c[_0x14b752(0xc8)](getUserNightwatchConfigs,_0xb9938c,_0x2716d8),_0x4178a3={};_0x4178a3[_0x14b752(0xc9)]=![];const _0x7a84b4={};_0x7a84b4[_0x14b752(0xac)]=_0x39005c['uIXmZ'],_0x7a84b4[_0x14b752(0xab)]=0x1bb;const _0x46aa47={};_0x46aa47['webdriver']=_0x4178a3,_0x46aa47[_0x14b752(0xb0)]=_0x7a84b4;const _0x462fb4=_0x46aa47;logger[_0x14b752(0xbe)](_0x39005c['YtElw']);const _0x3af107={..._0x19b634},_0x342d84=_0x3af107,_0x4452d4=helper[_0x14b752(0xef)](_0x443ec1[_0x14b752(0xeb)]),_0x45ba36=[];_0x443ec1[_0x14b752(0xeb)][_0x14b752(0xdb)][_0x14b752(0xd2)]((_0x4f2ca0,_0x3c7968)=>{const _0xdf0c9a=_0x14b752;_0x4452d4?_0x45ba36['push'](helper[_0xdf0c9a(0xd4)](_0x443ec1['config'],_0x39005c[_0xdf0c9a(0xe4)],_0x3c7968)):_0x45ba36[_0xdf0c9a(0xbc)](helper['modifyBrowserStackCaps'](_0x443ec1['config'],_0x39005c[_0xdf0c9a(0xe4)],_0x3c7968));});const _0x4f0080={},_0x1ea05b=[];_0xb9938c[_0x14b752(0xbd)]=_0xb9938c[_0x14b752(0xbd)]||_0xb9938c['e'];const _0x25ed7a=_0xb9938c[_0x14b752(0xbd)]?_0xb9938c[_0x14b752(0xbd)]['trim']()['split'](',')['map'](_0x2d5584=>_0x2d5584[_0x14b752(0xe7)]())['filter'](_0x205ae3=>_0x205ae3!==''):[''];_0x39005c[_0x14b752(0xdf)](_0x25ed7a[_0x14b752(0xe1)],0x0)&&_0x25ed7a[_0x14b752(0xbc)]('');_0x25ed7a[_0x14b752(0xd2)](_0x3d936d=>{const _0x502988=_0x14b752,_0x59a735={'BGjxd':function(_0x812b58,_0x53b440){const _0x3e720a=a33_0x68fe;return _0x39005c[_0x3e720a(0xe2)](_0x812b58,_0x53b440);},'FRCWF':_0x39005c[_0x502988(0xb8)]};_0x45ba36[_0x502988(0xd2)](_0x217bb2=>{const _0x3fa815=_0x502988;let _0x1c9bc2=_0x59a735[_0x3fa815(0xea)](helper['getPlatformName'](_0x217bb2,'_'),'_'+Date[_0x3fa815(0xe9)]());_0x3d936d&&(_0x1c9bc2+='_'+_0x3d936d);if(_0x3d936d&&(!_0x19b634[_0x59a735[_0x3fa815(0xb3)]]||!_0x19b634[_0x59a735['FRCWF']][_0x3d936d]))return;const _0x195b39={..._0x462fb4};_0x195b39[_0x3fa815(0xdd)]=_0x217bb2;const _0xd67174=_0x195b39;_0x4f0080[_0x1c9bc2]=_0x3d936d?helper[_0x3fa815(0xa7)](_0x19b634[_0x59a735[_0x3fa815(0xb3)]][_0x3d936d],_0xd67174):_0xd67174,_0x1ea05b[_0x3fa815(0xbc)](_0x1c9bc2);});});!_0x342d84[_0x14b752(0xe6)]&&(_0x342d84['test_settings']={});_0x342d84[_0x14b752(0xe6)]={..._0x342d84[_0x14b752(0xe6)],..._0x4f0080};const _0x439cc1=path[_0x14b752(0xbf)](__dirname,_0x39005c[_0x14b752(0xb1)]);fs[_0x14b752(0xee)](_0x439cc1,JSON[_0x14b752(0xd3)](_0x342d84)),_0x39005c['WTvJO'](removeExistingEnvs,_0x2716d8);const _0x370cdc=_0x39005c[_0x14b752(0xb7)](spawn,/^win/[_0x14b752(0xa6)](process['platform'])?_0x39005c[_0x14b752(0xb5)]:_0x39005c[_0x14b752(0xe4)],[_0x39005c[_0x14b752(0xce)],_0x439cc1,..._0x2716d8[_0x14b752(0xaf)](0x1),_0x39005c[_0x14b752(0xd1)],_0x1ea05b['join'](',')],{'stdio':_0x39005c['ChhZN']});_0x370cdc['on'](_0x39005c[_0x14b752(0xca)],async _0x97831d=>{const _0xe7c404=_0x14b752;logger[_0xe7c404(0xe5)](_0xe7c404(0xd7)+_0x97831d),logger[_0xe7c404(0xbe)]('Deleting\x20'+_0x439cc1),fs[_0xe7c404(0xec)](_0x439cc1);});}module[a33_0x3e1e37(0xa9)]=run;
2
+ 'use strict';const a33_0x44e14b=a33_0x4fd7;(function(_0x245c4d,_0x393a61){const _0x2b7577=a33_0x4fd7,_0x41563c=_0x245c4d();while(!![]){try{const _0x436299=parseInt(_0x2b7577(0x1fe))/0x1*(-parseInt(_0x2b7577(0x1e3))/0x2)+parseInt(_0x2b7577(0x1f7))/0x3+parseInt(_0x2b7577(0x20d))/0x4+parseInt(_0x2b7577(0x1d8))/0x5+-parseInt(_0x2b7577(0x1e0))/0x6+parseInt(_0x2b7577(0x1d5))/0x7+-parseInt(_0x2b7577(0x213))/0x8*(-parseInt(_0x2b7577(0x1d1))/0x9);if(_0x436299===_0x393a61)break;else _0x41563c['push'](_0x41563c['shift']());}catch(_0x120aab){_0x41563c['push'](_0x41563c['shift']());}}}(a33_0x3edf,0xd582c));const fs=require('fs'),path=require(a33_0x44e14b(0x1d3)),{spawn}=require(a33_0x44e14b(0x1ff)),logger=require(a33_0x44e14b(0x20a))[a33_0x44e14b(0x201)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x44e14b(0x1f3)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x4d144a,_0x297298)=>{const _0x3443d9=a33_0x44e14b,_0x5ce28c={'oNfhI':'nightwatch.conf.js','evDZZ':_0x3443d9(0x20e),'XSHbb':function(_0x3e4f14,_0x45631e){return _0x3e4f14(_0x45631e);},'TajAf':_0x3443d9(0x210)};let _0x4ad108=null,_0x1da8a7={};const _0x387cec=_0x297298[_0x3443d9(0x1eb)](_0x568b2e=>_0x568b2e==='--config');if(!helper[_0x3443d9(0x1d4)](_0x4d144a[_0x3443d9(0x1e2)])&&fs[_0x3443d9(0x205)](path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x4d144a[_0x3443d9(0x1e2)])))_0x4ad108=path[_0x3443d9(0x1f0)](process['cwd'](),_0x4d144a['config']),_0x297298['splice'](_0x387cec,0x2);else{if(fs[_0x3443d9(0x205)](path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x5ce28c[_0x3443d9(0x1de)])))_0x4ad108=path[_0x3443d9(0x1f0)](process['cwd'](),_0x5ce28c[_0x3443d9(0x1de)]);else fs['existsSync'](path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x5ce28c[_0x3443d9(0x1ec)]))&&(_0x4ad108=path[_0x3443d9(0x1f0)](process[_0x3443d9(0x214)](),_0x5ce28c['evDZZ']));}return _0x4ad108?(logger[_0x3443d9(0x219)](_0x3443d9(0x1ef)+_0x4ad108),_0x1da8a7=_0x5ce28c[_0x3443d9(0x1ee)](require,_0x4ad108)):logger[_0x3443d9(0x219)](_0x5ce28c['TajAf']),_0x1da8a7;},removeExistingEnvs=_0x1f071d=>{const _0x43a2c4=a33_0x44e14b,_0x2e6beb={};_0x2e6beb[_0x43a2c4(0x1f4)]=function(_0x37ec08,_0x5aed39){return _0x37ec08>_0x5aed39;};const _0x3ce9ad=_0x2e6beb;let _0x530d86=_0x1f071d['findIndex'](_0x8c1f78=>_0x8c1f78==='--env');_0x3ce9ad[_0x43a2c4(0x1f4)](_0x530d86,-0x1)&&_0x1f071d['splice'](_0x530d86,0x2),_0x530d86=_0x1f071d[_0x43a2c4(0x1eb)](_0x420f86=>_0x420f86==='-e'),_0x3ce9ad['TEALq'](_0x530d86,-0x1)&&_0x1f071d[_0x43a2c4(0x218)](_0x530d86,0x2);};function a33_0x4fd7(_0x3bf83b,_0x37dd6b){const _0x3edf01=a33_0x3edf();return a33_0x4fd7=function(_0x4fd7cb,_0x27ac84){_0x4fd7cb=_0x4fd7cb-0x1d1;let _0x204936=_0x3edf01[_0x4fd7cb];return _0x204936;},a33_0x4fd7(_0x3bf83b,_0x37dd6b);}function run(_0x13e313,_0xe8f2a4){const _0x1b6e9c=a33_0x44e14b,_0x470e05={'aefxD':_0x1b6e9c(0x207),'INxAJ':function(_0x32c183,_0x377bd6){return _0x32c183+_0x377bd6;},'ZJhFs':_0x1b6e9c(0x21c),'IUsmS':function(_0x10f655,_0x580b9a,_0x593854){return _0x10f655(_0x580b9a,_0x593854);},'lCEzA':_0x1b6e9c(0x21b),'eHktU':_0x1b6e9c(0x1e9),'yTVLx':function(_0x146bb1,_0x4b7ec7){return _0x146bb1===_0x4b7ec7;},'oHzXh':_0x1b6e9c(0x204),'UEkyt':function(_0x42af62,_0x10790f){return _0x42af62(_0x10790f);},'hOAxw':function(_0x30bff7,_0x38b5d1,_0x1ea144,_0x2e4585){return _0x30bff7(_0x38b5d1,_0x1ea144,_0x2e4585);},'vYdoj':_0x1b6e9c(0x1fc),'DIIej':_0x1b6e9c(0x202),'enOKw':_0x1b6e9c(0x1e1),'sUoNL':'inherit','qamkR':_0x1b6e9c(0x1dd)},_0x2d14f7=new BrowserStackSetup(_0x13e313);if(!_0x2d14f7[_0x1b6e9c(0x1e2)])return;const _0x3b544d=_0x470e05[_0x1b6e9c(0x200)](getUserNightwatchConfigs,_0x13e313,_0xe8f2a4),_0xa2a4db={};_0xa2a4db[_0x1b6e9c(0x206)]=![];const _0x1e04c1={};_0x1e04c1[_0x1b6e9c(0x216)]=_0x470e05['lCEzA'],_0x1e04c1[_0x1b6e9c(0x20b)]=0x1bb;const _0xf93741={};_0xf93741['webdriver']=_0xa2a4db,_0xf93741[_0x1b6e9c(0x212)]=_0x1e04c1;const _0x541a23=_0xf93741;logger[_0x1b6e9c(0x219)](_0x470e05[_0x1b6e9c(0x1f2)]);const _0x346ca3={..._0x3b544d},_0x218ba8=_0x346ca3,_0x23156a=helper['useW3C'](_0x2d14f7[_0x1b6e9c(0x1e2)]),_0x479142=[];_0x2d14f7[_0x1b6e9c(0x1e2)][_0x1b6e9c(0x217)][_0x1b6e9c(0x1ed)]((_0x5ad24f,_0x12a47c)=>{const _0x5e7419=_0x1b6e9c;_0x23156a?_0x479142[_0x5e7419(0x1f9)](helper[_0x5e7419(0x1d9)](_0x2d14f7[_0x5e7419(0x1e2)],_0x470e05[_0x5e7419(0x1f6)],_0x12a47c)):_0x479142[_0x5e7419(0x1f9)](helper[_0x5e7419(0x1f1)](_0x2d14f7[_0x5e7419(0x1e2)],_0x470e05[_0x5e7419(0x1f6)],_0x12a47c));});const _0x55bfc6={},_0x13832d=[];_0x13e313[_0x1b6e9c(0x21a)]=_0x13e313[_0x1b6e9c(0x21a)]||_0x13e313['e'];const _0x16b7d7=_0x13e313['env']?_0x13e313[_0x1b6e9c(0x21a)][_0x1b6e9c(0x1f5)]()[_0x1b6e9c(0x1e5)](',')['map'](_0x31d66b=>_0x31d66b[_0x1b6e9c(0x1f5)]())[_0x1b6e9c(0x1fa)](_0x17cb14=>_0x17cb14!==''):[''];_0x470e05[_0x1b6e9c(0x1db)](_0x16b7d7[_0x1b6e9c(0x1df)],0x0)&&_0x16b7d7[_0x1b6e9c(0x1f9)]('');_0x16b7d7['forEach'](_0x2c5766=>{const _0x3be30d=_0x1b6e9c;_0x479142[_0x3be30d(0x1ed)](_0x559127=>{const _0x324605=_0x3be30d;let _0x1d1aae=_0x470e05[_0x324605(0x20c)](helper['getPlatformName'](_0x559127,'_'),'_'+Date[_0x324605(0x1d7)]());_0x2c5766&&(_0x1d1aae+='_'+_0x2c5766);if(_0x2c5766&&(!_0x3b544d[_0x470e05['ZJhFs']]||!_0x3b544d[_0x470e05[_0x324605(0x208)]][_0x2c5766]))return;const _0x4e0fd3={..._0x541a23};_0x4e0fd3[_0x324605(0x1d2)]=_0x559127;const _0x3b910d=_0x4e0fd3;_0x55bfc6[_0x1d1aae]=_0x2c5766?helper[_0x324605(0x209)](_0x3b544d[_0x470e05[_0x324605(0x208)]][_0x2c5766],_0x3b910d):_0x3b910d,_0x13832d[_0x324605(0x1f9)](_0x1d1aae);});});!_0x218ba8[_0x1b6e9c(0x21c)]&&(_0x218ba8[_0x1b6e9c(0x21c)]={});_0x218ba8['test_settings']={..._0x218ba8[_0x1b6e9c(0x21c)],..._0x55bfc6};const _0x3a7d13=path[_0x1b6e9c(0x1f0)](__dirname,_0x470e05[_0x1b6e9c(0x1e6)]);fs[_0x1b6e9c(0x1d6)](_0x3a7d13,JSON[_0x1b6e9c(0x203)](_0x218ba8)),_0x470e05['UEkyt'](removeExistingEnvs,_0xe8f2a4);const _0x35902d=_0x470e05[_0x1b6e9c(0x211)](spawn,/^win/['test'](process[_0x1b6e9c(0x1fb)])?_0x470e05[_0x1b6e9c(0x215)]:_0x470e05['aefxD'],[_0x470e05[_0x1b6e9c(0x1dc)],_0x3a7d13,..._0xe8f2a4[_0x1b6e9c(0x1da)](0x1),_0x470e05[_0x1b6e9c(0x1fd)],_0x13832d[_0x1b6e9c(0x1f0)](',')],{'stdio':_0x470e05[_0x1b6e9c(0x1e7)]});_0x35902d['on'](_0x470e05[_0x1b6e9c(0x1e8)],async _0x4dba82=>{const _0x39c3f0=_0x1b6e9c;logger[_0x39c3f0(0x1e4)]('child\x20process\x20exited\x20with\x20code\x20'+_0x4dba82),logger[_0x39c3f0(0x219)](_0x39c3f0(0x20f)+_0x3a7d13),fs[_0x39c3f0(0x1ea)](_0x3a7d13);});}function a33_0x3edf(){const _0x177da4=['child_process','IUsmS','winstonLogger','--config','stringify','nightwatch-browserstack.json','existsSync','start_process','nightwatch','ZJhFs','mergeDeep','../../helpers/logger','port','INxAJ','1076968zDfKjD','nightwatch.json','Deleting\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hOAxw','selenium','8zkpaaV','cwd','vYdoj','host','platforms','splice','info','env','hub.browserstack.com','test_settings','2910870jhFHdz','desiredCapabilities','path','isUndefined','3637550hbFLvn','writeFileSync','now','7407270VGFcGb','modifyBrowserStackW3CCaps','slice','yTVLx','DIIej','close','oNfhI','length','8316126itqKOX','--env','config','55030ZeBbgl','debug','split','oHzXh','sUoNL','qamkR','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','unlinkSync','findIndex','evDZZ','forEach','XSHbb','Getting\x20your\x20nightwatch\x20configs\x20from\x20','join','modifyBrowserStackCaps','eHktU','../../helpers/helper','TEALq','trim','aefxD','3457785WWXvtS','exports','push','filter','platform','nightwatch.cmd','enOKw','54UJLYdD'];a33_0x3edf=function(){return _0x177da4;};return a33_0x3edf();}module[a33_0x44e14b(0x1f8)]=run;
@@ -1 +1 @@
1
- const a34_0x4e802e=a34_0x3140;(function(_0x5e3d2f,_0x2c097a){const _0x187750=a34_0x3140,_0x315835=_0x5e3d2f();while(!![]){try{const _0x5084c4=parseInt(_0x187750(0x130))/0x1+-parseInt(_0x187750(0x12c))/0x2+-parseInt(_0x187750(0x13c))/0x3*(-parseInt(_0x187750(0x136))/0x4)+parseInt(_0x187750(0x16a))/0x5*(-parseInt(_0x187750(0x149))/0x6)+parseInt(_0x187750(0x160))/0x7+parseInt(_0x187750(0x161))/0x8*(parseInt(_0x187750(0x146))/0x9)+-parseInt(_0x187750(0x147))/0xa;if(_0x5084c4===_0x2c097a)break;else _0x315835['push'](_0x315835['shift']());}catch(_0x23b48b){_0x315835['push'](_0x315835['shift']());}}}(a34_0x3c50,0xaf93d));function a34_0x3140(_0x2ff78b,_0x398599){const _0x3c504f=a34_0x3c50();return a34_0x3140=function(_0x314062,_0x38a59b){_0x314062=_0x314062-0x116;let _0x349ae7=_0x3c504f[_0x314062];return _0x349ae7;},a34_0x3140(_0x2ff78b,_0x398599);}const util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x4e802e(0x173)),{isUndefined}=require(a34_0x4e802e(0x140)),scripts=require(a34_0x4e802e(0x12a));function a34_0x3c50(){const _0x3a8c60=['VMwnM','LDEct','stringify','UJYJq','jPLsx','wsEndpoint','eNtfp','../../helpers/accessibility-automation/helper','use','scannerProcessingTimeout','IOULB','replace','error','uvwJS','Lyyay','parse','Playwright','platformValidation','workerInfo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityPlatform','DJRzS','browserStackExecuteDriver','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','evaluate','OqpoT','jHIcT','kpnbo','testInfo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','accessibilityOptions.includeIssueType.bestPractice','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','(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','browser','SzbmW','JDOcD','axYaQ','QudZl','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../../helpers/accessibility-automation/scripts','deviceName','329022bmWlEz','performScan','processAccessibilityCaps','pblyu','493917OPDHHg','format','OxSzA','RVGSG','DVRKc','wXoLB','35836UzNmSk','chrome','method','WdCke','getAccessibilityResults','ndCPE','204tqaJty','wACsP','oNQEF','dYRlt','../../helpers/helper','includeIssueType','needsReview','constructor','No\x20summaryResults\x20found.','latest','4761kjBrWV','8715720QIObVo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','3539370tPMNSS','debug','bestPractice','name','connectOptions','No\x20accessibility\x20results\x20were\x20found.','HFuld','mKfIv','getAccessibilityResultsSummary','executeAsyncScript','accessibilityOptions','cjfkI','executeScript','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','accessibilityOptions.wcagVersion','playwright-chromium','DPxcy','oJweD','bstackSdkArgs','scannerVersion','warn','accessibilityOptions.scannerProcessingTimeout','wcagVersion','1065918HeXYLc','16480BOcdhq','currentTest','yGJjy','EzsQN','setAccessibilityCapabilities','browserName','ISXqM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5XwAjBg','project'];a34_0x3c50=function(){return _0x3a8c60;};return a34_0x3c50();}exports['browserStackEvaluate']=async(_0x515f22,_0x4f2924,_0x136e9c={})=>{const _0xe5902f=a34_0x4e802e,_0x534274={};_0x534274[_0xe5902f(0x150)]=_0xe5902f(0x15b);const _0x415dd2=_0x534274;return await _0x515f22[_0xe5902f(0x11a)](_0xe5902f(0x122)+_0x4f2924[_0xe5902f(0x177)](/arguments/g,_0x415dd2[_0xe5902f(0x150)])+_0xe5902f(0x128)+JSON[_0xe5902f(0x16e)](_0x136e9c)+')');},exports[a34_0x4e802e(0x118)]=async(_0x37894c,_0x64d4c,_0x2cf010={})=>{const _0x36ec0f=a34_0x4e802e,_0x4c4c38={};_0x4c4c38['yGJjy']=function(_0x3f8fdb,_0x410b26){return _0x3f8fdb===_0x410b26;},_0x4c4c38['lEPPQ']='WebDriver',_0x4c4c38[_0x36ec0f(0x132)]=_0x36ec0f(0x17c),_0x4c4c38[_0x36ec0f(0x11b)]=_0x36ec0f(0x15b);const _0x1be89b=_0x4c4c38;if(_0x1be89b[_0x36ec0f(0x163)](_0x37894c[_0x36ec0f(0x143)][_0x36ec0f(0x14c)],_0x1be89b['lEPPQ']))return await _0x37894c[_0x36ec0f(0x152)](_0x64d4c,_0x2cf010);else{if(_0x1be89b[_0x36ec0f(0x163)](_0x37894c['constructor'][_0x36ec0f(0x14c)],_0x1be89b[_0x36ec0f(0x132)]))return await _0x37894c[_0x36ec0f(0x155)](_0x36ec0f(0x156)+_0x64d4c['replace'](/arguments/g,_0x1be89b['OqpoT'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x36ec0f(0x16e)](_0x2cf010)+')');}},exports[a34_0x4e802e(0x165)]=async _0x11261a=>{const _0x42752c=a34_0x4e802e,_0x15fc0b={};_0x15fc0b[_0x42752c(0x164)]=_0x42752c(0x157),_0x15fc0b[_0x42752c(0x154)]=_0x42752c(0x15e),_0x15fc0b[_0x42752c(0x172)]=_0x42752c(0x120),_0x15fc0b[_0x42752c(0x11c)]='accessibilityOptions.includeIssueType.needsReview',_0x15fc0b[_0x42752c(0x117)]='accessibilityOptions.authToken',_0x15fc0b[_0x42752c(0x124)]='accessibilityOptions.scannerVersion';const _0x4c9290=_0x15fc0b;_0x11261a[_0x42752c(0x153)]&&(_0x11261a['accessibilityOptions'][_0x42752c(0x15f)]&&(_0x11261a[_0x4c9290[_0x42752c(0x164)]]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x15f)]),_0x11261a[_0x42752c(0x153)]['scannerProcessingTimeout']&&(_0x11261a[_0x4c9290['cjfkI']]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x175)]),_0x11261a[_0x42752c(0x153)]['includeIssueType']&&(_0x11261a[_0x4c9290[_0x42752c(0x172)]]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x141)][_0x42752c(0x14b)],_0x11261a[_0x4c9290[_0x42752c(0x11c)]]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x141)][_0x42752c(0x142)]));const _0x1c750a=JSON[_0x42752c(0x17b)](process['env'][_0x42752c(0x169)])[_0x42752c(0x15c)];_0x11261a[_0x4c9290['DJRzS']]=process['env']['BS_A11Y_JWT'],_0x11261a[_0x4c9290[_0x42752c(0x124)]]=_0x1c750a,delete _0x11261a[_0x42752c(0x153)];},exports[a34_0x4e802e(0x13a)]=async _0x4d0b06=>{const _0x1b5b88=a34_0x4e802e,_0x5a3f13={};_0x5a3f13[_0x1b5b88(0x139)]=_0x1b5b88(0x14e),_0x5a3f13[_0x1b5b88(0x134)]=_0x1b5b88(0x11f);const _0x573244=_0x5a3f13;if(global[_0x1b5b88(0x116)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4d0b06,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4d0b06,scripts.getResults);return res;}catch{return logger[_0x1b5b88(0x178)](_0x573244[_0x1b5b88(0x139)]),[];}else return logger[_0x1b5b88(0x15d)](_0x573244['DVRKc']),[];},exports[a34_0x4e802e(0x12d)]=async(_0x2a54d8,_0x23a934='')=>{const _0x1c20ff=a34_0x4e802e;if(global[_0x1c20ff(0x116)]){const _0x39b47c={};return _0x39b47c[_0x1c20ff(0x138)]=_0x23a934,await exports['browserStackEvaluate'](_0x2a54d8,scripts[_0x1c20ff(0x12d)],_0x39b47c);}},exports[a34_0x4e802e(0x151)]=async _0x50fc72=>{const _0x128d1b=a34_0x4e802e,_0x4d4ea={};_0x4d4ea['VYlpk']=_0x128d1b(0x144),_0x4d4ea[_0x128d1b(0x133)]=_0x128d1b(0x129);const _0x46ffc0=_0x4d4ea;if(global[_0x128d1b(0x116)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x50fc72,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x50fc72,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x128d1b(0x14a)](_0x46ffc0['VYlpk']),{};}else return logger[_0x128d1b(0x15d)](_0x46ffc0['RVGSG']),{};},exports[a34_0x4e802e(0x17d)]=async _0x5015e6=>{const _0x95b912=a34_0x4e802e,_0x4a7096={'oJweD':function(_0x3a32aa,_0x537e50){return _0x3a32aa!==_0x537e50;},'DnuUn':_0x95b912(0x168),'Lyyay':function(_0x4f04bc,_0x3cde18){return _0x4f04bc===_0x3cde18;},'QudZl':_0x95b912(0x137),'dbfyL':function(_0x50fb8f,_0x4edf04){return _0x50fb8f===_0x4edf04;},'uvwJS':_0x95b912(0x158),'DPxcy':_0x95b912(0x17f),'wACsP':function(_0x583736,_0x4dc76d){return _0x583736(_0x4dc76d);},'UJYJq':function(_0xee70f9,_0x13b598){return _0xee70f9===_0x13b598;},'IOULB':_0x95b912(0x145),'roTFE':function(_0x3747fb,_0x3a1fa6){return _0x3747fb>_0x3a1fa6;},'dYRlt':_0x95b912(0x148)};try{if(!_0x4a7096[_0x95b912(0x15a)](_0x5015e6[_0x95b912(0x12b)],''))return logger[_0x95b912(0x15d)](_0x4a7096['DnuUn']),![];const _0x9b2eae=_0x5015e6[_0x95b912(0x123)];if(!(_0x4a7096[_0x95b912(0x17a)](_0x9b2eae,_0x4a7096[_0x95b912(0x127)])||_0x4a7096['dbfyL'](_0x9b2eae,_0x4a7096[_0x95b912(0x179)])))return logger['warn'](_0x4a7096[_0x95b912(0x159)]),![];const _0x3b26a8=_0x4a7096[_0x95b912(0x13d)](parseInt,_0x5015e6['browser_version']);if(!(_0x4a7096[_0x95b912(0x16f)](_0x3b26a8,_0x4a7096[_0x95b912(0x176)])||_0x4a7096['roTFE'](_0x3b26a8,0x5e)))return logger['warn'](_0x4a7096[_0x95b912(0x13f)]),![];}catch(_0x255c21){logger[_0x95b912(0x14a)](_0x95b912(0x119)+util[_0x95b912(0x131)](_0x255c21));}return!![];},exports[a34_0x4e802e(0x12e)]=(_0x1360e1,_0xa99c46,_0x432647)=>{const _0x38ec7c=a34_0x4e802e,_0x3f60fa={'JDOcD':function(_0x2d9de3){return _0x2d9de3();},'wXoLB':'browserstack.accessibility','axYaQ':function(_0x3c65b1,_0x25461e){return _0x3c65b1===_0x25461e;},'VMwnM':_0x38ec7c(0x137),'ndCPE':function(_0x5abf7b,_0x364a2f){return _0x5abf7b===_0x364a2f;},'sjhZx':_0x38ec7c(0x158),'HWsOG':_0x38ec7c(0x17f),'oNQEF':_0x38ec7c(0x145),'LDEct':function(_0x2dd590,_0x5daf2c){return _0x2dd590>_0x5daf2c;},'jPLsx':_0x38ec7c(0x148),'pblyu':function(_0xe45bd,_0x249b3a){return _0xe45bd(_0x249b3a);},'kpnbo':_0x38ec7c(0x168),'ISXqM':function(_0xd8f589,_0x318fe2){return _0xd8f589+_0x318fe2;},'HFuld':function(_0x1c7fb2,_0x437784){return _0x1c7fb2(_0x437784);}};try{if(_0x3f60fa[_0x38ec7c(0x125)](isAccessibilityAutomationSession)){global[_0x38ec7c(0x116)]=!![];!_0x1360e1[_0x3f60fa['wXoLB']]&&(global[_0x38ec7c(0x116)]=![]);!(_0x3f60fa[_0x38ec7c(0x126)](_0x1360e1[_0x38ec7c(0x166)],_0x3f60fa[_0x38ec7c(0x16c)])||_0x3f60fa[_0x38ec7c(0x13b)](_0x1360e1[_0x38ec7c(0x166)],_0x3f60fa['sjhZx']))&&(logger[_0x38ec7c(0x15d)](_0x3f60fa['HWsOG']),global[_0x38ec7c(0x116)]=![]);!(_0x3f60fa['ndCPE'](_0x1360e1['browser_version'],_0x3f60fa[_0x38ec7c(0x13e)])||_0x3f60fa[_0x38ec7c(0x16d)](_0x1360e1['browser_version'],0x5e))&&(logger[_0x38ec7c(0x15d)](_0x3f60fa[_0x38ec7c(0x170)]),global['accessibilityPlatform']=![]);!_0x3f60fa[_0x38ec7c(0x12f)](isUndefined,_0x1360e1[_0x38ec7c(0x12b)])&&(logger[_0x38ec7c(0x15d)](_0x3f60fa[_0x38ec7c(0x11d)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x1360e1[_0x3f60fa[_0x38ec7c(0x135)]]=![];const _0x3f356d=_0x3f60fa[_0x38ec7c(0x167)](_0xa99c46,_0x3f60fa[_0x38ec7c(0x14f)](encodeURIComponent,JSON[_0x38ec7c(0x16e)](_0x1360e1)));_0x432647&&(_0x432647[_0x38ec7c(0x162)][_0x38ec7c(0x11e)][_0x38ec7c(0x16b)][_0x38ec7c(0x174)]['connectOptions'][_0x38ec7c(0x171)]=_0x3f356d,_0x432647[_0x38ec7c(0x17e)][_0x38ec7c(0x16b)][_0x38ec7c(0x174)][_0x38ec7c(0x14d)][_0x38ec7c(0x171)]=_0x3f356d);}}}catch(_0x3cb186){logger[_0x38ec7c(0x14a)](_0x38ec7c(0x121)+util[_0x38ec7c(0x131)](_0x3cb186));}};
1
+ const a34_0x40c274=a34_0x1586;(function(_0x3bdea4,_0x5a1e30){const _0x2dbac9=a34_0x1586,_0x3bbd19=_0x3bdea4();while(!![]){try{const _0x368514=parseInt(_0x2dbac9(0x75))/0x1+-parseInt(_0x2dbac9(0x85))/0x2+parseInt(_0x2dbac9(0x6e))/0x3*(parseInt(_0x2dbac9(0xbb))/0x4)+-parseInt(_0x2dbac9(0x8f))/0x5*(-parseInt(_0x2dbac9(0x86))/0x6)+-parseInt(_0x2dbac9(0x6f))/0x7*(parseInt(_0x2dbac9(0x8d))/0x8)+parseInt(_0x2dbac9(0x6d))/0x9+parseInt(_0x2dbac9(0x84))/0xa*(parseInt(_0x2dbac9(0xa5))/0xb);if(_0x368514===_0x5a1e30)break;else _0x3bbd19['push'](_0x3bbd19['shift']());}catch(_0x21f01e){_0x3bbd19['push'](_0x3bbd19['shift']());}}}(a34_0x2b32,0x2bce5));const util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a34_0x40c274(0x6c)),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x40c274(0x7c)]=async(_0x4ba149,_0xd44456,_0x38a43f={})=>{const _0x1c7d6e=a34_0x40c274,_0xd4474f={};_0xd4474f['hAJaR']='bstackSdkArgs';const _0x4a5ceb=_0xd4474f;return await _0x4ba149[_0x1c7d6e(0xc6)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0xd44456[_0x1c7d6e(0xc0)](/arguments/g,_0x4a5ceb[_0x1c7d6e(0x92)])+_0x1c7d6e(0x96)+JSON[_0x1c7d6e(0xbe)](_0x38a43f)+')');},exports[a34_0x40c274(0xb3)]=async(_0xb5b998,_0x42df22,_0x4dafa4={})=>{const _0x521364=a34_0x40c274,_0xcf70a8={};_0xcf70a8[_0x521364(0xb0)]=function(_0x4b437b,_0x1d89d2){return _0x4b437b===_0x1d89d2;},_0xcf70a8[_0x521364(0x66)]=_0x521364(0x9d),_0xcf70a8[_0x521364(0x87)]=function(_0xd1e256,_0xcd3dd6){return _0xd1e256===_0xcd3dd6;},_0xcf70a8[_0x521364(0xab)]=_0x521364(0x79),_0xcf70a8[_0x521364(0x9c)]=_0x521364(0xc3);const _0x2a89c1=_0xcf70a8;if(_0x2a89c1[_0x521364(0xb0)](_0xb5b998[_0x521364(0xb8)][_0x521364(0xa9)],_0x2a89c1[_0x521364(0x66)]))return await _0xb5b998[_0x521364(0x73)](_0x42df22,_0x4dafa4);else{if(_0x2a89c1[_0x521364(0x87)](_0xb5b998[_0x521364(0xb8)][_0x521364(0xa9)],_0x2a89c1['TMucT']))return await _0xb5b998[_0x521364(0x72)](_0x521364(0xa4)+_0x42df22[_0x521364(0xc0)](/arguments/g,_0x2a89c1['CaVFp'])+_0x521364(0xa7)+JSON[_0x521364(0xbe)](_0x4dafa4)+')');}},exports[a34_0x40c274(0xb6)]=async _0x2cc19f=>{const _0x37d1fa=a34_0x40c274,_0x5d277e={};_0x5d277e[_0x37d1fa(0x80)]='accessibilityOptions.wcagVersion',_0x5d277e[_0x37d1fa(0xc5)]='accessibilityOptions.scannerProcessingTimeout',_0x5d277e['njsVR']=_0x37d1fa(0xb7),_0x5d277e[_0x37d1fa(0xa2)]=_0x37d1fa(0xac),_0x5d277e[_0x37d1fa(0xb5)]=_0x37d1fa(0xa8),_0x5d277e[_0x37d1fa(0xc8)]=_0x37d1fa(0xbc);const _0xf77b6b=_0x5d277e;_0x2cc19f[_0x37d1fa(0xb4)]&&(_0x2cc19f[_0x37d1fa(0xb4)][_0x37d1fa(0x91)]&&(_0x2cc19f[_0xf77b6b[_0x37d1fa(0x80)]]=_0x2cc19f['accessibilityOptions'][_0x37d1fa(0x91)]),_0x2cc19f['accessibilityOptions'][_0x37d1fa(0x97)]&&(_0x2cc19f[_0xf77b6b[_0x37d1fa(0xc5)]]=_0x2cc19f[_0x37d1fa(0xb4)]['scannerProcessingTimeout']),_0x2cc19f[_0x37d1fa(0xb4)][_0x37d1fa(0x99)]&&(_0x2cc19f[_0xf77b6b['njsVR']]=_0x2cc19f[_0x37d1fa(0xb4)]['includeIssueType'][_0x37d1fa(0x7f)],_0x2cc19f[_0xf77b6b[_0x37d1fa(0xa2)]]=_0x2cc19f[_0x37d1fa(0xb4)][_0x37d1fa(0x99)]['needsReview']));const _0x1b41cd=JSON[_0x37d1fa(0xa0)](process[_0x37d1fa(0xb1)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x37d1fa(0x67)];_0x2cc19f[_0xf77b6b[_0x37d1fa(0xb5)]]=process[_0x37d1fa(0xb1)][_0x37d1fa(0x7e)],_0x2cc19f[_0xf77b6b[_0x37d1fa(0xc8)]]=_0x1b41cd,delete _0x2cc19f[_0x37d1fa(0xb4)];},exports[a34_0x40c274(0xa6)]=async _0x466eef=>{const _0x2ecc0a=a34_0x40c274,_0xaaf81e={};_0xaaf81e[_0x2ecc0a(0x8b)]='No\x20accessibility\x20results\x20were\x20found.',_0xaaf81e[_0x2ecc0a(0xbd)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x559788=_0xaaf81e;if(global[_0x2ecc0a(0x83)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x466eef,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x466eef,scripts.getResults);return res;}catch{return logger['error'](_0x559788[_0x2ecc0a(0x8b)]),[];}else return logger[_0x2ecc0a(0xa1)](_0x559788['AHNzx']),[];},exports['performScan']=async(_0x4aea82,_0x31c8d3='')=>{const _0x3d93c8=a34_0x40c274;if(global[_0x3d93c8(0x83)]){const _0x29838d={};return _0x29838d[_0x3d93c8(0xad)]=_0x31c8d3,await exports['browserStackEvaluate'](_0x4aea82,scripts[_0x3d93c8(0xc2)],_0x29838d);}},exports[a34_0x40c274(0x98)]=async _0x19aa67=>{const _0x1c83f4=a34_0x40c274,_0x10e18b={};_0x10e18b['rEgEl']=_0x1c83f4(0x9a),_0x10e18b['lvjdq']=_0x1c83f4(0xc1);const _0x47d4c9=_0x10e18b;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x19aa67,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x19aa67,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x1c83f4(0xa3)](_0x47d4c9[_0x1c83f4(0x6b)]),{};}else return logger['warn'](_0x47d4c9['lvjdq']),{};},exports['platformValidation']=async _0x524256=>{const _0x3e05d0=a34_0x40c274,_0x3147fd={'pkhNB':function(_0x18a128,_0xec9374){return _0x18a128!==_0xec9374;},'mjpEn':_0x3e05d0(0x70),'jBYWt':function(_0x55d3ad,_0x493d9a){return _0x55d3ad===_0x493d9a;},'LYCko':_0x3e05d0(0x7b),'rPGsL':function(_0x363b49,_0x12f0f4){return _0x363b49===_0x12f0f4;},'xGIvs':_0x3e05d0(0x76),'AIHXw':_0x3e05d0(0xc4),'rwoXC':function(_0x58b67b,_0x2f1434){return _0x58b67b(_0x2f1434);},'GhUgo':_0x3e05d0(0x71),'raMtl':function(_0x3afd1c,_0xdf2632){return _0x3afd1c>_0xdf2632;},'ODMWG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x3147fd['pkhNB'](_0x524256[_0x3e05d0(0xaf)],''))return logger['warn'](_0x3147fd[_0x3e05d0(0x9f)]),![];const _0x1c4beb=_0x524256['browser'];if(!(_0x3147fd[_0x3e05d0(0x78)](_0x1c4beb,_0x3147fd['LYCko'])||_0x3147fd[_0x3e05d0(0x6a)](_0x1c4beb,_0x3147fd['xGIvs'])))return logger[_0x3e05d0(0xa1)](_0x3147fd[_0x3e05d0(0xae)]),![];const _0x4eba17=_0x3147fd[_0x3e05d0(0x9e)](parseInt,_0x524256[_0x3e05d0(0x8c)]);if(!(_0x3147fd[_0x3e05d0(0x78)](_0x4eba17,_0x3147fd[_0x3e05d0(0x90)])||_0x3147fd[_0x3e05d0(0x89)](_0x4eba17,0x5e)))return logger[_0x3e05d0(0xa1)](_0x3147fd[_0x3e05d0(0xb2)]),![];}catch(_0x57f4e1){logger[_0x3e05d0(0xa3)](_0x3e05d0(0x9b)+util['format'](_0x57f4e1));}return!![];},exports['processAccessibilityCaps']=(_0x12184d,_0x4866cd,_0x2aaf34)=>{const _0x4adc34=a34_0x40c274,_0x2f548e={'VIEkw':function(_0x7eadd1){return _0x7eadd1();},'CSsnZ':'browserstack.accessibility','HAtlC':function(_0x14b5e7,_0x5e2ca5){return _0x14b5e7===_0x5e2ca5;},'sjCXw':_0x4adc34(0x7b),'wiJtu':'playwright-chromium','EiMkk':_0x4adc34(0xc4),'sCqoF':_0x4adc34(0x71),'sLvBd':function(_0x2bf3,_0xde46eb){return _0x2bf3>_0xde46eb;},'DXoeq':_0x4adc34(0x77),'wwqQw':function(_0x432fea,_0x1d2357){return _0x432fea(_0x1d2357);},'jarOh':_0x4adc34(0x70),'QTMAP':function(_0x32a920,_0x47367a){return _0x32a920+_0x47367a;}};try{if(_0x2f548e[_0x4adc34(0x69)](isAccessibilityAutomationSession)){global[_0x4adc34(0x83)]=!![];!_0x12184d[_0x2f548e[_0x4adc34(0x95)]]&&(global['accessibilityPlatform']=![]);!(_0x2f548e[_0x4adc34(0x81)](_0x12184d[_0x4adc34(0x7a)],_0x2f548e[_0x4adc34(0xc7)])||_0x2f548e['HAtlC'](_0x12184d[_0x4adc34(0x7a)],_0x2f548e[_0x4adc34(0x88)]))&&(logger[_0x4adc34(0xa1)](_0x2f548e[_0x4adc34(0xb9)]),global['accessibilityPlatform']=![]);!(_0x2f548e[_0x4adc34(0x81)](_0x12184d[_0x4adc34(0x8c)],_0x2f548e[_0x4adc34(0x8a)])||_0x2f548e[_0x4adc34(0x68)](_0x12184d[_0x4adc34(0x8c)],0x5e))&&(logger['warn'](_0x2f548e[_0x4adc34(0xaa)]),global['accessibilityPlatform']=![]);!_0x2f548e['wwqQw'](isUndefined,_0x12184d[_0x4adc34(0xaf)])&&(logger[_0x4adc34(0xa1)](_0x2f548e[_0x4adc34(0x93)]),global[_0x4adc34(0x83)]=![]);if(!global[_0x4adc34(0x83)]){_0x12184d[_0x2f548e[_0x4adc34(0x95)]]=![];const _0x266f5d=_0x2f548e[_0x4adc34(0x82)](_0x4866cd,_0x2f548e['wwqQw'](encodeURIComponent,JSON[_0x4adc34(0xbe)](_0x12184d)));_0x2aaf34&&(_0x2aaf34[_0x4adc34(0x74)]['testInfo'][_0x4adc34(0x94)][_0x4adc34(0x8e)]['connectOptions'][_0x4adc34(0xba)]=_0x266f5d,_0x2aaf34[_0x4adc34(0xbf)]['project'][_0x4adc34(0x8e)]['connectOptions'][_0x4adc34(0xba)]=_0x266f5d);}}}catch(_0x2ef694){logger['debug']('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x4adc34(0x7d)](_0x2ef694));}};function a34_0x1586(_0xf62fdf,_0x49c991){const _0x2b32ef=a34_0x2b32();return a34_0x1586=function(_0x1586ed,_0x397ed6){_0x1586ed=_0x1586ed-0x66;let _0xbbf93f=_0x2b32ef[_0x1586ed];return _0xbbf93f;},a34_0x1586(_0xf62fdf,_0x49c991);}function a34_0x2b32(){const _0x141df2=['executeScript','executeAsyncScript','currentTest','38122gPsdoO','playwright-chromium','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','jBYWt','Playwright','browserName','chrome','browserStackEvaluate','format','BS_A11Y_JWT','bestPractice','vBpDi','HAtlC','QTMAP','accessibilityPlatform','30JFbhIp','195572cMGwpY','186CqvhGT','wEWIT','wiJtu','raMtl','sCqoF','iJzkp','browser_version','2085992HSYVth','use','3190lKAZNu','GhUgo','wcagVersion','hAJaR','jarOh','project','CSsnZ','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','scannerProcessingTimeout','getAccessibilityResultsSummary','includeIssueType','No\x20summaryResults\x20found.','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','CaVFp','WebDriver','rwoXC','mjpEn','parse','warn','pmgQe','debug','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','860673mJTmhQ','getAccessibilityResults','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.authToken','name','DXoeq','TMucT','accessibilityOptions.includeIssueType.needsReview','method','AIHXw','deviceName','VIOoN','env','ODMWG','browserStackExecuteDriver','accessibilityOptions','goUtS','setAccessibilityCapabilities','accessibilityOptions.includeIssueType.bestPractice','constructor','EiMkk','wsEndpoint','2096vYxmye','accessibilityOptions.scannerVersion','AHNzx','stringify','workerInfo','replace','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','performScan','bstackSdkArgs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','UoLcl','evaluate','sjCXw','oViKN','ztdjP','scannerVersion','sLvBd','VIEkw','rPGsL','rEgEl','../../helpers/helper','71667PcMLIW','1359HsPZzC','7WpKeLO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','latest'];a34_0x2b32=function(){return _0x141df2;};return a34_0x2b32();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x1af99a=a35_0x3594;function a35_0x3594(_0x4b62f8,_0x579910){const _0x2cc9ae=a35_0x2cc9();return a35_0x3594=function(_0x35948e,_0x319efb){_0x35948e=_0x35948e-0x117;let _0x92477b=_0x2cc9ae[_0x35948e];return _0x92477b;},a35_0x3594(_0x4b62f8,_0x579910);}(function(_0x1368b4,_0x4accd9){const _0x4a68c9=a35_0x3594,_0xf75e19=_0x1368b4();while(!![]){try{const _0x5aedc3=-parseInt(_0x4a68c9(0x12d))/0x1+parseInt(_0x4a68c9(0x199))/0x2+parseInt(_0x4a68c9(0x11e))/0x3+-parseInt(_0x4a68c9(0x13b))/0x4+-parseInt(_0x4a68c9(0x11c))/0x5*(-parseInt(_0x4a68c9(0x13e))/0x6)+-parseInt(_0x4a68c9(0x167))/0x7*(parseInt(_0x4a68c9(0x1a6))/0x8)+parseInt(_0x4a68c9(0x193))/0x9;if(_0x5aedc3===_0x4accd9)break;else _0xf75e19['push'](_0xf75e19['shift']());}catch(_0x26fb55){_0xf75e19['push'](_0xf75e19['shift']());}}}(a35_0x2cc9,0x4ccb4));function a35_0x2cc9(){const _0x589943=['indexOf','Deleting\x20','existsSync','Pofkk','ZegXE','eZIyJ','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_RERUN_TESTS','--disable-browserstack-automation','cwd','USER_CONFIG_DETAILS_PATH','stop','Updated\x20config\x20file\x20name\x20to\x20-\x20','.browserstack','--config=','HiAUe','push','saFIU','startsWith','error','../../helpers/helper','RtJVr','apply','isFalse','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','writeFileSync','inherit','win32','rRJqZ','../utils/constants','util','child_process','aSQwn','resolve','isTrue','accessibilityOptions','10311zcXZQn','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','tkYaq','aoxum','XPLck','testContextOptions','Betbx','NAzDd','playwright','serializeToYamlString','true','--grep','yUHmt','OneKd','wjrty','eCaxB','../../helpers/test-observability/utils','nestedKeyValue','join','./accessibility-helper','eeQPM','aixtc','--config','../../helpers/testhub/testhubHandler','DhbDk','rxUXi','dirname','VzXtv','MODULE','BROWSERSTACK_SETUP_CONFIG_PATH','skipSessionName','Error\x20in\x20deleting\x20playwright\x20results','info','testObservability','orEAq','clearTempPWConfig','automation','yvUDZ','--disable-test-observability','markSDKSetupComplete','assign','isTypescriptProject','oTesO','8615340JRDzpi','npx','../../helpers/test-observability/constants','BROWSERSTACK_AUTOMATION','exitCode','getConfigPath','477096uhjhbQ','filter','homedir','gpsZb','eMOrb','accessibility','LVZvT','qOgTR','Ijmus','PLAYWRIGHT','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','map','argv','3112SJSakH','OCpps','isUndefined','ZkuDa','has','DwYRQ','splice','YqrTS','config','requirePWModule','XAHcV','bfNxa','AkhVV','../../helpers/logger','debug','fxddj','48305wPKQIr','split','280794QnhpgZ','skipSessionStatus','../../helpers/accessibility-automation/helper','playwright-browserstack-sdk.config.cjs','exports','readFileSync','Vtsdv','TbETe','path','finalExecution','Error\x20in\x20getting\x20funnel\x20data\x20results','trim','PACKAGE_TYPE','Fzfmz','4|7|0|1|5|8|3|6|2','306725Vgdrbx','initialize','../../helpers/test-observability/error-handler','BROWSERSTACK_PW_CONFIG_DIR','rgtqW','includes','POhQM','false','env','length','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','Error\x20in\x20closing\x20playwright','launchBuild','test','1114780DPTxUX','BROWSERSTACK_TEST_OBSERVABILITY','browserstackSetupConfig.json','114fOJlIN','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_RERUN','cliConfig','slice'];a35_0x2cc9=function(){return _0x589943;};return a35_0x2cc9();}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x1af99a(0x162)),{format}=require(a35_0x1af99a(0x161)),logger=require(a35_0x1af99a(0x119))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x1af99a(0x157)),utilities=require('../../helpers/utilities'),constants=require(a35_0x1af99a(0x160)),{FRAMEWORKS}=require(a35_0x1af99a(0x195)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require(a35_0x1af99a(0x12f)),{getFrameworkVersion}=require(a35_0x1af99a(0x178)),{checkAccessibilityPlatformConfig}=require(a35_0x1af99a(0x120)),{setAccessibilityCapabilities}=require(a35_0x1af99a(0x17b)),TestHubHandler=require(a35_0x1af99a(0x17f)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),getUserPlaywrightConfig=async(_0x1aa8ab,_0x242900)=>{const _0x4a9e5c=a35_0x1af99a,_0x1bdc42={'ZkuDa':function(_0xaa8c97){return _0xaa8c97();},'aixtc':function(_0x404f5c,_0x689b98){return _0x404f5c(_0x689b98);},'ZegXE':'resolvedConfigFile','Ijmus':_0x4a9e5c(0x151)},_0x5bce4d=!helper['isUndefined'](_0x1aa8ab[_0x4a9e5c(0x1ae)]),_0x46655f=_0x5bce4d?path[_0x4a9e5c(0x164)](process[_0x4a9e5c(0x14c)](),_0x1aa8ab[_0x4a9e5c(0x1ae)]):process[_0x4a9e5c(0x14c)](),{resolveConfigFile:_0xac5913,resolveConfigLocation:_0x42dcfd}=helper[_0x4a9e5c(0x1af)][_0x4a9e5c(0x159)](null,_0x1bdc42[_0x4a9e5c(0x1a9)](getConfigLoaderPath)),_0x297ec6=_0xac5913?_0x1bdc42[_0x4a9e5c(0x17d)](_0xac5913,_0x46655f):helper[_0x4a9e5c(0x179)](_0x1bdc42['aixtc'](_0x42dcfd,_0x46655f),[_0x1bdc42[_0x4a9e5c(0x147)]]),_0x26ecf8={};if(_0x5bce4d){const _0x50f325=_0x242900['findIndex'](_0x17ad88=>_0x17ad88===_0x4a9e5c(0x17e)||_0x17ad88==='-c'||_0x17ad88[_0x4a9e5c(0x155)](_0x4a9e5c(0x151)));_0x242900[_0x4a9e5c(0x1ac)](_0x50f325,_0x242900[_0x50f325][_0x4a9e5c(0x155)](_0x1bdc42[_0x4a9e5c(0x1a1)])?0x1:0x2);}const _0x3dd4ec={};return _0x3dd4ec[_0x4a9e5c(0x126)]=_0x297ec6,_0x3dd4ec[_0x4a9e5c(0x1ae)]=_0x26ecf8,_0x3dd4ec;},handleO11yRerun=_0x40297c=>{const _0x6c2e3=a35_0x1af99a,_0x1e2f66={};_0x1e2f66[_0x6c2e3(0x176)]=function(_0x5d1fe5,_0x1314b5){return _0x5d1fe5!==_0x1314b5;},_0x1e2f66[_0x6c2e3(0x16e)]='null',_0x1e2f66['eevZH']=_0x6c2e3(0x173);const _0x23302e=_0x1e2f66,_0x2abb85=helper[_0x6c2e3(0x165)](process[_0x6c2e3(0x135)][_0x6c2e3(0x140)]);if(_0x2abb85){const _0x2a08f9=process[_0x6c2e3(0x135)][_0x6c2e3(0x14a)],_0x5ea7ce=[];if(_0x23302e['wjrty'](_0x2a08f9,_0x23302e[_0x6c2e3(0x16e)])&&!helper[_0x6c2e3(0x1a8)](_0x2a08f9)){_0x2a08f9['split'](',')[_0x6c2e3(0x1a4)](_0x1adce5=>{const _0x6c115f=_0x6c2e3;_0x5ea7ce[_0x6c115f(0x153)]('('+_0x1adce5[_0x6c115f(0x129)]()+')');});const _0x3c6235='^'+_0x5ea7ce[_0x6c2e3(0x17a)]('|')+'$';_0x40297c[_0x6c2e3(0x153)](_0x23302e['eevZH'],_0x3c6235);}}},spawnOriginalProcess=_0x1edae1=>{const _0x4d912e=a35_0x1af99a,_0x29a2a2={'POhQM':function(_0x173c3a,_0x304227,_0x4108cf,_0x303d43){return _0x173c3a(_0x304227,_0x4108cf,_0x303d43);},'XAHcV':_0x4d912e(0x194),'yUHmt':_0x4d912e(0x170),'ydXAq':function(_0x3efb49,_0x12dc7d){return _0x3efb49===_0x12dc7d;},'CqmAl':'win32','aSQwn':_0x4d912e(0x15d)};_0x29a2a2[_0x4d912e(0x133)](spawn,_0x29a2a2[_0x4d912e(0x1b0)],[_0x29a2a2[_0x4d912e(0x174)],..._0x1edae1['slice'](0x1)],{'shell':_0x29a2a2['ydXAq'](process['platform'],_0x29a2a2['CqmAl']),'stdio':_0x29a2a2[_0x4d912e(0x163)],'cwd':process['cwd']()});},isTestCommand=(_0x284ce1,_0x12492d)=>{const _0x513fe8=a35_0x1af99a,_0x19adb4={};_0x19adb4['eeQPM']=function(_0x392f75,_0x367a69){return _0x392f75>_0x367a69;},_0x19adb4[_0x513fe8(0x131)]=function(_0x511308,_0x317c5d){return _0x511308===_0x317c5d;},_0x19adb4[_0x513fe8(0x1ab)]='test';const _0x2fd1f1=_0x19adb4;if(_0x2fd1f1[_0x513fe8(0x17c)](_0x12492d[_0x513fe8(0x136)],0x1)&&_0x2fd1f1[_0x513fe8(0x131)](_0x12492d[0x1],_0x2fd1f1[_0x513fe8(0x1ab)]))return!![];return![];};async function run(_0x2b9035,_0x4a4ebd){const _0x51aeab=a35_0x1af99a,_0x2b51a7={'RtJVr':_0x51aeab(0x150),'Vtsdv':'pw_result.json','YqrTS':function(_0x4aeff2,_0x3fe640){return _0x4aeff2+_0x3fe640;},'gpsZb':_0x51aeab(0x128),'FSxGu':_0x51aeab(0x12c),'rxUXi':function(_0x5d2aa0){return _0x5d2aa0();},'lHsBn':_0x51aeab(0x138),'eZIyJ':_0x51aeab(0x14b),'AkhVV':_0x51aeab(0x134),'wHiqg':_0x51aeab(0x18e),'NAzDd':function(_0xb5741e,_0x2d6833){return _0xb5741e>=_0x2d6833;},'tkYaq':_0x51aeab(0x187),'eCaxB':function(_0x36fbd8,_0x13c853,_0x2247db){return _0x36fbd8(_0x13c853,_0x2247db);},'HiAUe':function(_0x18ac70,_0xa11f12){return _0x18ac70(_0xa11f12);},'eMOrb':_0x51aeab(0x149),'vVEyZ':_0x51aeab(0x18c),'XPLck':function(_0x888102,_0x53cb88){return _0x888102!=_0x53cb88;},'oTesO':function(_0x10540b,_0x5dcade,_0x222d9a){return _0x10540b(_0x5dcade,_0x222d9a);},'bfNxa':function(_0x46be15,_0xe6bf36){return _0x46be15===_0xe6bf36;},'Bvfmv':_0x51aeab(0x172),'rvLkG':function(_0x4c194c,_0x41813b){return _0x4c194c(_0x41813b);},'DhbDk':function(_0x4b41a7,_0x3cbfc6){return _0x4b41a7(_0x3cbfc6);},'OneKd':_0x51aeab(0x13d),'VzXtv':function(_0x2df151,_0x114a29){return _0x2df151===_0x114a29;},'saFIU':_0x51aeab(0x121),'TbETe':'playwright-browserstack-sdk.config.js','orEAq':function(_0xf09035,_0xaa9779){return _0xf09035-_0xaa9779;},'fxddj':function(_0x3ad2f4,_0x1d0551){return _0x3ad2f4+_0x1d0551;},'rRJqZ':_0x51aeab(0x14f),'LVZvT':function(_0x5ce680,_0x334fb9){return _0x5ce680>_0x334fb9;},'Pofkk':function(_0x17c34d,_0x4b2365){return _0x17c34d+_0x4b2365;},'qOgTR':function(_0x39e89c,_0x4915ec,_0x56dd00,_0x570cb3){return _0x39e89c(_0x4915ec,_0x56dd00,_0x570cb3);},'aoxum':'npx','bXszw':_0x51aeab(0x170),'OCpps':_0x51aeab(0x13a),'wOXWL':_0x51aeab(0x17e),'Fzfmz':_0x51aeab(0x15e),'ikoVw':_0x51aeab(0x15d),'yvUDZ':'close'};!helper[_0x51aeab(0x15a)](process[_0x51aeab(0x135)][_0x51aeab(0x196)])&&(process[_0x51aeab(0x135)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x51aeab(0x1a5)][_0x51aeab(0x132)](_0x2b51a7[_0x51aeab(0x148)])&&(process[_0x51aeab(0x135)][_0x51aeab(0x196)]=_0x2b51a7['AkhVV'],_0x4a4ebd=_0x4a4ebd[_0x51aeab(0x19a)](_0x1e7c20=>_0x1e7c20!=='--disable-browserstack-automation'));const _0x2efe9c=_0x4a4ebd[_0x51aeab(0x143)](_0x2b51a7['wHiqg']);_0x2b51a7[_0x51aeab(0x16f)](_0x2efe9c,0x0)&&(process[_0x51aeab(0x135)][_0x51aeab(0x13c)]=_0x2b51a7[_0x51aeab(0x118)],_0x4a4ebd=_0x4a4ebd[_0x51aeab(0x19a)](_0x3b4ac2=>_0x3b4ac2!==_0x51aeab(0x18e)));try{const _0x1797ab=path[_0x51aeab(0x17a)](helper['homedir'](),_0x2b51a7['RtJVr'],_0x2b51a7[_0x51aeab(0x124)]);fs[_0x51aeab(0x145)](_0x1797ab)&&fs['unlinkSync'](_0x1797ab);}catch(_0x5b153a){logger[_0x51aeab(0x11a)](_0x2b51a7['YqrTS'](_0x2b51a7[_0x51aeab(0x16a)],_0x5b153a));}if(!_0x2b51a7[_0x51aeab(0x177)](isTestCommand,_0x2b9035,_0x4a4ebd)){_0x2b51a7['HiAUe'](spawnOriginalProcess,_0x4a4ebd);return;}const _0x4db6ba=new BrowserStackSetup(_0x2b9035,FRAMEWORKS[_0x51aeab(0x1a2)]);if(!_0x4db6ba[_0x51aeab(0x1ae)]){logger[_0x51aeab(0x156)](_0x2b51a7[_0x51aeab(0x19d)]);return;}await _0x4db6ba[_0x51aeab(0x12e)]();!helper[_0x51aeab(0x1a8)](_0x4db6ba[_0x51aeab(0x141)])&&_0x4db6ba[_0x51aeab(0x141)][_0x51aeab(0x1aa)](_0x2b51a7['vVEyZ'])&&(process[_0x51aeab(0x135)][_0x51aeab(0x196)]=_0x4db6ba[_0x51aeab(0x141)]['get'](_0x2b51a7['vVEyZ'])||!![]);_0x2b51a7[_0x51aeab(0x16c)](_0x4db6ba[_0x51aeab(0x1ae)]['testObservability'],null)&&!helper['isTrue'](process[_0x51aeab(0x135)][_0x51aeab(0x13c)])&&(process['env'][_0x51aeab(0x13c)]=process[_0x51aeab(0x135)][_0x51aeab(0x13c)]||_0x4db6ba['config'][_0x51aeab(0x189)]);const _0x4c1889=!helper['isFalse'](process[_0x51aeab(0x135)][_0x51aeab(0x13c)]);let _0x3ed666=![];_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x19e)]&&(_0x3ed666=!![],process[_0x51aeab(0x135)][_0x51aeab(0x169)]=_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x19e)]);_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x166)]&&(process[_0x51aeab(0x135)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4db6ba['config'][_0x51aeab(0x166)]));const _0x2214ad=_0x4a4ebd['concat'](),_0x36c2a8=await _0x2b51a7[_0x51aeab(0x192)](getUserPlaywrightConfig,_0x2b9035,_0x4a4ebd);if(helper[_0x51aeab(0x1a8)](_0x36c2a8)){_0x2b51a7['HiAUe'](spawnOriginalProcess,_0x2214ad);return;}const _0x3180cc=_0x36c2a8[_0x51aeab(0x126)]?path[_0x51aeab(0x182)](_0x36c2a8[_0x51aeab(0x126)]):process[_0x51aeab(0x14c)]();process[_0x51aeab(0x135)][_0x51aeab(0x130)]=_0x3180cc,await TestHubHandler[_0x51aeab(0x139)](FRAMEWORKS[_0x51aeab(0x1a2)],_0x4db6ba);_0x4c1889&&_0x2b51a7[_0x51aeab(0x152)](handleO11yRerun,_0x4a4ebd);let _0x456cae=_0x2b51a7[_0x51aeab(0x117)](process[_0x51aeab(0x135)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2b51a7['Bvfmv']);_0x456cae=_0x456cae||_0x2b51a7['rvLkG'](checkAccessibilityPlatformConfig,_0x4db6ba[_0x51aeab(0x1ae)]),process[_0x51aeab(0x135)][_0x51aeab(0x169)]=_0x456cae;_0x456cae&&_0x2b51a7[_0x51aeab(0x180)](setAccessibilityCapabilities,_0x4db6ba['config']);const _0x2b1923=path[_0x51aeab(0x17a)](_0x36c2a8[_0x51aeab(0x126)]?path[_0x51aeab(0x182)](_0x36c2a8['path']):process[_0x51aeab(0x14c)](),_0x2b51a7[_0x51aeab(0x175)]);fs['writeFileSync'](_0x2b1923,helper[_0x51aeab(0x171)](_0x4db6ba['config'])),process[_0x51aeab(0x135)][_0x51aeab(0x185)]=_0x2b1923,helper[_0x51aeab(0x18b)]();let _0x2fe2c7='';_0x2b51a7['VzXtv'](helper['getPackageType'](),constants[_0x51aeab(0x12a)][_0x51aeab(0x184)])?_0x2fe2c7=_0x2b51a7[_0x51aeab(0x154)]:_0x2fe2c7=_0x2b51a7[_0x51aeab(0x125)];let _0x3a64cb='';if(helper[_0x51aeab(0x191)](_0x36c2a8[_0x51aeab(0x126)])){_0x3a64cb=_0x51aeab(0x137);const _0x59eccf=_0x2fe2c7[_0x51aeab(0x11d)]('.');_0x59eccf[_0x2b51a7[_0x51aeab(0x18a)](_0x59eccf['length'],0x1)]='ts',_0x2fe2c7=_0x59eccf['join']('.'),logger[_0x51aeab(0x11a)](_0x2b51a7[_0x51aeab(0x11b)](_0x2b51a7[_0x51aeab(0x15f)],_0x2fe2c7));}else _0x3a64cb=_0x51aeab(0x15b);const _0x3e0e94=path[_0x51aeab(0x17a)](_0x36c2a8[_0x51aeab(0x126)]?path[_0x51aeab(0x182)](_0x36c2a8['path']):process[_0x51aeab(0x14c)](),_0x2fe2c7);let _0x9f10bf=_0x36c2a8[_0x51aeab(0x126)]?_0x36c2a8[_0x51aeab(0x126)]:'';_0x9f10bf=_0x2b51a7[_0x51aeab(0x19f)](_0x9f10bf[_0x51aeab(0x136)],0x0)?path[_0x51aeab(0x164)](_0x9f10bf):'',process['env'][_0x51aeab(0x14d)]=_0x9f10bf;const _0x21c4b3=helper['getProxyUrl'](_0x4db6ba[_0x51aeab(0x1ae)]);_0x21c4b3&&(_0x3a64cb=_0x2b51a7[_0x51aeab(0x146)](_0x51aeab(0x1a3)+_0x21c4b3+'\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();',_0x3a64cb));helper['filterBrowserstackArgs']({},_0x4a4ebd),fs[_0x51aeab(0x15c)](_0x3e0e94,_0x3a64cb),helper[_0x51aeab(0x18f)]();const _0x2e821a=_0x2b51a7[_0x51aeab(0x1a0)](spawn,_0x2b51a7[_0x51aeab(0x16b)],[_0x2b51a7['bXszw'],_0x2b51a7[_0x51aeab(0x1a7)],_0x2b51a7['wOXWL'],_0x3e0e94,..._0x4a4ebd[_0x51aeab(0x142)](0x2)],{'shell':_0x2b51a7[_0x51aeab(0x183)](process['platform'],_0x2b51a7[_0x51aeab(0x12b)]),'stdio':_0x2b51a7['ikoVw'],'cwd':process[_0x51aeab(0x14c)](),'env':Object[_0x51aeab(0x190)]({},process[_0x51aeab(0x135)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x51aeab(0x198)](_0x2b9035),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x16d)][_0x51aeab(0x11f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x16d)][_0x51aeab(0x186)],'BROWSERSTACK_LOG_LEVEL':_0x4db6ba[_0x51aeab(0x1ae)]['logLevel']})}),_0x4e8b43=()=>{const _0x1dca64=_0x51aeab;try{const _0x320cf8=path[_0x1dca64(0x17a)](helper[_0x1dca64(0x19b)](),_0x2b51a7[_0x1dca64(0x158)],_0x2b51a7[_0x1dca64(0x124)]);if(fs[_0x1dca64(0x145)](_0x320cf8)){let _0x284db1=fs[_0x1dca64(0x123)](_0x320cf8);_0x284db1=JSON['parse'](_0x284db1),_0x4db6ba['errorMessage']=_0x284db1,fs['unlinkSync'](_0x320cf8);}}catch(_0x2c3e1a){logger['debug'](_0x2b51a7[_0x1dca64(0x1ad)](_0x2b51a7[_0x1dca64(0x19c)],_0x2c3e1a));}};_0x2e821a['on'](_0x2b51a7[_0x51aeab(0x18d)],async _0x4c4c9b=>{const _0x5bd46b=_0x51aeab;try{const _0x5849d3=_0x2b51a7['FSxGu'][_0x5bd46b(0x11d)]('|');let _0x11674c=0x0;while(!![]){switch(_0x5849d3[_0x11674c++]){case'0':await utilities[_0x5bd46b(0x127)](_0x4db6ba);continue;case'1':process[_0x5bd46b(0x197)]=_0x4c4c9b;continue;case'2':fs['unlinkSync'](_0x2b1923);continue;case'3':fs[_0x5bd46b(0x168)](_0x3e0e94);continue;case'4':_0x2b51a7[_0x5bd46b(0x181)](_0x4e8b43);continue;case'5':logger[_0x5bd46b(0x11a)](_0x5bd46b(0x13f)+_0x4c4c9b);continue;case'6':logger['debug'](_0x5bd46b(0x144)+_0x2b1923);continue;case'7':await TestHubHandler[_0x5bd46b(0x14e)]();continue;case'8':logger[_0x5bd46b(0x188)]('Deleting\x20'+_0x3e0e94);continue;}break;}}catch(_0x4bd9f3){logger[_0x5bd46b(0x11a)](_0x2b51a7[_0x5bd46b(0x1ad)](_0x2b51a7['lHsBn'],_0x4bd9f3));}});}module[a35_0x1af99a(0x122)]=run;
2
+ 'use strict';function a35_0x3d5d(_0x87f29d,_0x4f11d7){const _0x88eb73=a35_0x88eb();return a35_0x3d5d=function(_0x3d5d70,_0x506a77){_0x3d5d70=_0x3d5d70-0x10d;let _0x4dfa56=_0x88eb73[_0x3d5d70];return _0x4dfa56;},a35_0x3d5d(_0x87f29d,_0x4f11d7);}const a35_0x330c14=a35_0x3d5d;(function(_0x96981d,_0x549b8c){const _0x27ccb9=a35_0x3d5d,_0x1262ab=_0x96981d();while(!![]){try{const _0x533ac1=parseInt(_0x27ccb9(0x166))/0x1*(-parseInt(_0x27ccb9(0x137))/0x2)+-parseInt(_0x27ccb9(0x132))/0x3+-parseInt(_0x27ccb9(0x18e))/0x4+-parseInt(_0x27ccb9(0x116))/0x5*(parseInt(_0x27ccb9(0x18b))/0x6)+parseInt(_0x27ccb9(0x170))/0x7+parseInt(_0x27ccb9(0x1af))/0x8+parseInt(_0x27ccb9(0x163))/0x9;if(_0x533ac1===_0x549b8c)break;else _0x1262ab['push'](_0x1262ab['shift']());}catch(_0x16ba4d){_0x1262ab['push'](_0x1262ab['shift']());}}}(a35_0x88eb,0x71df3));const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x330c14(0x157)),{format}=require(a35_0x330c14(0x1b3)),logger=require(a35_0x330c14(0x15f))[a35_0x330c14(0x140)],{default:BrowserStackSetup}=require(a35_0x330c14(0x1a3)),helper=require(a35_0x330c14(0x14d)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x330c14(0x151)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x330c14(0x1a0)),{CrashReporter}=require(a35_0x330c14(0x194)),{getFrameworkVersion}=require(a35_0x330c14(0x18f)),{checkAccessibilityPlatformConfig}=require(a35_0x330c14(0x18c)),{setAccessibilityCapabilities}=require(a35_0x330c14(0x1a2)),TestHubHandler=require(a35_0x330c14(0x138)),{shouldProcessEventForTesthub}=require(a35_0x330c14(0x13d)),getUserPlaywrightConfig=async(_0x3d154c,_0x3c8572)=>{const _0x492b11=a35_0x330c14,_0x287106={'emBDy':function(_0x409765){return _0x409765();},'WYhpY':function(_0x20c5b5,_0x2ddd16){return _0x20c5b5(_0x2ddd16);},'sLuJu':function(_0xe02d39,_0x596f50){return _0xe02d39(_0x596f50);},'BGzMT':_0x492b11(0x133),'wCcpK':_0x492b11(0x143)},_0x2192c2=!helper['isUndefined'](_0x3d154c[_0x492b11(0x12e)]),_0x1157f3=_0x2192c2?path[_0x492b11(0x136)](process[_0x492b11(0x174)](),_0x3d154c[_0x492b11(0x12e)]):process[_0x492b11(0x174)](),{resolveConfigFile:_0x33bef8,resolveConfigLocation:_0x56b37d}=helper[_0x492b11(0x16e)][_0x492b11(0x12c)](null,_0x287106[_0x492b11(0x150)](getConfigLoaderPath)),_0x89d9ec=_0x33bef8?_0x287106[_0x492b11(0x17a)](_0x33bef8,_0x1157f3):helper[_0x492b11(0x162)](_0x287106[_0x492b11(0x122)](_0x56b37d,_0x1157f3),[_0x287106[_0x492b11(0x13f)]]),_0x375d8d={};if(_0x2192c2){const _0x294fde=_0x3c8572[_0x492b11(0x15c)](_0x17c20a=>_0x17c20a===_0x492b11(0x11f)||_0x17c20a==='-c'||_0x17c20a[_0x492b11(0x12b)](_0x492b11(0x143)));_0x3c8572[_0x492b11(0x1a9)](_0x294fde,_0x3c8572[_0x294fde][_0x492b11(0x12b)](_0x287106[_0x492b11(0x14e)])?0x1:0x2);}const _0x346598={};return _0x346598[_0x492b11(0x188)]=_0x89d9ec,_0x346598['config']=_0x375d8d,_0x346598;},handleO11yRerun=_0x405317=>{const _0x5742bd=a35_0x330c14,_0x275829={};_0x275829[_0x5742bd(0x15d)]=function(_0xa55f08,_0xd4e0ee){return _0xa55f08!==_0xd4e0ee;},_0x275829['DgYjw']=_0x5742bd(0x197),_0x275829[_0x5742bd(0x160)]='--grep';const _0x55a378=_0x275829,_0x4c1add=helper[_0x5742bd(0x17f)](process[_0x5742bd(0x16c)][_0x5742bd(0x173)]);if(_0x4c1add){const _0xa64796=process['env'][_0x5742bd(0x1b0)],_0x57f2a4=[];if(_0x55a378[_0x5742bd(0x15d)](_0xa64796,_0x55a378[_0x5742bd(0x15e)])&&!helper['isUndefined'](_0xa64796)){_0xa64796[_0x5742bd(0x10d)](',')[_0x5742bd(0x155)](_0x3f98db=>{const _0x5c3d36=_0x5742bd;_0x57f2a4[_0x5c3d36(0x180)]('('+_0x3f98db['trim']()+')');});const _0x33b55c='^'+_0x57f2a4[_0x5742bd(0x193)]('|')+'$';_0x405317['push'](_0x55a378['Dkbdr'],_0x33b55c);}}},spawnOriginalProcess=_0x2e38d0=>{const _0x42afa6=a35_0x330c14,_0x916ebc={'MmnwV':function(_0x17c777,_0xe3aff8,_0x5de025,_0x42484b){return _0x17c777(_0xe3aff8,_0x5de025,_0x42484b);},'pEsTf':_0x42afa6(0x152),'GMMfN':_0x42afa6(0x18d),'EoJfO':function(_0x4bfe8c,_0xea0f5e){return _0x4bfe8c===_0xea0f5e;},'rCflT':_0x42afa6(0x127),'nOcYq':_0x42afa6(0x190)};_0x916ebc['MmnwV'](spawn,_0x916ebc[_0x42afa6(0x16d)],[_0x916ebc['GMMfN'],..._0x2e38d0[_0x42afa6(0x19b)](0x1)],{'shell':_0x916ebc[_0x42afa6(0x19d)](process[_0x42afa6(0x1a8)],_0x916ebc['rCflT']),'stdio':_0x916ebc[_0x42afa6(0x118)],'cwd':process[_0x42afa6(0x174)]()});},isTestCommand=(_0x1d1dd4,_0x27a26d)=>{const _0x18bfc8=a35_0x330c14,_0x1790da={};_0x1790da['ViMrC']=function(_0x3e7b6e,_0x28b38f){return _0x3e7b6e>_0x28b38f;},_0x1790da[_0x18bfc8(0x158)]=function(_0x3a4987,_0x5563f7){return _0x3a4987===_0x5563f7;},_0x1790da[_0x18bfc8(0x177)]=_0x18bfc8(0x1ad);const _0x471665=_0x1790da;if(_0x471665[_0x18bfc8(0x195)](_0x27a26d[_0x18bfc8(0x15b)],0x1)&&_0x471665[_0x18bfc8(0x158)](_0x27a26d[0x1],_0x471665['IjfWp']))return!![];return![];};async function run(_0x3666e3,_0x2ac19a){const _0x4fffdf=a35_0x330c14,_0xfefdb={'BypjY':_0x4fffdf(0x146),'zKBjr':_0x4fffdf(0x14c),'qWbFu':function(_0xfdc5c1,_0xa98593){return _0xfdc5c1+_0xa98593;},'IaBNP':_0x4fffdf(0x135),'jbhFP':_0x4fffdf(0x168),'HDtoJ':function(_0x4a89c1){return _0x4a89c1();},'EaDaV':'Error\x20in\x20closing\x20playwright','dVTBD':_0x4fffdf(0x184),'GuqoO':'false','YnoZW':'--disable-test-observability','dghFC':function(_0x30190b,_0x5a6f3f){return _0x30190b>=_0x5a6f3f;},'lsEyk':function(_0x18325c,_0x3fceaa){return _0x18325c+_0x3fceaa;},'eUILE':_0x4fffdf(0x178),'oCpVs':function(_0x253f01,_0x8eeac1,_0x5c330e){return _0x253f01(_0x8eeac1,_0x5c330e);},'Gpmrn':function(_0x48a0b8,_0x1d753a){return _0x48a0b8(_0x1d753a);},'ikpKw':_0x4fffdf(0x19f),'hOKyd':_0x4fffdf(0x142),'ZMNND':function(_0x279adb,_0x800f1){return _0x279adb!=_0x800f1;},'WErkV':function(_0x5eb339,_0x126e9a,_0x4a04d8){return _0x5eb339(_0x126e9a,_0x4a04d8);},'oiBqn':function(_0x297448,_0x48d219){return _0x297448(_0x48d219);},'jqLmP':function(_0x49f761,_0xc2d72f){return _0x49f761===_0xc2d72f;},'lPcNX':_0x4fffdf(0x124),'jQuop':function(_0x224f80,_0x54f64f){return _0x224f80(_0x54f64f);},'pxFLK':_0x4fffdf(0x119),'TRmBg':function(_0x19b0c3,_0x3b0d0c){return _0x19b0c3===_0x3b0d0c;},'UuOPc':_0x4fffdf(0x171),'AYmMp':_0x4fffdf(0x14a),'vncRH':function(_0x488492,_0x22e970){return _0x488492-_0x22e970;},'aDRfF':_0x4fffdf(0x191),'ZUsgc':function(_0x155a97,_0x4b1387){return _0x155a97>_0x4b1387;},'czjoM':function(_0x3750e1,_0x1c84dc){return _0x3750e1+_0x1c84dc;},'VjjCo':function(_0xe15d02,_0x2132dd,_0x35a736,_0x4efc3b){return _0xe15d02(_0x2132dd,_0x35a736,_0x4efc3b);},'iypgI':'npx','AuZme':_0x4fffdf(0x18d),'YVutT':_0x4fffdf(0x1ad),'fGQfq':_0x4fffdf(0x11f),'ZvUWk':function(_0x5749f9,_0x4c9e69){return _0x5749f9===_0x4c9e69;},'fxwAp':_0x4fffdf(0x127),'tCfUQ':_0x4fffdf(0x190),'CIZqD':_0x4fffdf(0x1ae)};!helper[_0x4fffdf(0x111)](process[_0x4fffdf(0x16c)][_0x4fffdf(0x125)])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_AUTOMATION']=!![]);process['argv'][_0x4fffdf(0x16b)](_0xfefdb[_0x4fffdf(0x16f)])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_AUTOMATION']=_0xfefdb['GuqoO'],_0x2ac19a=_0x2ac19a[_0x4fffdf(0x1aa)](_0xbc260a=>_0xbc260a!==_0x4fffdf(0x184)));const _0xdaa8b8=_0x2ac19a[_0x4fffdf(0x134)](_0xfefdb['YnoZW']);_0xfefdb[_0x4fffdf(0x17c)](_0xdaa8b8,0x0)&&(process[_0x4fffdf(0x16c)][_0x4fffdf(0x12a)]=_0xfefdb[_0x4fffdf(0x182)],_0x2ac19a=_0x2ac19a['filter'](_0x159b85=>_0x159b85!==_0x4fffdf(0x120)));try{const _0xd20abe=path['join'](helper['homedir'](),_0xfefdb[_0x4fffdf(0x129)],_0xfefdb[_0x4fffdf(0x147)]);fs[_0x4fffdf(0x11d)](_0xd20abe)&&fs[_0x4fffdf(0x126)](_0xd20abe);}catch(_0x49ba9e){logger[_0x4fffdf(0x1b1)](_0xfefdb[_0x4fffdf(0x11b)](_0xfefdb[_0x4fffdf(0x192)],_0x49ba9e));}if(!_0xfefdb[_0x4fffdf(0x14f)](isTestCommand,_0x3666e3,_0x2ac19a)){_0xfefdb[_0x4fffdf(0x164)](spawnOriginalProcess,_0x2ac19a);return;}const _0x505709=new BrowserStackSetup(_0x3666e3,FRAMEWORKS['PLAYWRIGHT']);if(!_0x505709[_0x4fffdf(0x12e)]){logger[_0x4fffdf(0x199)](_0xfefdb[_0x4fffdf(0x10f)]);return;}await _0x505709[_0x4fffdf(0x156)]();!helper[_0x4fffdf(0x145)](_0x505709['cliConfig'])&&_0x505709['cliConfig'][_0x4fffdf(0x189)](_0xfefdb[_0x4fffdf(0x183)])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_AUTOMATION']=_0x505709[_0x4fffdf(0x121)][_0x4fffdf(0x176)](_0xfefdb[_0x4fffdf(0x183)])||!![]);_0xfefdb['ZMNND'](_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x13c)],null)&&!helper[_0x4fffdf(0x17f)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x4fffdf(0x16c)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env'][_0x4fffdf(0x12a)]||_0x505709[_0x4fffdf(0x12e)]['testObservability']);const _0x336db2=!helper[_0x4fffdf(0x111)](process[_0x4fffdf(0x16c)][_0x4fffdf(0x12a)]);let _0x1d8dba=![];_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x196)]&&(_0x1d8dba=!![],process[_0x4fffdf(0x16c)][_0x4fffdf(0x175)]=_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x196)]);_0x505709['config'][_0x4fffdf(0x159)]&&(process[_0x4fffdf(0x16c)][_0x4fffdf(0x169)]=JSON[_0x4fffdf(0x13b)](_0x505709['config'][_0x4fffdf(0x159)]));const _0x4340ba=_0x2ac19a[_0x4fffdf(0x130)](),_0x175d42=await _0xfefdb['WErkV'](getUserPlaywrightConfig,_0x3666e3,_0x2ac19a);if(helper[_0x4fffdf(0x145)](_0x175d42)){_0xfefdb[_0x4fffdf(0x164)](spawnOriginalProcess,_0x4340ba);return;}const _0x24b276=_0x175d42['path']?path['dirname'](_0x175d42[_0x4fffdf(0x188)]):process['cwd']();process[_0x4fffdf(0x16c)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x24b276,await TestHubHandler[_0x4fffdf(0x1a6)](FRAMEWORKS[_0x4fffdf(0x153)],_0x505709);_0x336db2&&_0xfefdb[_0x4fffdf(0x16a)](handleO11yRerun,_0x2ac19a);let _0x24d6a2=_0xfefdb[_0x4fffdf(0x1a5)](process[_0x4fffdf(0x16c)][_0x4fffdf(0x175)],_0xfefdb[_0x4fffdf(0x149)]);_0x24d6a2=_0x24d6a2||_0xfefdb[_0x4fffdf(0x1ab)](checkAccessibilityPlatformConfig,_0x505709['config']),process[_0x4fffdf(0x16c)][_0x4fffdf(0x175)]=_0x24d6a2;_0x24d6a2&&_0xfefdb[_0x4fffdf(0x1ab)](setAccessibilityCapabilities,_0x505709[_0x4fffdf(0x12e)]);const _0x1020a3=path['join'](_0x175d42[_0x4fffdf(0x188)]?path[_0x4fffdf(0x114)](_0x175d42[_0x4fffdf(0x188)]):process[_0x4fffdf(0x174)](),_0xfefdb[_0x4fffdf(0x17d)]);fs[_0x4fffdf(0x167)](_0x1020a3,helper[_0x4fffdf(0x1b4)](_0x505709[_0x4fffdf(0x12e)])),process['env'][_0x4fffdf(0x19a)]=_0x1020a3,helper[_0x4fffdf(0x165)]();let _0x74ada0='';_0xfefdb[_0x4fffdf(0x161)](helper[_0x4fffdf(0x172)](),constants[_0x4fffdf(0x11a)][_0x4fffdf(0x186)])?_0x74ada0=_0xfefdb[_0x4fffdf(0x13a)]:_0x74ada0=_0xfefdb['AYmMp'];let _0x4c45d2='';if(helper[_0x4fffdf(0x19c)](_0x175d42['path'])){_0x4c45d2='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x64855a=_0x74ada0[_0x4fffdf(0x10d)]('.');_0x64855a[_0xfefdb[_0x4fffdf(0x1b2)](_0x64855a[_0x4fffdf(0x15b)],0x1)]='ts',_0x74ada0=_0x64855a['join']('.'),logger[_0x4fffdf(0x1b1)](_0xfefdb[_0x4fffdf(0x12f)](_0xfefdb[_0x4fffdf(0x185)],_0x74ada0));}else _0x4c45d2=_0x4fffdf(0x1a1);const _0x3ac760=path['join'](_0x175d42['path']?path['dirname'](_0x175d42[_0x4fffdf(0x188)]):process[_0x4fffdf(0x174)](),_0x74ada0);let _0x47d1e2=_0x175d42[_0x4fffdf(0x188)]?_0x175d42[_0x4fffdf(0x188)]:'';_0x47d1e2=_0xfefdb[_0x4fffdf(0x12d)](_0x47d1e2['length'],0x0)?path[_0x4fffdf(0x136)](_0x47d1e2):'',process[_0x4fffdf(0x16c)]['USER_CONFIG_DETAILS_PATH']=_0x47d1e2;const _0x3bc3b8=helper['getProxyUrl'](_0x505709[_0x4fffdf(0x12e)]);_0x3bc3b8&&(_0x4c45d2=_0xfefdb[_0x4fffdf(0x11c)](_0x4fffdf(0x19e)+_0x3bc3b8+_0x4fffdf(0x11e),_0x4c45d2));helper[_0x4fffdf(0x123)]({},_0x2ac19a),fs[_0x4fffdf(0x167)](_0x3ac760,_0x4c45d2),helper['markSDKSetupComplete']();const _0x4f2f0b=_0xfefdb[_0x4fffdf(0x154)](spawn,_0xfefdb[_0x4fffdf(0x1ac)],[_0xfefdb[_0x4fffdf(0x115)],_0xfefdb[_0x4fffdf(0x1a7)],_0xfefdb[_0x4fffdf(0x131)],_0x3ac760,..._0x2ac19a['slice'](0x2)],{'shell':_0xfefdb[_0x4fffdf(0x187)](process[_0x4fffdf(0x1a8)],_0xfefdb[_0x4fffdf(0x181)]),'stdio':_0xfefdb['tCfUQ'],'cwd':process[_0x4fffdf(0x174)](),'env':Object[_0x4fffdf(0x110)]({},process[_0x4fffdf(0x16c)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4fffdf(0x148)](_0x3666e3),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x505709[_0x4fffdf(0x12e)]['testContextOptions'][_0x4fffdf(0x179)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x505709[_0x4fffdf(0x12e)][_0x4fffdf(0x14b)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x505709['config'][_0x4fffdf(0x13e)]})}),_0x3b5da4=()=>{const _0xcf5032=_0x4fffdf;try{const _0x27f036=path['join'](helper[_0xcf5032(0x128)](),_0xfefdb[_0xcf5032(0x129)],_0xfefdb[_0xcf5032(0x147)]);if(fs[_0xcf5032(0x11d)](_0x27f036)){let _0x3861fa=fs['readFileSync'](_0x27f036);_0x3861fa=JSON[_0xcf5032(0x112)](_0x3861fa),_0x505709[_0xcf5032(0x141)]=_0x3861fa,fs['unlinkSync'](_0x27f036);}}catch(_0x5d6328){logger[_0xcf5032(0x1b1)](_0xfefdb[_0xcf5032(0x12f)](_0xfefdb['IaBNP'],_0x5d6328));}};_0x4f2f0b['on'](_0xfefdb[_0x4fffdf(0x144)],async _0x392673=>{const _0x5368a6=_0x4fffdf;try{const _0x26b0d5=_0xfefdb[_0x5368a6(0x198)][_0x5368a6(0x10d)]('|');let _0x51f2b9=0x0;while(!![]){switch(_0x26b0d5[_0x51f2b9++]){case'0':await utilities[_0x5368a6(0x10e)](_0x505709);continue;case'1':process[_0x5368a6(0x18a)]=_0x392673;continue;case'2':logger[_0x5368a6(0x1b1)](_0x5368a6(0x17b)+_0x392673);continue;case'3':await TestHubHandler[_0x5368a6(0x1a4)]();continue;case'4':logger['debug'](_0x5368a6(0x113)+_0x1020a3);continue;case'5':_0xfefdb[_0x5368a6(0x117)](_0x3b5da4);continue;case'6':logger[_0x5368a6(0x17e)](_0x5368a6(0x113)+_0x3ac760);continue;case'7':fs[_0x5368a6(0x126)](_0x1020a3);continue;case'8':fs[_0x5368a6(0x126)](_0x3ac760);continue;}break;}}catch(_0x2845d0){logger['debug'](_0xfefdb[_0x5368a6(0x12f)](_0xfefdb[_0x5368a6(0x15a)],_0x2845d0));}});}module[a35_0x330c14(0x139)]=run;function a35_0x88eb(){const _0x536b4c=['2361640MmRECW','BROWSERSTACK_RERUN_TESTS','debug','vncRH','util','serializeToYamlString','split','finalExecution','ikpKw','assign','isFalse','parse','Deleting\x20','dirname','AuZme','50WmWIGd','HDtoJ','nOcYq','browserstackSetupConfig.json','PACKAGE_TYPE','lsEyk','czjoM','existsSync','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','--config','--disable-test-observability','cliConfig','sLuJu','filterBrowserstackArgs','true','BROWSERSTACK_AUTOMATION','unlinkSync','win32','homedir','BypjY','BROWSERSTACK_TEST_OBSERVABILITY','startsWith','apply','ZUsgc','config','qWbFu','concat','fGQfq','192060vmIfka','resolvedConfigFile','indexOf','Error\x20in\x20getting\x20funnel\x20data\x20results','resolve','2wvBaHh','../../helpers/testhub/testhubHandler','exports','UuOPc','stringify','testObservability','../../helpers/testhub/utils','logLevel','BGzMT','winstonLogger','errorMessage','automation','--config=','CIZqD','isUndefined','.browserstack','zKBjr','getConfigPath','lPcNX','playwright-browserstack-sdk.config.js','testContextOptions','pw_result.json','../../helpers/helper','wCcpK','oCpVs','emBDy','../../helpers/test-observability/constants','npx','PLAYWRIGHT','VjjCo','map','initialize','child_process','zFifd','accessibilityOptions','EaDaV','length','findIndex','BiiiG','DgYjw','../../helpers/logger','Dkbdr','TRmBg','nestedKeyValue','10080720ZwMkPx','Gpmrn','clearTempPWConfig','573571kvEIZC','writeFileSync','5|3|0|1|2|6|8|4|7','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','oiBqn','includes','env','pEsTf','requirePWModule','dVTBD','3636773YhOwND','playwright-browserstack-sdk.config.cjs','getPackageType','BROWSERSTACK_RERUN','cwd','BROWSERSTACK_TEST_ACCESSIBILITY_YML','get','IjfWp','Error\x20in\x20deleting\x20playwright\x20results','skipSessionStatus','WYhpY','Playwright\x20process\x20exited\x20with\x20code\x20','dghFC','pxFLK','info','isTrue','push','fxwAp','GuqoO','hOKyd','--disable-browserstack-automation','aDRfF','MODULE','ZvUWk','path','has','exitCode','108714PHbEdk','../../helpers/accessibility-automation/helper','playwright','2598496fMUFyR','../../helpers/test-observability/utils','inherit','Updated\x20config\x20file\x20name\x20to\x20-\x20','eUILE','join','../../helpers/test-observability/error-handler','ViMrC','accessibility','null','jbhFP','error','BROWSERSTACK_SETUP_CONFIG_PATH','slice','isTypescriptProject','EoJfO','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BrowserStack\x20config\x20file\x20not\x20found.','./reporter/pwUtils','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','./accessibility-helper','../../helpers/BrowserStackSetup','stop','jqLmP','launchBuild','YVutT','platform','splice','filter','jQuop','iypgI','test','close'];a35_0x88eb=function(){return _0x536b4c;};return a35_0x88eb();}
@@ -1 +1 @@
1
- const a36_0x199c7c=a36_0xd3da;(function(_0x18dfab,_0x1824fd){const _0x1b055e=a36_0xd3da,_0x46ecf4=_0x18dfab();while(!![]){try{const _0xdbacfc=-parseInt(_0x1b055e(0x204))/0x1*(-parseInt(_0x1b055e(0x1fb))/0x2)+parseInt(_0x1b055e(0x1d6))/0x3+-parseInt(_0x1b055e(0x1e1))/0x4+parseInt(_0x1b055e(0x202))/0x5*(-parseInt(_0x1b055e(0x1ed))/0x6)+-parseInt(_0x1b055e(0x1ea))/0x7*(parseInt(_0x1b055e(0x1e7))/0x8)+parseInt(_0x1b055e(0x207))/0x9*(-parseInt(_0x1b055e(0x1e3))/0xa)+parseInt(_0x1b055e(0x1fe))/0xb*(parseInt(_0x1b055e(0x1e4))/0xc);if(_0xdbacfc===_0x1824fd)break;else _0x46ecf4['push'](_0x46ecf4['shift']());}catch(_0xba6690){_0x46ecf4['push'](_0x46ecf4['shift']());}}}(a36_0x213d,0x5c3eb));const util=require(a36_0x199c7c(0x1dd)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x199c7c(0x1fa)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x199c7c(0x1d9)),{mockIsWorkerRedundant}=require(a36_0x199c7c(0x1db)),logger=require(a36_0x199c7c(0x1e5))['winstonLogger'];function a36_0x213d(){const _0x13e799=['exports','dEULQ','Not\x20able\x20to\x20import\x20globalSetup','DhPgA','requirePWModule','includes','wTUDd','gtnYp','toString','\x20is\x20not\x20found','../../helpers/helper','2PXXUFi','env','BljVj','11792uhXUGi','./mock-process.js','Path\x20','LRGOd','1632520ybIvrc','apply','149761XnWwfI','format','config','81zhlFgU','1.33.0','767190wwXUHJ','MxOHx','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','./reporter/pwUtils','PLAYWRIGHT','./patches','debug','util','ZwEIk','function','isHandlePWErrorSet','2797660DXNTzl','Call\x20to\x20child\x20fork\x20with\x20args\x20','247720jyWyPi','25572CIASlt','../../helpers/logger','RPKxq','8lwQJIt','oESKU','jQYjM','5157019aLiiOd','resolve','xBEsq','12CxdDvL','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Running\x20existing\x20global\x20setup'];a36_0x213d=function(){return _0x13e799;};return a36_0x213d();}function a36_0xd3da(_0xbeff68,_0x3e3b1c){const _0x213d98=a36_0x213d();return a36_0xd3da=function(_0xd3da97,_0x5e194c){_0xd3da97=_0xd3da97-0x1d6;let _0x35f078=_0x213d98[_0xd3da97];return _0x35f078;},a36_0xd3da(_0xbeff68,_0x3e3b1c);}module[a36_0x199c7c(0x1f0)]=async function(_0x20c4c4){const _0x591c19=a36_0x199c7c,_0x333bc9={'jQYjM':function(_0x1712ee,_0xb60043){return _0x1712ee(_0xb60043);},'wTUDd':function(_0x5bd3b6){return _0x5bd3b6();},'DhPgA':_0x591c19(0x1ff),'XPDxp':function(_0x5bab7d){return _0x5bab7d();},'BljVj':_0x591c19(0x1ef),'xBEsq':function(_0xde6c18){return _0xde6c18();},'oESKU':function(_0x166391,_0x1d48e0){return _0x166391>=_0x1d48e0;},'gtnYp':_0x591c19(0x208),'dEULQ':function(_0x35d0d9,_0xe6414d,_0x46c10d){return _0x35d0d9(_0xe6414d,_0x46c10d);},'MxOHx':function(_0xb27101,_0x59e869){return _0xb27101!==_0x59e869;},'LRGOd':_0x591c19(0x1df),'RPKxq':_0x591c19(0x1f2),'ZwEIk':function(_0x5191f4,_0x4ba230){return _0x5191f4(_0x4ba230);}},_0x3468e=child_process['fork'];if(helper[_0x591c19(0x1e0)]())try{_0x333bc9[_0x591c19(0x1f6)](mockIsWorkerRedundant);}catch(_0xd9aa36){logger[_0x591c19(0x1dc)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x591c19(0x205)](_0xd9aa36));}child_process['fork']=function(){const _0x368c05=_0x591c19;return _0x333bc9[_0x368c05(0x1e9)](debug,_0x368c05(0x1e2)+arguments[0x0]),arguments[0x0][_0x368c05(0x1f5)](_0x333bc9[_0x368c05(0x1f6)](getForkProcessPath))?arguments[0x0]=require[_0x368c05(0x1eb)](_0x333bc9[_0x368c05(0x1f3)]):logger['error'](_0x368c05(0x200)+_0x333bc9['XPDxp'](getForkProcessPath)+_0x368c05(0x1f9)),_0x3468e[_0x368c05(0x203)](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x333bc9[_0x591c19(0x1e9)](debug,_0x333bc9[_0x591c19(0x1fd)]);try{const {loadGlobalHook:_0xb3ce22}=helper[_0x591c19(0x1f4)]['apply'](null,_0x333bc9[_0x591c19(0x1ec)](getLoadUtilsPath)),_0x23e6a5=_0x333bc9[_0x591c19(0x1e9)](getFrameworkVersion,FRAMEWORKS[_0x591c19(0x1da)]);let _0xd5e62a=_0x20c4c4;if(_0x333bc9[_0x591c19(0x1e8)](helper['compareVersions'](_0x23e6a5,_0x333bc9[_0x591c19(0x1f7)]),0x0)){const _0x2d8f4d={};_0x2d8f4d[_0x591c19(0x206)]=_0x20c4c4,_0xd5e62a=_0x2d8f4d;}const _0x5d28a8=await _0x333bc9[_0x591c19(0x1f1)](_0xb3ce22,_0xd5e62a,process[_0x591c19(0x1fc)][_0x591c19(0x1ee)]);if(_0x333bc9[_0x591c19(0x1d7)](typeof _0x5d28a8,_0x333bc9[_0x591c19(0x201)]))throw new Error(_0x333bc9[_0x591c19(0x1e6)]);return _0x5d28a8[_0x591c19(0x203)](null,arguments);}catch(_0x59d10a){_0x333bc9[_0x591c19(0x1de)](debug,_0x591c19(0x1d8)+_0x59d10a[_0x591c19(0x1f8)]());}}};
1
+ const a36_0x3e7e99=a36_0x49e9;(function(_0x216fd8,_0x43042d){const _0x3d5e6c=a36_0x49e9,_0x2611be=_0x216fd8();while(!![]){try{const _0x425eeb=parseInt(_0x3d5e6c(0x160))/0x1+parseInt(_0x3d5e6c(0x174))/0x2*(parseInt(_0x3d5e6c(0x180))/0x3)+parseInt(_0x3d5e6c(0x162))/0x4*(-parseInt(_0x3d5e6c(0x168))/0x5)+-parseInt(_0x3d5e6c(0x16e))/0x6*(parseInt(_0x3d5e6c(0x16f))/0x7)+-parseInt(_0x3d5e6c(0x15e))/0x8*(parseInt(_0x3d5e6c(0x171))/0x9)+-parseInt(_0x3d5e6c(0x172))/0xa*(parseInt(_0x3d5e6c(0x17c))/0xb)+parseInt(_0x3d5e6c(0x178))/0xc;if(_0x425eeb===_0x43042d)break;else _0x2611be['push'](_0x2611be['shift']());}catch(_0x223192){_0x2611be['push'](_0x2611be['shift']());}}}(a36_0x4d8c,0xdb0b4));function a36_0x49e9(_0x329446,_0x1b3dc0){const _0x4d8c46=a36_0x4d8c();return a36_0x49e9=function(_0x49e980,_0x1339e5){_0x49e980=_0x49e980-0x150;let _0x1b1f07=_0x4d8c46[_0x49e980];return _0x1b1f07;},a36_0x49e9(_0x329446,_0x1b3dc0);}const util=require(a36_0x3e7e99(0x164)),child_process=require(a36_0x3e7e99(0x169)),{FRAMEWORKS}=require(a36_0x3e7e99(0x154)),{getFrameworkVersion,debug}=require(a36_0x3e7e99(0x15a)),helper=require(a36_0x3e7e99(0x158)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x3e7e99(0x175)),{mockIsWorkerRedundant}=require(a36_0x3e7e99(0x17a)),logger=require(a36_0x3e7e99(0x179))[a36_0x3e7e99(0x156)];function a36_0x4d8c(){const _0x45eba0=['Path\x20','5FOaixv','child_process','BJEXw','./mock-process.js','jgyqX','1.33.0','42EPoRsz','852173jPAHgA','Call\x20to\x20child\x20fork\x20with\x20args\x20','597942HITUcw','10pCxANH','pqPNi','14ZodVcu','./reporter/pwUtils','ZjYEk','format','33270924FdGMuX','../../helpers/logger','./patches','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','18710461aNMrtc','includes','Not\x20able\x20to\x20import\x20globalSetup','apply','421098PNsxNY','fork','GBjkW','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','function','../../helpers/test-observability/constants','cEjxE','winstonLogger','requirePWModule','../../helpers/helper','PLAYWRIGHT','../../helpers/test-observability/utils','vMoXh','isHandlePWErrorSet','config','88lZjtjE','debug','1658738RgtKgd','env','4930924sXxpQQ','vZGlD','util','error','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'];a36_0x4d8c=function(){return _0x45eba0;};return a36_0x4d8c();}module['exports']=async function(_0xf04324){const _0x3f5e60=a36_0x3e7e99,_0x45d688={'pqPNi':function(_0x3e8d26,_0xea0c67){return _0x3e8d26(_0xea0c67);},'BJEXw':function(_0x450559){return _0x450559();},'fSTJn':_0x3f5e60(0x16b),'eyocT':'Running\x20existing\x20global\x20setup','jgyqX':function(_0x23cf4a){return _0x23cf4a();},'vZGlD':function(_0x4efaa5,_0x2e4311){return _0x4efaa5>=_0x2e4311;},'ZjYEk':_0x3f5e60(0x16d),'FqJBG':function(_0xe0da9a,_0x1a109c,_0x4dc20d){return _0xe0da9a(_0x1a109c,_0x4dc20d);},'cEjxE':function(_0x338b04,_0x56930c){return _0x338b04!==_0x56930c;},'VVgQY':_0x3f5e60(0x153),'GBjkW':_0x3f5e60(0x17e),'vMoXh':function(_0x348eca,_0x57d99e){return _0x348eca(_0x57d99e);}},_0x178e5a=child_process[_0x3f5e60(0x150)];if(helper[_0x3f5e60(0x15c)]())try{_0x45d688[_0x3f5e60(0x16a)](mockIsWorkerRedundant);}catch(_0x3ee53){logger[_0x3f5e60(0x15f)](_0x3f5e60(0x166)+util[_0x3f5e60(0x177)](_0x3ee53));}child_process[_0x3f5e60(0x150)]=function(){const _0x12472f=_0x3f5e60;return _0x45d688[_0x12472f(0x173)](debug,_0x12472f(0x170)+arguments[0x0]),arguments[0x0][_0x12472f(0x17d)](_0x45d688[_0x12472f(0x16a)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x45d688['fSTJn']):logger[_0x12472f(0x165)](_0x12472f(0x167)+_0x45d688[_0x12472f(0x16a)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x178e5a[_0x12472f(0x17f)](null,arguments);};if(process[_0x3f5e60(0x161)][_0x3f5e60(0x17b)]){_0x45d688['pqPNi'](debug,_0x45d688['eyocT']);try{const {loadGlobalHook:_0x180bd0}=helper[_0x3f5e60(0x157)][_0x3f5e60(0x17f)](null,_0x45d688[_0x3f5e60(0x16c)](getLoadUtilsPath)),_0x246947=_0x45d688[_0x3f5e60(0x173)](getFrameworkVersion,FRAMEWORKS[_0x3f5e60(0x159)]);let _0x3c6bfe=_0xf04324;if(_0x45d688[_0x3f5e60(0x163)](helper['compareVersions'](_0x246947,_0x45d688[_0x3f5e60(0x176)]),0x0)){const _0xb77e57={};_0xb77e57[_0x3f5e60(0x15d)]=_0xf04324,_0x3c6bfe=_0xb77e57;}const _0x5bf752=await _0x45d688['FqJBG'](_0x180bd0,_0x3c6bfe,process[_0x3f5e60(0x161)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x45d688[_0x3f5e60(0x155)](typeof _0x5bf752,_0x45d688['VVgQY']))throw new Error(_0x45d688[_0x3f5e60(0x151)]);return _0x5bf752[_0x3f5e60(0x17f)](null,arguments);}catch(_0xed87a1){_0x45d688[_0x3f5e60(0x15b)](debug,_0x3f5e60(0x152)+_0xed87a1['toString']());}}};