browserstack-node-sdk 1.34.7 → 1.34.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/start.js +1 -1
  18. package/ats/src/commands/start_commands/grid.js +1 -1
  19. package/ats/src/commands/stop.js +1 -1
  20. package/ats/src/commands/stop_commands/grid.js +1 -1
  21. package/ats/src/config/constants.js +1 -1
  22. package/ats/src/config/logger.js +1 -1
  23. package/ats/src/index.js +1 -1
  24. package/ats/src/utils/AWSUtils.js +1 -1
  25. package/ats/src/utils/createAutoscalerStack.js +1 -1
  26. package/ats/src/utils/createClusterStack.js +1 -1
  27. package/ats/src/utils/createk8sClient.js +1 -1
  28. package/ats/src/utils/deleteStack.js +1 -1
  29. package/ats/src/utils/gridComponents.js +1 -1
  30. package/ats/src/utils/hstUtils.js +1 -1
  31. package/ats/src/utils/instrumentationUtils.js +1 -1
  32. package/ats/src/utils/userInput.js +1 -1
  33. package/ats/src/utils/utilityMethods.js +1 -1
  34. package/ats/src/utils/webSocketUtils.js +1 -1
  35. package/package.json +1 -1
  36. package/src/ai-sdk-node/bundle.js +1 -1
  37. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  38. package/src/bin/codeceptjs/command.js +1 -1
  39. package/src/bin/codeceptjs/helper.js +1 -1
  40. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  41. package/src/bin/cucumber-js/command.js +1 -1
  42. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  43. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  44. package/src/bin/cucumber-js/test-observability.js +1 -1
  45. package/src/bin/cucumber-js/test.setup.js +1 -1
  46. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  47. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  48. package/src/bin/integrations/command.js +1 -1
  49. package/src/bin/integrations/constants.js +1 -1
  50. package/src/bin/jest/command.js +1 -1
  51. package/src/bin/jest/customImplements/customCircus.js +1 -1
  52. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  53. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  54. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  55. package/src/bin/jest/jest.setup.js +1 -1
  56. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  57. package/src/bin/jest/test-observability/helper.js +1 -1
  58. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  59. package/src/bin/jest/test-observability/test-details.js +1 -1
  60. package/src/bin/jest/test_before.setup.js +1 -1
  61. package/src/bin/launcher/launcher.js +1 -1
  62. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  63. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  64. package/src/bin/mocha/command.js +1 -1
  65. package/src/bin/mocha/test-observability/builderPatch.js +1 -1
  66. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  67. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  68. package/src/bin/mocha/test.setup.js +1 -1
  69. package/src/bin/nightwatch/command.js +1 -1
  70. package/src/bin/playwright/accessibility-helper.js +1 -1
  71. package/src/bin/playwright/command.js +1 -1
  72. package/src/bin/playwright/globalSetup.js +1 -1
  73. package/src/bin/playwright/mock-process.js +1 -1
  74. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  75. package/src/bin/playwright/patches.js +1 -1
  76. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  77. package/src/bin/playwright/reporter/reporter.js +1 -1
  78. package/src/bin/playwright/reporter/test-details.js +1 -1
  79. package/src/bin/playwright/sessionDetails.js +1 -1
  80. package/src/bin/runner.js +1 -1
  81. package/src/bin/setup.js +1 -1
  82. package/src/bin/test-runner/index.js +1 -1
  83. package/src/bin/test-runner/runTest.js +1 -1
  84. package/src/bin/test-runner/testWorker.js +1 -1
  85. package/src/bin/utils/constants.js +1 -1
  86. package/src/bin/utils/log4jsAppender.js +1 -1
  87. package/src/bin/utils/logPatcher.js +1 -1
  88. package/src/bin/utils/logReportingAPI.js +1 -1
  89. package/src/bin/vanilla-js/command.js +1 -1
  90. package/src/browserStackSdk.js +1 -1
  91. package/src/helpers/BrowserStackSetup.js +1 -1
  92. package/src/helpers/accessibility-automation/constants.js +1 -1
  93. package/src/helpers/accessibility-automation/helper.js +1 -1
  94. package/src/helpers/accessibility-automation/scripts.js +1 -1
  95. package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
  96. package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
  97. package/src/helpers/ats/constants.js +1 -1
  98. package/src/helpers/ats/helper.js +1 -1
  99. package/src/helpers/capsMapping.js +1 -1
  100. package/src/helpers/globals.js +1 -1
  101. package/src/helpers/helper.js +1 -1
  102. package/src/helpers/logger.js +1 -1
  103. package/src/helpers/patchHelpers.js +1 -1
  104. package/src/helpers/percy/Percy.js +1 -1
  105. package/src/helpers/percy/PercyBinary.js +1 -1
  106. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  107. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  108. package/src/helpers/percy/PercySDK.js +1 -1
  109. package/src/helpers/percy/index.js +1 -1
  110. package/src/helpers/percy/utils.js +1 -1
  111. package/src/helpers/performance-tester.js +1 -1
  112. package/src/helpers/request-spy.js +1 -1
  113. package/src/helpers/setKeepAlive.js +1 -1
  114. package/src/helpers/test-observability/constants.js +1 -1
  115. package/src/helpers/test-observability/error-handler.js +1 -1
  116. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  117. package/src/helpers/test-observability/sessionHandler.js +1 -1
  118. package/src/helpers/test-observability/utils.js +1 -1
  119. package/src/helpers/testhub/constants.js +1 -1
  120. package/src/helpers/testhub/testhubHandler.js +1 -1
  121. package/src/helpers/testhub/utils.js +1 -1
  122. package/src/helpers/timeoutPromise.js +1 -1
  123. package/src/helpers/utilities.js +1 -1
  124. package/src/helpers/w3cMapping.js +1 -1
  125. package/src/hubAllocationMethods.js +1 -1
  126. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a29_0x3515ee=a29_0x10ad;(function(_0x22665e,_0x45016b){const _0x305994=a29_0x10ad,_0xe70800=_0x22665e();while(!![]){try{const _0x15a239=parseInt(_0x305994(0x1fb))/0x1*(-parseInt(_0x305994(0x1ac))/0x2)+-parseInt(_0x305994(0x1d5))/0x3*(-parseInt(_0x305994(0x1c8))/0x4)+parseInt(_0x305994(0x215))/0x5+parseInt(_0x305994(0x218))/0x6+parseInt(_0x305994(0x1ee))/0x7+-parseInt(_0x305994(0x217))/0x8*(-parseInt(_0x305994(0x1ea))/0x9)+parseInt(_0x305994(0x1b4))/0xa*(-parseInt(_0x305994(0x1a9))/0xb);if(_0x15a239===_0x45016b)break;else _0xe70800['push'](_0xe70800['shift']());}catch(_0x22f365){_0xe70800['push'](_0xe70800['shift']());}}}(a29_0x415b,0xef4f2));function a29_0x10ad(_0x5f3c09,_0x3adac3){const _0x415b0b=a29_0x415b();return a29_0x10ad=function(_0x10ade3,_0x26111c){_0x10ade3=_0x10ade3-0x19f;let _0x5d068d=_0x415b0b[_0x10ade3];return _0x5d068d;},a29_0x10ad(_0x5f3c09,_0x3adac3);}const logger=require('../../../helpers/logger')[a29_0x3515ee(0x1f0)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x3515ee(0x1bb)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x3515ee(0x1c0)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x3515ee(0x1d1)),globals=require(a29_0x3515ee(0x201)),modify=(_0x2502f4,_0x48842c=null,_0x1010f5=![])=>{const _0x375e91=a29_0x3515ee,_0x5974e6={'FbMRi':function(_0x1dd76a,_0x438ff7){return _0x1dd76a!==_0x438ff7;},'ctGSq':'/session','rqTvp':function(_0x4e7dcb,_0x3ce4ef){return _0x4e7dcb!==_0x3ce4ef;},'PEnCj':function(_0x3adda8,_0x4ce281){return _0x3adda8+_0x4ce281;},'uJcuf':'https://','ZZUCe':_0x375e91(0x1e4),'BulgO':_0x375e91(0x1aa),'dInlk':_0x375e91(0x1a4),'YKfZb':'ms:edgeOptions','JVeCi':_0x375e91(0x1f6),'qeRrZ':_0x375e91(0x211),'DVXSa':_0x375e91(0x1ef),'poKJR':_0x375e91(0x1e0),'vDuCz':_0x375e91(0x20d),'gkoYS':'ieOptions','wjyPu':function(_0x2c10bf,_0x2f1ba6){return _0x2c10bf===_0x2f1ba6;},'SBmWQ':_0x375e91(0x1e1),'kkMqZ':_0x375e91(0x207),'SAaMi':function(_0x3ba1ee,_0x34c4f8,_0x1b3397){return _0x3ba1ee(_0x34c4f8,_0x1b3397);},'EMBjY':function(_0x42c323,_0x2adb90,_0x44cf76){return _0x42c323(_0x2adb90,_0x44cf76);},'ejYqb':'optimalHubUrl','BqaBz':_0x375e91(0x1f9),'MgJBq':function(_0x173ae2,_0x11dca6,_0x47137e){return _0x173ae2(_0x11dca6,_0x47137e);},'ncheM':function(_0x50af6b,_0x16fe19){return _0x50af6b(_0x16fe19);},'BTtzW':_0x375e91(0x1a2),'nzdOf':_0x375e91(0x1f8),'CQGvc':function(_0x12f967){return _0x12f967();},'eZBhP':function(_0x527dd6,_0x21877d){return _0x527dd6(_0x21877d);},'rJAtW':_0x375e91(0x203),'ePabn':function(_0x583409,_0x431d4d){return _0x583409(_0x431d4d);},'LMdaI':function(_0x155a1b,_0x244dc2){return _0x155a1b!==_0x244dc2;},'goBqj':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','bvlMd':_0x375e91(0x1d0)},_0x24b613=helper[_0x375e91(0x1de)]();let _0x62120f;try{_0x62120f=helper['requireSeleniumWebdriver'](),_0x62120f[_0x375e91(0x1bc)]&&(_0x62120f[_0x375e91(0x1d8)]=_0x62120f[_0x375e91(0x1bc)]);}catch(_0xe1e033){return;}if(helper['isBrowserstackInfra']()){const _0x1f6f28={};_0x1f6f28[_0x375e91(0x209)]=_0x2502f4[_0x375e91(0x219)],helper[_0x375e91(0x1d3)](_0x1f6f28,new Map(),new Map()),logger[_0x375e91(0x210)](_0x5974e6[_0x375e91(0x1e7)]),logger[_0x375e91(0x1d7)](_0x5974e6[_0x375e91(0x1ae)]);}class _0x407ec5 extends _0x24b613['HttpClient']{[_0x375e91(0x20f)](_0x534e76){const _0x36daf8=_0x375e91;if(_0x5974e6[_0x36daf8(0x1fa)](_0x534e76['path'],_0x5974e6[_0x36daf8(0x1ff)])&&_0x5974e6[_0x36daf8(0x1dd)](global['newHubUrl'],''))try{global[_0x36daf8(0x1bf)]=_0x5974e6[_0x36daf8(0x1cf)](_0x5974e6[_0x36daf8(0x1cf)](_0x5974e6[_0x36daf8(0x213)],global[_0x36daf8(0x1bf)]),_0x5974e6[_0x36daf8(0x1ab)]),this[_0x36daf8(0x1a3)]=hubAllocator['getRequestOptions'](global[_0x36daf8(0x1bf)]),logger[_0x36daf8(0x1d7)](_0x36daf8(0x20b)+global[_0x36daf8(0x1bf)]),global[_0x36daf8(0x1bf)]='';}catch(_0x9ae5a6){logger[_0x36daf8(0x1be)](_0x9ae5a6);}return super[_0x36daf8(0x20f)](_0x534e76);}}class _0x2f4a61 extends _0x62120f['Builder']{[_0x375e91(0x1f3)](){const _0x5f2f23=_0x375e91;return this[_0x5f2f23(0x1e9)]=helper[_0x5f2f23(0x1e8)](_0x2502f4),logger['debug'](_0x5f2f23(0x1f7)+this[_0x5f2f23(0x1e9)]),this;}[_0x375e91(0x1b7)](_0x23fc79){const _0x286471=_0x375e91;let _0x45a003={};for(const _0x3df16e in _0x23fc79){switch(_0x3df16e){case _0x5974e6[_0x286471(0x1a7)]:case _0x5974e6[_0x286471(0x1e3)]:this['chromeOptions_']&&(_0x45a003=this[_0x286471(0x1a6)][_0x286471(0x1f4)](this[_0x286471(0x1a6)][_0x286471(0x1b9)])||{},this[_0x286471(0x1a6)][_0x286471(0x1bd)](this[_0x286471(0x1a6)][_0x286471(0x1b9)],helper[_0x286471(0x1c1)](_0x45a003,_0x23fc79[_0x3df16e])));break;case _0x5974e6[_0x286471(0x1dc)]:case _0x5974e6['JVeCi']:this['edgeOptions_']&&(_0x45a003=this[_0x286471(0x208)][_0x286471(0x1f4)](this[_0x286471(0x208)][_0x286471(0x1b9)])||{},this[_0x286471(0x208)][_0x286471(0x1bd)](this[_0x286471(0x208)]['CAPABILITY_KEY'],helper[_0x286471(0x1c1)](_0x45a003,_0x23fc79[_0x3df16e])));break;case _0x5974e6[_0x286471(0x1a8)]:case _0x5974e6[_0x286471(0x1fc)]:this[_0x286471(0x1b8)]&&(_0x45a003=this[_0x286471(0x1b8)][_0x286471(0x1f4)](this[_0x286471(0x1b8)][_0x286471(0x1b9)])||{},this[_0x286471(0x1b8)]['set'](this[_0x286471(0x1b8)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x45a003,_0x23fc79[_0x3df16e])));break;case _0x5974e6[_0x286471(0x1cc)]:this[_0x286471(0x206)]&&(_0x45a003=this[_0x286471(0x206)]['get'](this[_0x286471(0x206)]['CAPABILITY_KEY'])||{},this['safariOptions_'][_0x286471(0x1bd)](this[_0x286471(0x206)][_0x286471(0x1b9)],helper[_0x286471(0x1c1)](_0x45a003,_0x23fc79[_0x3df16e])));break;case _0x5974e6[_0x286471(0x1c6)]:case _0x5974e6[_0x286471(0x1af)]:this[_0x286471(0x1e2)]&&(_0x45a003=this[_0x286471(0x1e2)][_0x286471(0x1f4)](this[_0x286471(0x1e2)][_0x286471(0x1b9)])||{},this[_0x286471(0x1e2)]['set'](this['ieOptions_'][_0x286471(0x1b9)],helper[_0x286471(0x1c1)](_0x45a003,_0x23fc79[_0x3df16e])));break;}}}[_0x375e91(0x1eb)](){const _0x486b1a=_0x375e91,_0x1aaaa6={'sDjve':function(_0x294baf,_0x3678ee){return _0x5974e6['wjyPu'](_0x294baf,_0x3678ee);},'ZNESV':_0x5974e6[_0x486b1a(0x1fe)]};return logger['debug'](_0x5974e6['kkMqZ']),this['__setBrowserOptions'](_0x2502f4[_0x486b1a(0x1ca)]),Object['keys'](_0x2502f4[_0x486b1a(0x1ca)])['forEach'](_0x1c7df0=>{const _0x3baed4=_0x486b1a,_0x2a18b7=this[_0x3baed4(0x1ad)][_0x3baed4(0x1f4)](_0x1c7df0);_0x1aaaa6[_0x3baed4(0x212)](typeof _0x2a18b7,_0x1aaaa6[_0x3baed4(0x19f)])?this[_0x3baed4(0x1ad)]['set'](_0x1c7df0,helper['mergeDeep'](_0x2a18b7,_0x2502f4[_0x3baed4(0x1ca)][_0x1c7df0])):this['capabilities_'][_0x3baed4(0x1bd)](_0x1c7df0,_0x2502f4['capability'][_0x1c7df0]);}),this;}[_0x375e91(0x1fd)](){const _0x20171=_0x375e91,_0x1954c9={'KrWpL':_0x5974e6['ejYqb'],'LZbDo':_0x5974e6['BqaBz'],'TDqnh':function(_0x34b5d1,_0x2f33f3,_0x5989eb){const _0x83cfb4=a29_0x10ad;return _0x5974e6[_0x83cfb4(0x1f5)](_0x34b5d1,_0x2f33f3,_0x5989eb);},'sQSeV':function(_0x20d059,_0x11fd25){const _0x31e863=a29_0x10ad;return _0x5974e6[_0x31e863(0x205)](_0x20d059,_0x11fd25);}};if(helper[_0x20171(0x1a5)]()){const _0x5b945d=_0x5974e6[_0x20171(0x1b6)][_0x20171(0x1c9)]('|');let _0x30a4c3=0x0;while(!![]){switch(_0x5b945d[_0x30a4c3++]){case'0':this[_0x20171(0x1f3)]();continue;case'1':globals[_0x20171(0x1d4)](_0x5974e6[_0x20171(0x20e)])&&(!_0x5974e6[_0x20171(0x1f5)](setExtension,this,_0x2502f4)&&globals[_0x20171(0x1c7)](_0x5974e6['nzdOf'],![]));continue;case'2':this[_0x20171(0x1eb)]();continue;case'3':if(helper[_0x20171(0x1d2)](_0x2502f4['proxySettings'][_0x20171(0x20c)]))this[_0x20171(0x1e6)]=helper[_0x20171(0x214)](_0x2502f4[_0x20171(0x1cb)]['proxyUrl']);else _0x2502f4[_0x20171(0x1cb)][_0x20171(0x20c)]&&(this[_0x20171(0x1c5)]=_0x2502f4[_0x20171(0x1cb)][_0x20171(0x20c)],logger['debug'](_0x20171(0x1b1)+this[_0x20171(0x1c5)]));continue;case'4':_0x5974e6[_0x20171(0x1b3)](isAccessibilityAutomationSession)&&_0x5974e6['eZBhP'](setAccessibilityCapabilities,_0x2502f4);continue;case'5':logger['debug'](_0x5974e6['rJAtW']);continue;}break;}}const _0x3bc9de=super[_0x20171(0x1fd)]();return _0x3bc9de[_0x20171(0x202)][_0x20171(0x1ce)](_0x373dcc=>{const _0x14cab2=_0x20171;try{const _0x46bfd9=_0x373dcc['caps_'][_0x14cab2(0x1f4)](_0x1954c9[_0x14cab2(0x20a)]);_0x46bfd9?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x46bfd9),hubAllocator[_0x14cab2(0x1b5)](_0x46bfd9),helper[_0x14cab2(0x1da)](_0x46bfd9)):logger[_0x14cab2(0x1d7)](_0x1954c9[_0x14cab2(0x1c4)]);}catch(_0x1c7db5){logger[_0x14cab2(0x1d7)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x1c7db5);}}),_0x3bc9de[_0x20171(0x1f1)]=0x0,_0x3bc9de[_0x20171(0x1ce)]&&_0x3bc9de[_0x20171(0x1ce)](_0x1ac507=>{const _0x776076=_0x20171,_0x1c024f={'gmlQe':function(_0x583155,_0xb12f26,_0x1ff4bb){const _0xf2d5c0=a29_0x10ad;return _0x1954c9[_0xf2d5c0(0x216)](_0x583155,_0xb12f26,_0x1ff4bb);}};_0x1954c9[_0x776076(0x216)](overrideQuit,_0x1ac507,_0x3bc9de),_0x1954c9[_0x776076(0x1a0)](overrideTakeScreenshot,_0x1ac507),helper[_0x776076(0x1b2)](_0x1ac507,_0x2502f4),helper[_0x776076(0x1c2)](_0x1ac507,_0x2502f4),_0x1ac507[_0x776076(0x1ec)]=async()=>{const _0x3969e5=_0x776076;return await _0x1954c9[_0x3969e5(0x216)](getAccessibilityResultsSummary,_0x1ac507,global);},_0x1ac507[_0x776076(0x1d6)]=async()=>{return await _0x1c024f['gmlQe'](getAccessibilityResults,_0x1ac507,global);};}),_0x3bc9de['getAccessibilityResultsSummary']=async()=>{const _0xcb6ddd=_0x20171;return await _0x5974e6[_0xcb6ddd(0x1db)](getAccessibilityResultsSummary,_0x3bc9de,global);},_0x3bc9de['getAccessibilityResults']=async()=>{const _0x46f7ef=_0x20171;return await _0x5974e6[_0x46f7ef(0x1df)](getAccessibilityResults,_0x3bc9de,global);},_0x5974e6[_0x20171(0x1f2)](overrideTakeScreenshot,_0x3bc9de),_0x5974e6[_0x20171(0x1d9)](overrideQuit,_0x3bc9de),helper['overrideGet'](_0x3bc9de,_0x2502f4),helper[_0x20171(0x1c2)](_0x3bc9de,_0x2502f4),helper['isUndefined'](global[_0x20171(0x1cd)])&&(global[_0x20171(0x1cd)]=[]),helper['isUndefined'](global[_0x20171(0x1ba)])&&(global[_0x20171(0x1ba)]=[]),global['__driversArray'][_0x20171(0x1c3)](_0x3bc9de),global['__driver']=_0x3bc9de,_0x5974e6[_0x20171(0x204)](global[_0x20171(0x1ba)],undefined)&&global[_0x20171(0x1ba)][_0x20171(0x1c3)](_0x3bc9de),_0x48842c&&helper[_0x20171(0x1a1)](_0x48842c[_0x20171(0x1e5)][_0x20171(0x1cd)])&&(_0x48842c[_0x20171(0x1e5)]['__driversArray']=[]),_0x48842c&&_0x5974e6['LMdaI'](_0x48842c[_0x20171(0x1e5)][_0x20171(0x1ba)],undefined)&&(_0x48842c[_0x20171(0x1e5)]['__drivers'][_0x20171(0x1c3)](_0x3bc9de),_0x48842c[_0x20171(0x1e5)]['__driversArray'][_0x20171(0x1c3)](_0x3bc9de)),_0x3bc9de;}}return _0x62120f[_0x375e91(0x1bc)]=_0x62120f[_0x375e91(0x1d8)],_0x62120f[_0x375e91(0x1d8)]=_0x2f4a61,_0x24b613[_0x375e91(0x1ed)]=_0x407ec5,_0x62120f;};module[a29_0x3515ee(0x200)][a29_0x3515ee(0x1b0)]=modify;function a29_0x415b(){const _0x305543=['split','capability','proxySettings','poKJR','__driversArray','then','PEnCj','Modifying\x20webdriver\x20builder','../../../helpers/accessibility-automation/helper','isPacProxy','setLogLevel','getGlobal','3XcytgK','getAccessibilityResults','debug','Builder','eZBhP','storeOptimalHubUrl','SAaMi','YKfZb','rqTvp','requireHttpClient','EMBjY','safari.options','object','ieOptions_','dInlk','/wd/hub','global','agent_','goBqj','getHubUrl','url_','1694997WauCtg','setCapabilities','getAccessibilityResultsSummary','HttpClient','7470428jTmqEb','firefoxOptions','winstonLogger','quitCount_','ePabn','setServer','get','MgJBq','edgeOptions','Hub\x20url\x20set\x20to\x20','isAccessibilityPlatform','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','FbMRi','2MZGdXX','DVXSa','build','SBmWQ','ctGSq','exports','../../../helpers/globals','session_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','LMdaI','ncheM','safariOptions_','Setting\x20Browserstack\x20capabilities','edgeOptions_','logLevel','KrWpL','New\x20hub\x20url\x20set\x20to\x20','proxyUrl','se:ieOptions','nzdOf','send','info','moz:firefoxOptions','sDjve','uJcuf','getHttpAgent','6855510Gqdait','TDqnh','8MNbXcG','4841064tFxYtu','browserStackLogLevel','ZNESV','sQSeV','isUndefined','4|0|2|3|1|5','options_','chromeOptions','isBrowserstackInfra','chromeOptions_','BulgO','qeRrZ','22NQuhoa','goog:chromeOptions','ZZUCe','446528YDYkIq','capabilities_','bvlMd','gkoYS','browserstackAgentObservability','Proxy\x20set\x20to\x20','overrideGet','CQGvc','13291660LIYLTQ','updateHubUrl','BTtzW','__setBrowserOptions','firefoxOptions_','CAPABILITY_KEY','__drivers','../../../hubAllocationMethods','originalBuilder','set','error','newHubUrl','../accessibility-automation/helper','mergeDeep','overrideExecute','push','LZbDo','proxy_','vDuCz','setGlobal','2606348DQFMvI'];a29_0x415b=function(){return _0x305543;};return a29_0x415b();}
1
+ function a29_0x584f(){const _0x5e4d91=['XSrCk','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','Modifying\x20webdriver\x20builder','SHDLh','../../../helpers/accessibility-automation/helper','edgeOptions_','XjScm','path','__setBrowserOptions','Proxy\x20set\x20to\x20','Builder','exports','84IbohfB','options_','__driver','WjZrj','debug','set','getAccessibilityResults','getRequestOptions','edgeOptions','overrideGet','../../../bin/utils/constants','isBrowserstackInfra','proxySettings','newHubUrl','594867aOUMUG','setServer','lMAOv','keys','15sveINO','1701414wLKPJf','EjTiQ','push','fTSAb','1856koFSVU','se:ieOptions','isAccessibilityPlatform','getHubUrl','forEach','utzQq','New\x20hub\x20url\x20set\x20to\x20','FWAWi','545808uFhHCN','getAccessibilityResultsSummary','requireSeleniumWebdriver','isPacProxy','../../../helpers/globals','__drivers','3990656SWzDIU','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','dSWZD','firefoxOptions_','browserstackAgentObservability','isUndefined','safariOptions_','getHttpAgent','3128480JgJSjy','QSVSD','browserStackLogLevel','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','jTZpU','30eoXSdA','shRqR','build','originalBuilder','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','then','../../../helpers/helper','proxy_','nIvEP','storeOptimalHubUrl','ieOptions_','../../../helpers/patchHelpers','url_','3271968gIgRaW','chromeOptions_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','caps_','capability','wmDFx','object','capabilities_','AcDWi','/session','proxyUrl','mergeDeep','error','../../../hubAllocationMethods','xgvxM','send','firefoxOptions','../accessibility-automation/helper','updateHubUrl','goog:chromeOptions','moz:firefoxOptions','logLevel','MLVyN','fcjAX','ieOptions','__driversArray','get','RXFQD','CAPABILITY_KEY','PXyaD','irTfl','HttpClient','JmvLp','setCapabilities','Hub\x20url\x20set\x20to\x20','ms:edgeOptions','global','getGlobal','agent_','winstonLogger','gUkNY'];a29_0x584f=function(){return _0x5e4d91;};return a29_0x584f();}const a29_0xd47b0e=a29_0x369b;(function(_0x21b9b3,_0x98c079){const _0x2afdce=a29_0x369b,_0x599c32=_0x21b9b3();while(!![]){try{const _0x3af8cb=-parseInt(_0x2afdce(0x201))/0x1*(-parseInt(_0x2afdce(0x1ea))/0x2)+parseInt(_0x2afdce(0x1fd))/0x3+parseInt(_0x2afdce(0x209))/0x4*(parseInt(_0x2afdce(0x1fc))/0x5)+parseInt(_0x2afdce(0x21c))/0x6*(-parseInt(_0x2afdce(0x1f8))/0x7)+parseInt(_0x2afdce(0x20f))/0x8+-parseInt(_0x2afdce(0x229))/0x9+-parseInt(_0x2afdce(0x217))/0xa;if(_0x3af8cb===_0x98c079)break;else _0x599c32['push'](_0x599c32['shift']());}catch(_0x470c79){_0x599c32['push'](_0x599c32['shift']());}}}(a29_0x584f,0x6e585));const logger=require('../../../helpers/logger')[a29_0xd47b0e(0x1dc)],helper=require(a29_0xd47b0e(0x222)),constants=require(a29_0xd47b0e(0x1f4)),hubAllocator=require(a29_0xd47b0e(0x1c2)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0xd47b0e(0x227)),{setAccessibilityCapabilities,setExtension}=require(a29_0xd47b0e(0x1c6)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0xd47b0e(0x1e2)),globals=require(a29_0xd47b0e(0x20d)),modify=(_0x1d5d22,_0x3faef7=null,_0x463f7e=![])=>{const _0x16d3bc=a29_0xd47b0e,_0x3ef2d2={'fcjAX':function(_0x470009,_0x3e0288){return _0x470009!==_0x3e0288;},'shRqR':_0x16d3bc(0x1be),'gUkNY':function(_0x40abbb,_0x53cd19){return _0x40abbb!==_0x53cd19;},'fTSAb':function(_0x35eb03,_0x535ca1){return _0x35eb03+_0x535ca1;},'JExEF':function(_0x5929f3,_0x5d198c){return _0x5929f3+_0x5d198c;},'PXyaD':'https://','MhMLm':'/wd/hub','jTZpU':_0x16d3bc(0x1c8),'HdrCv':'chromeOptions','QSVSD':_0x16d3bc(0x1d8),'lMAOv':_0x16d3bc(0x1f2),'utzQq':_0x16d3bc(0x1c9),'NTfti':_0x16d3bc(0x1c5),'yWuQK':'safari.options','fVkDi':_0x16d3bc(0x202),'eejQm':_0x16d3bc(0x1cd),'inWEA':function(_0x48cb6a,_0x545413){return _0x48cb6a===_0x545413;},'fkLbt':_0x16d3bc(0x22f),'DyOFh':'Setting\x20Browserstack\x20capabilities','nIvEP':'optimalHubUrl','EjTiQ':_0x16d3bc(0x1df),'SHDLh':function(_0x5af8c1,_0x1f2f52,_0xa1d3f9){return _0x5af8c1(_0x1f2f52,_0xa1d3f9);},'FWAWi':function(_0x1e9402,_0x35f2ab){return _0x1e9402(_0x35f2ab);},'MLVyN':'1|3|0|5|4|2','dSWZD':function(_0x3d1d73){return _0x3d1d73();},'WjZrj':_0x16d3bc(0x21a),'RXFQD':_0x16d3bc(0x203),'JmvLp':function(_0x26fbef,_0x5ac13d){return _0x26fbef(_0x5ac13d);},'XjScm':function(_0x203054,_0x132897){return _0x203054(_0x132897);},'xgvxM':_0x16d3bc(0x220),'XSrCk':_0x16d3bc(0x1e0)},_0x503ad3=helper['requireHttpClient']();let _0x428e20;try{_0x428e20=helper[_0x16d3bc(0x20b)](),_0x428e20[_0x16d3bc(0x21f)]&&(_0x428e20[_0x16d3bc(0x1e8)]=_0x428e20['originalBuilder']);}catch(_0x6a36d0){return;}if(helper[_0x16d3bc(0x1f5)]()){const _0x32778a={};_0x32778a[_0x16d3bc(0x1ca)]=_0x1d5d22[_0x16d3bc(0x219)],helper['setLogLevel'](_0x32778a,new Map(),new Map()),logger['info'](_0x3ef2d2[_0x16d3bc(0x1c3)]),logger[_0x16d3bc(0x1ee)](_0x3ef2d2[_0x16d3bc(0x1de)]);}class _0x2d7737 extends _0x503ad3[_0x16d3bc(0x1d4)]{[_0x16d3bc(0x1c4)](_0x266182){const _0x4cac39=_0x16d3bc;if(_0x3ef2d2[_0x4cac39(0x1cc)](_0x266182[_0x4cac39(0x1e5)],_0x3ef2d2[_0x4cac39(0x21d)])&&_0x3ef2d2[_0x4cac39(0x1dd)](global[_0x4cac39(0x1f7)],''))try{global[_0x4cac39(0x1f7)]=_0x3ef2d2[_0x4cac39(0x200)](_0x3ef2d2['JExEF'](_0x3ef2d2[_0x4cac39(0x1d2)],global['newHubUrl']),_0x3ef2d2['MhMLm']),this[_0x4cac39(0x1eb)]=hubAllocator[_0x4cac39(0x1f1)](global[_0x4cac39(0x1f7)]),logger[_0x4cac39(0x1ee)](_0x4cac39(0x207)+global[_0x4cac39(0x1f7)]),global['newHubUrl']='';}catch(_0x5e04d0){logger[_0x4cac39(0x1c1)](_0x5e04d0);}return super[_0x4cac39(0x1c4)](_0x266182);}}class _0x5265bc extends _0x428e20[_0x16d3bc(0x1e8)]{[_0x16d3bc(0x1f9)](){const _0xe42a7d=_0x16d3bc;return this[_0xe42a7d(0x228)]=helper[_0xe42a7d(0x204)](_0x1d5d22),logger[_0xe42a7d(0x1ee)](_0xe42a7d(0x1d7)+this[_0xe42a7d(0x228)]),this;}[_0x16d3bc(0x1e6)](_0xc75a22){const _0x1e0fb1=_0x16d3bc;let _0x865dda={};for(const _0x53be29 in _0xc75a22){switch(_0x53be29){case _0x3ef2d2[_0x1e0fb1(0x21b)]:case _0x3ef2d2['HdrCv']:this['chromeOptions_']&&(_0x865dda=this['chromeOptions_']['get'](this[_0x1e0fb1(0x22a)][_0x1e0fb1(0x1d1)])||{},this[_0x1e0fb1(0x22a)][_0x1e0fb1(0x1ef)](this['chromeOptions_'][_0x1e0fb1(0x1d1)],helper[_0x1e0fb1(0x1c0)](_0x865dda,_0xc75a22[_0x53be29])));break;case _0x3ef2d2[_0x1e0fb1(0x218)]:case _0x3ef2d2[_0x1e0fb1(0x1fa)]:this[_0x1e0fb1(0x1e3)]&&(_0x865dda=this[_0x1e0fb1(0x1e3)][_0x1e0fb1(0x1cf)](this[_0x1e0fb1(0x1e3)][_0x1e0fb1(0x1d1)])||{},this[_0x1e0fb1(0x1e3)][_0x1e0fb1(0x1ef)](this['edgeOptions_'][_0x1e0fb1(0x1d1)],helper[_0x1e0fb1(0x1c0)](_0x865dda,_0xc75a22[_0x53be29])));break;case _0x3ef2d2[_0x1e0fb1(0x206)]:case _0x3ef2d2['NTfti']:this[_0x1e0fb1(0x212)]&&(_0x865dda=this[_0x1e0fb1(0x212)][_0x1e0fb1(0x1cf)](this[_0x1e0fb1(0x212)][_0x1e0fb1(0x1d1)])||{},this[_0x1e0fb1(0x212)][_0x1e0fb1(0x1ef)](this[_0x1e0fb1(0x212)]['CAPABILITY_KEY'],helper[_0x1e0fb1(0x1c0)](_0x865dda,_0xc75a22[_0x53be29])));break;case _0x3ef2d2['yWuQK']:this[_0x1e0fb1(0x215)]&&(_0x865dda=this['safariOptions_'][_0x1e0fb1(0x1cf)](this['safariOptions_'][_0x1e0fb1(0x1d1)])||{},this['safariOptions_'][_0x1e0fb1(0x1ef)](this[_0x1e0fb1(0x215)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x865dda,_0xc75a22[_0x53be29])));break;case _0x3ef2d2['fVkDi']:case _0x3ef2d2['eejQm']:this[_0x1e0fb1(0x226)]&&(_0x865dda=this[_0x1e0fb1(0x226)][_0x1e0fb1(0x1cf)](this[_0x1e0fb1(0x226)][_0x1e0fb1(0x1d1)])||{},this[_0x1e0fb1(0x226)]['set'](this[_0x1e0fb1(0x226)][_0x1e0fb1(0x1d1)],helper['mergeDeep'](_0x865dda,_0xc75a22[_0x53be29])));break;}}}[_0x16d3bc(0x1d6)](){const _0x591eaa=_0x16d3bc,_0xb1cb3d={'irTfl':function(_0x2af588,_0x11775b){return _0x3ef2d2['inWEA'](_0x2af588,_0x11775b);},'lTouf':_0x3ef2d2['fkLbt']};return logger[_0x591eaa(0x1ee)](_0x3ef2d2['DyOFh']),this[_0x591eaa(0x1e6)](_0x1d5d22[_0x591eaa(0x22d)]),Object[_0x591eaa(0x1fb)](_0x1d5d22[_0x591eaa(0x22d)])[_0x591eaa(0x205)](_0x342260=>{const _0x213184=_0x591eaa,_0x284749=this['capabilities_']['get'](_0x342260);_0xb1cb3d[_0x213184(0x1d3)](typeof _0x284749,_0xb1cb3d['lTouf'])?this['capabilities_'][_0x213184(0x1ef)](_0x342260,helper[_0x213184(0x1c0)](_0x284749,_0x1d5d22[_0x213184(0x22d)][_0x342260])):this[_0x213184(0x230)][_0x213184(0x1ef)](_0x342260,_0x1d5d22[_0x213184(0x22d)][_0x342260]);}),this;}[_0x16d3bc(0x21e)](){const _0x4a829e=_0x16d3bc,_0x224ec6={'wmDFx':function(_0x6f8f4f,_0x1eee99,_0x246574){return _0x3ef2d2['SHDLh'](_0x6f8f4f,_0x1eee99,_0x246574);}};if(helper[_0x4a829e(0x1f5)]()){const _0x25dd18=_0x3ef2d2[_0x4a829e(0x1cb)]['split']('|');let _0x15607d=0x0;while(!![]){switch(_0x25dd18[_0x15607d++]){case'0':this[_0x4a829e(0x1d6)]();continue;case'1':_0x3ef2d2[_0x4a829e(0x211)](isAccessibilityAutomationSession)&&_0x3ef2d2[_0x4a829e(0x208)](setAccessibilityCapabilities,_0x1d5d22);continue;case'2':logger[_0x4a829e(0x1ee)](_0x3ef2d2[_0x4a829e(0x1ed)]);continue;case'3':this[_0x4a829e(0x1f9)]();continue;case'4':globals[_0x4a829e(0x1da)](_0x3ef2d2[_0x4a829e(0x1d0)])&&(!_0x3ef2d2[_0x4a829e(0x1e1)](setExtension,this,_0x1d5d22)&&globals['setGlobal'](_0x3ef2d2[_0x4a829e(0x1d0)],![]));continue;case'5':if(helper[_0x4a829e(0x20c)](_0x1d5d22[_0x4a829e(0x1f6)]['proxyUrl']))this[_0x4a829e(0x1db)]=helper[_0x4a829e(0x216)](_0x1d5d22[_0x4a829e(0x1f6)][_0x4a829e(0x1bf)]);else _0x1d5d22[_0x4a829e(0x1f6)]['proxyUrl']&&(this[_0x4a829e(0x223)]=_0x1d5d22['proxySettings'][_0x4a829e(0x1bf)],logger['debug'](_0x4a829e(0x1e7)+this['proxy_']));continue;}break;}}const _0x2d7af5=super['build']();return _0x2d7af5['session_'][_0x4a829e(0x221)](_0x459ef8=>{const _0x5de270=_0x4a829e;try{const _0x1f0c72=_0x459ef8[_0x5de270(0x22c)][_0x5de270(0x1cf)](_0x3ef2d2[_0x5de270(0x224)]);_0x1f0c72?(logger[_0x5de270(0x1ee)](_0x5de270(0x22b)+_0x1f0c72),hubAllocator[_0x5de270(0x1c7)](_0x1f0c72),helper[_0x5de270(0x225)](_0x1f0c72)):logger[_0x5de270(0x1ee)](_0x3ef2d2[_0x5de270(0x1fe)]);}catch(_0x4ea731){logger[_0x5de270(0x1ee)](_0x5de270(0x210)+_0x4ea731);}}),_0x2d7af5['quitCount_']=0x0,_0x2d7af5[_0x4a829e(0x221)]&&_0x2d7af5['then'](_0x2fdcfe=>{const _0x44a244=_0x4a829e,_0x20fa41={'AcDWi':function(_0x2d7a4a,_0x1ea609,_0xb3f0a1){const _0x130bbb=a29_0x369b;return _0x3ef2d2[_0x130bbb(0x1e1)](_0x2d7a4a,_0x1ea609,_0xb3f0a1);}};_0x3ef2d2[_0x44a244(0x1e1)](overrideQuit,_0x2fdcfe,_0x2d7af5),_0x3ef2d2[_0x44a244(0x208)](overrideTakeScreenshot,_0x2fdcfe),helper[_0x44a244(0x1f3)](_0x2fdcfe,_0x1d5d22),helper['overrideExecute'](_0x2fdcfe,_0x1d5d22),_0x2fdcfe[_0x44a244(0x20a)]=async()=>{const _0x3abfe9=_0x44a244;return await _0x20fa41[_0x3abfe9(0x231)](getAccessibilityResultsSummary,_0x2fdcfe,global);},_0x2fdcfe[_0x44a244(0x1f0)]=async()=>{return await _0x224ec6['wmDFx'](getAccessibilityResults,_0x2fdcfe,global);};}),_0x2d7af5[_0x4a829e(0x20a)]=async()=>{const _0x1959d6=_0x4a829e;return await _0x224ec6[_0x1959d6(0x22e)](getAccessibilityResultsSummary,_0x2d7af5,global);},_0x2d7af5['getAccessibilityResults']=async()=>{return await _0x224ec6['wmDFx'](getAccessibilityResults,_0x2d7af5,global);},_0x3ef2d2[_0x4a829e(0x1d5)](overrideTakeScreenshot,_0x2d7af5),_0x3ef2d2[_0x4a829e(0x1e4)](overrideQuit,_0x2d7af5),helper[_0x4a829e(0x1f3)](_0x2d7af5,_0x1d5d22),helper['overrideExecute'](_0x2d7af5,_0x1d5d22),helper[_0x4a829e(0x214)](global[_0x4a829e(0x1ce)])&&(global[_0x4a829e(0x1ce)]=[]),helper['isUndefined'](global[_0x4a829e(0x20e)])&&(global[_0x4a829e(0x20e)]=[]),global['__driversArray']['push'](_0x2d7af5),global[_0x4a829e(0x1ec)]=_0x2d7af5,_0x3ef2d2['gUkNY'](global[_0x4a829e(0x20e)],undefined)&&global['__drivers'][_0x4a829e(0x1ff)](_0x2d7af5),_0x3faef7&&helper[_0x4a829e(0x214)](_0x3faef7[_0x4a829e(0x1d9)][_0x4a829e(0x1ce)])&&(_0x3faef7[_0x4a829e(0x1d9)]['__driversArray']=[]),_0x3faef7&&_0x3ef2d2[_0x4a829e(0x1cc)](_0x3faef7[_0x4a829e(0x1d9)][_0x4a829e(0x20e)],undefined)&&(_0x3faef7[_0x4a829e(0x1d9)][_0x4a829e(0x20e)][_0x4a829e(0x1ff)](_0x2d7af5),_0x3faef7[_0x4a829e(0x1d9)]['__driversArray'][_0x4a829e(0x1ff)](_0x2d7af5)),_0x2d7af5;}}return _0x428e20['originalBuilder']=_0x428e20[_0x16d3bc(0x1e8)],_0x428e20[_0x16d3bc(0x1e8)]=_0x5265bc,_0x503ad3[_0x16d3bc(0x1d4)]=_0x2d7737,_0x428e20;};function a29_0x369b(_0x506f26,_0x2c3db4){const _0x584f5f=a29_0x584f();return a29_0x369b=function(_0x369b84,_0x56a92e){_0x369b84=_0x369b84-0x1be;let _0x2d9aad=_0x584f5f[_0x369b84];return _0x2d9aad;},a29_0x369b(_0x506f26,_0x2c3db4);}module[a29_0xd47b0e(0x1e9)][a29_0xd47b0e(0x213)]=modify;
@@ -1 +1 @@
1
- function a30_0x28fe(_0x13083d,_0x4692f8){const _0x17f618=a30_0x17f6();return a30_0x28fe=function(_0x28fefc,_0xbc9394){_0x28fefc=_0x28fefc-0x139;let _0x7b9cba=_0x17f618[_0x28fefc];return _0x7b9cba;},a30_0x28fe(_0x13083d,_0x4692f8);}const a30_0x459af9=a30_0x28fe;function a30_0x17f6(){const _0x186841=['10EWpCUN','6724926jGrLIk','timeout','24oqrNgC','641259CmDPyz','1340185aXsvrt','119517AhtJpz','../../../helpers/test-observability/utils','7547204sYZQHi','8983552EDtClQ','../../../bin/utils/constants','mochaHooks','1176445lZLmGF'];a30_0x17f6=function(){return _0x186841;};return a30_0x17f6();}(function(_0x2f5480,_0x2465f3){const _0x34ff90=a30_0x28fe,_0x1a3cb1=_0x2f5480();while(!![]){try{const _0x487da9=parseInt(_0x34ff90(0x142))/0x1+parseInt(_0x34ff90(0x13d))/0x2*(-parseInt(_0x34ff90(0x143))/0x3)+-parseInt(_0x34ff90(0x140))/0x4*(parseInt(_0x34ff90(0x13c))/0x5)+-parseInt(_0x34ff90(0x13e))/0x6+parseInt(_0x34ff90(0x145))/0x7+parseInt(_0x34ff90(0x139))/0x8+-parseInt(_0x34ff90(0x141))/0x9;if(_0x487da9===_0x2465f3)break;else _0x1a3cb1['push'](_0x1a3cb1['shift']());}catch(_0xc6308a){_0x1a3cb1['push'](_0x1a3cb1['shift']());}}}(a30_0x17f6,0xb43fc));const requestSpy=require('../../../helpers/request-spy'),constants=require(a30_0x459af9(0x13a)),{addRequestSpy}=require(a30_0x459af9(0x144));exports[a30_0x459af9(0x13b)]={'beforeAll'(){const _0x460c91={'AvAuQ':function(_0x4ca872){return _0x4ca872();}},_0x43b099='browserstack internal helper hook';_0x460c91['AvAuQ'](addRequestSpy);},'afterAll'(){const _0x33dc9f=a30_0x459af9,_0x42174c='browserstack internal helper hook';this[_0x33dc9f(0x13f)](0xea60),requestSpy['restore']();}};
1
+ const a30_0x2907a2=a30_0x15b5;(function(_0x432f72,_0x39d2d2){const _0xbfe084=a30_0x15b5,_0x4297cf=_0x432f72();while(!![]){try{const _0x354025=-parseInt(_0xbfe084(0x1f6))/0x1+-parseInt(_0xbfe084(0x1f9))/0x2*(-parseInt(_0xbfe084(0x1f8))/0x3)+-parseInt(_0xbfe084(0x1ff))/0x4+-parseInt(_0xbfe084(0x1fc))/0x5*(parseInt(_0xbfe084(0x1f7))/0x6)+-parseInt(_0xbfe084(0x1f3))/0x7+parseInt(_0xbfe084(0x1f5))/0x8+-parseInt(_0xbfe084(0x1f4))/0x9*(-parseInt(_0xbfe084(0x1fe))/0xa);if(_0x354025===_0x39d2d2)break;else _0x4297cf['push'](_0x4297cf['shift']());}catch(_0xecc0b2){_0x4297cf['push'](_0x4297cf['shift']());}}}(a30_0xad3b,0x1ada7));function a30_0xad3b(){const _0x22915f=['598990rYuecH','9GqNwcQ','1274648sklCmZ','217169QqFLJq','822iCwFzG','95547iaMZXE','4OJYyxN','timeout','../../../helpers/test-observability/utils','2975PgtEfr','../../../bin/utils/constants','3425980DSCVnQ','285528uGfdup','../../../helpers/request-spy','restore'];a30_0xad3b=function(){return _0x22915f;};return a30_0xad3b();}function a30_0x15b5(_0x1884c6,_0x5f164e){const _0xad3b23=a30_0xad3b();return a30_0x15b5=function(_0x15b5d0,_0x5ddf34){_0x15b5d0=_0x15b5d0-0x1f3;let _0x109f34=_0xad3b23[_0x15b5d0];return _0x109f34;},a30_0x15b5(_0x1884c6,_0x5f164e);}const requestSpy=require(a30_0x2907a2(0x200)),constants=require(a30_0x2907a2(0x1fd)),{addRequestSpy}=require(a30_0x2907a2(0x1fb));exports['mochaHooks']={'beforeAll'(){const _0x5ee3d3={'Xrkyj':function(_0x1d2359){return _0x1d2359();}},_0x308a23='browserstack internal helper hook';_0x5ee3d3['Xrkyj'](addRequestSpy);},'afterAll'(){const _0x212078=a30_0x2907a2,_0x5cb5ea='browserstack internal helper hook';this[_0x212078(0x1fa)](0xea60),requestSpy[_0x212078(0x201)]();}};
@@ -1 +1 @@
1
- const a31_0xf0def=a31_0x5ccb;(function(_0x902dda,_0x455612){const _0x35e0a5=a31_0x5ccb,_0x5958ef=_0x902dda();while(!![]){try{const _0x39d208=-parseInt(_0x35e0a5(0x142))/0x1*(parseInt(_0x35e0a5(0x145))/0x2)+parseInt(_0x35e0a5(0x121))/0x3+parseInt(_0x35e0a5(0x135))/0x4*(parseInt(_0x35e0a5(0x160))/0x5)+-parseInt(_0x35e0a5(0x130))/0x6*(-parseInt(_0x35e0a5(0x133))/0x7)+-parseInt(_0x35e0a5(0x11f))/0x8*(parseInt(_0x35e0a5(0x115))/0x9)+parseInt(_0x35e0a5(0x111))/0xa+parseInt(_0x35e0a5(0x15e))/0xb*(-parseInt(_0x35e0a5(0x112))/0xc);if(_0x39d208===_0x455612)break;else _0x5958ef['push'](_0x5958ef['shift']());}catch(_0x47c2a3){_0x5958ef['push'](_0x5958ef['shift']());}}}(a31_0x34ea,0xe5044));function a31_0x5ccb(_0x2ae9f1,_0x1e6d7a){const _0x34ea04=a31_0x34ea();return a31_0x5ccb=function(_0x5ccbfc,_0x4f9d5e){_0x5ccbfc=_0x5ccbfc-0x10c;let _0x505423=_0x34ea04[_0x5ccbfc];return _0x505423;},a31_0x5ccb(_0x2ae9f1,_0x1e6d7a);}function a31_0x34ea(){const _0x1fa4f7=['getCapabilities','WOMFi','js-','NPEwV','../../utils/logPatcher','eYKLr','KKzDO','sendPlatformDetails','getBrowserVersion','concat','split','Ykgvt','push','toJSON','_afterEach','RMMdV','passed','88pJCBgV','getHookDetails','4561525YNDlXe','map_','tfihj','hook','_beforeEach','app','14938050nbCCpZ','4600656lfJcxH','emit','HnUFx','3586653lUYkDq','getBrowserName','PSzzL','../../../helpers/test-observability/utils','state','keys','xAVzW','BGkHw','filter','__cloud_provider___','24UVgJeE','markedStatus','4569120tlGXNh','parent','_beforeAll','vBCLL','yEpus','getPlatform','thqcy','VJxwk','substring','app-automate','../../../helpers/testhub/utils','TEST_PLATFORM','pending','mCUiC','hmwIU','18XnDqOo','uuid','mapTestHooks','4155746ryWPOb','toISOString','4VZKSRE','indexOf','getHookSkippedTests','OgpjN','getHooksForTest','automate','vrbnY','forEach','failed','string','LQkns','ZlQcZ','slice','509477kXjITi','getTestEnv','YnnSO','2TWanaK','mfOfR','bgraj','type','lfDLj','pYWkc','hookAnalyticsId','BbZlS'];a31_0x34ea=function(){return _0x1fa4f7;};return a31_0x34ea();}const {v4:uuidv4}=require(a31_0xf0def(0x131)),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0xf0def(0x151)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0xf0def(0x118)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0xf0def(0x12b));console={},Object[a31_0xf0def(0x11a)](consoleHolder)['forEach'](_0x2c71c5=>{console[_0x2c71c5]=(..._0x3ee6c8)=>{BSTestOpsPatcher[_0x2c71c5](..._0x3ee6c8);};}),exports[a31_0xf0def(0x143)]=()=>{const _0x44e6f6=a31_0xf0def,_0x33ba18={'bgraj':'generic','LQkns':function(_0x30be6b){return _0x30be6b();}};return{'ci':_0x33ba18[_0x44e6f6(0x147)],'key':_0x33ba18[_0x44e6f6(0x13f)](uuidv4),'version':version,'collector':_0x44e6f6(0x14f)+name};},exports[a31_0xf0def(0x15f)]=_0x443ce2=>{const _0x411c7d=a31_0xf0def,_0x13bf3e={};_0x13bf3e[_0x411c7d(0x114)]=function(_0xa2d744,_0x1efaaa){return _0xa2d744!==_0x1efaaa;},_0x13bf3e[_0x411c7d(0x124)]=_0x411c7d(0x13e),_0x13bf3e[_0x411c7d(0x140)]='hook:',_0x13bf3e[_0x411c7d(0x150)]=_0x411c7d(0x10e);const _0x5bbcdf=_0x13bf3e;if(!_0x443ce2||_0x5bbcdf[_0x411c7d(0x114)](typeof _0x443ce2,_0x5bbcdf[_0x411c7d(0x124)]))return[null,null];if(_0x5bbcdf[_0x411c7d(0x114)](_0x443ce2[_0x411c7d(0x136)](_0x5bbcdf[_0x411c7d(0x140)]),-0x1)){const _0x2dcc40=_0x443ce2[_0x411c7d(0x157)](_0x5bbcdf['ZlQcZ']);return[_0x2dcc40[0x0][_0x411c7d(0x141)](0x0,-0x1)['split']('\x22')[0x1],_0x2dcc40[0x1][_0x411c7d(0x129)](0x1)];}else{if(_0x5bbcdf[_0x411c7d(0x114)](_0x443ce2[_0x411c7d(0x136)](_0x5bbcdf[_0x411c7d(0x150)]),-0x1)){const _0xaa4e21=_0x443ce2[_0x411c7d(0x157)](_0x5bbcdf[_0x411c7d(0x150)]);return[_0xaa4e21[0x0][_0x411c7d(0x141)](0x0,-0x1)['split']('\x22')[0x1],_0x443ce2];}}return[null,null];},exports[a31_0xf0def(0x139)]=_0x4083da=>{const _0x1d8183=a31_0xf0def,_0x3f18a6={'yEpus':function(_0x5da08d,_0x584ef5){return _0x5da08d(_0x584ef5);},'xAVzW':_0x1d8183(0x123),'kALrY':'_afterAll','vrbnY':_0x1d8183(0x10f),'VJxwk':'_afterEach'};if(!_0x4083da||!_0x4083da['parent'])return[];const _0xc74e48=[];return[_0x3f18a6[_0x1d8183(0x11b)],_0x3f18a6['kALrY'],_0x3f18a6[_0x1d8183(0x13b)],_0x3f18a6[_0x1d8183(0x128)]][_0x1d8183(0x13c)](_0x43713e=>{const _0x58f262=_0x1d8183,_0x24b11a=_0x4083da[_0x58f262(0x122)][_0x43713e]||[];_0x24b11a[_0x58f262(0x13c)](_0x1e9daa=>{const _0x29f366=_0x58f262;_0x1e9daa[_0x29f366(0x14b)]&&!_0x3f18a6[_0x29f366(0x125)](isInternalHook,_0x1e9daa['fn'])&&_0xc74e48[_0x29f366(0x159)](_0x1e9daa[_0x29f366(0x14b)]);});}),[..._0xc74e48,...exports[_0x1d8183(0x139)](_0x4083da[_0x1d8183(0x122)])];},exports[a31_0xf0def(0x132)]=_0x32b643=>{const _0x2a7605=a31_0xf0def,_0x47e7eb={'pYWkc':function(_0x45bd1d){return _0x45bd1d();},'mfOfR':function(_0x716ddd,_0x3c0ac7){return _0x716ddd===_0x3c0ac7;},'tfihj':_0x2a7605(0x15b),'RMMdV':_0x2a7605(0x123),'Ykgvt':'_afterAll','zQFlK':_0x2a7605(0x10f)};if(!_0x32b643||!_0x32b643[_0x2a7605(0x122)])return;[_0x47e7eb[_0x2a7605(0x15c)],_0x47e7eb[_0x2a7605(0x158)],_0x47e7eb['zQFlK'],_0x47e7eb['tfihj']][_0x2a7605(0x13c)](_0x49f4ef=>{const _0x18184b=_0x2a7605,_0x5513e9=_0x32b643[_0x18184b(0x122)][_0x49f4ef]||[];_0x5513e9['forEach'](_0x5178ee=>{const _0x567464=_0x18184b;if(!_0x5178ee[_0x567464(0x14b)])_0x5178ee['hookAnalyticsId']=_0x47e7eb[_0x567464(0x14a)](uuidv4);else _0x5178ee[_0x567464(0x120)]&&_0x47e7eb[_0x567464(0x146)](_0x49f4ef,_0x47e7eb[_0x567464(0x10d)])&&(_0x5178ee[_0x567464(0x14b)]=_0x47e7eb['pYWkc'](uuidv4),delete _0x5178ee[_0x567464(0x120)]);});}),exports[_0x2a7605(0x132)](_0x32b643[_0x2a7605(0x122)]);},exports[a31_0xf0def(0x154)]=async(_0x1be29f,_0x52ebf4)=>{const _0x4f7117=a31_0xf0def,_0x3640d0={'PSzzL':function(_0x4e5f97){return _0x4e5f97();},'OgpjN':function(_0xfada6a,_0x35b635){return _0xfada6a===_0x35b635;},'YnnSO':'browserstack','thqcy':'appium:app','lfDLj':_0x4f7117(0x110),'DSqmy':_0x4f7117(0x12a),'mCUiC':_0x4f7117(0x13a),'WOMFi':function(_0x3a2213,_0x2c1879){return _0x3a2213(_0x2c1879);},'PgDkw':'unknown_grid','hmwIU':_0x4f7117(0x12c)};try{if(!_0x3640d0[_0x4f7117(0x117)](shouldProcessEventForTesthub))return;const _0xa1ee22=await _0x1be29f[_0x4f7117(0x14d)](),_0x15647a=await _0x1be29f['getSession'](),_0x57746c={},_0x1b148d=Object['fromEntries'](_0x15647a['getCapabilities']()[_0x4f7117(0x10c)]),_0x20952c={'product':_0x3640d0[_0x4f7117(0x138)](global[_0x4f7117(0x11e)],_0x3640d0['YnnSO'])?_0x1b148d[_0x3640d0[_0x4f7117(0x127)]]||_0x1b148d[_0x3640d0[_0x4f7117(0x149)]]?_0x3640d0['DSqmy']:_0x3640d0[_0x4f7117(0x12e)]:null,'capabilities':_0x1b148d,'platform':_0xa1ee22[_0x4f7117(0x126)](),'platform_version':_0x3640d0[_0x4f7117(0x14e)](getPlatformVersion,_0x3640d0['OgpjN'](global[_0x4f7117(0x11e)],_0x3640d0[_0x4f7117(0x144)])),'browser':_0xa1ee22[_0x4f7117(0x116)](),'browser_version':_0xa1ee22[_0x4f7117(0x155)](),'session_id':_0x15647a[_0x4f7117(0x15a)]()};global[_0x4f7117(0x11e)]?_0x57746c[global['__cloud_provider___']]=_0x20952c:_0x57746c[_0x3640d0['PgDkw']]=_0x20952c,process[_0x4f7117(0x113)]('bs:addPlatformDetails:'+process['pid'],{'timestamp':new Date()[_0x4f7117(0x134)](),'level':null,'message':null,'kind':_0x3640d0[_0x4f7117(0x12f)],'http_response':_0x57746c,'uuid':_0x52ebf4});}catch(_0x32f4b2){_0x3640d0[_0x4f7117(0x14e)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x32f4b2);}},exports[a31_0xf0def(0x137)]=_0x3379b3=>{const _0x4cf692=a31_0xf0def,_0x5e4972={};_0x5e4972[_0x4cf692(0x152)]=function(_0x36082e,_0x604495){return _0x36082e!==_0x604495;},_0x5e4972[_0x4cf692(0x153)]='hook',_0x5e4972[_0x4cf692(0x11c)]=_0x4cf692(0x15d),_0x5e4972[_0x4cf692(0x14c)]=_0x4cf692(0x13d);const _0x5e1b89=_0x5e4972,_0x223dbe=_0x3379b3['suites']['reduce']((_0x181aad,_0x1b24f1)=>{const _0x195a2c=_0x4cf692,_0x270200=exports[_0x195a2c(0x137)](_0x1b24f1);return _0x270200&&(_0x181aad=_0x181aad['concat'](_0x270200)),_0x181aad;},[]),_0x4ed2c3=_0x3379b3['tests'][_0x4cf692(0x11d)](_0x27a301=>{const _0xd18bfa=_0x4cf692,_0x4044f5=_0x5e1b89[_0xd18bfa(0x152)](_0x27a301[_0xd18bfa(0x148)],_0x5e1b89[_0xd18bfa(0x153)])&&!_0x27a301[_0xd18bfa(0x120)]&&_0x5e1b89[_0xd18bfa(0x152)](_0x27a301[_0xd18bfa(0x119)],_0x5e1b89[_0xd18bfa(0x11c)])&&_0x5e1b89['eYKLr'](_0x27a301[_0xd18bfa(0x119)],_0x5e1b89[_0xd18bfa(0x14c)])&&!_0x27a301[_0xd18bfa(0x12d)];return _0x4044f5;});return _0x4ed2c3[_0x4cf692(0x156)](_0x223dbe);};
1
+ const a31_0x48e78a=a31_0xb0ac;(function(_0x150325,_0x5d4deb){const _0x3cce23=a31_0xb0ac,_0x33acd2=_0x150325();while(!![]){try{const _0x373bbb=-parseInt(_0x3cce23(0x138))/0x1+parseInt(_0x3cce23(0x162))/0x2+parseInt(_0x3cce23(0x135))/0x3+-parseInt(_0x3cce23(0x152))/0x4+-parseInt(_0x3cce23(0x169))/0x5+parseInt(_0x3cce23(0x136))/0x6*(parseInt(_0x3cce23(0x16f))/0x7)+-parseInt(_0x3cce23(0x144))/0x8*(-parseInt(_0x3cce23(0x142))/0x9);if(_0x373bbb===_0x5d4deb)break;else _0x33acd2['push'](_0x33acd2['shift']());}catch(_0x419771){_0x33acd2['push'](_0x33acd2['shift']());}}}(a31_0x25fd,0x344be));const {v4:uuidv4}=require(a31_0x48e78a(0x13c)),{name,version}=require(a31_0x48e78a(0x16e)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook}=require(a31_0x48e78a(0x14f)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a31_0x48e78a(0x148)),{shouldProcessEventForTesthub}=require(a31_0x48e78a(0x17e));function a31_0xb0ac(_0x4930ac,_0x4de91a){const _0x25fd86=a31_0x25fd();return a31_0xb0ac=function(_0xb0acd9,_0x403288){_0xb0acd9=_0xb0acd9-0x134;let _0x14405e=_0x25fd86[_0xb0acd9];return _0x14405e;},a31_0xb0ac(_0x4930ac,_0x4de91a);}function a31_0x25fd(){const _0x4fed08=['_afterEach','UrodM','../../../helpers/helper','forEach','kwaUX','state','ubtLH','getHookSkippedTests','_beforeAll','../../../helpers/test-observability/utils','hookAnalyticsId','eqFXn','581128gQVtBv','MvvCB','__cloud_provider___','hXbeh','parent','getCapabilities','hook','failed','HAweV','ITImt','FJCUj','fromEntries','js-','reduce','browserstack','PcCgd','402382dRAWGJ','ibFuP','passed','_beforeEach','getBrowserVersion','getSession','GcbrP','1925085HyNvXr','oNqdd','BdXVy','sCuEg','tGmhK','../../../../package.json','7bNDOwH','getHooksForTest','indexOf','tests','gntCe','pid','TEST_PLATFORM','YWJZa','JHEfr','markedStatus','toISOString','sendPlatformDetails','slice','Lwxvw','split','../../../helpers/testhub/utils','toJSON','automate','aMYtP','getBrowserName','mapTestHooks','vQrkd','app-automate','nSCNa','_afterAll','appium:app','urpzC','saKlh','hook:','map_','suites','1243599iranDO','2706IOQfNY','filter','358408ybFueg','jmHmu','TYCgP','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','uuid','app','generic','Xvqwb','unknown_grid','bs:addPlatformDetails:','81BLHxyS','getTestEnv','432656OUXCPA','concat'];a31_0x25fd=function(){return _0x4fed08;};return a31_0x25fd();}console={},Object['keys'](consoleHolder)['forEach'](_0x1e111d=>{console[_0x1e111d]=(..._0xf20965)=>{BSTestOpsPatcher[_0x1e111d](..._0xf20965);};}),exports[a31_0x48e78a(0x143)]=()=>{const _0x528a7b=a31_0x48e78a,_0x490553={'HAweV':_0x528a7b(0x13e),'JHEfr':function(_0x5cabbe){return _0x5cabbe();}};return{'ci':_0x490553[_0x528a7b(0x15a)],'key':_0x490553[_0x528a7b(0x177)](uuidv4),'version':version,'collector':_0x528a7b(0x15e)+name};},exports['getHookDetails']=_0x2be7fd=>{const _0x47a589=a31_0x48e78a,_0x36816c={};_0x36816c[_0x47a589(0x151)]=function(_0x351c3b,_0x48bf44){return _0x351c3b!==_0x48bf44;},_0x36816c['bngwN']='string',_0x36816c[_0x47a589(0x147)]=_0x47a589(0x18b),_0x36816c['vQrkd']=_0x47a589(0x158);const _0x32ceab=_0x36816c;if(!_0x2be7fd||_0x32ceab[_0x47a589(0x151)](typeof _0x2be7fd,_0x32ceab['bngwN']))return[null,null];if(_0x32ceab[_0x47a589(0x151)](_0x2be7fd[_0x47a589(0x171)](_0x32ceab[_0x47a589(0x147)]),-0x1)){const _0x4b4549=_0x2be7fd[_0x47a589(0x17d)](_0x32ceab[_0x47a589(0x147)]);return[_0x4b4549[0x0][_0x47a589(0x17b)](0x0,-0x1)['split']('\x22')[0x1],_0x4b4549[0x1]['substring'](0x1)];}else{if(_0x32ceab[_0x47a589(0x151)](_0x2be7fd[_0x47a589(0x171)](_0x32ceab[_0x47a589(0x184)]),-0x1)){const _0x364533=_0x2be7fd['split'](_0x32ceab['vQrkd']);return[_0x364533[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x2be7fd];}}return[null,null];},exports['getHooksForTest']=_0x1fa43e=>{const _0x1564f1=a31_0x48e78a,_0xa0c531={'tGmhK':function(_0x9172fe,_0x1de292){return _0x9172fe(_0x1de292);},'ibFuP':_0x1564f1(0x14e),'urpzC':_0x1564f1(0x187),'Lwxvw':'_beforeEach','sCuEg':'_afterEach'};if(!_0x1fa43e||!_0x1fa43e['parent'])return[];const _0x418dec=[];return[_0xa0c531[_0x1564f1(0x163)],_0xa0c531[_0x1564f1(0x189)],_0xa0c531[_0x1564f1(0x17c)],_0xa0c531[_0x1564f1(0x16c)]][_0x1564f1(0x149)](_0x2ccc12=>{const _0x4a2d88=_0x1564f1,_0x18632d=_0x1fa43e['parent'][_0x2ccc12]||[];_0x18632d[_0x4a2d88(0x149)](_0x2e7360=>{const _0x4b3805=_0x4a2d88;_0x2e7360[_0x4b3805(0x150)]&&!_0xa0c531[_0x4b3805(0x16d)](isInternalHook,_0x2e7360['fn'])&&_0x418dec['push'](_0x2e7360[_0x4b3805(0x150)]);});}),[..._0x418dec,...exports[_0x1564f1(0x170)](_0x1fa43e[_0x1564f1(0x156)])];},exports[a31_0x48e78a(0x183)]=_0x334a2f=>{const _0xfa9779=a31_0x48e78a,_0x399da0={'nSCNa':function(_0x39f50c){return _0x39f50c();},'saKlh':function(_0x30e76b,_0x25c3c7){return _0x30e76b===_0x25c3c7;},'TYCgP':_0xfa9779(0x146),'MvvCB':_0xfa9779(0x14e),'JnHTE':_0xfa9779(0x187),'jmHmu':_0xfa9779(0x165)};if(!_0x334a2f||!_0x334a2f[_0xfa9779(0x156)])return;[_0x399da0[_0xfa9779(0x153)],_0x399da0['JnHTE'],_0x399da0[_0xfa9779(0x139)],_0x399da0[_0xfa9779(0x13a)]][_0xfa9779(0x149)](_0x242673=>{const _0x19e55f=_0xfa9779,_0x5ed760=_0x334a2f[_0x19e55f(0x156)][_0x242673]||[];_0x5ed760[_0x19e55f(0x149)](_0x22db37=>{const _0xc4a89e=_0x19e55f;if(!_0x22db37[_0xc4a89e(0x150)])_0x22db37[_0xc4a89e(0x150)]=_0x399da0['nSCNa'](uuidv4);else _0x22db37['markedStatus']&&_0x399da0[_0xc4a89e(0x18a)](_0x242673,_0x399da0[_0xc4a89e(0x13a)])&&(_0x22db37[_0xc4a89e(0x150)]=_0x399da0[_0xc4a89e(0x186)](uuidv4),delete _0x22db37[_0xc4a89e(0x178)]);});}),exports['mapTestHooks'](_0x334a2f[_0xfa9779(0x156)]);},exports[a31_0x48e78a(0x17a)]=async(_0x5d56dd,_0xfd2572)=>{const _0x2d0661=a31_0x48e78a,_0x58e772={'gntCe':function(_0xa165f0){return _0xa165f0();},'GcbrP':function(_0x455438,_0x33e114){return _0x455438===_0x33e114;},'YWJZa':_0x2d0661(0x160),'aMYtP':_0x2d0661(0x188),'kwaUX':_0x2d0661(0x13d),'ubtLH':_0x2d0661(0x185),'dsHTu':_0x2d0661(0x180),'LAYiS':function(_0x6901bc,_0x479a9d){return _0x6901bc(_0x479a9d);},'hXbeh':function(_0x4722a8,_0x258f62){return _0x4722a8===_0x258f62;},'ITImt':_0x2d0661(0x140),'PasSi':_0x2d0661(0x175),'oNqdd':function(_0x773950,_0x43f94c){return _0x773950(_0x43f94c);}};try{if(!_0x58e772[_0x2d0661(0x173)](shouldProcessEventForTesthub))return;const _0x3213a2=await _0x5d56dd[_0x2d0661(0x157)](),_0x11224f=await _0x5d56dd[_0x2d0661(0x167)](),_0x4501c2={},_0x24e2b9=Object[_0x2d0661(0x15d)](_0x11224f[_0x2d0661(0x157)]()[_0x2d0661(0x18c)]),_0x19153b={'product':_0x58e772[_0x2d0661(0x168)](global['__cloud_provider___'],_0x58e772[_0x2d0661(0x176)])?_0x24e2b9[_0x58e772[_0x2d0661(0x181)]]||_0x24e2b9[_0x58e772[_0x2d0661(0x14a)]]?_0x58e772[_0x2d0661(0x14c)]:_0x58e772['dsHTu']:null,'capabilities':_0x24e2b9,'platform':_0x3213a2['getPlatform'](),'platform_version':_0x58e772['LAYiS'](getPlatformVersion,_0x58e772[_0x2d0661(0x155)](global[_0x2d0661(0x154)],_0x58e772[_0x2d0661(0x176)])),'browser':_0x3213a2[_0x2d0661(0x182)](),'browser_version':_0x3213a2[_0x2d0661(0x166)](),'session_id':_0x11224f[_0x2d0661(0x17f)]()};global[_0x2d0661(0x154)]?_0x4501c2[global['__cloud_provider___']]=_0x19153b:_0x4501c2[_0x58e772[_0x2d0661(0x15b)]]=_0x19153b,process['emit'](_0x2d0661(0x141)+process[_0x2d0661(0x174)],{'timestamp':new Date()[_0x2d0661(0x179)](),'level':null,'message':null,'kind':_0x58e772['PasSi'],'http_response':_0x4501c2,'uuid':_0xfd2572});}catch(_0x1848f6){_0x58e772[_0x2d0661(0x16a)](debug,_0x2d0661(0x13b)+_0x1848f6);}},exports[a31_0x48e78a(0x14d)]=_0x35af5c=>{const _0x515a89=a31_0x48e78a,_0x1e76c1={};_0x1e76c1[_0x515a89(0x15c)]=function(_0x570e52,_0x2e479d){return _0x570e52!==_0x2e479d;},_0x1e76c1[_0x515a89(0x16b)]=_0x515a89(0x158),_0x1e76c1['PcCgd']=_0x515a89(0x164),_0x1e76c1[_0x515a89(0x13f)]=_0x515a89(0x159);const _0x4e90bd=_0x1e76c1,_0x4b14d7=_0x35af5c[_0x515a89(0x134)][_0x515a89(0x15f)]((_0x2dfc5f,_0x22be7e)=>{const _0x3f228c=_0x515a89,_0x2c02d0=exports[_0x3f228c(0x14d)](_0x22be7e);return _0x2c02d0&&(_0x2dfc5f=_0x2dfc5f['concat'](_0x2c02d0)),_0x2dfc5f;},[]),_0x3a3403=_0x35af5c[_0x515a89(0x172)][_0x515a89(0x137)](_0x51fe29=>{const _0x28c406=_0x515a89,_0x18369f=_0x4e90bd[_0x28c406(0x15c)](_0x51fe29['type'],_0x4e90bd[_0x28c406(0x16b)])&&!_0x51fe29[_0x28c406(0x178)]&&_0x4e90bd[_0x28c406(0x15c)](_0x51fe29[_0x28c406(0x14b)],_0x4e90bd[_0x28c406(0x161)])&&_0x4e90bd[_0x28c406(0x15c)](_0x51fe29[_0x28c406(0x14b)],_0x4e90bd[_0x28c406(0x13f)])&&!_0x51fe29['pending'];return _0x18369f;});return _0x3a3403[_0x515a89(0x145)](_0x4b14d7);};
@@ -1 +1 @@
1
- const a32_0x293b19=a32_0x2f8a;(function(_0x13bb6f,_0x413585){const _0x28dd35=a32_0x2f8a,_0x111e0a=_0x13bb6f();while(!![]){try{const _0xa649f7=parseInt(_0x28dd35(0x10e))/0x1*(parseInt(_0x28dd35(0x109))/0x2)+-parseInt(_0x28dd35(0xfa))/0x3*(parseInt(_0x28dd35(0x112))/0x4)+parseInt(_0x28dd35(0x124))/0x5*(-parseInt(_0x28dd35(0x12f))/0x6)+parseInt(_0x28dd35(0x135))/0x7+parseInt(_0x28dd35(0xd5))/0x8*(parseInt(_0x28dd35(0xea))/0x9)+-parseInt(_0x28dd35(0xd3))/0xa*(parseInt(_0x28dd35(0xc9))/0xb)+parseInt(_0x28dd35(0xca))/0xc*(-parseInt(_0x28dd35(0xcd))/0xd);if(_0xa649f7===_0x413585)break;else _0x111e0a['push'](_0x111e0a['shift']());}catch(_0x25e710){_0x111e0a['push'](_0x111e0a['shift']());}}}(a32_0x3cbf,0xe4ca7));const util=require(a32_0x293b19(0x122)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x293b19(0x140)),{percyAutoCapture}=require(a32_0x293b19(0x102)),{sendPlatformDetails}=require(a32_0x293b19(0xec)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x293b19(0x141)),PerformanceTester=require(a32_0x293b19(0x11d)),scripts=require(a32_0x293b19(0xd8)),globals=require(a32_0x293b19(0xef)),logger=require(a32_0x293b19(0xeb))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x293b19(0x116)),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0x293b19(0x10c)]={'beforeAll'(){const _0x421ca1=a32_0x293b19,_0x570197={'DjTBm':function(_0x5ce2af,_0x42434e,_0xadb413,_0xd56836){return _0x5ce2af(_0x42434e,_0xadb413,_0xd56836);},'hQXlx':'failed','DshzS':_0x421ca1(0xe5),'jjKQZ':function(_0xe8da88,_0x576398,_0xc5bec2){return _0xe8da88(_0x576398,_0xc5bec2);},'qSWqr':_0x421ca1(0x11c),'eefQj':function(_0x526291){return _0x526291();}};PerformanceTester[_0x421ca1(0x111)]();const _0x473c17='browserstack internal helper hook';global[_0x421ca1(0xf2)]=[],global[_0x421ca1(0x12c)]=![],global['driverCleanup']=async()=>{const _0x42364f=_0x421ca1;let _0x300e00=![];try{await global[_0x42364f(0xf1)][0x0]['session_'],_0x300e00=!![],global[_0x42364f(0x12c)]?await _0x570197[_0x42364f(0xc7)](markSessionStatus,global['__drivers'][0x0],_0x570197[_0x42364f(0xff)],global['__error_messages__'][_0x42364f(0x10b)](_0x570197['DshzS'])):await _0x570197[_0x42364f(0xf9)](markSessionStatus,global[_0x42364f(0xf1)][0x0],_0x570197[_0x42364f(0xf7)]);}catch(_0x2a97e1){}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x300e00)try{try{_0x570197[_0x42364f(0xfd)](shouldProcessEventForTesthub)&&(global[_0x42364f(0xf1)][0x0]&&await _0x570197[_0x42364f(0xf9)](sendPlatformDetails,global[_0x42364f(0xf1)][0x0],this[_0x42364f(0xd1)]?this['currentTest'][_0x42364f(0xc5)]:null));}catch{}await global[_0x42364f(0xf1)][0x0][_0x42364f(0xd9)]();}catch(_0x1c21a0){}};},'beforeEach'(_0x30cdf5){const _0x93f279=a32_0x293b19,_0x91c444={'PXTMo':function(_0x78009a,_0x49d2d6){return _0x78009a>_0x49d2d6;},'HbrYW':function(_0x2f840c,_0x255f7d){return _0x2f840c>_0x255f7d;},'qtXUH':_0x93f279(0x13e),'lQEXW':function(_0x2be921,_0x3b7dcc,_0x218886){return _0x2be921(_0x3b7dcc,_0x218886);},'ZsoFn':_0x93f279(0x13a),'iPrCk':function(_0x11891e){return _0x11891e();},'eqZIo':_0x93f279(0x138),'cQxrO':function(_0x12d5bd,_0x8c63e6){return _0x12d5bd===_0x8c63e6;},'dhqgz':_0x93f279(0x13b),'touTF':function(_0xfc5297,_0x262c02){return _0xfc5297===_0x262c02;},'QeSKO':_0x93f279(0xe6),'PlyrT':_0x93f279(0x134),'HgvEQ':_0x93f279(0xd2)};new Promise(async _0x23e8ba=>{const _0x53ea88=_0x93f279,_0x2c5573='browserstack internal helper hook';let _0xf6ca0e=!![];try{_0x91c444[_0x53ea88(0x108)](global[_0x53ea88(0xf1)]['length'],0x1)&&(await global[_0x53ea88(0x129)](),global[_0x53ea88(0xf1)][_0x53ea88(0x137)]()),_0x91c444[_0x53ea88(0xed)](global[_0x53ea88(0xf1)][0x0][_0x53ea88(0x103)],0x0)&&(_0xf6ca0e=![],await global['driverCleanup']());}catch{}try{Array[_0x53ea88(0x12d)](global[_0x53ea88(0xf1)])&&global[_0x53ea88(0xf1)][0x0]&&(global[_0x53ea88(0xf1)][0x0]['browserstackSessionName']=this[_0x53ea88(0xd1)][_0x53ea88(0x11e)]()[_0x53ea88(0x10b)](_0x91c444[_0x53ea88(0x132)])),global[_0x53ea88(0xd0)]=this[_0x53ea88(0xd1)]['titlePath']()['join'](_0x91c444[_0x53ea88(0x132)]);}catch(_0x795a96){logger['debug'](_0x53ea88(0x11a)+_0x795a96);}this[_0x53ea88(0xd1)][_0x53ea88(0xfe)]=_0x91c444[_0x53ea88(0x12a)](shouldScanTestForAccessibility,this[_0x53ea88(0xd1)][_0x53ea88(0x11e)](),!![]),globals[_0x53ea88(0xe7)](_0x91c444[_0x53ea88(0xe9)],this[_0x53ea88(0xd1)][_0x53ea88(0xfe)]),this['currentTest']['accessibilityScanStarted']=!![];if(_0x91c444[_0x53ea88(0x11f)](isAccessibilityAutomationSession)&&_0xf6ca0e&&Array[_0x53ea88(0x12d)](global['__drivers'])&&_0x91c444[_0x53ea88(0x108)](global[_0x53ea88(0xf1)][_0x53ea88(0xfc)],0x0)&&globals[_0x53ea88(0x10d)](_0x91c444[_0x53ea88(0x120)]))try{const _0x3a2650=await global[_0x53ea88(0xf1)][0x0][_0x53ea88(0x107)];if(_0x3a2650){let _0x2eb6f0=!![];const _0x3a3106=await global[_0x53ea88(0xf1)][0x0][_0x53ea88(0xe1)]();let _0x1e8a26;try{_0x1e8a26=new URL(_0x3a3106);}catch(_0x219e7e){_0x2eb6f0=![];}_0x2eb6f0=_0x91c444[_0x53ea88(0xf5)](_0x1e8a26[_0x53ea88(0x133)],_0x91c444[_0x53ea88(0xcb)])||_0x91c444['touTF'](_0x1e8a26[_0x53ea88(0x133)],_0x91c444['QeSKO']),_0x2eb6f0&&(this['currentTest'][_0x53ea88(0xfe)]&&logger[_0x53ea88(0x127)](_0x91c444[_0x53ea88(0xcc)])),this[_0x53ea88(0xd1)][_0x53ea88(0x106)]=this['currentTest'][_0x53ea88(0xfe)],this[_0x53ea88(0xd1)][_0x53ea88(0xfe)]&&logger['info'](_0x91c444[_0x53ea88(0xcf)]);}}catch(_0x33f25b){logger[_0x53ea88(0x115)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util['format'](_0x33f25b));}_0x91c444[_0x53ea88(0x11f)](_0x23e8ba);})[_0x93f279(0xd7)](_0x30cdf5);},'afterEach'(_0x4b82ad){const _0x53f1ca=a32_0x293b19,_0x26556a={'cdtbW':function(_0x3da349,_0x251d02){return _0x3da349>_0x251d02;},'EGtvK':function(_0x3444ca,_0x2579a2){return _0x3444ca===_0x2579a2;},'DZtlq':_0x53f1ca(0xdb),'OsKPv':function(_0xd972b5,_0x58bc29){return _0xd972b5>_0x58bc29;},'lvngJ':_0x53f1ca(0xc6),'pgPNd':function(_0x39f16b,_0x274f35,_0x4ed4d2,_0x2d7158){return _0x39f16b(_0x274f35,_0x4ed4d2,_0x2d7158);},'blFXY':_0x53f1ca(0x13e),'SgqPg':function(_0x12d1cb,_0x4cd01f){return _0x12d1cb!==_0x4cd01f;},'vwRJe':'passed','kQgBs':function(_0x105838,_0xfa81cb,_0x26cead){return _0x105838(_0xfa81cb,_0x26cead);},'GGQcT':function(_0x38023f,_0x29947c){return _0x38023f+_0x29947c;},'RbtYJ':_0x53f1ca(0x131),'ekeGI':_0x53f1ca(0x115),'isOxb':function(_0x233bbe,_0x1a9a8f,_0x388251){return _0x233bbe(_0x1a9a8f,_0x388251);},'TaEAn':_0x53f1ca(0x119),'Nalee':_0x53f1ca(0x127),'Acnto':_0x53f1ca(0x138),'YlAJm':_0x53f1ca(0x13a),'SIReF':_0x53f1ca(0x13f),'AMreS':'Performing\x20scan\x20before\x20saving\x20results','rodXw':_0x53f1ca(0x11b),'tRjsl':function(_0x29f097){return _0x29f097();},'LtSjz':_0x53f1ca(0x121),'Vazdn':function(_0x11863d,_0x36e60e){return _0x11863d>_0x36e60e;},'DegEV':function(_0x278f2c){return _0x278f2c();}},_0x422f3c='browserstack internal helper hook';this[_0x53f1ca(0xce)](0xfde8);const _0x45f7c1=async(_0x10bbf5,_0xdf92c0)=>{const _0xcc6262=_0x53f1ca;await global[_0xcc6262(0xf1)][0x0][_0xcc6262(0x136)](_0xcc6262(0x123)+_0x10bbf5+_0xcc6262(0x12b)+_0xdf92c0+'\x22}}');};new Promise(async _0x1e2c2f=>{const _0x592141=_0x53f1ca;try{_0x26556a[_0x592141(0xde)](global[_0x592141(0xf1)][_0x592141(0xfc)],0x1)&&(await global['driverCleanup'](),global[_0x592141(0xf1)][_0x592141(0x137)](),global[_0x592141(0xf2)]=[],global['__sessionFailed']=![]);try{if(global[_0x592141(0x13c)]&&_0x26556a[_0x592141(0xe2)](global['percyCaptureMode'],_0x26556a[_0x592141(0xd6)])&&global['__drivers'][0x0]){const _0x28fb0e=_0x26556a['OsKPv'](global['capabilities'][_0x592141(0xfc)],0x0)?!!global[_0x592141(0xf6)][0x0][_0x592141(0x104)]||!!global[_0x592141(0xf6)][0x0][_0x26556a['lvngJ']]:![],_0x1ef1b8={};_0x1ef1b8[_0x592141(0x104)]=_0x28fb0e,await _0x26556a['pgPNd'](percyAutoCapture,global[_0x592141(0xf1)][0x0],_0x26556a[_0x592141(0xd6)],_0x1ef1b8);}}catch(_0x55932f){}!global[_0x592141(0x110)]&&(await global[_0x592141(0xf1)][0x0]['executeScript'](_0x592141(0xe0)+JSON['stringify'](this[_0x592141(0xd1)]['titlePath']()[_0x592141(0x10b)](_0x26556a[_0x592141(0x139)]))+'}}'),global[_0x592141(0xf1)][0x0][_0x592141(0x10f)]=!![]);const _0x2abae1=_0x26556a[_0x592141(0xf3)](this['currentTest'][_0x592141(0x126)],_0x26556a['vwRJe']);_0x2abae1?(global[_0x592141(0x12c)]=!![],global[_0x592141(0xf2)][_0x592141(0xf4)](this[_0x592141(0xd1)][_0x592141(0xfb)]['message']),await _0x26556a['kQgBs'](_0x45f7c1,JSON[_0x592141(0xe3)](_0x26556a['GGQcT'](_0x26556a[_0x592141(0x13d)],this['currentTest'][_0x592141(0xfb)][_0x592141(0xdc)])),_0x26556a['ekeGI'])):await _0x26556a[_0x592141(0xe4)](_0x45f7c1,JSON['stringify'](_0x26556a[_0x592141(0x114)]),_0x26556a['Nalee']);}catch(_0x3c1e03){}try{if(this['currentTest']['accessibilityScanStarted']&&globals['getGlobal'](_0x26556a[_0x592141(0x125)])&&globals[_0x592141(0x10d)](_0x26556a['YlAJm'])){logger[_0x592141(0x127)](_0x26556a[_0x592141(0x12e)]);const _0x12d457={};_0x12d457['thTestRunUuid']=this[_0x592141(0xd1)][_0x592141(0xc5)],_0x12d457[_0x592141(0xdd)]=process[_0x592141(0xda)][testHubConstants[_0x592141(0x105)][_0x592141(0x10a)]],_0x12d457[_0x592141(0xf8)]=process[_0x592141(0xda)][testHubConstants['ENV_VAR'][_0x592141(0xee)]];const _0x4c85a0=_0x12d457;logger[_0x592141(0x121)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x592141(0xe3)](_0x4c85a0)),logger[_0x592141(0x121)](_0x26556a[_0x592141(0xf0)]),logger[_0x592141(0x121)](util[_0x592141(0xc4)](await global['__drivers'][0x0][_0x592141(0x113)](scripts['performScan'],{'method':global[_0x592141(0xd0)]}))),await global[_0x592141(0xf1)][0x0][_0x592141(0x113)](scripts[_0x592141(0xe8)],_0x4c85a0),logger['info'](_0x26556a[_0x592141(0xd4)]);}}catch(_0x2fcec0){logger[_0x592141(0x115)](_0x592141(0x128)+this[_0x592141(0xd1)][_0x592141(0x11e)]()+_0x592141(0x117),_0x2fcec0);}try{try{if(_0x26556a['tRjsl'](shouldProcessEventForTesthub)){global[_0x592141(0xf1)][0x0]&&await _0x26556a[_0x592141(0xe4)](sendPlatformDetails,global['__drivers'][0x0],this[_0x592141(0xd1)]?this[_0x592141(0xd1)][_0x592141(0xc5)]:null);if(_0x26556a[_0x592141(0x100)](isBrowserstackInfra)){const _0x4ab88b='ObservabilitySync:'+Date[_0x592141(0x118)]();await _0x26556a[_0x592141(0xe4)](_0x45f7c1,JSON['stringify'](_0x4ab88b),_0x26556a[_0x592141(0x101)]);}}}catch{}_0x26556a[_0x592141(0x130)](global[_0x592141(0xf1)][0x0][_0x592141(0x103)],0x0)&&await global['driverCleanup']();}catch(_0x529030){}_0x26556a[_0x592141(0xc8)](_0x1e2c2f);})[_0x53f1ca(0xd7)](()=>_0x4b82ad());},'afterAll'(_0x3ffa4d){const _0x58c1c8=a32_0x293b19,_0x4f1405={'HkaXS':function(_0x45fa8b){return _0x45fa8b();}},_0x5f02b7='browserstack internal helper hook';this[_0x58c1c8(0xce)](0xfde8),new Promise(async _0x2e5e5c=>{const _0x4df09c=_0x58c1c8;PerformanceTester[_0x4df09c(0xdf)](),await global[_0x4df09c(0x129)](),_0x4f1405['HkaXS'](_0x2e5e5c);})[_0x58c1c8(0xd7)](()=>_0x3ffa4d());}};function a32_0x2f8a(_0x412a01,_0x13bed2){const _0x3cbfa2=a32_0x3cbf();return a32_0x2f8a=function(_0x2f8a80,_0x57f176){_0x2f8a80=_0x2f8a80-0xc4;let _0x2403b3=_0x3cbfa2[_0x2f8a80];return _0x2403b3;},a32_0x2f8a(_0x412a01,_0x13bed2);}function a32_0x3cbf(){const _0xb2aceb=['DZtlq','then','../../helpers/accessibility-automation/scripts','initQuit','env','testcase','message','thBuildUuid','cdtbW','stopMonitoring','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','getCurrentUrl','EGtvK','stringify','isOxb','\x20|\x20','https:','setGlobal','saveTestResults','ZsoFn','1165581SHChtq','../../helpers/logger','./test-observability/mochaUtils','HbrYW','BROWSERSTACK_TESTHUB_JWT','../../helpers/globals','AMreS','__drivers','__error_messages__','SgqPg','push','cQxrO','capabilities','qSWqr','thJwtToken','jjKQZ','3jTeHLv','err','length','eefQj','shouldScanTestForAccessibility','hQXlx','tRjsl','LtSjz','../../helpers/percy/utils','quitCount_','app','ENV_VAR','accessibilityScanStarted','session_','PXTMo','46GjqBiw','BROWSERSTACK_TESTHUB_UUID','join','mochaHooks','getGlobal','52791QCrorT','sessionNameSet__','__skipSessionName','startMonitoring','2381124EvwfMu','executeAsyncScript','TaEAn','error','../../helpers/testhub/utils','.\x20Error\x20:','now','Passed','Failed\x20to\x20store\x20session\x20name:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','../../helpers/performance-tester','titlePath','iPrCk','eqZIo','debug','util','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','2075165LDkTxu','Acnto','state','info','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','driverCleanup','lQEXW',',\x22level\x22:\x20\x22','__sessionFailed','isArray','SIReF','12cKPfEP','Vazdn','Failed:\x20','qtXUH','protocol','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','4493426LYEXED','executeScript','shift','isAccessibilityPlatform','blFXY','bstackA11yShouldScan','http:','percy','RbtYJ','\x20-\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/accessibility-automation/helper','../../helpers/helper','format','testAnalyticsId','appium:app','DjTBm','DegEV','22297GphsBg','7764JPYBSB','dhqgz','PlyrT','8892KyvveT','timeout','HgvEQ','browserstackSessionName','currentTest','Automate\x20test\x20case\x20execution\x20has\x20started.','430txrnIn','rodXw','64AmIdZW'];a32_0x3cbf=function(){return _0xb2aceb;};return a32_0x3cbf();}
1
+ function a32_0x5e4a(){const _0x595dae=['aJhVy','session_','nEold','iiTyp','__sessionFailed','sessionNameSet__','../../helpers/helper','14114889DVqkAP','kSLtX','mAyZY','isAccessibilityPlatform','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','SRoZH','error','testcase','.\x20Error\x20:','percyCaptureMode','\x22}}','1778343HjVkCF','2217560YXCsAE','6tLqjAs','quitCount_','ObservabilitySync:','passed','BROWSERSTACK_TESTHUB_UUID','protocol','thJwtToken','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','13VbRLLy','tsInS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','odYDJ','gbvLI','winstonLogger','stRUp','../../helpers/globals','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','kNwWi','Failed\x20to\x20store\x20session\x20name:\x20','join','accessibilityScanStarted','stopMonitoring','now','Qncjs','DTqFc','../../helpers/logger','dfUUa','hWxJJ','https:','http:','percy','performScan','then','3472595GMeTxr','72046kDXleJ','stringify','Pvvfc','browserstackSessionName','shift','ENV_VAR','\x20-\x20','IuoqQ','thTestRunUuid','info','Failed:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/accessibility-automation/scripts','format','GFjaH','__drivers','push','XmbJJ','err','rKxhn','Samaw','startMonitoring','state','isArray','titlePath','executeAsyncScript','Automate\x20test\x20case\x20execution\x20has\x20started.','executeScript','timeout','cIHrN','HbMif','19579rbUMDH','debug','\x20|\x20','zSlow','bstackA11yShouldScan','message','failed','IvJUT','capabilities','Eirco','appium:app','thBuildUuid','app','LNzFJ','LNyzv','currentTest','driverCleanup','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20',',\x22level\x22:\x20\x22','../../helpers/testhub/utils','2323472NRHkPM','tYUqe','../../helpers/percy/utils','setGlobal','__error_messages__','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Passed','elJtQ','env','iDfZj','length','sMeAg','vrsjh','util','./test-observability/mochaUtils','getGlobal','shouldScanTestForAccessibility','xksPY'];a32_0x5e4a=function(){return _0x595dae;};return a32_0x5e4a();}function a32_0x2286(_0x241ce9,_0x13d790){const _0x5e4a06=a32_0x5e4a();return a32_0x2286=function(_0x228647,_0x501d8f){_0x228647=_0x228647-0x163;let _0xa1d969=_0x5e4a06[_0x228647];return _0xa1d969;},a32_0x2286(_0x241ce9,_0x13d790);}const a32_0xc757e6=a32_0x2286;(function(_0x13c182,_0x457f7d){const _0x3723a4=a32_0x2286,_0x1e99e9=_0x13c182();while(!![]){try{const _0x18434e=-parseInt(_0x3723a4(0x1ba))/0x1*(-parseInt(_0x3723a4(0x1d4))/0x2)+parseInt(_0x3723a4(0x1b0))/0x3+parseInt(_0x3723a4(0x1b1))/0x4+parseInt(_0x3723a4(0x1d3))/0x5+parseInt(_0x3723a4(0x1b2))/0x6*(-parseInt(_0x3723a4(0x178))/0x7)+-parseInt(_0x3723a4(0x18c))/0x8+-parseInt(_0x3723a4(0x1a5))/0x9;if(_0x18434e===_0x457f7d)break;else _0x1e99e9['push'](_0x1e99e9['shift']());}catch(_0x21dbfa){_0x1e99e9['push'](_0x1e99e9['shift']());}}}(a32_0x5e4a,0x6d7b5));const util=require(a32_0xc757e6(0x199)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0xc757e6(0x18e)),{sendPlatformDetails}=require(a32_0xc757e6(0x19a)),{isBrowserstackInfra,markSessionStatus}=require(a32_0xc757e6(0x1a4)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a32_0xc757e6(0x165)),globals=require(a32_0xc757e6(0x1c1)),logger=require(a32_0xc757e6(0x1cb))[a32_0xc757e6(0x1bf)],{shouldProcessEventForTesthub}=require(a32_0xc757e6(0x18b)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0x5cf3ef=a32_0xc757e6,_0xa93c4a={'kNwWi':function(_0x18013c,_0x425768,_0x594914,_0xe94a41){return _0x18013c(_0x425768,_0x594914,_0xe94a41);},'zSlow':_0x5cf3ef(0x17e),'IuoqQ':_0x5cf3ef(0x17a),'dfUUa':function(_0xeab0d1,_0x416048,_0x3b42f9){return _0xeab0d1(_0x416048,_0x3b42f9);},'XmbJJ':_0x5cf3ef(0x1b5),'SRoZH':function(_0x4183e9){return _0x4183e9();},'nEold':function(_0x1ae189,_0x3b750c,_0x2691c4){return _0x1ae189(_0x3b750c,_0x2691c4);}};PerformanceTester[_0x5cf3ef(0x16e)]();const _0x97e771='browserstack internal helper hook';global[_0x5cf3ef(0x190)]=[],global['__sessionFailed']=![],global[_0x5cf3ef(0x188)]=async()=>{const _0x20c577=_0x5cf3ef;let _0x5d90df=![];try{await global[_0x20c577(0x168)][0x0][_0x20c577(0x19f)],_0x5d90df=!![],global[_0x20c577(0x1a2)]?await _0xa93c4a[_0x20c577(0x1c3)](markSessionStatus,global[_0x20c577(0x168)][0x0],_0xa93c4a[_0x20c577(0x17b)],global[_0x20c577(0x190)][_0x20c577(0x1c5)](_0xa93c4a[_0x20c577(0x1db)])):await _0xa93c4a[_0x20c577(0x1cc)](markSessionStatus,global[_0x20c577(0x168)][0x0],_0xa93c4a[_0x20c577(0x16a)]);}catch(_0x4badc7){}global[_0x20c577(0x190)]=[],global[_0x20c577(0x1a2)]=![];if(_0x5d90df)try{try{_0xa93c4a[_0x20c577(0x1aa)](shouldProcessEventForTesthub)&&(global[_0x20c577(0x168)][0x0]&&await _0xa93c4a[_0x20c577(0x1a0)](sendPlatformDetails,global[_0x20c577(0x168)][0x0],this['currentTest']?this[_0x20c577(0x187)]['testAnalyticsId']:null));}catch{}await global['__drivers'][0x0]['initQuit']();}catch(_0x1a6491){}};},'beforeEach'(_0x328d36){const _0x51c8e1=a32_0xc757e6,_0x5c4c81={'sMeAg':function(_0x26359b,_0x36223f){return _0x26359b>_0x36223f;},'Vpdjj':_0x51c8e1(0x1da),'LNzFJ':function(_0x4bea95,_0x516686,_0x5b5bea){return _0x4bea95(_0x516686,_0x5b5bea);},'LNyzv':_0x51c8e1(0x17c),'hWxJJ':function(_0x3e49f9){return _0x3e49f9();},'tYUqe':_0x51c8e1(0x1a8),'tsInS':function(_0x410c1a,_0x10e6ff){return _0x410c1a===_0x10e6ff;},'gbvLI':_0x51c8e1(0x1cf),'elJtQ':_0x51c8e1(0x1ce),'Wwglk':_0x51c8e1(0x1a9),'VmNzo':_0x51c8e1(0x173)};new Promise(async _0x245bb7=>{const _0x401848=_0x51c8e1,_0x17bb85='browserstack internal helper hook';let _0x34c79b=!![];try{_0x5c4c81[_0x401848(0x197)](global['__drivers'][_0x401848(0x196)],0x1)&&(await global[_0x401848(0x188)](),global[_0x401848(0x168)][_0x401848(0x1d8)]()),_0x5c4c81[_0x401848(0x197)](global[_0x401848(0x168)][0x0][_0x401848(0x1b3)],0x0)&&(_0x34c79b=![],await global[_0x401848(0x188)]());}catch{}try{Array['isArray'](global[_0x401848(0x168)])&&global[_0x401848(0x168)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x401848(0x187)]['titlePath']()[_0x401848(0x1c5)](_0x5c4c81['Vpdjj'])),global[_0x401848(0x1d7)]=this[_0x401848(0x187)][_0x401848(0x171)]()[_0x401848(0x1c5)](_0x5c4c81['Vpdjj']);}catch(_0x1b1f01){logger[_0x401848(0x179)](_0x401848(0x1c4)+_0x1b1f01);}this[_0x401848(0x187)][_0x401848(0x19c)]=_0x5c4c81[_0x401848(0x185)](shouldScanTestForAccessibility,this[_0x401848(0x187)]['titlePath'](),!![]),globals[_0x401848(0x18f)](_0x5c4c81[_0x401848(0x186)],this[_0x401848(0x187)][_0x401848(0x19c)]),this[_0x401848(0x187)][_0x401848(0x1c6)]=!![];if(_0x5c4c81[_0x401848(0x1cd)](isAccessibilityAutomationSession)&&_0x34c79b&&Array[_0x401848(0x170)](global['__drivers'])&&_0x5c4c81[_0x401848(0x197)](global[_0x401848(0x168)]['length'],0x0)&&globals[_0x401848(0x19b)](_0x5c4c81[_0x401848(0x18d)]))try{const _0xe1ff88=await global[_0x401848(0x168)][0x0]['session_'];if(_0xe1ff88){let _0x47a3bc=!![];const _0x1fa202=await global['__drivers'][0x0]['getCurrentUrl']();let _0x2e040f;try{_0x2e040f=new URL(_0x1fa202);}catch(_0x377501){_0x47a3bc=![];}_0x47a3bc=_0x5c4c81[_0x401848(0x1bb)](_0x2e040f[_0x401848(0x1b7)],_0x5c4c81[_0x401848(0x1be)])||_0x5c4c81[_0x401848(0x1bb)](_0x2e040f['protocol'],_0x5c4c81[_0x401848(0x193)]),_0x47a3bc&&(this[_0x401848(0x187)][_0x401848(0x19c)]&&logger['info'](_0x5c4c81['Wwglk'])),this['currentTest'][_0x401848(0x1c6)]=this['currentTest'][_0x401848(0x19c)],this[_0x401848(0x187)]['shouldScanTestForAccessibility']&&logger['info'](_0x5c4c81['VmNzo']);}}catch(_0x50e3b0){logger[_0x401848(0x1ab)](_0x401848(0x1b9)+util[_0x401848(0x166)](_0x50e3b0));}_0x5c4c81[_0x401848(0x1cd)](_0x245bb7);})[_0x51c8e1(0x1d2)](_0x328d36);},'afterEach'(_0x2bb139){const _0x1af00d=a32_0xc757e6,_0x2d6707={'rKxhn':function(_0x2f5e7d,_0x5323c4){return _0x2f5e7d>_0x5323c4;},'mGhqM':function(_0x440114,_0x56b702){return _0x440114===_0x56b702;},'aJhVy':_0x1af00d(0x1ac),'VgUIC':_0x1af00d(0x182),'Qncjs':function(_0x58d862,_0x1a75ef,_0x2959e7,_0x47621a){return _0x58d862(_0x1a75ef,_0x2959e7,_0x47621a);},'kSLtX':_0x1af00d(0x1da),'UHDML':function(_0x5da7ef,_0x3dd7e3){return _0x5da7ef!==_0x3dd7e3;},'iDfZj':_0x1af00d(0x1b5),'mAyZY':function(_0xad2949,_0x30e345,_0x42a993){return _0xad2949(_0x30e345,_0x42a993);},'xksPY':function(_0x355d82,_0x270dc3){return _0x355d82+_0x270dc3;},'IGuGp':_0x1af00d(0x163),'DTqFc':_0x1af00d(0x1ab),'iiTyp':function(_0x39432b,_0x17f54c,_0x42b9a0){return _0x39432b(_0x17f54c,_0x42b9a0);},'mOjTw':_0x1af00d(0x192),'odYDJ':_0x1af00d(0x1dd),'Samaw':'isAccessibilityPlatform','Pvvfc':_0x1af00d(0x17c),'stRUp':_0x1af00d(0x191),'IzPEv':'Performing\x20scan\x20before\x20saving\x20results','cIHrN':_0x1af00d(0x1bc),'HbMif':function(_0x254a79){return _0x254a79();},'GFjaH':function(_0x1aca30){return _0x1aca30();},'vrsjh':function(_0xa5ef1e,_0x3a0146,_0x1292ab){return _0xa5ef1e(_0x3a0146,_0x1292ab);},'qbVmT':_0x1af00d(0x179),'Eirco':function(_0x3ceef9,_0x2c97d7){return _0x3ceef9>_0x2c97d7;}},_0x459879='browserstack internal helper hook';this[_0x1af00d(0x175)](0xfde8);const _0x2d9a42=async(_0xcf11f5,_0x599565)=>{const _0x39352c=_0x1af00d;await global[_0x39352c(0x168)][0x0][_0x39352c(0x174)](_0x39352c(0x1c2)+_0xcf11f5+_0x39352c(0x18a)+_0x599565+_0x39352c(0x1af));};new Promise(async _0x19e3da=>{const _0x184755=_0x1af00d;try{_0x2d6707[_0x184755(0x16c)](global[_0x184755(0x168)]['length'],0x1)&&(await global[_0x184755(0x188)](),global[_0x184755(0x168)][_0x184755(0x1d8)](),global[_0x184755(0x190)]=[],global[_0x184755(0x1a2)]=![]);try{if(global[_0x184755(0x1d0)]&&_0x2d6707['mGhqM'](global[_0x184755(0x1ae)],_0x2d6707[_0x184755(0x19e)])&&global[_0x184755(0x168)][0x0]){const _0xe52fd7=_0x2d6707['rKxhn'](global[_0x184755(0x180)][_0x184755(0x196)],0x0)?!!global[_0x184755(0x180)][0x0][_0x184755(0x184)]||!!global[_0x184755(0x180)][0x0][_0x2d6707['VgUIC']]:![],_0x26da7b={};_0x26da7b[_0x184755(0x184)]=_0xe52fd7,await _0x2d6707[_0x184755(0x1c9)](percyAutoCapture,global[_0x184755(0x168)][0x0],_0x2d6707['aJhVy'],_0x26da7b);}}catch(_0x5711d6){}!global['__skipSessionName']&&(await global[_0x184755(0x168)][0x0][_0x184755(0x174)](_0x184755(0x189)+JSON[_0x184755(0x1d5)](this[_0x184755(0x187)]['titlePath']()[_0x184755(0x1c5)](_0x2d6707[_0x184755(0x1a6)]))+'}}'),global[_0x184755(0x168)][0x0][_0x184755(0x1a3)]=!![]);const _0x57a79e=_0x2d6707['UHDML'](this[_0x184755(0x187)][_0x184755(0x16f)],_0x2d6707[_0x184755(0x195)]);_0x57a79e?(global[_0x184755(0x1a2)]=!![],global[_0x184755(0x190)][_0x184755(0x169)](this[_0x184755(0x187)][_0x184755(0x16b)]['message']),await _0x2d6707[_0x184755(0x1a7)](_0x2d9a42,JSON['stringify'](_0x2d6707[_0x184755(0x19d)](_0x2d6707['IGuGp'],this[_0x184755(0x187)][_0x184755(0x16b)][_0x184755(0x17d)])),_0x2d6707[_0x184755(0x1ca)])):await _0x2d6707[_0x184755(0x1a1)](_0x2d9a42,JSON[_0x184755(0x1d5)](_0x2d6707['mOjTw']),_0x2d6707[_0x184755(0x1bd)]);}catch(_0x163db3){}try{if(this[_0x184755(0x187)][_0x184755(0x1c6)]&&globals[_0x184755(0x19b)](_0x2d6707[_0x184755(0x16d)])&&globals[_0x184755(0x19b)](_0x2d6707[_0x184755(0x1d6)])){logger['info'](_0x2d6707[_0x184755(0x1c0)]);const _0x4141e7={};_0x4141e7[_0x184755(0x1dc)]=this[_0x184755(0x187)]['testAnalyticsId'],_0x4141e7[_0x184755(0x183)]=process[_0x184755(0x194)][testHubConstants[_0x184755(0x1d9)][_0x184755(0x1b6)]],_0x4141e7[_0x184755(0x1b8)]=process['env'][testHubConstants[_0x184755(0x1d9)]['BROWSERSTACK_TESTHUB_JWT']];const _0x509219=_0x4141e7;logger['debug'](_0x184755(0x164)+JSON[_0x184755(0x1d5)](_0x509219)),logger[_0x184755(0x179)](_0x2d6707['IzPEv']),logger[_0x184755(0x179)](util[_0x184755(0x166)](await global[_0x184755(0x168)][0x0][_0x184755(0x172)](scripts[_0x184755(0x1d1)],{'method':global[_0x184755(0x1d7)]}))),await global[_0x184755(0x168)][0x0][_0x184755(0x172)](scripts['saveTestResults'],_0x509219),logger[_0x184755(0x1dd)](_0x2d6707[_0x184755(0x176)]);}}catch(_0x44c1cd){logger[_0x184755(0x1ab)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x184755(0x187)][_0x184755(0x171)]()+_0x184755(0x1ad),_0x44c1cd);}try{try{if(_0x2d6707[_0x184755(0x177)](shouldProcessEventForTesthub)){global[_0x184755(0x168)][0x0]&&await _0x2d6707[_0x184755(0x1a1)](sendPlatformDetails,global['__drivers'][0x0],this[_0x184755(0x187)]?this[_0x184755(0x187)]['testAnalyticsId']:null);if(_0x2d6707[_0x184755(0x167)](isBrowserstackInfra)){const _0x1d30d5=_0x184755(0x1b4)+Date[_0x184755(0x1c8)]();await _0x2d6707[_0x184755(0x198)](_0x2d9a42,JSON['stringify'](_0x1d30d5),_0x2d6707['qbVmT']);}}}catch{}_0x2d6707[_0x184755(0x181)](global[_0x184755(0x168)][0x0][_0x184755(0x1b3)],0x0)&&await global[_0x184755(0x188)]();}catch(_0x1e764b){}_0x2d6707[_0x184755(0x177)](_0x19e3da);})[_0x1af00d(0x1d2)](()=>_0x2bb139());},'afterAll'(_0xdd094){const _0x3a1e0b=a32_0xc757e6,_0x3f7fa3={'IvJUT':function(_0x4c6bf1){return _0x4c6bf1();}},_0x4f4107='browserstack internal helper hook';this[_0x3a1e0b(0x175)](0xfde8),new Promise(async _0x400cd4=>{const _0x29e862=_0x3a1e0b;PerformanceTester[_0x29e862(0x1c7)](),await global[_0x29e862(0x188)](),_0x3f7fa3[_0x29e862(0x17f)](_0x400cd4);})[_0x3a1e0b(0x1d2)](()=>_0xdd094());}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';function a33_0x2f49(_0x5c2645,_0x191027){const _0x1abe92=a33_0x1abe();return a33_0x2f49=function(_0x2f4955,_0x592492){_0x2f4955=_0x2f4955-0x110;let _0x366fd0=_0x1abe92[_0x2f4955];return _0x366fd0;},a33_0x2f49(_0x5c2645,_0x191027);}const a33_0x42f30c=a33_0x2f49;(function(_0x3e28fe,_0x509c2f){const _0x3d46d2=a33_0x2f49,_0x4df288=_0x3e28fe();while(!![]){try{const _0x3a44ec=parseInt(_0x3d46d2(0x134))/0x1*(-parseInt(_0x3d46d2(0x11c))/0x2)+parseInt(_0x3d46d2(0x129))/0x3+-parseInt(_0x3d46d2(0x13e))/0x4*(parseInt(_0x3d46d2(0x116))/0x5)+parseInt(_0x3d46d2(0x12a))/0x6+parseInt(_0x3d46d2(0x153))/0x7*(-parseInt(_0x3d46d2(0x151))/0x8)+-parseInt(_0x3d46d2(0x111))/0x9*(parseInt(_0x3d46d2(0x123))/0xa)+parseInt(_0x3d46d2(0x12b))/0xb;if(_0x3a44ec===_0x509c2f)break;else _0x4df288['push'](_0x4df288['shift']());}catch(_0x3a9c80){_0x4df288['push'](_0x4df288['shift']());}}}(a33_0x1abe,0x52cec));function a33_0x1abe(){const _0x3a00ab=['mergeDeep','3650abzOzc','../../helpers/helper','oahun','webdriver','filter','useW3C','hLWHI','310wAnbMr','hub.browserstack.com','config','test','inherit','host','887427dGboCu','956334UIagFb','8995393kNIpaq','child_process','Deleting\x20','nightwatch','--env','aklmU','CUxDC','close','qaLZk','30yGzSVe','split','xNmsQ','selenium','rAmfS','nightwatch.conf.js','splice','winstonLogger','existsSync','nightwatch-browserstack.json','3092umhMPG','modifyBrowserStackW3CCaps','test_settings','../../helpers/logger','join','nightwatch.cmd','getPlatformName','nightwatch.json','MTEgd','modifyBrowserStackCaps','env','exports','../../helpers/BrowserStackSetup','length','start_process','../utils/constants','forEach','xttlp','desiredCapabilities','819240juZxpX','MyxMg','35vsHOFR','now','cbgPA','map','--config','platform','writeFileSync','port','KsrMv','path','child\x20process\x20exited\x20with\x20code\x20','findIndex','PGFdZ','19251QxTRXK','info','fSrfA','cwd','slice','1945iihnzV','push','trim','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','SCxoO'];a33_0x1abe=function(){return _0x3a00ab;};return a33_0x1abe();}const fs=require('fs'),path=require(a33_0x42f30c(0x15c)),{spawn}=require(a33_0x42f30c(0x12c)),logger=require(a33_0x42f30c(0x141))[a33_0x42f30c(0x13b)],{default:BrowserStackSetup}=require(a33_0x42f30c(0x14a)),helper=require(a33_0x42f30c(0x11d)),constants=require(a33_0x42f30c(0x14d)),getUserNightwatchConfigs=(_0x474d0f,_0x4edf0b)=>{const _0x698621=a33_0x42f30c,_0x3e1fa9={'oahun':_0x698621(0x139),'aklmU':_0x698621(0x145),'xttlp':function(_0x2c8a63,_0x3cb239){return _0x2c8a63(_0x3cb239);},'qaLZk':_0x698621(0x119)};let _0xc47dde=null,_0x1a2f38={};const _0x7b27b4=_0x4edf0b[_0x698621(0x15e)](_0xe61312=>_0xe61312===_0x698621(0x157));if(!helper['isUndefined'](_0x474d0f[_0x698621(0x125)])&&fs[_0x698621(0x13c)](path[_0x698621(0x142)](process[_0x698621(0x114)](),_0x474d0f[_0x698621(0x125)])))_0xc47dde=path[_0x698621(0x142)](process[_0x698621(0x114)](),_0x474d0f[_0x698621(0x125)]),_0x4edf0b[_0x698621(0x13a)](_0x7b27b4,0x2);else{if(fs['existsSync'](path[_0x698621(0x142)](process[_0x698621(0x114)](),_0x3e1fa9['oahun'])))_0xc47dde=path['join'](process[_0x698621(0x114)](),_0x3e1fa9[_0x698621(0x11e)]);else fs[_0x698621(0x13c)](path['join'](process[_0x698621(0x114)](),_0x3e1fa9[_0x698621(0x130)]))&&(_0xc47dde=path[_0x698621(0x142)](process[_0x698621(0x114)](),_0x3e1fa9['aklmU']));}return _0xc47dde?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0xc47dde),_0x1a2f38=_0x3e1fa9[_0x698621(0x14f)](require,_0xc47dde)):logger['info'](_0x3e1fa9[_0x698621(0x133)]),_0x1a2f38;},removeExistingEnvs=_0x5b5e21=>{const _0x461803=a33_0x42f30c,_0x1de625={};_0x1de625[_0x461803(0x110)]=function(_0xcada8a,_0x3d4c40){return _0xcada8a>_0x3d4c40;};const _0x212d08=_0x1de625;let _0x3d77b6=_0x5b5e21[_0x461803(0x15e)](_0x1e85c8=>_0x1e85c8===_0x461803(0x12f));_0x212d08[_0x461803(0x110)](_0x3d77b6,-0x1)&&_0x5b5e21[_0x461803(0x13a)](_0x3d77b6,0x2),_0x3d77b6=_0x5b5e21[_0x461803(0x15e)](_0x475b70=>_0x475b70==='-e'),_0x212d08['PGFdZ'](_0x3d77b6,-0x1)&&_0x5b5e21[_0x461803(0x13a)](_0x3d77b6,0x2);};function run(_0x3ce5d7,_0x162ea1){const _0x239abf=a33_0x42f30c,_0x34afd2={'CUxDC':_0x239abf(0x12e),'xNmsQ':function(_0x5b5fd8,_0x5e5006){return _0x5b5fd8+_0x5e5006;},'KsrMv':_0x239abf(0x140),'rAmfS':function(_0xf0974a,_0x33106b,_0x1a1165){return _0xf0974a(_0x33106b,_0x1a1165);},'fXTau':_0x239abf(0x124),'fSrfA':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','hHEgA':function(_0x532b65,_0x509adb){return _0x532b65===_0x509adb;},'LnWkf':_0x239abf(0x13d),'MyxMg':function(_0x1a8d2b,_0x410c56){return _0x1a8d2b(_0x410c56);},'REQRN':function(_0x295606,_0x88c166,_0x4bacf6,_0x184d90){return _0x295606(_0x88c166,_0x4bacf6,_0x184d90);},'gkbMI':_0x239abf(0x143),'HAWSq':_0x239abf(0x157),'SCxoO':_0x239abf(0x12f),'cbgPA':_0x239abf(0x127),'hLWHI':_0x239abf(0x132)},_0x2a7363=new BrowserStackSetup(_0x3ce5d7);if(!_0x2a7363[_0x239abf(0x125)])return;const _0x1cd7bd=_0x34afd2[_0x239abf(0x138)](getUserNightwatchConfigs,_0x3ce5d7,_0x162ea1),_0x456a34={};_0x456a34[_0x239abf(0x14c)]=![];const _0x1aa457={};_0x1aa457[_0x239abf(0x128)]=_0x34afd2['fXTau'],_0x1aa457[_0x239abf(0x15a)]=0x1bb;const _0x5b015e={};_0x5b015e[_0x239abf(0x11f)]=_0x456a34,_0x5b015e[_0x239abf(0x137)]=_0x1aa457;const _0x3f2ba0=_0x5b015e;logger[_0x239abf(0x112)](_0x34afd2[_0x239abf(0x113)]);const _0x5e426b={..._0x1cd7bd},_0x159a30=_0x5e426b,_0x33085c=helper[_0x239abf(0x121)](_0x2a7363['config']),_0x1b480a=[];_0x2a7363[_0x239abf(0x125)]['platforms'][_0x239abf(0x14e)]((_0x24d055,_0x20e103)=>{const _0x271b86=_0x239abf;_0x33085c?_0x1b480a[_0x271b86(0x117)](helper[_0x271b86(0x13f)](_0x2a7363[_0x271b86(0x125)],_0x34afd2[_0x271b86(0x131)],_0x20e103)):_0x1b480a[_0x271b86(0x117)](helper[_0x271b86(0x147)](_0x2a7363['config'],_0x34afd2[_0x271b86(0x131)],_0x20e103));});const _0x111ca4={},_0x3dc260=[];_0x3ce5d7[_0x239abf(0x148)]=_0x3ce5d7[_0x239abf(0x148)]||_0x3ce5d7['e'];const _0x51c330=_0x3ce5d7[_0x239abf(0x148)]?_0x3ce5d7[_0x239abf(0x148)]['trim']()[_0x239abf(0x135)](',')[_0x239abf(0x156)](_0x2cfa30=>_0x2cfa30[_0x239abf(0x118)]())[_0x239abf(0x120)](_0xa71759=>_0xa71759!==''):[''];_0x34afd2['hHEgA'](_0x51c330[_0x239abf(0x14b)],0x0)&&_0x51c330[_0x239abf(0x117)]('');_0x51c330[_0x239abf(0x14e)](_0x3e630=>{const _0x1401d7=_0x239abf,_0x3cd424={'SHGyS':function(_0x19d302,_0x5d2cde){const _0x557f20=a33_0x2f49;return _0x34afd2[_0x557f20(0x136)](_0x19d302,_0x5d2cde);},'MTEgd':_0x34afd2[_0x1401d7(0x15b)]};_0x1b480a['forEach'](_0x52cb8d=>{const _0x26b967=_0x1401d7;let _0x4aecf0=_0x3cd424['SHGyS'](helper[_0x26b967(0x144)](_0x52cb8d,'_'),'_'+Date[_0x26b967(0x154)]());_0x3e630&&(_0x4aecf0+='_'+_0x3e630);if(_0x3e630&&(!_0x1cd7bd[_0x3cd424[_0x26b967(0x146)]]||!_0x1cd7bd[_0x3cd424['MTEgd']][_0x3e630]))return;const _0x3dad5c={..._0x3f2ba0};_0x3dad5c[_0x26b967(0x150)]=_0x52cb8d;const _0xcffe6c=_0x3dad5c;_0x111ca4[_0x4aecf0]=_0x3e630?helper[_0x26b967(0x11b)](_0x1cd7bd[_0x3cd424[_0x26b967(0x146)]][_0x3e630],_0xcffe6c):_0xcffe6c,_0x3dc260[_0x26b967(0x117)](_0x4aecf0);});});!_0x159a30[_0x239abf(0x140)]&&(_0x159a30['test_settings']={});_0x159a30[_0x239abf(0x140)]={..._0x159a30[_0x239abf(0x140)],..._0x111ca4};const _0x27a2dd=path[_0x239abf(0x142)](__dirname,_0x34afd2['LnWkf']);fs[_0x239abf(0x159)](_0x27a2dd,JSON['stringify'](_0x159a30)),_0x34afd2[_0x239abf(0x152)](removeExistingEnvs,_0x162ea1);const _0x6c5bfd=_0x34afd2['REQRN'](spawn,/^win/[_0x239abf(0x126)](process[_0x239abf(0x158)])?_0x34afd2['gkbMI']:_0x34afd2[_0x239abf(0x131)],[_0x34afd2['HAWSq'],_0x27a2dd,..._0x162ea1[_0x239abf(0x115)](0x1),_0x34afd2[_0x239abf(0x11a)],_0x3dc260[_0x239abf(0x142)](',')],{'stdio':_0x34afd2[_0x239abf(0x155)]});_0x6c5bfd['on'](_0x34afd2[_0x239abf(0x122)],async _0x2f141d=>{const _0xf6c529=_0x239abf;logger['debug'](_0xf6c529(0x15d)+_0x2f141d),logger[_0xf6c529(0x112)](_0xf6c529(0x12d)+_0x27a2dd),fs['unlinkSync'](_0x27a2dd);});}module[a33_0x42f30c(0x149)]=run;
2
+ 'use strict';function a33_0x48ff(){const _0x2b4cbe=['rQNaJ','--config','4359138TqhIxn','mergeDeep','unlinkSync','3310WnYazH','GkjnD','stringify','nightwatch','winstonLogger','info','iHcRI','filter','19197475rXfqSp','pwEWf','writeFileSync','qIhao','env','nightwatch.conf.js','close','LTmdd','webdriver','../../helpers/BrowserStackSetup','debug','../../helpers/logger','child\x20process\x20exited\x20with\x20code\x20','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','1310RMPWFX','config','5QBptHZ','inherit','split','push','6393212jptBvo','exports','test','hub.browserstack.com','../utils/constants','desiredCapabilities','uPVdB','../../helpers/helper','selenium','existsSync','findIndex','OPRNh','pYzge','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Deleting\x20','forEach','join','platform','oIJvf','nightwatch.cmd','modifyBrowserStackCaps','platforms','slice','splice','cwd','109287HxIAxQ','--env','InHmJ','flAMv','8bQNTIT','3830718YhOTOy','ZWDEK','trim','test_settings','map','nightwatch-browserstack.json','jSuXa','486961gMWVcF','vKqlE','JLbdJ','2973zoJMON','start_process','Getting\x20your\x20nightwatch\x20configs\x20from\x20','jUBZi','getPlatformName','nightwatch.json','jObKB'];a33_0x48ff=function(){return _0x2b4cbe;};return a33_0x48ff();}const a33_0x8c4483=a33_0x3bea;function a33_0x3bea(_0x47d91a,_0x225f67){const _0x48ff03=a33_0x48ff();return a33_0x3bea=function(_0x3beafa,_0x1d50c5){_0x3beafa=_0x3beafa-0xc1;let _0x452f72=_0x48ff03[_0x3beafa];return _0x452f72;},a33_0x3bea(_0x47d91a,_0x225f67);}(function(_0x46d063,_0x372d5d){const _0xdecea5=a33_0x3bea,_0x4122dc=_0x46d063();while(!![]){try{const _0x10ca95=-parseInt(_0xdecea5(0xf3))/0x1+parseInt(_0xdecea5(0x102))/0x2*(parseInt(_0xdecea5(0xf6))/0x3)+-parseInt(_0xdecea5(0xce))/0x4+-parseInt(_0xdecea5(0xca))/0x5*(-parseInt(_0xdecea5(0xec))/0x6)+-parseInt(_0xdecea5(0xff))/0x7*(-parseInt(_0xdecea5(0xeb))/0x8)+parseInt(_0xdecea5(0xe7))/0x9*(-parseInt(_0xdecea5(0xc8))/0xa)+parseInt(_0xdecea5(0x10a))/0xb;if(_0x10ca95===_0x372d5d)break;else _0x4122dc['push'](_0x4122dc['shift']());}catch(_0x431501){_0x4122dc['push'](_0x4122dc['shift']());}}}(a33_0x48ff,0xecf18));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a33_0x8c4483(0xc5))[a33_0x8c4483(0x106)],{default:BrowserStackSetup}=require(a33_0x8c4483(0xc3)),helper=require(a33_0x8c4483(0xd5)),constants=require(a33_0x8c4483(0xd2)),getUserNightwatchConfigs=(_0x3268cd,_0x394695)=>{const _0x1a16e9=a33_0x8c4483,_0x157814={'jUBZi':_0x1a16e9(0x10f),'flAMv':_0x1a16e9(0xfb),'oIJvf':function(_0x356a72,_0x1c1217){return _0x356a72(_0x1c1217);},'OPRNh':_0x1a16e9(0xc7)};let _0x196e74=null,_0x5a3cd8={};const _0x2ef2b1=_0x394695[_0x1a16e9(0xd8)](_0x167026=>_0x167026==='--config');if(!helper['isUndefined'](_0x3268cd[_0x1a16e9(0xc9)])&&fs[_0x1a16e9(0xd7)](path['join'](process[_0x1a16e9(0xe6)](),_0x3268cd[_0x1a16e9(0xc9)])))_0x196e74=path['join'](process[_0x1a16e9(0xe6)](),_0x3268cd[_0x1a16e9(0xc9)]),_0x394695[_0x1a16e9(0xe5)](_0x2ef2b1,0x2);else{if(fs['existsSync'](path['join'](process[_0x1a16e9(0xe6)](),_0x157814[_0x1a16e9(0xf9)])))_0x196e74=path[_0x1a16e9(0xde)](process[_0x1a16e9(0xe6)](),_0x157814[_0x1a16e9(0xf9)]);else fs['existsSync'](path[_0x1a16e9(0xde)](process['cwd'](),_0x157814[_0x1a16e9(0xea)]))&&(_0x196e74=path[_0x1a16e9(0xde)](process[_0x1a16e9(0xe6)](),_0x157814['flAMv']));}return _0x196e74?(logger[_0x1a16e9(0x107)](_0x1a16e9(0xf8)+_0x196e74),_0x5a3cd8=_0x157814[_0x1a16e9(0xe0)](require,_0x196e74)):logger[_0x1a16e9(0x107)](_0x157814[_0x1a16e9(0xd9)]),_0x5a3cd8;},removeExistingEnvs=_0x1e0497=>{const _0x157cae=a33_0x8c4483,_0x175b3b={};_0x175b3b[_0x157cae(0xf4)]=function(_0x49b258,_0x25d9c6){return _0x49b258>_0x25d9c6;},_0x175b3b['JLbdJ']=function(_0x19260f,_0x39c420){return _0x19260f>_0x39c420;};const _0x2b27f2=_0x175b3b;let _0x3020a2=_0x1e0497['findIndex'](_0x46fb5e=>_0x46fb5e===_0x157cae(0xe8));_0x2b27f2['vKqlE'](_0x3020a2,-0x1)&&_0x1e0497[_0x157cae(0xe5)](_0x3020a2,0x2),_0x3020a2=_0x1e0497[_0x157cae(0xd8)](_0x3c63cb=>_0x3c63cb==='-e'),_0x2b27f2[_0x157cae(0xf5)](_0x3020a2,-0x1)&&_0x1e0497['splice'](_0x3020a2,0x2);};function run(_0x577a68,_0x4e3e94){const _0x525225=a33_0x8c4483,_0x356b91={'InHmJ':_0x525225(0x105),'LTmdd':function(_0x2a8a3d,_0x63c659){return _0x2a8a3d+_0x63c659;},'hPklO':_0x525225(0xef),'oFIBg':function(_0x50cc3e,_0x1841f1,_0x17138d){return _0x50cc3e(_0x1841f1,_0x17138d);},'ZWDEK':_0x525225(0xd1),'iHcRI':_0x525225(0xdb),'vbPcN':function(_0xf32872,_0x1ef8fd){return _0xf32872===_0x1ef8fd;},'pYzge':_0x525225(0xf1),'pwEWf':function(_0x1d6464,_0x4c9dd4){return _0x1d6464(_0x4c9dd4);},'uPVdB':function(_0x4fc7ab,_0x15b5d1,_0x2a2258,_0x2fa44a){return _0x4fc7ab(_0x15b5d1,_0x2a2258,_0x2fa44a);},'ZYRhC':_0x525225(0xe1),'qqvaj':_0x525225(0xfe),'jObKB':'--env','GkjnD':_0x525225(0xcb),'qIhao':_0x525225(0x110)},_0x27cbb4=new BrowserStackSetup(_0x577a68);if(!_0x27cbb4[_0x525225(0xc9)])return;const _0x689322=_0x356b91['oFIBg'](getUserNightwatchConfigs,_0x577a68,_0x4e3e94),_0x954c75={};_0x954c75[_0x525225(0xf7)]=![];const _0xead66c={};_0xead66c['host']=_0x356b91[_0x525225(0xed)],_0xead66c['port']=0x1bb;const _0xe51f82={};_0xe51f82[_0x525225(0xc2)]=_0x954c75,_0xe51f82[_0x525225(0xd6)]=_0xead66c;const _0x48f4b3=_0xe51f82;logger['info'](_0x356b91[_0x525225(0x108)]);const _0x1420e6={..._0x689322},_0x5c896c=_0x1420e6,_0x175529=helper['useW3C'](_0x27cbb4['config']),_0x380ee5=[];_0x27cbb4[_0x525225(0xc9)][_0x525225(0xe3)][_0x525225(0xdd)]((_0x3a521d,_0x232de)=>{const _0x359cb1=_0x525225;_0x175529?_0x380ee5[_0x359cb1(0xcd)](helper['modifyBrowserStackW3CCaps'](_0x27cbb4['config'],_0x356b91[_0x359cb1(0xe9)],_0x232de)):_0x380ee5['push'](helper[_0x359cb1(0xe2)](_0x27cbb4[_0x359cb1(0xc9)],_0x356b91[_0x359cb1(0xe9)],_0x232de));});const _0x1de069={},_0x40567c=[];_0x577a68['env']=_0x577a68[_0x525225(0x10e)]||_0x577a68['e'];const _0x4a81d7=_0x577a68[_0x525225(0x10e)]?_0x577a68[_0x525225(0x10e)]['trim']()[_0x525225(0xcc)](',')[_0x525225(0xf0)](_0x79183d=>_0x79183d[_0x525225(0xee)]())[_0x525225(0x109)](_0x33b539=>_0x33b539!==''):[''];_0x356b91['vbPcN'](_0x4a81d7['length'],0x0)&&_0x4a81d7[_0x525225(0xcd)]('');_0x4a81d7[_0x525225(0xdd)](_0x4048b5=>{const _0x45d588=_0x525225,_0x5e7dee={'jSuXa':function(_0xd84ab1,_0x534b1d){const _0x3c245f=a33_0x3bea;return _0x356b91[_0x3c245f(0xc1)](_0xd84ab1,_0x534b1d);},'rQNaJ':_0x356b91['hPklO']};_0x380ee5[_0x45d588(0xdd)](_0x4324eb=>{const _0x1251b5=_0x45d588;let _0x16bca0=_0x5e7dee[_0x1251b5(0xf2)](helper[_0x1251b5(0xfa)](_0x4324eb,'_'),'_'+Date['now']());_0x4048b5&&(_0x16bca0+='_'+_0x4048b5);if(_0x4048b5&&(!_0x689322[_0x5e7dee[_0x1251b5(0xfd)]]||!_0x689322[_0x5e7dee['rQNaJ']][_0x4048b5]))return;const _0x5f1c81={..._0x48f4b3};_0x5f1c81[_0x1251b5(0xd3)]=_0x4324eb;const _0x574d5d=_0x5f1c81;_0x1de069[_0x16bca0]=_0x4048b5?helper[_0x1251b5(0x100)](_0x689322[_0x5e7dee[_0x1251b5(0xfd)]][_0x4048b5],_0x574d5d):_0x574d5d,_0x40567c[_0x1251b5(0xcd)](_0x16bca0);});});!_0x5c896c[_0x525225(0xef)]&&(_0x5c896c[_0x525225(0xef)]={});_0x5c896c[_0x525225(0xef)]={..._0x5c896c[_0x525225(0xef)],..._0x1de069};const _0x275839=path[_0x525225(0xde)](__dirname,_0x356b91[_0x525225(0xda)]);fs[_0x525225(0x10c)](_0x275839,JSON[_0x525225(0x104)](_0x5c896c)),_0x356b91[_0x525225(0x10b)](removeExistingEnvs,_0x4e3e94);const _0xa82bd5=_0x356b91[_0x525225(0xd4)](spawn,/^win/[_0x525225(0xd0)](process[_0x525225(0xdf)])?_0x356b91['ZYRhC']:_0x356b91['InHmJ'],[_0x356b91['qqvaj'],_0x275839,..._0x4e3e94[_0x525225(0xe4)](0x1),_0x356b91[_0x525225(0xfc)],_0x40567c[_0x525225(0xde)](',')],{'stdio':_0x356b91[_0x525225(0x103)]});_0xa82bd5['on'](_0x356b91[_0x525225(0x10d)],async _0x4fe20e=>{const _0x1bb1a6=_0x525225;logger[_0x1bb1a6(0xc4)](_0x1bb1a6(0xc6)+_0x4fe20e),logger[_0x1bb1a6(0x107)](_0x1bb1a6(0xdc)+_0x275839),fs[_0x1bb1a6(0x101)](_0x275839);});}module[a33_0x8c4483(0xcf)]=run;
@@ -1 +1 @@
1
- const a34_0x1c1ae3=a34_0x57ac;(function(_0x4bdc97,_0x260090){const _0x2fa8db=a34_0x57ac,_0x1e085b=_0x4bdc97();while(!![]){try{const _0x587bc0=parseInt(_0x2fa8db(0x1b1))/0x1*(-parseInt(_0x2fa8db(0x185))/0x2)+-parseInt(_0x2fa8db(0x1cd))/0x3+-parseInt(_0x2fa8db(0x1a3))/0x4+-parseInt(_0x2fa8db(0x1be))/0x5*(parseInt(_0x2fa8db(0x1b4))/0x6)+parseInt(_0x2fa8db(0x1ce))/0x7*(parseInt(_0x2fa8db(0x1e4))/0x8)+-parseInt(_0x2fa8db(0x1e5))/0x9+parseInt(_0x2fa8db(0x1bc))/0xa;if(_0x587bc0===_0x260090)break;else _0x1e085b['push'](_0x1e085b['shift']());}catch(_0x3547e8){_0x1e085b['push'](_0x1e085b['shift']());}}}(a34_0x5309,0xa05a4));const util=require('util'),logger=require(a34_0x1c1ae3(0x1b6))[a34_0x1c1ae3(0x18d)],{isAccessibilityAutomationSession}=require(a34_0x1c1ae3(0x19c)),{isUndefined}=require('../../helpers/helper'),scripts=require(a34_0x1c1ae3(0x19e));function a34_0x5309(){const _0x3f1655=['Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','accessibilityOptions.includeIssueType.bestPractice','OBWtJ','Vhmpp','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','3587724ntaQig','3346PixGRh','browserStackExecuteDriver','deviceName','oiudu','accessibilityOptions.scannerVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','EsLJE','playwright-chromium','browserStackEvaluate','accessibilityPlatform','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','browser','parse','error','accessibilityOptions.includeIssueType.needsReview','browserstack.accessibility','LDOcg','gYPKn','format','getAccessibilityResults','browserName','KPEnO','4696bcfjEI','4948200hdyZaL','jKKYs','2RvgxZV','GqOVA','wHvUS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','aQOyT','executeAsyncScript','evaluate','accessibilityOptions','winstonLogger','executeScript','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','FdWOz','setAccessibilityCapabilities','EQZlI','irIxS','project','env','method','stringify','wcagVersion','ZDLFU','bvpKk','IomIy','../../helpers/accessibility-automation/helper','BS_A11Y_JWT','../../helpers/accessibility-automation/scripts','wsEndpoint','KaNBh','latest','sYdrN','2879524sWJTma','VpFLu','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','ecdKM','workerInfo','debug','TlZrA','mUgOX','No\x20summaryResults\x20found.','accessibilityOptions.wcagVersion','testInfo','chrome','connectOptions','warn','1288864GjpAkZ','use','name','76518deGTsu','browser_version','../../helpers/logger','DlgmE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','includeIssueType','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','xJumR','42964600AaLiYo','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','65xUZqrp','(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','dDnhW','RSDof','pNfAW','replace','scannerProcessingTimeout','KHybn','accessibilityOptions.authToken','UWxKR'];a34_0x5309=function(){return _0x3f1655;};return a34_0x5309();}function a34_0x57ac(_0x4a9ba8,_0x57a651){const _0x5309d6=a34_0x5309();return a34_0x57ac=function(_0x57acce,_0x26ec5e){_0x57acce=_0x57acce-0x184;let _0x2e2af2=_0x5309d6[_0x57acce];return _0x2e2af2;},a34_0x57ac(_0x4a9ba8,_0x57a651);}exports[a34_0x1c1ae3(0x1d6)]=async(_0x241395,_0x275104,_0x2e5461={})=>{const _0x393760=a34_0x1c1ae3,_0x41655c={};_0x41655c[_0x393760(0x190)]='bstackSdkArgs';const _0x240d3d=_0x41655c;return await _0x241395[_0x393760(0x18b)]('(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'+_0x275104[_0x393760(0x1c3)](/arguments/g,_0x240d3d[_0x393760(0x190)])+_0x393760(0x18f)+JSON['stringify'](_0x2e5461)+')');},exports[a34_0x1c1ae3(0x1cf)]=async(_0x4dfdcb,_0x1f04c4,_0x5c7915={})=>{const _0x5851ea=a34_0x1c1ae3,_0x5a4e95={};_0x5a4e95[_0x5851ea(0x199)]=function(_0x20251c,_0x235e9c){return _0x20251c===_0x235e9c;},_0x5a4e95[_0x5851ea(0x193)]='WebDriver',_0x5a4e95[_0x5851ea(0x1a2)]=function(_0x320012,_0x14c4b1){return _0x320012===_0x14c4b1;},_0x5a4e95['raAfb']='Playwright',_0x5a4e95['IkxFt']='bstackSdkArgs';const _0x425653=_0x5a4e95;if(_0x425653[_0x5851ea(0x199)](_0x4dfdcb['constructor'][_0x5851ea(0x1b3)],_0x425653['irIxS']))return await _0x4dfdcb[_0x5851ea(0x18a)](_0x1f04c4,_0x5c7915);else{if(_0x425653[_0x5851ea(0x1a2)](_0x4dfdcb['constructor'][_0x5851ea(0x1b3)],_0x425653['raAfb']))return await _0x4dfdcb[_0x5851ea(0x18e)](_0x5851ea(0x1bf)+_0x1f04c4[_0x5851ea(0x1c3)](/arguments/g,_0x425653['IkxFt'])+_0x5851ea(0x1bd)+JSON[_0x5851ea(0x197)](_0x5c7915)+')');}},exports[a34_0x1c1ae3(0x191)]=async _0x32dcbd=>{const _0x4177f4=a34_0x1c1ae3,_0x4313eb={};_0x4313eb['KPEnO']=_0x4177f4(0x1ac),_0x4313eb[_0x4177f4(0x1b7)]='accessibilityOptions.scannerProcessingTimeout',_0x4313eb[_0x4177f4(0x1cb)]=_0x4177f4(0x1c9),_0x4313eb[_0x4177f4(0x1df)]=_0x4177f4(0x1dc),_0x4313eb[_0x4177f4(0x1c1)]=_0x4177f4(0x1c6),_0x4313eb[_0x4177f4(0x1d4)]=_0x4177f4(0x1d2);const _0x42caab=_0x4313eb;_0x32dcbd['accessibilityOptions']&&(_0x32dcbd[_0x4177f4(0x18c)][_0x4177f4(0x198)]&&(_0x32dcbd[_0x42caab[_0x4177f4(0x1e3)]]=_0x32dcbd[_0x4177f4(0x18c)][_0x4177f4(0x198)]),_0x32dcbd[_0x4177f4(0x18c)][_0x4177f4(0x1c4)]&&(_0x32dcbd[_0x42caab[_0x4177f4(0x1b7)]]=_0x32dcbd['accessibilityOptions'][_0x4177f4(0x1c4)]),_0x32dcbd[_0x4177f4(0x18c)][_0x4177f4(0x1b9)]&&(_0x32dcbd[_0x42caab[_0x4177f4(0x1cb)]]=_0x32dcbd['accessibilityOptions'][_0x4177f4(0x1b9)]['bestPractice'],_0x32dcbd[_0x42caab[_0x4177f4(0x1df)]]=_0x32dcbd[_0x4177f4(0x18c)][_0x4177f4(0x1b9)]['needsReview']));const _0x1ca439=JSON[_0x4177f4(0x1da)](process[_0x4177f4(0x195)][_0x4177f4(0x1d3)])['scannerVersion'];_0x32dcbd[_0x42caab[_0x4177f4(0x1c1)]]=process['env'][_0x4177f4(0x19d)],_0x32dcbd[_0x42caab[_0x4177f4(0x1d4)]]=_0x1ca439,delete _0x32dcbd[_0x4177f4(0x18c)];},exports[a34_0x1c1ae3(0x1e1)]=async _0x5d8875=>{const _0x3532d5=a34_0x1c1ae3,_0x3ec628={};_0x3ec628[_0x3532d5(0x184)]='No\x20accessibility\x20results\x20were\x20found.',_0x3ec628['oiudu']=_0x3532d5(0x1ba);const _0x1ff3b9=_0x3ec628;if(global[_0x3532d5(0x1d7)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x5d8875,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x5d8875,scripts.getResults);return res;}catch{return logger[_0x3532d5(0x1db)](_0x1ff3b9[_0x3532d5(0x184)]),[];}else return logger[_0x3532d5(0x1b0)](_0x1ff3b9[_0x3532d5(0x1d1)]),[];},exports['performScan']=async(_0x537628,_0x37dc6e='')=>{const _0x4288a6=a34_0x1c1ae3;if(global['accessibilityPlatform']){const _0x1d5777={};return _0x1d5777[_0x4288a6(0x196)]=_0x37dc6e,await exports[_0x4288a6(0x1d6)](_0x537628,scripts['performScan'],_0x1d5777);}},exports['getAccessibilityResultsSummary']=async _0x2f0234=>{const _0x2b8877=a34_0x1c1ae3,_0x4aa220={};_0x4aa220[_0x2b8877(0x189)]=_0x2b8877(0x1ab),_0x4aa220[_0x2b8877(0x1de)]=_0x2b8877(0x1c8);const _0x431fee=_0x4aa220;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2f0234,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x2f0234,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x2b8877(0x1a8)](_0x431fee['aQOyT']),{};}else return logger[_0x2b8877(0x1b0)](_0x431fee['LDOcg']),{};},exports['platformValidation']=async _0x1a4d7d=>{const _0xc271c3=a34_0x1c1ae3,_0x292296={'lBzin':function(_0x529557,_0x33ae77){return _0x529557!==_0x33ae77;},'VpFLu':_0xc271c3(0x1b8),'KHybn':function(_0x54abdd,_0x36e6a4){return _0x54abdd===_0x36e6a4;},'cgJsU':_0xc271c3(0x1ae),'rcuow':_0xc271c3(0x1d5),'KaNBh':_0xc271c3(0x1cc),'MGJEK':function(_0x432edf,_0x47c9b4){return _0x432edf(_0x47c9b4);},'bvpKk':function(_0x36369e,_0x121d73){return _0x36369e===_0x121d73;},'rqBlv':'latest','oVOSm':function(_0x26f579,_0x312447){return _0x26f579>_0x312447;},'XJlIl':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x292296['lBzin'](_0x1a4d7d[_0xc271c3(0x1d0)],''))return logger[_0xc271c3(0x1b0)](_0x292296[_0xc271c3(0x1a4)]),![];const _0x54adf2=_0x1a4d7d[_0xc271c3(0x1d9)];if(!(_0x292296[_0xc271c3(0x1c5)](_0x54adf2,_0x292296['cgJsU'])||_0x292296['KHybn'](_0x54adf2,_0x292296['rcuow'])))return logger[_0xc271c3(0x1b0)](_0x292296[_0xc271c3(0x1a0)]),![];const _0x55eb5a=_0x292296['MGJEK'](parseInt,_0x1a4d7d[_0xc271c3(0x1b5)]);if(!(_0x292296[_0xc271c3(0x19a)](_0x55eb5a,_0x292296['rqBlv'])||_0x292296['oVOSm'](_0x55eb5a,0x5e)))return logger[_0xc271c3(0x1b0)](_0x292296['XJlIl']),![];}catch(_0x5a6946){logger[_0xc271c3(0x1a8)](_0xc271c3(0x1d8)+util[_0xc271c3(0x1e0)](_0x5a6946));}return!![];},exports['processAccessibilityCaps']=(_0x14174d,_0x1e15ae,_0x14629f)=>{const _0x23ec42=a34_0x1c1ae3,_0x39a71d={'pNfAW':function(_0x1ec70e){return _0x1ec70e();},'UWxKR':_0x23ec42(0x1dd),'EQZlI':function(_0x3f3baf,_0x3b9585){return _0x3f3baf===_0x3b9585;},'IomIy':_0x23ec42(0x1ae),'ecdKM':_0x23ec42(0x1d5),'OBWtJ':_0x23ec42(0x1cc),'TlZrA':_0x23ec42(0x1a1),'dDnhW':function(_0x11466f,_0x463ee4){return _0x11466f>_0x463ee4;},'GqOVA':_0x23ec42(0x188),'mUgOX':function(_0x5561e9,_0xb24abc){return _0x5561e9(_0xb24abc);},'fLUYv':_0x23ec42(0x1b8),'xJumR':function(_0x3c4c95,_0x25a200){return _0x3c4c95+_0x25a200;},'wHvUS':function(_0x1a84da,_0x16cabb){return _0x1a84da(_0x16cabb);}};try{if(_0x39a71d[_0x23ec42(0x1c2)](isAccessibilityAutomationSession)){global[_0x23ec42(0x1d7)]=!![];!_0x14174d[_0x39a71d[_0x23ec42(0x1c7)]]&&(global['accessibilityPlatform']=![]);!(_0x39a71d[_0x23ec42(0x192)](_0x14174d[_0x23ec42(0x1e2)],_0x39a71d[_0x23ec42(0x19b)])||_0x39a71d[_0x23ec42(0x192)](_0x14174d['browserName'],_0x39a71d[_0x23ec42(0x1a6)]))&&(logger['warn'](_0x39a71d[_0x23ec42(0x1ca)]),global[_0x23ec42(0x1d7)]=![]);!(_0x39a71d['EQZlI'](_0x14174d['browser_version'],_0x39a71d[_0x23ec42(0x1a9)])||_0x39a71d[_0x23ec42(0x1c0)](_0x14174d[_0x23ec42(0x1b5)],0x5e))&&(logger[_0x23ec42(0x1b0)](_0x39a71d[_0x23ec42(0x186)]),global[_0x23ec42(0x1d7)]=![]);!_0x39a71d[_0x23ec42(0x1aa)](isUndefined,_0x14174d[_0x23ec42(0x1d0)])&&(logger['warn'](_0x39a71d['fLUYv']),global[_0x23ec42(0x1d7)]=![]);if(!global[_0x23ec42(0x1d7)]){_0x14174d[_0x39a71d['UWxKR']]=![];const _0x1e4ce6=_0x39a71d[_0x23ec42(0x1bb)](_0x1e15ae,_0x39a71d[_0x23ec42(0x187)](encodeURIComponent,JSON['stringify'](_0x14174d)));_0x14629f&&(_0x14629f['currentTest'][_0x23ec42(0x1ad)]['project']['use'][_0x23ec42(0x1af)][_0x23ec42(0x19f)]=_0x1e4ce6,_0x14629f[_0x23ec42(0x1a7)][_0x23ec42(0x194)][_0x23ec42(0x1b2)]['connectOptions'][_0x23ec42(0x19f)]=_0x1e4ce6);}}}catch(_0x5435fe){logger['debug'](_0x23ec42(0x1a5)+util[_0x23ec42(0x1e0)](_0x5435fe));}};
1
+ const a34_0x7ff1ab=a34_0x11e7;function a34_0x3d06(){const _0x5c0ac8=['wsEndpoint','qACsc','wudVU','2904GvChbM','accessibilityOptions.includeIssueType.needsReview','playwright-chromium','processAccessibilityCaps','wcagVersion','Szhrv','vQvNq','format','browserStackEvaluate','AbFwu','chrome','pvpin','2349575vUNIWl','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/helper','ZskDT','vtBsx','VAZnC','aRDTC','662550TbCxaf','LVspI','wcueQ','nOnxE','pMPSB','parse','evaluate','tZLgK','winstonLogger','env','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kZAyY','CssIc','hQWDo','4qIuzbj','platformValidation','No\x20summaryResults\x20found.','dHnJG','performScan','error','bstackSdkArgs','mtKmm','LWBBJ','accessibilityOptions','scannerProcessingTimeout','browser_version','13734SOQoMa','includeIssueType','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','name','executeScript','WgxTd','getAccessibilityResults','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','accessibilityOptions.includeIssueType.bestPractice','ihaZG','connectOptions','constructor','FNlre','2lCreeP','718737tMocTP','latest','716100mIpYAc','stringify','use','needsReview','project','41027Mznxdq','rugKC','DLlkB','(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','66zyzBer','browserName','accessibilityOptions.scannerProcessingTimeout','warn','accessibilityOptions.scannerVersion','sEXKf','79190AmNBWs','workerInfo','WebDriver','738MiLhuH','bcqDi','uOdDk','LmHyo','browserstack.accessibility','../../helpers/accessibility-automation/scripts','accessibilityPlatform','debug','jUqVl','getAccessibilityResultsSummary','OKUsq','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','YnALy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','deviceName','browserStackExecuteDriver','accessibilityOptions.authToken','method'];a34_0x3d06=function(){return _0x5c0ac8;};return a34_0x3d06();}(function(_0x4c739f,_0x31c453){const _0x3b26c9=a34_0x11e7,_0x4869e0=_0x4c739f();while(!![]){try{const _0x582e9c=parseInt(_0x3b26c9(0x202))/0x1+-parseInt(_0x3b26c9(0x22b))/0x2*(-parseInt(_0x3b26c9(0x22c))/0x3)+parseInt(_0x3b26c9(0x210))/0x4*(-parseInt(_0x3b26c9(0x1fb))/0x5)+parseInt(_0x3b26c9(0x240))/0x6*(parseInt(_0x3b26c9(0x233))/0x7)+parseInt(_0x3b26c9(0x1ef))/0x8*(-parseInt(_0x3b26c9(0x21c))/0x9)+-parseInt(_0x3b26c9(0x23d))/0xa*(parseInt(_0x3b26c9(0x237))/0xb)+parseInt(_0x3b26c9(0x22e))/0xc;if(_0x582e9c===_0x31c453)break;else _0x4869e0['push'](_0x4869e0['shift']());}catch(_0x2a5c9a){_0x4869e0['push'](_0x4869e0['shift']());}}}(a34_0x3d06,0x9540c));function a34_0x11e7(_0x44ef33,_0x3da7a7){const _0x3d0657=a34_0x3d06();return a34_0x11e7=function(_0x11e729,_0x5656de){_0x11e729=_0x11e729-0x1ea;let _0x2e40f6=_0x3d0657[_0x11e729];return _0x2e40f6;},a34_0x11e7(_0x44ef33,_0x3da7a7);}const util=require('util'),logger=require(a34_0x7ff1ab(0x223))[a34_0x7ff1ab(0x20a)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a34_0x7ff1ab(0x1fd)),scripts=require(a34_0x7ff1ab(0x245));exports[a34_0x7ff1ab(0x1f7)]=async(_0x199f27,_0x4f6f3e,_0x18f554={})=>{const _0x22c147=a34_0x7ff1ab,_0x1fdf95={};_0x1fdf95['bcqDi']=_0x22c147(0x216);const _0x27739f=_0x1fdf95;return await _0x199f27[_0x22c147(0x208)](_0x22c147(0x236)+_0x4f6f3e['replace'](/arguments/g,_0x27739f[_0x22c147(0x241)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x22c147(0x22f)](_0x18f554)+')');},exports[a34_0x7ff1ab(0x250)]=async(_0x2fbf94,_0x56a16c,_0x147402={})=>{const _0x405fc1=a34_0x7ff1ab,_0x3f165c={};_0x3f165c[_0x405fc1(0x1fe)]=function(_0x5ef1db,_0x222daf){return _0x5ef1db===_0x222daf;},_0x3f165c[_0x405fc1(0x213)]=_0x405fc1(0x23f),_0x3f165c['sEXKf']='Playwright',_0x3f165c[_0x405fc1(0x1ff)]=_0x405fc1(0x216);const _0x545626=_0x3f165c;if(_0x545626[_0x405fc1(0x1fe)](_0x2fbf94[_0x405fc1(0x229)]['name'],_0x545626[_0x405fc1(0x213)]))return await _0x2fbf94['executeAsyncScript'](_0x56a16c,_0x147402);else{if(_0x545626['ZskDT'](_0x2fbf94[_0x405fc1(0x229)][_0x405fc1(0x21f)],_0x545626[_0x405fc1(0x23c)]))return await _0x2fbf94[_0x405fc1(0x220)]('(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'+_0x56a16c['replace'](/arguments/g,_0x545626[_0x405fc1(0x1ff)])+_0x405fc1(0x24b)+JSON[_0x405fc1(0x22f)](_0x147402)+')');}},exports['setAccessibilityCapabilities']=async _0x3c4c13=>{const _0x4e7b96=a34_0x7ff1ab,_0x11afe7={};_0x11afe7[_0x4e7b96(0x204)]='accessibilityOptions.wcagVersion',_0x11afe7[_0x4e7b96(0x1ed)]=_0x4e7b96(0x239),_0x11afe7[_0x4e7b96(0x1ee)]=_0x4e7b96(0x226),_0x11afe7[_0x4e7b96(0x227)]=_0x4e7b96(0x1f0),_0x11afe7['hQWDo']=_0x4e7b96(0x1ea),_0x11afe7[_0x4e7b96(0x205)]=_0x4e7b96(0x23b);const _0x194815=_0x11afe7;_0x3c4c13[_0x4e7b96(0x219)]&&(_0x3c4c13[_0x4e7b96(0x219)][_0x4e7b96(0x1f3)]&&(_0x3c4c13[_0x194815[_0x4e7b96(0x204)]]=_0x3c4c13[_0x4e7b96(0x219)][_0x4e7b96(0x1f3)]),_0x3c4c13[_0x4e7b96(0x219)]['scannerProcessingTimeout']&&(_0x3c4c13[_0x194815[_0x4e7b96(0x1ed)]]=_0x3c4c13[_0x4e7b96(0x219)][_0x4e7b96(0x21a)]),_0x3c4c13[_0x4e7b96(0x219)]['includeIssueType']&&(_0x3c4c13[_0x194815[_0x4e7b96(0x1ee)]]=_0x3c4c13[_0x4e7b96(0x219)]['includeIssueType']['bestPractice'],_0x3c4c13[_0x194815[_0x4e7b96(0x227)]]=_0x3c4c13[_0x4e7b96(0x219)][_0x4e7b96(0x21d)][_0x4e7b96(0x231)]));const _0xbc0cc3=JSON[_0x4e7b96(0x207)](process[_0x4e7b96(0x20b)][_0x4e7b96(0x24e)])['scannerVersion'];_0x3c4c13[_0x194815[_0x4e7b96(0x20f)]]=process[_0x4e7b96(0x20b)]['BS_A11Y_JWT'],_0x3c4c13[_0x194815['nOnxE']]=_0xbc0cc3,delete _0x3c4c13[_0x4e7b96(0x219)];},exports[a34_0x7ff1ab(0x222)]=async _0x51b1fb=>{const _0x12dfec=a34_0x7ff1ab,_0x268f7d={};_0x268f7d[_0x12dfec(0x221)]='No\x20accessibility\x20results\x20were\x20found.',_0x268f7d[_0x12dfec(0x1f5)]=_0x12dfec(0x21e);const _0xca7ce7=_0x268f7d;if(global[_0x12dfec(0x246)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x51b1fb,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x51b1fb,scripts.getResults);return res;}catch{return logger[_0x12dfec(0x215)](_0xca7ce7[_0x12dfec(0x221)]),[];}else return logger['warn'](_0xca7ce7[_0x12dfec(0x1f5)]),[];},exports[a34_0x7ff1ab(0x214)]=async(_0x1bffbf,_0x6d2a05='')=>{const _0x59637e=a34_0x7ff1ab;if(global[_0x59637e(0x246)]){const _0x5a7d6a={};return _0x5a7d6a[_0x59637e(0x1eb)]=_0x6d2a05,await exports[_0x59637e(0x1f7)](_0x1bffbf,scripts[_0x59637e(0x214)],_0x5a7d6a);}},exports[a34_0x7ff1ab(0x249)]=async _0x478731=>{const _0x240e63=a34_0x7ff1ab,_0x52a650={};_0x52a650[_0x240e63(0x242)]=_0x240e63(0x212),_0x52a650[_0x240e63(0x1f4)]=_0x240e63(0x225);const _0x4573d2=_0x52a650;if(global[_0x240e63(0x246)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x478731,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x478731,scripts.getResultsSummary);return summaryResults;}catch{return logger['debug'](_0x4573d2['uOdDk']),{};}else return logger[_0x240e63(0x23a)](_0x4573d2[_0x240e63(0x1f4)]),{};},exports[a34_0x7ff1ab(0x211)]=async _0xf464ea=>{const _0x2a3be8=a34_0x7ff1ab,_0x303e00={'ShSKj':function(_0x1e191b,_0x290695){return _0x1e191b!==_0x290695;},'jAqvV':_0x2a3be8(0x24d),'eaBZv':function(_0xc94a67,_0x4639c3){return _0xc94a67===_0x4639c3;},'YnALy':_0x2a3be8(0x1f9),'LVspI':function(_0x5e6c49,_0x4e1ec5){return _0x5e6c49===_0x4e1ec5;},'LmHyo':_0x2a3be8(0x1f1),'tZLgK':_0x2a3be8(0x20c),'kZAyY':function(_0x5a8d38,_0xaa990e){return _0x5a8d38(_0xaa990e);},'LeVjR':function(_0x511da1,_0xea1d9d){return _0x511da1===_0xea1d9d;},'DMkaS':_0x2a3be8(0x22d),'OKUsq':function(_0x4ecab6,_0x3607c4){return _0x4ecab6>_0x3607c4;},'pMPSB':_0x2a3be8(0x224)};try{if(!_0x303e00['ShSKj'](_0xf464ea[_0x2a3be8(0x24f)],''))return logger[_0x2a3be8(0x23a)](_0x303e00['jAqvV']),![];const _0x22a372=_0xf464ea['browser'];if(!(_0x303e00['eaBZv'](_0x22a372,_0x303e00[_0x2a3be8(0x24c)])||_0x303e00[_0x2a3be8(0x203)](_0x22a372,_0x303e00[_0x2a3be8(0x243)])))return logger[_0x2a3be8(0x23a)](_0x303e00[_0x2a3be8(0x209)]),![];const _0xefc513=_0x303e00[_0x2a3be8(0x20d)](parseInt,_0xf464ea['browser_version']);if(!(_0x303e00['LeVjR'](_0xefc513,_0x303e00['DMkaS'])||_0x303e00[_0x2a3be8(0x24a)](_0xefc513,0x5e)))return logger['warn'](_0x303e00[_0x2a3be8(0x206)]),![];}catch(_0x3bd76f){logger[_0x2a3be8(0x247)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x3bd76f));}return!![];},exports[a34_0x7ff1ab(0x1f2)]=(_0x107a88,_0x1292fa,_0x27a573)=>{const _0x3d75dd=a34_0x7ff1ab,_0x3662a3={'JkrwY':function(_0x52658c){return _0x52658c();},'mtKmm':_0x3d75dd(0x244),'AbFwu':function(_0x478d32,_0x98e0fd){return _0x478d32===_0x98e0fd;},'FOdio':_0x3d75dd(0x1f9),'FNlre':function(_0x4c0be1,_0x133312){return _0x4c0be1===_0x133312;},'aRDTC':_0x3d75dd(0x1f1),'jUqVl':_0x3d75dd(0x20c),'LWBBJ':function(_0x41c1cb,_0x2a496c){return _0x41c1cb===_0x2a496c;},'rugKC':_0x3d75dd(0x22d),'DLlkB':function(_0x28b490,_0x22d4cc){return _0x28b490>_0x22d4cc;},'BkcME':_0x3d75dd(0x224),'pvpin':function(_0x18dd59,_0x3c3c4a){return _0x18dd59(_0x3c3c4a);},'CssIc':_0x3d75dd(0x24d),'XHirU':function(_0xab3c35,_0x94604c){return _0xab3c35+_0x94604c;},'VAZnC':function(_0x740e8c,_0x131a61){return _0x740e8c(_0x131a61);}};try{if(_0x3662a3['JkrwY'](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x107a88[_0x3662a3[_0x3d75dd(0x217)]]&&(global['accessibilityPlatform']=![]);!(_0x3662a3[_0x3d75dd(0x1f8)](_0x107a88[_0x3d75dd(0x238)],_0x3662a3['FOdio'])||_0x3662a3[_0x3d75dd(0x22a)](_0x107a88[_0x3d75dd(0x238)],_0x3662a3[_0x3d75dd(0x201)]))&&(logger[_0x3d75dd(0x23a)](_0x3662a3[_0x3d75dd(0x248)]),global[_0x3d75dd(0x246)]=![]);!(_0x3662a3[_0x3d75dd(0x218)](_0x107a88[_0x3d75dd(0x21b)],_0x3662a3[_0x3d75dd(0x234)])||_0x3662a3[_0x3d75dd(0x235)](_0x107a88['browser_version'],0x5e))&&(logger[_0x3d75dd(0x23a)](_0x3662a3['BkcME']),global[_0x3d75dd(0x246)]=![]);!_0x3662a3[_0x3d75dd(0x1fa)](isUndefined,_0x107a88[_0x3d75dd(0x24f)])&&(logger[_0x3d75dd(0x23a)](_0x3662a3[_0x3d75dd(0x20e)]),global[_0x3d75dd(0x246)]=![]);if(!global['accessibilityPlatform']){_0x107a88[_0x3662a3[_0x3d75dd(0x217)]]=![];const _0xc78b88=_0x3662a3['XHirU'](_0x1292fa,_0x3662a3[_0x3d75dd(0x200)](encodeURIComponent,JSON[_0x3d75dd(0x22f)](_0x107a88)));_0x27a573&&(_0x27a573['currentTest']['testInfo']['project'][_0x3d75dd(0x230)][_0x3d75dd(0x228)][_0x3d75dd(0x1ec)]=_0xc78b88,_0x27a573[_0x3d75dd(0x23e)][_0x3d75dd(0x232)]['use'][_0x3d75dd(0x228)][_0x3d75dd(0x1ec)]=_0xc78b88);}}}catch(_0x1e6d99){logger[_0x3d75dd(0x247)](_0x3d75dd(0x1fc)+util[_0x3d75dd(0x1f6)](_0x1e6d99));}};
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- 'use strict';const a35_0x1c4051=a35_0x5266;(function(_0x50d387,_0x25980e){const _0x331b81=a35_0x5266,_0x2123ae=_0x50d387();while(!![]){try{const _0x2c5c75=parseInt(_0x331b81(0x22d))/0x1*(-parseInt(_0x331b81(0x203))/0x2)+parseInt(_0x331b81(0x1e5))/0x3*(-parseInt(_0x331b81(0x258))/0x4)+-parseInt(_0x331b81(0x200))/0x5*(-parseInt(_0x331b81(0x205))/0x6)+parseInt(_0x331b81(0x218))/0x7*(-parseInt(_0x331b81(0x239))/0x8)+-parseInt(_0x331b81(0x237))/0x9*(-parseInt(_0x331b81(0x1f4))/0xa)+parseInt(_0x331b81(0x1fc))/0xb*(parseInt(_0x331b81(0x1f8))/0xc)+parseInt(_0x331b81(0x240))/0xd;if(_0x2c5c75===_0x25980e)break;else _0x2123ae['push'](_0x2123ae['shift']());}catch(_0x1cd8e4){_0x2123ae['push'](_0x2123ae['shift']());}}}(a35_0x1365,0xea728));function a35_0x5266(_0x24f3f1,_0x3436d7){const _0x136591=a35_0x1365();return a35_0x5266=function(_0x5266c8,_0x1365ac){_0x5266c8=_0x5266c8-0x1c6;let _0x375491=_0x136591[_0x5266c8];return _0x375491;},a35_0x5266(_0x24f3f1,_0x3436d7);}const fs=require('fs'),path=require(a35_0x1c4051(0x1cf)),{spawn}=require(a35_0x1c4051(0x21c)),{format}=require(a35_0x1c4051(0x244)),logger=require(a35_0x1c4051(0x1e0))[a35_0x1c4051(0x250)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a35_0x1c4051(0x228)),constants=require(a35_0x1c4051(0x206)),{FRAMEWORKS}=require(a35_0x1c4051(0x1ce)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x1c4051(0x24c)),{CrashReporter}=require(a35_0x1c4051(0x249)),{getFrameworkVersion}=require(a35_0x1c4051(0x1d3)),{checkAccessibilityPlatformConfig}=require(a35_0x1c4051(0x23b)),{setAccessibilityCapabilities}=require(a35_0x1c4051(0x207)),TestHubHandler=require(a35_0x1c4051(0x201)),{shouldProcessEventForTesthub}=require(a35_0x1c4051(0x242)),getUserPlaywrightConfig=async(_0x230d11,_0x55cfb0)=>{const _0x568c89=a35_0x1c4051,_0xbe05e0={'rEPjV':function(_0x8279c1){return _0x8279c1();},'vCTBi':function(_0x4e3f64,_0x10860a){return _0x4e3f64(_0x10860a);},'oQdYg':_0x568c89(0x1e8),'hHLvT':_0x568c89(0x1d5)},_0x80de71=!helper[_0x568c89(0x234)](_0x230d11[_0x568c89(0x1e7)]),_0x1d64f1=_0x80de71?path[_0x568c89(0x1d0)](process[_0x568c89(0x233)](),_0x230d11['config']):process[_0x568c89(0x233)](),{resolveConfigFile:_0x2b362a,resolveConfigLocation:_0x23c5d2}=helper[_0x568c89(0x255)][_0x568c89(0x1f3)](null,_0xbe05e0[_0x568c89(0x1ca)](getConfigLoaderPath)),_0x445051=_0x2b362a?_0xbe05e0['vCTBi'](_0x2b362a,_0x1d64f1):helper[_0x568c89(0x1fe)](_0xbe05e0['vCTBi'](_0x23c5d2,_0x1d64f1),[_0xbe05e0[_0x568c89(0x1ec)]]),_0x5bb568={};if(_0x80de71){const _0x31d5f2=_0x55cfb0['findIndex'](_0x48945f=>_0x48945f===_0x568c89(0x262)||_0x48945f==='-c'||_0x48945f[_0x568c89(0x254)](_0x568c89(0x1d5)));_0x55cfb0[_0x568c89(0x21f)](_0x31d5f2,_0x55cfb0[_0x31d5f2]['startsWith'](_0xbe05e0['hHLvT'])?0x1:0x2);}const _0x1eea42={};return _0x1eea42['path']=_0x445051,_0x1eea42[_0x568c89(0x1e7)]=_0x5bb568,_0x1eea42;},handleO11yRerun=_0x42e067=>{const _0x2b9778=a35_0x1c4051,_0x13f7f2={};_0x13f7f2['mtBNS']=function(_0xbb2737,_0x3f362c){return _0xbb2737!==_0x3f362c;},_0x13f7f2[_0x2b9778(0x1cb)]=_0x2b9778(0x253),_0x13f7f2[_0x2b9778(0x1f0)]=_0x2b9778(0x20e);const _0x22bd0a=_0x13f7f2,_0x65eb3f=helper[_0x2b9778(0x1f5)](process[_0x2b9778(0x219)][_0x2b9778(0x1cd)]);if(_0x65eb3f){const _0x1704ad=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x4dc1b2=[];if(_0x22bd0a[_0x2b9778(0x1f2)](_0x1704ad,_0x22bd0a['KVrbL'])&&!helper[_0x2b9778(0x234)](_0x1704ad)){_0x1704ad[_0x2b9778(0x217)](',')['map'](_0x1dd6a3=>{const _0x157b8f=_0x2b9778;_0x4dc1b2[_0x157b8f(0x1d4)]('('+_0x1dd6a3[_0x157b8f(0x231)]()+')');});const _0x3764b6='^'+_0x4dc1b2[_0x2b9778(0x232)]('|')+'$';_0x42e067[_0x2b9778(0x1d4)](_0x22bd0a[_0x2b9778(0x1f0)],_0x3764b6);}}},spawnOriginalProcess=_0x5a512e=>{const _0x1cd1b2=a35_0x1c4051,_0x1957fd={'gCmUs':function(_0x14198c,_0xb6835c,_0x443cec,_0x4d40ac){return _0x14198c(_0xb6835c,_0x443cec,_0x4d40ac);},'HwJsa':'npx','njPpM':'playwright','tvoBr':function(_0xb31f2,_0x29679d){return _0xb31f2===_0x29679d;},'jETSM':_0x1cd1b2(0x25f),'SRYgh':'inherit'};_0x1957fd[_0x1cd1b2(0x1c6)](spawn,_0x1957fd[_0x1cd1b2(0x21b)],[_0x1957fd[_0x1cd1b2(0x20b)],..._0x5a512e[_0x1cd1b2(0x220)](0x1)],{'shell':_0x1957fd[_0x1cd1b2(0x216)](process[_0x1cd1b2(0x227)],_0x1957fd['jETSM']),'stdio':_0x1957fd[_0x1cd1b2(0x1c8)],'cwd':process[_0x1cd1b2(0x233)]()});},isTestCommand=(_0x36944e,_0x40be8f)=>{const _0x142dbb=a35_0x1c4051,_0x126536={};_0x126536[_0x142dbb(0x230)]=function(_0x5943aa,_0x2bcf89){return _0x5943aa>_0x2bcf89;},_0x126536[_0x142dbb(0x257)]=function(_0x537d11,_0x45d61f){return _0x537d11===_0x45d61f;},_0x126536[_0x142dbb(0x259)]=_0x142dbb(0x223);const _0x4cc770=_0x126536;if(_0x4cc770[_0x142dbb(0x230)](_0x40be8f[_0x142dbb(0x246)],0x1)&&_0x4cc770[_0x142dbb(0x257)](_0x40be8f[0x1],_0x4cc770[_0x142dbb(0x259)]))return!![];return![];};function a35_0x1365(){const _0x5cfb88=['BROWSERSTACK_TEST_ACCESSIBILITY_YML','unlinkSync','--grep','writeFileSync','Error\x20in\x20deleting\x20playwright\x20results','concat','AMkGK','YiPSQ','wsVWQ','stringify','tvoBr','split','74669ZEVQKf','env','filterBrowserstackConfig','HwJsa','child_process','isTypescriptProject','Error\x20in\x20getting\x20funnel\x20data\x20results','splice','slice','playwright-browserstack-sdk.config.js','argv','test','getConfigPath','.browserstack','existsSync','platform','../../helpers/utilities','AHSRS','Updated\x20config\x20file\x20name\x20to\x20-\x20','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','markSDKSetupComplete','53VUQhmP','BROWSERSTACK_AUTOMATION','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','SXuWf','trim','join','cwd','isUndefined','browserstackSetupConfig.json','dirname','15678459rvAcaH','debug','696baRXEw','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/helper','filter','serializeToYamlString','pw_result.json','npx','17227496UVqfbv','OZGwK','../../helpers/testhub/utils','BELlR','util','true','length','has','ZuFft','../../helpers/test-observability/error-handler','lDkNy','inherit','./reporter/pwUtils','close','parse','accessibilityOptions','winstonLogger','indexOf','exports','null','startsWith','requirePWModule','spfAE','mDvoU','10964uaXuUX','NLdHP','finalExecution','Nvczf','gTIsr','mcNOQ','wEmfM','win32','jlOmg','skipSessionStatus','--config','gCmUs','iqVlZ','SRYgh','Playwright\x20process\x20exited\x20with\x20code\x20','rEPjV','KVrbL','getProxyUrl','BROWSERSTACK_RERUN','../../helpers/test-observability/constants','path','resolve','uqrbq','NBwnd','../../helpers/test-observability/utils','push','--config=','--disable-test-observability','bYGYP','false','errorMessage','launchBuild','--disable-browserstack-automation','Error\x20in\x20closing\x20playwright','homedir','ysiXN','clearTempPWConfig','../../helpers/logger','assign','KjboZ','dhNoQ','playwright','669SBBjZh','yecuS','config','resolvedConfigFile','testObservability','ECDYw','CzoRE','oQdYg','BROWSERSTACK_SETUP_CONFIG_PATH','PACKAGE_TYPE','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','frhmA','automation','mtBNS','apply','10JuPDEn','isTrue','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','testContextOptions','252pTXLwq','get','fCdwH','Deleting\x20','341231vwNZca','isFalse','nestedKeyValue','skipSessionName','635dcvnvX','../../helpers/testhub/testhubHandler','cliConfig','62246kOhSww','accessibility','20334xZpcxN','../utils/constants','./accessibility-helper','\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();','exitCode','yDGAS','njPpM'];a35_0x1365=function(){return _0x5cfb88;};return a35_0x1365();}async function run(_0x1f99be,_0x160c64){const _0x4f6913=a35_0x1c4051,_0x374ecc={'XaXXW':_0x4f6913(0x225),'NBwnd':_0x4f6913(0x23e),'bYGYP':function(_0x442b73,_0x23aca4){return _0x442b73+_0x23aca4;},'ECDYw':_0x4f6913(0x21e),'BELlR':'4|5|7|8|6|0|2|1|3','mcNOQ':function(_0x296942){return _0x296942();},'iqVlZ':_0x4f6913(0x1dc),'tjhpF':'--disable-browserstack-automation','yDGAS':_0x4f6913(0x1d8),'ATRZd':'--disable-test-observability','YiPSQ':function(_0x4bd17e,_0x5f80fe){return _0x4bd17e>=_0x5f80fe;},'dhNoQ':_0x4f6913(0x210),'AMkGK':function(_0x14568f,_0x2a8909,_0x5719b6){return _0x14568f(_0x2a8909,_0x5719b6);},'eiBkg':function(_0x25cf32,_0x4c94d9){return _0x25cf32(_0x4c94d9);},'spfAE':'BrowserStack\x20config\x20file\x20not\x20found.','fCdwH':_0x4f6913(0x1f1),'wEmfM':function(_0x5b5134,_0x57d2e4){return _0x5b5134!=_0x57d2e4;},'ZuFft':function(_0x5ad3bb,_0x511786,_0x309fe5){return _0x5ad3bb(_0x511786,_0x309fe5);},'gTIsr':function(_0x373e08,_0x5e3609){return _0x373e08(_0x5e3609);},'OLVrh':function(_0x11c9e0,_0x3e8e36){return _0x11c9e0(_0x3e8e36);},'Nvczf':function(_0xe420ca,_0x3846d7){return _0xe420ca===_0x3846d7;},'xtzzg':_0x4f6913(0x245),'RIPbq':function(_0x3aaebe,_0x3d3bf8){return _0x3aaebe(_0x3d3bf8);},'wsVWQ':_0x4f6913(0x235),'CzoRE':'playwright-browserstack-sdk.config.cjs','vNXvs':_0x4f6913(0x221),'hVxVx':function(_0x4d5ba6,_0x7cf287){return _0x4d5ba6-_0x7cf287;},'ysiXN':_0x4f6913(0x22a),'miBUr':function(_0x516747,_0x15a1c0){return _0x516747>_0x15a1c0;},'lDkNy':function(_0x10102b,_0x555e2e,_0x2eb782,_0x416f6c){return _0x10102b(_0x555e2e,_0x2eb782,_0x416f6c);},'uqrbq':_0x4f6913(0x23f),'yecuS':_0x4f6913(0x1e4),'jlOmg':_0x4f6913(0x223),'OZGwK':_0x4f6913(0x262),'AHSRS':_0x4f6913(0x25f),'TBUBz':_0x4f6913(0x24b),'KjboZ':_0x4f6913(0x24d)};!helper[_0x4f6913(0x1fd)](process[_0x4f6913(0x219)][_0x4f6913(0x22e)])&&(process[_0x4f6913(0x219)][_0x4f6913(0x22e)]=!![]);process[_0x4f6913(0x222)]['includes'](_0x374ecc['tjhpF'])&&(process[_0x4f6913(0x219)][_0x4f6913(0x22e)]=_0x374ecc['yDGAS'],_0x160c64=_0x160c64[_0x4f6913(0x23c)](_0x1b0245=>_0x1b0245!==_0x4f6913(0x1db)));const _0x312692=_0x160c64[_0x4f6913(0x251)](_0x374ecc['ATRZd']);_0x374ecc[_0x4f6913(0x213)](_0x312692,0x0)&&(process[_0x4f6913(0x219)][_0x4f6913(0x23a)]=_0x374ecc[_0x4f6913(0x20a)],_0x160c64=_0x160c64['filter'](_0x184f9e=>_0x184f9e!==_0x4f6913(0x1d6)));try{const _0x1bc53f=path[_0x4f6913(0x232)](helper[_0x4f6913(0x1dd)](),_0x374ecc['XaXXW'],_0x374ecc['NBwnd']);fs[_0x4f6913(0x226)](_0x1bc53f)&&fs[_0x4f6913(0x20d)](_0x1bc53f);}catch(_0x30d85f){logger[_0x4f6913(0x238)](_0x374ecc[_0x4f6913(0x1d7)](_0x374ecc[_0x4f6913(0x1e3)],_0x30d85f));}if(!_0x374ecc[_0x4f6913(0x212)](isTestCommand,_0x1f99be,_0x160c64)){_0x374ecc['eiBkg'](spawnOriginalProcess,_0x160c64);return;}const _0x4bec23=new BrowserStackSetup(_0x1f99be,FRAMEWORKS['PLAYWRIGHT']);if(!_0x4bec23[_0x4f6913(0x1e7)]){logger['error'](_0x374ecc[_0x4f6913(0x256)]);return;}await _0x4bec23['initialize']();!helper['isUndefined'](_0x4bec23[_0x4f6913(0x202)])&&_0x4bec23[_0x4f6913(0x202)][_0x4f6913(0x247)](_0x374ecc[_0x4f6913(0x1fa)])&&(process[_0x4f6913(0x219)][_0x4f6913(0x22e)]=_0x4bec23[_0x4f6913(0x202)][_0x4f6913(0x1f9)](_0x374ecc[_0x4f6913(0x1fa)])||!![]);_0x374ecc[_0x4f6913(0x25e)](_0x4bec23['config']['testObservability'],null)&&!helper[_0x4f6913(0x1f5)](process[_0x4f6913(0x219)][_0x4f6913(0x23a)])&&(process[_0x4f6913(0x219)][_0x4f6913(0x23a)]=process[_0x4f6913(0x219)][_0x4f6913(0x23a)]||_0x4bec23[_0x4f6913(0x1e7)][_0x4f6913(0x1e9)]);const _0x57f9cb=!helper[_0x4f6913(0x1fd)](process[_0x4f6913(0x219)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x38d57c=![];_0x4bec23[_0x4f6913(0x1e7)]['accessibility']&&(_0x38d57c=!![],process[_0x4f6913(0x219)][_0x4f6913(0x20c)]=_0x4bec23['config'][_0x4f6913(0x204)]);_0x4bec23[_0x4f6913(0x1e7)][_0x4f6913(0x24f)]&&(process[_0x4f6913(0x219)][_0x4f6913(0x1ef)]=JSON[_0x4f6913(0x215)](_0x4bec23[_0x4f6913(0x1e7)][_0x4f6913(0x24f)]));const _0x4fe3b9=_0x160c64[_0x4f6913(0x211)](),_0x3dfaca=await _0x374ecc[_0x4f6913(0x248)](getUserPlaywrightConfig,_0x1f99be,_0x160c64);if(helper['isUndefined'](_0x3dfaca)){_0x374ecc['gTIsr'](spawnOriginalProcess,_0x4fe3b9);return;}const _0x28b83c=_0x3dfaca[_0x4f6913(0x1cf)]?path[_0x4f6913(0x236)](_0x3dfaca[_0x4f6913(0x1cf)]):process[_0x4f6913(0x233)]();process[_0x4f6913(0x219)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x28b83c,await TestHubHandler[_0x4f6913(0x1da)](FRAMEWORKS['PLAYWRIGHT'],_0x4bec23);_0x57f9cb&&_0x374ecc['OLVrh'](handleO11yRerun,_0x160c64);let _0x1f42c5=_0x374ecc[_0x4f6913(0x25b)](process[_0x4f6913(0x219)][_0x4f6913(0x20c)],_0x374ecc['xtzzg']);_0x1f42c5=_0x1f42c5||_0x374ecc[_0x4f6913(0x25c)](checkAccessibilityPlatformConfig,_0x4bec23['config']),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1f42c5;_0x1f42c5&&_0x374ecc['RIPbq'](setAccessibilityCapabilities,_0x4bec23[_0x4f6913(0x1e7)]);const _0x35c6ba=path[_0x4f6913(0x232)](_0x3dfaca[_0x4f6913(0x1cf)]?path['dirname'](_0x3dfaca[_0x4f6913(0x1cf)]):process[_0x4f6913(0x233)](),_0x374ecc[_0x4f6913(0x214)]);fs[_0x4f6913(0x20f)](_0x35c6ba,helper[_0x4f6913(0x23d)](_0x4bec23[_0x4f6913(0x1e7)])),process[_0x4f6913(0x219)][_0x4f6913(0x1ed)]=_0x35c6ba,helper[_0x4f6913(0x1df)]();let _0x550473='';_0x374ecc[_0x4f6913(0x25b)](helper['getPackageType'](),constants[_0x4f6913(0x1ee)]['MODULE'])?_0x550473=_0x374ecc[_0x4f6913(0x1eb)]:_0x550473=_0x374ecc['vNXvs'];let _0x22a7db='';if(helper[_0x4f6913(0x21d)](_0x3dfaca[_0x4f6913(0x1cf)])){_0x22a7db=_0x4f6913(0x22b);const _0x325bb4=_0x550473[_0x4f6913(0x217)]('.');_0x325bb4[_0x374ecc['hVxVx'](_0x325bb4[_0x4f6913(0x246)],0x1)]='ts',_0x550473=_0x325bb4[_0x4f6913(0x232)]('.'),logger[_0x4f6913(0x238)](_0x374ecc['bYGYP'](_0x374ecc[_0x4f6913(0x1de)],_0x550473));}else _0x22a7db=_0x4f6913(0x22f);const _0x1d2ca8=path[_0x4f6913(0x232)](_0x3dfaca[_0x4f6913(0x1cf)]?path['dirname'](_0x3dfaca[_0x4f6913(0x1cf)]):process[_0x4f6913(0x233)](),_0x550473);let _0x59bd5b=_0x3dfaca['path']?_0x3dfaca[_0x4f6913(0x1cf)]:'';_0x59bd5b=_0x374ecc['miBUr'](_0x59bd5b[_0x4f6913(0x246)],0x0)?path[_0x4f6913(0x1d0)](_0x59bd5b):'',process[_0x4f6913(0x219)]['USER_CONFIG_DETAILS_PATH']=_0x59bd5b;const _0x167fca=helper[_0x4f6913(0x1cc)](_0x4bec23['config']);_0x167fca&&(_0x22a7db=_0x374ecc[_0x4f6913(0x1d7)](_0x4f6913(0x1f6)+_0x167fca+_0x4f6913(0x208),_0x22a7db));helper[_0x4f6913(0x21a)]({},_0x160c64),fs[_0x4f6913(0x20f)](_0x1d2ca8,_0x22a7db),helper[_0x4f6913(0x22c)]();const _0x154008=_0x374ecc[_0x4f6913(0x24a)](spawn,_0x374ecc[_0x4f6913(0x1d1)],[_0x374ecc[_0x4f6913(0x1e6)],_0x374ecc[_0x4f6913(0x260)],_0x374ecc[_0x4f6913(0x241)],_0x1d2ca8,..._0x160c64[_0x4f6913(0x220)](0x2)],{'shell':_0x374ecc[_0x4f6913(0x25b)](process['platform'],_0x374ecc[_0x4f6913(0x229)]),'stdio':_0x374ecc['TBUBz'],'cwd':process[_0x4f6913(0x233)](),'env':Object[_0x4f6913(0x1e1)]({},process[_0x4f6913(0x219)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x4f6913(0x224)](_0x1f99be),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4bec23[_0x4f6913(0x1e7)][_0x4f6913(0x1f7)][_0x4f6913(0x261)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4bec23[_0x4f6913(0x1e7)][_0x4f6913(0x1f7)][_0x4f6913(0x1ff)],'BROWSERSTACK_LOG_LEVEL':_0x4bec23[_0x4f6913(0x1e7)]['logLevel']})}),_0x12bcae=()=>{const _0x490cca=_0x4f6913;try{const _0x3e35f5=path[_0x490cca(0x232)](helper[_0x490cca(0x1dd)](),_0x374ecc['XaXXW'],_0x374ecc[_0x490cca(0x1d2)]);if(fs[_0x490cca(0x226)](_0x3e35f5)){let _0x36ac0d=fs['readFileSync'](_0x3e35f5);_0x36ac0d=JSON[_0x490cca(0x24e)](_0x36ac0d),_0x4bec23[_0x490cca(0x1d9)]=_0x36ac0d,fs[_0x490cca(0x20d)](_0x3e35f5);}}catch(_0x463ad7){logger[_0x490cca(0x238)](_0x374ecc[_0x490cca(0x1d7)](_0x374ecc[_0x490cca(0x1ea)],_0x463ad7));}};_0x154008['on'](_0x374ecc[_0x4f6913(0x1e2)],async _0x1ba60b=>{const _0x422572=_0x4f6913;try{const _0xd6616d=_0x374ecc[_0x422572(0x243)]['split']('|');let _0x27cf5f=0x0;while(!![]){switch(_0xd6616d[_0x27cf5f++]){case'0':logger['info'](_0x422572(0x1fb)+_0x1d2ca8);continue;case'1':logger[_0x422572(0x238)]('Deleting\x20'+_0x35c6ba);continue;case'2':fs[_0x422572(0x20d)](_0x1d2ca8);continue;case'3':fs[_0x422572(0x20d)](_0x35c6ba);continue;case'4':_0x374ecc[_0x422572(0x25d)](_0x12bcae);continue;case'5':await TestHubHandler['stop']();continue;case'6':logger[_0x422572(0x238)](_0x422572(0x1c9)+_0x1ba60b);continue;case'7':await utilities[_0x422572(0x25a)](_0x4bec23);continue;case'8':process[_0x422572(0x209)]=_0x1ba60b;continue;}break;}}catch(_0x1bedfa){logger[_0x422572(0x238)](_0x374ecc[_0x422572(0x1d7)](_0x374ecc[_0x422572(0x1c7)],_0x1bedfa));}});}module[a35_0x1c4051(0x252)]=run;
2
+ 'use strict';const a35_0x41c9fc=a35_0x29b5;(function(_0x10b102,_0xcb11b7){const _0x5e0b6f=a35_0x29b5,_0x58a226=_0x10b102();while(!![]){try{const _0x3b4eb3=parseInt(_0x5e0b6f(0x150))/0x1+-parseInt(_0x5e0b6f(0x164))/0x2+parseInt(_0x5e0b6f(0x1cb))/0x3*(-parseInt(_0x5e0b6f(0x168))/0x4)+parseInt(_0x5e0b6f(0x17c))/0x5+-parseInt(_0x5e0b6f(0x1aa))/0x6*(parseInt(_0x5e0b6f(0x188))/0x7)+parseInt(_0x5e0b6f(0x158))/0x8*(parseInt(_0x5e0b6f(0x1b7))/0x9)+-parseInt(_0x5e0b6f(0x1a8))/0xa;if(_0x3b4eb3===_0xcb11b7)break;else _0x58a226['push'](_0x58a226['shift']());}catch(_0x3f662a){_0x58a226['push'](_0x58a226['shift']());}}}(a35_0xef87,0xb6aea));function a35_0xef87(){const _0x4b7921=['Error\x20in\x20closing\x20playwright','pw_result.json','xiieA','getProxyUrl','1288393AyASSw','fsevf','getPackageType','../../helpers/helper','filter','accessibility','isTypescriptProject','close','6933464YjZIiZ','split','UYYuE','win32','path','stringify','dqpbM','KTDSd','Updated\x20config\x20file\x20name\x20to\x20-\x20','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','existsSync','1714626PdPjJl','assign','BROWSERSTACK_AUTOMATION','8|3|6|7|1|0|2|4|5','61616AtjHZT','--config','isTrue','xHrVF','nestedKeyValue','.browserstack','logLevel','notOy','../../helpers/logger','join','parse','VsgSe','./reporter/pwUtils','--grep','EiQKu','homedir','LHJky','browserstackSetupConfig.json','winstonLogger','mySAF','110375iPkfUa','bseyu','../../helpers/testhub/utils','lUIzy','--disable-browserstack-automation','twtff','cwd','true','Playwright\x20process\x20exited\x20with\x20code\x20','../../helpers/utilities','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','test','7omFzrG','filterBrowserstackConfig','tgvzY','../../helpers/test-observability/constants','suRaV','../../helpers/accessibility-automation/helper','finalExecution','skipSessionStatus','playwright','bfppU','BROWSERSTACK_SETUP_CONFIG_PATH','\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();','./accessibility-helper','Error\x20in\x20getting\x20funnel\x20data\x20results','BROWSERSTACK_TEST_OBSERVABILITY','Iynew','get','wczuO','inherit','zszry','exports','BROWSERSTACK_RERUN_TESTS','initialize','Caijx','accessibilityOptions','TjzjH','USER_CONFIG_DETAILS_PATH','splice','getConfigPath','isUndefined','concat','slice','479730GEbYZE','MODULE','2402202ofPzgm','isFalse','QAvKk','trim','map','exitCode','false','debug','push','launchBuild','has','GWyHP','pIZpV','9lZJfwJ','requirePWModule','arfhx','Bivxi','eHNIA','includes','testContextOptions','findIndex','BrowserStack\x20config\x20file\x20not\x20found.','indexOf','Error\x20in\x20deleting\x20playwright\x20results','unlinkSync','writeFileSync','--config=','Deleting\x20','PLAYWRIGHT','skipSessionName','BUcVh','dirname','errorMessage','24esbELa','testObservability','Esach','hppYo','lVBbD','env','nIsWw','length','../../helpers/testhub/testhubHandler','../../helpers/test-observability/utils','cliConfig','config','util','PACKAGE_TYPE','--disable-test-observability','UjbUX','BROWSERSTACK_RERUN','wbOfP','info','BROWSERSTACK_PW_CONFIG_DIR','yyMWV','taEGf','Mhzyf','argv','npx','xGfbe','JkToj','error','UxHud','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','startsWith'];a35_0xef87=function(){return _0x4b7921;};return a35_0xef87();}function a35_0x29b5(_0x4fe7b7,_0x482a9b){const _0xef87bf=a35_0xef87();return a35_0x29b5=function(_0x29b5de,_0x3c0963){_0x29b5de=_0x29b5de-0x13f;let _0x5b0bc0=_0xef87bf[_0x29b5de];return _0x5b0bc0;},a35_0x29b5(_0x4fe7b7,_0x482a9b);}const fs=require('fs'),path=require(a35_0x41c9fc(0x15c)),{spawn}=require('child_process'),{format}=require(a35_0x41c9fc(0x1d7)),logger=require(a35_0x41c9fc(0x170))[a35_0x41c9fc(0x17a)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x41c9fc(0x153)),utilities=require(a35_0x41c9fc(0x185)),constants=require('../utils/constants'),{FRAMEWORKS}=require(a35_0x41c9fc(0x18b)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x41c9fc(0x174)),{CrashReporter}=require('../../helpers/test-observability/error-handler'),{getFrameworkVersion}=require(a35_0x41c9fc(0x1d4)),{checkAccessibilityPlatformConfig}=require(a35_0x41c9fc(0x18d)),{setAccessibilityCapabilities}=require(a35_0x41c9fc(0x194)),TestHubHandler=require(a35_0x41c9fc(0x1d3)),{shouldProcessEventForTesthub}=require(a35_0x41c9fc(0x17e)),getUserPlaywrightConfig=async(_0x50074a,_0x29eaa1)=>{const _0x2b16ae=a35_0x41c9fc,_0x12f0b4={'lUIzy':function(_0x4b18a3){return _0x4b18a3();},'UxHud':function(_0x5196a3,_0x2ee722){return _0x5196a3(_0x2ee722);},'KTDSd':function(_0x5d1726,_0x5db78b){return _0x5d1726(_0x5db78b);},'TFUEx':'resolvedConfigFile','jmpkq':_0x2b16ae(0x1c4)},_0x1125d7=!helper[_0x2b16ae(0x1a5)](_0x50074a[_0x2b16ae(0x1d6)]),_0x572cce=_0x1125d7?path['resolve'](process[_0x2b16ae(0x182)](),_0x50074a['config']):process[_0x2b16ae(0x182)](),{resolveConfigFile:_0x4c22c8,resolveConfigLocation:_0x1862e5}=helper[_0x2b16ae(0x1b8)]['apply'](null,_0x12f0b4[_0x2b16ae(0x17f)](getConfigLoaderPath)),_0x3f16e6=_0x4c22c8?_0x12f0b4[_0x2b16ae(0x149)](_0x4c22c8,_0x572cce):helper[_0x2b16ae(0x16c)](_0x12f0b4[_0x2b16ae(0x15f)](_0x1862e5,_0x572cce),[_0x12f0b4['TFUEx']]),_0x397a30={};if(_0x1125d7){const _0x282967=_0x29eaa1[_0x2b16ae(0x1be)](_0x11a4f4=>_0x11a4f4===_0x2b16ae(0x169)||_0x11a4f4==='-c'||_0x11a4f4[_0x2b16ae(0x14b)](_0x2b16ae(0x1c4)));_0x29eaa1[_0x2b16ae(0x1a3)](_0x282967,_0x29eaa1[_0x282967][_0x2b16ae(0x14b)](_0x12f0b4['jmpkq'])?0x1:0x2);}const _0x156deb={};return _0x156deb[_0x2b16ae(0x15c)]=_0x3f16e6,_0x156deb['config']=_0x397a30,_0x156deb;},handleO11yRerun=_0x3c7c3c=>{const _0x54f4d0=a35_0x41c9fc,_0x449a32={};_0x449a32['suRaV']=function(_0x34111e,_0x2d779e){return _0x34111e!==_0x2d779e;},_0x449a32[_0x54f4d0(0x14e)]='null',_0x449a32[_0x54f4d0(0x178)]=_0x54f4d0(0x175);const _0x1315b0=_0x449a32,_0xb6fb55=helper[_0x54f4d0(0x16a)](process['env'][_0x54f4d0(0x1db)]);if(_0xb6fb55){const _0xb5e215=process[_0x54f4d0(0x1d0)][_0x54f4d0(0x19d)],_0x168942=[];if(_0x1315b0[_0x54f4d0(0x18c)](_0xb5e215,_0x1315b0[_0x54f4d0(0x14e)])&&!helper[_0x54f4d0(0x1a5)](_0xb5e215)){_0xb5e215[_0x54f4d0(0x159)](',')[_0x54f4d0(0x1ae)](_0xee9799=>{const _0x1065fc=_0x54f4d0;_0x168942[_0x1065fc(0x1b2)]('('+_0xee9799[_0x1065fc(0x1ad)]()+')');});const _0x2202be='^'+_0x168942[_0x54f4d0(0x171)]('|')+'$';_0x3c7c3c[_0x54f4d0(0x1b2)](_0x1315b0[_0x54f4d0(0x178)],_0x2202be);}}},spawnOriginalProcess=_0x293787=>{const _0xa8419=a35_0x41c9fc,_0x22a188={'mySAF':function(_0x349bd7,_0x16e5be,_0x356ddb,_0x51f217){return _0x349bd7(_0x16e5be,_0x356ddb,_0x51f217);},'Caijx':_0xa8419(0x145),'zszry':_0xa8419(0x190),'NsFFH':function(_0x191e23,_0x4eb20f){return _0x191e23===_0x4eb20f;},'zpTQh':_0xa8419(0x15b),'TjzjH':_0xa8419(0x19a)};_0x22a188[_0xa8419(0x17b)](spawn,_0x22a188[_0xa8419(0x19f)],[_0x22a188[_0xa8419(0x19b)],..._0x293787[_0xa8419(0x1a7)](0x1)],{'shell':_0x22a188['NsFFH'](process['platform'],_0x22a188['zpTQh']),'stdio':_0x22a188[_0xa8419(0x1a1)],'cwd':process[_0xa8419(0x182)]()});},isTestCommand=(_0x2ada73,_0x5bdbbb)=>{const _0xfae5d6=a35_0x41c9fc,_0x9a9d4a={};_0x9a9d4a[_0xfae5d6(0x173)]=function(_0x27b32a,_0x4beb9f){return _0x27b32a>_0x4beb9f;},_0x9a9d4a[_0xfae5d6(0x1dc)]=function(_0x485e95,_0x10374e){return _0x485e95===_0x10374e;},_0x9a9d4a[_0xfae5d6(0x1d1)]=_0xfae5d6(0x187);const _0x4396da=_0x9a9d4a;if(_0x4396da['VsgSe'](_0x5bdbbb[_0xfae5d6(0x1d2)],0x1)&&_0x4396da['wbOfP'](_0x5bdbbb[0x1],_0x4396da[_0xfae5d6(0x1d1)]))return!![];return![];};async function run(_0x1914a0,_0x549907){const _0x2e9283=a35_0x41c9fc,_0x2d12d3={'Mhzyf':_0x2e9283(0x16d),'pIZpV':_0x2e9283(0x14d),'zFWeQ':function(_0x58a6ed,_0x4ebf40){return _0x58a6ed+_0x4ebf40;},'xHrVF':_0x2e9283(0x195),'wczuO':_0x2e9283(0x167),'UYYuE':function(_0x5ed325){return _0x5ed325();},'fsevf':_0x2e9283(0x14c),'JkToj':_0x2e9283(0x180),'xGfbe':_0x2e9283(0x1b0),'eHNIA':'--disable-test-observability','Iynew':function(_0x3c0c37,_0x4d0c74){return _0x3c0c37>=_0x4d0c74;},'dqpbM':function(_0x57d11c,_0x45b4f5){return _0x57d11c+_0x45b4f5;},'lVBbD':_0x2e9283(0x1c1),'JRIQu':function(_0x22a7ff,_0x220258,_0x253048){return _0x22a7ff(_0x220258,_0x253048);},'bfppU':function(_0xe2ce69,_0x1ae798){return _0xe2ce69(_0x1ae798);},'Jruuf':_0x2e9283(0x1bf),'Bivxi':'automation','yyMWV':function(_0x1dd71d,_0x2e224d){return _0x1dd71d!=_0x2e224d;},'arfhx':function(_0x97347c,_0x10a7eb,_0x40b35b){return _0x97347c(_0x10a7eb,_0x40b35b);},'GWyHP':function(_0x227334,_0xc85227){return _0x227334(_0xc85227);},'tgvzY':function(_0x27141f,_0x243eaf){return _0x27141f===_0x243eaf;},'taEGf':_0x2e9283(0x183),'QAvKk':_0x2e9283(0x179),'zNaaO':'playwright-browserstack-sdk.config.cjs','DggIu':'playwright-browserstack-sdk.config.js','VxCpe':function(_0xcd9014,_0x5a687f){return _0xcd9014-_0x5a687f;},'hppYo':function(_0x53e287,_0x4a0965){return _0x53e287+_0x4a0965;},'WHtFN':_0x2e9283(0x160),'emqwS':function(_0x258b13,_0xbebd86){return _0x258b13>_0xbebd86;},'vKaUX':function(_0x3ffd74,_0x3aa110){return _0x3ffd74+_0x3aa110;},'Esach':function(_0x20b4fd,_0x594f3a,_0x4d9768,_0x595ab4){return _0x20b4fd(_0x594f3a,_0x4d9768,_0x595ab4);},'notOy':_0x2e9283(0x145),'bseyu':_0x2e9283(0x190),'zKQYH':_0x2e9283(0x187),'BUcVh':_0x2e9283(0x169),'UjbUX':'win32','EiQKu':_0x2e9283(0x19a),'twtff':_0x2e9283(0x157)};!helper[_0x2e9283(0x1ab)](process[_0x2e9283(0x1d0)][_0x2e9283(0x166)])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);process[_0x2e9283(0x144)][_0x2e9283(0x1bc)](_0x2d12d3[_0x2e9283(0x147)])&&(process[_0x2e9283(0x1d0)][_0x2e9283(0x166)]=_0x2d12d3[_0x2e9283(0x146)],_0x549907=_0x549907[_0x2e9283(0x154)](_0x35b09b=>_0x35b09b!=='--disable-browserstack-automation'));const _0x57dcd4=_0x549907[_0x2e9283(0x1c0)](_0x2d12d3[_0x2e9283(0x1bb)]);_0x2d12d3[_0x2e9283(0x197)](_0x57dcd4,0x0)&&(process[_0x2e9283(0x1d0)][_0x2e9283(0x196)]=_0x2d12d3['xGfbe'],_0x549907=_0x549907[_0x2e9283(0x154)](_0xcd2bc4=>_0xcd2bc4!==_0x2e9283(0x1d9)));try{const _0x3b9466=path[_0x2e9283(0x171)](helper[_0x2e9283(0x177)](),_0x2d12d3['Mhzyf'],_0x2d12d3[_0x2e9283(0x1b6)]);fs[_0x2e9283(0x163)](_0x3b9466)&&fs[_0x2e9283(0x1c2)](_0x3b9466);}catch(_0x442f9a){logger[_0x2e9283(0x1b1)](_0x2d12d3[_0x2e9283(0x15e)](_0x2d12d3[_0x2e9283(0x1cf)],_0x442f9a));}if(!_0x2d12d3['JRIQu'](isTestCommand,_0x1914a0,_0x549907)){_0x2d12d3[_0x2e9283(0x191)](spawnOriginalProcess,_0x549907);return;}const _0x1479da=new BrowserStackSetup(_0x1914a0,FRAMEWORKS[_0x2e9283(0x1c6)]);if(!_0x1479da[_0x2e9283(0x1d6)]){logger[_0x2e9283(0x148)](_0x2d12d3['Jruuf']);return;}await _0x1479da[_0x2e9283(0x19e)]();!helper[_0x2e9283(0x1a5)](_0x1479da[_0x2e9283(0x1d5)])&&_0x1479da[_0x2e9283(0x1d5)][_0x2e9283(0x1b4)](_0x2d12d3[_0x2e9283(0x1ba)])&&(process[_0x2e9283(0x1d0)][_0x2e9283(0x166)]=_0x1479da[_0x2e9283(0x1d5)][_0x2e9283(0x198)](_0x2d12d3[_0x2e9283(0x1ba)])||!![]);_0x2d12d3[_0x2e9283(0x141)](_0x1479da['config'][_0x2e9283(0x1cc)],null)&&!helper[_0x2e9283(0x16a)](process['env'][_0x2e9283(0x196)])&&(process[_0x2e9283(0x1d0)][_0x2e9283(0x196)]=process[_0x2e9283(0x1d0)][_0x2e9283(0x196)]||_0x1479da[_0x2e9283(0x1d6)][_0x2e9283(0x1cc)]);const _0x51a112=!helper['isFalse'](process[_0x2e9283(0x1d0)]['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x3d5925=![];_0x1479da[_0x2e9283(0x1d6)][_0x2e9283(0x155)]&&(_0x3d5925=!![],process[_0x2e9283(0x1d0)][_0x2e9283(0x161)]=_0x1479da['config'][_0x2e9283(0x155)]);_0x1479da[_0x2e9283(0x1d6)][_0x2e9283(0x1a0)]&&(process['env'][_0x2e9283(0x162)]=JSON[_0x2e9283(0x15d)](_0x1479da[_0x2e9283(0x1d6)]['accessibilityOptions']));const _0x26aaaf=_0x549907[_0x2e9283(0x1a6)](),_0x1805eb=await _0x2d12d3[_0x2e9283(0x1b9)](getUserPlaywrightConfig,_0x1914a0,_0x549907);if(helper['isUndefined'](_0x1805eb)){_0x2d12d3[_0x2e9283(0x1b5)](spawnOriginalProcess,_0x26aaaf);return;}const _0x290191=_0x1805eb[_0x2e9283(0x15c)]?path[_0x2e9283(0x1c9)](_0x1805eb[_0x2e9283(0x15c)]):process[_0x2e9283(0x182)]();process[_0x2e9283(0x1d0)][_0x2e9283(0x140)]=_0x290191,await TestHubHandler[_0x2e9283(0x1b3)](FRAMEWORKS['PLAYWRIGHT'],_0x1479da);_0x51a112&&_0x2d12d3[_0x2e9283(0x1b5)](handleO11yRerun,_0x549907);let _0xbc10c2=_0x2d12d3[_0x2e9283(0x18a)](process[_0x2e9283(0x1d0)][_0x2e9283(0x161)],_0x2d12d3[_0x2e9283(0x142)]);_0xbc10c2=_0xbc10c2||_0x2d12d3[_0x2e9283(0x1b5)](checkAccessibilityPlatformConfig,_0x1479da[_0x2e9283(0x1d6)]),process['env'][_0x2e9283(0x161)]=_0xbc10c2;_0xbc10c2&&_0x2d12d3[_0x2e9283(0x1b5)](setAccessibilityCapabilities,_0x1479da[_0x2e9283(0x1d6)]);const _0x48a5e1=path[_0x2e9283(0x171)](_0x1805eb[_0x2e9283(0x15c)]?path[_0x2e9283(0x1c9)](_0x1805eb[_0x2e9283(0x15c)]):process[_0x2e9283(0x182)](),_0x2d12d3[_0x2e9283(0x1ac)]);fs[_0x2e9283(0x1c3)](_0x48a5e1,helper['serializeToYamlString'](_0x1479da[_0x2e9283(0x1d6)])),process[_0x2e9283(0x1d0)][_0x2e9283(0x192)]=_0x48a5e1,helper['clearTempPWConfig']();let _0xf7b8b4='';_0x2d12d3['tgvzY'](helper[_0x2e9283(0x152)](),constants[_0x2e9283(0x1d8)][_0x2e9283(0x1a9)])?_0xf7b8b4=_0x2d12d3['zNaaO']:_0xf7b8b4=_0x2d12d3['DggIu'];let _0x7fb88d='';if(helper[_0x2e9283(0x156)](_0x1805eb[_0x2e9283(0x15c)])){_0x7fb88d='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x31871e=_0xf7b8b4[_0x2e9283(0x159)]('.');_0x31871e[_0x2d12d3['VxCpe'](_0x31871e[_0x2e9283(0x1d2)],0x1)]='ts',_0xf7b8b4=_0x31871e['join']('.'),logger[_0x2e9283(0x1b1)](_0x2d12d3[_0x2e9283(0x1ce)](_0x2d12d3['WHtFN'],_0xf7b8b4));}else _0x7fb88d=_0x2e9283(0x186);const _0x1e91df=path[_0x2e9283(0x171)](_0x1805eb[_0x2e9283(0x15c)]?path[_0x2e9283(0x1c9)](_0x1805eb['path']):process[_0x2e9283(0x182)](),_0xf7b8b4);let _0x2f9760=_0x1805eb['path']?_0x1805eb['path']:'';_0x2f9760=_0x2d12d3['emqwS'](_0x2f9760[_0x2e9283(0x1d2)],0x0)?path['resolve'](_0x2f9760):'',process[_0x2e9283(0x1d0)][_0x2e9283(0x1a2)]=_0x2f9760;const _0x3c06e3=helper[_0x2e9283(0x14f)](_0x1479da[_0x2e9283(0x1d6)]);_0x3c06e3&&(_0x7fb88d=_0x2d12d3['vKaUX'](_0x2e9283(0x14a)+_0x3c06e3+_0x2e9283(0x193),_0x7fb88d));helper[_0x2e9283(0x189)]({},_0x549907),fs[_0x2e9283(0x1c3)](_0x1e91df,_0x7fb88d),helper['markSDKSetupComplete']();const _0x38a86b=_0x2d12d3[_0x2e9283(0x1cd)](spawn,_0x2d12d3[_0x2e9283(0x16f)],[_0x2d12d3[_0x2e9283(0x17d)],_0x2d12d3['zKQYH'],_0x2d12d3[_0x2e9283(0x1c8)],_0x1e91df,..._0x549907[_0x2e9283(0x1a7)](0x2)],{'shell':_0x2d12d3[_0x2e9283(0x18a)](process['platform'],_0x2d12d3[_0x2e9283(0x1da)]),'stdio':_0x2d12d3[_0x2e9283(0x176)],'cwd':process['cwd'](),'env':Object[_0x2e9283(0x165)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x2e9283(0x1a4)](_0x1914a0),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1479da[_0x2e9283(0x1d6)][_0x2e9283(0x1bd)][_0x2e9283(0x18f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1479da[_0x2e9283(0x1d6)]['testContextOptions'][_0x2e9283(0x1c7)],'BROWSERSTACK_LOG_LEVEL':_0x1479da[_0x2e9283(0x1d6)][_0x2e9283(0x16e)]})}),_0x46396e=()=>{const _0x5d962b=_0x2e9283;try{const _0x4c8896=path[_0x5d962b(0x171)](helper[_0x5d962b(0x177)](),_0x2d12d3[_0x5d962b(0x143)],_0x2d12d3[_0x5d962b(0x1b6)]);if(fs[_0x5d962b(0x163)](_0x4c8896)){let _0x3cc247=fs['readFileSync'](_0x4c8896);_0x3cc247=JSON[_0x5d962b(0x172)](_0x3cc247),_0x1479da[_0x5d962b(0x1ca)]=_0x3cc247,fs['unlinkSync'](_0x4c8896);}}catch(_0x4c665f){logger['debug'](_0x2d12d3['zFWeQ'](_0x2d12d3[_0x5d962b(0x16b)],_0x4c665f));}};_0x38a86b['on'](_0x2d12d3[_0x2e9283(0x181)],async _0x51283f=>{const _0x113b89=_0x2e9283;try{const _0xc24a94=_0x2d12d3[_0x113b89(0x199)][_0x113b89(0x159)]('|');let _0x5337b1=0x0;while(!![]){switch(_0xc24a94[_0x5337b1++]){case'0':logger[_0x113b89(0x13f)](_0x113b89(0x1c5)+_0x1e91df);continue;case'1':logger['debug'](_0x113b89(0x184)+_0x51283f);continue;case'2':fs['unlinkSync'](_0x1e91df);continue;case'3':await TestHubHandler['stop']();continue;case'4':logger[_0x113b89(0x1b1)]('Deleting\x20'+_0x48a5e1);continue;case'5':fs[_0x113b89(0x1c2)](_0x48a5e1);continue;case'6':await utilities[_0x113b89(0x18e)](_0x1479da);continue;case'7':process[_0x113b89(0x1af)]=_0x51283f;continue;case'8':_0x2d12d3[_0x113b89(0x15a)](_0x46396e);continue;}break;}}catch(_0x3c08f2){logger[_0x113b89(0x1b1)](_0x2d12d3['zFWeQ'](_0x2d12d3[_0x113b89(0x151)],_0x3c08f2));}});}module[a35_0x41c9fc(0x19c)]=run;
@@ -1 +1 @@
1
- function a36_0x2a17(){const _0x59db12=['util','qnoBp','1279890PlUaeQ','toString','requirePWModule','ZIDOa','./reporter/pwUtils','../../helpers/test-observability/constants','ilNlh','format','apply','env','504WIKUGm','DPQKX','../../helpers/test-observability/utils','TViiI','ZReIh','config','247010amhKBP','Unwkb','PLAYWRIGHT','IpvWA','40BKoRZv','debug','fork','resolve','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','1311180iBoxMn','42072kYQudG','9415881QFiNnO','yqQZV','1.33.0','665134vbHvjK','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','GALQN','lVxGV','368918YoCddg','isHandlePWErrorSet','exports','Running\x20existing\x20global\x20setup','Oakhb','ShJyL','Not\x20able\x20to\x20import\x20globalSetup'];a36_0x2a17=function(){return _0x59db12;};return a36_0x2a17();}function a36_0x1b5a(_0x4981da,_0xd70903){const _0x2a1799=a36_0x2a17();return a36_0x1b5a=function(_0x1b5ab1,_0x2d3382){_0x1b5ab1=_0x1b5ab1-0x199;let _0x5df789=_0x2a1799[_0x1b5ab1];return _0x5df789;},a36_0x1b5a(_0x4981da,_0xd70903);}const a36_0xc88988=a36_0x1b5a;(function(_0xb90ab2,_0x14a9cd){const _0x1f9638=a36_0x1b5a,_0x578532=_0xb90ab2();while(!![]){try{const _0x26580a=-parseInt(_0x1f9638(0x1b3))/0x1+parseInt(_0x1f9638(0x1b7))/0x2+parseInt(_0x1f9638(0x1ae))/0x3+-parseInt(_0x1f9638(0x1a9))/0x4*(parseInt(_0x1f9638(0x1a5))/0x5)+parseInt(_0x1f9638(0x1c0))/0x6+-parseInt(_0x1f9638(0x19f))/0x7*(parseInt(_0x1f9638(0x1af))/0x8)+parseInt(_0x1f9638(0x1b0))/0x9;if(_0x26580a===_0x14a9cd)break;else _0x578532['push'](_0x578532['shift']());}catch(_0x41c8a6){_0x578532['push'](_0x578532['shift']());}}}(a36_0x2a17,0x53cc9));const util=require(a36_0xc88988(0x1be)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0xc88988(0x19a)),{getFrameworkVersion,debug}=require(a36_0xc88988(0x1a1)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a36_0xc88988(0x199)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')['winstonLogger'];module[a36_0xc88988(0x1b9)]=async function(_0x3a1fa3){const _0xb068a3=a36_0xc88988,_0x3d83db={'lVxGV':function(_0x59b433,_0x3481b1){return _0x59b433(_0x3481b1);},'ShJyL':function(_0x5e8f7f){return _0x5e8f7f();},'TViiI':'./mock-process.js','IpvWA':function(_0x462696){return _0x462696();},'Oakhb':function(_0x57937a){return _0x57937a();},'ZIDOa':function(_0x10b70d,_0x562d76){return _0x10b70d(_0x562d76);},'yqQZV':_0xb068a3(0x1ba),'ilNlh':function(_0x13036c){return _0x13036c();},'DPQKX':function(_0x481ed2,_0x58c1a7){return _0x481ed2>=_0x58c1a7;},'ZReIh':_0xb068a3(0x1b2),'GALQN':function(_0x1fc1b8,_0x13eccd,_0x40c7eb){return _0x1fc1b8(_0x13eccd,_0x40c7eb);},'UeWWp':function(_0x3ee729,_0x594a09){return _0x3ee729!==_0x594a09;},'qnoBp':'function','Unwkb':_0xb068a3(0x1bd)},_0x550085=child_process[_0xb068a3(0x1ab)];if(helper[_0xb068a3(0x1b8)]())try{_0x3d83db[_0xb068a3(0x1bb)](mockIsWorkerRedundant);}catch(_0x312620){logger[_0xb068a3(0x1aa)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0xb068a3(0x19c)](_0x312620));}child_process['fork']=function(){const _0x598ffd=_0xb068a3;return _0x3d83db[_0x598ffd(0x1b6)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0]['includes'](_0x3d83db[_0x598ffd(0x1bc)](getForkProcessPath))?arguments[0x0]=require[_0x598ffd(0x1ac)](_0x3d83db[_0x598ffd(0x1a2)]):logger['error']('Path\x20'+_0x3d83db[_0x598ffd(0x1a8)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x550085[_0x598ffd(0x19d)](null,arguments);};if(process[_0xb068a3(0x19e)][_0xb068a3(0x1b4)]){_0x3d83db[_0xb068a3(0x1c3)](debug,_0x3d83db[_0xb068a3(0x1b1)]);try{const {loadGlobalHook:_0x328285}=helper[_0xb068a3(0x1c2)][_0xb068a3(0x19d)](null,_0x3d83db[_0xb068a3(0x19b)](getLoadUtilsPath)),_0x2e2175=_0x3d83db[_0xb068a3(0x1b6)](getFrameworkVersion,FRAMEWORKS[_0xb068a3(0x1a7)]);let _0x128fb4=_0x3a1fa3;if(_0x3d83db[_0xb068a3(0x1a0)](helper['compareVersions'](_0x2e2175,_0x3d83db[_0xb068a3(0x1a3)]),0x0)){const _0x2613fd={};_0x2613fd[_0xb068a3(0x1a4)]=_0x3a1fa3,_0x128fb4=_0x2613fd;}const _0x5d4639=await _0x3d83db[_0xb068a3(0x1b5)](_0x328285,_0x128fb4,process[_0xb068a3(0x19e)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']);if(_0x3d83db['UeWWp'](typeof _0x5d4639,_0x3d83db[_0xb068a3(0x1bf)]))throw new Error(_0x3d83db[_0xb068a3(0x1a6)]);return _0x5d4639[_0xb068a3(0x19d)](null,arguments);}catch(_0x4d623f){_0x3d83db[_0xb068a3(0x1b6)](debug,_0xb068a3(0x1ad)+_0x4d623f[_0xb068a3(0x1c1)]());}}};
1
+ const a36_0x5d552b=a36_0x4418;function a36_0x41f1(){const _0x434e7f=['env','68ayQMrD','NCqDe','KtsPT','9228FUZfoA','pVWzh','fork','884041LbQhEH','apply','resolve','4949MkgMRX','winstonLogger','1.33.0','function','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','PLAYWRIGHT','format','error','lMwoC','../../helpers/logger','iDwNc','vWrZW','util','Running\x20existing\x20global\x20setup','debug','33401790XDVVzx','945122fYUlAp','dUkKL','./reporter/pwUtils','438610RbasqJ','qlkLS','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','compareVersions','child_process','fpbIA','\x20is\x20not\x20found','./patches','PmaHK','1791495UXBbUz','isHandlePWErrorSet','../../helpers/test-observability/constants','LLppE','../../helpers/helper','toString','5449088zafxbg'];a36_0x41f1=function(){return _0x434e7f;};return a36_0x41f1();}(function(_0x25dba7,_0x92cf74){const _0x4a1914=a36_0x4418,_0x450f03=_0x25dba7();while(!![]){try{const _0x2b7cb8=-parseInt(_0x4a1914(0x161))/0x1+parseInt(_0x4a1914(0x174))/0x2+-parseInt(_0x4a1914(0x180))/0x3+-parseInt(_0x4a1914(0x15b))/0x4*(parseInt(_0x4a1914(0x177))/0x5)+-parseInt(_0x4a1914(0x15e))/0x6*(parseInt(_0x4a1914(0x164))/0x7)+parseInt(_0x4a1914(0x159))/0x8+parseInt(_0x4a1914(0x173))/0x9;if(_0x2b7cb8===_0x92cf74)break;else _0x450f03['push'](_0x450f03['shift']());}catch(_0x111669){_0x450f03['push'](_0x450f03['shift']());}}}(a36_0x41f1,0xc4929));const util=require(a36_0x5d552b(0x170)),child_process=require(a36_0x5d552b(0x17b)),{FRAMEWORKS}=require(a36_0x5d552b(0x155)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x5d552b(0x157)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x5d552b(0x176)),{mockIsWorkerRedundant}=require(a36_0x5d552b(0x17e)),logger=require(a36_0x5d552b(0x16d))[a36_0x5d552b(0x165)];function a36_0x4418(_0x288c2a,_0x38f041){const _0x41f117=a36_0x41f1();return a36_0x4418=function(_0x441892,_0x345072){_0x441892=_0x441892-0x155;let _0x4712e2=_0x41f117[_0x441892];return _0x4712e2;},a36_0x4418(_0x288c2a,_0x38f041);}module['exports']=async function(_0x16794c){const _0x58cda3=a36_0x5d552b,_0x44bf63={'iDwNc':function(_0x37b4af,_0x12292e){return _0x37b4af(_0x12292e);},'HGjeO':function(_0x2d5abf){return _0x2d5abf();},'gpjfI':'./mock-process.js','lMwoC':function(_0x406769){return _0x406769();},'LLppE':function(_0x1252cc){return _0x1252cc();},'NCqDe':function(_0xd9f6c7,_0xf54812){return _0xd9f6c7(_0xf54812);},'KtsPT':_0x58cda3(0x171),'oiMrz':function(_0xfa67a5){return _0xfa67a5();},'qlkLS':function(_0x47ccb2,_0x555500){return _0x47ccb2>=_0x555500;},'PmaHK':_0x58cda3(0x166),'dUkKL':function(_0x323aed,_0x5067ea,_0x1a21c4){return _0x323aed(_0x5067ea,_0x1a21c4);},'pVWzh':function(_0x181093,_0x4d97dc){return _0x181093!==_0x4d97dc;},'vWrZW':_0x58cda3(0x167),'fpbIA':'Not\x20able\x20to\x20import\x20globalSetup'},_0x6d44ad=child_process[_0x58cda3(0x160)];if(helper[_0x58cda3(0x181)]())try{_0x44bf63[_0x58cda3(0x156)](mockIsWorkerRedundant);}catch(_0x13b097){logger[_0x58cda3(0x172)](_0x58cda3(0x168)+util[_0x58cda3(0x16a)](_0x13b097));}child_process[_0x58cda3(0x160)]=function(){const _0x345e58=_0x58cda3;return _0x44bf63[_0x345e58(0x16e)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0]['includes'](_0x44bf63['HGjeO'](getForkProcessPath))?arguments[0x0]=require[_0x345e58(0x163)](_0x44bf63['gpjfI']):logger[_0x345e58(0x16b)]('Path\x20'+_0x44bf63[_0x345e58(0x16c)](getForkProcessPath)+_0x345e58(0x17d)),_0x6d44ad[_0x345e58(0x162)](null,arguments);};if(process[_0x58cda3(0x15a)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x44bf63[_0x58cda3(0x15c)](debug,_0x44bf63[_0x58cda3(0x15d)]);try{const {loadGlobalHook:_0x2d528a}=helper['requirePWModule'][_0x58cda3(0x162)](null,_0x44bf63['oiMrz'](getLoadUtilsPath)),_0x39b419=_0x44bf63[_0x58cda3(0x15c)](getFrameworkVersion,FRAMEWORKS[_0x58cda3(0x169)]);let _0x1d0e50=_0x16794c;if(_0x44bf63[_0x58cda3(0x178)](helper[_0x58cda3(0x17a)](_0x39b419,_0x44bf63[_0x58cda3(0x17f)]),0x0)){const _0x2f647b={};_0x2f647b['config']=_0x16794c,_0x1d0e50=_0x2f647b;}const _0x161aac=await _0x44bf63[_0x58cda3(0x175)](_0x2d528a,_0x1d0e50,process['env'][_0x58cda3(0x179)]);if(_0x44bf63[_0x58cda3(0x15f)](typeof _0x161aac,_0x44bf63[_0x58cda3(0x16f)]))throw new Error(_0x44bf63[_0x58cda3(0x17c)]);return _0x161aac[_0x58cda3(0x162)](null,arguments);}catch(_0x2520cc){_0x44bf63['iDwNc'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x2520cc[_0x58cda3(0x158)]());}}};